Documentation ¶
Overview ¶
most borrowed from: https://github.com/docker/libcompose/blob/master/config/interpolation.go
Deprecated, Remove Later
Index ¶
- func ComputeWeight(n, t, c float64) float64
- func Interpolate(key string, data *interface{}, envMap map[string]string) error
- func LegalDomain(str string) error
- func RandomString(n int) string
- func StripSpaces(str string) string
- func YamlServices(yaml []byte, env map[string]string) (*ctypes.Config, error)
- func YamlVariables(yaml []byte) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeWeight ¶
func Interpolate ¶
Interpolate replaces variables in a map entry
func LegalDomain ¶
func RandomString ¶
func StripSpaces ¶
func YamlVariables ¶
YamlVariables provide ability to parse all of shell variables like: $VARIABLE, ${VARIABLE}, ${VARIABLE:-default}, ${VARIABLE-default}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.