package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/nobidev/docker-cli.git
Documentation: pkg.go.dev

# Functions

AddStackLabel returns labels with the namespace label added.
Configs converts config objects from the Compose type to the engine API type.
Networks from the compose-file type to the engine API type.
NewNamespace returns a new Namespace for scoping of names.
Secrets converts secrets from the Compose type to the engine API type.
Service converts a ServiceConfig into a swarm ServiceSpec.
Services from compose-file types to engine API types.
Volumes from compose-file types to engine api types.

# Constants

LabelImage is the label used to store image name provided in the compose file.
LabelNamespace is the label used to track stack resources.

# Structs

Namespace mangles names by prepending the name.