Documentation ¶
Index ¶
- func AssembleDefaultDimensions(cnt *types.Container) map[string]string
- func AssembleJSONDefaultDimensions(cnt *types.ContainerJSON) map[string]string
- func AssembleJSONServiceSlot(cnt *types.ContainerJSON) string
- func AssembleJSONTaskSlot(cnt *types.ContainerJSON) string
- func AssembleServiceSlot(cnt *types.Container) string
- func AssembleTaskSlot(cnt *types.Container) string
- func CompareMap(exp, got map[string]interface{}) bool
- func ContainersOneOf(s string, m []string) bool
- func FlattenKV(kv map[string]string) (res string, err error)
- func IsInput(list []string, item string) bool
- func IsItem(list []string, item string) bool
- func IsLastSource(list []string, item string) bool
- func LogStrToInt(level string) int
- func PrefixFlatKV(kv map[string]string, out map[string]interface{}, prefix string) (res map[string]interface{}, err error)
- func PrefixFlatLabels(s []string, out map[string]interface{}, prefix string) (res map[string]interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssembleDefaultDimensions ¶ added in v0.1.6
func AssembleJSONDefaultDimensions ¶ added in v0.1.6
func AssembleJSONDefaultDimensions(cnt *types.ContainerJSON) map[string]string
func AssembleJSONServiceSlot ¶ added in v0.1.6
func AssembleJSONServiceSlot(cnt *types.ContainerJSON) string
AssembleServiceSlot create {{.Service.Name}}.{{.Task.Slot}}
func AssembleJSONTaskSlot ¶ added in v0.1.6
func AssembleJSONTaskSlot(cnt *types.ContainerJSON) string
AssembleServiceSlot create {{.Service.Name}}.{{.Task.Slot}}
func AssembleServiceSlot ¶ added in v0.1.6
AssembleServiceSlot create {{.Service.Name}}.{{.Task.Slot}}
func AssembleTaskSlot ¶ added in v0.1.6
AssembleServiceSlot create {{.Service.Name}}.{{.Task.Slot}}
func CompareMap ¶
func ContainersOneOf ¶ added in v0.1.9
func IsItem ¶ added in v0.1.3
IsInput checks if a list of inputs (e.g. [one, two]) matches the suffix of item (two-one)
func IsLastSource ¶ added in v0.1.3
IsLastSource checks if a list of inputs (e.g. [one, two]) matches the last item in SourcesPath of item [two,one]
func LogStrToInt ¶ added in v0.1.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.