{"modulePath":"github.com/docker/swarmkit","version":"v1.12.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\nPackage api is a generated protocol buffer package.\n\nIt is generated from these files:\n\n\ttypes.proto\n\tspecs.proto\n\tobjects.proto\n\tcontrol.proto\n\tdispatcher.proto\n\tca.proto\n\tsnapshot.proto\n\traft.proto\n\thealth.proto\n\nIt has these top-level messages:\n\n\tVersion\n\tAnnotations\n\tResources\n\tResourceRequirements\n\tPlatform\n\tPluginDescription\n\tEngineDescription\n\tNodeDescription\n\tRaftMemberStatus\n\tNodeStatus\n\tImage\n\tMount\n\tRestartPolicy\n\tUpdateConfig\n\tUpdateStatus\n\tContainerStatus\n\tTaskStatus\n\tIPAMConfig\n\tPortConfig\n\tDriver\n\tIPAMOptions\n\tPeer\n\tWeightedPeer\n\tIssuanceStatus\n\tAcceptancePolicy\n\tExternalCA\n\tCAConfig\n\tOrchestrationConfig\n\tTaskDefaults\n\tDispatcherConfig\n\tRaftConfig\n\tPlacement\n\tJoinTokens\n\tRootCA\n\tCertificate\n\tEncryptionKey\n\tManagerStatus\n\tNodeSpec\n\tServiceSpec\n\tReplicatedService\n\tGlobalService\n\tTaskSpec\n\tContainerSpec\n\tEndpointSpec\n\tNetworkSpec\n\tClusterSpec\n\tMeta\n\tNode\n\tService\n\tEndpoint\n\tTask\n\tNetworkAttachment\n\tNetwork\n\tCluster\n\tGetNodeRequest\n\tGetNodeResponse\n\tListNodesRequest\n\tListNodesResponse\n\tUpdateNodeRequest\n\tUpdateNodeResponse\n\tRemoveNodeRequest\n\tRemoveNodeResponse\n\tGetTaskRequest\n\tGetTaskResponse\n\tRemoveTaskRequest\n\tRemoveTaskResponse\n\tListTasksRequest\n\tListTasksResponse\n\tCreateServiceRequest\n\tCreateServiceResponse\n\tGetServiceRequest\n\tGetServiceResponse\n\tUpdateServiceRequest\n\tUpdateServiceResponse\n\tRemoveServiceRequest\n\tRemoveServiceResponse\n\tListServicesRequest\n\tListServicesResponse\n\tCreateNetworkRequest\n\tCreateNetworkResponse\n\tGetNetworkRequest\n\tGetNetworkResponse\n\tRemoveNetworkRequest\n\tRemoveNetworkResponse\n\tListNetworksRequest\n\tListNetworksResponse\n\tGetClusterRequest\n\tGetClusterResponse\n\tListClustersRequest\n\tListClustersResponse\n\tJoinTokenRotation\n\tUpdateClusterRequest\n\tUpdateClusterResponse\n\tSessionRequest\n\tSessionMessage\n\tHeartbeatRequest\n\tHeartbeatResponse\n\tUpdateTaskStatusRequest\n\tUpdateTaskStatusResponse\n\tTasksRequest\n\tTasksMessage\n\tNodeCertificateStatusRequest\n\tNodeCertificateStatusResponse\n\tIssueNodeCertificateRequest\n\tIssueNodeCertificateResponse\n\tGetRootCACertificateRequest\n\tGetRootCACertificateResponse\n\tStoreSnapshot\n\tClusterSnapshot\n\tSnapshot\n\tRaftMember\n\tJoinRequest\n\tJoinResponse\n\tLeaveRequest\n\tLeaveResponse\n\tProcessRaftMessageRequest\n\tProcessRaftMessageResponse\n\tResolveAddressRequest\n\tResolveAddressResponse\n\tInternalRaftRequest\n\tStoreAction\n\tHealthCheckRequest\n\tHealthCheckResponse\n\n## Variables\n\n```go\nvar (\n\tErrInvalidLengthCa = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowCa   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthControl = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowControl   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthDispatcher = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowDispatcher   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthHealth = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowHealth   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthObjects = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowObjects   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthRaft = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowRaft   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthSnapshot = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowSnapshot   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthSpecs = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowSpecs   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar (\n\tErrInvalidLengthTypes = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowTypes   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar EncryptionKey_Algorithm_name = map[int32]string{\n\t0: \"AES_128_GCM\",\n}\n```\n\n```go\nvar EncryptionKey_Algorithm_value = map[string]int32{\n\t\"AES_128_GCM\": 0,\n}\n```\n\n```go\nvar EndpointSpec_ResolutionMode_name = map[int32]string{\n\t0: \"VIP\",\n\t1: \"DNSRR\",\n}\n```\n\n```go\nvar EndpointSpec_ResolutionMode_value = map[string]int32{\n\t\"VIP\":   0,\n\t\"DNSRR\": 1,\n}\n```\n\n```go\nvar ExternalCA_CAProtocol_name = map[int32]string{\n\t0: \"CFSSL\",\n}\n```\n\n```go\nvar ExternalCA_CAProtocol_value = map[string]int32{\n\t\"CFSSL\": 0,\n}\n```\n\n```go\nvar HealthCheckResponse_ServingStatus_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"SERVING\",\n\t2: \"NOT_SERVING\",\n}\n```\n\n```go\nvar HealthCheckResponse_ServingStatus_value = map[string]int32{\n\t\"UNKNOWN\":     0,\n\t\"SERVING\":     1,\n\t\"NOT_SERVING\": 2,\n}\n```\n\n```go\nvar IPAMConfig_AddressFamily_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t4: \"IPV4\",\n\t6: \"IPV6\",\n}\n```\n\n```go\nvar IPAMConfig_AddressFamily_value = map[string]int32{\n\t\"UNKNOWN\": 0,\n\t\"IPV4\":    4,\n\t\"IPV6\":    6,\n}\n```\n\n```go\nvar IssuanceStatus_State_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"RENEW\",\n\t2: \"PENDING\",\n\t3: \"ISSUED\",\n\t4: \"FAILED\",\n}\n```\n\n```go\nvar IssuanceStatus_State_value = map[string]int32{\n\t\"UNKNOWN\": 0,\n\t\"RENEW\":   1,\n\t\"PENDING\": 2,\n\t\"ISSUED\":  3,\n\t\"FAILED\":  4,\n}\n```\n\n```go\nvar Mount_BindOptions_MountPropagation_name = map[int32]string{\n\t0: \"RPRIVATE\",\n\t1: \"PRIVATE\",\n\t2: \"RSHARED\",\n\t3: \"SHARED\",\n\t4: \"RSLAVE\",\n\t5: \"SLAVE\",\n}\n```\n\n```go\nvar Mount_BindOptions_MountPropagation_value = map[string]int32{\n\t\"RPRIVATE\": 0,\n\t\"PRIVATE\":  1,\n\t\"RSHARED\":  2,\n\t\"SHARED\":   3,\n\t\"RSLAVE\":   4,\n\t\"SLAVE\":    5,\n}\n```\n\n```go\nvar Mount_MountType_name = map[int32]string{\n\t0: \"BIND\",\n\t1: \"VOLUME\",\n\t2: \"TMPFS\",\n}\n```\n\n```go\nvar Mount_MountType_value = map[string]int32{\n\t\"BIND\":   0,\n\t\"VOLUME\": 1,\n\t\"TMPFS\":  2,\n}\n```\n\n```go\nvar NodeRole_name = map[int32]string{\n\t0: \"WORKER\",\n\t1: \"MANAGER\",\n}\n```\n\n```go\nvar NodeRole_value = map[string]int32{\n\t\"WORKER\":  0,\n\t\"MANAGER\": 1,\n}\n```\n\n```go\nvar NodeSpec_Availability_name = map[int32]string{\n\t0: \"ACTIVE\",\n\t1: \"PAUSE\",\n\t2: \"DRAIN\",\n}\n```\n\n```go\nvar NodeSpec_Availability_value = map[string]int32{\n\t\"ACTIVE\": 0,\n\t\"PAUSE\":  1,\n\t\"DRAIN\":  2,\n}\n```\n\n```go\nvar NodeSpec_Membership_name = map[int32]string{\n\t0: \"PENDING\",\n\t1: \"ACCEPTED\",\n}\n```\n\n```go\nvar NodeSpec_Membership_value = map[string]int32{\n\t\"PENDING\":  0,\n\t\"ACCEPTED\": 1,\n}\n```\n\n```go\nvar NodeStatus_State_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"DOWN\",\n\t2: \"READY\",\n\t3: \"DISCONNECTED\",\n}\n```\n\n```go\nvar NodeStatus_State_value = map[string]int32{\n\t\"UNKNOWN\":      0,\n\t\"DOWN\":         1,\n\t\"READY\":        2,\n\t\"DISCONNECTED\": 3,\n}\n```\n\n```go\nvar PortConfig_Protocol_name = map[int32]string{\n\t0: \"TCP\",\n\t1: \"UDP\",\n}\n```\n\n```go\nvar PortConfig_Protocol_value = map[string]int32{\n\t\"TCP\": 0,\n\t\"UDP\": 1,\n}\n```\n\n```go\nvar RaftMemberStatus_Reachability_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"UNREACHABLE\",\n\t2: \"REACHABLE\",\n}\n```\n\n```go\nvar RaftMemberStatus_Reachability_value = map[string]int32{\n\t\"UNKNOWN\":     0,\n\t\"UNREACHABLE\": 1,\n\t\"REACHABLE\":   2,\n}\n```\n\n```go\nvar RestartPolicy_RestartCondition_name = map[int32]string{\n\t0: \"NONE\",\n\t1: \"ON_FAILURE\",\n\t2: \"ANY\",\n}\n```\n\n```go\nvar RestartPolicy_RestartCondition_value = map[string]int32{\n\t\"NONE\":       0,\n\t\"ON_FAILURE\": 1,\n\t\"ANY\":        2,\n}\n```\n\n```go\nvar Snapshot_Version_name = map[int32]string{\n\t0: \"V0\",\n}\n```\n\n```go\nvar Snapshot_Version_value = map[string]int32{\n\t\"V0\": 0,\n}\n```\n\n```go\nvar StoreActionKind_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"STORE_ACTION_CREATE\",\n\t2: \"STORE_ACTION_UPDATE\",\n\t3: \"STORE_ACTION_REMOVE\",\n}\n```\n\n```go\nvar StoreActionKind_value = map[string]int32{\n\t\"UNKNOWN\":             0,\n\t\"STORE_ACTION_CREATE\": 1,\n\t\"STORE_ACTION_UPDATE\": 2,\n\t\"STORE_ACTION_REMOVE\": 3,\n}\n```\n\n```go\nvar TaskState_name = map[int32]string{\n\t0:   \"NEW\",\n\t64:  \"ALLOCATED\",\n\t128: \"PENDING\",\n\t192: \"ASSIGNED\",\n\t256: \"ACCEPTED\",\n\t320: \"PREPARING\",\n\t384: \"READY\",\n\t448: \"STARTING\",\n\t512: \"RUNNING\",\n\t576: \"COMPLETE\",\n\t640: \"SHUTDOWN\",\n\t704: \"FAILED\",\n\t768: \"REJECTED\",\n}\n```\n\n```go\nvar TaskState_value = map[string]int32{\n\t\"NEW\":       0,\n\t\"ALLOCATED\": 64,\n\t\"PENDING\":   128,\n\t\"ASSIGNED\":  192,\n\t\"ACCEPTED\":  256,\n\t\"PREPARING\": 320,\n\t\"READY\":     384,\n\t\"STARTING\":  448,\n\t\"RUNNING\":   512,\n\t\"COMPLETE\":  576,\n\t\"SHUTDOWN\":  640,\n\t\"FAILED\":    704,\n\t\"REJECTED\":  768,\n}\n```\n\n```go\nvar UpdateConfig_FailureAction_name = map[int32]string{\n\t0: \"PAUSE\",\n\t1: \"CONTINUE\",\n}\n```\n\n```go\nvar UpdateConfig_FailureAction_value = map[string]int32{\n\t\"PAUSE\":    0,\n\t\"CONTINUE\": 1,\n}\n```\n\n```go\nvar UpdateStatus_UpdateState_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"UPDATING\",\n\t2: \"PAUSED\",\n\t3: \"COMPLETED\",\n}\n```\n\n```go\nvar UpdateStatus_UpdateState_value = map[string]int32{\n\t\"UNKNOWN\":   0,\n\t\"UPDATING\":  1,\n\t\"PAUSED\":    2,\n\t\"COMPLETED\": 3,\n}\n```\n\n## Functions\n\n```go\nfunc RegisterCAServer(s *grpc.Server, srv CAServer)\n```\n\n```go\nfunc RegisterControlServer(s *grpc.Server, srv ControlServer)\n```\n\n```go\nfunc RegisterDispatcherServer(s *grpc.Server, srv DispatcherServer)\n```\n\n```go\nfunc RegisterHealthServer(s *grpc.Server, srv HealthServer)\n```\n\n```go\nfunc RegisterNodeCAServer(s *grpc.Server, srv NodeCAServer)\n```\n\n```go\nfunc RegisterRaftMembershipServer(s *grpc.Server, srv RaftMembershipServer)\n```\n\n```go\nfunc RegisterRaftServer(s *grpc.Server, srv RaftServer)\n```\n\n## Types\n\n```go\ntype AcceptancePolicy struct {\n\tPolicies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:\"bytes,1,rep,name=policies\" json:\"policies,omitempty\"`\n}\n```\n\n```go\nfunc (m *AcceptancePolicy) Copy() *AcceptancePolicy\n```\n\n```go\nfunc (*AcceptancePolicy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *AcceptancePolicy) GoString() string\n```\n\n```go\nfunc (m *AcceptancePolicy) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *AcceptancePolicy) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*AcceptancePolicy) ProtoMessage()\n```\n\n```go\nfunc (m *AcceptancePolicy) Reset()\n```\n\n```go\nfunc (m *AcceptancePolicy) Size() (n int)\n```\n\n```go\nfunc (this *AcceptancePolicy) String() string\n```\n\n```go\nfunc (m *AcceptancePolicy) Unmarshal(data []byte) error\n```\n\n```go\ntype AcceptancePolicy_RoleAdmissionPolicy struct {\n\tRole NodeRole `protobuf:\"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole\" json:\"role,omitempty\"`\n\t// Autoaccept controls which roles' certificates are automatically\n\t// issued without administrator intervention.\n\tAutoaccept bool `protobuf:\"varint,2,opt,name=autoaccept,proto3\" json:\"autoaccept,omitempty\"`\n\t// Secret represents a user-provided string that is necessary for new\n\t// nodes to join the cluster\n\tSecret *AcceptancePolicy_RoleAdmissionPolicy_Secret `protobuf:\"bytes,3,opt,name=secret\" json:\"secret,omitempty\"`\n}\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy) Copy() *AcceptancePolicy_RoleAdmissionPolicy\n```\n\n```go\nfunc (*AcceptancePolicy_RoleAdmissionPolicy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *AcceptancePolicy_RoleAdmissionPolicy) GoString() string\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*AcceptancePolicy_RoleAdmissionPolicy) ProtoMessage()\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy) Reset()\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy) Size() (n int)\n```\n\n```go\nfunc (this *AcceptancePolicy_RoleAdmissionPolicy) String() string\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(data []byte) error\n```\n\n```go\ntype AcceptancePolicy_RoleAdmissionPolicy_Secret struct {\n\t// The actual content (possibly hashed)\n\tData []byte `protobuf:\"bytes,1,opt,name=data,proto3\" json:\"data,omitempty\"`\n\t// The type of hash we are using, or \"plaintext\"\n\tAlg string `protobuf:\"bytes,2,opt,name=alg,proto3\" json:\"alg,omitempty\"`\n}\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Copy() *AcceptancePolicy_RoleAdmissionPolicy_Secret\n```\n\n```go\nfunc (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *AcceptancePolicy_RoleAdmissionPolicy_Secret) GoString() string\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*AcceptancePolicy_RoleAdmissionPolicy_Secret) ProtoMessage()\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Reset()\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Size() (n int)\n```\n\n```go\nfunc (this *AcceptancePolicy_RoleAdmissionPolicy_Secret) String() string\n```\n\n```go\nfunc (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(data []byte) error\n```\n\n```go\ntype Annotations struct {\n\tName   string            `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tLabels map[string]string `protobuf:\"bytes,2,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n}\n```\nAnnotations provide useful information to identify API objects. They are common to all API specs.\n\n```go\nfunc (m *Annotations) Copy() *Annotations\n```\n\n```go\nfunc (*Annotations) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Annotations) GoString() string\n```\n\n```go\nfunc (m *Annotations) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Annotations) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Annotations) ProtoMessage()\n```\n\n```go\nfunc (m *Annotations) Reset()\n```\n\n```go\nfunc (m *Annotations) Size() (n int)\n```\n\n```go\nfunc (this *Annotations) String() string\n```\n\n```go\nfunc (m *Annotations) Unmarshal(data []byte) error\n```\n\n```go\ntype CAClient interface {\n\tGetRootCACertificate(ctx context.Context, in *GetRootCACertificateRequest, opts ...grpc.CallOption) (*GetRootCACertificateResponse, error)\n}\n```\n\n```go\nfunc NewCAClient(cc *grpc.ClientConn) CAClient\n```\n\n```go\ntype CAConfig struct {\n\t// NodeCertExpiry is the duration certificates should be issued for\n\tNodeCertExpiry *docker_swarmkit_v11.Duration `protobuf:\"bytes,1,opt,name=node_cert_expiry,json=nodeCertExpiry\" json:\"node_cert_expiry,omitempty\"`\n\t// ExternalCAs is a list of CAs to which a manager node will make\n\t// certificate signing requests for node certificates.\n\tExternalCAs []*ExternalCA `protobuf:\"bytes,2,rep,name=external_cas,json=externalCas\" json:\"external_cas,omitempty\"`\n}\n```\n\n```go\nfunc (m *CAConfig) Copy() *CAConfig\n```\n\n```go\nfunc (*CAConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *CAConfig) GoString() string\n```\n\n```go\nfunc (m *CAConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *CAConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*CAConfig) ProtoMessage()\n```\n\n```go\nfunc (m *CAConfig) Reset()\n```\n\n```go\nfunc (m *CAConfig) Size() (n int)\n```\n\n```go\nfunc (this *CAConfig) String() string\n```\n\n```go\nfunc (m *CAConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype CAServer interface {\n\tGetRootCACertificate(context.Context, *GetRootCACertificateRequest) (*GetRootCACertificateResponse, error)\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperCAServer(local CAServer, authorize func(context.Context, []string) error) CAServer\n```\n\n```go\nfunc NewRaftProxyCAServer(local CAServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) CAServer\n```\n\n```go\ntype Certificate struct {\n\tRole        NodeRole       `protobuf:\"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole\" json:\"role,omitempty\"`\n\tCSR         []byte         `protobuf:\"bytes,2,opt,name=csr,proto3\" json:\"csr,omitempty\"`\n\tStatus      IssuanceStatus `protobuf:\"bytes,3,opt,name=status\" json:\"status\"`\n\tCertificate []byte         `protobuf:\"bytes,4,opt,name=certificate,proto3\" json:\"certificate,omitempty\"`\n\t// CN represents the node ID.\n\tCN string `protobuf:\"bytes,5,opt,name=cn,proto3\" json:\"cn,omitempty\"`\n}\n```\n\n```go\nfunc (m *Certificate) Copy() *Certificate\n```\n\n```go\nfunc (*Certificate) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Certificate) GoString() string\n```\n\n```go\nfunc (m *Certificate) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Certificate) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Certificate) ProtoMessage()\n```\n\n```go\nfunc (m *Certificate) Reset()\n```\n\n```go\nfunc (m *Certificate) Size() (n int)\n```\n\n```go\nfunc (this *Certificate) String() string\n```\n\n```go\nfunc (m *Certificate) Unmarshal(data []byte) error\n```\n\n```go\ntype Cluster struct {\n\tID   string      `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tMeta Meta        `protobuf:\"bytes,2,opt,name=meta\" json:\"meta\"`\n\tSpec ClusterSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec\"`\n\t// RootCA contains key material for the root CA.\n\tRootCA RootCA `protobuf:\"bytes,4,opt,name=root_ca,json=rootCa\" json:\"root_ca\"`\n\t// Symmetric encryption key distributed by the lead manager. Used by agents\n\t// for securing network bootstrapping and communication.\n\tNetworkBootstrapKeys []*EncryptionKey `protobuf:\"bytes,5,rep,name=network_bootstrap_keys,json=networkBootstrapKeys\" json:\"network_bootstrap_keys,omitempty\"`\n\t// Logical clock used to timestamp every key.  It allows other managers\n\t// and agents to unambiguously identify the older key to be deleted when\n\t// a new key is allocated on key rotation.\n\tEncryptionKeyLamportClock uint64 `protobuf:\"varint,6,opt,name=encryption_key_lamport_clock,json=encryptionKeyLamportClock,proto3\" json:\"encryption_key_lamport_clock,omitempty\"`\n}\n```\nCluster provides global cluster settings.\n\n```go\nfunc (m *Cluster) Copy() *Cluster\n```\n\n```go\nfunc (*Cluster) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Cluster) GoString() string\n```\n\n```go\nfunc (m *Cluster) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Cluster) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Cluster) ProtoMessage()\n```\n\n```go\nfunc (m *Cluster) Reset()\n```\n\n```go\nfunc (m *Cluster) Size() (n int)\n```\n\n```go\nfunc (this *Cluster) String() string\n```\n\n```go\nfunc (m *Cluster) Unmarshal(data []byte) error\n```\n\n```go\ntype ClusterSnapshot struct {\n\tMembers []*RaftMember `protobuf:\"bytes,1,rep,name=members\" json:\"members,omitempty\"`\n\tRemoved []uint64      `protobuf:\"varint,2,rep,name=removed\" json:\"removed,omitempty\"`\n}\n```\nClusterSnapshot stores cluster membership information in snapshots.\n\n```go\nfunc (m *ClusterSnapshot) Copy() *ClusterSnapshot\n```\n\n```go\nfunc (*ClusterSnapshot) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ClusterSnapshot) GoString() string\n```\n\n```go\nfunc (m *ClusterSnapshot) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ClusterSnapshot) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ClusterSnapshot) ProtoMessage()\n```\n\n```go\nfunc (m *ClusterSnapshot) Reset()\n```\n\n```go\nfunc (m *ClusterSnapshot) Size() (n int)\n```\n\n```go\nfunc (this *ClusterSnapshot) String() string\n```\n\n```go\nfunc (m *ClusterSnapshot) Unmarshal(data []byte) error\n```\n\n```go\ntype ClusterSpec struct {\n\tAnnotations Annotations `protobuf:\"bytes,1,opt,name=annotations\" json:\"annotations\"`\n\t// DEPRECATED: AcceptancePolicy defines the certificate issuance policy.\n\t// Acceptance policy is no longer customizable, and secrets have been\n\t// replaced with join tokens.\n\tAcceptancePolicy AcceptancePolicy `protobuf:\"bytes,2,opt,name=acceptance_policy,json=acceptancePolicy\" json:\"acceptance_policy\"`\n\t// Orchestration defines cluster-level orchestration settings.\n\tOrchestration OrchestrationConfig `protobuf:\"bytes,3,opt,name=orchestration\" json:\"orchestration\"`\n\t// Raft defines the cluster's raft settings.\n\tRaft RaftConfig `protobuf:\"bytes,4,opt,name=raft\" json:\"raft\"`\n\t// Dispatcher defines cluster-level dispatcher settings.\n\tDispatcher DispatcherConfig `protobuf:\"bytes,5,opt,name=dispatcher\" json:\"dispatcher\"`\n\t// CAConfig defines cluster-level certificate authority settings.\n\tCAConfig CAConfig `protobuf:\"bytes,6,opt,name=ca_config,json=caConfig\" json:\"ca_config\"`\n\t// TaskDefaults specifies the default values to use for task creation.\n\tTaskDefaults TaskDefaults `protobuf:\"bytes,7,opt,name=task_defaults,json=taskDefaults\" json:\"task_defaults\"`\n}\n```\nClusterSpec specifies global cluster settings.\n\n```go\nfunc (m *ClusterSpec) Copy() *ClusterSpec\n```\n\n```go\nfunc (*ClusterSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ClusterSpec) GoString() string\n```\n\n```go\nfunc (m *ClusterSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ClusterSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ClusterSpec) ProtoMessage()\n```\n\n```go\nfunc (m *ClusterSpec) Reset()\n```\n\n```go\nfunc (m *ClusterSpec) Size() (n int)\n```\n\n```go\nfunc (this *ClusterSpec) String() string\n```\n\n```go\nfunc (m *ClusterSpec) Unmarshal(data []byte) error\n```\n\n```go\ntype ContainerSpec struct {\n\t// image defines the image reference, as specified in the\n\t// distribution/reference package. This may include a registry host, name,\n\t// tag or digest.\n\t//\n\t// The field will be directly passed to the engine pulling. Well-behaved\n\t// service definitions will used immutable references, either through tags\n\t// that don't change or verifiable digests.\n\tImage string `protobuf:\"bytes,1,opt,name=image,proto3\" json:\"image,omitempty\"`\n\t// Labels defines labels to be added to the container at creation time. If\n\t// collisions with system labels occur, these labels will be overridden.\n\t//\n\t// This field *must* remain compatible with the Labels field of\n\t// Annotations.\n\tLabels map[string]string `protobuf:\"bytes,2,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\t// Command to run the the container. The first element is a path to the\n\t// executable and the following elements are treated as arguments.\n\t//\n\t// If command is empty, execution will fall back to the image's entrypoint.\n\t//\n\t// Command should only be used when overriding entrypoint.\n\tCommand []string `protobuf:\"bytes,3,rep,name=command\" json:\"command,omitempty\"`\n\t// Args specifies arguments provided to the image's entrypoint.\n\t//\n\t// If Command and Args are provided, Args will be appended to Command.\n\tArgs []string `protobuf:\"bytes,4,rep,name=args\" json:\"args,omitempty\"`\n\t// Env specifies the environment variables for the container in NAME=VALUE\n\t// format. These must be compliant with  [IEEE Std\n\t// 1003.1-2001](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html).\n\tEnv []string `protobuf:\"bytes,5,rep,name=env\" json:\"env,omitempty\"`\n\t// Dir defines the working directory to set for the container process.\n\tDir string `protobuf:\"bytes,6,opt,name=dir,proto3\" json:\"dir,omitempty\"`\n\t// User specifies the user that should be employed to run the container.\n\tUser   string  `protobuf:\"bytes,7,opt,name=user,proto3\" json:\"user,omitempty\"`\n\tMounts []Mount `protobuf:\"bytes,8,rep,name=mounts\" json:\"mounts\"`\n\t// StopGracePeriod the grace period for stopping the container before\n\t// forcefully killing the container.\n\tStopGracePeriod *docker_swarmkit_v11.Duration `protobuf:\"bytes,9,opt,name=stop_grace_period,json=stopGracePeriod\" json:\"stop_grace_period,omitempty\"`\n\t// PullOptions parameterize the behavior of image pulls.\n\tPullOptions *ContainerSpec_PullOptions `protobuf:\"bytes,10,opt,name=pull_options,json=pullOptions\" json:\"pull_options,omitempty\"`\n}\n```\nContainer specifies runtime parameters for a container.\n\n```go\nfunc (m *ContainerSpec) Copy() *ContainerSpec\n```\n\n```go\nfunc (*ContainerSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ContainerSpec) GoString() string\n```\n\n```go\nfunc (m *ContainerSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ContainerSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ContainerSpec) ProtoMessage()\n```\n\n```go\nfunc (m *ContainerSpec) Reset()\n```\n\n```go\nfunc (m *ContainerSpec) Size() (n int)\n```\n\n```go\nfunc (this *ContainerSpec) String() string\n```\n\n```go\nfunc (m *ContainerSpec) Unmarshal(data []byte) error\n```\n\n```go\ntype ContainerSpec_PullOptions struct {\n\t// RegistryAuth is the registry auth token obtained from the client, required\n\t// to pull private images. This is the unmodified JSON used as part of\n\t// the `X-Registry-Auth` header.\n\t// TODO(nishanttotla): This field will later be deprecated\n\tRegistryAuth string `protobuf:\"bytes,64,opt,name=registry_auth,json=registryAuth,proto3\" json:\"registry_auth,omitempty\"`\n}\n```\nPullOptions allows one to parameterize an image pull.\n\n```go\nfunc (m *ContainerSpec_PullOptions) Copy() *ContainerSpec_PullOptions\n```\n\n```go\nfunc (*ContainerSpec_PullOptions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ContainerSpec_PullOptions) GoString() string\n```\n\n```go\nfunc (m *ContainerSpec_PullOptions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ContainerSpec_PullOptions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ContainerSpec_PullOptions) ProtoMessage()\n```\n\n```go\nfunc (m *ContainerSpec_PullOptions) Reset()\n```\n\n```go\nfunc (m *ContainerSpec_PullOptions) Size() (n int)\n```\n\n```go\nfunc (this *ContainerSpec_PullOptions) String() string\n```\n\n```go\nfunc (m *ContainerSpec_PullOptions) Unmarshal(data []byte) error\n```\n\n```go\ntype ContainerStatus struct {\n\tContainerID string `protobuf:\"bytes,1,opt,name=container_id,json=containerId,proto3\" json:\"container_id,omitempty\"`\n\tPID         int32  `protobuf:\"varint,2,opt,name=pid,proto3\" json:\"pid,omitempty\"`\n\tExitCode    int32  `protobuf:\"varint,3,opt,name=exit_code,json=exitCode,proto3\" json:\"exit_code,omitempty\"`\n}\n```\nContainer specific status.\n\n```go\nfunc (m *ContainerStatus) Copy() *ContainerStatus\n```\n\n```go\nfunc (*ContainerStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ContainerStatus) GoString() string\n```\n\n```go\nfunc (m *ContainerStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ContainerStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ContainerStatus) ProtoMessage()\n```\n\n```go\nfunc (m *ContainerStatus) Reset()\n```\n\n```go\nfunc (m *ContainerStatus) Size() (n int)\n```\n\n```go\nfunc (this *ContainerStatus) String() string\n```\n\n```go\nfunc (m *ContainerStatus) Unmarshal(data []byte) error\n```\n\n```go\ntype ControlClient interface {\n\tGetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)\n\tListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error)\n\tUpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)\n\tRemoveNode(ctx context.Context, in *RemoveNodeRequest, opts ...grpc.CallOption) (*RemoveNodeResponse, error)\n\tGetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error)\n\tListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)\n\tRemoveTask(ctx context.Context, in *RemoveTaskRequest, opts ...grpc.CallOption) (*RemoveTaskResponse, error)\n\tGetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*GetServiceResponse, error)\n\tListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)\n\tCreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*CreateServiceResponse, error)\n\tUpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*UpdateServiceResponse, error)\n\tRemoveService(ctx context.Context, in *RemoveServiceRequest, opts ...grpc.CallOption) (*RemoveServiceResponse, error)\n\tGetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error)\n\tListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error)\n\tCreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error)\n\tRemoveNetwork(ctx context.Context, in *RemoveNetworkRequest, opts ...grpc.CallOption) (*RemoveNetworkResponse, error)\n\tGetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*GetClusterResponse, error)\n\tListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)\n\tUpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error)\n}\n```\n\n```go\nfunc NewControlClient(cc *grpc.ClientConn) ControlClient\n```\n\n```go\ntype ControlServer interface {\n\tGetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)\n\tListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error)\n\tUpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error)\n\tRemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)\n\tGetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)\n\tListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)\n\tRemoveTask(context.Context, *RemoveTaskRequest) (*RemoveTaskResponse, error)\n\tGetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error)\n\tListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)\n\tCreateService(context.Context, *CreateServiceRequest) (*CreateServiceResponse, error)\n\tUpdateService(context.Context, *UpdateServiceRequest) (*UpdateServiceResponse, error)\n\tRemoveService(context.Context, *RemoveServiceRequest) (*RemoveServiceResponse, error)\n\tGetNetwork(context.Context, *GetNetworkRequest) (*GetNetworkResponse, error)\n\tListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)\n\tCreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)\n\tRemoveNetwork(context.Context, *RemoveNetworkRequest) (*RemoveNetworkResponse, error)\n\tGetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error)\n\tListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)\n\tUpdateCluster(context.Context, *UpdateClusterRequest) (*UpdateClusterResponse, error)\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperControlServer(local ControlServer, authorize func(context.Context, []string) error) ControlServer\n```\n\n```go\nfunc NewRaftProxyControlServer(local ControlServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) ControlServer\n```\n\n```go\ntype CreateNetworkRequest struct {\n\tSpec *NetworkSpec `protobuf:\"bytes,1,opt,name=spec\" json:\"spec,omitempty\"`\n}\n```\n\n```go\nfunc (m *CreateNetworkRequest) Copy() *CreateNetworkRequest\n```\n\n```go\nfunc (*CreateNetworkRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *CreateNetworkRequest) GoString() string\n```\n\n```go\nfunc (m *CreateNetworkRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *CreateNetworkRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*CreateNetworkRequest) ProtoMessage()\n```\n\n```go\nfunc (m *CreateNetworkRequest) Reset()\n```\n\n```go\nfunc (m *CreateNetworkRequest) Size() (n int)\n```\n\n```go\nfunc (this *CreateNetworkRequest) String() string\n```\n\n```go\nfunc (m *CreateNetworkRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype CreateNetworkResponse struct {\n\tNetwork *Network `protobuf:\"bytes,1,opt,name=network\" json:\"network,omitempty\"`\n}\n```\n\n```go\nfunc (m *CreateNetworkResponse) Copy() *CreateNetworkResponse\n```\n\n```go\nfunc (*CreateNetworkResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *CreateNetworkResponse) GoString() string\n```\n\n```go\nfunc (m *CreateNetworkResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *CreateNetworkResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*CreateNetworkResponse) ProtoMessage()\n```\n\n```go\nfunc (m *CreateNetworkResponse) Reset()\n```\n\n```go\nfunc (m *CreateNetworkResponse) Size() (n int)\n```\n\n```go\nfunc (this *CreateNetworkResponse) String() string\n```\n\n```go\nfunc (m *CreateNetworkResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype CreateServiceRequest struct {\n\tSpec *ServiceSpec `protobuf:\"bytes,1,opt,name=spec\" json:\"spec,omitempty\"`\n}\n```\n\n```go\nfunc (m *CreateServiceRequest) Copy() *CreateServiceRequest\n```\n\n```go\nfunc (*CreateServiceRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *CreateServiceRequest) GoString() string\n```\n\n```go\nfunc (m *CreateServiceRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *CreateServiceRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*CreateServiceRequest) ProtoMessage()\n```\n\n```go\nfunc (m *CreateServiceRequest) Reset()\n```\n\n```go\nfunc (m *CreateServiceRequest) Size() (n int)\n```\n\n```go\nfunc (this *CreateServiceRequest) String() string\n```\n\n```go\nfunc (m *CreateServiceRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype CreateServiceResponse struct {\n\tService *Service `protobuf:\"bytes,1,opt,name=service\" json:\"service,omitempty\"`\n}\n```\n\n```go\nfunc (m *CreateServiceResponse) Copy() *CreateServiceResponse\n```\n\n```go\nfunc (*CreateServiceResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *CreateServiceResponse) GoString() string\n```\n\n```go\nfunc (m *CreateServiceResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *CreateServiceResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*CreateServiceResponse) ProtoMessage()\n```\n\n```go\nfunc (m *CreateServiceResponse) Reset()\n```\n\n```go\nfunc (m *CreateServiceResponse) Size() (n int)\n```\n\n```go\nfunc (this *CreateServiceResponse) String() string\n```\n\n```go\nfunc (m *CreateServiceResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype DispatcherClient interface {\n\t// Session starts an agent session with the dispatcher. The session is\n\t// started after the first SessionMessage is received.\n\t//\n\t// Once started, the agent is controlled with a stream of SessionMessage.\n\t// Agents should list on the stream at all times for instructions.\n\tSession(ctx context.Context, in *SessionRequest, opts ...grpc.CallOption) (Dispatcher_SessionClient, error)\n\t// Heartbeat is heartbeat method for nodes. It returns new TTL in response.\n\t// Node should send new heartbeat earlier than now + TTL, otherwise it will\n\t// be deregistered from dispatcher and its status will be updated to NodeStatus_DOWN\n\tHeartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)\n\t// UpdateTaskStatus updates status of task. Node should send such updates\n\t// on every status change of its tasks.\n\t//\n\t// Whether receiving batch updates or single status updates, this method\n\t// should be accepting. Errors should only be returned if the entire update\n\t// should be retried, due to data loss or other problems.\n\t//\n\t// If a task is unknown the dispatcher, the status update should be\n\t// accepted regardless.\n\tUpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...grpc.CallOption) (*UpdateTaskStatusResponse, error)\n\t// Tasks is a stream of tasks state for node. Each message contains full list\n\t// of tasks which should be run on node, if task is not present in that list,\n\t// it should be terminated.\n\tTasks(ctx context.Context, in *TasksRequest, opts ...grpc.CallOption) (Dispatcher_TasksClient, error)\n}\n```\n\n```go\nfunc NewDispatcherClient(cc *grpc.ClientConn) DispatcherClient\n```\n\n```go\ntype DispatcherConfig struct {\n\t// HeartbeatPeriod defines how often agent should send heartbeats to\n\t// dispatcher.\n\tHeartbeatPeriod *docker_swarmkit_v11.Duration `protobuf:\"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod\" json:\"heartbeat_period,omitempty\"`\n}\n```\nDispatcherConfig defines cluster-level dispatcher settings.\n\n```go\nfunc (m *DispatcherConfig) Copy() *DispatcherConfig\n```\n\n```go\nfunc (*DispatcherConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *DispatcherConfig) GoString() string\n```\n\n```go\nfunc (m *DispatcherConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *DispatcherConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*DispatcherConfig) ProtoMessage()\n```\n\n```go\nfunc (m *DispatcherConfig) Reset()\n```\n\n```go\nfunc (m *DispatcherConfig) Size() (n int)\n```\n\n```go\nfunc (this *DispatcherConfig) String() string\n```\n\n```go\nfunc (m *DispatcherConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype DispatcherServer interface {\n\t// Session starts an agent session with the dispatcher. The session is\n\t// started after the first SessionMessage is received.\n\t//\n\t// Once started, the agent is controlled with a stream of SessionMessage.\n\t// Agents should list on the stream at all times for instructions.\n\tSession(*SessionRequest, Dispatcher_SessionServer) error\n\t// Heartbeat is heartbeat method for nodes. It returns new TTL in response.\n\t// Node should send new heartbeat earlier than now + TTL, otherwise it will\n\t// be deregistered from dispatcher and its status will be updated to NodeStatus_DOWN\n\tHeartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)\n\t// UpdateTaskStatus updates status of task. Node should send such updates\n\t// on every status change of its tasks.\n\t//\n\t// Whether receiving batch updates or single status updates, this method\n\t// should be accepting. Errors should only be returned if the entire update\n\t// should be retried, due to data loss or other problems.\n\t//\n\t// If a task is unknown the dispatcher, the status update should be\n\t// accepted regardless.\n\tUpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusResponse, error)\n\t// Tasks is a stream of tasks state for node. Each message contains full list\n\t// of tasks which should be run on node, if task is not present in that list,\n\t// it should be terminated.\n\tTasks(*TasksRequest, Dispatcher_TasksServer) error\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperDispatcherServer(local DispatcherServer, authorize func(context.Context, []string) error) DispatcherServer\n```\n\n```go\nfunc NewRaftProxyDispatcherServer(local DispatcherServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) DispatcherServer\n```\n\n```go\ntype Dispatcher_SessionClient interface {\n\tRecv() (*SessionMessage, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Dispatcher_SessionServer interface {\n\tSend(*SessionMessage) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Dispatcher_TasksClient interface {\n\tRecv() (*TasksMessage, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Dispatcher_TasksServer interface {\n\tSend(*TasksMessage) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Driver struct {\n\tName    string            `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tOptions map[string]string `protobuf:\"bytes,2,rep,name=options\" json:\"options,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n}\n```\nDriver is a generic driver type to be used throughout the API. For now, a driver is simply a name and set of options. The field contents depend on the target use case and driver application. For example, a network driver may have different rules than a volume driver.\n\n```go\nfunc (m *Driver) Copy() *Driver\n```\n\n```go\nfunc (*Driver) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Driver) GoString() string\n```\n\n```go\nfunc (m *Driver) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Driver) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Driver) ProtoMessage()\n```\n\n```go\nfunc (m *Driver) Reset()\n```\n\n```go\nfunc (m *Driver) Size() (n int)\n```\n\n```go\nfunc (this *Driver) String() string\n```\n\n```go\nfunc (m *Driver) Unmarshal(data []byte) error\n```\n\n```go\ntype EncryptionKey struct {\n\t// Agent subsystem the key is intended for. Example:\n\t// networking:gossip\n\tSubsystem string                  `protobuf:\"bytes,1,opt,name=subsystem,proto3\" json:\"subsystem,omitempty\"`\n\tAlgorithm EncryptionKey_Algorithm `protobuf:\"varint,2,opt,name=algorithm,proto3,enum=docker.swarmkit.v1.EncryptionKey_Algorithm\" json:\"algorithm,omitempty\"`\n\tKey       []byte                  `protobuf:\"bytes,3,opt,name=key,proto3\" json:\"key,omitempty\"`\n\t// Time stamp from the lamport clock of the key allocator to\n\t// identify the relative age of the key.\n\tLamportTime uint64 `protobuf:\"varint,4,opt,name=lamport_time,json=lamportTime,proto3\" json:\"lamport_time,omitempty\"`\n}\n```\nSymmetric keys to encrypt inter-agent communication.\n\n```go\nfunc (m *EncryptionKey) Copy() *EncryptionKey\n```\n\n```go\nfunc (*EncryptionKey) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *EncryptionKey) GoString() string\n```\n\n```go\nfunc (m *EncryptionKey) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *EncryptionKey) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*EncryptionKey) ProtoMessage()\n```\n\n```go\nfunc (m *EncryptionKey) Reset()\n```\n\n```go\nfunc (m *EncryptionKey) Size() (n int)\n```\n\n```go\nfunc (this *EncryptionKey) String() string\n```\n\n```go\nfunc (m *EncryptionKey) Unmarshal(data []byte) error\n```\n\n```go\ntype EncryptionKey_Algorithm int32\n```\nEncryption algorithm that can implemented using this key\n\n```go\nconst (\n\tAES_128_GCM EncryptionKey_Algorithm = 0\n)\n```\n\n```go\nfunc (EncryptionKey_Algorithm) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x EncryptionKey_Algorithm) String() string\n```\n\n```go\ntype Endpoint struct {\n\tSpec *EndpointSpec `protobuf:\"bytes,1,opt,name=spec\" json:\"spec,omitempty\"`\n\t// Runtime state of the exposed ports which may carry\n\t// auto-allocated swarm ports in addition to the user\n\t// configured information.\n\tPorts []*PortConfig `protobuf:\"bytes,2,rep,name=ports\" json:\"ports,omitempty\"`\n\t// VirtualIPs specifies the IP addresses under which this endpoint will be\n\t// made available.\n\tVirtualIPs []*Endpoint_VirtualIP `protobuf:\"bytes,3,rep,name=virtual_ips,json=virtualIps\" json:\"virtual_ips,omitempty\"`\n}\n```\nEndpoint specified all the network parameters required to correctly discover and load balance a service\n\n```go\nfunc (m *Endpoint) Copy() *Endpoint\n```\n\n```go\nfunc (*Endpoint) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Endpoint) GoString() string\n```\n\n```go\nfunc (m *Endpoint) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Endpoint) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Endpoint) ProtoMessage()\n```\n\n```go\nfunc (m *Endpoint) Reset()\n```\n\n```go\nfunc (m *Endpoint) Size() (n int)\n```\n\n```go\nfunc (this *Endpoint) String() string\n```\n\n```go\nfunc (m *Endpoint) Unmarshal(data []byte) error\n```\n\n```go\ntype EndpointSpec struct {\n\tMode EndpointSpec_ResolutionMode `protobuf:\"varint,1,opt,name=mode,proto3,enum=docker.swarmkit.v1.EndpointSpec_ResolutionMode\" json:\"mode,omitempty\"`\n\t// List of exposed ports that this service is accessible from\n\t// external to the cluster.\n\tPorts []*PortConfig `protobuf:\"bytes,2,rep,name=ports\" json:\"ports,omitempty\"`\n}\n```\nEndpointSpec defines the properties that can be configured to access and loadbalance the service.\n\n```go\nfunc (m *EndpointSpec) Copy() *EndpointSpec\n```\n\n```go\nfunc (*EndpointSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *EndpointSpec) GoString() string\n```\n\n```go\nfunc (m *EndpointSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *EndpointSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*EndpointSpec) ProtoMessage()\n```\n\n```go\nfunc (m *EndpointSpec) Reset()\n```\n\n```go\nfunc (m *EndpointSpec) Size() (n int)\n```\n\n```go\nfunc (this *EndpointSpec) String() string\n```\n\n```go\nfunc (m *EndpointSpec) Unmarshal(data []byte) error\n```\n\n```go\ntype EndpointSpec_ResolutionMode int32\n```\nResolutionMode specifies the mode of resolution to use for internal loadbalancing between tasks which are all within the cluster. This is sometimes calles east-west data path.\n\n```go\nconst (\n\t// VIP resolution mode specifies that the\n\t// service resolves to a logical IP and the requests\n\t// are sent to that logical IP. Packets hitting that\n\t// logical IP are load balanced to a chosen backend.\n\tResolutionModeVirtualIP EndpointSpec_ResolutionMode = 0\n\t// DNSRR resolution mode specifies that the\n\t// service directly gets resolved to one of the\n\t// backend IP and the client directly initiates a\n\t// request towards the actual backend. This requires\n\t// that the client does not cache the DNS responses\n\t// when the DNS response TTL is 0.\n\tResolutionModeDNSRoundRobin EndpointSpec_ResolutionMode = 1\n)\n```\n\n```go\nfunc (EndpointSpec_ResolutionMode) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x EndpointSpec_ResolutionMode) String() string\n```\n\n```go\ntype Endpoint_VirtualIP struct {\n\t// NetworkID for which this endpoint attachment was created.\n\tNetworkID string `protobuf:\"bytes,1,opt,name=network_id,json=networkId,proto3\" json:\"network_id,omitempty\"`\n\t// A virtual IP is used to address this service in IP\n\t// layer that the client can use to send requests to\n\t// this service. A DNS A/AAAA query on the service\n\t// name might return this IP to the client. This is\n\t// strictly a logical IP and there may not be any\n\t// interfaces assigned this IP address or any route\n\t// created for this address.  More than one to\n\t// accomodate for both IPv4 and IPv6\n\tAddr string `protobuf:\"bytes,2,opt,name=addr,proto3\" json:\"addr,omitempty\"`\n}\n```\nVirtualIP specifies a set of networks this endpoint will be attached to and the IP addresses the target service will be made available under.\n\n```go\nfunc (m *Endpoint_VirtualIP) Copy() *Endpoint_VirtualIP\n```\n\n```go\nfunc (*Endpoint_VirtualIP) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Endpoint_VirtualIP) GoString() string\n```\n\n```go\nfunc (m *Endpoint_VirtualIP) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Endpoint_VirtualIP) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Endpoint_VirtualIP) ProtoMessage()\n```\n\n```go\nfunc (m *Endpoint_VirtualIP) Reset()\n```\n\n```go\nfunc (m *Endpoint_VirtualIP) Size() (n int)\n```\n\n```go\nfunc (this *Endpoint_VirtualIP) String() string\n```\n\n```go\nfunc (m *Endpoint_VirtualIP) Unmarshal(data []byte) error\n```\n\n```go\ntype EngineDescription struct {\n\t// Docker daemon version running on the node.\n\tEngineVersion string `protobuf:\"bytes,1,opt,name=engine_version,json=engineVersion,proto3\" json:\"engine_version,omitempty\"`\n\t// Labels attached to the engine.\n\tLabels map[string]string `protobuf:\"bytes,2,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\t// Volume, Network, and Auth plugins\n\tPlugins []PluginDescription `protobuf:\"bytes,3,rep,name=plugins\" json:\"plugins\"`\n}\n```\n\n```go\nfunc (m *EngineDescription) Copy() *EngineDescription\n```\n\n```go\nfunc (*EngineDescription) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *EngineDescription) GoString() string\n```\n\n```go\nfunc (m *EngineDescription) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *EngineDescription) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*EngineDescription) ProtoMessage()\n```\n\n```go\nfunc (m *EngineDescription) Reset()\n```\n\n```go\nfunc (m *EngineDescription) Size() (n int)\n```\n\n```go\nfunc (this *EngineDescription) String() string\n```\n\n```go\nfunc (m *EngineDescription) Unmarshal(data []byte) error\n```\n\n```go\ntype ExternalCA struct {\n\t// Protocol is the protocol used by this external CA.\n\tProtocol ExternalCA_CAProtocol `protobuf:\"varint,1,opt,name=protocol,proto3,enum=docker.swarmkit.v1.ExternalCA_CAProtocol\" json:\"protocol,omitempty\"`\n\t// URL is the URL where the external CA can be reached.\n\tURL string `protobuf:\"bytes,2,opt,name=url,proto3\" json:\"url,omitempty\"`\n\t// Options is a set of additional key/value pairs whose interpretation\n\t// depends on the specified CA type.\n\tOptions map[string]string `protobuf:\"bytes,3,rep,name=options\" json:\"options,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n}\n```\n\n```go\nfunc (m *ExternalCA) Copy() *ExternalCA\n```\n\n```go\nfunc (*ExternalCA) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ExternalCA) GoString() string\n```\n\n```go\nfunc (m *ExternalCA) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ExternalCA) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ExternalCA) ProtoMessage()\n```\n\n```go\nfunc (m *ExternalCA) Reset()\n```\n\n```go\nfunc (m *ExternalCA) Size() (n int)\n```\n\n```go\nfunc (this *ExternalCA) String() string\n```\n\n```go\nfunc (m *ExternalCA) Unmarshal(data []byte) error\n```\n\n```go\ntype ExternalCA_CAProtocol int32\n```\n\n```go\nconst (\n\tExternalCA_CAProtocolCFSSL ExternalCA_CAProtocol = 0\n)\n```\n\n```go\nfunc (ExternalCA_CAProtocol) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ExternalCA_CAProtocol) String() string\n```\n\n```go\ntype GetClusterRequest struct {\n\tClusterID string `protobuf:\"bytes,1,opt,name=cluster_id,json=clusterId,proto3\" json:\"cluster_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetClusterRequest) Copy() *GetClusterRequest\n```\n\n```go\nfunc (*GetClusterRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetClusterRequest) GoString() string\n```\n\n```go\nfunc (m *GetClusterRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetClusterRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetClusterRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetClusterRequest) Reset()\n```\n\n```go\nfunc (m *GetClusterRequest) Size() (n int)\n```\n\n```go\nfunc (this *GetClusterRequest) String() string\n```\n\n```go\nfunc (m *GetClusterRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype GetClusterResponse struct {\n\tCluster *Cluster `protobuf:\"bytes,1,opt,name=cluster\" json:\"cluster,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetClusterResponse) Copy() *GetClusterResponse\n```\n\n```go\nfunc (*GetClusterResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetClusterResponse) GoString() string\n```\n\n```go\nfunc (m *GetClusterResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetClusterResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetClusterResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetClusterResponse) Reset()\n```\n\n```go\nfunc (m *GetClusterResponse) Size() (n int)\n```\n\n```go\nfunc (this *GetClusterResponse) String() string\n```\n\n```go\nfunc (m *GetClusterResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype GetNetworkRequest struct {\n\tName      string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tNetworkID string `protobuf:\"bytes,2,opt,name=network_id,json=networkId,proto3\" json:\"network_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetNetworkRequest) Copy() *GetNetworkRequest\n```\n\n```go\nfunc (*GetNetworkRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetNetworkRequest) GoString() string\n```\n\n```go\nfunc (m *GetNetworkRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetNetworkRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetNetworkRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetNetworkRequest) Reset()\n```\n\n```go\nfunc (m *GetNetworkRequest) Size() (n int)\n```\n\n```go\nfunc (this *GetNetworkRequest) String() string\n```\n\n```go\nfunc (m *GetNetworkRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype GetNetworkResponse struct {\n\tNetwork *Network `protobuf:\"bytes,1,opt,name=network\" json:\"network,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetNetworkResponse) Copy() *GetNetworkResponse\n```\n\n```go\nfunc (*GetNetworkResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetNetworkResponse) GoString() string\n```\n\n```go\nfunc (m *GetNetworkResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetNetworkResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetNetworkResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetNetworkResponse) Reset()\n```\n\n```go\nfunc (m *GetNetworkResponse) Size() (n int)\n```\n\n```go\nfunc (this *GetNetworkResponse) String() string\n```\n\n```go\nfunc (m *GetNetworkResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype GetNodeRequest struct {\n\tNodeID string `protobuf:\"bytes,1,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetNodeRequest) Copy() *GetNodeRequest\n```\n\n```go\nfunc (*GetNodeRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetNodeRequest) GoString() string\n```\n\n```go\nfunc (m *GetNodeRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetNodeRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetNodeRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetNodeRequest) Reset()\n```\n\n```go\nfunc (m *GetNodeRequest) Size() (n int)\n```\n\n```go\nfunc (this *GetNodeRequest) String() string\n```\n\n```go\nfunc (m *GetNodeRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype GetNodeResponse struct {\n\tNode *Node `protobuf:\"bytes,1,opt,name=node\" json:\"node,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetNodeResponse) Copy() *GetNodeResponse\n```\n\n```go\nfunc (*GetNodeResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetNodeResponse) GoString() string\n```\n\n```go\nfunc (m *GetNodeResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetNodeResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetNodeResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetNodeResponse) Reset()\n```\n\n```go\nfunc (m *GetNodeResponse) Size() (n int)\n```\n\n```go\nfunc (this *GetNodeResponse) String() string\n```\n\n```go\nfunc (m *GetNodeResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype GetRootCACertificateRequest struct {\n}\n```\n\n```go\nfunc (m *GetRootCACertificateRequest) Copy() *GetRootCACertificateRequest\n```\n\n```go\nfunc (*GetRootCACertificateRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetRootCACertificateRequest) GoString() string\n```\n\n```go\nfunc (m *GetRootCACertificateRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetRootCACertificateRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetRootCACertificateRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetRootCACertificateRequest) Reset()\n```\n\n```go\nfunc (m *GetRootCACertificateRequest) Size() (n int)\n```\n\n```go\nfunc (this *GetRootCACertificateRequest) String() string\n```\n\n```go\nfunc (m *GetRootCACertificateRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype GetRootCACertificateResponse struct {\n\tCertificate []byte `protobuf:\"bytes,1,opt,name=certificate,proto3\" json:\"certificate,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetRootCACertificateResponse) Copy() *GetRootCACertificateResponse\n```\n\n```go\nfunc (*GetRootCACertificateResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetRootCACertificateResponse) GoString() string\n```\n\n```go\nfunc (m *GetRootCACertificateResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetRootCACertificateResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetRootCACertificateResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetRootCACertificateResponse) Reset()\n```\n\n```go\nfunc (m *GetRootCACertificateResponse) Size() (n int)\n```\n\n```go\nfunc (this *GetRootCACertificateResponse) String() string\n```\n\n```go\nfunc (m *GetRootCACertificateResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype GetServiceRequest struct {\n\tServiceID string `protobuf:\"bytes,1,opt,name=service_id,json=serviceId,proto3\" json:\"service_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetServiceRequest) Copy() *GetServiceRequest\n```\n\n```go\nfunc (*GetServiceRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetServiceRequest) GoString() string\n```\n\n```go\nfunc (m *GetServiceRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetServiceRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetServiceRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetServiceRequest) Reset()\n```\n\n```go\nfunc (m *GetServiceRequest) Size() (n int)\n```\n\n```go\nfunc (this *GetServiceRequest) String() string\n```\n\n```go\nfunc (m *GetServiceRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype GetServiceResponse struct {\n\tService *Service `protobuf:\"bytes,1,opt,name=service\" json:\"service,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetServiceResponse) Copy() *GetServiceResponse\n```\n\n```go\nfunc (*GetServiceResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetServiceResponse) GoString() string\n```\n\n```go\nfunc (m *GetServiceResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetServiceResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetServiceResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetServiceResponse) Reset()\n```\n\n```go\nfunc (m *GetServiceResponse) Size() (n int)\n```\n\n```go\nfunc (this *GetServiceResponse) String() string\n```\n\n```go\nfunc (m *GetServiceResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype GetTaskRequest struct {\n\tTaskID string `protobuf:\"bytes,1,opt,name=task_id,json=taskId,proto3\" json:\"task_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetTaskRequest) Copy() *GetTaskRequest\n```\n\n```go\nfunc (*GetTaskRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetTaskRequest) GoString() string\n```\n\n```go\nfunc (m *GetTaskRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetTaskRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetTaskRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetTaskRequest) Reset()\n```\n\n```go\nfunc (m *GetTaskRequest) Size() (n int)\n```\n\n```go\nfunc (this *GetTaskRequest) String() string\n```\n\n```go\nfunc (m *GetTaskRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype GetTaskResponse struct {\n\tTask *Task `protobuf:\"bytes,1,opt,name=task\" json:\"task,omitempty\"`\n}\n```\n\n```go\nfunc (m *GetTaskResponse) Copy() *GetTaskResponse\n```\n\n```go\nfunc (*GetTaskResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GetTaskResponse) GoString() string\n```\n\n```go\nfunc (m *GetTaskResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GetTaskResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GetTaskResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetTaskResponse) Reset()\n```\n\n```go\nfunc (m *GetTaskResponse) Size() (n int)\n```\n\n```go\nfunc (this *GetTaskResponse) String() string\n```\n\n```go\nfunc (m *GetTaskResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype GlobalService struct {\n}\n```\nGlobalService represents global service.\n\n```go\nfunc (m *GlobalService) Copy() *GlobalService\n```\n\n```go\nfunc (*GlobalService) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *GlobalService) GoString() string\n```\n\n```go\nfunc (m *GlobalService) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GlobalService) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GlobalService) ProtoMessage()\n```\n\n```go\nfunc (m *GlobalService) Reset()\n```\n\n```go\nfunc (m *GlobalService) Size() (n int)\n```\n\n```go\nfunc (this *GlobalService) String() string\n```\n\n```go\nfunc (m *GlobalService) Unmarshal(data []byte) error\n```\n\n```go\ntype HealthCheckRequest struct {\n\tService string `protobuf:\"bytes,1,opt,name=service,proto3\" json:\"service,omitempty\"`\n}\n```\n\n```go\nfunc (m *HealthCheckRequest) Copy() *HealthCheckRequest\n```\n\n```go\nfunc (*HealthCheckRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *HealthCheckRequest) GoString() string\n```\n\n```go\nfunc (m *HealthCheckRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *HealthCheckRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*HealthCheckRequest) ProtoMessage()\n```\n\n```go\nfunc (m *HealthCheckRequest) Reset()\n```\n\n```go\nfunc (m *HealthCheckRequest) Size() (n int)\n```\n\n```go\nfunc (this *HealthCheckRequest) String() string\n```\n\n```go\nfunc (m *HealthCheckRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype HealthCheckResponse struct {\n\tStatus HealthCheckResponse_ServingStatus `protobuf:\"varint,1,opt,name=status,proto3,enum=docker.swarmkit.v1.HealthCheckResponse_ServingStatus\" json:\"status,omitempty\"`\n}\n```\n\n```go\nfunc (m *HealthCheckResponse) Copy() *HealthCheckResponse\n```\n\n```go\nfunc (*HealthCheckResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *HealthCheckResponse) GoString() string\n```\n\n```go\nfunc (m *HealthCheckResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *HealthCheckResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*HealthCheckResponse) ProtoMessage()\n```\n\n```go\nfunc (m *HealthCheckResponse) Reset()\n```\n\n```go\nfunc (m *HealthCheckResponse) Size() (n int)\n```\n\n```go\nfunc (this *HealthCheckResponse) String() string\n```\n\n```go\nfunc (m *HealthCheckResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype HealthCheckResponse_ServingStatus int32\n```\n\n```go\nconst (\n\tHealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0\n\tHealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1\n\tHealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2\n)\n```\n\n```go\nfunc (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x HealthCheckResponse_ServingStatus) String() string\n```\n\n```go\ntype HealthClient interface {\n\tCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)\n}\n```\n\n```go\nfunc NewHealthClient(cc *grpc.ClientConn) HealthClient\n```\n\n```go\ntype HealthServer interface {\n\tCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperHealthServer(local HealthServer, authorize func(context.Context, []string) error) HealthServer\n```\n\n```go\nfunc NewRaftProxyHealthServer(local HealthServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) HealthServer\n```\n\n```go\ntype HeartbeatRequest struct {\n\tSessionID string `protobuf:\"bytes,1,opt,name=session_id,json=sessionId,proto3\" json:\"session_id,omitempty\"`\n}\n```\nHeartbeatRequest provides identifying properties for a single heartbeat.\n\n```go\nfunc (m *HeartbeatRequest) Copy() *HeartbeatRequest\n```\n\n```go\nfunc (*HeartbeatRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *HeartbeatRequest) GoString() string\n```\n\n```go\nfunc (m *HeartbeatRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *HeartbeatRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*HeartbeatRequest) ProtoMessage()\n```\n\n```go\nfunc (m *HeartbeatRequest) Reset()\n```\n\n```go\nfunc (m *HeartbeatRequest) Size() (n int)\n```\n\n```go\nfunc (this *HeartbeatRequest) String() string\n```\n\n```go\nfunc (m *HeartbeatRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype HeartbeatResponse struct {\n\t// Period is the duration to wait before sending the next heartbeat.\n\t// Well-behaved agents should update this on every heartbeat round trip.\n\tPeriod docker_swarmkit_v11.Duration `protobuf:\"bytes,1,opt,name=period\" json:\"period\"`\n}\n```\n\n```go\nfunc (m *HeartbeatResponse) Copy() *HeartbeatResponse\n```\n\n```go\nfunc (*HeartbeatResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *HeartbeatResponse) GoString() string\n```\n\n```go\nfunc (m *HeartbeatResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *HeartbeatResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*HeartbeatResponse) ProtoMessage()\n```\n\n```go\nfunc (m *HeartbeatResponse) Reset()\n```\n\n```go\nfunc (m *HeartbeatResponse) Size() (n int)\n```\n\n```go\nfunc (this *HeartbeatResponse) String() string\n```\n\n```go\nfunc (m *HeartbeatResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype IPAMConfig struct {\n\tFamily IPAMConfig_AddressFamily `protobuf:\"varint,1,opt,name=family,proto3,enum=docker.swarmkit.v1.IPAMConfig_AddressFamily\" json:\"family,omitempty\"`\n\t// Subnet defines a network as a CIDR address (ie network and mask\n\t// 192.168.0.1/24).\n\tSubnet string `protobuf:\"bytes,2,opt,name=subnet,proto3\" json:\"subnet,omitempty\"`\n\t// Range defines the portion of the subnet to allocate to tasks. This is\n\t// defined as a subnet within the primary subnet.\n\tRange string `protobuf:\"bytes,3,opt,name=range,proto3\" json:\"range,omitempty\"`\n\t// Gateway address within the subnet.\n\tGateway string `protobuf:\"bytes,4,opt,name=gateway,proto3\" json:\"gateway,omitempty\"`\n\t// Reserved is a list of address from the master pool that should *not* be\n\t// allocated. These addresses may have already been allocated or may be\n\t// reserved for another allocation manager.\n\tReserved map[string]string `protobuf:\"bytes,5,rep,name=reserved\" json:\"reserved,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n}\n```\nIPAMConfig specifies parameters for IP Address Management.\n\n```go\nfunc (m *IPAMConfig) Copy() *IPAMConfig\n```\n\n```go\nfunc (*IPAMConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *IPAMConfig) GoString() string\n```\n\n```go\nfunc (m *IPAMConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *IPAMConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*IPAMConfig) ProtoMessage()\n```\n\n```go\nfunc (m *IPAMConfig) Reset()\n```\n\n```go\nfunc (m *IPAMConfig) Size() (n int)\n```\n\n```go\nfunc (this *IPAMConfig) String() string\n```\n\n```go\nfunc (m *IPAMConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype IPAMConfig_AddressFamily int32\n```\nAddressFamily specifies the network address family that this IPAMConfig belongs to.\n\n```go\nconst (\n\tIPAMConfig_UNKNOWN IPAMConfig_AddressFamily = 0\n\tIPAMConfig_IPV4    IPAMConfig_AddressFamily = 4\n\tIPAMConfig_IPV6    IPAMConfig_AddressFamily = 6\n)\n```\n\n```go\nfunc (IPAMConfig_AddressFamily) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x IPAMConfig_AddressFamily) String() string\n```\n\n```go\ntype IPAMOptions struct {\n\tDriver  *Driver       `protobuf:\"bytes,1,opt,name=driver\" json:\"driver,omitempty\"`\n\tConfigs []*IPAMConfig `protobuf:\"bytes,3,rep,name=configs\" json:\"configs,omitempty\"`\n}\n```\n\n```go\nfunc (m *IPAMOptions) Copy() *IPAMOptions\n```\n\n```go\nfunc (*IPAMOptions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *IPAMOptions) GoString() string\n```\n\n```go\nfunc (m *IPAMOptions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *IPAMOptions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*IPAMOptions) ProtoMessage()\n```\n\n```go\nfunc (m *IPAMOptions) Reset()\n```\n\n```go\nfunc (m *IPAMOptions) Size() (n int)\n```\n\n```go\nfunc (this *IPAMOptions) String() string\n```\n\n```go\nfunc (m *IPAMOptions) Unmarshal(data []byte) error\n```\n\n```go\ntype Image struct {\n\t// reference is a docker image reference. This can include a rpository, tag\n\t// or be fully qualified witha digest. The format is specified in the\n\t// distribution/reference package.\n\tReference string `protobuf:\"bytes,1,opt,name=reference,proto3\" json:\"reference,omitempty\"`\n}\n```\n\n```go\nfunc (m *Image) Copy() *Image\n```\n\n```go\nfunc (*Image) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Image) GoString() string\n```\n\n```go\nfunc (m *Image) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Image) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Image) ProtoMessage()\n```\n\n```go\nfunc (m *Image) Reset()\n```\n\n```go\nfunc (m *Image) Size() (n int)\n```\n\n```go\nfunc (this *Image) String() string\n```\n\n```go\nfunc (m *Image) Unmarshal(data []byte) error\n```\n\n```go\ntype InternalRaftRequest struct {\n\tID     uint64         `protobuf:\"varint,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tAction []*StoreAction `protobuf:\"bytes,2,rep,name=action\" json:\"action,omitempty\"`\n}\n```\nContains one of many protobuf encoded objects to replicate over the raft backend with a request ID to track when the action is effectively applied\n\n```go\nfunc (m *InternalRaftRequest) Copy() *InternalRaftRequest\n```\n\n```go\nfunc (*InternalRaftRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *InternalRaftRequest) GoString() string\n```\n\n```go\nfunc (m *InternalRaftRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *InternalRaftRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*InternalRaftRequest) ProtoMessage()\n```\n\n```go\nfunc (m *InternalRaftRequest) Reset()\n```\n\n```go\nfunc (m *InternalRaftRequest) Size() (n int)\n```\n\n```go\nfunc (this *InternalRaftRequest) String() string\n```\n\n```go\nfunc (m *InternalRaftRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype IssuanceStatus struct {\n\tState IssuanceStatus_State `protobuf:\"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.IssuanceStatus_State\" json:\"state,omitempty\"`\n\t// Err is set if the Certificate Issuance is in an error state.\n\t// The following states should report a companion error:\n\t// \tFAILED\n\tErr string `protobuf:\"bytes,2,opt,name=err,proto3\" json:\"err,omitempty\"`\n}\n```\n\n```go\nfunc (m *IssuanceStatus) Copy() *IssuanceStatus\n```\n\n```go\nfunc (*IssuanceStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *IssuanceStatus) GoString() string\n```\n\n```go\nfunc (m *IssuanceStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *IssuanceStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*IssuanceStatus) ProtoMessage()\n```\n\n```go\nfunc (m *IssuanceStatus) Reset()\n```\n\n```go\nfunc (m *IssuanceStatus) Size() (n int)\n```\n\n```go\nfunc (this *IssuanceStatus) String() string\n```\n\n```go\nfunc (m *IssuanceStatus) Unmarshal(data []byte) error\n```\n\n```go\ntype IssuanceStatus_State int32\n```\n\n```go\nconst (\n\tIssuanceStateUnknown IssuanceStatus_State = 0\n\tIssuanceStateRenew   IssuanceStatus_State = 1\n\tIssuanceStatePending IssuanceStatus_State = 2\n\tIssuanceStateIssued  IssuanceStatus_State = 3\n\tIssuanceStateFailed  IssuanceStatus_State = 4\n)\n```\n\n```go\nfunc (IssuanceStatus_State) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x IssuanceStatus_State) String() string\n```\n\n```go\ntype IssueNodeCertificateRequest struct {\n\t// DEPRECATED: Role is now selected based on which secret is matched.\n\tRole NodeRole `protobuf:\"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole\" json:\"role,omitempty\"`\n\t// CSR is the certificate signing request.\n\tCSR []byte `protobuf:\"bytes,2,opt,name=csr,proto3\" json:\"csr,omitempty\"`\n\t// Token represents a user-provided string that is necessary for new\n\t// nodes to join the cluster\n\tToken string `protobuf:\"bytes,3,opt,name=token,proto3\" json:\"token,omitempty\"`\n}\n```\n\n```go\nfunc (m *IssueNodeCertificateRequest) Copy() *IssueNodeCertificateRequest\n```\n\n```go\nfunc (*IssueNodeCertificateRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *IssueNodeCertificateRequest) GoString() string\n```\n\n```go\nfunc (m *IssueNodeCertificateRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *IssueNodeCertificateRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*IssueNodeCertificateRequest) ProtoMessage()\n```\n\n```go\nfunc (m *IssueNodeCertificateRequest) Reset()\n```\n\n```go\nfunc (m *IssueNodeCertificateRequest) Size() (n int)\n```\n\n```go\nfunc (this *IssueNodeCertificateRequest) String() string\n```\n\n```go\nfunc (m *IssueNodeCertificateRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype IssueNodeCertificateResponse struct {\n\tNodeID         string              `protobuf:\"bytes,1,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n\tNodeMembership NodeSpec_Membership `protobuf:\"varint,2,opt,name=node_membership,json=nodeMembership,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership\" json:\"node_membership,omitempty\"`\n}\n```\n\n```go\nfunc (m *IssueNodeCertificateResponse) Copy() *IssueNodeCertificateResponse\n```\n\n```go\nfunc (*IssueNodeCertificateResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *IssueNodeCertificateResponse) GoString() string\n```\n\n```go\nfunc (m *IssueNodeCertificateResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *IssueNodeCertificateResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*IssueNodeCertificateResponse) ProtoMessage()\n```\n\n```go\nfunc (m *IssueNodeCertificateResponse) Reset()\n```\n\n```go\nfunc (m *IssueNodeCertificateResponse) Size() (n int)\n```\n\n```go\nfunc (this *IssueNodeCertificateResponse) String() string\n```\n\n```go\nfunc (m *IssueNodeCertificateResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype JoinRequest struct {\n\t// Addr specifies the address of the member\n\tAddr string `protobuf:\"bytes,1,opt,name=addr,proto3\" json:\"addr,omitempty\"`\n}\n```\n\n```go\nfunc (m *JoinRequest) Copy() *JoinRequest\n```\n\n```go\nfunc (*JoinRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *JoinRequest) GoString() string\n```\n\n```go\nfunc (m *JoinRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *JoinRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*JoinRequest) ProtoMessage()\n```\n\n```go\nfunc (m *JoinRequest) Reset()\n```\n\n```go\nfunc (m *JoinRequest) Size() (n int)\n```\n\n```go\nfunc (this *JoinRequest) String() string\n```\n\n```go\nfunc (m *JoinRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype JoinResponse struct {\n\t// RaftID is the ID assigned to the new member.\n\tRaftID uint64 `protobuf:\"varint,1,opt,name=raft_id,json=raftId,proto3\" json:\"raft_id,omitempty\"`\n\t// Members is the membership set of the cluster.\n\tMembers []*RaftMember `protobuf:\"bytes,2,rep,name=members\" json:\"members,omitempty\"`\n\t// RemovedMembers is a list of members that have been removed from\n\t// the cluster, so the new node can avoid communicating with them.\n\tRemovedMembers []uint64 `protobuf:\"varint,3,rep,name=removed_members,json=removedMembers\" json:\"removed_members,omitempty\"`\n}\n```\n\n```go\nfunc (m *JoinResponse) Copy() *JoinResponse\n```\n\n```go\nfunc (*JoinResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *JoinResponse) GoString() string\n```\n\n```go\nfunc (m *JoinResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *JoinResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*JoinResponse) ProtoMessage()\n```\n\n```go\nfunc (m *JoinResponse) Reset()\n```\n\n```go\nfunc (m *JoinResponse) Size() (n int)\n```\n\n```go\nfunc (this *JoinResponse) String() string\n```\n\n```go\nfunc (m *JoinResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype JoinTokenRotation struct {\n\t// RotateWorkerToken tells UpdateCluster to rotate the worker secret.\n\tRotateWorkerToken bool `protobuf:\"varint,1,opt,name=rotate_worker_token,json=rotateWorkerToken,proto3\" json:\"rotate_worker_token,omitempty\"`\n\t// RotateManagerSecret tells UpdateCluster to rotate the manager secret.\n\tRotateManagerToken bool `protobuf:\"varint,2,opt,name=rotate_manager_token,json=rotateManagerToken,proto3\" json:\"rotate_manager_token,omitempty\"`\n}\n```\n\n```go\nfunc (m *JoinTokenRotation) Copy() *JoinTokenRotation\n```\n\n```go\nfunc (*JoinTokenRotation) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *JoinTokenRotation) GoString() string\n```\n\n```go\nfunc (m *JoinTokenRotation) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *JoinTokenRotation) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*JoinTokenRotation) ProtoMessage()\n```\n\n```go\nfunc (m *JoinTokenRotation) Reset()\n```\n\n```go\nfunc (m *JoinTokenRotation) Size() (n int)\n```\n\n```go\nfunc (this *JoinTokenRotation) String() string\n```\n\n```go\nfunc (m *JoinTokenRotation) Unmarshal(data []byte) error\n```\n\n```go\ntype JoinTokens struct {\n\t// Worker is the join token workers may use to join the swarm.\n\tWorker string `protobuf:\"bytes,1,opt,name=worker,proto3\" json:\"worker,omitempty\"`\n\t// Manager is the join token workers may use to join the swarm.\n\tManager string `protobuf:\"bytes,2,opt,name=manager,proto3\" json:\"manager,omitempty\"`\n}\n```\nJoinToken contains the join tokens for workers and managers.\n\n```go\nfunc (m *JoinTokens) Copy() *JoinTokens\n```\n\n```go\nfunc (*JoinTokens) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *JoinTokens) GoString() string\n```\n\n```go\nfunc (m *JoinTokens) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *JoinTokens) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*JoinTokens) ProtoMessage()\n```\n\n```go\nfunc (m *JoinTokens) Reset()\n```\n\n```go\nfunc (m *JoinTokens) Size() (n int)\n```\n\n```go\nfunc (this *JoinTokens) String() string\n```\n\n```go\nfunc (m *JoinTokens) Unmarshal(data []byte) error\n```\n\n```go\ntype LeaveRequest struct {\n\tNode *RaftMember `protobuf:\"bytes,1,opt,name=node\" json:\"node,omitempty\"`\n}\n```\n\n```go\nfunc (m *LeaveRequest) Copy() *LeaveRequest\n```\n\n```go\nfunc (*LeaveRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *LeaveRequest) GoString() string\n```\n\n```go\nfunc (m *LeaveRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *LeaveRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*LeaveRequest) ProtoMessage()\n```\n\n```go\nfunc (m *LeaveRequest) Reset()\n```\n\n```go\nfunc (m *LeaveRequest) Size() (n int)\n```\n\n```go\nfunc (this *LeaveRequest) String() string\n```\n\n```go\nfunc (m *LeaveRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype LeaveResponse struct {\n}\n```\n\n```go\nfunc (m *LeaveResponse) Copy() *LeaveResponse\n```\n\n```go\nfunc (*LeaveResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *LeaveResponse) GoString() string\n```\n\n```go\nfunc (m *LeaveResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *LeaveResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*LeaveResponse) ProtoMessage()\n```\n\n```go\nfunc (m *LeaveResponse) Reset()\n```\n\n```go\nfunc (m *LeaveResponse) Size() (n int)\n```\n\n```go\nfunc (this *LeaveResponse) String() string\n```\n\n```go\nfunc (m *LeaveResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ListClustersRequest struct {\n\tFilters *ListClustersRequest_Filters `protobuf:\"bytes,1,opt,name=filters\" json:\"filters,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListClustersRequest) Copy() *ListClustersRequest\n```\n\n```go\nfunc (*ListClustersRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListClustersRequest) GoString() string\n```\n\n```go\nfunc (m *ListClustersRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListClustersRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListClustersRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListClustersRequest) Reset()\n```\n\n```go\nfunc (m *ListClustersRequest) Size() (n int)\n```\n\n```go\nfunc (this *ListClustersRequest) String() string\n```\n\n```go\nfunc (m *ListClustersRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ListClustersRequest_Filters struct {\n\tNames      []string          `protobuf:\"bytes,1,rep,name=names\" json:\"names,omitempty\"`\n\tIDPrefixes []string          `protobuf:\"bytes,2,rep,name=id_prefixes,json=idPrefixes\" json:\"id_prefixes,omitempty\"`\n\tLabels     map[string]string `protobuf:\"bytes,3,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\t// NamePrefixes matches all objects with the given prefixes\n\tNamePrefixes []string `protobuf:\"bytes,4,rep,name=name_prefixes,json=namePrefixes\" json:\"name_prefixes,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListClustersRequest_Filters) Copy() *ListClustersRequest_Filters\n```\n\n```go\nfunc (*ListClustersRequest_Filters) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListClustersRequest_Filters) GoString() string\n```\n\n```go\nfunc (m *ListClustersRequest_Filters) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListClustersRequest_Filters) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListClustersRequest_Filters) ProtoMessage()\n```\n\n```go\nfunc (m *ListClustersRequest_Filters) Reset()\n```\n\n```go\nfunc (m *ListClustersRequest_Filters) Size() (n int)\n```\n\n```go\nfunc (this *ListClustersRequest_Filters) String() string\n```\n\n```go\nfunc (m *ListClustersRequest_Filters) Unmarshal(data []byte) error\n```\n\n```go\ntype ListClustersResponse struct {\n\tClusters []*Cluster `protobuf:\"bytes,1,rep,name=clusters\" json:\"clusters,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListClustersResponse) Copy() *ListClustersResponse\n```\n\n```go\nfunc (*ListClustersResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListClustersResponse) GoString() string\n```\n\n```go\nfunc (m *ListClustersResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListClustersResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListClustersResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListClustersResponse) Reset()\n```\n\n```go\nfunc (m *ListClustersResponse) Size() (n int)\n```\n\n```go\nfunc (this *ListClustersResponse) String() string\n```\n\n```go\nfunc (m *ListClustersResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ListNetworksRequest struct {\n\tFilters *ListNetworksRequest_Filters `protobuf:\"bytes,1,opt,name=filters\" json:\"filters,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListNetworksRequest) Copy() *ListNetworksRequest\n```\n\n```go\nfunc (*ListNetworksRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListNetworksRequest) GoString() string\n```\n\n```go\nfunc (m *ListNetworksRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListNetworksRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListNetworksRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListNetworksRequest) Reset()\n```\n\n```go\nfunc (m *ListNetworksRequest) Size() (n int)\n```\n\n```go\nfunc (this *ListNetworksRequest) String() string\n```\n\n```go\nfunc (m *ListNetworksRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ListNetworksRequest_Filters struct {\n\tNames      []string          `protobuf:\"bytes,1,rep,name=names\" json:\"names,omitempty\"`\n\tIDPrefixes []string          `protobuf:\"bytes,2,rep,name=id_prefixes,json=idPrefixes\" json:\"id_prefixes,omitempty\"`\n\tLabels     map[string]string `protobuf:\"bytes,3,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\t// NamePrefixes matches all objects with the given prefixes\n\tNamePrefixes []string `protobuf:\"bytes,4,rep,name=name_prefixes,json=namePrefixes\" json:\"name_prefixes,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListNetworksRequest_Filters) Copy() *ListNetworksRequest_Filters\n```\n\n```go\nfunc (*ListNetworksRequest_Filters) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListNetworksRequest_Filters) GoString() string\n```\n\n```go\nfunc (m *ListNetworksRequest_Filters) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListNetworksRequest_Filters) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListNetworksRequest_Filters) ProtoMessage()\n```\n\n```go\nfunc (m *ListNetworksRequest_Filters) Reset()\n```\n\n```go\nfunc (m *ListNetworksRequest_Filters) Size() (n int)\n```\n\n```go\nfunc (this *ListNetworksRequest_Filters) String() string\n```\n\n```go\nfunc (m *ListNetworksRequest_Filters) Unmarshal(data []byte) error\n```\n\n```go\ntype ListNetworksResponse struct {\n\tNetworks []*Network `protobuf:\"bytes,1,rep,name=networks\" json:\"networks,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListNetworksResponse) Copy() *ListNetworksResponse\n```\n\n```go\nfunc (*ListNetworksResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListNetworksResponse) GoString() string\n```\n\n```go\nfunc (m *ListNetworksResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListNetworksResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListNetworksResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListNetworksResponse) Reset()\n```\n\n```go\nfunc (m *ListNetworksResponse) Size() (n int)\n```\n\n```go\nfunc (this *ListNetworksResponse) String() string\n```\n\n```go\nfunc (m *ListNetworksResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ListNodesRequest struct {\n\tFilters *ListNodesRequest_Filters `protobuf:\"bytes,1,opt,name=filters\" json:\"filters,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListNodesRequest) Copy() *ListNodesRequest\n```\n\n```go\nfunc (*ListNodesRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListNodesRequest) GoString() string\n```\n\n```go\nfunc (m *ListNodesRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListNodesRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListNodesRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListNodesRequest) Reset()\n```\n\n```go\nfunc (m *ListNodesRequest) Size() (n int)\n```\n\n```go\nfunc (this *ListNodesRequest) String() string\n```\n\n```go\nfunc (m *ListNodesRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ListNodesRequest_Filters struct {\n\tNames       []string              `protobuf:\"bytes,1,rep,name=names\" json:\"names,omitempty\"`\n\tIDPrefixes  []string              `protobuf:\"bytes,2,rep,name=id_prefixes,json=idPrefixes\" json:\"id_prefixes,omitempty\"`\n\tLabels      map[string]string     `protobuf:\"bytes,3,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tMemberships []NodeSpec_Membership `protobuf:\"varint,4,rep,name=memberships,enum=docker.swarmkit.v1.NodeSpec_Membership\" json:\"memberships,omitempty\"`\n\tRoles       []NodeRole            `protobuf:\"varint,5,rep,name=roles,enum=docker.swarmkit.v1.NodeRole\" json:\"roles,omitempty\"`\n\t// NamePrefixes matches all objects with the given prefixes\n\tNamePrefixes []string `protobuf:\"bytes,6,rep,name=name_prefixes,json=namePrefixes\" json:\"name_prefixes,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListNodesRequest_Filters) Copy() *ListNodesRequest_Filters\n```\n\n```go\nfunc (*ListNodesRequest_Filters) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListNodesRequest_Filters) GoString() string\n```\n\n```go\nfunc (m *ListNodesRequest_Filters) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListNodesRequest_Filters) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListNodesRequest_Filters) ProtoMessage()\n```\n\n```go\nfunc (m *ListNodesRequest_Filters) Reset()\n```\n\n```go\nfunc (m *ListNodesRequest_Filters) Size() (n int)\n```\n\n```go\nfunc (this *ListNodesRequest_Filters) String() string\n```\n\n```go\nfunc (m *ListNodesRequest_Filters) Unmarshal(data []byte) error\n```\n\n```go\ntype ListNodesResponse struct {\n\tNodes []*Node `protobuf:\"bytes,1,rep,name=nodes\" json:\"nodes,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListNodesResponse) Copy() *ListNodesResponse\n```\n\n```go\nfunc (*ListNodesResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListNodesResponse) GoString() string\n```\n\n```go\nfunc (m *ListNodesResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListNodesResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListNodesResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListNodesResponse) Reset()\n```\n\n```go\nfunc (m *ListNodesResponse) Size() (n int)\n```\n\n```go\nfunc (this *ListNodesResponse) String() string\n```\n\n```go\nfunc (m *ListNodesResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ListServicesRequest struct {\n\tFilters *ListServicesRequest_Filters `protobuf:\"bytes,1,opt,name=filters\" json:\"filters,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListServicesRequest) Copy() *ListServicesRequest\n```\n\n```go\nfunc (*ListServicesRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListServicesRequest) GoString() string\n```\n\n```go\nfunc (m *ListServicesRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListServicesRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListServicesRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListServicesRequest) Reset()\n```\n\n```go\nfunc (m *ListServicesRequest) Size() (n int)\n```\n\n```go\nfunc (this *ListServicesRequest) String() string\n```\n\n```go\nfunc (m *ListServicesRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ListServicesRequest_Filters struct {\n\tNames      []string          `protobuf:\"bytes,1,rep,name=names\" json:\"names,omitempty\"`\n\tIDPrefixes []string          `protobuf:\"bytes,2,rep,name=id_prefixes,json=idPrefixes\" json:\"id_prefixes,omitempty\"`\n\tLabels     map[string]string `protobuf:\"bytes,3,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\t// NamePrefixes matches all objects with the given prefixes\n\tNamePrefixes []string `protobuf:\"bytes,4,rep,name=name_prefixes,json=namePrefixes\" json:\"name_prefixes,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListServicesRequest_Filters) Copy() *ListServicesRequest_Filters\n```\n\n```go\nfunc (*ListServicesRequest_Filters) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListServicesRequest_Filters) GoString() string\n```\n\n```go\nfunc (m *ListServicesRequest_Filters) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListServicesRequest_Filters) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListServicesRequest_Filters) ProtoMessage()\n```\n\n```go\nfunc (m *ListServicesRequest_Filters) Reset()\n```\n\n```go\nfunc (m *ListServicesRequest_Filters) Size() (n int)\n```\n\n```go\nfunc (this *ListServicesRequest_Filters) String() string\n```\n\n```go\nfunc (m *ListServicesRequest_Filters) Unmarshal(data []byte) error\n```\n\n```go\ntype ListServicesResponse struct {\n\tServices []*Service `protobuf:\"bytes,1,rep,name=services\" json:\"services,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListServicesResponse) Copy() *ListServicesResponse\n```\n\n```go\nfunc (*ListServicesResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListServicesResponse) GoString() string\n```\n\n```go\nfunc (m *ListServicesResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListServicesResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListServicesResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListServicesResponse) Reset()\n```\n\n```go\nfunc (m *ListServicesResponse) Size() (n int)\n```\n\n```go\nfunc (this *ListServicesResponse) String() string\n```\n\n```go\nfunc (m *ListServicesResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ListTasksRequest struct {\n\tFilters *ListTasksRequest_Filters `protobuf:\"bytes,1,opt,name=filters\" json:\"filters,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListTasksRequest) Copy() *ListTasksRequest\n```\n\n```go\nfunc (*ListTasksRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListTasksRequest) GoString() string\n```\n\n```go\nfunc (m *ListTasksRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListTasksRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListTasksRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListTasksRequest) Reset()\n```\n\n```go\nfunc (m *ListTasksRequest) Size() (n int)\n```\n\n```go\nfunc (this *ListTasksRequest) String() string\n```\n\n```go\nfunc (m *ListTasksRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ListTasksRequest_Filters struct {\n\tNames         []string          `protobuf:\"bytes,1,rep,name=names\" json:\"names,omitempty\"`\n\tIDPrefixes    []string          `protobuf:\"bytes,2,rep,name=id_prefixes,json=idPrefixes\" json:\"id_prefixes,omitempty\"`\n\tLabels        map[string]string `protobuf:\"bytes,3,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tServiceIDs    []string          `protobuf:\"bytes,4,rep,name=service_ids,json=serviceIds\" json:\"service_ids,omitempty\"`\n\tNodeIDs       []string          `protobuf:\"bytes,5,rep,name=node_ids,json=nodeIds\" json:\"node_ids,omitempty\"`\n\tDesiredStates []TaskState       `protobuf:\"varint,6,rep,name=desired_states,json=desiredStates,enum=docker.swarmkit.v1.TaskState\" json:\"desired_states,omitempty\"`\n\t// NamePrefixes matches all objects with the given prefixes\n\tNamePrefixes []string `protobuf:\"bytes,7,rep,name=name_prefixes,json=namePrefixes\" json:\"name_prefixes,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListTasksRequest_Filters) Copy() *ListTasksRequest_Filters\n```\n\n```go\nfunc (*ListTasksRequest_Filters) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListTasksRequest_Filters) GoString() string\n```\n\n```go\nfunc (m *ListTasksRequest_Filters) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListTasksRequest_Filters) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListTasksRequest_Filters) ProtoMessage()\n```\n\n```go\nfunc (m *ListTasksRequest_Filters) Reset()\n```\n\n```go\nfunc (m *ListTasksRequest_Filters) Size() (n int)\n```\n\n```go\nfunc (this *ListTasksRequest_Filters) String() string\n```\n\n```go\nfunc (m *ListTasksRequest_Filters) Unmarshal(data []byte) error\n```\n\n```go\ntype ListTasksResponse struct {\n\tTasks []*Task `protobuf:\"bytes,1,rep,name=tasks\" json:\"tasks,omitempty\"`\n}\n```\n\n```go\nfunc (m *ListTasksResponse) Copy() *ListTasksResponse\n```\n\n```go\nfunc (*ListTasksResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ListTasksResponse) GoString() string\n```\n\n```go\nfunc (m *ListTasksResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListTasksResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListTasksResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListTasksResponse) Reset()\n```\n\n```go\nfunc (m *ListTasksResponse) Size() (n int)\n```\n\n```go\nfunc (this *ListTasksResponse) String() string\n```\n\n```go\nfunc (m *ListTasksResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ManagerStatus struct {\n\t// RaftID specifies the internal ID used by the manager in a raft context, it can never be modified\n\t// and is used only for information purposes\n\tRaftID uint64 `protobuf:\"varint,1,opt,name=raft_id,json=raftId,proto3\" json:\"raft_id,omitempty\"`\n\t// Addr is the address advertised to raft.\n\tAddr string `protobuf:\"bytes,2,opt,name=addr,proto3\" json:\"addr,omitempty\"`\n\t// Leader is set to true if this node is the raft leader.\n\tLeader bool `protobuf:\"varint,3,opt,name=leader,proto3\" json:\"leader,omitempty\"`\n\t// Reachability specifies whether this node is reachable.\n\tReachability RaftMemberStatus_Reachability `protobuf:\"varint,4,opt,name=reachability,proto3,enum=docker.swarmkit.v1.RaftMemberStatus_Reachability\" json:\"reachability,omitempty\"`\n}\n```\nManagerStatus provides informations about the state of a manager in the cluster.\n\n```go\nfunc (m *ManagerStatus) Copy() *ManagerStatus\n```\n\n```go\nfunc (*ManagerStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ManagerStatus) GoString() string\n```\n\n```go\nfunc (m *ManagerStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ManagerStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ManagerStatus) ProtoMessage()\n```\n\n```go\nfunc (m *ManagerStatus) Reset()\n```\n\n```go\nfunc (m *ManagerStatus) Size() (n int)\n```\n\n```go\nfunc (this *ManagerStatus) String() string\n```\n\n```go\nfunc (m *ManagerStatus) Unmarshal(data []byte) error\n```\n\n```go\ntype Meta struct {\n\t// Version tracks the current version of the object.\n\tVersion Version `protobuf:\"bytes,1,opt,name=version\" json:\"version\"`\n\t// Object timestamps.\n\tCreatedAt *docker_swarmkit_v1.Timestamp `protobuf:\"bytes,2,opt,name=created_at,json=createdAt\" json:\"created_at,omitempty\"`\n\tUpdatedAt *docker_swarmkit_v1.Timestamp `protobuf:\"bytes,3,opt,name=updated_at,json=updatedAt\" json:\"updated_at,omitempty\"`\n}\n```\nMeta contains metadata about objects. Every object contains a meta field.\n\n```go\nfunc (m *Meta) Copy() *Meta\n```\n\n```go\nfunc (*Meta) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Meta) GoString() string\n```\n\n```go\nfunc (m *Meta) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Meta) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Meta) ProtoMessage()\n```\n\n```go\nfunc (m *Meta) Reset()\n```\n\n```go\nfunc (m *Meta) Size() (n int)\n```\n\n```go\nfunc (this *Meta) String() string\n```\n\n```go\nfunc (m *Meta) Unmarshal(data []byte) error\n```\n\n```go\ntype Mount struct {\n\t// Type defines the nature of the mount.\n\tType Mount_MountType `protobuf:\"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.Mount_MountType\" json:\"type,omitempty\"`\n\t// Source specifies the name of the mount. Depending on mount type, this\n\t// may be a volume name or a host path, or even ignored.\n\tSource string `protobuf:\"bytes,2,opt,name=source,proto3\" json:\"source,omitempty\"`\n\t// Target path in container\n\tTarget string `protobuf:\"bytes,3,opt,name=target,proto3\" json:\"target,omitempty\"`\n\t// ReadOnly should be set to true if the mount should not be writable.\n\tReadOnly bool `protobuf:\"varint,4,opt,name=readonly,proto3\" json:\"readonly,omitempty\"`\n\t// BindOptions configures properties of a bind mount type.\n\t//\n\t// For mounts of type bind, the source must be an absolute host path.\n\tBindOptions *Mount_BindOptions `protobuf:\"bytes,5,opt,name=bind_options,json=bindOptions\" json:\"bind_options,omitempty\"`\n\t// VolumeOptions configures the properties specific to a volume mount type.\n\t//\n\t// For mounts of type volume, the source will be used as the volume name.\n\tVolumeOptions *Mount_VolumeOptions `protobuf:\"bytes,6,opt,name=volume_options,json=volumeOptions\" json:\"volume_options,omitempty\"`\n\t// TmpfsOptions allows one to set options for mounting a temporary\n\t// filesystem.\n\t//\n\t// The source field will be ignored when using mounts of type tmpfs.\n\tTmpfsOptions *Mount_TmpfsOptions `protobuf:\"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions\" json:\"tmpfs_options,omitempty\"`\n}\n```\nMount describes volume mounts for a container.\n\nThe Mount type follows the structure of the mount syscall, including a type, source, target. Top-level flags, such as writable, are common to all kinds of mounts, where we also provide options that are specific to a type of mount. This corresponds to flags and data, respectively, in the syscall.\n\n```go\nfunc (m *Mount) Copy() *Mount\n```\n\n```go\nfunc (*Mount) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Mount) GoString() string\n```\n\n```go\nfunc (m *Mount) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Mount) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Mount) ProtoMessage()\n```\n\n```go\nfunc (m *Mount) Reset()\n```\n\n```go\nfunc (m *Mount) Size() (n int)\n```\n\n```go\nfunc (this *Mount) String() string\n```\n\n```go\nfunc (m *Mount) Unmarshal(data []byte) error\n```\n\n```go\ntype Mount_BindOptions struct {\n\t// Propagation mode of mount.\n\tPropagation Mount_BindOptions_MountPropagation `protobuf:\"varint,1,opt,name=propagation,proto3,enum=docker.swarmkit.v1.Mount_BindOptions_MountPropagation\" json:\"propagation,omitempty\"`\n}\n```\nBindOptions specifies options that are specific to a bind mount.\n\n```go\nfunc (m *Mount_BindOptions) Copy() *Mount_BindOptions\n```\n\n```go\nfunc (*Mount_BindOptions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Mount_BindOptions) GoString() string\n```\n\n```go\nfunc (m *Mount_BindOptions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Mount_BindOptions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Mount_BindOptions) ProtoMessage()\n```\n\n```go\nfunc (m *Mount_BindOptions) Reset()\n```\n\n```go\nfunc (m *Mount_BindOptions) Size() (n int)\n```\n\n```go\nfunc (this *Mount_BindOptions) String() string\n```\n\n```go\nfunc (m *Mount_BindOptions) Unmarshal(data []byte) error\n```\n\n```go\ntype Mount_BindOptions_MountPropagation int32\n```\n\n```go\nconst (\n\tMountPropagationRPrivate Mount_BindOptions_MountPropagation = 0\n\tMountPropagationPrivate  Mount_BindOptions_MountPropagation = 1\n\tMountPropagationRShared  Mount_BindOptions_MountPropagation = 2\n\tMountPropagationShared   Mount_BindOptions_MountPropagation = 3\n\tMountPropagationRSlave   Mount_BindOptions_MountPropagation = 4\n\tMountPropagationSlave    Mount_BindOptions_MountPropagation = 5\n)\n```\n\n```go\nfunc (Mount_BindOptions_MountPropagation) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x Mount_BindOptions_MountPropagation) String() string\n```\n\n```go\ntype Mount_MountType int32\n```\n\n```go\nconst (\n\tMountTypeBind   Mount_MountType = 0\n\tMountTypeVolume Mount_MountType = 1\n\tMountTypeTmpfs  Mount_MountType = 2\n)\n```\n\n```go\nfunc (Mount_MountType) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x Mount_MountType) String() string\n```\n\n```go\ntype Mount_TmpfsOptions struct {\n\t// Size sets the size of the tmpfs, in bytes.\n\t//\n\t// This will be converted to an operating system specific value\n\t// depending on the host. For example, on linux, it will be convered to\n\t// use a 'k', 'm' or 'g' syntax. BSD, though not widely supported with\n\t// docker, uses a straight byte value.\n\t//\n\t// Percentages are not supported.\n\tSizeBytes int64 `protobuf:\"varint,1,opt,name=size_bytes,json=sizeBytes,proto3\" json:\"size_bytes,omitempty\"`\n\t// Mode of the tmpfs upon creation\n\tMode os.FileMode `protobuf:\"varint,2,opt,name=mode,proto3,customtype=os.FileMode\" json:\"mode\"`\n}\n```\n\n```go\nfunc (m *Mount_TmpfsOptions) Copy() *Mount_TmpfsOptions\n```\n\n```go\nfunc (*Mount_TmpfsOptions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Mount_TmpfsOptions) GoString() string\n```\n\n```go\nfunc (m *Mount_TmpfsOptions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Mount_TmpfsOptions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Mount_TmpfsOptions) ProtoMessage()\n```\n\n```go\nfunc (m *Mount_TmpfsOptions) Reset()\n```\n\n```go\nfunc (m *Mount_TmpfsOptions) Size() (n int)\n```\n\n```go\nfunc (this *Mount_TmpfsOptions) String() string\n```\n\n```go\nfunc (m *Mount_TmpfsOptions) Unmarshal(data []byte) error\n```\n\n```go\ntype Mount_VolumeOptions struct {\n\t// nocopy prevents automatic copying of data to the volume with data from target\n\tNoCopy bool `protobuf:\"varint,1,opt,name=nocopy,proto3\" json:\"nocopy,omitempty\"`\n\t// labels to apply to the volume if creating\n\tLabels map[string]string `protobuf:\"bytes,2,rep,name=labels\" json:\"labels,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\t// DriverConfig specifies the options that may be passed to the driver\n\t// if the volume is created.\n\t//\n\t// If this is empty, no volume will be created if the volume is missing.\n\tDriverConfig *Driver `protobuf:\"bytes,3,opt,name=driver_config,json=driverConfig\" json:\"driver_config,omitempty\"`\n}\n```\nVolumeOptions contains parameters for mounting the volume.\n\n```go\nfunc (m *Mount_VolumeOptions) Copy() *Mount_VolumeOptions\n```\n\n```go\nfunc (*Mount_VolumeOptions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Mount_VolumeOptions) GoString() string\n```\n\n```go\nfunc (m *Mount_VolumeOptions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Mount_VolumeOptions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Mount_VolumeOptions) ProtoMessage()\n```\n\n```go\nfunc (m *Mount_VolumeOptions) Reset()\n```\n\n```go\nfunc (m *Mount_VolumeOptions) Size() (n int)\n```\n\n```go\nfunc (this *Mount_VolumeOptions) String() string\n```\n\n```go\nfunc (m *Mount_VolumeOptions) Unmarshal(data []byte) error\n```\n\n```go\ntype Network struct {\n\tID   string      `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tMeta Meta        `protobuf:\"bytes,2,opt,name=meta\" json:\"meta\"`\n\tSpec NetworkSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec\"`\n\t// Driver specific operational state provided by the network driver.\n\tDriverState *Driver `protobuf:\"bytes,4,opt,name=driver_state,json=driverState\" json:\"driver_state,omitempty\"`\n\t// Runtime state of IPAM options. This may not reflect the\n\t// ipam options from NetworkSpec.\n\tIPAM *IPAMOptions `protobuf:\"bytes,5,opt,name=ipam\" json:\"ipam,omitempty\"`\n}\n```\n\n```go\nfunc (m *Network) Copy() *Network\n```\n\n```go\nfunc (*Network) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Network) GoString() string\n```\n\n```go\nfunc (m *Network) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Network) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Network) ProtoMessage()\n```\n\n```go\nfunc (m *Network) Reset()\n```\n\n```go\nfunc (m *Network) Size() (n int)\n```\n\n```go\nfunc (this *Network) String() string\n```\n\n```go\nfunc (m *Network) Unmarshal(data []byte) error\n```\n\n```go\ntype NetworkAttachment struct {\n\t// Network state as a whole becomes part of the object so that\n\t// it always is available for use in agents so that agents\n\t// don't have any other dependency during execution.\n\tNetwork *Network `protobuf:\"bytes,1,opt,name=network\" json:\"network,omitempty\"`\n\t// List of IPv4/IPv6 addresses that are assigned to the object\n\t// as part of getting attached to this network.\n\tAddresses []string `protobuf:\"bytes,2,rep,name=addresses\" json:\"addresses,omitempty\"`\n\t// List of aliases by which a task is resolved in a network\n\tAliases []string `protobuf:\"bytes,3,rep,name=aliases\" json:\"aliases,omitempty\"`\n}\n```\nNetworkAttachment specifies the network parameters of attachment to a single network by an object such as task or node.\n\n```go\nfunc (m *NetworkAttachment) Copy() *NetworkAttachment\n```\n\n```go\nfunc (*NetworkAttachment) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NetworkAttachment) GoString() string\n```\n\n```go\nfunc (m *NetworkAttachment) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NetworkAttachment) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NetworkAttachment) ProtoMessage()\n```\n\n```go\nfunc (m *NetworkAttachment) Reset()\n```\n\n```go\nfunc (m *NetworkAttachment) Size() (n int)\n```\n\n```go\nfunc (this *NetworkAttachment) String() string\n```\n\n```go\nfunc (m *NetworkAttachment) Unmarshal(data []byte) error\n```\n\n```go\ntype NetworkSpec struct {\n\tAnnotations Annotations `protobuf:\"bytes,1,opt,name=annotations\" json:\"annotations\"`\n\t// DriverConfig specific configuration consumed by the network driver.\n\tDriverConfig *Driver `protobuf:\"bytes,2,opt,name=driver_config,json=driverConfig\" json:\"driver_config,omitempty\"`\n\t// IPv6Enabled enables support for IPv6 on the network.\n\tIpv6Enabled bool `protobuf:\"varint,3,opt,name=ipv6_enabled,json=ipv6Enabled,proto3\" json:\"ipv6_enabled,omitempty\"`\n\t// internal restricts external access to the network. This may be\n\t// accomplished by disabling the default gateway or through other means.\n\tInternal bool         `protobuf:\"varint,4,opt,name=internal,proto3\" json:\"internal,omitempty\"`\n\tIPAM     *IPAMOptions `protobuf:\"bytes,5,opt,name=ipam\" json:\"ipam,omitempty\"`\n}\n```\nNetworkSpec specifies user defined network parameters.\n\n```go\nfunc (m *NetworkSpec) Copy() *NetworkSpec\n```\n\n```go\nfunc (*NetworkSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NetworkSpec) GoString() string\n```\n\n```go\nfunc (m *NetworkSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NetworkSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NetworkSpec) ProtoMessage()\n```\n\n```go\nfunc (m *NetworkSpec) Reset()\n```\n\n```go\nfunc (m *NetworkSpec) Size() (n int)\n```\n\n```go\nfunc (this *NetworkSpec) String() string\n```\n\n```go\nfunc (m *NetworkSpec) Unmarshal(data []byte) error\n```\n\n```go\ntype Node struct {\n\t// ID specifies the identity of the node.\n\tID   string `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tMeta Meta   `protobuf:\"bytes,2,opt,name=meta\" json:\"meta\"`\n\t// Spec defines the desired state of the node as specified by the user.\n\t// The system will honor this and will *never* modify it.\n\tSpec NodeSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec\"`\n\t// Description encapsulated the properties of the Node as reported by the\n\t// agent.\n\tDescription *NodeDescription `protobuf:\"bytes,4,opt,name=description\" json:\"description,omitempty\"`\n\t// Status provides the current status of the node, as seen by the manager.\n\tStatus NodeStatus `protobuf:\"bytes,5,opt,name=status\" json:\"status\"`\n\t// ManagerStatus provides the current status of the node's manager\n\t// component, if the node is a manager.\n\tManagerStatus *ManagerStatus `protobuf:\"bytes,6,opt,name=manager_status,json=managerStatus\" json:\"manager_status,omitempty\"`\n\t// The node attachment to the ingress network.\n\tAttachment *NetworkAttachment `protobuf:\"bytes,7,opt,name=attachment\" json:\"attachment,omitempty\"`\n\t// Certificate is the TLS certificate issued for the node, if any.\n\tCertificate Certificate `protobuf:\"bytes,8,opt,name=certificate\" json:\"certificate\"`\n}\n```\nNode provides the internal node state as seen by the cluster.\n\n```go\nfunc (m *Node) Copy() *Node\n```\n\n```go\nfunc (*Node) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Node) GoString() string\n```\n\n```go\nfunc (m *Node) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Node) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Node) ProtoMessage()\n```\n\n```go\nfunc (m *Node) Reset()\n```\n\n```go\nfunc (m *Node) Size() (n int)\n```\n\n```go\nfunc (this *Node) String() string\n```\n\n```go\nfunc (m *Node) Unmarshal(data []byte) error\n```\n\n```go\ntype NodeCAClient interface {\n\tIssueNodeCertificate(ctx context.Context, in *IssueNodeCertificateRequest, opts ...grpc.CallOption) (*IssueNodeCertificateResponse, error)\n\tNodeCertificateStatus(ctx context.Context, in *NodeCertificateStatusRequest, opts ...grpc.CallOption) (*NodeCertificateStatusResponse, error)\n}\n```\n\n```go\nfunc NewNodeCAClient(cc *grpc.ClientConn) NodeCAClient\n```\n\n```go\ntype NodeCAServer interface {\n\tIssueNodeCertificate(context.Context, *IssueNodeCertificateRequest) (*IssueNodeCertificateResponse, error)\n\tNodeCertificateStatus(context.Context, *NodeCertificateStatusRequest) (*NodeCertificateStatusResponse, error)\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperNodeCAServer(local NodeCAServer, authorize func(context.Context, []string) error) NodeCAServer\n```\n\n```go\nfunc NewRaftProxyNodeCAServer(local NodeCAServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) NodeCAServer\n```\n\n```go\ntype NodeCertificateStatusRequest struct {\n\tNodeID string `protobuf:\"bytes,1,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *NodeCertificateStatusRequest) Copy() *NodeCertificateStatusRequest\n```\n\n```go\nfunc (*NodeCertificateStatusRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NodeCertificateStatusRequest) GoString() string\n```\n\n```go\nfunc (m *NodeCertificateStatusRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NodeCertificateStatusRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NodeCertificateStatusRequest) ProtoMessage()\n```\n\n```go\nfunc (m *NodeCertificateStatusRequest) Reset()\n```\n\n```go\nfunc (m *NodeCertificateStatusRequest) Size() (n int)\n```\n\n```go\nfunc (this *NodeCertificateStatusRequest) String() string\n```\n\n```go\nfunc (m *NodeCertificateStatusRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype NodeCertificateStatusResponse struct {\n\tStatus      *IssuanceStatus `protobuf:\"bytes,1,opt,name=status\" json:\"status,omitempty\"`\n\tCertificate *Certificate    `protobuf:\"bytes,2,opt,name=certificate\" json:\"certificate,omitempty\"`\n}\n```\n\n```go\nfunc (m *NodeCertificateStatusResponse) Copy() *NodeCertificateStatusResponse\n```\n\n```go\nfunc (*NodeCertificateStatusResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NodeCertificateStatusResponse) GoString() string\n```\n\n```go\nfunc (m *NodeCertificateStatusResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NodeCertificateStatusResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NodeCertificateStatusResponse) ProtoMessage()\n```\n\n```go\nfunc (m *NodeCertificateStatusResponse) Reset()\n```\n\n```go\nfunc (m *NodeCertificateStatusResponse) Size() (n int)\n```\n\n```go\nfunc (this *NodeCertificateStatusResponse) String() string\n```\n\n```go\nfunc (m *NodeCertificateStatusResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype NodeDescription struct {\n\t// Hostname of the node as reported by the agent.\n\t// This is different from spec.meta.name which is user-defined.\n\tHostname string `protobuf:\"bytes,1,opt,name=hostname,proto3\" json:\"hostname,omitempty\"`\n\t// Platform of the node.\n\tPlatform *Platform `protobuf:\"bytes,2,opt,name=platform\" json:\"platform,omitempty\"`\n\t// Total resources on the node.\n\tResources *Resources `protobuf:\"bytes,3,opt,name=resources\" json:\"resources,omitempty\"`\n\t// Information about the Docker Engine on the node.\n\tEngine *EngineDescription `protobuf:\"bytes,4,opt,name=engine\" json:\"engine,omitempty\"`\n}\n```\n\n```go\nfunc (m *NodeDescription) Copy() *NodeDescription\n```\n\n```go\nfunc (*NodeDescription) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NodeDescription) GoString() string\n```\n\n```go\nfunc (m *NodeDescription) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NodeDescription) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NodeDescription) ProtoMessage()\n```\n\n```go\nfunc (m *NodeDescription) Reset()\n```\n\n```go\nfunc (m *NodeDescription) Size() (n int)\n```\n\n```go\nfunc (this *NodeDescription) String() string\n```\n\n```go\nfunc (m *NodeDescription) Unmarshal(data []byte) error\n```\n\n```go\ntype NodeRole int32\n```\n\n```go\nconst (\n\tNodeRoleWorker  NodeRole = 0\n\tNodeRoleManager NodeRole = 1\n)\n```\n\n```go\nfunc (NodeRole) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x NodeRole) String() string\n```\n\n```go\ntype NodeSpec struct {\n\tAnnotations Annotations `protobuf:\"bytes,1,opt,name=annotations\" json:\"annotations\"`\n\t// Role defines the role the node should have.\n\tRole NodeRole `protobuf:\"varint,2,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole\" json:\"role,omitempty\"`\n\t// Membership controls the admission of the node into the cluster.\n\tMembership NodeSpec_Membership `protobuf:\"varint,3,opt,name=membership,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership\" json:\"membership,omitempty\"`\n\t// Availability allows a user to control the current scheduling status of a\n\t// node.\n\tAvailability NodeSpec_Availability `protobuf:\"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability\" json:\"availability,omitempty\"`\n}\n```\n\n```go\nfunc (m *NodeSpec) Copy() *NodeSpec\n```\n\n```go\nfunc (*NodeSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NodeSpec) GoString() string\n```\n\n```go\nfunc (m *NodeSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NodeSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NodeSpec) ProtoMessage()\n```\n\n```go\nfunc (m *NodeSpec) Reset()\n```\n\n```go\nfunc (m *NodeSpec) Size() (n int)\n```\n\n```go\nfunc (this *NodeSpec) String() string\n```\n\n```go\nfunc (m *NodeSpec) Unmarshal(data []byte) error\n```\n\n```go\ntype NodeSpec_Availability int32\n```\n\n```go\nconst (\n\t// Active nodes.\n\tNodeAvailabilityActive NodeSpec_Availability = 0\n\t// Paused nodes won't be considered by the scheduler, preventing any\n\t// further task to run on them.\n\tNodeAvailabilityPause NodeSpec_Availability = 1\n\t// Drained nodes are paused and any task already running on them will\n\t// be evicted.\n\tNodeAvailabilityDrain NodeSpec_Availability = 2\n)\n```\n\n```go\nfunc (NodeSpec_Availability) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x NodeSpec_Availability) String() string\n```\n\n```go\ntype NodeSpec_Membership int32\n```\n\n```go\nconst (\n\tNodeMembershipPending  NodeSpec_Membership = 0\n\tNodeMembershipAccepted NodeSpec_Membership = 1\n)\n```\n\n```go\nfunc (NodeSpec_Membership) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x NodeSpec_Membership) String() string\n```\n\n```go\ntype NodeStatus struct {\n\tState   NodeStatus_State `protobuf:\"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.NodeStatus_State\" json:\"state,omitempty\"`\n\tMessage string           `protobuf:\"bytes,2,opt,name=message,proto3\" json:\"message,omitempty\"`\n}\n```\n\n```go\nfunc (m *NodeStatus) Copy() *NodeStatus\n```\n\n```go\nfunc (*NodeStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *NodeStatus) GoString() string\n```\n\n```go\nfunc (m *NodeStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *NodeStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*NodeStatus) ProtoMessage()\n```\n\n```go\nfunc (m *NodeStatus) Reset()\n```\n\n```go\nfunc (m *NodeStatus) Size() (n int)\n```\n\n```go\nfunc (this *NodeStatus) String() string\n```\n\n```go\nfunc (m *NodeStatus) Unmarshal(data []byte) error\n```\n\n```go\ntype NodeStatus_State int32\n```\nTODO(aluzzardi) These should be using \\`gogoproto.enumvalue\\_customname\\`.\n\n```go\nconst (\n\t// Unknown indicates the node state cannot be resolved.\n\tNodeStatus_UNKNOWN NodeStatus_State = 0\n\t// Down indicates the node is down.\n\tNodeStatus_DOWN NodeStatus_State = 1\n\t// Ready indicates the node is ready to accept tasks.\n\tNodeStatus_READY NodeStatus_State = 2\n\t// Disconnected indicates the node is currently trying to find new manager.\n\tNodeStatus_DISCONNECTED NodeStatus_State = 3\n)\n```\n\n```go\nfunc (NodeStatus_State) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x NodeStatus_State) String() string\n```\n\n```go\ntype OrchestrationConfig struct {\n\t// TaskHistoryRetentionLimit is the number of historic tasks to keep per instance or\n\t// node. If negative, never remove completed or failed tasks.\n\tTaskHistoryRetentionLimit int64 `protobuf:\"varint,1,opt,name=task_history_retention_limit,json=taskHistoryRetentionLimit,proto3\" json:\"task_history_retention_limit,omitempty\"`\n}\n```\nOrchestrationConfig defines cluster-level orchestration settings.\n\n```go\nfunc (m *OrchestrationConfig) Copy() *OrchestrationConfig\n```\n\n```go\nfunc (*OrchestrationConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *OrchestrationConfig) GoString() string\n```\n\n```go\nfunc (m *OrchestrationConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *OrchestrationConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*OrchestrationConfig) ProtoMessage()\n```\n\n```go\nfunc (m *OrchestrationConfig) Reset()\n```\n\n```go\nfunc (m *OrchestrationConfig) Size() (n int)\n```\n\n```go\nfunc (this *OrchestrationConfig) String() string\n```\n\n```go\nfunc (m *OrchestrationConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype Peer struct {\n\tNodeID string `protobuf:\"bytes,1,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n\tAddr   string `protobuf:\"bytes,2,opt,name=addr,proto3\" json:\"addr,omitempty\"`\n}\n```\nPeer should be used anywhere where we are describing a remote peer.\n\n```go\nfunc (m *Peer) Copy() *Peer\n```\n\n```go\nfunc (*Peer) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Peer) GoString() string\n```\n\n```go\nfunc (m *Peer) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Peer) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Peer) ProtoMessage()\n```\n\n```go\nfunc (m *Peer) Reset()\n```\n\n```go\nfunc (m *Peer) Size() (n int)\n```\n\n```go\nfunc (this *Peer) String() string\n```\n\n```go\nfunc (m *Peer) Unmarshal(data []byte) error\n```\n\n```go\ntype Placement struct {\n\t// constraints specifies a set of requirements a node should meet for a task.\n\tConstraints []string `protobuf:\"bytes,1,rep,name=constraints\" json:\"constraints,omitempty\"`\n}\n```\nPlacement specifies task distribution constraints.\n\n```go\nfunc (m *Placement) Copy() *Placement\n```\n\n```go\nfunc (*Placement) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Placement) GoString() string\n```\n\n```go\nfunc (m *Placement) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Placement) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Placement) ProtoMessage()\n```\n\n```go\nfunc (m *Placement) Reset()\n```\n\n```go\nfunc (m *Placement) Size() (n int)\n```\n\n```go\nfunc (this *Placement) String() string\n```\n\n```go\nfunc (m *Placement) Unmarshal(data []byte) error\n```\n\n```go\ntype Platform struct {\n\t// Architecture (e.g. x86_64)\n\tArchitecture string `protobuf:\"bytes,1,opt,name=architecture,proto3\" json:\"architecture,omitempty\"`\n\t// Operating System (e.g. linux)\n\tOS string `protobuf:\"bytes,2,opt,name=os,proto3\" json:\"os,omitempty\"`\n}\n```\n\n```go\nfunc (m *Platform) Copy() *Platform\n```\n\n```go\nfunc (*Platform) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Platform) GoString() string\n```\n\n```go\nfunc (m *Platform) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Platform) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Platform) ProtoMessage()\n```\n\n```go\nfunc (m *Platform) Reset()\n```\n\n```go\nfunc (m *Platform) Size() (n int)\n```\n\n```go\nfunc (this *Platform) String() string\n```\n\n```go\nfunc (m *Platform) Unmarshal(data []byte) error\n```\n\n```go\ntype PluginDescription struct {\n\t// Type of plugin. Canonical values for existing types are\n\t// Volume, Network, and Authorization. More types could be\n\t// supported in the future.\n\tType string `protobuf:\"bytes,1,opt,name=type,proto3\" json:\"type,omitempty\"`\n\t// Name of the plugin\n\tName string `protobuf:\"bytes,2,opt,name=name,proto3\" json:\"name,omitempty\"`\n}\n```\nPluginDescription describes an engine plugin.\n\n```go\nfunc (m *PluginDescription) Copy() *PluginDescription\n```\n\n```go\nfunc (*PluginDescription) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *PluginDescription) GoString() string\n```\n\n```go\nfunc (m *PluginDescription) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *PluginDescription) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*PluginDescription) ProtoMessage()\n```\n\n```go\nfunc (m *PluginDescription) Reset()\n```\n\n```go\nfunc (m *PluginDescription) Size() (n int)\n```\n\n```go\nfunc (this *PluginDescription) String() string\n```\n\n```go\nfunc (m *PluginDescription) Unmarshal(data []byte) error\n```\n\n```go\ntype PortConfig struct {\n\t// Name for the port. If provided the port information can\n\t// be queried using the name as in a DNS SRV query.\n\tName string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\t// Protocol for the port which is exposed.\n\tProtocol PortConfig_Protocol `protobuf:\"varint,2,opt,name=protocol,proto3,enum=docker.swarmkit.v1.PortConfig_Protocol\" json:\"protocol,omitempty\"`\n\t// The port which the application is exposing and is bound to.\n\tTargetPort uint32 `protobuf:\"varint,3,opt,name=target_port,json=targetPort,proto3\" json:\"target_port,omitempty\"`\n\t// PublishedPort specifies the port on which the service is\n\t// exposed. If specified, the port must be\n\t// within the available range. If not specified, an available\n\t// port is automatically assigned.\n\tPublishedPort uint32 `protobuf:\"varint,4,opt,name=published_port,json=publishedPort,proto3\" json:\"published_port,omitempty\"`\n}\n```\nPortConfig specifies an exposed port which can be addressed using the given name. This can be later queried using a service discovery api or a DNS SRV query. The node port specifies a port that can be used to address this service external to the cluster by sending a connection request to this port to any node on the cluster.\n\n```go\nfunc (m *PortConfig) Copy() *PortConfig\n```\n\n```go\nfunc (*PortConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *PortConfig) GoString() string\n```\n\n```go\nfunc (m *PortConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *PortConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*PortConfig) ProtoMessage()\n```\n\n```go\nfunc (m *PortConfig) Reset()\n```\n\n```go\nfunc (m *PortConfig) Size() (n int)\n```\n\n```go\nfunc (this *PortConfig) String() string\n```\n\n```go\nfunc (m *PortConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype PortConfig_Protocol int32\n```\n\n```go\nconst (\n\tProtocolTCP PortConfig_Protocol = 0\n\tProtocolUDP PortConfig_Protocol = 1\n)\n```\n\n```go\nfunc (PortConfig_Protocol) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x PortConfig_Protocol) String() string\n```\n\n```go\ntype ProcessRaftMessageRequest struct {\n\tMessage *raftpb.Message `protobuf:\"bytes,1,opt,name=message\" json:\"message,omitempty\"`\n}\n```\n\n```go\nfunc (*ProcessRaftMessageRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ProcessRaftMessageRequest) GoString() string\n```\n\n```go\nfunc (m *ProcessRaftMessageRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ProcessRaftMessageRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ProcessRaftMessageRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ProcessRaftMessageRequest) Reset()\n```\n\n```go\nfunc (m *ProcessRaftMessageRequest) Size() (n int)\n```\n\n```go\nfunc (this *ProcessRaftMessageRequest) String() string\n```\n\n```go\nfunc (m *ProcessRaftMessageRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ProcessRaftMessageResponse struct {\n}\n```\n\n```go\nfunc (m *ProcessRaftMessageResponse) Copy() *ProcessRaftMessageResponse\n```\n\n```go\nfunc (*ProcessRaftMessageResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ProcessRaftMessageResponse) GoString() string\n```\n\n```go\nfunc (m *ProcessRaftMessageResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ProcessRaftMessageResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ProcessRaftMessageResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ProcessRaftMessageResponse) Reset()\n```\n\n```go\nfunc (m *ProcessRaftMessageResponse) Size() (n int)\n```\n\n```go\nfunc (this *ProcessRaftMessageResponse) String() string\n```\n\n```go\nfunc (m *ProcessRaftMessageResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype RaftClient interface {\n\t// ProcessRaftMessage sends a raft message to be processed on a raft member, it is\n\t// called from the RaftMember willing to send a message to its destination ('To' field)\n\tProcessRaftMessage(ctx context.Context, in *ProcessRaftMessageRequest, opts ...grpc.CallOption) (*ProcessRaftMessageResponse, error)\n\t// ResolveAddress returns the address where the node with the given ID can be reached.\n\tResolveAddress(ctx context.Context, in *ResolveAddressRequest, opts ...grpc.CallOption) (*ResolveAddressResponse, error)\n}\n```\n\n```go\nfunc NewRaftClient(cc *grpc.ClientConn) RaftClient\n```\n\n```go\ntype RaftConfig struct {\n\t// SnapshotInterval is the number of log entries between snapshots.\n\tSnapshotInterval uint64 `protobuf:\"varint,1,opt,name=snapshot_interval,json=snapshotInterval,proto3\" json:\"snapshot_interval,omitempty\"`\n\t// KeepOldSnapshots is the number of snapshots to keep beyond the\n\t// current snapshot.\n\tKeepOldSnapshots uint64 `protobuf:\"varint,2,opt,name=keep_old_snapshots,json=keepOldSnapshots,proto3\" json:\"keep_old_snapshots,omitempty\"`\n\t// LogEntriesForSlowFollowers is the number of log entries to keep\n\t// around to sync up slow followers after a snapshot is created.\n\tLogEntriesForSlowFollowers uint64 `protobuf:\"varint,3,opt,name=log_entries_for_slow_followers,json=logEntriesForSlowFollowers,proto3\" json:\"log_entries_for_slow_followers,omitempty\"`\n\t// HeartbeatTick defines the amount of ticks (in seconds) between\n\t// each heartbeat message sent to other members for health-check.\n\tHeartbeatTick uint32 `protobuf:\"varint,4,opt,name=heartbeat_tick,json=heartbeatTick,proto3\" json:\"heartbeat_tick,omitempty\"`\n\t// ElectionTick defines the amount of ticks (in seconds) needed\n\t// without a leader to trigger a new election.\n\tElectionTick uint32 `protobuf:\"varint,5,opt,name=election_tick,json=electionTick,proto3\" json:\"election_tick,omitempty\"`\n}\n```\nRaftConfig defines raft settings for the cluster.\n\n```go\nfunc (m *RaftConfig) Copy() *RaftConfig\n```\n\n```go\nfunc (*RaftConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RaftConfig) GoString() string\n```\n\n```go\nfunc (m *RaftConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RaftConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RaftConfig) ProtoMessage()\n```\n\n```go\nfunc (m *RaftConfig) Reset()\n```\n\n```go\nfunc (m *RaftConfig) Size() (n int)\n```\n\n```go\nfunc (this *RaftConfig) String() string\n```\n\n```go\nfunc (m *RaftConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype RaftMember struct {\n\t// RaftID specifies the internal ID used by the manager in a raft context, it can never be modified\n\t// and is used only for information purposes\n\tRaftID uint64 `protobuf:\"varint,1,opt,name=raft_id,json=raftId,proto3\" json:\"raft_id,omitempty\"`\n\t// NodeID is the node's ID.\n\tNodeID string `protobuf:\"bytes,2,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n\t// Addr specifies the address of the member\n\tAddr string `protobuf:\"bytes,3,opt,name=addr,proto3\" json:\"addr,omitempty\"`\n\t// Status provides the current status of the manager from the perspective of another manager.\n\tStatus RaftMemberStatus `protobuf:\"bytes,4,opt,name=status\" json:\"status\"`\n}\n```\n\n```go\nfunc (m *RaftMember) Copy() *RaftMember\n```\n\n```go\nfunc (*RaftMember) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RaftMember) GoString() string\n```\n\n```go\nfunc (m *RaftMember) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RaftMember) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RaftMember) ProtoMessage()\n```\n\n```go\nfunc (m *RaftMember) Reset()\n```\n\n```go\nfunc (m *RaftMember) Size() (n int)\n```\n\n```go\nfunc (this *RaftMember) String() string\n```\n\n```go\nfunc (m *RaftMember) Unmarshal(data []byte) error\n```\n\n```go\ntype RaftMemberStatus struct {\n\tLeader       bool                          `protobuf:\"varint,1,opt,name=leader,proto3\" json:\"leader,omitempty\"`\n\tReachability RaftMemberStatus_Reachability `protobuf:\"varint,2,opt,name=reachability,proto3,enum=docker.swarmkit.v1.RaftMemberStatus_Reachability\" json:\"reachability,omitempty\"`\n\tMessage      string                        `protobuf:\"bytes,3,opt,name=message,proto3\" json:\"message,omitempty\"`\n}\n```\n\n```go\nfunc (m *RaftMemberStatus) Copy() *RaftMemberStatus\n```\n\n```go\nfunc (*RaftMemberStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RaftMemberStatus) GoString() string\n```\n\n```go\nfunc (m *RaftMemberStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RaftMemberStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RaftMemberStatus) ProtoMessage()\n```\n\n```go\nfunc (m *RaftMemberStatus) Reset()\n```\n\n```go\nfunc (m *RaftMemberStatus) Size() (n int)\n```\n\n```go\nfunc (this *RaftMemberStatus) String() string\n```\n\n```go\nfunc (m *RaftMemberStatus) Unmarshal(data []byte) error\n```\n\n```go\ntype RaftMemberStatus_Reachability int32\n```\n\n```go\nconst (\n\t// Unknown indicates that the manager state cannot be resolved\n\tRaftMemberStatus_UNKNOWN RaftMemberStatus_Reachability = 0\n\t// Unreachable indicates that the node cannot be contacted by other\n\t// raft cluster members.\n\tRaftMemberStatus_UNREACHABLE RaftMemberStatus_Reachability = 1\n\t// Reachable indicates that the node is healthy and reachable\n\t// by other members.\n\tRaftMemberStatus_REACHABLE RaftMemberStatus_Reachability = 2\n)\n```\n\n```go\nfunc (RaftMemberStatus_Reachability) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x RaftMemberStatus_Reachability) String() string\n```\n\n```go\ntype RaftMembershipClient interface {\n\t// Join adds a RaftMember to the raft cluster.\n\tJoin(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error)\n\t// Leave removes a RaftMember from the raft cluster.\n\tLeave(ctx context.Context, in *LeaveRequest, opts ...grpc.CallOption) (*LeaveResponse, error)\n}\n```\n\n```go\nfunc NewRaftMembershipClient(cc *grpc.ClientConn) RaftMembershipClient\n```\n\n```go\ntype RaftMembershipServer interface {\n\t// Join adds a RaftMember to the raft cluster.\n\tJoin(context.Context, *JoinRequest) (*JoinResponse, error)\n\t// Leave removes a RaftMember from the raft cluster.\n\tLeave(context.Context, *LeaveRequest) (*LeaveResponse, error)\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperRaftMembershipServer(local RaftMembershipServer, authorize func(context.Context, []string) error) RaftMembershipServer\n```\n\n```go\nfunc NewRaftProxyRaftMembershipServer(local RaftMembershipServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) RaftMembershipServer\n```\n\n```go\ntype RaftServer interface {\n\t// ProcessRaftMessage sends a raft message to be processed on a raft member, it is\n\t// called from the RaftMember willing to send a message to its destination ('To' field)\n\tProcessRaftMessage(context.Context, *ProcessRaftMessageRequest) (*ProcessRaftMessageResponse, error)\n\t// ResolveAddress returns the address where the node with the given ID can be reached.\n\tResolveAddress(context.Context, *ResolveAddressRequest) (*ResolveAddressResponse, error)\n}\n```\n\n```go\nfunc NewAuthenticatedWrapperRaftServer(local RaftServer, authorize func(context.Context, []string) error) RaftServer\n```\n\n```go\nfunc NewRaftProxyRaftServer(local RaftServer, connSelector *raftpicker.ConnSelector, cluster raftpicker.RaftCluster, ctxMod func(context.Context) (context.Context, error)) RaftServer\n```\n\n```go\ntype RemoveNetworkRequest struct {\n\tName      string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tNetworkID string `protobuf:\"bytes,2,opt,name=network_id,json=networkId,proto3\" json:\"network_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *RemoveNetworkRequest) Copy() *RemoveNetworkRequest\n```\n\n```go\nfunc (*RemoveNetworkRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveNetworkRequest) GoString() string\n```\n\n```go\nfunc (m *RemoveNetworkRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveNetworkRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveNetworkRequest) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveNetworkRequest) Reset()\n```\n\n```go\nfunc (m *RemoveNetworkRequest) Size() (n int)\n```\n\n```go\nfunc (this *RemoveNetworkRequest) String() string\n```\n\n```go\nfunc (m *RemoveNetworkRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveNetworkResponse struct {\n}\n```\n\n```go\nfunc (m *RemoveNetworkResponse) Copy() *RemoveNetworkResponse\n```\n\n```go\nfunc (*RemoveNetworkResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveNetworkResponse) GoString() string\n```\n\n```go\nfunc (m *RemoveNetworkResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveNetworkResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveNetworkResponse) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveNetworkResponse) Reset()\n```\n\n```go\nfunc (m *RemoveNetworkResponse) Size() (n int)\n```\n\n```go\nfunc (this *RemoveNetworkResponse) String() string\n```\n\n```go\nfunc (m *RemoveNetworkResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveNodeRequest struct {\n\tNodeID string `protobuf:\"bytes,1,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n}\n```\nRemoveNodeRequest requests to delete the specified node from store.\n\n```go\nfunc (m *RemoveNodeRequest) Copy() *RemoveNodeRequest\n```\n\n```go\nfunc (*RemoveNodeRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveNodeRequest) GoString() string\n```\n\n```go\nfunc (m *RemoveNodeRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveNodeRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveNodeRequest) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveNodeRequest) Reset()\n```\n\n```go\nfunc (m *RemoveNodeRequest) Size() (n int)\n```\n\n```go\nfunc (this *RemoveNodeRequest) String() string\n```\n\n```go\nfunc (m *RemoveNodeRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveNodeResponse struct {\n}\n```\n\n```go\nfunc (m *RemoveNodeResponse) Copy() *RemoveNodeResponse\n```\n\n```go\nfunc (*RemoveNodeResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveNodeResponse) GoString() string\n```\n\n```go\nfunc (m *RemoveNodeResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveNodeResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveNodeResponse) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveNodeResponse) Reset()\n```\n\n```go\nfunc (m *RemoveNodeResponse) Size() (n int)\n```\n\n```go\nfunc (this *RemoveNodeResponse) String() string\n```\n\n```go\nfunc (m *RemoveNodeResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveServiceRequest struct {\n\tServiceID string `protobuf:\"bytes,1,opt,name=service_id,json=serviceId,proto3\" json:\"service_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *RemoveServiceRequest) Copy() *RemoveServiceRequest\n```\n\n```go\nfunc (*RemoveServiceRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveServiceRequest) GoString() string\n```\n\n```go\nfunc (m *RemoveServiceRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveServiceRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveServiceRequest) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveServiceRequest) Reset()\n```\n\n```go\nfunc (m *RemoveServiceRequest) Size() (n int)\n```\n\n```go\nfunc (this *RemoveServiceRequest) String() string\n```\n\n```go\nfunc (m *RemoveServiceRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveServiceResponse struct {\n}\n```\n\n```go\nfunc (m *RemoveServiceResponse) Copy() *RemoveServiceResponse\n```\n\n```go\nfunc (*RemoveServiceResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveServiceResponse) GoString() string\n```\n\n```go\nfunc (m *RemoveServiceResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveServiceResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveServiceResponse) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveServiceResponse) Reset()\n```\n\n```go\nfunc (m *RemoveServiceResponse) Size() (n int)\n```\n\n```go\nfunc (this *RemoveServiceResponse) String() string\n```\n\n```go\nfunc (m *RemoveServiceResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveTaskRequest struct {\n\tTaskID string `protobuf:\"bytes,1,opt,name=task_id,json=taskId,proto3\" json:\"task_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *RemoveTaskRequest) Copy() *RemoveTaskRequest\n```\n\n```go\nfunc (*RemoveTaskRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveTaskRequest) GoString() string\n```\n\n```go\nfunc (m *RemoveTaskRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveTaskRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveTaskRequest) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveTaskRequest) Reset()\n```\n\n```go\nfunc (m *RemoveTaskRequest) Size() (n int)\n```\n\n```go\nfunc (this *RemoveTaskRequest) String() string\n```\n\n```go\nfunc (m *RemoveTaskRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype RemoveTaskResponse struct {\n}\n```\n\n```go\nfunc (m *RemoveTaskResponse) Copy() *RemoveTaskResponse\n```\n\n```go\nfunc (*RemoveTaskResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RemoveTaskResponse) GoString() string\n```\n\n```go\nfunc (m *RemoveTaskResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RemoveTaskResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RemoveTaskResponse) ProtoMessage()\n```\n\n```go\nfunc (m *RemoveTaskResponse) Reset()\n```\n\n```go\nfunc (m *RemoveTaskResponse) Size() (n int)\n```\n\n```go\nfunc (this *RemoveTaskResponse) String() string\n```\n\n```go\nfunc (m *RemoveTaskResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ReplicatedService struct {\n\tReplicas uint64 `protobuf:\"varint,1,opt,name=replicas,proto3\" json:\"replicas,omitempty\"`\n}\n```\nReplicatedService sets the reconciliation target to certain number of replicas.\n\n```go\nfunc (m *ReplicatedService) Copy() *ReplicatedService\n```\n\n```go\nfunc (*ReplicatedService) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ReplicatedService) GoString() string\n```\n\n```go\nfunc (m *ReplicatedService) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ReplicatedService) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ReplicatedService) ProtoMessage()\n```\n\n```go\nfunc (m *ReplicatedService) Reset()\n```\n\n```go\nfunc (m *ReplicatedService) Size() (n int)\n```\n\n```go\nfunc (this *ReplicatedService) String() string\n```\n\n```go\nfunc (m *ReplicatedService) Unmarshal(data []byte) error\n```\n\n```go\ntype ResolveAddressRequest struct {\n\t// raft_id is the ID to resolve to an address.\n\tRaftID uint64 `protobuf:\"varint,1,opt,name=raft_id,json=raftId,proto3\" json:\"raft_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *ResolveAddressRequest) Copy() *ResolveAddressRequest\n```\n\n```go\nfunc (*ResolveAddressRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ResolveAddressRequest) GoString() string\n```\n\n```go\nfunc (m *ResolveAddressRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ResolveAddressRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ResolveAddressRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ResolveAddressRequest) Reset()\n```\n\n```go\nfunc (m *ResolveAddressRequest) Size() (n int)\n```\n\n```go\nfunc (this *ResolveAddressRequest) String() string\n```\n\n```go\nfunc (m *ResolveAddressRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype ResolveAddressResponse struct {\n\t// Addr specifies the address of the member\n\tAddr string `protobuf:\"bytes,1,opt,name=addr,proto3\" json:\"addr,omitempty\"`\n}\n```\n\n```go\nfunc (m *ResolveAddressResponse) Copy() *ResolveAddressResponse\n```\n\n```go\nfunc (*ResolveAddressResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ResolveAddressResponse) GoString() string\n```\n\n```go\nfunc (m *ResolveAddressResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ResolveAddressResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ResolveAddressResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ResolveAddressResponse) Reset()\n```\n\n```go\nfunc (m *ResolveAddressResponse) Size() (n int)\n```\n\n```go\nfunc (this *ResolveAddressResponse) String() string\n```\n\n```go\nfunc (m *ResolveAddressResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype ResourceRequirements struct {\n\tLimits       *Resources `protobuf:\"bytes,1,opt,name=limits\" json:\"limits,omitempty\"`\n\tReservations *Resources `protobuf:\"bytes,2,opt,name=reservations\" json:\"reservations,omitempty\"`\n}\n```\n\n```go\nfunc (m *ResourceRequirements) Copy() *ResourceRequirements\n```\n\n```go\nfunc (*ResourceRequirements) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ResourceRequirements) GoString() string\n```\n\n```go\nfunc (m *ResourceRequirements) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ResourceRequirements) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ResourceRequirements) ProtoMessage()\n```\n\n```go\nfunc (m *ResourceRequirements) Reset()\n```\n\n```go\nfunc (m *ResourceRequirements) Size() (n int)\n```\n\n```go\nfunc (this *ResourceRequirements) String() string\n```\n\n```go\nfunc (m *ResourceRequirements) Unmarshal(data []byte) error\n```\n\n```go\ntype Resources struct {\n\t// Amount of CPUs (e.g. 2000000000 = 2 CPU cores)\n\tNanoCPUs int64 `protobuf:\"varint,1,opt,name=nano_cpus,json=nanoCpus,proto3\" json:\"nano_cpus,omitempty\"`\n\t// Amount of memory in bytes.\n\tMemoryBytes int64 `protobuf:\"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3\" json:\"memory_bytes,omitempty\"`\n}\n```\n\n```go\nfunc (m *Resources) Copy() *Resources\n```\n\n```go\nfunc (*Resources) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Resources) GoString() string\n```\n\n```go\nfunc (m *Resources) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Resources) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Resources) ProtoMessage()\n```\n\n```go\nfunc (m *Resources) Reset()\n```\n\n```go\nfunc (m *Resources) Size() (n int)\n```\n\n```go\nfunc (this *Resources) String() string\n```\n\n```go\nfunc (m *Resources) Unmarshal(data []byte) error\n```\n\n```go\ntype RestartPolicy struct {\n\tCondition RestartPolicy_RestartCondition `protobuf:\"varint,1,opt,name=condition,proto3,enum=docker.swarmkit.v1.RestartPolicy_RestartCondition\" json:\"condition,omitempty\"`\n\t// Delay between restart attempts\n\tDelay *docker_swarmkit_v11.Duration `protobuf:\"bytes,2,opt,name=delay\" json:\"delay,omitempty\"`\n\t// MaxAttempts is the maximum number of restarts to attempt on an\n\t// instance before giving up. Ignored if 0.\n\tMaxAttempts uint64 `protobuf:\"varint,3,opt,name=max_attempts,json=maxAttempts,proto3\" json:\"max_attempts,omitempty\"`\n\t// Window is the time window used to evaluate the restart policy.\n\t// The time window is unbounded if this is 0.\n\tWindow *docker_swarmkit_v11.Duration `protobuf:\"bytes,4,opt,name=window\" json:\"window,omitempty\"`\n}\n```\n\n```go\nfunc (m *RestartPolicy) Copy() *RestartPolicy\n```\n\n```go\nfunc (*RestartPolicy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RestartPolicy) GoString() string\n```\n\n```go\nfunc (m *RestartPolicy) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RestartPolicy) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RestartPolicy) ProtoMessage()\n```\n\n```go\nfunc (m *RestartPolicy) Reset()\n```\n\n```go\nfunc (m *RestartPolicy) Size() (n int)\n```\n\n```go\nfunc (this *RestartPolicy) String() string\n```\n\n```go\nfunc (m *RestartPolicy) Unmarshal(data []byte) error\n```\n\n```go\ntype RestartPolicy_RestartCondition int32\n```\n\n```go\nconst (\n\tRestartOnNone    RestartPolicy_RestartCondition = 0\n\tRestartOnFailure RestartPolicy_RestartCondition = 1\n\tRestartOnAny     RestartPolicy_RestartCondition = 2\n)\n```\n\n```go\nfunc (RestartPolicy_RestartCondition) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x RestartPolicy_RestartCondition) String() string\n```\n\n```go\ntype RootCA struct {\n\t// CAKey is the root CA private key.\n\tCAKey []byte `protobuf:\"bytes,1,opt,name=ca_key,json=caKey,proto3\" json:\"ca_key,omitempty\"`\n\t// CACert is the root CA certificate.\n\tCACert []byte `protobuf:\"bytes,2,opt,name=ca_cert,json=caCert,proto3\" json:\"ca_cert,omitempty\"`\n\t// CACertHash is the digest of the CA Certificate.\n\tCACertHash string `protobuf:\"bytes,3,opt,name=ca_cert_hash,json=caCertHash,proto3\" json:\"ca_cert_hash,omitempty\"`\n\t// JoinTokens contains the join tokens for workers and managers.\n\tJoinTokens JoinTokens `protobuf:\"bytes,4,opt,name=join_tokens,json=joinTokens\" json:\"join_tokens\"`\n}\n```\n\n```go\nfunc (m *RootCA) Copy() *RootCA\n```\n\n```go\nfunc (*RootCA) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *RootCA) GoString() string\n```\n\n```go\nfunc (m *RootCA) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RootCA) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RootCA) ProtoMessage()\n```\n\n```go\nfunc (m *RootCA) Reset()\n```\n\n```go\nfunc (m *RootCA) Size() (n int)\n```\n\n```go\nfunc (this *RootCA) String() string\n```\n\n```go\nfunc (m *RootCA) Unmarshal(data []byte) error\n```\n\n```go\ntype Service struct {\n\tID   string      `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tMeta Meta        `protobuf:\"bytes,2,opt,name=meta\" json:\"meta\"`\n\tSpec ServiceSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec\"`\n\t// Runtime state of service endpoint. This may be different\n\t// from the spec version because the user may not have entered\n\t// the optional fields like node_port or virtual_ip and it\n\t// could be auto allocated by the system.\n\tEndpoint *Endpoint `protobuf:\"bytes,4,opt,name=endpoint\" json:\"endpoint,omitempty\"`\n\t// UpdateStatus contains the status of an update, if one is in\n\t// progress.\n\tUpdateStatus *UpdateStatus `protobuf:\"bytes,5,opt,name=update_status,json=updateStatus\" json:\"update_status,omitempty\"`\n}\n```\n\n```go\nfunc (m *Service) Copy() *Service\n```\n\n```go\nfunc (*Service) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Service) GoString() string\n```\n\n```go\nfunc (m *Service) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Service) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Service) ProtoMessage()\n```\n\n```go\nfunc (m *Service) Reset()\n```\n\n```go\nfunc (m *Service) Size() (n int)\n```\n\n```go\nfunc (this *Service) String() string\n```\n\n```go\nfunc (m *Service) Unmarshal(data []byte) error\n```\n\n```go\ntype ServiceSpec struct {\n\tAnnotations Annotations `protobuf:\"bytes,1,opt,name=annotations\" json:\"annotations\"`\n\t// Task defines the task template this service will spawn.\n\tTask TaskSpec `protobuf:\"bytes,2,opt,name=task\" json:\"task\"`\n\t// Types that are valid to be assigned to Mode:\n\t//\t*ServiceSpec_Replicated\n\t//\t*ServiceSpec_Global\n\tMode isServiceSpec_Mode `protobuf_oneof:\"mode\"`\n\t// UpdateConfig controls the rate and policy of updates.\n\tUpdate   *UpdateConfig                          `protobuf:\"bytes,6,opt,name=update\" json:\"update,omitempty\"`\n\tNetworks []*ServiceSpec_NetworkAttachmentConfig `protobuf:\"bytes,7,rep,name=networks\" json:\"networks,omitempty\"`\n\t// Service endpoint specifies the user provided configuration\n\t// to properly discover and load balance a service.\n\tEndpoint *EndpointSpec `protobuf:\"bytes,8,opt,name=endpoint\" json:\"endpoint,omitempty\"`\n}\n```\nServiceSpec defines the properties of a service.\n\nA service instructs the cluster in orchestrating repeated instances of a template, implemented as tasks. Based on the number of instances, scheduling strategy and restart policy, a number of application-level behaviors can be defined.\n\n```go\nfunc (m *ServiceSpec) Copy() *ServiceSpec\n```\n\n```go\nfunc (*ServiceSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ServiceSpec) GetGlobal() *GlobalService\n```\n\n```go\nfunc (m *ServiceSpec) GetMode() isServiceSpec_Mode\n```\n\n```go\nfunc (m *ServiceSpec) GetReplicated() *ReplicatedService\n```\n\n```go\nfunc (this *ServiceSpec) GoString() string\n```\n\n```go\nfunc (m *ServiceSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ServiceSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ServiceSpec) ProtoMessage()\n```\n\n```go\nfunc (m *ServiceSpec) Reset()\n```\n\n```go\nfunc (m *ServiceSpec) Size() (n int)\n```\n\n```go\nfunc (this *ServiceSpec) String() string\n```\n\n```go\nfunc (m *ServiceSpec) Unmarshal(data []byte) error\n```\n\n```go\nfunc (*ServiceSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\ntype ServiceSpec_Global struct {\n\tGlobal *GlobalService `protobuf:\"bytes,4,opt,name=global,oneof\"`\n}\n```\n\n```go\nfunc (this *ServiceSpec_Global) GoString() string\n```\n\n```go\nfunc (m *ServiceSpec_Global) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *ServiceSpec_Global) Size() (n int)\n```\n\n```go\nfunc (this *ServiceSpec_Global) String() string\n```\n\n```go\ntype ServiceSpec_NetworkAttachmentConfig struct {\n\t// Target specifies the target network for attachment. This value may be a\n\t// network name or identifier. Only identifiers are supported at this time.\n\tTarget string `protobuf:\"bytes,1,opt,name=target,proto3\" json:\"target,omitempty\"`\n\t// Aliases specifies a list of discoverable alternate names for the service on this Target.\n\tAliases []string `protobuf:\"bytes,2,rep,name=aliases\" json:\"aliases,omitempty\"`\n}\n```\nNetworkAttachmentConfig specifies how a service should be attached to a particular network.\n\nFor now, this is a simple struct, but this can include future information instructing Swarm on how this service should work on the particular network.\n\n```go\nfunc (m *ServiceSpec_NetworkAttachmentConfig) Copy() *ServiceSpec_NetworkAttachmentConfig\n```\n\n```go\nfunc (*ServiceSpec_NetworkAttachmentConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *ServiceSpec_NetworkAttachmentConfig) GoString() string\n```\n\n```go\nfunc (m *ServiceSpec_NetworkAttachmentConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ServiceSpec_NetworkAttachmentConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ServiceSpec_NetworkAttachmentConfig) ProtoMessage()\n```\n\n```go\nfunc (m *ServiceSpec_NetworkAttachmentConfig) Reset()\n```\n\n```go\nfunc (m *ServiceSpec_NetworkAttachmentConfig) Size() (n int)\n```\n\n```go\nfunc (this *ServiceSpec_NetworkAttachmentConfig) String() string\n```\n\n```go\nfunc (m *ServiceSpec_NetworkAttachmentConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype ServiceSpec_Replicated struct {\n\tReplicated *ReplicatedService `protobuf:\"bytes,3,opt,name=replicated,oneof\"`\n}\n```\n\n```go\nfunc (this *ServiceSpec_Replicated) GoString() string\n```\n\n```go\nfunc (m *ServiceSpec_Replicated) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *ServiceSpec_Replicated) Size() (n int)\n```\n\n```go\nfunc (this *ServiceSpec_Replicated) String() string\n```\n\n```go\ntype SessionMessage struct {\n\t// SessionID is allocated after a successful registration. It should be\n\t// used on all RPC calls after registration. A dispatcher may choose to\n\t// change the SessionID, at which time an agent must re-register and obtain\n\t// a new one.\n\t//\n\t// All Dispatcher calls after register should include the SessionID. If the\n\t// Dispatcher so chooses, it may reject the call with an InvalidArgument\n\t// error code, at which time the agent should call Register to start a new\n\t// session.\n\t//\n\t// As a rule, once an agent has a SessionID, it should never save it to\n\t// disk or try to otherwise reuse. If the agent loses its SessionID, it\n\t// must start a new session through a call to Register. A Dispatcher may\n\t// choose to reuse the SessionID, if it sees fit, but it is not advised.\n\t//\n\t// The actual implementation of the SessionID is Dispatcher specific and\n\t// should be treated as opaque by agents.\n\t//\n\t// From a Dispatcher perspective, there are many ways to use the SessionID\n\t// to ensure uniqueness of a set of client RPC calls. One method is to keep\n\t// the SessionID unique to every call to Register in a single Dispatcher\n\t// instance. This ensures that the SessionID represents the unique\n\t// session from a single Agent to Manager. If the Agent restarts, we\n\t// allocate a new session, since the restarted Agent is not aware of the\n\t// new SessionID.\n\t//\n\t// The most compelling use case is to support duplicate node detection. If\n\t// one clones a virtual machine, including certificate material, two nodes\n\t// may end up with the same identity. This can also happen if two identical\n\t// agent processes are coming from the same node. If the SessionID is\n\t// replicated through the cluster, we can immediately detect the condition\n\t// and address it.\n\t//\n\t// Extending from the case above, we can actually detect a compromised\n\t// identity. Coupled with provisions to rebuild node identity, we can ban\n\t// the compromised node identity and have the nodes re-authenticate and\n\t// build a new identity. At this time, an administrator can then\n\t// re-authorize the compromised nodes, if it was a mistake or ensure that a\n\t// misbehaved node can no longer connect to the cluster.\n\t//\n\t// We considered placing this field in a GRPC header. Because this is a\n\t// critical feature of the protocol, we thought it should be represented\n\t// directly in the RPC message set.\n\tSessionID string `protobuf:\"bytes,1,opt,name=session_id,json=sessionId,proto3\" json:\"session_id,omitempty\"`\n\t// Node identifies the registering node.\n\tNode *Node `protobuf:\"bytes,2,opt,name=node\" json:\"node,omitempty\"`\n\t// Managers provides a weight list of alternative dispatchers\n\tManagers []*WeightedPeer `protobuf:\"bytes,3,rep,name=managers\" json:\"managers,omitempty\"`\n\t// Symmetric encryption key distributed by the lead manager. Used by agents\n\t// for securing network bootstrapping and communication.\n\tNetworkBootstrapKeys []*EncryptionKey `protobuf:\"bytes,4,rep,name=network_bootstrap_keys,json=networkBootstrapKeys\" json:\"network_bootstrap_keys,omitempty\"`\n}\n```\nSessionMessage instructs an agent on various actions as part of the current session. An agent should act immediately on the contents.\n\n```go\nfunc (m *SessionMessage) Copy() *SessionMessage\n```\n\n```go\nfunc (*SessionMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *SessionMessage) GoString() string\n```\n\n```go\nfunc (m *SessionMessage) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *SessionMessage) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*SessionMessage) ProtoMessage()\n```\n\n```go\nfunc (m *SessionMessage) Reset()\n```\n\n```go\nfunc (m *SessionMessage) Size() (n int)\n```\n\n```go\nfunc (this *SessionMessage) String() string\n```\n\n```go\nfunc (m *SessionMessage) Unmarshal(data []byte) error\n```\n\n```go\ntype SessionRequest struct {\n\tDescription *NodeDescription `protobuf:\"bytes,1,opt,name=description\" json:\"description,omitempty\"`\n}\n```\nSessionRequest starts a session.\n\n```go\nfunc (m *SessionRequest) Copy() *SessionRequest\n```\n\n```go\nfunc (*SessionRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *SessionRequest) GoString() string\n```\n\n```go\nfunc (m *SessionRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *SessionRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*SessionRequest) ProtoMessage()\n```\n\n```go\nfunc (m *SessionRequest) Reset()\n```\n\n```go\nfunc (m *SessionRequest) Size() (n int)\n```\n\n```go\nfunc (this *SessionRequest) String() string\n```\n\n```go\nfunc (m *SessionRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype Snapshot struct {\n\tVersion    Snapshot_Version `protobuf:\"varint,1,opt,name=version,proto3,enum=docker.swarmkit.v1.Snapshot_Version\" json:\"version,omitempty\"`\n\tMembership ClusterSnapshot  `protobuf:\"bytes,2,opt,name=membership\" json:\"membership\"`\n\tStore      StoreSnapshot    `protobuf:\"bytes,3,opt,name=store\" json:\"store\"`\n}\n```\n\n```go\nfunc (m *Snapshot) Copy() *Snapshot\n```\n\n```go\nfunc (*Snapshot) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Snapshot) GoString() string\n```\n\n```go\nfunc (m *Snapshot) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Snapshot) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Snapshot) ProtoMessage()\n```\n\n```go\nfunc (m *Snapshot) Reset()\n```\n\n```go\nfunc (m *Snapshot) Size() (n int)\n```\n\n```go\nfunc (this *Snapshot) String() string\n```\n\n```go\nfunc (m *Snapshot) Unmarshal(data []byte) error\n```\n\n```go\ntype Snapshot_Version int32\n```\n\n```go\nconst (\n\t// V0 is the initial version of the StoreSnapshot message.\n\tSnapshot_V0 Snapshot_Version = 0\n)\n```\n\n```go\nfunc (Snapshot_Version) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x Snapshot_Version) String() string\n```\n\n```go\ntype StoreAction struct {\n\tAction StoreActionKind `protobuf:\"varint,1,opt,name=action,proto3,enum=docker.swarmkit.v1.StoreActionKind\" json:\"action,omitempty\"`\n\t// Types that are valid to be assigned to Target:\n\t//\t*StoreAction_Node\n\t//\t*StoreAction_Service\n\t//\t*StoreAction_Task\n\t//\t*StoreAction_Network\n\t//\t*StoreAction_Cluster\n\tTarget isStoreAction_Target `protobuf_oneof:\"target\"`\n}\n```\nStoreAction defines a taret and operation to apply on the storage system.\n\n```go\nfunc (m *StoreAction) Copy() *StoreAction\n```\n\n```go\nfunc (*StoreAction) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StoreAction) GetCluster() *Cluster\n```\n\n```go\nfunc (m *StoreAction) GetNetwork() *Network\n```\n\n```go\nfunc (m *StoreAction) GetNode() *Node\n```\n\n```go\nfunc (m *StoreAction) GetService() *Service\n```\n\n```go\nfunc (m *StoreAction) GetTarget() isStoreAction_Target\n```\n\n```go\nfunc (m *StoreAction) GetTask() *Task\n```\n\n```go\nfunc (this *StoreAction) GoString() string\n```\n\n```go\nfunc (m *StoreAction) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *StoreAction) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*StoreAction) ProtoMessage()\n```\n\n```go\nfunc (m *StoreAction) Reset()\n```\n\n```go\nfunc (m *StoreAction) Size() (n int)\n```\n\n```go\nfunc (this *StoreAction) String() string\n```\n\n```go\nfunc (m *StoreAction) Unmarshal(data []byte) error\n```\n\n```go\nfunc (*StoreAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\ntype StoreActionKind int32\n```\nStoreActionKind defines the operation to take on the store for the target of a storage action.\n\n```go\nconst (\n\tStoreActionKindUnknown StoreActionKind = 0\n\tStoreActionKindCreate  StoreActionKind = 1\n\tStoreActionKindUpdate  StoreActionKind = 2\n\tStoreActionKindRemove  StoreActionKind = 3\n)\n```\n\n```go\nfunc (StoreActionKind) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x StoreActionKind) String() string\n```\n\n```go\ntype StoreAction_Cluster struct {\n\tCluster *Cluster `protobuf:\"bytes,6,opt,name=cluster,oneof\"`\n}\n```\n\n```go\nfunc (this *StoreAction_Cluster) GoString() string\n```\n\n```go\nfunc (m *StoreAction_Cluster) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *StoreAction_Cluster) Size() (n int)\n```\n\n```go\nfunc (this *StoreAction_Cluster) String() string\n```\n\n```go\ntype StoreAction_Network struct {\n\tNetwork *Network `protobuf:\"bytes,5,opt,name=network,oneof\"`\n}\n```\n\n```go\nfunc (this *StoreAction_Network) GoString() string\n```\n\n```go\nfunc (m *StoreAction_Network) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *StoreAction_Network) Size() (n int)\n```\n\n```go\nfunc (this *StoreAction_Network) String() string\n```\n\n```go\ntype StoreAction_Node struct {\n\tNode *Node `protobuf:\"bytes,2,opt,name=node,oneof\"`\n}\n```\n\n```go\nfunc (this *StoreAction_Node) GoString() string\n```\n\n```go\nfunc (m *StoreAction_Node) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *StoreAction_Node) Size() (n int)\n```\n\n```go\nfunc (this *StoreAction_Node) String() string\n```\n\n```go\ntype StoreAction_Service struct {\n\tService *Service `protobuf:\"bytes,3,opt,name=service,oneof\"`\n}\n```\n\n```go\nfunc (this *StoreAction_Service) GoString() string\n```\n\n```go\nfunc (m *StoreAction_Service) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *StoreAction_Service) Size() (n int)\n```\n\n```go\nfunc (this *StoreAction_Service) String() string\n```\n\n```go\ntype StoreAction_Task struct {\n\tTask *Task `protobuf:\"bytes,4,opt,name=task,oneof\"`\n}\n```\n\n```go\nfunc (this *StoreAction_Task) GoString() string\n```\n\n```go\nfunc (m *StoreAction_Task) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *StoreAction_Task) Size() (n int)\n```\n\n```go\nfunc (this *StoreAction_Task) String() string\n```\n\n```go\ntype StoreSnapshot struct {\n\tNodes    []*Node    `protobuf:\"bytes,1,rep,name=nodes\" json:\"nodes,omitempty\"`\n\tServices []*Service `protobuf:\"bytes,2,rep,name=services\" json:\"services,omitempty\"`\n\tNetworks []*Network `protobuf:\"bytes,3,rep,name=networks\" json:\"networks,omitempty\"`\n\tTasks    []*Task    `protobuf:\"bytes,4,rep,name=tasks\" json:\"tasks,omitempty\"`\n\tClusters []*Cluster `protobuf:\"bytes,5,rep,name=clusters\" json:\"clusters,omitempty\"`\n}\n```\nStoreSnapshot is used to store snapshots of the store.\n\n```go\nfunc (m *StoreSnapshot) Copy() *StoreSnapshot\n```\n\n```go\nfunc (*StoreSnapshot) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *StoreSnapshot) GoString() string\n```\n\n```go\nfunc (m *StoreSnapshot) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *StoreSnapshot) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*StoreSnapshot) ProtoMessage()\n```\n\n```go\nfunc (m *StoreSnapshot) Reset()\n```\n\n```go\nfunc (m *StoreSnapshot) Size() (n int)\n```\n\n```go\nfunc (this *StoreSnapshot) String() string\n```\n\n```go\nfunc (m *StoreSnapshot) Unmarshal(data []byte) error\n```\n\n```go\ntype Task struct {\n\tID   string `protobuf:\"bytes,1,opt,name=id,proto3\" json:\"id,omitempty\"`\n\tMeta Meta   `protobuf:\"bytes,2,opt,name=meta\" json:\"meta\"`\n\t// Spec defines the desired state of the task as specified by the user.\n\t// The system will honor this and will *never* modify it.\n\tSpec TaskSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec\"`\n\t// ServiceID indicates the service under which this task is orchestrated. This\n\t// should almost always be set.\n\tServiceID string `protobuf:\"bytes,4,opt,name=service_id,json=serviceId,proto3\" json:\"service_id,omitempty\"`\n\t// Slot is the service slot number for a task.\n\t// For example, if a replicated service has replicas = 2, there will be a\n\t// task with slot = 1, and another with slot = 2.\n\tSlot uint64 `protobuf:\"varint,5,opt,name=slot,proto3\" json:\"slot,omitempty\"`\n\t// NodeID indicates the node to which the task is assigned. If this field\n\t// is empty or not set, the task is unassigned.\n\tNodeID string `protobuf:\"bytes,6,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n\t// Annotations defines the names and labels for the runtime, as set by\n\t// the cluster manager.\n\t//\n\t// As backup, if this field has an empty name, the runtime will\n\t// allocate a unique name for the actual container.\n\t//\n\t// NOTE(stevvooe): The preserves the ability for us to making naming\n\t// decisions for tasks in orchestrator, albeit, this is left empty for now.\n\tAnnotations Annotations `protobuf:\"bytes,7,opt,name=annotations\" json:\"annotations\"`\n\t// ServiceAnnotations is a direct copy of the service name and labels when\n\t// this task is created.\n\t//\n\t// Labels set here will *not* be propagated to the runtime target, such as a\n\t// container. Use labels on the runtime target for that purpose.\n\tServiceAnnotations Annotations `protobuf:\"bytes,8,opt,name=service_annotations,json=serviceAnnotations\" json:\"service_annotations\"`\n\tStatus             TaskStatus  `protobuf:\"bytes,9,opt,name=status\" json:\"status\"`\n\t// DesiredState is the target state for the task. It is set to\n\t// TaskStateRunning when a task is first created, and changed to\n\t// TaskStateShutdown if the manager wants to terminate the task. This field\n\t// is only written by the manager.\n\tDesiredState TaskState `protobuf:\"varint,10,opt,name=desired_state,json=desiredState,proto3,enum=docker.swarmkit.v1.TaskState\" json:\"desired_state,omitempty\"`\n\t// List of network attachments by the task.\n\tNetworks []*NetworkAttachment `protobuf:\"bytes,11,rep,name=networks\" json:\"networks,omitempty\"`\n\t// A copy of runtime state of service endpoint from Service\n\t// object to be distributed to agents as part of the task.\n\tEndpoint *Endpoint `protobuf:\"bytes,12,opt,name=endpoint\" json:\"endpoint,omitempty\"`\n\t// LogDriver specifies the selected log driver to use for the task. Agent\n\t// processes should always favor the value in this field.\n\t//\n\t// If present in the TaskSpec, this will be a copy of that value. The\n\t// orchestrator may choose to insert a value here, which should be honored,\n\t// such a cluster default or policy-based value.\n\t//\n\t// If not present, the daemon's default will be used.\n\tLogDriver *Driver `protobuf:\"bytes,13,opt,name=log_driver,json=logDriver\" json:\"log_driver,omitempty\"`\n}\n```\nTask specifies the parameters for implementing a Spec. A task is effectively immutable and idempotent. Once it is dispatched to a node, it will not be dispatched to another node.\n\n```go\nfunc (m *Task) Copy() *Task\n```\n\n```go\nfunc (*Task) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Task) GoString() string\n```\n\n```go\nfunc (m *Task) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Task) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Task) ProtoMessage()\n```\n\n```go\nfunc (m *Task) Reset()\n```\n\n```go\nfunc (m *Task) Size() (n int)\n```\n\n```go\nfunc (this *Task) String() string\n```\n\n```go\nfunc (m *Task) Unmarshal(data []byte) error\n```\n\n```go\ntype TaskDefaults struct {\n\t// LogDriver specifies the log driver to use for the cluster if not\n\t// specified for each task.\n\t//\n\t// If this is changed, only new tasks will pick up the new log driver.\n\t// Existing tasks will continue to use the previous default until rescheduled.\n\tLogDriver *Driver `protobuf:\"bytes,1,opt,name=log_driver,json=logDriver\" json:\"log_driver,omitempty\"`\n}\n```\nTaskDefaults specifies default values for task creation.\n\n```go\nfunc (m *TaskDefaults) Copy() *TaskDefaults\n```\n\n```go\nfunc (*TaskDefaults) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *TaskDefaults) GoString() string\n```\n\n```go\nfunc (m *TaskDefaults) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *TaskDefaults) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*TaskDefaults) ProtoMessage()\n```\n\n```go\nfunc (m *TaskDefaults) Reset()\n```\n\n```go\nfunc (m *TaskDefaults) Size() (n int)\n```\n\n```go\nfunc (this *TaskDefaults) String() string\n```\n\n```go\nfunc (m *TaskDefaults) Unmarshal(data []byte) error\n```\n\n```go\ntype TaskSpec struct {\n\t// Types that are valid to be assigned to Runtime:\n\t//\t*TaskSpec_Container\n\tRuntime isTaskSpec_Runtime `protobuf_oneof:\"runtime\"`\n\t// Resource requirements for the container.\n\tResources *ResourceRequirements `protobuf:\"bytes,2,opt,name=resources\" json:\"resources,omitempty\"`\n\t// RestartPolicy specifies what to do when a task fails or finishes.\n\tRestart *RestartPolicy `protobuf:\"bytes,4,opt,name=restart\" json:\"restart,omitempty\"`\n\t// Placement specifies node selection constraints\n\tPlacement *Placement `protobuf:\"bytes,5,opt,name=placement\" json:\"placement,omitempty\"`\n\t// LogDriver specifies the log driver to use for the task. Any runtime will\n\t// direct logs into the specified driver for the duration of the task.\n\tLogDriver *Driver `protobuf:\"bytes,6,opt,name=log_driver,json=logDriver\" json:\"log_driver,omitempty\"`\n}\n```\n\n```go\nfunc (m *TaskSpec) Copy() *TaskSpec\n```\n\n```go\nfunc (*TaskSpec) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TaskSpec) GetContainer() *ContainerSpec\n```\n\n```go\nfunc (m *TaskSpec) GetRuntime() isTaskSpec_Runtime\n```\n\n```go\nfunc (this *TaskSpec) GoString() string\n```\n\n```go\nfunc (m *TaskSpec) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *TaskSpec) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*TaskSpec) ProtoMessage()\n```\n\n```go\nfunc (m *TaskSpec) Reset()\n```\n\n```go\nfunc (m *TaskSpec) Size() (n int)\n```\n\n```go\nfunc (this *TaskSpec) String() string\n```\n\n```go\nfunc (m *TaskSpec) Unmarshal(data []byte) error\n```\n\n```go\nfunc (*TaskSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\ntype TaskSpec_Container struct {\n\tContainer *ContainerSpec `protobuf:\"bytes,1,opt,name=container,oneof\"`\n}\n```\n\n```go\nfunc (this *TaskSpec_Container) GoString() string\n```\n\n```go\nfunc (m *TaskSpec_Container) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *TaskSpec_Container) Size() (n int)\n```\n\n```go\nfunc (this *TaskSpec_Container) String() string\n```\n\n```go\ntype TaskState int32\n```\nTaskState enumerates the states that a task progresses through within an agent. States are designed to be monotonically increasing, such that if two states are seen by a task, the greater of the new represents the true state.\n\n```go\nconst (\n\tTaskStateNew       TaskState = 0\n\tTaskStateAllocated TaskState = 64\n\tTaskStatePending   TaskState = 128\n\tTaskStateAssigned  TaskState = 192\n\tTaskStateAccepted  TaskState = 256\n\tTaskStatePreparing TaskState = 320\n\tTaskStateReady     TaskState = 384\n\tTaskStateStarting  TaskState = 448\n\tTaskStateRunning   TaskState = 512\n\tTaskStateCompleted TaskState = 576\n\tTaskStateShutdown  TaskState = 640\n\tTaskStateFailed    TaskState = 704\n\tTaskStateRejected  TaskState = 768\n)\n```\n\n```go\nfunc (TaskState) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x TaskState) String() string\n```\n\n```go\ntype TaskStatus struct {\n\tTimestamp *docker_swarmkit_v1.Timestamp `protobuf:\"bytes,1,opt,name=timestamp\" json:\"timestamp,omitempty\"`\n\t// State expresses the current state of the task.\n\tState TaskState `protobuf:\"varint,2,opt,name=state,proto3,enum=docker.swarmkit.v1.TaskState\" json:\"state,omitempty\"`\n\t// Message reports a message for the task status. This should provide a\n\t// human readable message that can point to how the task actually arrived\n\t// at a current state.\n\t//\n\t// As a convention, we place the a small message here that led to the\n\t// current state. For example, if the task is in ready, because it was\n\t// prepared, we'd place \"prepared\" in this field. If we skipped preparation\n\t// because the task is prepared, we would put \"already prepared\" in this\n\t// field.\n\tMessage string `protobuf:\"bytes,3,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// Err is set if the task is in an error state.\n\t//\n\t// The following states should report a companion error:\n\t//\n\t// \tFAILED, REJECTED\n\t//\n\t// TODO(stevvooe) Integrate this field with the error interface.\n\tErr string `protobuf:\"bytes,4,opt,name=err,proto3\" json:\"err,omitempty\"`\n\t// Container status contains container specific status information.\n\t//\n\t// Types that are valid to be assigned to RuntimeStatus:\n\t//\t*TaskStatus_Container\n\tRuntimeStatus isTaskStatus_RuntimeStatus `protobuf_oneof:\"runtime_status\"`\n}\n```\n\n```go\nfunc (m *TaskStatus) Copy() *TaskStatus\n```\n\n```go\nfunc (*TaskStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TaskStatus) GetContainer() *ContainerStatus\n```\n\n```go\nfunc (m *TaskStatus) GetRuntimeStatus() isTaskStatus_RuntimeStatus\n```\n\n```go\nfunc (this *TaskStatus) GoString() string\n```\n\n```go\nfunc (m *TaskStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *TaskStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*TaskStatus) ProtoMessage()\n```\n\n```go\nfunc (m *TaskStatus) Reset()\n```\n\n```go\nfunc (m *TaskStatus) Size() (n int)\n```\n\n```go\nfunc (this *TaskStatus) String() string\n```\n\n```go\nfunc (m *TaskStatus) Unmarshal(data []byte) error\n```\n\n```go\nfunc (*TaskStatus) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\ntype TaskStatus_Container struct {\n\tContainer *ContainerStatus `protobuf:\"bytes,5,opt,name=container,oneof\"`\n}\n```\n\n```go\nfunc (this *TaskStatus_Container) GoString() string\n```\n\n```go\nfunc (m *TaskStatus_Container) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (m *TaskStatus_Container) Size() (n int)\n```\n\n```go\nfunc (this *TaskStatus_Container) String() string\n```\n\n```go\ntype TasksMessage struct {\n\t// Tasks is the set of tasks that should be running on the node.\n\t// Tasks outside of this set running on the node should be terminated.\n\tTasks []*Task `protobuf:\"bytes,1,rep,name=tasks\" json:\"tasks,omitempty\"`\n}\n```\n\n```go\nfunc (m *TasksMessage) Copy() *TasksMessage\n```\n\n```go\nfunc (*TasksMessage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *TasksMessage) GoString() string\n```\n\n```go\nfunc (m *TasksMessage) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *TasksMessage) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*TasksMessage) ProtoMessage()\n```\n\n```go\nfunc (m *TasksMessage) Reset()\n```\n\n```go\nfunc (m *TasksMessage) Size() (n int)\n```\n\n```go\nfunc (this *TasksMessage) String() string\n```\n\n```go\nfunc (m *TasksMessage) Unmarshal(data []byte) error\n```\n\n```go\ntype TasksRequest struct {\n\tSessionID string `protobuf:\"bytes,1,opt,name=session_id,json=sessionId,proto3\" json:\"session_id,omitempty\"`\n}\n```\n\n```go\nfunc (m *TasksRequest) Copy() *TasksRequest\n```\n\n```go\nfunc (*TasksRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *TasksRequest) GoString() string\n```\n\n```go\nfunc (m *TasksRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *TasksRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*TasksRequest) ProtoMessage()\n```\n\n```go\nfunc (m *TasksRequest) Reset()\n```\n\n```go\nfunc (m *TasksRequest) Size() (n int)\n```\n\n```go\nfunc (this *TasksRequest) String() string\n```\n\n```go\nfunc (m *TasksRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateClusterRequest struct {\n\t// ClusterID is the cluster ID to update.\n\tClusterID string `protobuf:\"bytes,1,opt,name=cluster_id,json=clusterId,proto3\" json:\"cluster_id,omitempty\"`\n\t// ClusterVersion is the version of the cluster being updated.\n\tClusterVersion *Version `protobuf:\"bytes,2,opt,name=cluster_version,json=clusterVersion\" json:\"cluster_version,omitempty\"`\n\t// Spec is the new spec to apply to the cluster.\n\tSpec *ClusterSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec,omitempty\"`\n\t// Rotation contains flags for join token rotation\n\tRotation JoinTokenRotation `protobuf:\"bytes,4,opt,name=rotation\" json:\"rotation\"`\n}\n```\n\n```go\nfunc (m *UpdateClusterRequest) Copy() *UpdateClusterRequest\n```\n\n```go\nfunc (*UpdateClusterRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateClusterRequest) GoString() string\n```\n\n```go\nfunc (m *UpdateClusterRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateClusterRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateClusterRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateClusterRequest) Reset()\n```\n\n```go\nfunc (m *UpdateClusterRequest) Size() (n int)\n```\n\n```go\nfunc (this *UpdateClusterRequest) String() string\n```\n\n```go\nfunc (m *UpdateClusterRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateClusterResponse struct {\n\tCluster *Cluster `protobuf:\"bytes,1,opt,name=cluster\" json:\"cluster,omitempty\"`\n}\n```\n\n```go\nfunc (m *UpdateClusterResponse) Copy() *UpdateClusterResponse\n```\n\n```go\nfunc (*UpdateClusterResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateClusterResponse) GoString() string\n```\n\n```go\nfunc (m *UpdateClusterResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateClusterResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateClusterResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateClusterResponse) Reset()\n```\n\n```go\nfunc (m *UpdateClusterResponse) Size() (n int)\n```\n\n```go\nfunc (this *UpdateClusterResponse) String() string\n```\n\n```go\nfunc (m *UpdateClusterResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateConfig struct {\n\t// Maximum number of tasks to be updated in one iteration.\n\t// 0 means unlimited parallelism.\n\tParallelism uint64 `protobuf:\"varint,1,opt,name=parallelism,proto3\" json:\"parallelism,omitempty\"`\n\t// Amount of time between updates.\n\tDelay docker_swarmkit_v11.Duration `protobuf:\"bytes,2,opt,name=delay\" json:\"delay\"`\n\t// FailureAction is the action to take when an update failures.\n\t// Currently, a failure is defined as a single updated task failing to\n\t// reach the RUNNING state. In the future, there will be configuration\n\t// to define what is treated as a failure (see #486 for a proposal).\n\tFailureAction UpdateConfig_FailureAction `protobuf:\"varint,3,opt,name=failure_action,json=failureAction,proto3,enum=docker.swarmkit.v1.UpdateConfig_FailureAction\" json:\"failure_action,omitempty\"`\n}\n```\nUpdateConfig specifies the rate and policy of updates. TODO(aluzzardi): Consider making this a oneof with RollingStrategy and LockstepStrategy.\n\n```go\nfunc (m *UpdateConfig) Copy() *UpdateConfig\n```\n\n```go\nfunc (*UpdateConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateConfig) GoString() string\n```\n\n```go\nfunc (m *UpdateConfig) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateConfig) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateConfig) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateConfig) Reset()\n```\n\n```go\nfunc (m *UpdateConfig) Size() (n int)\n```\n\n```go\nfunc (this *UpdateConfig) String() string\n```\n\n```go\nfunc (m *UpdateConfig) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateConfig_FailureAction int32\n```\n\n```go\nconst (\n\tUpdateConfig_PAUSE    UpdateConfig_FailureAction = 0\n\tUpdateConfig_CONTINUE UpdateConfig_FailureAction = 1\n)\n```\n\n```go\nfunc (UpdateConfig_FailureAction) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x UpdateConfig_FailureAction) String() string\n```\n\n```go\ntype UpdateNodeRequest struct {\n\tNodeID      string    `protobuf:\"bytes,1,opt,name=node_id,json=nodeId,proto3\" json:\"node_id,omitempty\"`\n\tNodeVersion *Version  `protobuf:\"bytes,2,opt,name=node_version,json=nodeVersion\" json:\"node_version,omitempty\"`\n\tSpec        *NodeSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec,omitempty\"`\n}\n```\nUpdateNodeRequest requests an update to the specified node. This may be used to request a new availability for a node, such as PAUSE. Invalid updates will be denied and cause an error.\n\n```go\nfunc (m *UpdateNodeRequest) Copy() *UpdateNodeRequest\n```\n\n```go\nfunc (*UpdateNodeRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateNodeRequest) GoString() string\n```\n\n```go\nfunc (m *UpdateNodeRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateNodeRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateNodeRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateNodeRequest) Reset()\n```\n\n```go\nfunc (m *UpdateNodeRequest) Size() (n int)\n```\n\n```go\nfunc (this *UpdateNodeRequest) String() string\n```\n\n```go\nfunc (m *UpdateNodeRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateNodeResponse struct {\n\tNode *Node `protobuf:\"bytes,1,opt,name=node\" json:\"node,omitempty\"`\n}\n```\n\n```go\nfunc (m *UpdateNodeResponse) Copy() *UpdateNodeResponse\n```\n\n```go\nfunc (*UpdateNodeResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateNodeResponse) GoString() string\n```\n\n```go\nfunc (m *UpdateNodeResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateNodeResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateNodeResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateNodeResponse) Reset()\n```\n\n```go\nfunc (m *UpdateNodeResponse) Size() (n int)\n```\n\n```go\nfunc (this *UpdateNodeResponse) String() string\n```\n\n```go\nfunc (m *UpdateNodeResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateServiceRequest struct {\n\tServiceID      string       `protobuf:\"bytes,1,opt,name=service_id,json=serviceId,proto3\" json:\"service_id,omitempty\"`\n\tServiceVersion *Version     `protobuf:\"bytes,2,opt,name=service_version,json=serviceVersion\" json:\"service_version,omitempty\"`\n\tSpec           *ServiceSpec `protobuf:\"bytes,3,opt,name=spec\" json:\"spec,omitempty\"`\n}\n```\n\n```go\nfunc (m *UpdateServiceRequest) Copy() *UpdateServiceRequest\n```\n\n```go\nfunc (*UpdateServiceRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateServiceRequest) GoString() string\n```\n\n```go\nfunc (m *UpdateServiceRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateServiceRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateServiceRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateServiceRequest) Reset()\n```\n\n```go\nfunc (m *UpdateServiceRequest) Size() (n int)\n```\n\n```go\nfunc (this *UpdateServiceRequest) String() string\n```\n\n```go\nfunc (m *UpdateServiceRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateServiceResponse struct {\n\tService *Service `protobuf:\"bytes,1,opt,name=service\" json:\"service,omitempty\"`\n}\n```\n\n```go\nfunc (m *UpdateServiceResponse) Copy() *UpdateServiceResponse\n```\n\n```go\nfunc (*UpdateServiceResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateServiceResponse) GoString() string\n```\n\n```go\nfunc (m *UpdateServiceResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateServiceResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateServiceResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateServiceResponse) Reset()\n```\n\n```go\nfunc (m *UpdateServiceResponse) Size() (n int)\n```\n\n```go\nfunc (this *UpdateServiceResponse) String() string\n```\n\n```go\nfunc (m *UpdateServiceResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateStatus struct {\n\t// State is the state of this update. It indicates whether the\n\t// update is in progress, completed, or is paused.\n\tState UpdateStatus_UpdateState `protobuf:\"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.UpdateStatus_UpdateState\" json:\"state,omitempty\"`\n\t// StartedAt is the time at which the update was started.\n\tStartedAt *docker_swarmkit_v1.Timestamp `protobuf:\"bytes,2,opt,name=started_at,json=startedAt\" json:\"started_at,omitempty\"`\n\t// CompletedAt is the time at which the update completed.\n\tCompletedAt *docker_swarmkit_v1.Timestamp `protobuf:\"bytes,3,opt,name=completed_at,json=completedAt\" json:\"completed_at,omitempty\"`\n\t// Message explains how the update got into its current state. For\n\t// example, if the update is paused, it will explain what is preventing\n\t// the update from proceeding (typically the failure of a task to start up\n\t// when OnFailure is PAUSE).\n\tMessage string `protobuf:\"bytes,4,opt,name=message,proto3\" json:\"message,omitempty\"`\n}\n```\nUpdateStatus is the status of an update in progress.\n\n```go\nfunc (m *UpdateStatus) Copy() *UpdateStatus\n```\n\n```go\nfunc (*UpdateStatus) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateStatus) GoString() string\n```\n\n```go\nfunc (m *UpdateStatus) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateStatus) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateStatus) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateStatus) Reset()\n```\n\n```go\nfunc (m *UpdateStatus) Size() (n int)\n```\n\n```go\nfunc (this *UpdateStatus) String() string\n```\n\n```go\nfunc (m *UpdateStatus) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateStatus_UpdateState int32\n```\n\n```go\nconst (\n\tUpdateStatus_UNKNOWN   UpdateStatus_UpdateState = 0\n\tUpdateStatus_UPDATING  UpdateStatus_UpdateState = 1\n\tUpdateStatus_PAUSED    UpdateStatus_UpdateState = 2\n\tUpdateStatus_COMPLETED UpdateStatus_UpdateState = 3\n)\n```\n\n```go\nfunc (UpdateStatus_UpdateState) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x UpdateStatus_UpdateState) String() string\n```\n\n```go\ntype UpdateTaskStatusRequest struct {\n\t// Tasks should contain all statuses for running tasks. Only the status\n\t// field must be set. The spec is not required.\n\tSessionID string                                      `protobuf:\"bytes,1,opt,name=session_id,json=sessionId,proto3\" json:\"session_id,omitempty\"`\n\tUpdates   []*UpdateTaskStatusRequest_TaskStatusUpdate `protobuf:\"bytes,3,rep,name=updates\" json:\"updates,omitempty\"`\n}\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest) Copy() *UpdateTaskStatusRequest\n```\n\n```go\nfunc (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateTaskStatusRequest) GoString() string\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateTaskStatusRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest) Reset()\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest) Size() (n int)\n```\n\n```go\nfunc (this *UpdateTaskStatusRequest) String() string\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateTaskStatusRequest_TaskStatusUpdate struct {\n\tTaskID string      `protobuf:\"bytes,1,opt,name=task_id,json=taskId,proto3\" json:\"task_id,omitempty\"`\n\tStatus *TaskStatus `protobuf:\"bytes,2,opt,name=status\" json:\"status,omitempty\"`\n}\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest_TaskStatusUpdate) Copy() *UpdateTaskStatusRequest_TaskStatusUpdate\n```\n\n```go\nfunc (*UpdateTaskStatusRequest_TaskStatusUpdate) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateTaskStatusRequest_TaskStatusUpdate) GoString() string\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest_TaskStatusUpdate) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest_TaskStatusUpdate) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateTaskStatusRequest_TaskStatusUpdate) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest_TaskStatusUpdate) Reset()\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest_TaskStatusUpdate) Size() (n int)\n```\n\n```go\nfunc (this *UpdateTaskStatusRequest_TaskStatusUpdate) String() string\n```\n\n```go\nfunc (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(data []byte) error\n```\n\n```go\ntype UpdateTaskStatusResponse struct {\n}\n```\n\n```go\nfunc (m *UpdateTaskStatusResponse) Copy() *UpdateTaskStatusResponse\n```\n\n```go\nfunc (*UpdateTaskStatusResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *UpdateTaskStatusResponse) GoString() string\n```\n\n```go\nfunc (m *UpdateTaskStatusResponse) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *UpdateTaskStatusResponse) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*UpdateTaskStatusResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateTaskStatusResponse) Reset()\n```\n\n```go\nfunc (m *UpdateTaskStatusResponse) Size() (n int)\n```\n\n```go\nfunc (this *UpdateTaskStatusResponse) String() string\n```\n\n```go\nfunc (m *UpdateTaskStatusResponse) Unmarshal(data []byte) error\n```\n\n```go\ntype Version struct {\n\tIndex uint64 `protobuf:\"varint,1,opt,name=index,proto3\" json:\"index,omitempty\"`\n}\n```\nVersion tracks the last time an object in the store was updated.\n\n```go\nfunc (m *Version) Copy() *Version\n```\n\n```go\nfunc (*Version) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *Version) GoString() string\n```\n\n```go\nfunc (m *Version) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Version) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Version) ProtoMessage()\n```\n\n```go\nfunc (m *Version) Reset()\n```\n\n```go\nfunc (m *Version) Size() (n int)\n```\n\n```go\nfunc (this *Version) String() string\n```\n\n```go\nfunc (m *Version) Unmarshal(data []byte) error\n```\n\n```go\ntype WeightedPeer struct {\n\tPeer   *Peer `protobuf:\"bytes,1,opt,name=peer\" json:\"peer,omitempty\"`\n\tWeight int64 `protobuf:\"varint,2,opt,name=weight,proto3\" json:\"weight,omitempty\"`\n}\n```\nWeightedPeer should be used anywhere where we are describing a remote peer with a weight.\n\n```go\nfunc (m *WeightedPeer) Copy() *WeightedPeer\n```\n\n```go\nfunc (*WeightedPeer) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (this *WeightedPeer) GoString() string\n```\n\n```go\nfunc (m *WeightedPeer) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *WeightedPeer) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*WeightedPeer) ProtoMessage()\n```\n\n```go\nfunc (m *WeightedPeer) Reset()\n```\n\n```go\nfunc (m *WeightedPeer) Size() (n int)\n```\n\n```go\nfunc (this *WeightedPeer) String() string\n```\n\n```go\nfunc (m *WeightedPeer) Unmarshal(data []byte) error\n```\n\n","path":"github.com/docker/swarmkit/api","name":"api","synopsis":"Package api is a generated protocol buffer package.","isRedistributable":true}
