DockerCLI/cli
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
..
command Merge pull request #1240 from thaJeztah/datapath_addr_api_annotation 2018-07-30 17:47:52 +02:00
compose Add a new `ExtractVariables` function to `compose/template` package 2018-08-01 16:12:49 +02:00
config Fix: Warning Message 2018-07-13 13:39:24 +02:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags Scope orchestration selection to stack commands only 2018-06-21 17:12:31 -07:00
manifest Fix manifest lists to always use correct size 2018-06-28 18:17:38 -07:00
registry/client Fix manifest lists to always use correct size 2018-06-28 18:17:38 -07:00
trust Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go Update command usage and documentation 2018-06-21 23:16:27 -07:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Singularize / pluralize "argument(s)" in error message 2017-08-12 18:25:38 +02:00
required_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
version.go Fix grammar typo in comment 2018-02-28 11:29:40 -05:00