package
1.1.2
Repository: https://github.com/allencloud/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.
NewEventHandlers returns a EventHandlers.
NewWatchdog creates a new watchdog.
ParseRepositoryTag gets a repos name and returns the right reposName + tag|digest The tag can be confusing because of a port in a repository name.

# 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.
EngineOpts represents the options for an engine.
Event is exported.
EventHandlers is a map of EventHandler.
Image is exported.
ImageFilterOptions are the set of filtering options supported by Images.Filter().
Network is exported.
Volume is exported.
Watchdog listen to cluster events ans handle container rescheduling.

# 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.
Images is a collection of Image objects that can be filtered.
Networks represents an array of networks.
Volumes represents an array of volumes.