qtypes_helper

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2017 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleDefaultDimensions added in v0.1.6

func AssembleDefaultDimensions(cnt *types.Container) map[string]string

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

func AssembleServiceSlot(cnt *types.Container) string

AssembleServiceSlot create {{.Service.Name}}.{{.Task.Slot}}

func AssembleTaskSlot added in v0.1.6

func AssembleTaskSlot(cnt *types.Container) string

AssembleServiceSlot create {{.Service.Name}}.{{.Task.Slot}}

func CompareMap

func CompareMap(exp, got map[string]interface{}) bool

func IsInput added in v0.1.3

func IsInput(list []string, item string) bool

func IsItem added in v0.1.3

func IsItem(list []string, item string) bool

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

func IsLastSource(list []string, item string) bool

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

func LogStrToInt(level string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL