package
0.4.0
Repository: https://github.com/codenow/swarm.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BuildContainerConfig creates a cluster.ContainerConfig from a dockerclient.ContainerConfig.
NewEngine is exported.

# Constants

SwarmLabelNamespace defines the key prefix in all custom labels.

# Structs

Container is exported.
ContainerConfig is exported TODO store affinities and constraints in their own fields.
Engine represents a docker engine.
Event is exported.
Image is exported.

# Interfaces

Cluster is exported.
EventHandler is exported.

# Type aliases

Containers represents a list a containers.
DriverOpts are key=values options.
EngineSorter implements the Sort interface to sort Cluster.Engine.