Skip to content

Commit

Permalink
Merge pull request #36 from ipanousis/master
Browse files Browse the repository at this point in the history
Add doc for emitted object by docker-gen
  • Loading branch information
jwilder committed Nov 21, 2014
2 parents ee373a4 + e34b974 commit 3abd5c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ If no `<dest>` file is specified, the output is sent to stdout. Mainly useful f

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.

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

#### Functions

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

0 comments on commit 3abd5c0

Please sign in to comment.