DockerCLI/cli/compose
Vincent Demeester afb87e42f2
Add a new `ExtractVariables` function to `compose/template` package
It allows to get easily all the variables defined in a
composefile (the `map[string]interface{}` representation that
`loader.ParseYAML` returns at least) and their default value too.

This commit also does some small function extract on substitution
funcs to reduce a tiny bit duplication.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-08-01 16:12:49 +02:00
..
convert refactored cli/compose and cli/command/trust to use sort.Slice and removed custom types used for sorting 2018-07-08 15:08:17 -04:00
interpolation Add options to the compose loader 2018-06-25 17:15:26 +02:00
loader Exposes compose `loader.Transform` function… 2018-07-31 09:37:09 +02:00
schema Add a doc.go file so the compose/schema/data directory can be vendored in another project, without being pruned. 2018-07-02 10:08:25 +02:00
template Add a new `ExtractVariables` function to `compose/template` package 2018-08-01 16:12:49 +02:00
types Add missing fields in compose/types 2018-07-26 17:04:22 +02:00