# Functions
BuildContainerConfig creates a cluster.ContainerConfig from a Config, HostConfig, and NetworkingConfig.
ConsolidateResourceFields is a temporary fix to handle forward/backward compatibility between Docker <1.6 and >=1.7.
FullStateString returns human-readable description of the state.
NewEngine is exported.
NewEventHandlers returns a EventHandlers.
NewEventsMonitor returns an EventsMonitor.
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.
StateString returns a single string to describe state.
# 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.
EventsMonitor monitors events.
Image is exported.
ImageFilterOptions is the set of filtering options supported by Images.Filter().
Network is exported.
OldContainerConfig contains additional fields for backward compatibility This should be removed after we stop supporting API versions <= 1.8.
Volume is exported.
Watchdog listens to cluster events and handles container rescheduling.
# Type aliases
Containers represents a list of 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.