Versions in this module Expand all Collapse all v1 v1.13.1-rc2 Feb 6, 2017 v1.13.1-rc1 Jan 27, 2017 v1.13.0 Jan 17, 2017 Changes in this version + const UpdateFailureActionContinue + const UpdateFailureActionPause + type Annotations struct + Labels map[string]string + Name string + type CAConfig struct + ExternalCAs []*ExternalCA + NodeCertExpiry time.Duration + type ClusterInfo struct + ID string + Spec Spec + type ContainerSpec struct + Args []string + Command []string + DNSConfig *DNSConfig + Dir string + Env []string + Groups []string + Healthcheck *container.HealthConfig + Hostname string + Hosts []string + Image string + Labels map[string]string + Mounts []mount.Mount + OpenStdin bool + Secrets []*SecretReference + StopGracePeriod *time.Duration + TTY bool + User string + type ContainerStatus struct + ContainerID string + ExitCode int + PID int + type DNSConfig struct + Nameservers []string + Options []string + Search []string + type DispatcherConfig struct + HeartbeatPeriod time.Duration + type Driver struct + Name string + Options map[string]string + type EncryptionConfig struct + AutoLockManagers bool + type Endpoint struct + Ports []PortConfig + Spec EndpointSpec + VirtualIPs []EndpointVirtualIP + type EndpointSpec struct + Mode ResolutionMode + Ports []PortConfig + type EndpointVirtualIP struct + Addr string + NetworkID string + type EngineDescription struct + EngineVersion string + Labels map[string]string + Plugins []PluginDescription + type ExternalCA struct + Options map[string]string + Protocol ExternalCAProtocol + URL string + type ExternalCAProtocol string + const ExternalCAProtocolCFSSL + type GlobalService struct + type IPAMConfig struct + Gateway string + Range string + Subnet string + type IPAMOptions struct + Configs []IPAMConfig + Driver Driver + type Info struct + Cluster ClusterInfo + ControlAvailable bool + Error string + LocalNodeState LocalNodeState + Managers int + NodeAddr string + NodeID string + Nodes int + RemoteManagers []Peer + type InitRequest struct + AdvertiseAddr string + AutoLockManagers bool + ForceNewCluster bool + ListenAddr string + Spec Spec + type JoinRequest struct + AdvertiseAddr string + JoinToken string + ListenAddr string + RemoteAddrs []string + type JoinTokens struct + Manager string + Worker string + type LocalNodeState string + const LocalNodeStateActive + const LocalNodeStateError + const LocalNodeStateInactive + const LocalNodeStateLocked + const LocalNodeStatePending + type ManagerStatus struct + Addr string + Leader bool + Reachability Reachability + type Meta struct + CreatedAt time.Time + UpdatedAt time.Time + Version Version + type Network struct + DriverState Driver + ID string + IPAMOptions *IPAMOptions + Spec NetworkSpec + type NetworkAttachment struct + Addresses []string + Network Network + type NetworkAttachmentConfig struct + Aliases []string + Target string + type NetworkSpec struct + Attachable bool + DriverConfiguration *Driver + IPAMOptions *IPAMOptions + IPv6Enabled bool + Internal bool + type Node struct + Description NodeDescription + ID string + ManagerStatus *ManagerStatus + Spec NodeSpec + Status NodeStatus + type NodeAvailability string + const NodeAvailabilityActive + const NodeAvailabilityDrain + const NodeAvailabilityPause + type NodeDescription struct + Engine EngineDescription + Hostname string + Platform Platform + Resources Resources + type NodeRole string + const NodeRoleManager + const NodeRoleWorker + type NodeSpec struct + Availability NodeAvailability + Role NodeRole + type NodeState string + const NodeStateDisconnected + const NodeStateDown + const NodeStateReady + const NodeStateUnknown + type NodeStatus struct + Addr string + Message string + State NodeState + type OrchestrationConfig struct + TaskHistoryRetentionLimit *int64 + type Peer struct + Addr string + NodeID string + type Placement struct + Constraints []string + type Platform struct + Architecture string + OS string + type PluginDescription struct + Name string + Type string + type PortConfig struct + Name string + Protocol PortConfigProtocol + PublishMode PortConfigPublishMode + PublishedPort uint32 + TargetPort uint32 + type PortConfigProtocol string + const PortConfigProtocolTCP + const PortConfigProtocolUDP + type PortConfigPublishMode string + const PortConfigPublishModeHost + const PortConfigPublishModeIngress + type PortStatus struct + Ports []PortConfig + type RaftConfig struct + ElectionTick int + HeartbeatTick int + KeepOldSnapshots *uint64 + LogEntriesForSlowFollowers uint64 + SnapshotInterval uint64 + type Reachability string + const ReachabilityReachable + const ReachabilityUnknown + const ReachabilityUnreachable + type ReplicatedService struct + Replicas *uint64 + type ResolutionMode string + const ResolutionModeDNSRR + const ResolutionModeVIP + type ResourceRequirements struct + Limits *Resources + Reservations *Resources + type Resources struct + MemoryBytes int64 + NanoCPUs int64 + type RestartPolicy struct + Condition RestartPolicyCondition + Delay *time.Duration + MaxAttempts *uint64 + Window *time.Duration + type RestartPolicyCondition string + const RestartPolicyConditionAny + const RestartPolicyConditionNone + const RestartPolicyConditionOnFailure + type Secret struct + ID string + Spec SecretSpec + type SecretReference struct + File *SecretReferenceFileTarget + SecretID string + SecretName string + type SecretReferenceFileTarget struct + GID string + Mode os.FileMode + Name string + UID string + type SecretSpec struct + Data []byte + type Service struct + Endpoint Endpoint + ID string + PreviousSpec *ServiceSpec + Spec ServiceSpec + UpdateStatus UpdateStatus + type ServiceMode struct + Global *GlobalService + Replicated *ReplicatedService + type ServiceSpec struct + EndpointSpec *EndpointSpec + Mode ServiceMode + Networks []NetworkAttachmentConfig + TaskTemplate TaskSpec + UpdateConfig *UpdateConfig + type Spec struct + CAConfig CAConfig + Dispatcher DispatcherConfig + EncryptionConfig EncryptionConfig + Orchestration OrchestrationConfig + Raft RaftConfig + TaskDefaults TaskDefaults + type Swarm struct + JoinTokens JoinTokens + type Task struct + DesiredState TaskState + ID string + NetworksAttachments []NetworkAttachment + NodeID string + ServiceID string + Slot int + Spec TaskSpec + Status TaskStatus + type TaskDefaults struct + LogDriver *Driver + type TaskSpec struct + ContainerSpec ContainerSpec + ForceUpdate uint64 + LogDriver *Driver + Networks []NetworkAttachmentConfig + Placement *Placement + Resources *ResourceRequirements + RestartPolicy *RestartPolicy + type TaskState string + const TaskStateAccepted + const TaskStateAllocated + const TaskStateAssigned + const TaskStateComplete + const TaskStateFailed + const TaskStateNew + const TaskStatePending + const TaskStatePreparing + const TaskStateReady + const TaskStateRejected + const TaskStateRunning + const TaskStateShutdown + const TaskStateStarting + type TaskStatus struct + ContainerStatus ContainerStatus + Err string + Message string + PortStatus PortStatus + State TaskState + Timestamp time.Time + type UnlockRequest struct + UnlockKey string + type UpdateConfig struct + Delay time.Duration + FailureAction string + MaxFailureRatio float32 + Monitor time.Duration + Parallelism uint64 + type UpdateFlags struct + RotateManagerToken bool + RotateManagerUnlockKey bool + RotateWorkerToken bool + type UpdateState string + const UpdateStateCompleted + const UpdateStatePaused + const UpdateStateUpdating + type UpdateStatus struct + CompletedAt time.Time + Message string + StartedAt time.Time + State UpdateState + type Version struct + Index uint64 v1.13.0-rc7 Jan 12, 2017 v1.13.0-rc6 Jan 11, 2017 v1.13.0-rc5 Jan 4, 2017 v1.13.0-rc3 Dec 5, 2016 v1.13.0-rc2 Nov 23, 2016