mirror of https://github.com/docker/cli.git
afb87e42f2
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> |
||
---|---|---|
.. | ||
template.go | ||
template_test.go |