Skip to content

Commit 3abd5c0

Browse files
committed
Merge pull request #36 from ipanousis/master
Add doc for emitted object by docker-gen
2 parents ee373a4 + e34b974 commit 3abd5c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ If no `<dest>` file is specified, the output is sent to stdout. Mainly useful f
101101

102102
The templates used by docker-gen are written using the Go [text/template](http://golang.org/pkg/text/template/) language. In addition to the [built-in functions](http://golang.org/pkg/text/template/#hdr-Functions) supplied by Go, docker-gen provides a number of additional functions to make it simpler (or possible) to generate your desired output.
103103

104+
Within those templates, the object emitted by docker-gen will have [this structure](https://github.com/jwilder/docker-gen/wiki/Docker-Gen-Emit-Structure).
105+
104106
#### Functions
105107

106108
* *`contains $map $key`*: Returns `true` if `$map` contains `$key`. Takes maps from `string` to `string`.

0 commit comments

Comments
 (0)