Versions in this module Expand all Collapse all v0 v0.4.0 Jul 27, 2016 Changes in this version + const UpdateFailureActionContinue + const UpdateFailureActionPause + type Annotations struct + Labels map[string]string + Name string + type BindOptions struct + Propagation MountPropagation + type CAConfig struct + ExternalCAs []*ExternalCA + NodeCertExpiry time.Duration + type ClusterInfo struct + ID string + Spec Spec + type ContainerSpec struct + Args []string + Command []string + Dir string + Env []string + Image string + Labels map[string]string + Mounts []Mount + StopGracePeriod *time.Duration + User string + type ContainerStatus struct + ContainerID string + ExitCode int + PID int + type DispatcherConfig struct + HeartbeatPeriod uint64 + type Driver struct + Name string + Options map[string]string + 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 + 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 LocalNodeStatePending + type ManagerStatus struct + Addr string + Leader bool + Reachability Reachability + type Meta struct + CreatedAt time.Time + UpdatedAt time.Time + Version Version + type Mount struct + BindOptions *BindOptions + ReadOnly bool + Source string + Target string + Type MountType + VolumeOptions *VolumeOptions + type MountPropagation string + const MountPropagationPrivate + const MountPropagationRPrivate + const MountPropagationRShared + const MountPropagationRSlave + const MountPropagationShared + const MountPropagationSlave + type MountType string + const MountTypeBind + const MountTypeVolume + 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 + 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 + 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 + PublishedPort uint32 + TargetPort uint32 + type PortConfigProtocol string + const PortConfigProtocolTCP + const PortConfigProtocolUDP + type RaftConfig struct + ElectionTick uint32 + HeartbeatTick uint32 + 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 Service struct + Endpoint Endpoint + ID string + 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 + 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 + LogDriver *Driver + 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 + State TaskState + Timestamp time.Time + type UpdateConfig struct + Delay time.Duration + FailureAction string + Parallelism uint64 + type UpdateFlags struct + RotateManagerToken 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 + type VolumeOptions struct + DriverConfig *Driver + Labels map[string]string + NoCopy bool