api

package
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 25 Imported by: 487

README

Notice

Do not change .pb.go files directly. You need to change the corresponding .proto files and run the following command to regenerate the .pb.go files.

$ make generate

Click here for more information about protobuf.

The api.pb.txt file contains merged descriptors of all defined services and messages. Definitions present here are considered frozen after the release.

At release time, the current api.pb.txt file will be moved into place to freeze the API changes for the minor version. For example, when 1.0.0 is released, api.pb.txt should be moved to 1.0.txt. Notice that we leave off the patch number, since the API will be completely locked down for a given patch series.

We may find that by default, protobuf descriptors are too noisy to lock down API changes. In that case, we may filter out certain fields in the descriptors, possibly regenerating for old versions.

This process is similar to the process used to ensure backwards compatibility in Go.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCa        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCa          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCa = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthControl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowControl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupControl = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDispatcher        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDispatcher          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDispatcher = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHealth        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHealth          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHealth = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLogbroker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLogbroker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLogbroker = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthObjects        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowObjects          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupObjects = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRaft        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRaft          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRaft = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthResource        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResource          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupResource = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSnapshot        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSnapshot          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSnapshot = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSpecs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpecs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSpecs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthWatch        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWatch          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupWatch = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AssignmentChange_AssignmentAction_name = map[int32]string{
	0: "UPDATE",
	1: "REMOVE",
}
View Source
var AssignmentChange_AssignmentAction_value = map[string]int32{
	"UPDATE": 0,
	"REMOVE": 1,
}
View Source
var AssignmentsMessage_Type_name = map[int32]string{
	0: "COMPLETE",
	1: "INCREMENTAL",
}
View Source
var AssignmentsMessage_Type_value = map[string]int32{
	"COMPLETE":    0,
	"INCREMENTAL": 1,
}
View Source
var ContainerSpec_Isolation_name = map[int32]string{
	0: "ISOLATION_DEFAULT",
	1: "ISOLATION_PROCESS",
	2: "ISOLATION_HYPERV",
}
View Source
var ContainerSpec_Isolation_value = map[string]int32{
	"ISOLATION_DEFAULT": 0,
	"ISOLATION_PROCESS": 1,
	"ISOLATION_HYPERV":  2,
}
View Source
var EncryptionKey_Algorithm_name = map[int32]string{
	0: "AES_128_GCM",
}
View Source
var EncryptionKey_Algorithm_value = map[string]int32{
	"AES_128_GCM": 0,
}
View Source
var EndpointSpec_ResolutionMode_name = map[int32]string{
	0: "VIP",
	1: "DNSRR",
}
View Source
var EndpointSpec_ResolutionMode_value = map[string]int32{
	"VIP":   0,
	"DNSRR": 1,
}
View Source
var ExternalCA_CAProtocol_name = map[int32]string{
	0: "CFSSL",
}
View Source
var ExternalCA_CAProtocol_value = map[string]int32{
	"CFSSL": 0,
}
View Source
var HealthCheckResponse_ServingStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "SERVING",
	2: "NOT_SERVING",
}
View Source
var HealthCheckResponse_ServingStatus_value = map[string]int32{
	"UNKNOWN":     0,
	"SERVING":     1,
	"NOT_SERVING": 2,
}
View Source
var IPAMConfig_AddressFamily_name = map[int32]string{
	0: "UNKNOWN",
	4: "IPV4",
	6: "IPV6",
}
View Source
var IPAMConfig_AddressFamily_value = map[string]int32{
	"UNKNOWN": 0,
	"IPV4":    4,
	"IPV6":    6,
}
View Source
var IssuanceStatus_State_name = map[int32]string{
	0: "UNKNOWN",
	1: "RENEW",
	2: "PENDING",
	3: "ISSUED",
	4: "FAILED",
	5: "ROTATE",
}
View Source
var IssuanceStatus_State_value = map[string]int32{
	"UNKNOWN": 0,
	"RENEW":   1,
	"PENDING": 2,
	"ISSUED":  3,
	"FAILED":  4,
	"ROTATE":  5,
}
View Source
var LogStream_name = map[int32]string{
	0: "LOG_STREAM_UNKNOWN",
	1: "LOG_STREAM_STDOUT",
	2: "LOG_STREAM_STDERR",
}
View Source
var LogStream_value = map[string]int32{
	"LOG_STREAM_UNKNOWN": 0,
	"LOG_STREAM_STDOUT":  1,
	"LOG_STREAM_STDERR":  2,
}
View Source
var MaybeEncryptedRecord_Algorithm_name = map[int32]string{
	0: "NONE",
	1: "SECRETBOX_SALSA20_POLY1305",
	2: "FERNET_AES_128_CBC",
}
View Source
var MaybeEncryptedRecord_Algorithm_value = map[string]int32{
	"NONE":                       0,
	"SECRETBOX_SALSA20_POLY1305": 1,
	"FERNET_AES_128_CBC":         2,
}
View Source
var Mount_BindOptions_MountPropagation_name = map[int32]string{
	0: "RPRIVATE",
	1: "PRIVATE",
	2: "RSHARED",
	3: "SHARED",
	4: "RSLAVE",
	5: "SLAVE",
}
View Source
var Mount_BindOptions_MountPropagation_value = map[string]int32{
	"RPRIVATE": 0,
	"PRIVATE":  1,
	"RSHARED":  2,
	"SHARED":   3,
	"RSLAVE":   4,
	"SLAVE":    5,
}
View Source
var Mount_MountConsistency_name = map[int32]string{
	0: "DEFAULT",
	1: "CONSISTENT",
	2: "CACHED",
	3: "DELEGATED",
}
View Source
var Mount_MountConsistency_value = map[string]int32{
	"DEFAULT":    0,
	"CONSISTENT": 1,
	"CACHED":     2,
	"DELEGATED":  3,
}
View Source
var Mount_MountType_name = map[int32]string{
	0: "BIND",
	1: "VOLUME",
	2: "TMPFS",
	3: "NPIPE",
	4: "CLUSTER",
}
View Source
var Mount_MountType_value = map[string]int32{
	"BIND":    0,
	"VOLUME":  1,
	"TMPFS":   2,
	"NPIPE":   3,
	"CLUSTER": 4,
}
View Source
var NodeRole_name = map[int32]string{
	0: "WORKER",
	1: "MANAGER",
}
View Source
var NodeRole_value = map[string]int32{
	"WORKER":  0,
	"MANAGER": 1,
}
View Source
var NodeSpec_Availability_name = map[int32]string{
	0: "ACTIVE",
	1: "PAUSE",
	2: "DRAIN",
}
View Source
var NodeSpec_Availability_value = map[string]int32{
	"ACTIVE": 0,
	"PAUSE":  1,
	"DRAIN":  2,
}
View Source
var NodeSpec_Membership_name = map[int32]string{
	0: "PENDING",
	1: "ACCEPTED",
}
View Source
var NodeSpec_Membership_value = map[string]int32{
	"PENDING":  0,
	"ACCEPTED": 1,
}
View Source
var NodeStatus_State_name = map[int32]string{
	0: "UNKNOWN",
	1: "DOWN",
	2: "READY",
	3: "DISCONNECTED",
}
View Source
var NodeStatus_State_value = map[string]int32{
	"UNKNOWN":      0,
	"DOWN":         1,
	"READY":        2,
	"DISCONNECTED": 3,
}
View Source
var PortConfig_Protocol_name = map[int32]string{
	0: "TCP",
	1: "UDP",
	2: "SCTP",
}
View Source
var PortConfig_Protocol_value = map[string]int32{
	"TCP":  0,
	"UDP":  1,
	"SCTP": 2,
}
View Source
var PortConfig_PublishMode_name = map[int32]string{
	0: "INGRESS",
	1: "HOST",
}
View Source
var PortConfig_PublishMode_value = map[string]int32{
	"INGRESS": 0,
	"HOST":    1,
}
View Source
var Privileges_AppArmorOpts_AppArmorMode_name = map[int32]string{
	0: "DEFAULT",
	1: "DISABLED",
}
View Source
var Privileges_AppArmorOpts_AppArmorMode_value = map[string]int32{
	"DEFAULT":  0,
	"DISABLED": 1,
}
View Source
var Privileges_SeccompOpts_SeccompMode_name = map[int32]string{
	0: "DEFAULT",
	1: "UNCONFINED",
	2: "CUSTOM",
}
View Source
var Privileges_SeccompOpts_SeccompMode_value = map[string]int32{
	"DEFAULT":    0,
	"UNCONFINED": 1,
	"CUSTOM":     2,
}
View Source
var RaftMemberStatus_Reachability_name = map[int32]string{
	0: "UNKNOWN",
	1: "UNREACHABLE",
	2: "REACHABLE",
}
View Source
var RaftMemberStatus_Reachability_value = map[string]int32{
	"UNKNOWN":     0,
	"UNREACHABLE": 1,
	"REACHABLE":   2,
}
View Source
var ResourceType_name = map[int32]string{
	0: "TASK",
	1: "SECRET",
	2: "CONFIG",
	3: "VOLUME",
}
View Source
var ResourceType_value = map[string]int32{
	"TASK":   0,
	"SECRET": 1,
	"CONFIG": 2,
	"VOLUME": 3,
}
View Source
var RestartPolicy_RestartCondition_name = map[int32]string{
	0: "NONE",
	1: "ON_FAILURE",
	2: "ANY",
}
View Source
var RestartPolicy_RestartCondition_value = map[string]int32{
	"NONE":       0,
	"ON_FAILURE": 1,
	"ANY":        2,
}
View Source
var Snapshot_Version_name = map[int32]string{
	0: "V0",
}
View Source
var Snapshot_Version_value = map[string]int32{
	"V0": 0,
}
View Source
var StoreActionKind_name = map[int32]string{
	0: "UNKNOWN",
	1: "STORE_ACTION_CREATE",
	2: "STORE_ACTION_UPDATE",
	3: "STORE_ACTION_REMOVE",
}
View Source
var StoreActionKind_value = map[string]int32{
	"UNKNOWN":             0,
	"STORE_ACTION_CREATE": 1,
	"STORE_ACTION_UPDATE": 2,
	"STORE_ACTION_REMOVE": 3,
}
View Source
var TaskState_name = map[int32]string{
	0:   "NEW",
	64:  "PENDING",
	192: "ASSIGNED",
	256: "ACCEPTED",
	320: "PREPARING",
	384: "READY",
	448: "STARTING",
	512: "RUNNING",
	576: "COMPLETE",
	640: "SHUTDOWN",
	704: "FAILED",
	768: "REJECTED",
	800: "REMOVE",
	832: "ORPHANED",
}
View Source
var TaskState_value = map[string]int32{
	"NEW":       0,
	"PENDING":   64,
	"ASSIGNED":  192,
	"ACCEPTED":  256,
	"PREPARING": 320,
	"READY":     384,
	"STARTING":  448,
	"RUNNING":   512,
	"COMPLETE":  576,
	"SHUTDOWN":  640,
	"FAILED":    704,
	"REJECTED":  768,
	"REMOVE":    800,
	"ORPHANED":  832,
}
View Source
var UpdateConfig_FailureAction_name = map[int32]string{
	0: "PAUSE",
	1: "CONTINUE",
	2: "ROLLBACK",
}
View Source
var UpdateConfig_FailureAction_value = map[string]int32{
	"PAUSE":    0,
	"CONTINUE": 1,
	"ROLLBACK": 2,
}
View Source
var UpdateConfig_UpdateOrder_name = map[int32]string{
	0: "STOP_FIRST",
	1: "START_FIRST",
}
View Source
var UpdateConfig_UpdateOrder_value = map[string]int32{
	"STOP_FIRST":  0,
	"START_FIRST": 1,
}
View Source
var UpdateServiceRequest_Rollback_name = map[int32]string{
	0: "NONE",
	1: "PREVIOUS",
}
View Source
var UpdateServiceRequest_Rollback_value = map[string]int32{
	"NONE":     0,
	"PREVIOUS": 1,
}
View Source
var UpdateStatus_UpdateState_name = map[int32]string{
	0: "UNKNOWN",
	1: "UPDATING",
	2: "PAUSED",
	3: "COMPLETED",
	4: "ROLLBACK_STARTED",
	5: "ROLLBACK_PAUSED",
	6: "ROLLBACK_COMPLETED",
}
View Source
var UpdateStatus_UpdateState_value = map[string]int32{
	"UNKNOWN":            0,
	"UPDATING":           1,
	"PAUSED":             2,
	"COMPLETED":          3,
	"ROLLBACK_STARTED":   4,
	"ROLLBACK_PAUSED":    5,
	"ROLLBACK_COMPLETED": 6,
}
View Source
var VolumeAccessMode_Scope_name = map[int32]string{
	0: "SINGLE_NODE",
	1: "MULTI_NODE",
}
View Source
var VolumeAccessMode_Scope_value = map[string]int32{
	"SINGLE_NODE": 0,
	"MULTI_NODE":  1,
}
View Source
var VolumeAccessMode_Sharing_name = map[int32]string{
	0: "NONE",
	1: "READ_ONLY",
	2: "ONE_WRITER",
	3: "ALL",
}
View Source
var VolumeAccessMode_Sharing_value = map[string]int32{
	"NONE":       0,
	"READ_ONLY":  1,
	"ONE_WRITER": 2,
	"ALL":        3,
}
View Source
var VolumeCapability_AccessMode_Mode_name = map[int32]string{
	0: "UNKNOWN",
	1: "SINGLE_NODE_WRITER",
	2: "SINGLE_NODE_READER_ONLY",
	3: "MULTI_NODE_READER_ONLY",
	4: "MULTI_NODE_SINGLE_WRITER",
	5: "MULTI_NODE_MULTI_WRITER",
}
View Source
var VolumeCapability_AccessMode_Mode_value = map[string]int32{
	"UNKNOWN":                  0,
	"SINGLE_NODE_WRITER":       1,
	"SINGLE_NODE_READER_ONLY":  2,
	"MULTI_NODE_READER_ONLY":   3,
	"MULTI_NODE_SINGLE_WRITER": 4,
	"MULTI_NODE_MULTI_WRITER":  5,
}
View Source
var VolumePublishStatus_State_name = map[int32]string{
	0: "PENDING_PUBLISH",
	1: "PUBLISHED",
	2: "PENDING_NODE_UNPUBLISH",
	3: "PENDING_UNPUBLISH",
}
View Source
var VolumePublishStatus_State_value = map[string]int32{
	"PENDING_PUBLISH":        0,
	"PUBLISHED":              1,
	"PENDING_NODE_UNPUBLISH": 2,
	"PENDING_UNPUBLISH":      3,
}
View Source
var VolumeSpec_VolumeAvailability_name = map[int32]string{
	0: "ACTIVE",
	1: "PAUSE",
	2: "DRAIN",
}
View Source
var VolumeSpec_VolumeAvailability_value = map[string]int32{
	"ACTIVE": 0,
	"PAUSE":  1,
	"DRAIN":  2,
}
View Source
var WatchActionKind_name = map[int32]string{
	0: "WATCH_ACTION_UNKNOWN",
	1: "WATCH_ACTION_CREATE",
	2: "WATCH_ACTION_UPDATE",
	4: "WATCH_ACTION_REMOVE",
}
View Source
var WatchActionKind_value = map[string]int32{
	"WATCH_ACTION_UNKNOWN": 0,
	"WATCH_ACTION_CREATE":  1,
	"WATCH_ACTION_UPDATE":  2,
	"WATCH_ACTION_REMOVE":  4,
}

Functions

func ClusterCheckCustom

func ClusterCheckCustom(v1, v2 *Cluster) bool

func ClusterCheckCustomPrefix

func ClusterCheckCustomPrefix(v1, v2 *Cluster) bool

func ClusterCheckID

func ClusterCheckID(v1, v2 *Cluster) bool

func ClusterCheckIDPrefix

func ClusterCheckIDPrefix(v1, v2 *Cluster) bool

func ClusterCheckName

func ClusterCheckName(v1, v2 *Cluster) bool

func ClusterCheckNamePrefix

func ClusterCheckNamePrefix(v1, v2 *Cluster) bool

func ConfigCheckCustom

func ConfigCheckCustom(v1, v2 *Config) bool

func ConfigCheckCustomPrefix

func ConfigCheckCustomPrefix(v1, v2 *Config) bool

func ConfigCheckID

func ConfigCheckID(v1, v2 *Config) bool

func ConfigCheckIDPrefix

func ConfigCheckIDPrefix(v1, v2 *Config) bool

func ConfigCheckName

func ConfigCheckName(v1, v2 *Config) bool

func ConfigCheckNamePrefix

func ConfigCheckNamePrefix(v1, v2 *Config) bool

func ExtensionCheckCustom

func ExtensionCheckCustom(v1, v2 *Extension) bool

func ExtensionCheckCustomPrefix

func ExtensionCheckCustomPrefix(v1, v2 *Extension) bool

func ExtensionCheckID

func ExtensionCheckID(v1, v2 *Extension) bool

func ExtensionCheckIDPrefix

func ExtensionCheckIDPrefix(v1, v2 *Extension) bool

func ExtensionCheckName

func ExtensionCheckName(v1, v2 *Extension) bool

func ExtensionCheckNamePrefix

func ExtensionCheckNamePrefix(v1, v2 *Extension) bool

func NetworkCheckCustom

func NetworkCheckCustom(v1, v2 *Network) bool

func NetworkCheckCustomPrefix

func NetworkCheckCustomPrefix(v1, v2 *Network) bool

func NetworkCheckID

func NetworkCheckID(v1, v2 *Network) bool

func NetworkCheckIDPrefix

func NetworkCheckIDPrefix(v1, v2 *Network) bool

func NetworkCheckName

func NetworkCheckName(v1, v2 *Network) bool

func NetworkCheckNamePrefix

func NetworkCheckNamePrefix(v1, v2 *Network) bool

func NodeCheckCustom

func NodeCheckCustom(v1, v2 *Node) bool

func NodeCheckCustomPrefix

func NodeCheckCustomPrefix(v1, v2 *Node) bool

func NodeCheckID

func NodeCheckID(v1, v2 *Node) bool

func NodeCheckIDPrefix

func NodeCheckIDPrefix(v1, v2 *Node) bool

func NodeCheckMembership

func NodeCheckMembership(v1, v2 *Node) bool

func NodeCheckName

func NodeCheckName(v1, v2 *Node) bool

func NodeCheckNamePrefix

func NodeCheckNamePrefix(v1, v2 *Node) bool

func NodeCheckRole

func NodeCheckRole(v1, v2 *Node) bool

func RegisterCAServer

func RegisterCAServer(s *grpc.Server, srv CAServer)

func RegisterControlServer

func RegisterControlServer(s *grpc.Server, srv ControlServer)

func RegisterDispatcherServer

func RegisterDispatcherServer(s *grpc.Server, srv DispatcherServer)

func RegisterHealthServer

func RegisterHealthServer(s *grpc.Server, srv HealthServer)

func RegisterLogBrokerServer

func RegisterLogBrokerServer(s *grpc.Server, srv LogBrokerServer)

func RegisterLogsServer

func RegisterLogsServer(s *grpc.Server, srv LogsServer)

func RegisterNodeCAServer

func RegisterNodeCAServer(s *grpc.Server, srv NodeCAServer)

func RegisterRaftMembershipServer

func RegisterRaftMembershipServer(s *grpc.Server, srv RaftMembershipServer)

func RegisterRaftServer

func RegisterRaftServer(s *grpc.Server, srv RaftServer)

func RegisterResourceAllocatorServer

func RegisterResourceAllocatorServer(s *grpc.Server, srv ResourceAllocatorServer)

func RegisterWatchServer

func RegisterWatchServer(s *grpc.Server, srv WatchServer)

func ResourceCheckCustom

func ResourceCheckCustom(v1, v2 *Resource) bool

func ResourceCheckCustomPrefix

func ResourceCheckCustomPrefix(v1, v2 *Resource) bool

func ResourceCheckID

func ResourceCheckID(v1, v2 *Resource) bool

func ResourceCheckIDPrefix

func ResourceCheckIDPrefix(v1, v2 *Resource) bool

func ResourceCheckKind

func ResourceCheckKind(v1, v2 *Resource) bool

func ResourceCheckName

func ResourceCheckName(v1, v2 *Resource) bool

func ResourceCheckNamePrefix

func ResourceCheckNamePrefix(v1, v2 *Resource) bool

func SecretCheckCustom

func SecretCheckCustom(v1, v2 *Secret) bool

func SecretCheckCustomPrefix

func SecretCheckCustomPrefix(v1, v2 *Secret) bool

func SecretCheckID

func SecretCheckID(v1, v2 *Secret) bool

func SecretCheckIDPrefix

func SecretCheckIDPrefix(v1, v2 *Secret) bool

func SecretCheckName

func SecretCheckName(v1, v2 *Secret) bool

func SecretCheckNamePrefix

func SecretCheckNamePrefix(v1, v2 *Secret) bool

func ServiceCheckCustom

func ServiceCheckCustom(v1, v2 *Service) bool

func ServiceCheckCustomPrefix

func ServiceCheckCustomPrefix(v1, v2 *Service) bool

func ServiceCheckID

func ServiceCheckID(v1, v2 *Service) bool

func ServiceCheckIDPrefix

func ServiceCheckIDPrefix(v1, v2 *Service) bool

func ServiceCheckName

func ServiceCheckName(v1, v2 *Service) bool

func ServiceCheckNamePrefix

func ServiceCheckNamePrefix(v1, v2 *Service) bool

func TaskCheckCustom

func TaskCheckCustom(v1, v2 *Task) bool

func TaskCheckCustomPrefix

func TaskCheckCustomPrefix(v1, v2 *Task) bool

func TaskCheckDesiredState

func TaskCheckDesiredState(v1, v2 *Task) bool

func TaskCheckID

func TaskCheckID(v1, v2 *Task) bool

func TaskCheckIDPrefix

func TaskCheckIDPrefix(v1, v2 *Task) bool

func TaskCheckName

func TaskCheckName(v1, v2 *Task) bool

func TaskCheckNamePrefix

func TaskCheckNamePrefix(v1, v2 *Task) bool

func TaskCheckNodeID

func TaskCheckNodeID(v1, v2 *Task) bool

func TaskCheckServiceID

func TaskCheckServiceID(v1, v2 *Task) bool

func TaskCheckSlot

func TaskCheckSlot(v1, v2 *Task) bool

func VolumeCheckCustom

func VolumeCheckCustom(v1, v2 *Volume) bool

func VolumeCheckCustomPrefix

func VolumeCheckCustomPrefix(v1, v2 *Volume) bool

func VolumeCheckID

func VolumeCheckID(v1, v2 *Volume) bool

func VolumeCheckIDPrefix

func VolumeCheckIDPrefix(v1, v2 *Volume) bool

func VolumeCheckName

func VolumeCheckName(v1, v2 *Volume) bool

func VolumeCheckNamePrefix

func VolumeCheckNamePrefix(v1, v2 *Volume) bool

Types

type AcceptancePolicy

type AcceptancePolicy struct {
	Policies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
}

func (*AcceptancePolicy) Copy

func (*AcceptancePolicy) CopyFrom

func (m *AcceptancePolicy) CopyFrom(src interface{})

func (*AcceptancePolicy) Descriptor

func (*AcceptancePolicy) Descriptor() ([]byte, []int)

func (*AcceptancePolicy) Marshal

func (m *AcceptancePolicy) Marshal() (dAtA []byte, err error)

func (*AcceptancePolicy) MarshalTo

func (m *AcceptancePolicy) MarshalTo(dAtA []byte) (int, error)

func (*AcceptancePolicy) MarshalToSizedBuffer

func (m *AcceptancePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AcceptancePolicy) ProtoMessage

func (*AcceptancePolicy) ProtoMessage()

func (*AcceptancePolicy) Reset

func (m *AcceptancePolicy) Reset()

func (*AcceptancePolicy) Size

func (m *AcceptancePolicy) Size() (n int)

func (*AcceptancePolicy) String

func (this *AcceptancePolicy) String() string

func (*AcceptancePolicy) Unmarshal

func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error

func (*AcceptancePolicy) XXX_DiscardUnknown

func (m *AcceptancePolicy) XXX_DiscardUnknown()

func (*AcceptancePolicy) XXX_Marshal

func (m *AcceptancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AcceptancePolicy) XXX_Merge

func (m *AcceptancePolicy) XXX_Merge(src proto.Message)

func (*AcceptancePolicy) XXX_Size

func (m *AcceptancePolicy) XXX_Size() int

func (*AcceptancePolicy) XXX_Unmarshal

func (m *AcceptancePolicy) XXX_Unmarshal(b []byte) error

type AcceptancePolicy_RoleAdmissionPolicy

type AcceptancePolicy_RoleAdmissionPolicy struct {
	Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"`
	// Autoaccept controls which roles' certificates are automatically
	// issued without administrator intervention.
	Autoaccept bool `protobuf:"varint,2,opt,name=autoaccept,proto3" json:"autoaccept,omitempty"`
	// Secret represents a user-provided string that is necessary for new
	// nodes to join the cluster
	Secret *AcceptancePolicy_RoleAdmissionPolicy_Secret `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
}

func (*AcceptancePolicy_RoleAdmissionPolicy) Copy

func (*AcceptancePolicy_RoleAdmissionPolicy) CopyFrom

func (m *AcceptancePolicy_RoleAdmissionPolicy) CopyFrom(src interface{})

func (*AcceptancePolicy_RoleAdmissionPolicy) Descriptor

func (*AcceptancePolicy_RoleAdmissionPolicy) Descriptor() ([]byte, []int)

func (*AcceptancePolicy_RoleAdmissionPolicy) Marshal

func (m *AcceptancePolicy_RoleAdmissionPolicy) Marshal() (dAtA []byte, err error)

func (*AcceptancePolicy_RoleAdmissionPolicy) MarshalTo

func (m *AcceptancePolicy_RoleAdmissionPolicy) MarshalTo(dAtA []byte) (int, error)

func (*AcceptancePolicy_RoleAdmissionPolicy) MarshalToSizedBuffer

func (m *AcceptancePolicy_RoleAdmissionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AcceptancePolicy_RoleAdmissionPolicy) ProtoMessage

func (*AcceptancePolicy_RoleAdmissionPolicy) ProtoMessage()

func (*AcceptancePolicy_RoleAdmissionPolicy) Reset

func (*AcceptancePolicy_RoleAdmissionPolicy) Size

func (*AcceptancePolicy_RoleAdmissionPolicy) String

func (*AcceptancePolicy_RoleAdmissionPolicy) Unmarshal

func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error

func (*AcceptancePolicy_RoleAdmissionPolicy) XXX_DiscardUnknown

func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_DiscardUnknown()

func (*AcceptancePolicy_RoleAdmissionPolicy) XXX_Marshal

func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AcceptancePolicy_RoleAdmissionPolicy) XXX_Merge

func (*AcceptancePolicy_RoleAdmissionPolicy) XXX_Size

func (*AcceptancePolicy_RoleAdmissionPolicy) XXX_Unmarshal

func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Unmarshal(b []byte) error

type AcceptancePolicy_RoleAdmissionPolicy_Secret

type AcceptancePolicy_RoleAdmissionPolicy_Secret struct {
	// The actual content (possibly hashed)
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// The type of hash we are using, or "plaintext"
	Alg string `protobuf:"bytes,2,opt,name=alg,proto3" json:"alg,omitempty"`
}

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Copy

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) CopyFrom

func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) CopyFrom(src interface{})

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Descriptor

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Marshal

func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Marshal() (dAtA []byte, err error)

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) MarshalTo

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) MarshalToSizedBuffer

func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) ProtoMessage

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Reset

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Size

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) String

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_DiscardUnknown

func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_DiscardUnknown()

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Marshal

func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Merge

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Size

func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Unmarshal

type Annotations

type Annotations struct {
	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Indices provides keys and values for indexing this object.
	// A single key may have multiple values.
	Indices []IndexEntry `protobuf:"bytes,4,rep,name=indices,proto3" json:"indices"`
}

Annotations provide useful information to identify API objects. They are common to all API specs.

func (*Annotations) Copy

func (m *Annotations) Copy() *Annotations

func (*Annotations) CopyFrom

func (m *Annotations) CopyFrom(src interface{})

func (*Annotations) Descriptor

func (*Annotations) Descriptor() ([]byte, []int)

func (*Annotations) Marshal

func (m *Annotations) Marshal() (dAtA []byte, err error)

func (*Annotations) MarshalTo

func (m *Annotations) MarshalTo(dAtA []byte) (int, error)

func (*Annotations) MarshalToSizedBuffer

func (m *Annotations) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Annotations) ProtoMessage

func (*Annotations) ProtoMessage()

func (*Annotations) Reset

func (m *Annotations) Reset()

func (*Annotations) Size

func (m *Annotations) Size() (n int)

func (*Annotations) String

func (this *Annotations) String() string

func (*Annotations) Unmarshal

func (m *Annotations) Unmarshal(dAtA []byte) error

func (*Annotations) XXX_DiscardUnknown

func (m *Annotations) XXX_DiscardUnknown()

func (*Annotations) XXX_Marshal

func (m *Annotations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Annotations) XXX_Merge

func (m *Annotations) XXX_Merge(src proto.Message)

func (*Annotations) XXX_Size

func (m *Annotations) XXX_Size() int

func (*Annotations) XXX_Unmarshal

func (m *Annotations) XXX_Unmarshal(b []byte) error

type Assignment

type Assignment struct {
	// Types that are valid to be assigned to Item:
	//	*Assignment_Task
	//	*Assignment_Secret
	//	*Assignment_Config
	//	*Assignment_Volume
	Item isAssignment_Item `protobuf_oneof:"item"`
}

func (*Assignment) Copy

func (m *Assignment) Copy() *Assignment

func (*Assignment) CopyFrom

func (m *Assignment) CopyFrom(src interface{})

func (*Assignment) Descriptor

func (*Assignment) Descriptor() ([]byte, []int)

func (*Assignment) GetConfig

func (m *Assignment) GetConfig() *Config

func (*Assignment) GetItem

func (m *Assignment) GetItem() isAssignment_Item

func (*Assignment) GetSecret

func (m *Assignment) GetSecret() *Secret

func (*Assignment) GetTask

func (m *Assignment) GetTask() *Task

func (*Assignment) GetVolume

func (m *Assignment) GetVolume() *VolumeAssignment

func (*Assignment) Marshal

func (m *Assignment) Marshal() (dAtA []byte, err error)

func (*Assignment) MarshalTo

func (m *Assignment) MarshalTo(dAtA []byte) (int, error)

func (*Assignment) MarshalToSizedBuffer

func (m *Assignment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Assignment) ProtoMessage

func (*Assignment) ProtoMessage()

func (*Assignment) Reset

func (m *Assignment) Reset()

func (*Assignment) Size

func (m *Assignment) Size() (n int)

func (*Assignment) String

func (this *Assignment) String() string

func (*Assignment) Unmarshal

func (m *Assignment) Unmarshal(dAtA []byte) error

func (*Assignment) XXX_DiscardUnknown

func (m *Assignment) XXX_DiscardUnknown()

func (*Assignment) XXX_Marshal

func (m *Assignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Assignment) XXX_Merge

func (m *Assignment) XXX_Merge(src proto.Message)

func (*Assignment) XXX_OneofWrappers

func (*Assignment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Assignment) XXX_Size

func (m *Assignment) XXX_Size() int

func (*Assignment) XXX_Unmarshal

func (m *Assignment) XXX_Unmarshal(b []byte) error

type AssignmentChange

type AssignmentChange struct {
	Assignment *Assignment                       `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"`
	Action     AssignmentChange_AssignmentAction `protobuf:"varint,2,opt,name=action,proto3,enum=docker.swarmkit.v1.AssignmentChange_AssignmentAction" json:"action,omitempty"`
}

func (*AssignmentChange) Copy

func (*AssignmentChange) CopyFrom

func (m *AssignmentChange) CopyFrom(src interface{})

func (*AssignmentChange) Descriptor

func (*AssignmentChange) Descriptor() ([]byte, []int)

func (*AssignmentChange) Marshal

func (m *AssignmentChange) Marshal() (dAtA []byte, err error)

func (*AssignmentChange) MarshalTo

func (m *AssignmentChange) MarshalTo(dAtA []byte) (int, error)

func (*AssignmentChange) MarshalToSizedBuffer

func (m *AssignmentChange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssignmentChange) ProtoMessage

func (*AssignmentChange) ProtoMessage()

func (*AssignmentChange) Reset

func (m *AssignmentChange) Reset()

func (*AssignmentChange) Size

func (m *AssignmentChange) Size() (n int)

func (*AssignmentChange) String

func (this *AssignmentChange) String() string

func (*AssignmentChange) Unmarshal

func (m *AssignmentChange) Unmarshal(dAtA []byte) error

func (*AssignmentChange) XXX_DiscardUnknown

func (m *AssignmentChange) XXX_DiscardUnknown()

func (*AssignmentChange) XXX_Marshal

func (m *AssignmentChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssignmentChange) XXX_Merge

func (m *AssignmentChange) XXX_Merge(src proto.Message)

func (*AssignmentChange) XXX_Size

func (m *AssignmentChange) XXX_Size() int

func (*AssignmentChange) XXX_Unmarshal

func (m *AssignmentChange) XXX_Unmarshal(b []byte) error

type AssignmentChange_AssignmentAction

type AssignmentChange_AssignmentAction int32
const (
	AssignmentChange_AssignmentActionUpdate AssignmentChange_AssignmentAction = 0
	AssignmentChange_AssignmentActionRemove AssignmentChange_AssignmentAction = 1
)

func (AssignmentChange_AssignmentAction) EnumDescriptor

func (AssignmentChange_AssignmentAction) EnumDescriptor() ([]byte, []int)

func (AssignmentChange_AssignmentAction) String

type Assignment_Config

type Assignment_Config struct {
	Config *Config `protobuf:"bytes,3,opt,name=config,proto3,oneof" json:"config,omitempty"`
}

func (*Assignment_Config) MarshalTo

func (m *Assignment_Config) MarshalTo(dAtA []byte) (int, error)

func (*Assignment_Config) MarshalToSizedBuffer

func (m *Assignment_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Assignment_Config) Size

func (m *Assignment_Config) Size() (n int)

func (*Assignment_Config) String

func (this *Assignment_Config) String() string

type Assignment_Secret

type Assignment_Secret struct {
	Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3,oneof" json:"secret,omitempty"`
}

func (*Assignment_Secret) MarshalTo

func (m *Assignment_Secret) MarshalTo(dAtA []byte) (int, error)

func (*Assignment_Secret) MarshalToSizedBuffer

func (m *Assignment_Secret) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Assignment_Secret) Size

func (m *Assignment_Secret) Size() (n int)

func (*Assignment_Secret) String

func (this *Assignment_Secret) String() string

type Assignment_Task

type Assignment_Task struct {
	Task *Task `protobuf:"bytes,1,opt,name=task,proto3,oneof" json:"task,omitempty"`
}

func (*Assignment_Task) MarshalTo

func (m *Assignment_Task) MarshalTo(dAtA []byte) (int, error)

func (*Assignment_Task) MarshalToSizedBuffer

func (m *Assignment_Task) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Assignment_Task) Size

func (m *Assignment_Task) Size() (n int)

func (*Assignment_Task) String

func (this *Assignment_Task) String() string

type Assignment_Volume

type Assignment_Volume struct {
	Volume *VolumeAssignment `protobuf:"bytes,4,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
}

func (*Assignment_Volume) MarshalTo

func (m *Assignment_Volume) MarshalTo(dAtA []byte) (int, error)

func (*Assignment_Volume) MarshalToSizedBuffer

func (m *Assignment_Volume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Assignment_Volume) Size

func (m *Assignment_Volume) Size() (n int)

func (*Assignment_Volume) String

func (this *Assignment_Volume) String() string

type AssignmentsMessage

type AssignmentsMessage struct {
	Type AssignmentsMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.AssignmentsMessage_Type" json:"type,omitempty"`
	// AppliesTo references the previous ResultsIn value, to chain
	// incremental updates together. For the first update in a stream,
	// AppliesTo is empty.  If AppliesTo does not match the previously
	// received ResultsIn, the consumer of the stream should start a new
	// Assignments stream to re-sync.
	AppliesTo string `protobuf:"bytes,2,opt,name=applies_to,json=appliesTo,proto3" json:"applies_to,omitempty"`
	// ResultsIn identifies the result of this assignments message, to
	// match against the next message's AppliesTo value and protect
	// against missed messages.
	ResultsIn string `protobuf:"bytes,3,opt,name=results_in,json=resultsIn,proto3" json:"results_in,omitempty"`
	// AssignmentChange is a set of changes to apply on this node.
	Changes []*AssignmentChange `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"`
}

func (*AssignmentsMessage) Copy

func (*AssignmentsMessage) CopyFrom

func (m *AssignmentsMessage) CopyFrom(src interface{})

func (*AssignmentsMessage) Descriptor

func (*AssignmentsMessage) Descriptor() ([]byte, []int)

func (*AssignmentsMessage) Marshal

func (m *AssignmentsMessage) Marshal() (dAtA []byte, err error)

func (*AssignmentsMessage) MarshalTo

func (m *AssignmentsMessage) MarshalTo(dAtA []byte) (int, error)

func (*AssignmentsMessage) MarshalToSizedBuffer

func (m *AssignmentsMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssignmentsMessage) ProtoMessage

func (*AssignmentsMessage) ProtoMessage()

func (*AssignmentsMessage) Reset

func (m *AssignmentsMessage) Reset()

func (*AssignmentsMessage) Size

func (m *AssignmentsMessage) Size() (n int)

func (*AssignmentsMessage) String

func (this *AssignmentsMessage) String() string

func (*AssignmentsMessage) Unmarshal

func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error

func (*AssignmentsMessage) XXX_DiscardUnknown

func (m *AssignmentsMessage) XXX_DiscardUnknown()

func (*AssignmentsMessage) XXX_Marshal

func (m *AssignmentsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssignmentsMessage) XXX_Merge

func (m *AssignmentsMessage) XXX_Merge(src proto.Message)

func (*AssignmentsMessage) XXX_Size

func (m *AssignmentsMessage) XXX_Size() int

func (*AssignmentsMessage) XXX_Unmarshal

func (m *AssignmentsMessage) XXX_Unmarshal(b []byte) error

type AssignmentsMessage_Type

type AssignmentsMessage_Type int32

AssignmentType specifies whether this assignment message carries the full state, or is an update to an existing state.

const (
	AssignmentsMessage_COMPLETE    AssignmentsMessage_Type = 0
	AssignmentsMessage_INCREMENTAL AssignmentsMessage_Type = 1
)

func (AssignmentsMessage_Type) EnumDescriptor

func (AssignmentsMessage_Type) EnumDescriptor() ([]byte, []int)

func (AssignmentsMessage_Type) String

func (x AssignmentsMessage_Type) String() string

type AssignmentsRequest

type AssignmentsRequest struct {
	SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
}

func (*AssignmentsRequest) Copy

func (*AssignmentsRequest) CopyFrom

func (m *AssignmentsRequest) CopyFrom(src interface{})

func (*AssignmentsRequest) Descriptor

func (*AssignmentsRequest) Descriptor() ([]byte, []int)

func (*AssignmentsRequest) Marshal

func (m *AssignmentsRequest) Marshal() (dAtA []byte, err error)

func (*AssignmentsRequest) MarshalTo

func (m *AssignmentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*AssignmentsRequest) MarshalToSizedBuffer

func (m *AssignmentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssignmentsRequest) ProtoMessage

func (*AssignmentsRequest) ProtoMessage()

func (*AssignmentsRequest) Reset

func (m *AssignmentsRequest) Reset()

func (*AssignmentsRequest) Size

func (m *AssignmentsRequest) Size() (n int)

func (*AssignmentsRequest) String

func (this *AssignmentsRequest) String() string

func (*AssignmentsRequest) Unmarshal

func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error

func (*AssignmentsRequest) XXX_DiscardUnknown

func (m *AssignmentsRequest) XXX_DiscardUnknown()

func (*AssignmentsRequest) XXX_Marshal

func (m *AssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssignmentsRequest) XXX_Merge

func (m *AssignmentsRequest) XXX_Merge(src proto.Message)

func (*AssignmentsRequest) XXX_Size

func (m *AssignmentsRequest) XXX_Size() int

func (*AssignmentsRequest) XXX_Unmarshal

func (m *AssignmentsRequest) XXX_Unmarshal(b []byte) error

type AttachNetworkRequest

type AttachNetworkRequest struct {
	Config      *NetworkAttachmentConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	ContainerID string                   `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

func (*AttachNetworkRequest) Copy

func (*AttachNetworkRequest) CopyFrom

func (m *AttachNetworkRequest) CopyFrom(src interface{})

func (*AttachNetworkRequest) Descriptor

func (*AttachNetworkRequest) Descriptor() ([]byte, []int)

func (*AttachNetworkRequest) Marshal

func (m *AttachNetworkRequest) Marshal() (dAtA []byte, err error)

func (*AttachNetworkRequest) MarshalTo

func (m *AttachNetworkRequest) MarshalTo(dAtA []byte) (int, error)

func (*AttachNetworkRequest) MarshalToSizedBuffer

func (m *AttachNetworkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachNetworkRequest) ProtoMessage

func (*AttachNetworkRequest) ProtoMessage()

func (*AttachNetworkRequest) Reset

func (m *AttachNetworkRequest) Reset()

func (*AttachNetworkRequest) Size

func (m *AttachNetworkRequest) Size() (n int)

func (*AttachNetworkRequest) String

func (this *AttachNetworkRequest) String() string

func (*AttachNetworkRequest) Unmarshal

func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error

func (*AttachNetworkRequest) XXX_DiscardUnknown

func (m *AttachNetworkRequest) XXX_DiscardUnknown()

func (*AttachNetworkRequest) XXX_Marshal

func (m *AttachNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachNetworkRequest) XXX_Merge

func (m *AttachNetworkRequest) XXX_Merge(src proto.Message)

func (*AttachNetworkRequest) XXX_Size

func (m *AttachNetworkRequest) XXX_Size() int

func (*AttachNetworkRequest) XXX_Unmarshal

func (m *AttachNetworkRequest) XXX_Unmarshal(b []byte) error

type AttachNetworkResponse

type AttachNetworkResponse struct {
	AttachmentID string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
}

func (*AttachNetworkResponse) Copy

func (*AttachNetworkResponse) CopyFrom

func (m *AttachNetworkResponse) CopyFrom(src interface{})

func (*AttachNetworkResponse) Descriptor

func (*AttachNetworkResponse) Descriptor() ([]byte, []int)

func (*AttachNetworkResponse) Marshal

func (m *AttachNetworkResponse) Marshal() (dAtA []byte, err error)

func (*AttachNetworkResponse) MarshalTo

func (m *AttachNetworkResponse) MarshalTo(dAtA []byte) (int, error)

func (*AttachNetworkResponse) MarshalToSizedBuffer

func (m *AttachNetworkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachNetworkResponse) ProtoMessage

func (*AttachNetworkResponse) ProtoMessage()

func (*AttachNetworkResponse) Reset

func (m *AttachNetworkResponse) Reset()

func (*AttachNetworkResponse) Size

func (m *AttachNetworkResponse) Size() (n int)

func (*AttachNetworkResponse) String

func (this *AttachNetworkResponse) String() string

func (*AttachNetworkResponse) Unmarshal

func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error

func (*AttachNetworkResponse) XXX_DiscardUnknown

func (m *AttachNetworkResponse) XXX_DiscardUnknown()

func (*AttachNetworkResponse) XXX_Marshal

func (m *AttachNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachNetworkResponse) XXX_Merge

func (m *AttachNetworkResponse) XXX_Merge(src proto.Message)

func (*AttachNetworkResponse) XXX_Size

func (m *AttachNetworkResponse) XXX_Size() int

func (*AttachNetworkResponse) XXX_Unmarshal

func (m *AttachNetworkResponse) XXX_Unmarshal(b []byte) error

type BlacklistedCertificate

type BlacklistedCertificate struct {
	// Expiry is the latest known expiration time of a certificate that
	// was issued for the given CN.
	// Note: can't use stdtime because this field is nullable.
	Expiry *types.Timestamp `protobuf:"bytes,1,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

BlacklistedCertificate is a record for a blacklisted certificate. It does not contain the certificate's CN, because these records are indexed by CN.

func (*BlacklistedCertificate) Copy

func (*BlacklistedCertificate) CopyFrom

func (m *BlacklistedCertificate) CopyFrom(src interface{})

func (*BlacklistedCertificate) Descriptor

func (*BlacklistedCertificate) Descriptor() ([]byte, []int)

func (*BlacklistedCertificate) Marshal

func (m *BlacklistedCertificate) Marshal() (dAtA []byte, err error)

func (*BlacklistedCertificate) MarshalTo

func (m *BlacklistedCertificate) MarshalTo(dAtA []byte) (int, error)

func (*BlacklistedCertificate) MarshalToSizedBuffer

func (m *BlacklistedCertificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlacklistedCertificate) ProtoMessage

func (*BlacklistedCertificate) ProtoMessage()

func (*BlacklistedCertificate) Reset

func (m *BlacklistedCertificate) Reset()

func (*BlacklistedCertificate) Size

func (m *BlacklistedCertificate) Size() (n int)

func (*BlacklistedCertificate) String

func (this *BlacklistedCertificate) String() string

func (*BlacklistedCertificate) Unmarshal

func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error

func (*BlacklistedCertificate) XXX_DiscardUnknown

func (m *BlacklistedCertificate) XXX_DiscardUnknown()

func (*BlacklistedCertificate) XXX_Marshal

func (m *BlacklistedCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlacklistedCertificate) XXX_Merge

func (m *BlacklistedCertificate) XXX_Merge(src proto.Message)

func (*BlacklistedCertificate) XXX_Size

func (m *BlacklistedCertificate) XXX_Size() int

func (*BlacklistedCertificate) XXX_Unmarshal

func (m *BlacklistedCertificate) XXX_Unmarshal(b []byte) error

type CAClient

type CAClient interface {
	GetRootCACertificate(ctx context.Context, in *GetRootCACertificateRequest, opts ...grpc.CallOption) (*GetRootCACertificateResponse, error)
	// GetUnlockKey returns the current unlock key for the cluster for the role of the client
	// asking.
	GetUnlockKey(ctx context.Context, in *GetUnlockKeyRequest, opts ...grpc.CallOption) (*GetUnlockKeyResponse, error)
}

CAClient is the client API for CA service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCAClient

func NewCAClient(cc *grpc.ClientConn) CAClient

type CAConfig

type CAConfig struct {
	// NodeCertExpiry is the duration certificates should be issued for
	// Note: can't use stdduration because this field needs to be nullable.
	NodeCertExpiry *types.Duration `protobuf:"bytes,1,opt,name=node_cert_expiry,json=nodeCertExpiry,proto3" json:"node_cert_expiry,omitempty"`
	// ExternalCAs is a list of CAs to which a manager node will make
	// certificate signing requests for node certificates.
	ExternalCAs []*ExternalCA `protobuf:"bytes,2,rep,name=external_cas,json=externalCas,proto3" json:"external_cas,omitempty"`
	// SigningCACert is the desired CA certificate to be used as the root and
	// signing CA for the swarm.  If not provided, indicates that we are either happy
	// with the current configuration, or (together with a bump in the ForceRotate value)
	// that we want a certificate and key generated for us.
	SigningCACert []byte `protobuf:"bytes,3,opt,name=signing_ca_cert,json=signingCaCert,proto3" json:"signing_ca_cert,omitempty"`
	// SigningCAKey is the desired private key, matching the signing CA cert, to be used
	// to sign certificates for the swarm
	SigningCAKey []byte `protobuf:"bytes,4,opt,name=signing_ca_key,json=signingCaKey,proto3" json:"signing_ca_key,omitempty"`
	// ForceRotate is a counter that triggers a root CA rotation even if no relevant
	// parameters have been in the spec. This will force the manager to generate a new
	// certificate and key, if none have been provided.
	ForceRotate uint64 `protobuf:"varint,5,opt,name=force_rotate,json=forceRotate,proto3" json:"force_rotate,omitempty"`
}

func (*CAConfig) Copy

func (m *CAConfig) Copy() *CAConfig

func (*CAConfig) CopyFrom

func (m *CAConfig) CopyFrom(src interface{})

func (*CAConfig) Descriptor

func (*CAConfig) Descriptor() ([]byte, []int)

func (*CAConfig) Marshal

func (m *CAConfig) Marshal() (dAtA []byte, err error)

func (*CAConfig) MarshalTo

func (m *CAConfig) MarshalTo(dAtA []byte) (int, error)

func (*CAConfig) MarshalToSizedBuffer

func (m *CAConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CAConfig) ProtoMessage

func (*CAConfig) ProtoMessage()

func (*CAConfig) Reset

func (m *CAConfig) Reset()

func (*CAConfig) Size

func (m *CAConfig) Size() (n int)

func (*CAConfig) String

func (this *CAConfig) String() string

func (*CAConfig) Unmarshal

func (m *CAConfig) Unmarshal(dAtA []byte) error

func (*CAConfig) XXX_DiscardUnknown

func (m *CAConfig) XXX_DiscardUnknown()

func (*CAConfig) XXX_Marshal

func (m *CAConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CAConfig) XXX_Merge

func (m *CAConfig) XXX_Merge(src proto.Message)

func (*CAConfig) XXX_Size

func (m *CAConfig) XXX_Size() int

func (*CAConfig) XXX_Unmarshal

func (m *CAConfig) XXX_Unmarshal(b []byte) error

type CAServer

type CAServer interface {
	GetRootCACertificate(context.Context, *GetRootCACertificateRequest) (*GetRootCACertificateResponse, error)
	// GetUnlockKey returns the current unlock key for the cluster for the role of the client
	// asking.
	GetUnlockKey(context.Context, *GetUnlockKeyRequest) (*GetUnlockKeyResponse, error)
}

CAServer is the server API for CA service.

func NewAuthenticatedWrapperCAServer

func NewAuthenticatedWrapperCAServer(local CAServer, authorize func(context.Context, []string) error) CAServer

func NewRaftProxyCAServer

func NewRaftProxyCAServer(local CAServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) CAServer

type CapacityRange

type CapacityRange struct {
	// RequiredBytes specifies that a volume must be at least this big. The value
	// of 0 indicates an unspecified minimum. Must not be negative.
	RequiredBytes int64 `protobuf:"varint,1,opt,name=required_bytes,json=requiredBytes,proto3" json:"required_bytes,omitempty"`
	// LimitBytes specifies that a volume must not be bigger than this. The value
	// of 0 indicates an unspecified maximum. Must not be negative.
	LimitBytes int64 `protobuf:"varint,2,opt,name=limit_bytes,json=limitBytes,proto3" json:"limit_bytes,omitempty"`
}

CapacityRange describes the minimum and maximum capacity a volume should be created with.

func (*CapacityRange) Copy

func (m *CapacityRange) Copy() *CapacityRange

func (*CapacityRange) CopyFrom

func (m *CapacityRange) CopyFrom(src interface{})

func (*CapacityRange) Descriptor

func (*CapacityRange) Descriptor() ([]byte, []int)

func (*CapacityRange) Marshal

func (m *CapacityRange) Marshal() (dAtA []byte, err error)

func (*CapacityRange) MarshalTo

func (m *CapacityRange) MarshalTo(dAtA []byte) (int, error)

func (*CapacityRange) MarshalToSizedBuffer

func (m *CapacityRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CapacityRange) ProtoMessage

func (*CapacityRange) ProtoMessage()

func (*CapacityRange) Reset

func (m *CapacityRange) Reset()

func (*CapacityRange) Size

func (m *CapacityRange) Size() (n int)

func (*CapacityRange) String

func (this *CapacityRange) String() string

func (*CapacityRange) Unmarshal

func (m *CapacityRange) Unmarshal(dAtA []byte) error

func (*CapacityRange) XXX_DiscardUnknown

func (m *CapacityRange) XXX_DiscardUnknown()

func (*CapacityRange) XXX_Marshal

func (m *CapacityRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CapacityRange) XXX_Merge

func (m *CapacityRange) XXX_Merge(src proto.Message)

func (*CapacityRange) XXX_Size

func (m *CapacityRange) XXX_Size() int

func (*CapacityRange) XXX_Unmarshal

func (m *CapacityRange) XXX_Unmarshal(b []byte) error

type Certificate

type Certificate struct {
	Role        NodeRole       `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"`
	CSR         []byte         `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"`
	Status      IssuanceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status"`
	Certificate []byte         `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// CN represents the node ID.
	CN string `protobuf:"bytes,5,opt,name=cn,proto3" json:"cn,omitempty"`
}

func (*Certificate) Copy

func (m *Certificate) Copy() *Certificate

func (*Certificate) CopyFrom

func (m *Certificate) CopyFrom(src interface{})

func (*Certificate) Descriptor

func (*Certificate) Descriptor() ([]byte, []int)

func (*Certificate) Marshal

func (m *Certificate) Marshal() (dAtA []byte, err error)

func (*Certificate) MarshalTo

func (m *Certificate) MarshalTo(dAtA []byte) (int, error)

func (*Certificate) MarshalToSizedBuffer

func (m *Certificate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) Reset

func (m *Certificate) Reset()

func (*Certificate) Size

func (m *Certificate) Size() (n int)

func (*Certificate) String

func (this *Certificate) String() string

func (*Certificate) Unmarshal

func (m *Certificate) Unmarshal(dAtA []byte) error

func (*Certificate) XXX_DiscardUnknown

func (m *Certificate) XXX_DiscardUnknown()

func (*Certificate) XXX_Marshal

func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Certificate) XXX_Merge

func (m *Certificate) XXX_Merge(src proto.Message)

func (*Certificate) XXX_Size

func (m *Certificate) XXX_Size() int

func (*Certificate) XXX_Unmarshal

func (m *Certificate) XXX_Unmarshal(b []byte) error

type Cluster

type Cluster struct {
	ID   string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta Meta        `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"`
	Spec ClusterSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"`
	// RootCA contains key material for the root CA.
	RootCA RootCA `protobuf:"bytes,4,opt,name=root_ca,json=rootCa,proto3" json:"root_ca"`
	// Symmetric encryption key distributed by the lead manager. Used by agents
	// for securing network bootstrapping and communication.
	NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,5,rep,name=network_bootstrap_keys,json=networkBootstrapKeys,proto3" json:"network_bootstrap_keys,omitempty"`
	// Logical clock used to timestamp every key.  It allows other managers
	// and agents to unambiguously identify the older key to be deleted when
	// a new key is allocated on key rotation.
	EncryptionKeyLamportClock uint64 `` /* 141-byte string literal not displayed */
	// BlacklistedCertificates tracks certificates that should no longer
	// be honored. It's a mapping from CN -> BlacklistedCertificate.
	// swarm. Their certificates should effectively be blacklisted.
	BlacklistedCertificates map[string]*BlacklistedCertificate `` /* 218-byte string literal not displayed */
	// UnlockKeys defines the keys that lock node data at rest.  For example,
	// this would contain the key encrypting key (KEK) that will encrypt the
	// manager TLS keys at rest and the raft encryption keys at rest.
	// If the key is empty, the node will be unlocked (will not require a key
	// to start up from a shut down state).
	UnlockKeys []*EncryptionKey `protobuf:"bytes,9,rep,name=unlock_keys,json=unlockKeys,proto3" json:"unlock_keys,omitempty"`
	// FIPS specifies whether this cluster should be in FIPS mode.  This changes
	// the format of the join tokens, and nodes that are not FIPS-enabled should
	// reject joining the cluster.  Nodes that report themselves to be non-FIPS
	// should be rejected from the cluster.
	FIPS bool `protobuf:"varint,10,opt,name=fips,proto3" json:"fips,omitempty"`
	// This field specifies default subnet pools for global scope networks. If
	// unspecified, Docker will use the predefined subnets as it works on older releases.
	// Format Example : {"20.20.0.0/16",""20.20.0.0/16"}
	DefaultAddressPool []string `protobuf:"bytes,11,rep,name=defaultAddressPool,proto3" json:"defaultAddressPool,omitempty"`
	// This flag specifies the default subnet size of global scope networks by giving
	// the length of the subnet masks for every such network
	SubnetSize uint32 `protobuf:"varint,12,opt,name=subnetSize,proto3" json:"subnetSize,omitempty"`
	// VXLANUDPPort specifies the UDP port for VXLAN traffic.
	VXLANUDPPort uint32 `protobuf:"varint,13,opt,name=VXLANUDPPort,proto3" json:"VXLANUDPPort,omitempty"`
}

Cluster provides global cluster settings.

func (*Cluster) Copy

func (m *Cluster) Copy() *Cluster

func (*Cluster) CopyFrom

func (m *Cluster) CopyFrom(src interface{})

func (*Cluster) CopyStoreObject

func (m *Cluster) CopyStoreObject() StoreObject

func (*Cluster) Descriptor

func (*Cluster) Descriptor() ([]byte, []int)

func (*Cluster) EventCreate

func (m *Cluster) EventCreate() Event

func (*Cluster) EventDelete

func (m *Cluster) EventDelete() Event

func (*Cluster) EventUpdate

func (m *Cluster) EventUpdate(oldObject StoreObject) Event

func (*Cluster) GetID

func (m *Cluster) GetID() string

func (*Cluster) GetMeta

func (m *Cluster) GetMeta() Meta

func (*Cluster) Marshal

func (m *Cluster) Marshal() (dAtA []byte, err error)

func (*Cluster) MarshalTo

func (m *Cluster) MarshalTo(dAtA []byte) (int, error)

func (*Cluster) MarshalToSizedBuffer

func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) SetMeta

func (m *Cluster) SetMeta(meta Meta)

func (*Cluster) Size

func (m *Cluster) Size() (n int)

func (*Cluster) String

func (this *Cluster) String() string

func (*Cluster) Unmarshal

func (m *Cluster) Unmarshal(dAtA []byte) error

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cluster) XXX_Merge

func (m *Cluster) XXX_Merge(src proto.Message)

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

func (m *Cluster) XXX_Unmarshal(b []byte) error

type ClusterCheckFunc

type ClusterCheckFunc func(t1, t2 *Cluster) bool

type ClusterCustomIndexer

type ClusterCustomIndexer struct{}

func (ClusterCustomIndexer) FromArgs

func (indexer ClusterCustomIndexer) FromArgs(args ...interface{}) ([]byte, error)

func (ClusterCustomIndexer) FromObject

func (indexer ClusterCustomIndexer) FromObject(obj interface{}) (bool, [][]byte, error)

func (ClusterCustomIndexer) PrefixFromArgs

func (indexer ClusterCustomIndexer) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ClusterIndexerByID

type ClusterIndexerByID struct{}

func (ClusterIndexerByID) FromArgs

func (indexer ClusterIndexerByID) FromArgs(args ...interface{}) ([]byte, error)

func (ClusterIndexerByID) FromObject

func (indexer ClusterIndexerByID) FromObject(obj interface{}) (bool, []byte, error)

func (ClusterIndexerByID) PrefixFromArgs

func (indexer ClusterIndexerByID) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ClusterIndexerByName

type ClusterIndexerByName struct{}

func (ClusterIndexerByName) FromArgs

func (indexer ClusterIndexerByName) FromArgs(args ...interface{}) ([]byte, error)

func (ClusterIndexerByName) FromObject

func (indexer ClusterIndexerByName) FromObject(obj interface{}) (bool, []byte, error)

func (ClusterIndexerByName) PrefixFromArgs

func (indexer ClusterIndexerByName) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ClusterSnapshot

type ClusterSnapshot struct {
	Members []*RaftMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	Removed []uint64      `protobuf:"varint,2,rep,name=removed,proto3" json:"removed,omitempty"`
}

ClusterSnapshot stores cluster membership information in snapshots.

func (*ClusterSnapshot) Copy

func (m *ClusterSnapshot) Copy() *ClusterSnapshot

func (*ClusterSnapshot) CopyFrom

func (m *ClusterSnapshot) CopyFrom(src interface{})

func (*ClusterSnapshot) Descriptor

func (*ClusterSnapshot) Descriptor() ([]byte, []int)

func (*ClusterSnapshot) Marshal

func (m *ClusterSnapshot) Marshal() (dAtA []byte, err error)

func (*ClusterSnapshot) MarshalTo

func (m *ClusterSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*ClusterSnapshot) MarshalToSizedBuffer

func (m *ClusterSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterSnapshot) ProtoMessage

func (*ClusterSnapshot) ProtoMessage()

func (*ClusterSnapshot) Reset

func (m *ClusterSnapshot) Reset()

func (*ClusterSnapshot) Size

func (m *ClusterSnapshot) Size() (n int)

func (*ClusterSnapshot) String

func (this *ClusterSnapshot) String() string

func (*ClusterSnapshot) Unmarshal

func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error

func (*ClusterSnapshot) XXX_DiscardUnknown

func (m *ClusterSnapshot) XXX_DiscardUnknown()

func (*ClusterSnapshot) XXX_Marshal

func (m *ClusterSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterSnapshot) XXX_Merge

func (m *ClusterSnapshot) XXX_Merge(src proto.Message)

func (*ClusterSnapshot) XXX_Size

func (m *ClusterSnapshot) XXX_Size() int

func (*ClusterSnapshot) XXX_Unmarshal

func (m *ClusterSnapshot) XXX_Unmarshal(b []byte) error

type ClusterSpec

type ClusterSpec struct {
	Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"`
	// DEPRECATED: AcceptancePolicy defines the certificate issuance policy.
	// Acceptance policy is no longer customizable, and secrets have been
	// replaced with join tokens.
	AcceptancePolicy AcceptancePolicy `protobuf:"bytes,2,opt,name=acceptance_policy,json=acceptancePolicy,proto3" json:"acceptance_policy"` // Deprecated: Do not use.
	// Orchestration defines cluster-level orchestration settings.
	Orchestration OrchestrationConfig `protobuf:"bytes,3,opt,name=orchestration,proto3" json:"orchestration"`
	// Raft defines the cluster's raft settings.
	Raft RaftConfig `protobuf:"bytes,4,opt,name=raft,proto3" json:"raft"`
	// Dispatcher defines cluster-level dispatcher settings.
	Dispatcher DispatcherConfig `protobuf:"bytes,5,opt,name=dispatcher,proto3" json:"dispatcher"`
	// CAConfig defines cluster-level certificate authority settings.
	CAConfig CAConfig `protobuf:"bytes,6,opt,name=ca_config,json=caConfig,proto3" json:"ca_config"`
	// TaskDefaults specifies the default values to use for task creation.
	TaskDefaults TaskDefaults `protobuf:"bytes,7,opt,name=task_defaults,json=taskDefaults,proto3" json:"task_defaults"`
	// EncryptionConfig defines the cluster's encryption settings.
	EncryptionConfig EncryptionConfig `protobuf:"bytes,8,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config"`
}

ClusterSpec specifies global cluster settings.

func (*ClusterSpec) Copy

func (m *ClusterSpec) Copy() *ClusterSpec

func (*ClusterSpec) CopyFrom

func (m *ClusterSpec) CopyFrom(src interface{})

func (*ClusterSpec) Descriptor

func (*ClusterSpec) Descriptor() ([]byte, []int)

func (*ClusterSpec) Marshal

func (m *ClusterSpec) Marshal() (dAtA []byte, err error)

func (*ClusterSpec) MarshalTo

func (m *ClusterSpec) MarshalTo(dAtA []byte) (int, error)

func (*ClusterSpec) MarshalToSizedBuffer

func (m *ClusterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterSpec) ProtoMessage

func (*ClusterSpec) ProtoMessage()

func (*ClusterSpec) Reset

func (m *ClusterSpec) Reset()

func (*ClusterSpec) Size

func (m *ClusterSpec) Size() (n int)

func (*ClusterSpec) String

func (this *ClusterSpec) String() string

func (*ClusterSpec) Unmarshal

func (m *ClusterSpec) Unmarshal(dAtA []byte) error

func (*ClusterSpec) XXX_DiscardUnknown

func (m *ClusterSpec) XXX_DiscardUnknown()

func (*ClusterSpec) XXX_Marshal

func (m *ClusterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterSpec) XXX_Merge

func (m *ClusterSpec) XXX_Merge(src proto.Message)

func (*ClusterSpec) XXX_Size

func (m *ClusterSpec) XXX_Size() int

func (*ClusterSpec) XXX_Unmarshal

func (m *ClusterSpec) XXX_Unmarshal(b []byte) error

type Config

type Config struct {
	ID   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta Meta   `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"`
	// Spec contains the actual config data, as well as any context around the
	// config data that the user provides.
	Spec ConfigSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"`
}

Config represents a set of configuration files that should be passed to a container.

func (*Config) Copy

func (m *Config) Copy() *Config

func (*Config) CopyFrom

func (m *Config) CopyFrom(src interface{})

func (*Config) CopyStoreObject

func (m *Config) CopyStoreObject() StoreObject

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) EventCreate

func (m *Config) EventCreate() Event

func (*Config) EventDelete

func (m *Config) EventDelete() Event

func (*Config) EventUpdate

func (m *Config) EventUpdate(oldObject StoreObject) Event

func (*Config) GetID

func (m *Config) GetID() string

func (*Config) GetMeta

func (m *Config) GetMeta() Meta

func (*Config) Marshal

func (m *Config) Marshal() (dAtA []byte, err error)

func (*Config) MarshalTo

func (m *Config) MarshalTo(dAtA []byte) (int, error)

func (*Config) MarshalToSizedBuffer

func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) SetMeta

func (m *Config) SetMeta(meta Meta)

func (*Config) Size

func (m *Config) Size() (n int)

func (*Config) String

func (this *Config) String() string

func (*Config) Unmarshal

func (m *Config) Unmarshal(dAtA []byte) error

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

type ConfigCheckFunc

type ConfigCheckFunc func(t1, t2 *Config) bool

type ConfigCustomIndexer

type ConfigCustomIndexer struct{}

func (ConfigCustomIndexer) FromArgs

func (indexer ConfigCustomIndexer) FromArgs(args ...interface{}) ([]byte, error)

func (ConfigCustomIndexer) FromObject

func (indexer ConfigCustomIndexer) FromObject(obj interface{}) (bool, [][]byte, error)

func (ConfigCustomIndexer) PrefixFromArgs

func (indexer ConfigCustomIndexer) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ConfigIndexerByID

type ConfigIndexerByID struct{}

func (ConfigIndexerByID) FromArgs

func (indexer ConfigIndexerByID) FromArgs(args ...interface{}) ([]byte, error)

func (ConfigIndexerByID) FromObject

func (indexer ConfigIndexerByID) FromObject(obj interface{}) (bool, []byte, error)

func (ConfigIndexerByID) PrefixFromArgs

func (indexer ConfigIndexerByID) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ConfigIndexerByName

type ConfigIndexerByName struct{}

func (ConfigIndexerByName) FromArgs

func (indexer ConfigIndexerByName) FromArgs(args ...interface{}) ([]byte, error)

func (ConfigIndexerByName) FromObject

func (indexer ConfigIndexerByName) FromObject(obj interface{}) (bool, []byte, error)

func (ConfigIndexerByName) PrefixFromArgs

func (indexer ConfigIndexerByName) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ConfigReference

type ConfigReference struct {
	// ConfigID represents the ID of the specific Config that we're
	// referencing.
	ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// ConfigName is the name of the config that this references, but this is just provided for
	// lookup/display purposes. The config in the reference will be identified by its ID.
	ConfigName string `protobuf:"bytes,2,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
	// Target specifies how this config should be exposed to the task.
	//
	// Types that are valid to be assigned to Target:
	//	*ConfigReference_File
	//	*ConfigReference_Runtime
	Target isConfigReference_Target `protobuf_oneof:"target"`
}

ConfigReference is the linkage between a service and a config that it uses.

func (*ConfigReference) Copy

func (m *ConfigReference) Copy() *ConfigReference

func (*ConfigReference) CopyFrom

func (m *ConfigReference) CopyFrom(src interface{})

func (*ConfigReference) Descriptor

func (*ConfigReference) Descriptor() ([]byte, []int)

func (*ConfigReference) GetFile

func (m *ConfigReference) GetFile() *FileTarget

func (*ConfigReference) GetRuntime

func (m *ConfigReference) GetRuntime() *RuntimeTarget

func (*ConfigReference) GetTarget

func (m *ConfigReference) GetTarget() isConfigReference_Target

func (*ConfigReference) Marshal

func (m *ConfigReference) Marshal() (dAtA []byte, err error)

func (*ConfigReference) MarshalTo

func (m *ConfigReference) MarshalTo(dAtA []byte) (int, error)

func (*ConfigReference) MarshalToSizedBuffer

func (m *ConfigReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigReference) ProtoMessage

func (*ConfigReference) ProtoMessage()

func (*ConfigReference) Reset

func (m *ConfigReference) Reset()

func (*ConfigReference) Size

func (m *ConfigReference) Size() (n int)

func (*ConfigReference) String

func (this *ConfigReference) String() string

func (*ConfigReference) Unmarshal

func (m *ConfigReference) Unmarshal(dAtA []byte) error

func (*ConfigReference) XXX_DiscardUnknown

func (m *ConfigReference) XXX_DiscardUnknown()

func (*ConfigReference) XXX_Marshal

func (m *ConfigReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigReference) XXX_Merge

func (m *ConfigReference) XXX_Merge(src proto.Message)

func (*ConfigReference) XXX_OneofWrappers

func (*ConfigReference) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ConfigReference) XXX_Size

func (m *ConfigReference) XXX_Size() int

func (*ConfigReference) XXX_Unmarshal

func (m *ConfigReference) XXX_Unmarshal(b []byte) error

type ConfigReference_File

type ConfigReference_File struct {
	File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof" json:"file,omitempty"`
}

func (*ConfigReference_File) MarshalTo

func (m *ConfigReference_File) MarshalTo(dAtA []byte) (int, error)

func (*ConfigReference_File) MarshalToSizedBuffer

func (m *ConfigReference_File) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigReference_File) Size

func (m *ConfigReference_File) Size() (n int)

func (*ConfigReference_File) String

func (this *ConfigReference_File) String() string

type ConfigReference_Runtime

type ConfigReference_Runtime struct {
	Runtime *RuntimeTarget `protobuf:"bytes,4,opt,name=runtime,proto3,oneof" json:"runtime,omitempty"`
}

func (*ConfigReference_Runtime) MarshalTo

func (m *ConfigReference_Runtime) MarshalTo(dAtA []byte) (int, error)

func (*ConfigReference_Runtime) MarshalToSizedBuffer

func (m *ConfigReference_Runtime) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigReference_Runtime) Size

func (m *ConfigReference_Runtime) Size() (n int)

func (*ConfigReference_Runtime) String

func (this *ConfigReference_Runtime) String() string

type ConfigSpec

type ConfigSpec struct {
	Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"`
	// Data is the config payload - the maximum size is 500KB (that is, 500*1024 bytes)
	// TODO(aaronl): Do we want to revise this to include multiple payloads in a single
	// ConfigSpec? Define this to be a tar? etc...
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// Templating controls whether and how to evaluate the secret payload as
	// a template. If it is not set, no templating is used.
	//
	// The currently recognized values are:
	// - golang: Go templating
	Templating *Driver `protobuf:"bytes,3,opt,name=templating,proto3" json:"templating,omitempty"`
}

ConfigSpec specifies user-provided configuration files.

func (*ConfigSpec) Copy

func (m *ConfigSpec) Copy() *ConfigSpec

func (*ConfigSpec) CopyFrom

func (m *ConfigSpec) CopyFrom(src interface{})

func (*ConfigSpec) Descriptor

func (*ConfigSpec) Descriptor() ([]byte, []int)

func (*ConfigSpec) Marshal

func (m *ConfigSpec) Marshal() (dAtA []byte, err error)

func (*ConfigSpec) MarshalTo

func (m *ConfigSpec) MarshalTo(dAtA []byte) (int, error)

func (*ConfigSpec) MarshalToSizedBuffer

func (m *ConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) Reset

func (m *ConfigSpec) Reset()

func (*ConfigSpec) Size

func (m *ConfigSpec) Size() (n int)

func (*ConfigSpec) String

func (this *ConfigSpec) String() string

func (*ConfigSpec) Unmarshal

func (m *ConfigSpec) Unmarshal(dAtA []byte) error

func (*ConfigSpec) XXX_DiscardUnknown

func (m *ConfigSpec) XXX_DiscardUnknown()

func (*ConfigSpec) XXX_Marshal

func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSpec) XXX_Merge

func (m *ConfigSpec) XXX_Merge(src proto.Message)

func (*ConfigSpec) XXX_Size

func (m *ConfigSpec) XXX_Size() int

func (*ConfigSpec) XXX_Unmarshal

func (m *ConfigSpec) XXX_Unmarshal(b []byte) error

type ContainerSpec

type ContainerSpec struct {
	// image defines the image reference, as specified in the
	// distribution/reference package. This may include a registry host, name,
	// tag or digest.
	//
	// The field will be directly passed to the engine pulling. Well-behaved
	// service definitions will used immutable references, either through tags
	// that don't change or verifiable digests.
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Labels defines labels to be added to the container at creation time. If
	// collisions with system labels occur, these labels will be overridden.
	//
	// This field *must* remain compatible with the Labels field of
	// Annotations.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Command to run the the container. The first element is a path to the
	// executable and the following elements are treated as arguments.
	//
	// If command is empty, execution will fall back to the image's entrypoint.
	//
	// Command should only be used when overriding entrypoint.
	Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
	// Args specifies arguments provided to the image's entrypoint.
	//
	// If Command and Args are provided, Args will be appended to Command.
	Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	// Hostname specifies the hostname that will be set on containers created by docker swarm.
	// All containers for a given service will have the same hostname
	Hostname string `protobuf:"bytes,14,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Env specifies the environment variables for the container in NAME=VALUE
	// format. These must be compliant with  [IEEE Std
	// 1003.1-2001](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html).
	Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
	// Dir defines the working directory to set for the container process.
	Dir string `protobuf:"bytes,6,opt,name=dir,proto3" json:"dir,omitempty"`
	// User specifies the user that should be employed to run the container.
	//
	// Note that the primary group may be specified by appending the group name
	// or id to the user name, separated by a `:`. This syntax is
	// `<user>:<group>`.
	User string `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"`
	// Groups specifies supplementary groups available to the user.
	Groups []string `protobuf:"bytes,11,rep,name=groups,proto3" json:"groups,omitempty"`
	// Privileges specifies security configuration/permissions.
	Privileges *Privileges `protobuf:"bytes,22,opt,name=privileges,proto3" json:"privileges,omitempty"`
	// Init declares that a custom init will be running inside the container, if null, use the daemon's configured settings
	Init *types.BoolValue `protobuf:"bytes,23,opt,name=init,proto3" json:"init,omitempty"`
	// TTY declares that a TTY should be attached to the standard streams,
	// including stdin if it is still open.
	TTY bool `protobuf:"varint,13,opt,name=tty,proto3" json:"tty,omitempty"`
	// OpenStdin declares that the standard input (stdin) should be open.
	OpenStdin bool `protobuf:"varint,18,opt,name=open_stdin,json=openStdin,proto3" json:"open_stdin,omitempty"`
	// ReadOnly declares that the container root filesystem is read-only.
	// This only impacts the root filesystem, not additional mounts (including
	// tmpfs). For additional mounts that are not part of the initial rootfs,
	// they will be decided by the modes passed in the mount definition.
	ReadOnly bool `protobuf:"varint,19,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// StopSignal defines the signal to stop the container.
	StopSignal string  `protobuf:"bytes,20,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"`
	Mounts     []Mount `protobuf:"bytes,8,rep,name=mounts,proto3" json:"mounts"`
	// StopGracePeriod the grace period for stopping the container before
	// forcefully killing the container.
	// Note: Can't use stdduration here because this needs to be nullable.
	StopGracePeriod *types.Duration `protobuf:"bytes,9,opt,name=stop_grace_period,json=stopGracePeriod,proto3" json:"stop_grace_period,omitempty"`
	// PullOptions parameterize the behavior of image pulls.
	PullOptions *ContainerSpec_PullOptions `protobuf:"bytes,10,opt,name=pull_options,json=pullOptions,proto3" json:"pull_options,omitempty"`
	// SecretReference contains references to zero or more secrets that
	// will be exposed to the container.
	Secrets []*SecretReference `protobuf:"bytes,12,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// ConfigReference contains references to zero or more configs that
	// will be exposed to the container.
	Configs []*ConfigReference `protobuf:"bytes,21,rep,name=configs,proto3" json:"configs,omitempty"`
	// Hosts allow additional entries to be specified in /etc/hosts
	// that associates IP addresses with hostnames.
	// Detailed documentation is available in:
	// http://man7.org/linux/man-pages/man5/hosts.5.html
	//   IP_address canonical_hostname [aliases...]
	//
	// The format of the Hosts in swarmkit follows the same as
	// above.
	// This is different from `docker run --add-host <hostname>:<ip>`
	// where format is `<hostname>:<ip>`
	Hosts []string `protobuf:"bytes,17,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// DNSConfig allows one to specify DNS related configuration in resolv.conf
	DNSConfig *ContainerSpec_DNSConfig `protobuf:"bytes,15,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"`
	// Healthcheck describes how to check the container is healthy. If the
	// container is considered unhealthy, it will be destroyed, its creating
	// task will exit and a new task will be rescheduled elsewhere. A container
	// is considered unhealthy after `Retries` number of consecutive failures.
	Healthcheck *HealthConfig `protobuf:"bytes,16,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`
	// Isolation defines the isolation level for windows containers (default, process, hyperv).
	// Runtimes that don't support it ignore that field
	Isolation ContainerSpec_Isolation `protobuf:"varint,24,opt,name=isolation,proto3,enum=docker.swarmkit.v1.ContainerSpec_Isolation" json:"isolation,omitempty"`
	// PidsLimit prevents from OS resource damage by applications inside the container
	// using fork bomb attack.
	PidsLimit int64 `protobuf:"varint,25,opt,name=pidsLimit,proto3" json:"pidsLimit,omitempty"`
	// Sysctls sets namespaced kernel parameters (sysctls) in the container. This
	// option is equivalent to passing --sysctl to docker run.
	//
	// Note that while options are subject to the same restrictions as arguments
	// passed to the --sysctl flag on docker run, those options are not further
	// validated to ensure that they are safe or sensible in a clustered
	// environment.
	//
	// Additionally, sysctls are not validated for support in the underlying
	// daemon. For information about supported options, refer to the
	// documentation at:
	//
	// https://docs.docker.com/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime
	Sysctls map[string]string `` /* 156-byte string literal not displayed */
	// CapabilityAdd sets the list of capabilities to add to the default capability list
	CapabilityAdd []string `protobuf:"bytes,27,rep,name=capability_add,json=capabilityAdd,proto3" json:"capability_add,omitempty"`
	// CapabilityDrop sets the list of capabilities to drop from the default capability list
	CapabilityDrop []string `protobuf:"bytes,28,rep,name=capability_drop,json=capabilityDrop,proto3" json:"capability_drop,omitempty"`
	// Ulimits defines the list of ulimits to set in the container. This option
	// is equivalent to passing --ulimit to docker run.
	Ulimits []*ContainerSpec_Ulimit `protobuf:"bytes,29,rep,name=ulimits,proto3" json:"ulimits,omitempty"`
	// OOmScoreAdj defines the relative value used for destroying a container during an OOM
	// Values are between -1000 and 1000
	OomScoreAdj int64 `protobuf:"varint,30,opt,name=oom_score_adj,json=oomScoreAdj,proto3" json:"oom_score_adj,omitempty"`
}

Container specifies runtime parameters for a container.

func (*ContainerSpec) Copy

func (m *ContainerSpec) Copy() *ContainerSpec

func (*ContainerSpec) CopyFrom

func (m *ContainerSpec) CopyFrom(src interface{})

func (*ContainerSpec) Descriptor

func (*ContainerSpec) Descriptor() ([]byte, []int)

func (*ContainerSpec) Marshal

func (m *ContainerSpec) Marshal() (dAtA []byte, err error)

func (*ContainerSpec) MarshalTo

func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSpec) MarshalToSizedBuffer

func (m *ContainerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSpec) ProtoMessage

func (*ContainerSpec) ProtoMessage()

func (*ContainerSpec) Reset

func (m *ContainerSpec) Reset()

func (*ContainerSpec) Size

func (m *ContainerSpec) Size() (n int)

func (*ContainerSpec) String

func (this *ContainerSpec) String() string

func (*ContainerSpec) Unmarshal

func (m *ContainerSpec) Unmarshal(dAtA []byte) error

func (*ContainerSpec) XXX_DiscardUnknown

func (m *ContainerSpec) XXX_DiscardUnknown()

func (*ContainerSpec) XXX_Marshal

func (m *ContainerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSpec) XXX_Merge

func (m *ContainerSpec) XXX_Merge(src proto.Message)

func (*ContainerSpec) XXX_Size

func (m *ContainerSpec) XXX_Size() int

func (*ContainerSpec) XXX_Unmarshal

func (m *ContainerSpec) XXX_Unmarshal(b []byte) error

type ContainerSpec_DNSConfig

type ContainerSpec_DNSConfig struct {
	// Nameservers specifies the IP addresses of the name servers
	Nameservers []string `protobuf:"bytes,1,rep,name=nameservers,proto3" json:"nameservers,omitempty"`
	// Search specifies the search list for host-name lookup
	Search []string `protobuf:"bytes,2,rep,name=search,proto3" json:"search,omitempty"`
	// Options allows certain internal resolver variables to be modified
	Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
}

DNSConfig specifies DNS related configurations in resolver configuration file (resolv.conf) Detailed documentation is available in: http://man7.org/linux/man-pages/man5/resolv.conf.5.html TODO: domain is not supported yet

func (*ContainerSpec_DNSConfig) Copy

func (*ContainerSpec_DNSConfig) CopyFrom

func (m *ContainerSpec_DNSConfig) CopyFrom(src interface{})

func (*ContainerSpec_DNSConfig) Descriptor

func (*ContainerSpec_DNSConfig) Descriptor() ([]byte, []int)

func (*ContainerSpec_DNSConfig) Marshal

func (m *ContainerSpec_DNSConfig) Marshal() (dAtA []byte, err error)

func (*ContainerSpec_DNSConfig) MarshalTo

func (m *ContainerSpec_DNSConfig) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSpec_DNSConfig) MarshalToSizedBuffer

func (m *ContainerSpec_DNSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSpec_DNSConfig) ProtoMessage

func (*ContainerSpec_DNSConfig) ProtoMessage()

func (*ContainerSpec_DNSConfig) Reset

func (m *ContainerSpec_DNSConfig) Reset()

func (*ContainerSpec_DNSConfig) Size

func (m *ContainerSpec_DNSConfig) Size() (n int)

func (*ContainerSpec_DNSConfig) String

func (this *ContainerSpec_DNSConfig) String() string

func (*ContainerSpec_DNSConfig) Unmarshal

func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error

func (*ContainerSpec_DNSConfig) XXX_DiscardUnknown

func (m *ContainerSpec_DNSConfig) XXX_DiscardUnknown()

func (*ContainerSpec_DNSConfig) XXX_Marshal

func (m *ContainerSpec_DNSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSpec_DNSConfig) XXX_Merge

func (m *ContainerSpec_DNSConfig) XXX_Merge(src proto.Message)

func (*ContainerSpec_DNSConfig) XXX_Size

func (m *ContainerSpec_DNSConfig) XXX_Size() int

func (*ContainerSpec_DNSConfig) XXX_Unmarshal

func (m *ContainerSpec_DNSConfig) XXX_Unmarshal(b []byte) error

type ContainerSpec_Isolation

type ContainerSpec_Isolation int32
const (
	// ISOLATION_DEFAULT uses whatever default value from the container runtime
	ContainerIsolationDefault ContainerSpec_Isolation = 0
	// ISOLATION_PROCESS forces windows container isolation
	ContainerIsolationProcess ContainerSpec_Isolation = 1
	// ISOLATION_HYPERV forces Hyper-V isolation
	ContainerIsolationHyperV ContainerSpec_Isolation = 2
)

func (ContainerSpec_Isolation) EnumDescriptor

func (ContainerSpec_Isolation) EnumDescriptor() ([]byte, []int)

func (ContainerSpec_Isolation) String

func (x ContainerSpec_Isolation) String() string

type ContainerSpec_PullOptions

type ContainerSpec_PullOptions struct {
	// RegistryAuth is the registry auth token obtained from the client, required
	// to pull private images. This is the unmodified JSON used as part of
	// the `X-Registry-Auth` header.
	// TODO(nishanttotla): This field will later be deprecated
	RegistryAuth string `protobuf:"bytes,64,opt,name=registry_auth,json=registryAuth,proto3" json:"registry_auth,omitempty"`
}

PullOptions allows one to parameterize an image pull.

func (*ContainerSpec_PullOptions) Copy

func (*ContainerSpec_PullOptions) CopyFrom

func (m *ContainerSpec_PullOptions) CopyFrom(src interface{})

func (*ContainerSpec_PullOptions) Descriptor

func (*ContainerSpec_PullOptions) Descriptor() ([]byte, []int)

func (*ContainerSpec_PullOptions) Marshal

func (m *ContainerSpec_PullOptions) Marshal() (dAtA []byte, err error)

func (*ContainerSpec_PullOptions) MarshalTo

func (m *ContainerSpec_PullOptions) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSpec_PullOptions) MarshalToSizedBuffer

func (m *ContainerSpec_PullOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSpec_PullOptions) ProtoMessage

func (*ContainerSpec_PullOptions) ProtoMessage()

func (*ContainerSpec_PullOptions) Reset

func (m *ContainerSpec_PullOptions) Reset()

func (*ContainerSpec_PullOptions) Size

func (m *ContainerSpec_PullOptions) Size() (n int)

func (*ContainerSpec_PullOptions) String

func (this *ContainerSpec_PullOptions) String() string

func (*ContainerSpec_PullOptions) Unmarshal

func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error

func (*ContainerSpec_PullOptions) XXX_DiscardUnknown

func (m *ContainerSpec_PullOptions) XXX_DiscardUnknown()

func (*ContainerSpec_PullOptions) XXX_Marshal

func (m *ContainerSpec_PullOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSpec_PullOptions) XXX_Merge

func (m *ContainerSpec_PullOptions) XXX_Merge(src proto.Message)

func (*ContainerSpec_PullOptions) XXX_Size

func (m *ContainerSpec_PullOptions) XXX_Size() int

func (*ContainerSpec_PullOptions) XXX_Unmarshal

func (m *ContainerSpec_PullOptions) XXX_Unmarshal(b []byte) error

type ContainerSpec_Ulimit

type ContainerSpec_Ulimit struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Soft int64  `protobuf:"varint,2,opt,name=soft,proto3" json:"soft,omitempty"`
	Hard int64  `protobuf:"varint,3,opt,name=hard,proto3" json:"hard,omitempty"`
}

func (*ContainerSpec_Ulimit) Copy

func (*ContainerSpec_Ulimit) CopyFrom

func (m *ContainerSpec_Ulimit) CopyFrom(src interface{})

func (*ContainerSpec_Ulimit) Descriptor

func (*ContainerSpec_Ulimit) Descriptor() ([]byte, []int)

func (*ContainerSpec_Ulimit) Marshal

func (m *ContainerSpec_Ulimit) Marshal() (dAtA []byte, err error)

func (*ContainerSpec_Ulimit) MarshalTo

func (m *ContainerSpec_Ulimit) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSpec_Ulimit) MarshalToSizedBuffer

func (m *ContainerSpec_Ulimit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSpec_Ulimit) ProtoMessage

func (*ContainerSpec_Ulimit) ProtoMessage()

func (*ContainerSpec_Ulimit) Reset

func (m *ContainerSpec_Ulimit) Reset()

func (*ContainerSpec_Ulimit) Size

func (m *ContainerSpec_Ulimit) Size() (n int)

func (*ContainerSpec_Ulimit) String

func (this *ContainerSpec_Ulimit) String() string

func (*ContainerSpec_Ulimit) Unmarshal

func (m *ContainerSpec_Ulimit) Unmarshal(dAtA []byte) error

func (*ContainerSpec_Ulimit) XXX_DiscardUnknown

func (m *ContainerSpec_Ulimit) XXX_DiscardUnknown()

func (*ContainerSpec_Ulimit) XXX_Marshal

func (m *ContainerSpec_Ulimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSpec_Ulimit) XXX_Merge

func (m *ContainerSpec_Ulimit) XXX_Merge(src proto.Message)

func (*ContainerSpec_Ulimit) XXX_Size

func (m *ContainerSpec_Ulimit) XXX_Size() int

func (*ContainerSpec_Ulimit) XXX_Unmarshal

func (m *ContainerSpec_Ulimit) XXX_Unmarshal(b []byte) error

type ContainerStatus

type ContainerStatus struct {
	ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	PID         int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	ExitCode    int32  `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
}

Container specific status.

func (*ContainerStatus) Copy

func (m *ContainerStatus) Copy() *ContainerStatus

func (*ContainerStatus) CopyFrom

func (m *ContainerStatus) CopyFrom(src interface{})

func (*ContainerStatus) Descriptor

func (*ContainerStatus) Descriptor() ([]byte, []int)

func (*ContainerStatus) Marshal

func (m *ContainerStatus) Marshal() (dAtA []byte, err error)

func (*ContainerStatus) MarshalTo

func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatus) MarshalToSizedBuffer

func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) Reset

func (m *ContainerStatus) Reset()

func (*ContainerStatus) Size

func (m *ContainerStatus) Size() (n int)

func (*ContainerStatus) String

func (this *ContainerStatus) String() string

func (*ContainerStatus) Unmarshal

func (m *ContainerStatus) Unmarshal(dAtA []byte) error

func (*ContainerStatus) XXX_DiscardUnknown

func (m *ContainerStatus) XXX_DiscardUnknown()

func (*ContainerStatus) XXX_Marshal

func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatus) XXX_Merge

func (m *ContainerStatus) XXX_Merge(src proto.Message)

func (*ContainerStatus) XXX_Size

func (m *ContainerStatus) XXX_Size() int

func (*ContainerStatus) XXX_Unmarshal

func (m *ContainerStatus) XXX_Unmarshal(b []byte) error

type ControlClient

type ControlClient interface {
	GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
	ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error)
	UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error)
	RemoveNode(ctx context.Context, in *RemoveNodeRequest, opts ...grpc.CallOption) (*RemoveNodeResponse, error)
	GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error)
	ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
	RemoveTask(ctx context.Context, in *RemoveTaskRequest, opts ...grpc.CallOption) (*RemoveTaskResponse, error)
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*GetServiceResponse, error)
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*CreateServiceResponse, error)
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*UpdateServiceResponse, error)
	RemoveService(ctx context.Context, in *RemoveServiceRequest, opts ...grpc.CallOption) (*RemoveServiceResponse, error)
	// ListServiceStatuses returns a `ListServiceStatusesResponse` with the
	// status of the requested services, formed by computing the number of
	// running vs desired tasks. It is provided as a shortcut or helper method,
	// which allows a client to avoid having to calculate this value by listing
	// all Tasks. If any service requested does not exist, it will be returned
	// but with empty status values.
	ListServiceStatuses(ctx context.Context, in *ListServiceStatusesRequest, opts ...grpc.CallOption) (*ListServiceStatusesResponse, error)
	GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error)
	ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error)
	CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error)
	RemoveNetwork(ctx context.Context, in *RemoveNetworkRequest, opts ...grpc.CallOption) (*RemoveNetworkResponse, error)
	GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*GetClusterResponse, error)
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error)
	// GetSecret returns a `GetSecretResponse` with a `Secret` with the same
	// id as `GetSecretRequest.SecretID`
	// - Returns `NotFound` if the Secret with the given id is not found.
	// - Returns `InvalidArgument` if the `GetSecretRequest.SecretID` is empty.
	// - Returns an error if getting fails.
	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
	// UpdateSecret returns a `UpdateSecretResponse` with a `Secret` with the same
	// id as `GetSecretRequest.SecretID`
	// - Returns `NotFound` if the Secret with the given id is not found.
	// - Returns `InvalidArgument` if the `GetSecretRequest.SecretID` is empty.
	// - Returns an error if updating fails.
	UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*UpdateSecretResponse, error)
	// ListSecrets returns a `ListSecretResponse` with a list of all non-internal `Secret`s being
	// managed, or all secrets matching any name in `ListSecretsRequest.Names`, any
	// name prefix in `ListSecretsRequest.NamePrefixes`, any id in
	// `ListSecretsRequest.SecretIDs`, or any id prefix in `ListSecretsRequest.IDPrefixes`.
	// - Returns an error if listing fails.
	ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
	// CreateSecret creates and return a `CreateSecretResponse` with a `Secret` based
	// on the provided `CreateSecretRequest.SecretSpec`.
	// - Returns `InvalidArgument` if the `CreateSecretRequest.SecretSpec` is malformed,
	//   or if the secret data is too long or contains invalid characters.
	// - Returns an error if the creation fails.
	CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*CreateSecretResponse, error)
	// RemoveSecret removes the secret referenced by `RemoveSecretRequest.ID`.
	// - Returns `InvalidArgument` if `RemoveSecretRequest.ID` is empty.
	// - Returns `NotFound` if the a secret named `RemoveSecretRequest.ID` is not found.
	// - Returns an error if the deletion fails.
	RemoveSecret(ctx context.Context, in *RemoveSecretRequest, opts ...grpc.CallOption) (*RemoveSecretResponse, error)
	// GetConfig returns a `GetConfigResponse` with a `Config` with the same
	// id as `GetConfigRequest.ConfigID`
	// - Returns `NotFound` if the Config with the given id is not found.
	// - Returns `InvalidArgument` if the `GetConfigRequest.ConfigID` is empty.
	// - Returns an error if getting fails.
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
	// UpdateConfig returns a `UpdateConfigResponse` with a `Config` with the same
	// id as `GetConfigRequest.ConfigID`
	// - Returns `NotFound` if the Config with the given id is not found.
	// - Returns `InvalidArgument` if the `GetConfigRequest.ConfigID` is empty.
	// - Returns an error if updating fails.
	UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*UpdateConfigResponse, error)
	// ListConfigs returns a `ListConfigResponse` with a list of `Config`s being
	// managed, or all configs matching any name in `ListConfigsRequest.Names`, any
	// name prefix in `ListConfigsRequest.NamePrefixes`, any id in
	// `ListConfigsRequest.ConfigIDs`, or any id prefix in `ListConfigsRequest.IDPrefixes`.
	// - Returns an error if listing fails.
	ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error)
	// CreateConfig creates and return a `CreateConfigResponse` with a `Config` based
	// on the provided `CreateConfigRequest.ConfigSpec`.
	// - Returns `InvalidArgument` if the `CreateConfigRequest.ConfigSpec` is malformed,
	//   or if the config data is too long or contains invalid characters.
	// - Returns an error if the creation fails.
	CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*CreateConfigResponse, error)
	// RemoveConfig removes the config referenced by `RemoveConfigRequest.ID`.
	// - Returns `InvalidArgument` if `RemoveConfigRequest.ID` is empty.
	// - Returns `NotFound` if the a config named `RemoveConfigRequest.ID` is not found.
	// - Returns an error if the deletion fails.
	RemoveConfig(ctx context.Context, in *RemoveConfigRequest, opts ...grpc.CallOption) (*RemoveConfigResponse, error)
	// GetExtension returns a `GetExtensionResponse` with a `Extension` with the same
	// id as `GetExtensionRequest.ExtensionId`
	// - Returns `NotFound` if the Extension with the given id is not found.
	// - Returns `InvalidArgument` if the `GetExtensionRequest.ExtensionId` is empty.
	// - Returns an error if the get fails.
	GetExtension(ctx context.Context, in *GetExtensionRequest, opts ...grpc.CallOption) (*GetExtensionResponse, error)
	// CreateExtension creates an `Extension` based on the provided `CreateExtensionRequest.Extension`
	// and returns a `CreateExtensionResponse`.
	// - Returns `InvalidArgument` if the `CreateExtensionRequest.Extension` is malformed,
	//   or fails validation.
	// - Returns an error if the creation fails.
	CreateExtension(ctx context.Context, in *CreateExtensionRequest, opts ...grpc.CallOption) (*CreateExtensionResponse, error)
	// RemoveExtension removes the extension referenced by `RemoveExtensionRequest.ID`.
	// - Returns `InvalidArgument` if `RemoveExtensionRequest.ExtensionId` is empty.
	// - Returns `NotFound` if the an extension named `RemoveExtensionRequest.ExtensionId` is not found.
	// - Returns an error if the deletion fails.
	RemoveExtension(ctx context.Context, in *RemoveExtensionRequest, opts ...grpc.CallOption) (*RemoveExtensionResponse, error)
	// GetResource returns a `GetResourceResponse` with a `Resource` with the same
	// id as `GetResourceRequest.Resource`
	// - Returns `NotFound` if the Resource with the given id is not found.
	// - Returns `InvalidArgument` if the `GetResourceRequest.Resource` is empty.
	// - Returns an error if getting fails.
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error)
	// UpdateResource updates the resource with the given `UpdateResourceRequest.Resource.Id` using the given `UpdateResourceRequest.Resource` and returns a `UpdateResourceResponse`.
	// - Returns `NotFound` if the Resource with the given `UpdateResourceRequest.Resource.Id` is not found.
	// - Returns `InvalidArgument` if the UpdateResourceRequest.Resource.Id` is empty.
	// - Returns an error if updating fails.
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error)
	// ListResources returns a `ListResourcesResponse` with a list of `Resource`s stored in the raft store,
	// or all resources matching any name in `ListConfigsRequest.Names`, any
	// name prefix in `ListResourcesRequest.NamePrefixes`, any id in
	// `ListResourcesRequest.ResourceIDs`, or any id prefix in `ListResourcesRequest.IDPrefixes`,
	// extension name equal to `ListResourcesRequest.Extension`.
	// - Returns an error if listing fails.
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	// CreateResource returns a `CreateResourceResponse` after creating a `Resource` based
	// on the provided `CreateResourceRequest.Resource`.
	// - Returns `InvalidArgument` if the `CreateResourceRequest.Resource` is malformed,
	//   or if the config data is too long or contains invalid characters.
	// - Returns an error if the creation fails.
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error)
	// RemoveResource removes the `Resource` referenced by `RemoveResourceRequest.ResourceID`.
	// - Returns `InvalidArgument` if `RemoveResourceRequest.ResourceID` is empty.
	// - Returns `NotFound` if the a resource named `RemoveResourceRequest.ResourceID` is not found.
	// - Returns an error if the deletion fails.
	RemoveResource(ctx context.Context, in *RemoveResourceRequest, opts ...grpc.CallOption) (*RemoveResourceResponse, error)
	// CreateVolume returns a `CreateVolumeResponse` with a `Volume` based on the
	// provided `CreateVolumeRequest.VolumeSpec`.
	// - Returns `InvalidArgument` if the `CreateVolumeRequest.VolumeSpec` is
	//   malformed.
	CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*CreateVolumeResponse, error)
	// GetVolume returns a `GetVolumeResponse` with a Volume with the same ID
	// as `GetVolumeRequest.ID`
	GetVolume(ctx context.Context, in *GetVolumeRequest, opts ...grpc.CallOption) (*GetVolumeResponse, error)
	UpdateVolume(ctx context.Context, in *UpdateVolumeRequest, opts ...grpc.CallOption) (*UpdateVolumeResponse, error)
	ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error)
	RemoveVolume(ctx context.Context, in *RemoveVolumeRequest, opts ...grpc.CallOption) (*RemoveVolumeResponse, error)
}

ControlClient is the client API for Control service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewControlClient

func NewControlClient(cc *grpc.ClientConn) ControlClient

type ControlServer

type ControlServer interface {
	GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
	ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error)
	UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error)
	RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)
	GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)
	ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
	RemoveTask(context.Context, *RemoveTaskRequest) (*RemoveTaskResponse, error)
	GetService(context.Context, *GetServiceRequest) (*GetServiceResponse, error)
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	CreateService(context.Context, *CreateServiceRequest) (*CreateServiceResponse, error)
	UpdateService(context.Context, *UpdateServiceRequest) (*UpdateServiceResponse, error)
	RemoveService(context.Context, *RemoveServiceRequest) (*RemoveServiceResponse, error)
	// ListServiceStatuses returns a `ListServiceStatusesResponse` with the
	// status of the requested services, formed by computing the number of
	// running vs desired tasks. It is provided as a shortcut or helper method,
	// which allows a client to avoid having to calculate this value by listing
	// all Tasks. If any service requested does not exist, it will be returned
	// but with empty status values.
	ListServiceStatuses(context.Context, *ListServiceStatusesRequest) (*ListServiceStatusesResponse, error)
	GetNetwork(context.Context, *GetNetworkRequest) (*GetNetworkResponse, error)
	ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
	CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
	RemoveNetwork(context.Context, *RemoveNetworkRequest) (*RemoveNetworkResponse, error)
	GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error)
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	UpdateCluster(context.Context, *UpdateClusterRequest) (*UpdateClusterResponse, error)
	// GetSecret returns a `GetSecretResponse` with a `Secret` with the same
	// id as `GetSecretRequest.SecretID`
	// - Returns `NotFound` if the Secret with the given id is not found.
	// - Returns `InvalidArgument` if the `GetSecretRequest.SecretID` is empty.
	// - Returns an error if getting fails.
	GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
	// UpdateSecret returns a `UpdateSecretResponse` with a `Secret` with the same
	// id as `GetSecretRequest.SecretID`
	// - Returns `NotFound` if the Secret with the given id is not found.
	// - Returns `InvalidArgument` if the `GetSecretRequest.SecretID` is empty.
	// - Returns an error if updating fails.
	UpdateSecret(context.Context, *UpdateSecretRequest) (*UpdateSecretResponse, error)
	// ListSecrets returns a `ListSecretResponse` with a list of all non-internal `Secret`s being
	// managed, or all secrets matching any name in `ListSecretsRequest.Names`, any
	// name prefix in `ListSecretsRequest.NamePrefixes`, any id in
	// `ListSecretsRequest.SecretIDs`, or any id prefix in `ListSecretsRequest.IDPrefixes`.
	// - Returns an error if listing fails.
	ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
	// CreateSecret creates and return a `CreateSecretResponse` with a `Secret` based
	// on the provided `CreateSecretRequest.SecretSpec`.
	// - Returns `InvalidArgument` if the `CreateSecretRequest.SecretSpec` is malformed,
	//   or if the secret data is too long or contains invalid characters.
	// - Returns an error if the creation fails.
	CreateSecret(context.Context, *CreateSecretRequest) (*CreateSecretResponse, error)
	// RemoveSecret removes the secret referenced by `RemoveSecretRequest.ID`.
	// - Returns `InvalidArgument` if `RemoveSecretRequest.ID` is empty.
	// - Returns `NotFound` if the a secret named `RemoveSecretRequest.ID` is not found.
	// - Returns an error if the deletion fails.
	RemoveSecret(context.Context, *RemoveSecretRequest) (*RemoveSecretResponse, error)
	// GetConfig returns a `GetConfigResponse` with a `Config` with the same
	// id as `GetConfigRequest.ConfigID`
	// - Returns `NotFound` if the Config with the given id is not found.
	// - Returns `InvalidArgument` if the `GetConfigRequest.ConfigID` is empty.
	// - Returns an error if getting fails.
	GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
	// UpdateConfig returns a `UpdateConfigResponse` with a `Config` with the same
	// id as `GetConfigRequest.ConfigID`
	// - Returns `NotFound` if the Config with the given id is not found.
	// - Returns `InvalidArgument` if the `GetConfigRequest.ConfigID` is empty.
	// - Returns an error if updating fails.
	UpdateConfig(context.Context, *UpdateConfigRequest) (*UpdateConfigResponse, error)
	// ListConfigs returns a `ListConfigResponse` with a list of `Config`s being
	// managed, or all configs matching any name in `ListConfigsRequest.Names`, any
	// name prefix in `ListConfigsRequest.NamePrefixes`, any id in
	// `ListConfigsRequest.ConfigIDs`, or any id prefix in `ListConfigsRequest.IDPrefixes`.
	// - Returns an error if listing fails.
	ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error)
	// CreateConfig creates and return a `CreateConfigResponse` with a `Config` based
	// on the provided `CreateConfigRequest.ConfigSpec`.
	// - Returns `InvalidArgument` if the `CreateConfigRequest.ConfigSpec` is malformed,
	//   or if the config data is too long or contains invalid characters.
	// - Returns an error if the creation fails.
	CreateConfig(context.Context, *CreateConfigRequest) (*CreateConfigResponse, error)
	// RemoveConfig removes the config referenced by `RemoveConfigRequest.ID`.
	// - Returns `InvalidArgument` if `RemoveConfigRequest.ID` is empty.
	// - Returns `NotFound` if the a config named `RemoveConfigRequest.ID` is not found.
	// - Returns an error if the deletion fails.
	RemoveConfig(context.Context, *RemoveConfigRequest) (*RemoveConfigResponse, error)
	// GetExtension returns a `GetExtensionResponse` with a `Extension` with the same
	// id as `GetExtensionRequest.ExtensionId`
	// - Returns `NotFound` if the Extension with the given id is not found.
	// - Returns `InvalidArgument` if the `GetExtensionRequest.ExtensionId` is empty.
	// - Returns an error if the get fails.
	GetExtension(context.Context, *GetExtensionRequest) (*GetExtensionResponse, error)
	// CreateExtension creates an `Extension` based on the provided `CreateExtensionRequest.Extension`
	// and returns a `CreateExtensionResponse`.
	// - Returns `InvalidArgument` if the `CreateExtensionRequest.Extension` is malformed,
	//   or fails validation.
	// - Returns an error if the creation fails.
	CreateExtension(context.Context, *CreateExtensionRequest) (*CreateExtensionResponse, error)
	// RemoveExtension removes the extension referenced by `RemoveExtensionRequest.ID`.
	// - Returns `InvalidArgument` if `RemoveExtensionRequest.ExtensionId` is empty.
	// - Returns `NotFound` if the an extension named `RemoveExtensionRequest.ExtensionId` is not found.
	// - Returns an error if the deletion fails.
	RemoveExtension(context.Context, *RemoveExtensionRequest) (*RemoveExtensionResponse, error)
	// GetResource returns a `GetResourceResponse` with a `Resource` with the same
	// id as `GetResourceRequest.Resource`
	// - Returns `NotFound` if the Resource with the given id is not found.
	// - Returns `InvalidArgument` if the `GetResourceRequest.Resource` is empty.
	// - Returns an error if getting fails.
	GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
	// UpdateResource updates the resource with the given `UpdateResourceRequest.Resource.Id` using the given `UpdateResourceRequest.Resource` and returns a `UpdateResourceResponse`.
	// - Returns `NotFound` if the Resource with the given `UpdateResourceRequest.Resource.Id` is not found.
	// - Returns `InvalidArgument` if the UpdateResourceRequest.Resource.Id` is empty.
	// - Returns an error if updating fails.
	UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
	// ListResources returns a `ListResourcesResponse` with a list of `Resource`s stored in the raft store,
	// or all resources matching any name in `ListConfigsRequest.Names`, any
	// name prefix in `ListResourcesRequest.NamePrefixes`, any id in
	// `ListResourcesRequest.ResourceIDs`, or any id prefix in `ListResourcesRequest.IDPrefixes`,
	// extension name equal to `ListResourcesRequest.Extension`.
	// - Returns an error if listing fails.
	ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	// CreateResource returns a `CreateResourceResponse` after creating a `Resource` based
	// on the provided `CreateResourceRequest.Resource`.
	// - Returns `InvalidArgument` if the `CreateResourceRequest.Resource` is malformed,
	//   or if the config data is too long or contains invalid characters.
	// - Returns an error if the creation fails.
	CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
	// RemoveResource removes the `Resource` referenced by `RemoveResourceRequest.ResourceID`.
	// - Returns `InvalidArgument` if `RemoveResourceRequest.ResourceID` is empty.
	// - Returns `NotFound` if the a resource named `RemoveResourceRequest.ResourceID` is not found.
	// - Returns an error if the deletion fails.
	RemoveResource(context.Context, *RemoveResourceRequest) (*RemoveResourceResponse, error)
	// CreateVolume returns a `CreateVolumeResponse` with a `Volume` based on the
	// provided `CreateVolumeRequest.VolumeSpec`.
	// - Returns `InvalidArgument` if the `CreateVolumeRequest.VolumeSpec` is
	//   malformed.
	CreateVolume(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error)
	// GetVolume returns a `GetVolumeResponse` with a Volume with the same ID
	// as `GetVolumeRequest.ID`
	GetVolume(context.Context, *GetVolumeRequest) (*GetVolumeResponse, error)
	UpdateVolume(context.Context, *UpdateVolumeRequest) (*UpdateVolumeResponse, error)
	ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
	RemoveVolume(context.Context, *RemoveVolumeRequest) (*RemoveVolumeResponse, error)
}

ControlServer is the server API for Control service.

func NewAuthenticatedWrapperControlServer

func NewAuthenticatedWrapperControlServer(local ControlServer, authorize func(context.Context, []string) error) ControlServer

func NewRaftProxyControlServer

func NewRaftProxyControlServer(local ControlServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) ControlServer

type CreateConfigRequest

type CreateConfigRequest struct {
	Spec *ConfigSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
}

CreateConfigRequest specifies a new config (it will not update an existing config) to create.

func (*CreateConfigRequest) Copy

func (*CreateConfigRequest) CopyFrom

func (m *CreateConfigRequest) CopyFrom(src interface{})

func (*CreateConfigRequest) Descriptor

func (*CreateConfigRequest) Descriptor() ([]byte, []int)

func (*CreateConfigRequest) Marshal

func (m *CreateConfigRequest) Marshal() (dAtA []byte, err error)

func (*CreateConfigRequest) MarshalTo

func (m *CreateConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateConfigRequest) MarshalToSizedBuffer

func (m *CreateConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateConfigRequest) ProtoMessage

func (*CreateConfigRequest) ProtoMessage()

func (*CreateConfigRequest) Reset

func (m *CreateConfigRequest) Reset()

func (*CreateConfigRequest) Size

func (m *CreateConfigRequest) Size() (n int)

func (*CreateConfigRequest) String

func (this *CreateConfigRequest) String() string

func (*CreateConfigRequest) Unmarshal

func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error

func (*CreateConfigRequest) XXX_DiscardUnknown

func (m *CreateConfigRequest) XXX_DiscardUnknown()

func (*CreateConfigRequest) XXX_Marshal

func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateConfigRequest) XXX_Merge

func (m *CreateConfigRequest) XXX_Merge(src proto.Message)

func (*CreateConfigRequest) XXX_Size

func (m *CreateConfigRequest) XXX_Size() int

func (*CreateConfigRequest) XXX_Unmarshal

func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error

type CreateConfigResponse

type CreateConfigResponse struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}

CreateConfigResponse contains the newly created `Config` corresponding to the name in `CreateConfigRequest`.

func (*CreateConfigResponse) Copy

func (*CreateConfigResponse) CopyFrom

func (m *CreateConfigResponse) CopyFrom(src interface{})

func (*CreateConfigResponse) Descriptor

func (*CreateConfigResponse) Descriptor() ([]byte, []int)

func (*CreateConfigResponse) Marshal

func (m *CreateConfigResponse) Marshal() (dAtA []byte, err error)

func (*CreateConfigResponse) MarshalTo

func (m *CreateConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateConfigResponse) MarshalToSizedBuffer

func (m *CreateConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateConfigResponse) ProtoMessage

func (*CreateConfigResponse) ProtoMessage()

func (*CreateConfigResponse) Reset

func (m *CreateConfigResponse) Reset()

func (*CreateConfigResponse) Size

func (m *CreateConfigResponse) Size() (n int)

func (*CreateConfigResponse) String

func (this *CreateConfigResponse) String() string

func (*CreateConfigResponse) Unmarshal

func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error

func (*CreateConfigResponse) XXX_DiscardUnknown

func (m *CreateConfigResponse) XXX_DiscardUnknown()

func (*CreateConfigResponse) XXX_Marshal

func (m *CreateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateConfigResponse) XXX_Merge

func (m *CreateConfigResponse) XXX_Merge(src proto.Message)

func (*CreateConfigResponse) XXX_Size

func (m *CreateConfigResponse) XXX_Size() int

func (*CreateConfigResponse) XXX_Unmarshal

func (m *CreateConfigResponse) XXX_Unmarshal(b []byte) error

type CreateExtensionRequest

type CreateExtensionRequest struct {
	Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"`
	Description string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

CreateExtensionRequest creates a new extension as specified by the provided parameters

func (*CreateExtensionRequest) Copy

func (*CreateExtensionRequest) CopyFrom

func (m *CreateExtensionRequest) CopyFrom(src interface{})

func (*CreateExtensionRequest) Descriptor

func (*CreateExtensionRequest) Descriptor() ([]byte, []int)

func (*CreateExtensionRequest) Marshal

func (m *CreateExtensionRequest) Marshal() (dAtA []byte, err error)

func (*CreateExtensionRequest) MarshalTo

func (m *CreateExtensionRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateExtensionRequest) MarshalToSizedBuffer

func (m *CreateExtensionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateExtensionRequest) ProtoMessage

func (*CreateExtensionRequest) ProtoMessage()

func (*CreateExtensionRequest) Reset

func (m *CreateExtensionRequest) Reset()

func (*CreateExtensionRequest) Size

func (m *CreateExtensionRequest) Size() (n int)

func (*CreateExtensionRequest) String

func (this *CreateExtensionRequest) String() string

func (*CreateExtensionRequest) Unmarshal

func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error

func (*CreateExtensionRequest) XXX_DiscardUnknown

func (m *CreateExtensionRequest) XXX_DiscardUnknown()

func (*CreateExtensionRequest) XXX_Marshal

func (m *CreateExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateExtensionRequest) XXX_Merge

func (m *CreateExtensionRequest) XXX_Merge(src proto.Message)

func (*CreateExtensionRequest) XXX_Size

func (m *CreateExtensionRequest) XXX_Size() int

func (*CreateExtensionRequest) XXX_Unmarshal

func (m *CreateExtensionRequest) XXX_Unmarshal(b []byte) error

type CreateExtensionResponse

type CreateExtensionResponse struct {
	Extension *Extension `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
}

CreateExtensionResponse contains the newly created `Extension` corresponding to the parameters in the CreateExtensionRequest.

func (*CreateExtensionResponse) Copy

func (*CreateExtensionResponse) CopyFrom

func (m *CreateExtensionResponse) CopyFrom(src interface{})

func (*CreateExtensionResponse) Descriptor

func (*CreateExtensionResponse) Descriptor() ([]byte, []int)

func (*CreateExtensionResponse) Marshal

func (m *CreateExtensionResponse) Marshal() (dAtA []byte, err error)

func (*CreateExtensionResponse) MarshalTo

func (m *CreateExtensionResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateExtensionResponse) MarshalToSizedBuffer

func (m *CreateExtensionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateExtensionResponse) ProtoMessage

func (*CreateExtensionResponse) ProtoMessage()

func (*CreateExtensionResponse) Reset

func (m *CreateExtensionResponse) Reset()

func (*CreateExtensionResponse) Size

func (m *CreateExtensionResponse) Size() (n int)

func (*CreateExtensionResponse) String

func (this *CreateExtensionResponse) String() string

func (*CreateExtensionResponse) Unmarshal

func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error

func (*CreateExtensionResponse) XXX_DiscardUnknown

func (m *CreateExtensionResponse) XXX_DiscardUnknown()

func (*CreateExtensionResponse) XXX_Marshal

func (m *CreateExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateExtensionResponse) XXX_Merge

func (m *CreateExtensionResponse) XXX_Merge(src proto.Message)

func (*CreateExtensionResponse) XXX_Size

func (m *CreateExtensionResponse) XXX_Size() int

func (*CreateExtensionResponse) XXX_Unmarshal

func (m *CreateExtensionResponse) XXX_Unmarshal(b []byte) error

type CreateNetworkRequest

type CreateNetworkRequest struct {
	Spec *NetworkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
}

func (*CreateNetworkRequest) Copy

func (*CreateNetworkRequest) CopyFrom

func (m *CreateNetworkRequest) CopyFrom(src interface{})

func (*CreateNetworkRequest) Descriptor

func (*CreateNetworkRequest) Descriptor() ([]byte, []int)

func (*CreateNetworkRequest) Marshal

func (m *CreateNetworkRequest) Marshal() (dAtA []byte, err error)

func (*CreateNetworkRequest) MarshalTo

func (m *CreateNetworkRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateNetworkRequest) MarshalToSizedBuffer

func (m *CreateNetworkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateNetworkRequest) ProtoMessage

func (*CreateNetworkRequest) ProtoMessage()

func (*CreateNetworkRequest) Reset

func (m *CreateNetworkRequest) Reset()

func (*CreateNetworkRequest) Size

func (m *CreateNetworkRequest) Size() (n int)

func (*CreateNetworkRequest) String

func (this *CreateNetworkRequest) String() string

func (*CreateNetworkRequest) Unmarshal

func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error

func (*CreateNetworkRequest) XXX_DiscardUnknown

func (m *CreateNetworkRequest) XXX_DiscardUnknown()

func (*CreateNetworkRequest) XXX_Marshal

func (m *CreateNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateNetworkRequest) XXX_Merge

func (m *CreateNetworkRequest) XXX_Merge(src proto.Message)

func (*CreateNetworkRequest) XXX_Size

func (m *CreateNetworkRequest) XXX_Size() int

func (*CreateNetworkRequest) XXX_Unmarshal

func (m *CreateNetworkRequest) XXX_Unmarshal(b []byte) error

type CreateNetworkResponse

type CreateNetworkResponse struct {
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
}

func (*CreateNetworkResponse) Copy

func (*CreateNetworkResponse) CopyFrom

func (m *CreateNetworkResponse) CopyFrom(src interface{})

func (*CreateNetworkResponse) Descriptor

func (*CreateNetworkResponse) Descriptor() ([]byte, []int)

func (*CreateNetworkResponse) Marshal

func (m *CreateNetworkResponse) Marshal() (dAtA []byte, err error)

func (*CreateNetworkResponse) MarshalTo

func (m *CreateNetworkResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateNetworkResponse) MarshalToSizedBuffer

func (m *CreateNetworkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateNetworkResponse) ProtoMessage

func (*CreateNetworkResponse) ProtoMessage()

func (*CreateNetworkResponse) Reset

func (m *CreateNetworkResponse) Reset()

func (*CreateNetworkResponse) Size

func (m *CreateNetworkResponse) Size() (n int)

func (*CreateNetworkResponse) String

func (this *CreateNetworkResponse) String() string

func (*CreateNetworkResponse) Unmarshal

func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error

func (*CreateNetworkResponse) XXX_DiscardUnknown

func (m *CreateNetworkResponse) XXX_DiscardUnknown()

func (*CreateNetworkResponse) XXX_Marshal

func (m *CreateNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateNetworkResponse) XXX_Merge

func (m *CreateNetworkResponse) XXX_Merge(src proto.Message)

func (*CreateNetworkResponse) XXX_Size

func (m *CreateNetworkResponse) XXX_Size() int

func (*CreateNetworkResponse) XXX_Unmarshal

func (m *CreateNetworkResponse) XXX_Unmarshal(b []byte) error

type CreateResourceRequest

type CreateResourceRequest struct {
	Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"`
	Kind        string       `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Payload     *types.Any   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
}

CreateResourceRequest creates a new resource specified by the included resource object. An existing resource will not be updated.

func (*CreateResourceRequest) Copy

func (*CreateResourceRequest) CopyFrom

func (m *CreateResourceRequest) CopyFrom(src interface{})

func (*CreateResourceRequest) Descriptor

func (*CreateResourceRequest) Descriptor() ([]byte, []int)

func (*CreateResourceRequest) Marshal

func (m *CreateResourceRequest) Marshal() (dAtA []byte, err error)

func (*CreateResourceRequest) MarshalTo

func (m *CreateResourceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateResourceRequest) MarshalToSizedBuffer

func (m *CreateResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) Reset

func (m *CreateResourceRequest) Reset()

func (*CreateResourceRequest) Size

func (m *CreateResourceRequest) Size() (n int)

func (*CreateResourceRequest) String

func (this *CreateResourceRequest) String() string

func (*CreateResourceRequest) Unmarshal

func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error

func (*CreateResourceRequest) XXX_DiscardUnknown

func (m *CreateResourceRequest) XXX_DiscardUnknown()

func (*CreateResourceRequest) XXX_Marshal

func (m *CreateResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateResourceRequest) XXX_Merge

func (m *CreateResourceRequest) XXX_Merge(src proto.Message)

func (*CreateResourceRequest) XXX_Size

func (m *CreateResourceRequest) XXX_Size() int

func (*CreateResourceRequest) XXX_Unmarshal

func (m *CreateResourceRequest) XXX_Unmarshal(b []byte) error

type CreateResourceResponse

type CreateResourceResponse struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
}

CreateResourceResponse contains the newly created `Resource` corresponding to the resource in the CreateResourceRequest.

func (*CreateResourceResponse) Copy

func (*CreateResourceResponse) CopyFrom

func (m *CreateResourceResponse) CopyFrom(src interface{})

func (*CreateResourceResponse) Descriptor

func (*CreateResourceResponse) Descriptor() ([]byte, []int)

func (*CreateResourceResponse) Marshal

func (m *CreateResourceResponse) Marshal() (dAtA []byte, err error)

func (*CreateResourceResponse) MarshalTo

func (m *CreateResourceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateResourceResponse) MarshalToSizedBuffer

func (m *CreateResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateResourceResponse) ProtoMessage

func (*CreateResourceResponse) ProtoMessage()

func (*CreateResourceResponse) Reset

func (m *CreateResourceResponse) Reset()

func (*CreateResourceResponse) Size

func (m *CreateResourceResponse) Size() (n int)

func (*CreateResourceResponse) String

func (this *CreateResourceResponse) String() string

func (*CreateResourceResponse) Unmarshal

func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error

func (*CreateResourceResponse) XXX_DiscardUnknown

func (m *CreateResourceResponse) XXX_DiscardUnknown()

func (*CreateResourceResponse) XXX_Marshal

func (m *CreateResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateResourceResponse) XXX_Merge

func (m *CreateResourceResponse) XXX_Merge(src proto.Message)

func (*CreateResourceResponse) XXX_Size

func (m *CreateResourceResponse) XXX_Size() int

func (*CreateResourceResponse) XXX_Unmarshal

func (m *CreateResourceResponse) XXX_Unmarshal(b []byte) error

type CreateSecretRequest

type CreateSecretRequest struct {
	Spec *SecretSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
}

CreateSecretRequest specifies a new secret (it will not update an existing secret) to create.

func (*CreateSecretRequest) Copy

func (*CreateSecretRequest) CopyFrom

func (m *CreateSecretRequest) CopyFrom(src interface{})

func (*CreateSecretRequest) Descriptor

func (*CreateSecretRequest) Descriptor() ([]byte, []int)

func (*CreateSecretRequest) Marshal

func (m *CreateSecretRequest) Marshal() (dAtA []byte, err error)

func (*CreateSecretRequest) MarshalTo

func (m *CreateSecretRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateSecretRequest) MarshalToSizedBuffer

func (m *CreateSecretRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateSecretRequest) ProtoMessage

func (*CreateSecretRequest) ProtoMessage()

func (*CreateSecretRequest) Reset

func (m *CreateSecretRequest) Reset()

func (*CreateSecretRequest) Size

func (m *CreateSecretRequest) Size() (n int)

func (*CreateSecretRequest) String

func (this *CreateSecretRequest) String() string

func (*CreateSecretRequest) Unmarshal

func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error

func (*CreateSecretRequest) XXX_DiscardUnknown

func (m *CreateSecretRequest) XXX_DiscardUnknown()

func (*CreateSecretRequest) XXX_Marshal

func (m *CreateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSecretRequest) XXX_Merge

func (m *CreateSecretRequest) XXX_Merge(src proto.Message)

func (*CreateSecretRequest) XXX_Size

func (m *CreateSecretRequest) XXX_Size() int

func (*CreateSecretRequest) XXX_Unmarshal

func (m *CreateSecretRequest) XXX_Unmarshal(b []byte) error

type CreateSecretResponse

type CreateSecretResponse struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
}

CreateSecretResponse contains the newly created `Secret` corresponding to the name in `CreateSecretRequest`. The `Secret.Spec.Data` field should be nil instead of actually containing the secret bytes.

func (*CreateSecretResponse) Copy

func (*CreateSecretResponse) CopyFrom

func (m *CreateSecretResponse) CopyFrom(src interface{})

func (*CreateSecretResponse) Descriptor

func (*CreateSecretResponse) Descriptor() ([]byte, []int)

func (*CreateSecretResponse) Marshal

func (m *CreateSecretResponse) Marshal() (dAtA []byte, err error)

func (*CreateSecretResponse) MarshalTo

func (m *CreateSecretResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateSecretResponse) MarshalToSizedBuffer

func (m *CreateSecretResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateSecretResponse) ProtoMessage

func (*CreateSecretResponse) ProtoMessage()

func (*CreateSecretResponse) Reset

func (m *CreateSecretResponse) Reset()

func (*CreateSecretResponse) Size

func (m *CreateSecretResponse) Size() (n int)

func (*CreateSecretResponse) String

func (this *CreateSecretResponse) String() string

func (*CreateSecretResponse) Unmarshal

func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error

func (*CreateSecretResponse) XXX_DiscardUnknown

func (m *CreateSecretResponse) XXX_DiscardUnknown()

func (*CreateSecretResponse) XXX_Marshal

func (m *CreateSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSecretResponse) XXX_Merge

func (m *CreateSecretResponse) XXX_Merge(src proto.Message)

func (*CreateSecretResponse) XXX_Size

func (m *CreateSecretResponse) XXX_Size() int

func (*CreateSecretResponse) XXX_Unmarshal

func (m *CreateSecretResponse) XXX_Unmarshal(b []byte) error

type CreateServiceRequest

type CreateServiceRequest struct {
	Spec *ServiceSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
}

func (*CreateServiceRequest) Copy

func (*CreateServiceRequest) CopyFrom

func (m *CreateServiceRequest) CopyFrom(src interface{})

func (*CreateServiceRequest) Descriptor

func (*CreateServiceRequest) Descriptor() ([]byte, []int)

func (*CreateServiceRequest) Marshal

func (m *CreateServiceRequest) Marshal() (dAtA []byte, err error)

func (*CreateServiceRequest) MarshalTo

func (m *CreateServiceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateServiceRequest) MarshalToSizedBuffer

func (m *CreateServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) Reset

func (m *CreateServiceRequest) Reset()

func (*CreateServiceRequest) Size

func (m *CreateServiceRequest) Size() (n int)

func (*CreateServiceRequest) String

func (this *CreateServiceRequest) String() string

func (*CreateServiceRequest) Unmarshal

func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error

func (*CreateServiceRequest) XXX_DiscardUnknown

func (m *CreateServiceRequest) XXX_DiscardUnknown()

func (*CreateServiceRequest) XXX_Marshal

func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateServiceRequest) XXX_Merge

func (m *CreateServiceRequest) XXX_Merge(src proto.Message)

func (*CreateServiceRequest) XXX_Size

func (m *CreateServiceRequest) XXX_Size() int

func (*CreateServiceRequest) XXX_Unmarshal

func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error

type CreateServiceResponse

type CreateServiceResponse struct {
	Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
}

func (*CreateServiceResponse) Copy

func (*CreateServiceResponse) CopyFrom

func (m *CreateServiceResponse) CopyFrom(src interface{})

func (*CreateServiceResponse) Descriptor

func (*CreateServiceResponse) Descriptor() ([]byte, []int)

func (*CreateServiceResponse) Marshal

func (m *CreateServiceResponse) Marshal() (dAtA []byte, err error)

func (*CreateServiceResponse) MarshalTo

func (m *CreateServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateServiceResponse) MarshalToSizedBuffer

func (m *CreateServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateServiceResponse) ProtoMessage

func (*CreateServiceResponse) ProtoMessage()

func (*CreateServiceResponse) Reset

func (m *CreateServiceResponse) Reset()

func (*CreateServiceResponse) Size

func (m *CreateServiceResponse) Size() (n int)

func (*CreateServiceResponse) String

func (this *CreateServiceResponse) String() string

func (*CreateServiceResponse) Unmarshal

func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error

func (*CreateServiceResponse) XXX_DiscardUnknown

func (m *CreateServiceResponse) XXX_DiscardUnknown()

func (*CreateServiceResponse) XXX_Marshal

func (m *CreateServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateServiceResponse) XXX_Merge

func (m *CreateServiceResponse) XXX_Merge(src proto.Message)

func (*CreateServiceResponse) XXX_Size

func (m *CreateServiceResponse) XXX_Size() int

func (*CreateServiceResponse) XXX_Unmarshal

func (m *CreateServiceResponse) XXX_Unmarshal(b []byte) error

type CreateVolumeRequest

type CreateVolumeRequest struct {
	Spec *VolumeSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
}

func (*CreateVolumeRequest) Copy

func (*CreateVolumeRequest) CopyFrom

func (m *CreateVolumeRequest) CopyFrom(src interface{})

func (*CreateVolumeRequest) Descriptor

func (*CreateVolumeRequest) Descriptor() ([]byte, []int)

func (*CreateVolumeRequest) Marshal

func (m *CreateVolumeRequest) Marshal() (dAtA []byte, err error)

func (*CreateVolumeRequest) MarshalTo

func (m *CreateVolumeRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateVolumeRequest) MarshalToSizedBuffer

func (m *CreateVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateVolumeRequest) ProtoMessage

func (*CreateVolumeRequest) ProtoMessage()

func (*CreateVolumeRequest) Reset

func (m *CreateVolumeRequest) Reset()

func (*CreateVolumeRequest) Size

func (m *CreateVolumeRequest) Size() (n int)

func (*CreateVolumeRequest) String

func (this *CreateVolumeRequest) String() string

func (*CreateVolumeRequest) Unmarshal

func (m *CreateVolumeRequest) Unmarshal(dAtA []byte) error

func (*CreateVolumeRequest) XXX_DiscardUnknown

func (m *CreateVolumeRequest) XXX_DiscardUnknown()

func (*CreateVolumeRequest) XXX_Marshal

func (m *CreateVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateVolumeRequest) XXX_Merge

func (m *CreateVolumeRequest) XXX_Merge(src proto.Message)

func (*CreateVolumeRequest) XXX_Size

func (m *CreateVolumeRequest) XXX_Size() int

func (*CreateVolumeRequest) XXX_Unmarshal

func (m *CreateVolumeRequest) XXX_Unmarshal(b []byte) error

type CreateVolumeResponse

type CreateVolumeResponse struct {
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
}

func (*CreateVolumeResponse) Copy

func (*CreateVolumeResponse) CopyFrom

func (m *CreateVolumeResponse) CopyFrom(src interface{})

func (*CreateVolumeResponse) Descriptor

func (*CreateVolumeResponse) Descriptor() ([]byte, []int)

func (*CreateVolumeResponse) Marshal

func (m *CreateVolumeResponse) Marshal() (dAtA []byte, err error)

func (*CreateVolumeResponse) MarshalTo

func (m *CreateVolumeResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateVolumeResponse) MarshalToSizedBuffer

func (m *CreateVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateVolumeResponse) ProtoMessage

func (*CreateVolumeResponse) ProtoMessage()

func (*CreateVolumeResponse) Reset

func (m *CreateVolumeResponse) Reset()

func (*CreateVolumeResponse) Size

func (m *CreateVolumeResponse) Size() (n int)

func (*CreateVolumeResponse) String

func (this *CreateVolumeResponse) String() string

func (*CreateVolumeResponse) Unmarshal

func (m *CreateVolumeResponse) Unmarshal(dAtA []byte) error

func (*CreateVolumeResponse) XXX_DiscardUnknown

func (m *CreateVolumeResponse) XXX_DiscardUnknown()

func (*CreateVolumeResponse) XXX_Marshal

func (m *CreateVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateVolumeResponse) XXX_Merge

func (m *CreateVolumeResponse) XXX_Merge(src proto.Message)

func (*CreateVolumeResponse) XXX_Size

func (m *CreateVolumeResponse) XXX_Size() int

func (*CreateVolumeResponse) XXX_Unmarshal

func (m *CreateVolumeResponse) XXX_Unmarshal(b []byte) error

type DetachNetworkRequest

type DetachNetworkRequest struct {
	AttachmentID string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
}

func (*DetachNetworkRequest) Copy

func (*DetachNetworkRequest) CopyFrom

func (m *DetachNetworkRequest) CopyFrom(src interface{})

func (*DetachNetworkRequest) Descriptor

func (*DetachNetworkRequest) Descriptor() ([]byte, []int)

func (*DetachNetworkRequest) Marshal

func (m *DetachNetworkRequest) Marshal() (dAtA []byte, err error)

func (*DetachNetworkRequest) MarshalTo

func (m *DetachNetworkRequest) MarshalTo(dAtA []byte) (int, error)

func (*DetachNetworkRequest) MarshalToSizedBuffer

func (m *DetachNetworkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DetachNetworkRequest) ProtoMessage

func (*DetachNetworkRequest) ProtoMessage()

func (*DetachNetworkRequest) Reset

func (m *DetachNetworkRequest) Reset()

func (*DetachNetworkRequest) Size

func (m *DetachNetworkRequest) Size() (n int)

func (*DetachNetworkRequest) String

func (this *DetachNetworkRequest) String() string

func (*DetachNetworkRequest) Unmarshal

func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error

func (*DetachNetworkRequest) XXX_DiscardUnknown

func (m *DetachNetworkRequest) XXX_DiscardUnknown()

func (*DetachNetworkRequest) XXX_Marshal

func (m *DetachNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetachNetworkRequest) XXX_Merge

func (m *DetachNetworkRequest) XXX_Merge(src proto.Message)

func (*DetachNetworkRequest) XXX_Size

func (m *DetachNetworkRequest) XXX_Size() int

func (*DetachNetworkRequest) XXX_Unmarshal

func (m *DetachNetworkRequest) XXX_Unmarshal(b []byte) error

type DetachNetworkResponse

type DetachNetworkResponse struct {
}

func (*DetachNetworkResponse) Copy

func (*DetachNetworkResponse) CopyFrom

func (m *DetachNetworkResponse) CopyFrom(src interface{})

func (*DetachNetworkResponse) Descriptor

func (*DetachNetworkResponse) Descriptor() ([]byte, []int)

func (*DetachNetworkResponse) Marshal

func (m *DetachNetworkResponse) Marshal() (dAtA []byte, err error)

func (*DetachNetworkResponse) MarshalTo

func (m *DetachNetworkResponse) MarshalTo(dAtA []byte) (int, error)

func (*DetachNetworkResponse) MarshalToSizedBuffer

func (m *DetachNetworkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DetachNetworkResponse) ProtoMessage

func (*DetachNetworkResponse) ProtoMessage()

func (*DetachNetworkResponse) Reset

func (m *DetachNetworkResponse) Reset()

func (*DetachNetworkResponse) Size

func (m *DetachNetworkResponse) Size() (n int)

func (*DetachNetworkResponse) String

func (this *DetachNetworkResponse) String() string

func (*DetachNetworkResponse) Unmarshal

func (m *DetachNetworkResponse) Unmarshal(dAtA []byte) error

func (*DetachNetworkResponse) XXX_DiscardUnknown

func (m *DetachNetworkResponse) XXX_DiscardUnknown()

func (*DetachNetworkResponse) XXX_Marshal

func (m *DetachNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetachNetworkResponse) XXX_Merge

func (m *DetachNetworkResponse) XXX_Merge(src proto.Message)

func (*DetachNetworkResponse) XXX_Size

func (m *DetachNetworkResponse) XXX_Size() int

func (*DetachNetworkResponse) XXX_Unmarshal

func (m *DetachNetworkResponse) XXX_Unmarshal(b []byte) error

type DiscreteGenericResource

type DiscreteGenericResource struct {
	Kind  string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
}

DiscreteGenericResource represents a "user defined" resource which is defined as an integer "Kind" is used to describe the Kind of a resource (e.g: "GPU", "FPGA", "SSD", ...) Value is used to count the resource (SSD=5, HDD=3, ...)

func (*DiscreteGenericResource) Copy

func (*DiscreteGenericResource) CopyFrom

func (m *DiscreteGenericResource) CopyFrom(src interface{})

func (*DiscreteGenericResource) Descriptor

func (*DiscreteGenericResource) Descriptor() ([]byte, []int)

func (*DiscreteGenericResource) Marshal

func (m *DiscreteGenericResource) Marshal() (dAtA []byte, err error)

func (*DiscreteGenericResource) MarshalTo

func (m *DiscreteGenericResource) MarshalTo(dAtA []byte) (int, error)

func (*DiscreteGenericResource) MarshalToSizedBuffer

func (m *DiscreteGenericResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DiscreteGenericResource) ProtoMessage

func (*DiscreteGenericResource) ProtoMessage()

func (*DiscreteGenericResource) Reset

func (m *DiscreteGenericResource) Reset()

func (*DiscreteGenericResource) Size

func (m *DiscreteGenericResource) Size() (n int)

func (*DiscreteGenericResource) String

func (this *DiscreteGenericResource) String() string

func (*DiscreteGenericResource) Unmarshal

func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error

func (*DiscreteGenericResource) XXX_DiscardUnknown

func (m *DiscreteGenericResource) XXX_DiscardUnknown()

func (*DiscreteGenericResource) XXX_Marshal

func (m *DiscreteGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscreteGenericResource) XXX_Merge

func (m *DiscreteGenericResource) XXX_Merge(src proto.Message)

func (*DiscreteGenericResource) XXX_Size

func (m *DiscreteGenericResource) XXX_Size() int

func (*DiscreteGenericResource) XXX_Unmarshal

func (m *DiscreteGenericResource) XXX_Unmarshal(b []byte) error

type DispatcherClient

type DispatcherClient interface {
	// Session starts an agent session with the dispatcher. The session is
	// started after the first SessionMessage is received.
	//
	// Once started, the agent is controlled with a stream of SessionMessage.
	// Agents should list on the stream at all times for instructions.
	Session(ctx context.Context, in *SessionRequest, opts ...grpc.CallOption) (Dispatcher_SessionClient, error)
	// Heartbeat is heartbeat method for nodes. It returns new TTL in response.
	// Node should send new heartbeat earlier than now + TTL, otherwise it will
	// be deregistered from dispatcher and its status will be updated to NodeStatus_DOWN
	Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
	// UpdateTaskStatus updates status of task. Node should send such updates
	// on every status change of its tasks.
	//
	// Whether receiving batch updates or single status updates, this method
	// should be accepting. Errors should only be returned if the entire update
	// should be retried, due to data loss or other problems.
	//
	// If a task is unknown the dispatcher, the status update should be
	// accepted regardless.
	UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...grpc.CallOption) (*UpdateTaskStatusResponse, error)
	// UpdateVolumeStatus updates the status of a Volume. Like
	// UpdateTaskStatus, the node should send such updates on every status
	// change of its volumes.
	UpdateVolumeStatus(ctx context.Context, in *UpdateVolumeStatusRequest, opts ...grpc.CallOption) (*UpdateVolumeStatusResponse, error)
	// Tasks is a stream of tasks state for node. Each message contains full list
	// of tasks which should be run on node, if task is not present in that list,
	// it should be terminated.
	Tasks(ctx context.Context, in *TasksRequest, opts ...grpc.CallOption) (Dispatcher_TasksClient, error)
	// Assignments is a stream of assignments such as tasks and secrets for node.
	// The first message in the stream contains all of the tasks and secrets
	// that are relevant to the node. Future messages in the stream are updates to
	// the set of assignments.
	Assignments(ctx context.Context, in *AssignmentsRequest, opts ...grpc.CallOption) (Dispatcher_AssignmentsClient, error)
}

DispatcherClient is the client API for Dispatcher service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDispatcherClient

func NewDispatcherClient(cc *grpc.ClientConn) DispatcherClient

type DispatcherConfig

type DispatcherConfig struct {
	// HeartbeatPeriod defines how often agent should send heartbeats to
	// dispatcher.
	// Note: can't use stdduration because this field needs to be nullable.
	HeartbeatPeriod *types.Duration `protobuf:"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod,proto3" json:"heartbeat_period,omitempty"`
}

DispatcherConfig defines cluster-level dispatcher settings.

func (*DispatcherConfig) Copy

func (*DispatcherConfig) CopyFrom

func (m *DispatcherConfig) CopyFrom(src interface{})

func (*DispatcherConfig) Descriptor

func (*DispatcherConfig) Descriptor() ([]byte, []int)

func (*DispatcherConfig) Marshal

func (m *DispatcherConfig) Marshal() (dAtA []byte, err error)

func (*DispatcherConfig) MarshalTo

func (m *DispatcherConfig) MarshalTo(dAtA []byte) (int, error)

func (*DispatcherConfig) MarshalToSizedBuffer

func (m *DispatcherConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DispatcherConfig) ProtoMessage

func (*DispatcherConfig) ProtoMessage()

func (*DispatcherConfig) Reset

func (m *DispatcherConfig) Reset()

func (*DispatcherConfig) Size

func (m *DispatcherConfig) Size() (n int)

func (*DispatcherConfig) String

func (this *DispatcherConfig) String() string

func (*DispatcherConfig) Unmarshal

func (m *DispatcherConfig) Unmarshal(dAtA []byte) error

func (*DispatcherConfig) XXX_DiscardUnknown

func (m *DispatcherConfig) XXX_DiscardUnknown()

func (*DispatcherConfig) XXX_Marshal

func (m *DispatcherConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DispatcherConfig) XXX_Merge

func (m *DispatcherConfig) XXX_Merge(src proto.Message)

func (*DispatcherConfig) XXX_Size

func (m *DispatcherConfig) XXX_Size() int

func (*DispatcherConfig) XXX_Unmarshal

func (m *DispatcherConfig) XXX_Unmarshal(b []byte) error

type DispatcherServer

type DispatcherServer interface {
	// Session starts an agent session with the dispatcher. The session is
	// started after the first SessionMessage is received.
	//
	// Once started, the agent is controlled with a stream of SessionMessage.
	// Agents should list on the stream at all times for instructions.
	Session(*SessionRequest, Dispatcher_SessionServer) error
	// Heartbeat is heartbeat method for nodes. It returns new TTL in response.
	// Node should send new heartbeat earlier than now + TTL, otherwise it will
	// be deregistered from dispatcher and its status will be updated to NodeStatus_DOWN
	Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
	// UpdateTaskStatus updates status of task. Node should send such updates
	// on every status change of its tasks.
	//
	// Whether receiving batch updates or single status updates, this method
	// should be accepting. Errors should only be returned if the entire update
	// should be retried, due to data loss or other problems.
	//
	// If a task is unknown the dispatcher, the status update should be
	// accepted regardless.
	UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusResponse, error)
	// UpdateVolumeStatus updates the status of a Volume. Like
	// UpdateTaskStatus, the node should send such updates on every status
	// change of its volumes.
	UpdateVolumeStatus(context.Context, *UpdateVolumeStatusRequest) (*UpdateVolumeStatusResponse, error)
	// Tasks is a stream of tasks state for node. Each message contains full list
	// of tasks which should be run on node, if task is not present in that list,
	// it should be terminated.
	Tasks(*TasksRequest, Dispatcher_TasksServer) error
	// Assignments is a stream of assignments such as tasks and secrets for node.
	// The first message in the stream contains all of the tasks and secrets
	// that are relevant to the node. Future messages in the stream are updates to
	// the set of assignments.
	Assignments(*AssignmentsRequest, Dispatcher_AssignmentsServer) error
}

DispatcherServer is the server API for Dispatcher service.

func NewAuthenticatedWrapperDispatcherServer

func NewAuthenticatedWrapperDispatcherServer(local DispatcherServer, authorize func(context.Context, []string) error) DispatcherServer

func NewRaftProxyDispatcherServer

func NewRaftProxyDispatcherServer(local DispatcherServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) DispatcherServer

type Dispatcher_AssignmentsClient

type Dispatcher_AssignmentsClient interface {
	Recv() (*AssignmentsMessage, error)
	grpc.ClientStream
}

type Dispatcher_AssignmentsServer

type Dispatcher_AssignmentsServer interface {
	Send(*AssignmentsMessage) error
	grpc.ServerStream
}

type Dispatcher_AssignmentsServerWrapper

type Dispatcher_AssignmentsServerWrapper struct {
	Dispatcher_AssignmentsServer
	// contains filtered or unexported fields
}

func (Dispatcher_AssignmentsServerWrapper) Context

type Dispatcher_SessionClient

type Dispatcher_SessionClient interface {
	Recv() (*SessionMessage, error)
	grpc.ClientStream
}

type Dispatcher_SessionServer

type Dispatcher_SessionServer interface {
	Send(*SessionMessage) error
	grpc.ServerStream
}

type Dispatcher_SessionServerWrapper

type Dispatcher_SessionServerWrapper struct {
	Dispatcher_SessionServer
	// contains filtered or unexported fields
}

func (Dispatcher_SessionServerWrapper) Context

type Dispatcher_TasksClient

type Dispatcher_TasksClient interface {
	Recv() (*TasksMessage, error)
	grpc.ClientStream
}

type Dispatcher_TasksServer

type Dispatcher_TasksServer interface {
	Send(*TasksMessage) error
	grpc.ServerStream
}

type Dispatcher_TasksServerWrapper

type Dispatcher_TasksServerWrapper struct {
	Dispatcher_TasksServer
	// contains filtered or unexported fields
}

func (Dispatcher_TasksServerWrapper) Context

type Driver

type Driver struct {
	Name    string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Options map[string]string `` /* 155-byte string literal not displayed */
}

Driver 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.

func (*Driver) Copy

func (m *Driver) Copy() *Driver

func (*Driver) CopyFrom

func (m *Driver) CopyFrom(src interface{})

func (*Driver) Descriptor

func (*Driver) Descriptor() ([]byte, []int)

func (*Driver) Marshal

func (m *Driver) Marshal() (dAtA []byte, err error)

func (*Driver) MarshalTo

func (m *Driver) MarshalTo(dAtA []byte) (int, error)

func (*Driver) MarshalToSizedBuffer

func (m *Driver) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Driver) ProtoMessage

func (*Driver) ProtoMessage()

func (*Driver) Reset

func (m *Driver) Reset()

func (*Driver) Size

func (m *Driver) Size() (n int)

func (*Driver) String

func (this *Driver) String() string

func (*Driver) Unmarshal

func (m *Driver) Unmarshal(dAtA []byte) error

func (*Driver) XXX_DiscardUnknown

func (m *Driver) XXX_DiscardUnknown()

func (*Driver) XXX_Marshal

func (m *Driver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Driver) XXX_Merge

func (m *Driver) XXX_Merge(src proto.Message)

func (*Driver) XXX_Size

func (m *Driver) XXX_Size() int

func (*Driver) XXX_Unmarshal

func (m *Driver) XXX_Unmarshal(b []byte) error

type EncryptionConfig

type EncryptionConfig struct {
	// AutoLockManagers specifies whether or not managers TLS keys and raft data
	// should be encrypted at rest in such a way that they must be unlocked
	// before the manager node starts up again.
	AutoLockManagers bool `protobuf:"varint,1,opt,name=auto_lock_managers,json=autoLockManagers,proto3" json:"auto_lock_managers,omitempty"`
}

func (*EncryptionConfig) Copy

func (*EncryptionConfig) CopyFrom

func (m *EncryptionConfig) CopyFrom(src interface{})

func (*EncryptionConfig) Descriptor

func (*EncryptionConfig) Descriptor() ([]byte, []int)

func (*EncryptionConfig) Marshal

func (m *EncryptionConfig) Marshal() (dAtA []byte, err error)

func (*EncryptionConfig) MarshalTo

func (m *EncryptionConfig) MarshalTo(dAtA []byte) (int, error)

func (*EncryptionConfig) MarshalToSizedBuffer

func (m *EncryptionConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptionConfig) ProtoMessage

func (*EncryptionConfig) ProtoMessage()

func (*EncryptionConfig) Reset

func (m *EncryptionConfig) Reset()

func (*EncryptionConfig) Size

func (m *EncryptionConfig) Size() (n int)

func (*EncryptionConfig) String

func (this *EncryptionConfig) String() string

func (*EncryptionConfig) Unmarshal

func (m *EncryptionConfig) Unmarshal(dAtA []byte) error

func (*EncryptionConfig) XXX_DiscardUnknown

func (m *EncryptionConfig) XXX_DiscardUnknown()

func (*EncryptionConfig) XXX_Marshal

func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptionConfig) XXX_Merge

func (m *EncryptionConfig) XXX_Merge(src proto.Message)

func (*EncryptionConfig) XXX_Size

func (m *EncryptionConfig) XXX_Size() int

func (*EncryptionConfig) XXX_Unmarshal

func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error

type EncryptionKey

type EncryptionKey struct {
	// Agent subsystem the key is intended for. Example:
	// networking:gossip
	Subsystem string                  `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
	Algorithm EncryptionKey_Algorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=docker.swarmkit.v1.EncryptionKey_Algorithm" json:"algorithm,omitempty"`
	Key       []byte                  `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Time stamp from the lamport clock of the key allocator to
	// identify the relative age of the key.
	LamportTime uint64 `protobuf:"varint,4,opt,name=lamport_time,json=lamportTime,proto3" json:"lamport_time,omitempty"`
}

Symmetric keys to encrypt inter-agent communication.

func (*EncryptionKey) Copy

func (m *EncryptionKey) Copy() *EncryptionKey

func (*EncryptionKey) CopyFrom

func (m *EncryptionKey) CopyFrom(src interface{})

func (*EncryptionKey) Descriptor

func (*EncryptionKey) Descriptor() ([]byte, []int)

func (*EncryptionKey) Marshal

func (m *EncryptionKey) Marshal() (dAtA []byte, err error)

func (*EncryptionKey) MarshalTo

func (m *EncryptionKey) MarshalTo(dAtA []byte) (int, error)

func (*EncryptionKey) MarshalToSizedBuffer

func (m *EncryptionKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptionKey) ProtoMessage

func (*EncryptionKey) ProtoMessage()

func (*EncryptionKey) Reset

func (m *EncryptionKey) Reset()

func (*EncryptionKey) Size

func (m *EncryptionKey) Size() (n int)

func (*EncryptionKey) String

func (this *EncryptionKey) String() string

func (*EncryptionKey) Unmarshal

func (m *EncryptionKey) Unmarshal(dAtA []byte) error

func (*EncryptionKey) XXX_DiscardUnknown

func (m *EncryptionKey) XXX_DiscardUnknown()

func (*EncryptionKey) XXX_Marshal

func (m *EncryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptionKey) XXX_Merge

func (m *EncryptionKey) XXX_Merge(src proto.Message)

func (*EncryptionKey) XXX_Size

func (m *EncryptionKey) XXX_Size() int

func (*EncryptionKey) XXX_Unmarshal

func (m *EncryptionKey) XXX_Unmarshal(b []byte) error

type EncryptionKey_Algorithm

type EncryptionKey_Algorithm int32

Encryption algorithm that can implemented using this key

const (
	AES_128_GCM EncryptionKey_Algorithm = 0
)

func (EncryptionKey_Algorithm) EnumDescriptor

func (EncryptionKey_Algorithm) EnumDescriptor() ([]byte, []int)

func (EncryptionKey_Algorithm) String

func (x EncryptionKey_Algorithm) String() string

type Endpoint

type Endpoint struct {
	Spec *EndpointSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
	// Runtime state of the exposed ports which may carry
	// auto-allocated swarm ports in addition to the user
	// configured information.
	Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"`
	// VirtualIPs specifies the IP addresses under which this endpoint will be
	// made available.
	VirtualIPs []*Endpoint_VirtualIP `protobuf:"bytes,3,rep,name=virtual_ips,json=virtualIps,proto3" json:"virtual_ips,omitempty"`
}

Endpoint specified all the network parameters required to correctly discover and load balance a service

func (*Endpoint) Copy

func (m *Endpoint) Copy() *Endpoint

func (*Endpoint) CopyFrom

func (m *Endpoint) CopyFrom(src interface{})

func (*Endpoint) Descriptor

func (*Endpoint) Descriptor() ([]byte, []int)

func (*Endpoint) Marshal

func (m *Endpoint) Marshal() (dAtA []byte, err error)

func (*Endpoint) MarshalTo

func (m *Endpoint) MarshalTo(dAtA []byte) (int, error)

func (*Endpoint) MarshalToSizedBuffer

func (m *Endpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) Reset

func (m *Endpoint) Reset()

func (*Endpoint) Size

func (m *Endpoint) Size() (n int)

func (*Endpoint) String

func (this *Endpoint) String() string

func (*Endpoint) Unmarshal

func (m *Endpoint) Unmarshal(dAtA []byte) error

func (*Endpoint) XXX_DiscardUnknown

func (m *Endpoint) XXX_DiscardUnknown()

func (*Endpoint) XXX_Marshal

func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Endpoint) XXX_Merge

func (m *Endpoint) XXX_Merge(src proto.Message)

func (*Endpoint) XXX_Size

func (m *Endpoint) XXX_Size() int

func (*Endpoint) XXX_Unmarshal

func (m *Endpoint) XXX_Unmarshal(b []byte) error

type EndpointSpec

type EndpointSpec struct {
	Mode EndpointSpec_ResolutionMode `protobuf:"varint,1,opt,name=mode,proto3,enum=docker.swarmkit.v1.EndpointSpec_ResolutionMode" json:"mode,omitempty"`
	// List of exposed ports that this service is accessible from
	// external to the cluster.
	Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"`
}

EndpointSpec defines the properties that can be configured to access and loadbalance the service.

func (*EndpointSpec) Copy

func (m *EndpointSpec) Copy() *EndpointSpec

func (*EndpointSpec) CopyFrom

func (m *EndpointSpec) CopyFrom(src interface{})

func (*EndpointSpec) Descriptor

func (*EndpointSpec) Descriptor() ([]byte, []int)

func (*EndpointSpec) Marshal

func (m *EndpointSpec) Marshal() (dAtA []byte, err error)

func (*EndpointSpec) MarshalTo

func (m *EndpointSpec) MarshalTo(dAtA []byte) (int, error)

func (*EndpointSpec) MarshalToSizedBuffer

func (m *EndpointSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EndpointSpec) ProtoMessage

func (*EndpointSpec) ProtoMessage()

func (*EndpointSpec) Reset

func (m *EndpointSpec) Reset()

func (*EndpointSpec) Size

func (m *EndpointSpec) Size() (n int)

func (*EndpointSpec) String

func (this *EndpointSpec) String() string

func (*EndpointSpec) Unmarshal

func (m *EndpointSpec) Unmarshal(dAtA []byte) error

func (*EndpointSpec) XXX_DiscardUnknown

func (m *EndpointSpec) XXX_DiscardUnknown()

func (*EndpointSpec) XXX_Marshal

func (m *EndpointSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndpointSpec) XXX_Merge

func (m *EndpointSpec) XXX_Merge(src proto.Message)

func (*EndpointSpec) XXX_Size

func (m *EndpointSpec) XXX_Size() int

func (*EndpointSpec) XXX_Unmarshal

func (m *EndpointSpec) XXX_Unmarshal(b []byte) error

type EndpointSpec_ResolutionMode

type EndpointSpec_ResolutionMode int32

ResolutionMode specifies the mode of resolution to use for internal loadbalancing between tasks which are all within the cluster. This is sometimes calls east-west data path.

const (
	// VIP resolution mode specifies that the
	// service resolves to a logical IP and the requests
	// are sent to that logical IP. Packets hitting that
	// logical IP are load balanced to a chosen backend.
	ResolutionModeVirtualIP EndpointSpec_ResolutionMode = 0
	// DNSRR resolution mode specifies that the
	// service directly gets resolved to one of the
	// backend IP and the client directly initiates a
	// request towards the actual backend. This requires
	// that the client does not cache the DNS responses
	// when the DNS response TTL is 0.
	ResolutionModeDNSRoundRobin EndpointSpec_ResolutionMode = 1
)

func (EndpointSpec_ResolutionMode) EnumDescriptor

func (EndpointSpec_ResolutionMode) EnumDescriptor() ([]byte, []int)

func (EndpointSpec_ResolutionMode) String

type Endpoint_VirtualIP

type Endpoint_VirtualIP struct {
	// NetworkID for which this endpoint attachment was created.
	NetworkID string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// A virtual IP is used to address this service in IP
	// layer that the client can use to send requests to
	// this service. A DNS A/AAAA query on the service
	// name might return this IP to the client. This is
	// strictly a logical IP and there may not be any
	// interfaces assigned this IP address or any route
	// created for this address.  More than one to
	// accommodate for both IPv4 and IPv6
	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
}

VirtualIP specifies a set of networks this endpoint will be attached to and the IP addresses the target service will be made available under.

func (*Endpoint_VirtualIP) Copy

func (*Endpoint_VirtualIP) CopyFrom

func (m *Endpoint_VirtualIP) CopyFrom(src interface{})

func (*Endpoint_VirtualIP) Descriptor

func (*Endpoint_VirtualIP) Descriptor() ([]byte, []int)

func (*Endpoint_VirtualIP) Marshal

func (m *Endpoint_VirtualIP) Marshal() (dAtA []byte, err error)

func (*Endpoint_VirtualIP) MarshalTo

func (m *Endpoint_VirtualIP) MarshalTo(dAtA []byte) (int, error)

func (*Endpoint_VirtualIP) MarshalToSizedBuffer

func (m *Endpoint_VirtualIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Endpoint_VirtualIP) ProtoMessage

func (*Endpoint_VirtualIP) ProtoMessage()

func (*Endpoint_VirtualIP) Reset

func (m *Endpoint_VirtualIP) Reset()

func (*Endpoint_VirtualIP) Size

func (m *Endpoint_VirtualIP) Size() (n int)

func (*Endpoint_VirtualIP) String

func (this *Endpoint_VirtualIP) String() string

func (*Endpoint_VirtualIP) Unmarshal

func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error

func (*Endpoint_VirtualIP) XXX_DiscardUnknown

func (m *Endpoint_VirtualIP) XXX_DiscardUnknown()

func (*Endpoint_VirtualIP) XXX_Marshal

func (m *Endpoint_VirtualIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Endpoint_VirtualIP) XXX_Merge

func (m *Endpoint_VirtualIP) XXX_Merge(src proto.Message)

func (*Endpoint_VirtualIP) XXX_Size

func (m *Endpoint_VirtualIP) XXX_Size() int

func (*Endpoint_VirtualIP) XXX_Unmarshal

func (m *Endpoint_VirtualIP) XXX_Unmarshal(b []byte) error

type EngineDescription

type EngineDescription struct {
	// Docker daemon version running on the node.
	EngineVersion string `protobuf:"bytes,1,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"`
	// Labels attached to the engine.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Volume, Network, and Auth plugins
	Plugins []PluginDescription `protobuf:"bytes,3,rep,name=plugins,proto3" json:"plugins"`
}

func (*EngineDescription) Copy

func (*EngineDescription) CopyFrom

func (m *EngineDescription) CopyFrom(src interface{})

func (*EngineDescription) Descriptor

func (*EngineDescription) Descriptor() ([]byte, []int)

func (*EngineDescription) Marshal

func (m *EngineDescription) Marshal() (dAtA []byte, err error)

func (*EngineDescription) MarshalTo

func (m *EngineDescription) MarshalTo(dAtA []byte) (int, error)

func (*EngineDescription) MarshalToSizedBuffer

func (m *EngineDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EngineDescription) ProtoMessage

func (*EngineDescription) ProtoMessage()

func (*EngineDescription) Reset

func (m *EngineDescription) Reset()

func (*EngineDescription) Size

func (m *EngineDescription) Size() (n int)

func (*EngineDescription) String

func (this *EngineDescription) String() string

func (*EngineDescription) Unmarshal

func (m *EngineDescription) Unmarshal(dAtA []byte) error

func (*EngineDescription) XXX_DiscardUnknown

func (m *EngineDescription) XXX_DiscardUnknown()

func (*EngineDescription) XXX_Marshal

func (m *EngineDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EngineDescription) XXX_Merge

func (m *EngineDescription) XXX_Merge(src proto.Message)

func (*EngineDescription) XXX_Size

func (m *EngineDescription) XXX_Size() int

func (*EngineDescription) XXX_Unmarshal

func (m *EngineDescription) XXX_Unmarshal(b []byte) error

type Event

type Event interface {

	// Matches checks if this item in a watch queue Matches the event
	// description.
	Matches(events.Event) bool
}

Event is the type used for events passed over watcher channels, and also the type used to specify filtering in calls to Watch.

func ConvertClusterWatch

func ConvertClusterWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertConfigWatch

func ConvertConfigWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertExtensionWatch

func ConvertExtensionWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertNetworkWatch

func ConvertNetworkWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertNodeWatch

func ConvertNodeWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertResourceWatch

func ConvertResourceWatch(action WatchActionKind, filters []*SelectBy, kind string) ([]Event, error)

func ConvertSecretWatch

func ConvertSecretWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertServiceWatch

func ConvertServiceWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertTaskWatch

func ConvertTaskWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertVolumeWatch

func ConvertVolumeWatch(action WatchActionKind, filters []*SelectBy) ([]Event, error)

func ConvertWatchArgs

func ConvertWatchArgs(entries []*WatchRequest_WatchEntry) ([]Event, error)

func EventFromStoreAction

func EventFromStoreAction(sa StoreAction, oldObject StoreObject) (Event, error)

type EventCluster

type EventCluster interface {
	IsEventCluster() bool
}

type EventConfig

type EventConfig interface {
	IsEventConfig() bool
}

type EventCreate

type EventCreate interface {
	IsEventCreate() bool
}

EventCreate is an interface implemented by every creation event type

type EventCreateCluster

type EventCreateCluster struct {
	Cluster *Cluster
	Checks  []ClusterCheckFunc
}

func (EventCreateCluster) IsEventCluster

func (e EventCreateCluster) IsEventCluster() bool

func (EventCreateCluster) IsEventCreate

func (e EventCreateCluster) IsEventCreate() bool

func (EventCreateCluster) Matches

type EventCreateConfig

type EventCreateConfig struct {
	Config *Config
	Checks []ConfigCheckFunc
}

func (EventCreateConfig) IsEventConfig

func (e EventCreateConfig) IsEventConfig() bool

func (EventCreateConfig) IsEventCreate

func (e EventCreateConfig) IsEventCreate() bool

func (EventCreateConfig) Matches

type EventCreateExtension

type EventCreateExtension struct {
	Extension *Extension
	Checks    []ExtensionCheckFunc
}

func (EventCreateExtension) IsEventCreate

func (e EventCreateExtension) IsEventCreate() bool

func (EventCreateExtension) IsEventExtension

func (e EventCreateExtension) IsEventExtension() bool

func (EventCreateExtension) Matches

type EventCreateNetwork

type EventCreateNetwork struct {
	Network *Network
	Checks  []NetworkCheckFunc
}

func (EventCreateNetwork) IsEventCreate

func (e EventCreateNetwork) IsEventCreate() bool

func (EventCreateNetwork) IsEventNetwork

func (e EventCreateNetwork) IsEventNetwork() bool

func (EventCreateNetwork) Matches

type EventCreateNode

type EventCreateNode struct {
	Node   *Node
	Checks []NodeCheckFunc
}

func (EventCreateNode) IsEventCreate

func (e EventCreateNode) IsEventCreate() bool

func (EventCreateNode) IsEventNode

func (e EventCreateNode) IsEventNode() bool

func (EventCreateNode) Matches

type EventCreateResource

type EventCreateResource struct {
	Resource *Resource
	Checks   []ResourceCheckFunc
}

func (EventCreateResource) IsEventCreate

func (e EventCreateResource) IsEventCreate() bool

func (EventCreateResource) IsEventResource

func (e EventCreateResource) IsEventResource() bool

func (EventCreateResource) Matches

type EventCreateSecret

type EventCreateSecret struct {
	Secret *Secret
	Checks []SecretCheckFunc
}

func (EventCreateSecret) IsEventCreate

func (e EventCreateSecret) IsEventCreate() bool

func (EventCreateSecret) IsEventSecret

func (e EventCreateSecret) IsEventSecret() bool

func (EventCreateSecret) Matches

type EventCreateService

type EventCreateService struct {
	Service *Service
	Checks  []ServiceCheckFunc
}

func (EventCreateService) IsEventCreate

func (e EventCreateService) IsEventCreate() bool

func (EventCreateService) IsEventService

func (e EventCreateService) IsEventService() bool

func (EventCreateService) Matches

type EventCreateTask

type EventCreateTask struct {
	Task   *Task
	Checks []TaskCheckFunc
}

func (EventCreateTask) IsEventCreate

func (e EventCreateTask) IsEventCreate() bool

func (EventCreateTask) IsEventTask

func (e EventCreateTask) IsEventTask() bool

func (EventCreateTask) Matches

type EventCreateVolume

type EventCreateVolume struct {
	Volume *Volume
	Checks []VolumeCheckFunc
}

func (EventCreateVolume) IsEventCreate

func (e EventCreateVolume) IsEventCreate() bool

func (EventCreateVolume) IsEventVolume

func (e EventCreateVolume) IsEventVolume() bool

func (EventCreateVolume) Matches

type EventDelete

type EventDelete interface {
	IsEventDelete()
}

EventDelete is an interface implemented by every delete event type

type EventDeleteCluster

type EventDeleteCluster struct {
	Cluster *Cluster
	Checks  []ClusterCheckFunc
}

func (EventDeleteCluster) IsEventCluster

func (e EventDeleteCluster) IsEventCluster() bool

func (EventDeleteCluster) IsEventDelete

func (e EventDeleteCluster) IsEventDelete() bool

func (EventDeleteCluster) Matches

type EventDeleteConfig

type EventDeleteConfig struct {
	Config *Config
	Checks []ConfigCheckFunc
}

func (EventDeleteConfig) IsEventConfig

func (e EventDeleteConfig) IsEventConfig() bool

func (EventDeleteConfig) IsEventDelete

func (e EventDeleteConfig) IsEventDelete() bool

func (EventDeleteConfig) Matches

type EventDeleteExtension

type EventDeleteExtension struct {
	Extension *Extension
	Checks    []ExtensionCheckFunc
}

func (EventDeleteExtension) IsEventDelete

func (e EventDeleteExtension) IsEventDelete() bool

func (EventDeleteExtension) IsEventExtension

func (e EventDeleteExtension) IsEventExtension() bool

func (EventDeleteExtension) Matches

type EventDeleteNetwork

type EventDeleteNetwork struct {
	Network *Network
	Checks  []NetworkCheckFunc
}

func (EventDeleteNetwork) IsEventDelete

func (e EventDeleteNetwork) IsEventDelete() bool

func (EventDeleteNetwork) IsEventNetwork

func (e EventDeleteNetwork) IsEventNetwork() bool

func (EventDeleteNetwork) Matches

type EventDeleteNode

type EventDeleteNode struct {
	Node   *Node
	Checks []NodeCheckFunc
}

func (EventDeleteNode) IsEventDelete

func (e EventDeleteNode) IsEventDelete() bool

func (EventDeleteNode) IsEventNode

func (e EventDeleteNode) IsEventNode() bool

func (EventDeleteNode) Matches

type EventDeleteResource

type EventDeleteResource struct {
	Resource *Resource
	Checks   []ResourceCheckFunc
}

func (EventDeleteResource) IsEventDelete

func (e EventDeleteResource) IsEventDelete() bool

func (EventDeleteResource) IsEventResource

func (e EventDeleteResource) IsEventResource() bool

func (EventDeleteResource) Matches

type EventDeleteSecret

type EventDeleteSecret struct {
	Secret *Secret
	Checks []SecretCheckFunc
}

func (EventDeleteSecret) IsEventDelete

func (e EventDeleteSecret) IsEventDelete() bool

func (EventDeleteSecret) IsEventSecret

func (e EventDeleteSecret) IsEventSecret() bool

func (EventDeleteSecret) Matches

type EventDeleteService

type EventDeleteService struct {
	Service *Service
	Checks  []ServiceCheckFunc
}

func (EventDeleteService) IsEventDelete

func (e EventDeleteService) IsEventDelete() bool

func (EventDeleteService) IsEventService

func (e EventDeleteService) IsEventService() bool

func (EventDeleteService) Matches

type EventDeleteTask

type EventDeleteTask struct {
	Task   *Task
	Checks []TaskCheckFunc
}

func (EventDeleteTask) IsEventDelete

func (e EventDeleteTask) IsEventDelete() bool

func (EventDeleteTask) IsEventTask

func (e EventDeleteTask) IsEventTask() bool

func (EventDeleteTask) Matches

type EventDeleteVolume

type EventDeleteVolume struct {
	Volume *Volume
	Checks []VolumeCheckFunc
}

func (EventDeleteVolume) IsEventDelete

func (e EventDeleteVolume) IsEventDelete() bool

func (EventDeleteVolume) IsEventVolume

func (e EventDeleteVolume) IsEventVolume() bool

func (EventDeleteVolume) Matches

type EventExtension

type EventExtension interface {
	IsEventExtension() bool
}

type EventNetwork

type EventNetwork interface {
	IsEventNetwork() bool
}

type EventNode

type EventNode interface {
	IsEventNode() bool
}

type EventResource

type EventResource interface {
	IsEventResource() bool
}

type EventSecret

type EventSecret interface {
	IsEventSecret() bool
}

type EventService

type EventService interface {
	IsEventService() bool
}

type EventTask

type EventTask interface {
	IsEventTask() bool
}

type EventUpdate

type EventUpdate interface {
	IsEventUpdate() bool
}

EventUpdate is an interface implemented by every update event type

type EventUpdateCluster

type EventUpdateCluster struct {
	Cluster    *Cluster
	OldCluster *Cluster
	Checks     []ClusterCheckFunc
}

func (EventUpdateCluster) IsEventCluster

func (e EventUpdateCluster) IsEventCluster() bool

func (EventUpdateCluster) IsEventUpdate

func (e EventUpdateCluster) IsEventUpdate() bool

func (EventUpdateCluster) Matches

type EventUpdateConfig

type EventUpdateConfig struct {
	Config    *Config
	OldConfig *Config
	Checks    []ConfigCheckFunc
}

func (EventUpdateConfig) IsEventConfig

func (e EventUpdateConfig) IsEventConfig() bool

func (EventUpdateConfig) IsEventUpdate

func (e EventUpdateConfig) IsEventUpdate() bool

func (EventUpdateConfig) Matches

type EventUpdateExtension

type EventUpdateExtension struct {
	Extension    *Extension
	OldExtension *Extension
	Checks       []ExtensionCheckFunc
}

func (EventUpdateExtension) IsEventExtension

func (e EventUpdateExtension) IsEventExtension() bool

func (EventUpdateExtension) IsEventUpdate

func (e EventUpdateExtension) IsEventUpdate() bool

func (EventUpdateExtension) Matches

type EventUpdateNetwork

type EventUpdateNetwork struct {
	Network    *Network
	OldNetwork *Network
	Checks     []NetworkCheckFunc
}

func (EventUpdateNetwork) IsEventNetwork

func (e EventUpdateNetwork) IsEventNetwork() bool

func (EventUpdateNetwork) IsEventUpdate

func (e EventUpdateNetwork) IsEventUpdate() bool

func (EventUpdateNetwork) Matches

type EventUpdateNode

type EventUpdateNode struct {
	Node    *Node
	OldNode *Node
	Checks  []NodeCheckFunc
}

func (EventUpdateNode) IsEventNode

func (e EventUpdateNode) IsEventNode() bool

func (EventUpdateNode) IsEventUpdate

func (e EventUpdateNode) IsEventUpdate() bool

func (EventUpdateNode) Matches

type EventUpdateResource

type EventUpdateResource struct {
	Resource    *Resource
	OldResource *Resource
	Checks      []ResourceCheckFunc
}

func (EventUpdateResource) IsEventResource

func (e EventUpdateResource) IsEventResource() bool

func (EventUpdateResource) IsEventUpdate

func (e EventUpdateResource) IsEventUpdate() bool

func (EventUpdateResource) Matches

type EventUpdateSecret

type EventUpdateSecret struct {
	Secret    *Secret
	OldSecret *Secret
	Checks    []SecretCheckFunc
}

func (EventUpdateSecret) IsEventSecret

func (e EventUpdateSecret) IsEventSecret() bool

func (EventUpdateSecret) IsEventUpdate

func (e EventUpdateSecret) IsEventUpdate() bool

func (EventUpdateSecret) Matches

type EventUpdateService

type EventUpdateService struct {
	Service    *Service
	OldService *Service
	Checks     []ServiceCheckFunc
}

func (EventUpdateService) IsEventService

func (e EventUpdateService) IsEventService() bool

func (EventUpdateService) IsEventUpdate

func (e EventUpdateService) IsEventUpdate() bool

func (EventUpdateService) Matches

type EventUpdateTask

type EventUpdateTask struct {
	Task    *Task
	OldTask *Task
	Checks  []TaskCheckFunc
}

func (EventUpdateTask) IsEventTask

func (e EventUpdateTask) IsEventTask() bool

func (EventUpdateTask) IsEventUpdate

func (e EventUpdateTask) IsEventUpdate() bool

func (EventUpdateTask) Matches

type EventUpdateVolume

type EventUpdateVolume struct {
	Volume    *Volume
	OldVolume *Volume
	Checks    []VolumeCheckFunc
}

func (EventUpdateVolume) IsEventUpdate

func (e EventUpdateVolume) IsEventUpdate() bool

func (EventUpdateVolume) IsEventVolume

func (e EventUpdateVolume) IsEventVolume() bool

func (EventUpdateVolume) Matches

type EventVolume

type EventVolume interface {
	IsEventVolume() bool
}

type Extension

type Extension struct {
	ID          string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta        Meta        `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"`
	Annotations Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations"`
	Description string      `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
}

Extension declares a type of "resource" object. This message provides some metadata about the objects.

func (*Extension) Copy

func (m *Extension) Copy() *Extension

func (*Extension) CopyFrom

func (m *Extension) CopyFrom(src interface{})

func (*Extension) CopyStoreObject

func (m *Extension) CopyStoreObject() StoreObject

func (*Extension) Descriptor

func (*Extension) Descriptor() ([]byte, []int)

func (*Extension) EventCreate

func (m *Extension) EventCreate() Event

func (*Extension) EventDelete

func (m *Extension) EventDelete() Event

func (*Extension) EventUpdate

func (m *Extension) EventUpdate(oldObject StoreObject) Event

func (*Extension) GetID

func (m *Extension) GetID() string

func (*Extension) GetMeta

func (m *Extension) GetMeta() Meta

func (*Extension) Marshal

func (m *Extension) Marshal() (dAtA []byte, err error)

func (*Extension) MarshalTo

func (m *Extension) MarshalTo(dAtA []byte) (int, error)

func (*Extension) MarshalToSizedBuffer

func (m *Extension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) Reset

func (m *Extension) Reset()

func (*Extension) SetMeta

func (m *Extension) SetMeta(meta Meta)

func (*Extension) Size

func (m *Extension) Size() (n int)

func (*Extension) String

func (this *Extension) String() string

func (*Extension) Unmarshal

func (m *Extension) Unmarshal(dAtA []byte) error

func (*Extension) XXX_DiscardUnknown

func (m *Extension) XXX_DiscardUnknown()

func (*Extension) XXX_Marshal

func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Extension) XXX_Merge

func (m *Extension) XXX_Merge(src proto.Message)

func (*Extension) XXX_Size

func (m *Extension) XXX_Size() int

func (*Extension) XXX_Unmarshal

func (m *Extension) XXX_Unmarshal(b []byte) error

type ExtensionCheckFunc

type ExtensionCheckFunc func(t1, t2 *Extension) bool

type ExtensionCustomIndexer

type ExtensionCustomIndexer struct{}

func (ExtensionCustomIndexer) FromArgs

func (indexer ExtensionCustomIndexer) FromArgs(args ...interface{}) ([]byte, error)

func (ExtensionCustomIndexer) FromObject

func (indexer ExtensionCustomIndexer) FromObject(obj interface{}) (bool, [][]byte, error)

func (ExtensionCustomIndexer) PrefixFromArgs

func (indexer ExtensionCustomIndexer) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ExtensionIndexerByID

type ExtensionIndexerByID struct{}

func (ExtensionIndexerByID) FromArgs

func (indexer ExtensionIndexerByID) FromArgs(args ...interface{}) ([]byte, error)

func (ExtensionIndexerByID) FromObject

func (indexer ExtensionIndexerByID) FromObject(obj interface{}) (bool, []byte, error)

func (ExtensionIndexerByID) PrefixFromArgs

func (indexer ExtensionIndexerByID) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ExtensionIndexerByName

type ExtensionIndexerByName struct{}

func (ExtensionIndexerByName) FromArgs

func (indexer ExtensionIndexerByName) FromArgs(args ...interface{}) ([]byte, error)

func (ExtensionIndexerByName) FromObject

func (indexer ExtensionIndexerByName) FromObject(obj interface{}) (bool, []byte, error)

func (ExtensionIndexerByName) PrefixFromArgs

func (indexer ExtensionIndexerByName) PrefixFromArgs(args ...interface{}) ([]byte, error)

type ExternalCA

type ExternalCA struct {
	// Protocol is the protocol used by this external CA.
	Protocol ExternalCA_CAProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=docker.swarmkit.v1.ExternalCA_CAProtocol" json:"protocol,omitempty"`
	// URL is the URL where the external CA can be reached.
	URL string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Options is a set of additional key/value pairs whose interpretation
	// depends on the specified CA type.
	Options map[string]string `` /* 155-byte string literal not displayed */
	// CACert specifies which root CA is used by this external CA
	CACert []byte `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
}

func (*ExternalCA) Copy

func (m *ExternalCA) Copy() *ExternalCA

func (*ExternalCA) CopyFrom

func (m *ExternalCA) CopyFrom(src interface{})

func (*ExternalCA) Descriptor

func (*ExternalCA) Descriptor() ([]byte, []int)

func (*ExternalCA) Marshal

func (m *ExternalCA) Marshal() (dAtA []byte, err error)

func (*ExternalCA) MarshalTo

func (m *ExternalCA) MarshalTo(dAtA []byte) (int, error)

func (*ExternalCA) MarshalToSizedBuffer

func (m *ExternalCA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExternalCA) ProtoMessage

func (*ExternalCA) ProtoMessage()

func (*ExternalCA) Reset

func (m *ExternalCA) Reset()

func (*ExternalCA) Size

func (m *ExternalCA) Size() (n int)

func (*ExternalCA) String

func (this *ExternalCA) String() string

func (*ExternalCA) Unmarshal

func (m *ExternalCA) Unmarshal(dAtA []byte) error

func (*ExternalCA) XXX_DiscardUnknown

func (m *ExternalCA) XXX_DiscardUnknown()

func (*ExternalCA) XXX_Marshal

func (m *ExternalCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalCA) XXX_Merge

func (m *ExternalCA) XXX_Merge(src proto.Message)

func (*ExternalCA) XXX_Size

func (m *ExternalCA) XXX_Size() int

func (*ExternalCA) XXX_Unmarshal

func (m *ExternalCA) XXX_Unmarshal(b []byte) error

type ExternalCA_CAProtocol

type ExternalCA_CAProtocol int32
const (
	ExternalCA_CAProtocolCFSSL ExternalCA_CAProtocol = 0
)

func (ExternalCA_CAProtocol) EnumDescriptor

func (ExternalCA_CAProtocol) EnumDescriptor() ([]byte, []int)

func (ExternalCA_CAProtocol) String

func (x ExternalCA_CAProtocol) String() string

type FileTarget

type FileTarget struct {
	// Name represents the final filename in the filesystem
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// UID represents the file UID
	UID string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// GID represents the file GID
	GID string `protobuf:"bytes,3,opt,name=gid,proto3" json:"gid,omitempty"`
	// Mode represents the FileMode of the file
	Mode os.FileMode `protobuf:"varint,4,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"`
}

FileTarget represents a specific target that is backed by a file

func (*FileTarget) Copy

func (m *FileTarget) Copy() *FileTarget

func (*FileTarget) CopyFrom

func (m *FileTarget) CopyFrom(src interface{})

func (*FileTarget) Descriptor

func (*FileTarget) Descriptor() ([]byte, []int)

func (*FileTarget) Marshal

func (m *FileTarget) Marshal() (dAtA []byte, err error)

func (*FileTarget) MarshalTo

func (m *FileTarget) MarshalTo(dAtA []byte) (int, error)

func (*FileTarget) MarshalToSizedBuffer

func (m *FileTarget) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileTarget) ProtoMessage

func (*FileTarget) ProtoMessage()

func (*FileTarget) Reset

func (m *FileTarget) Reset()

func (*FileTarget) Size

func (m *FileTarget) Size() (n int)

func (*FileTarget) String

func (this *FileTarget) String() string

func (*FileTarget) Unmarshal

func (m *FileTarget) Unmarshal(dAtA []byte) error

func (*FileTarget) XXX_DiscardUnknown

func (m *FileTarget) XXX_DiscardUnknown()

func (*FileTarget) XXX_Marshal

func (m *FileTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileTarget) XXX_Merge

func (m *FileTarget) XXX_Merge(src proto.Message)

func (*FileTarget) XXX_Size

func (m *FileTarget) XXX_Size() int

func (*FileTarget) XXX_Unmarshal

func (m *FileTarget) XXX_Unmarshal(b []byte) error

type GenericResource

type GenericResource struct {
	// Types that are valid to be assigned to Resource:
	//	*GenericResource_NamedResourceSpec
	//	*GenericResource_DiscreteResourceSpec
	Resource isGenericResource_Resource `protobuf_oneof:"resource"`
}

GenericResource represents a "user defined" resource which can be either an integer (e.g: SSD=3) or a string (e.g: SSD=sda1)

func (*GenericResource) Copy

func (m *GenericResource) Copy() *GenericResource

func (*GenericResource) CopyFrom

func (m *GenericResource) CopyFrom(src interface{})

func (*GenericResource) Descriptor

func (*GenericResource) Descriptor() ([]byte, []int)

func (*GenericResource) GetDiscreteResourceSpec

func (m *GenericResource) GetDiscreteResourceSpec() *DiscreteGenericResource

func (*GenericResource) GetNamedResourceSpec

func (m *GenericResource) GetNamedResourceSpec() *NamedGenericResource

func (*GenericResource) GetResource

func (m *GenericResource) GetResource() isGenericResource_Resource

func (*GenericResource) Marshal

func (m *GenericResource) Marshal() (dAtA []byte, err error)

func (*GenericResource) MarshalTo

func (m *GenericResource) MarshalTo(dAtA []byte) (int, error)

func (*GenericResource) MarshalToSizedBuffer

func (m *GenericResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericResource) ProtoMessage

func (*GenericResource) ProtoMessage()

func (*GenericResource) Reset

func (m *GenericResource) Reset()

func (*GenericResource) Size

func (m *GenericResource) Size() (n int)

func (*GenericResource) String

func (this *GenericResource) String() string

func (*GenericResource) Unmarshal

func (m *GenericResource) Unmarshal(dAtA []byte) error

func (*GenericResource) XXX_DiscardUnknown

func (m *GenericResource) XXX_DiscardUnknown()

func (*GenericResource) XXX_Marshal

func (m *GenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericResource) XXX_Merge

func (m *GenericResource) XXX_Merge(src proto.Message)

func (*GenericResource) XXX_OneofWrappers

func (*GenericResource) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GenericResource) XXX_Size

func (m *GenericResource) XXX_Size() int

func (*GenericResource) XXX_Unmarshal

func (m *GenericResource) XXX_Unmarshal(b []byte) error

type GenericResource_DiscreteResourceSpec

type GenericResource_DiscreteResourceSpec struct {
	DiscreteResourceSpec *DiscreteGenericResource `` /* 129-byte string literal not displayed */
}

func (*GenericResource_DiscreteResourceSpec) MarshalTo

func (m *GenericResource_DiscreteResourceSpec) MarshalTo(dAtA []byte) (int, error)

func (*GenericResource_DiscreteResourceSpec) MarshalToSizedBuffer

func (m *GenericResource_DiscreteResourceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericResource_DiscreteResourceSpec) Size

func (*GenericResource_DiscreteResourceSpec) String

type GenericResource_NamedResourceSpec

type GenericResource_NamedResourceSpec struct {
	NamedResourceSpec *NamedGenericResource `protobuf:"bytes,1,opt,name=named_resource_spec,json=namedResourceSpec,proto3,oneof" json:"named_resource_spec,omitempty"`
}

func (*GenericResource_NamedResourceSpec) MarshalTo

func (m *GenericResource_NamedResourceSpec) MarshalTo(dAtA []byte) (int, error)

func (*GenericResource_NamedResourceSpec) MarshalToSizedBuffer

func (m *GenericResource_NamedResourceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericResource_NamedResourceSpec) Size

func (m *GenericResource_NamedResourceSpec) Size() (n int)

func (*GenericResource_NamedResourceSpec) String

type GenericRuntimeSpec

type GenericRuntimeSpec struct {
	Kind    string     `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Payload *types.Any `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*GenericRuntimeSpec) Copy

func (*GenericRuntimeSpec) CopyFrom

func (m *GenericRuntimeSpec) CopyFrom(src interface{})

func (*GenericRuntimeSpec) Descriptor

func (*GenericRuntimeSpec) Descriptor() ([]byte, []int)

func (*GenericRuntimeSpec) Marshal

func (m *GenericRuntimeSpec) Marshal() (dAtA []byte, err error)

func (*GenericRuntimeSpec) MarshalTo

func (m *GenericRuntimeSpec) MarshalTo(dAtA []byte) (int, error)

func (*GenericRuntimeSpec) MarshalToSizedBuffer

func (m *GenericRuntimeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericRuntimeSpec) ProtoMessage

func (*GenericRuntimeSpec) ProtoMessage()

func (*GenericRuntimeSpec) Reset

func (m *GenericRuntimeSpec) Reset()

func (*GenericRuntimeSpec) Size

func (m *GenericRuntimeSpec) Size() (n int)

func (*GenericRuntimeSpec) String

func (this *GenericRuntimeSpec) String() string

func (*GenericRuntimeSpec) Unmarshal

func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error

func (*GenericRuntimeSpec) XXX_DiscardUnknown

func (m *GenericRuntimeSpec) XXX_DiscardUnknown()

func (*GenericRuntimeSpec) XXX_Marshal

func (m *GenericRuntimeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericRuntimeSpec) XXX_Merge

func (m *GenericRuntimeSpec) XXX_Merge(src proto.Message)

func (*GenericRuntimeSpec) XXX_Size

func (m *GenericRuntimeSpec) XXX_Size() int

func (*GenericRuntimeSpec) XXX_Unmarshal

func (m *GenericRuntimeSpec) XXX_Unmarshal(b []byte) error

type GetClusterRequest

type GetClusterRequest struct {
	ClusterID string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
}

func (*GetClusterRequest) Copy

func (*GetClusterRequest) CopyFrom

func (m *GetClusterRequest) CopyFrom(src interface{})

func (*GetClusterRequest) Descriptor

func (*GetClusterRequest) Descriptor() ([]byte, []int)

func (*GetClusterRequest) Marshal

func (m *GetClusterRequest) Marshal() (dAtA []byte, err error)

func (*GetClusterRequest) MarshalTo

func (m *GetClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetClusterRequest) MarshalToSizedBuffer

func (m *GetClusterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) Reset

func (m *GetClusterRequest) Reset()

func (*GetClusterRequest) Size

func (m *GetClusterRequest) Size() (n int)

func (*GetClusterRequest) String

func (this *GetClusterRequest) String() string

func (*GetClusterRequest) Unmarshal

func (m *GetClusterRequest) Unmarshal(dAtA []byte) error

func (*GetClusterRequest) XXX_DiscardUnknown

func (m *GetClusterRequest) XXX_DiscardUnknown()

func (*GetClusterRequest) XXX_Marshal

func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterRequest) XXX_Merge

func (m *GetClusterRequest) XXX_Merge(src proto.Message)

func (*GetClusterRequest) XXX_Size

func (m *GetClusterRequest) XXX_Size() int

func (*GetClusterRequest) XXX_Unmarshal

func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error

type GetClusterResponse

type GetClusterResponse struct {
	Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
}

func (*GetClusterResponse) Copy

func (*GetClusterResponse) CopyFrom

func (m *GetClusterResponse) CopyFrom(src interface{})

func (*GetClusterResponse) Descriptor

func (*GetClusterResponse) Descriptor() ([]byte, []int)

func (*GetClusterResponse) Marshal

func (m *GetClusterResponse) Marshal() (dAtA []byte, err error)

func (*GetClusterResponse) MarshalTo

func (m *GetClusterResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetClusterResponse) MarshalToSizedBuffer

func (m *GetClusterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetClusterResponse) ProtoMessage

func (*GetClusterResponse) ProtoMessage()

func (*GetClusterResponse) Reset

func (m *GetClusterResponse) Reset()

func (*GetClusterResponse) Size

func (m *GetClusterResponse) Size() (n int)

func (*GetClusterResponse) String

func (this *GetClusterResponse) String() string

func (*GetClusterResponse) Unmarshal

func (m *GetClusterResponse) Unmarshal(dAtA []byte) error

func (*GetClusterResponse) XXX_DiscardUnknown

func (m *GetClusterResponse) XXX_DiscardUnknown()

func (*GetClusterResponse) XXX_Marshal

func (m *GetClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterResponse) XXX_Merge

func (m *GetClusterResponse) XXX_Merge(src proto.Message)

func (*GetClusterResponse) XXX_Size

func (m *GetClusterResponse) XXX_Size() int

func (*GetClusterResponse) XXX_Unmarshal

func (m *GetClusterResponse) XXX_Unmarshal(b []byte) error

type GetConfigRequest

type GetConfigRequest struct {
	ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
}

GetConfigRequest is the request to get a `Config` object given a config id.

func (*GetConfigRequest) Copy

func (*GetConfigRequest) CopyFrom

func (m *GetConfigRequest) CopyFrom(src interface{})

func (*GetConfigRequest) Descriptor

func (*GetConfigRequest) Descriptor() ([]byte, []int)

func (*GetConfigRequest) Marshal

func (m *GetConfigRequest) Marshal() (dAtA []byte, err error)

func (*GetConfigRequest) MarshalTo

func (m *GetConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetConfigRequest) MarshalToSizedBuffer

func (m *GetConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) Reset

func (m *GetConfigRequest) Reset()

func (*GetConfigRequest) Size

func (m *GetConfigRequest) Size() (n int)

func (*GetConfigRequest) String

func (this *GetConfigRequest) String() string

func (*GetConfigRequest) Unmarshal

func (m *GetConfigRequest) Unmarshal(dAtA []byte) error

func (*GetConfigRequest) XXX_DiscardUnknown

func (m *GetConfigRequest) XXX_DiscardUnknown()

func (*GetConfigRequest) XXX_Marshal

func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetConfigRequest) XXX_Merge

func (m *GetConfigRequest) XXX_Merge(src proto.Message)

func (*GetConfigRequest) XXX_Size

func (m *GetConfigRequest) XXX_Size() int

func (*GetConfigRequest) XXX_Unmarshal

func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error

type GetConfigResponse

type GetConfigResponse struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}

GetConfigResponse contains the Config corresponding to the id in `GetConfigRequest`.

func (*GetConfigResponse) Copy

func (*GetConfigResponse) CopyFrom

func (m *GetConfigResponse) CopyFrom(src interface{})

func (*GetConfigResponse) Descriptor

func (*GetConfigResponse) Descriptor() ([]byte, []int)

func (*GetConfigResponse) Marshal

func (m *GetConfigResponse) Marshal() (dAtA []byte, err error)

func (*GetConfigResponse) MarshalTo

func (m *GetConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetConfigResponse) MarshalToSizedBuffer

func (m *GetConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) Reset

func (m *GetConfigResponse) Reset()

func (*GetConfigResponse) Size

func (m *GetConfigResponse) Size() (n int)

func (*GetConfigResponse) String

func (this *GetConfigResponse) String() string

func (*GetConfigResponse) Unmarshal

func (m *GetConfigResponse) Unmarshal(dAtA []byte) error

func (*GetConfigResponse) XXX_DiscardUnknown

func (m *GetConfigResponse) XXX_DiscardUnknown()

func (*GetConfigResponse) XXX_Marshal

func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetConfigResponse) XXX_Merge

func (m *GetConfigResponse) XXX_Merge(src proto.Message)

func (*GetConfigResponse) XXX_Size

func (m *GetConfigResponse) XXX_Size() int

func (*GetConfigResponse) XXX_Unmarshal

func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error

type GetExtensionRequest

type GetExtensionRequest struct {
	ExtensionID string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId,proto3" json:"extension_id,omitempty"`
}

GetResourceRequest is the request to get a Extension object given a extension id.

func (*GetExtensionRequest) Copy

func (*GetExtensionRequest) CopyFrom

func (m *GetExtensionRequest) CopyFrom(src interface{})

func (*GetExtensionRequest) Descriptor

func (*GetExtensionRequest) Descriptor() ([]byte, []int)

func (*GetExtensionRequest) Marshal

func (m *GetExtensionRequest) Marshal() (dAtA []byte, err error)

func (*GetExtensionRequest) MarshalTo

func (m *GetExtensionRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetExtensionRequest) MarshalToSizedBuffer

func (m *GetExtensionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetExtensionRequest) ProtoMessage

func (*GetExtensionRequest) ProtoMessage()

func (*GetExtensionRequest) Reset

func (m *GetExtensionRequest) Reset()

func (*GetExtensionRequest) Size

func (m *GetExtensionRequest) Size() (n int)

func (*GetExtensionRequest) String

func (this *GetExtensionRequest) String() string

func (*GetExtensionRequest) Unmarshal

func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error

func (*GetExtensionRequest) XXX_DiscardUnknown

func (m *GetExtensionRequest) XXX_DiscardUnknown()

func (*GetExtensionRequest) XXX_Marshal

func (m *GetExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExtensionRequest) XXX_Merge

func (m *GetExtensionRequest) XXX_Merge(src proto.Message)

func (*GetExtensionRequest) XXX_Size

func (m *GetExtensionRequest) XXX_Size() int

func (*GetExtensionRequest) XXX_Unmarshal

func (m *GetExtensionRequest) XXX_Unmarshal(b []byte) error

type GetExtensionResponse

type GetExtensionResponse struct {
	Extension *Extension `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
}

GetExtensionResponse contains the Extension corresponding to the id in `GetExtensionRequest`.

func (*GetExtensionResponse) Copy

func (*GetExtensionResponse) CopyFrom

func (m *GetExtensionResponse) CopyFrom(src interface{})

func (*GetExtensionResponse) Descriptor

func (*GetExtensionResponse) Descriptor() ([]byte, []int)

func (*GetExtensionResponse) Marshal

func (m *GetExtensionResponse) Marshal() (dAtA []byte, err error)

func (*GetExtensionResponse) MarshalTo

func (m *GetExtensionResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetExtensionResponse) MarshalToSizedBuffer

func (m *GetExtensionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetExtensionResponse) ProtoMessage

func (*GetExtensionResponse) ProtoMessage()

func (*GetExtensionResponse) Reset

func (m *GetExtensionResponse) Reset()

func (*GetExtensionResponse) Size

func (m *GetExtensionResponse) Size() (n int)

func (*GetExtensionResponse) String

func (this *GetExtensionResponse) String() string

func (*GetExtensionResponse) Unmarshal

func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error

func (*GetExtensionResponse) XXX_DiscardUnknown

func (m *GetExtensionResponse) XXX_DiscardUnknown()

func (*GetExtensionResponse) XXX_Marshal

func (m *GetExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExtensionResponse) XXX_Merge

func (m *GetExtensionResponse) XXX_Merge(src proto.Message)

func (*GetExtensionResponse) XXX_Size

func (m *GetExtensionResponse) XXX_Size() int

func (*GetExtensionResponse) XXX_Unmarshal

func (m *GetExtensionResponse) XXX_Unmarshal(b []byte) error

type GetNetworkRequest

type GetNetworkRequest struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NetworkID string `protobuf:"bytes,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Application-specific message for the NetworkAllocator's OnGetNetwork callback.
	Appdata *types.Any `protobuf:"bytes,3,opt,name=appdata,proto3" json:"appdata,omitempty"`
}

func (*GetNetworkRequest) Copy

func (*GetNetworkRequest) CopyFrom

func (m *GetNetworkRequest) CopyFrom(src interface{})

func (*GetNetworkRequest) Descriptor

func (*GetNetworkRequest) Descriptor() ([]byte, []int)

func (*GetNetworkRequest) Marshal

func (m *GetNetworkRequest) Marshal() (dAtA []byte, err error)

func (*GetNetworkRequest) MarshalTo

func (m *GetNetworkRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetNetworkRequest) MarshalToSizedBuffer

func (m *GetNetworkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNetworkRequest) ProtoMessage

func (*GetNetworkRequest) ProtoMessage()

func (*GetNetworkRequest) Reset

func (m *GetNetworkRequest) Reset()

func (*GetNetworkRequest) Size

func (m *GetNetworkRequest) Size() (n int)

func (*GetNetworkRequest) String

func (this *GetNetworkRequest) String() string

func (*GetNetworkRequest) Unmarshal

func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error

func (*GetNetworkRequest) XXX_DiscardUnknown

func (m *GetNetworkRequest) XXX_DiscardUnknown()

func (*GetNetworkRequest) XXX_Marshal

func (m *GetNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNetworkRequest) XXX_Merge

func (m *GetNetworkRequest) XXX_Merge(src proto.Message)

func (*GetNetworkRequest) XXX_Size

func (m *GetNetworkRequest) XXX_Size() int

func (*GetNetworkRequest) XXX_Unmarshal

func (m *GetNetworkRequest) XXX_Unmarshal(b []byte) error

type GetNetworkResponse

type GetNetworkResponse struct {
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
}

func (*GetNetworkResponse) Copy

func (*GetNetworkResponse) CopyFrom

func (m *GetNetworkResponse) CopyFrom(src interface{})

func (*GetNetworkResponse) Descriptor

func (*GetNetworkResponse) Descriptor() ([]byte, []int)

func (*GetNetworkResponse) Marshal

func (m *GetNetworkResponse) Marshal() (dAtA []byte, err error)

func (*GetNetworkResponse) MarshalTo

func (m *GetNetworkResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetNetworkResponse) MarshalToSizedBuffer

func (m *GetNetworkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNetworkResponse) ProtoMessage

func (*GetNetworkResponse) ProtoMessage()

func (*GetNetworkResponse) Reset

func (m *GetNetworkResponse) Reset()

func (*GetNetworkResponse) Size

func (m *GetNetworkResponse) Size() (n int)

func (*GetNetworkResponse) String

func (this *GetNetworkResponse) String() string

func (*GetNetworkResponse) Unmarshal

func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error

func (*GetNetworkResponse) XXX_DiscardUnknown

func (m *GetNetworkResponse) XXX_DiscardUnknown()

func (*GetNetworkResponse) XXX_Marshal

func (m *GetNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNetworkResponse) XXX_Merge

func (m *GetNetworkResponse) XXX_Merge(src proto.Message)

func (*GetNetworkResponse) XXX_Size

func (m *GetNetworkResponse) XXX_Size() int

func (*GetNetworkResponse) XXX_Unmarshal

func (m *GetNetworkResponse) XXX_Unmarshal(b []byte) error

type GetNodeRequest

type GetNodeRequest struct {
	NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
}

func (*GetNodeRequest) Copy

func (m *GetNodeRequest) Copy() *GetNodeRequest

func (*GetNodeRequest) CopyFrom

func (m *GetNodeRequest) CopyFrom(src interface{})

func (*GetNodeRequest) Descriptor

func (*GetNodeRequest) Descriptor() ([]byte, []int)

func (*GetNodeRequest) Marshal

func (m *GetNodeRequest) Marshal() (dAtA []byte, err error)

func (*GetNodeRequest) MarshalTo

func (m *GetNodeRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetNodeRequest) MarshalToSizedBuffer

func (m *GetNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNodeRequest) ProtoMessage

func (*GetNodeRequest) ProtoMessage()

func (*GetNodeRequest) Reset

func (m *GetNodeRequest) Reset()

func (*GetNodeRequest) Size

func (m *GetNodeRequest) Size() (n int)

func (*GetNodeRequest) String

func (this *GetNodeRequest) String() string

func (*GetNodeRequest) Unmarshal

func (m *GetNodeRequest) Unmarshal(dAtA []byte) error

func (*GetNodeRequest) XXX_DiscardUnknown

func (m *GetNodeRequest) XXX_DiscardUnknown()

func (*GetNodeRequest) XXX_Marshal

func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNodeRequest) XXX_Merge

func (m *GetNodeRequest) XXX_Merge(src proto.Message)

func (*GetNodeRequest) XXX_Size

func (m *GetNodeRequest) XXX_Size() int

func (*GetNodeRequest) XXX_Unmarshal

func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error

type GetNodeResponse

type GetNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
}

func (*GetNodeResponse) Copy

func (m *GetNodeResponse) Copy() *GetNodeResponse

func (*GetNodeResponse) CopyFrom

func (m *GetNodeResponse) CopyFrom(src interface{})

func (*GetNodeResponse) Descriptor

func (*GetNodeResponse) Descriptor() ([]byte, []int)

func (*GetNodeResponse) Marshal

func (m *GetNodeResponse) Marshal() (dAtA []byte, err error)

func (*GetNodeResponse) MarshalTo

func (m *GetNodeResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetNodeResponse) MarshalToSizedBuffer

func (m *GetNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetNodeResponse) ProtoMessage

func (*GetNodeResponse) ProtoMessage()

func (*GetNodeResponse) Reset

func (m *GetNodeResponse) Reset()

func (*GetNodeResponse) Size

func (m *GetNodeResponse) Size() (n int)

func (*GetNodeResponse) String

func (this *GetNodeResponse) String() string

func (*GetNodeResponse) Unmarshal

func (m *GetNodeResponse) Unmarshal(dAtA []byte) error

func (*GetNodeResponse) XXX_DiscardUnknown

func (m *GetNodeResponse) XXX_DiscardUnknown()

func (*GetNodeResponse) XXX_Marshal

func (m *GetNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNodeResponse) XXX_Merge

func (m *GetNodeResponse) XXX_Merge(src proto.Message)

func (*GetNodeResponse) XXX_Size

func (m *GetNodeResponse) XXX_Size() int

func (*GetNodeResponse) XXX_Unmarshal

func (m *GetNodeResponse) XXX_Unmarshal(b []byte) error

type GetResourceRequest

type GetResourceRequest struct {
	ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
}

GetResourceRequest is the request to get a Resource object given a resource id.

func (*GetResourceRequest) Copy

func (*GetResourceRequest) CopyFrom

func (m *GetResourceRequest) CopyFrom(src interface{})

func (*GetResourceRequest) Descriptor

func (*GetResourceRequest) Descriptor() ([]byte, []int)

func (*GetResourceRequest) Marshal

func (m *GetResourceRequest) Marshal() (dAtA []byte, err error)

func (*GetResourceRequest) MarshalTo

func (m *GetResourceRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetResourceRequest) MarshalToSizedBuffer

func (m *GetResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) Reset

func (m *GetResourceRequest) Reset()

func (*GetResourceRequest) Size

func (m *GetResourceRequest) Size() (n int)

func (*GetResourceRequest) String

func (this *GetResourceRequest) String() string

func (*GetResourceRequest) Unmarshal

func (m *GetResourceRequest) Unmarshal(dAtA []byte) error

func (*GetResourceRequest) XXX_DiscardUnknown

func (m *GetResourceRequest) XXX_DiscardUnknown()

func (*GetResourceRequest) XXX_Marshal

func (m *GetResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResourceRequest) XXX_Merge

func (m *GetResourceRequest) XXX_Merge(src proto.Message)

func (*GetResourceRequest) XXX_Size

func (m *GetResourceRequest) XXX_Size() int

func (*GetResourceRequest) XXX_Unmarshal

func (m *GetResourceRequest) XXX_Unmarshal(b []byte) error

type GetResourceResponse

type GetResourceResponse struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
}

GetResourceResponse contains the Resource corresponding to the id in `GetResourceRequest`.

func (*GetResourceResponse) Copy

func (*GetResourceResponse) CopyFrom

func (m *GetResourceResponse) CopyFrom(src interface{})

func (*GetResourceResponse) Descriptor

func (*GetResourceResponse) Descriptor() ([]byte, []int)

func (*GetResourceResponse) Marshal

func (m *GetResourceResponse) Marshal() (dAtA []byte, err error)

func (*GetResourceResponse) MarshalTo

func (m *GetResourceResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetResourceResponse) MarshalToSizedBuffer

func (m *GetResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetResourceResponse) ProtoMessage

func (*GetResourceResponse) ProtoMessage()

func (*GetResourceResponse) Reset

func (m *GetResourceResponse) Reset()

func (*GetResourceResponse) Size

func (m *GetResourceResponse) Size() (n int)

func (*GetResourceResponse) String

func (this *GetResourceResponse) String() string

func (*GetResourceResponse) Unmarshal

func (m *GetResourceResponse) Unmarshal(dAtA []byte) error

func (*GetResourceResponse) XXX_DiscardUnknown

func (m *GetResourceResponse) XXX_DiscardUnknown()

func (*GetResourceResponse) XXX_Marshal

func (m *GetResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResourceResponse) XXX_Merge

func (m *GetResourceResponse) XXX_Merge(src proto.Message)

func (*GetResourceResponse) XXX_Size

func (m *GetResourceResponse) XXX_Size() int

func (*GetResourceResponse) XXX_Unmarshal

func (m *GetResourceResponse) XXX_Unmarshal(b []byte) error

type GetRootCACertificateRequest

type GetRootCACertificateRequest struct {
}

func (*GetRootCACertificateRequest) Copy

func (*GetRootCACertificateRequest) CopyFrom

func (m *GetRootCACertificateRequest) CopyFrom(src interface{})

func (*GetRootCACertificateRequest) Descriptor

func (*GetRootCACertificateRequest) Descriptor() ([]byte, []int)

func (*GetRootCACertificateRequest) Marshal

func (m *GetRootCACertificateRequest) Marshal() (dAtA []byte, err error)

func (*GetRootCACertificateRequest) MarshalTo

func (m *GetRootCACertificateRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetRootCACertificateRequest) MarshalToSizedBuffer

func (m *GetRootCACertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRootCACertificateRequest) ProtoMessage

func (*GetRootCACertificateRequest) ProtoMessage()

func (*GetRootCACertificateRequest) Reset

func (m *GetRootCACertificateRequest) Reset()

func (*GetRootCACertificateRequest) Size

func (m *GetRootCACertificateRequest) Size() (n int)

func (*GetRootCACertificateRequest) String

func (this *GetRootCACertificateRequest) String() string

func (*GetRootCACertificateRequest) Unmarshal

func (m *GetRootCACertificateRequest) Unmarshal(dAtA []byte) error

func (*GetRootCACertificateRequest) XXX_DiscardUnknown

func (m *GetRootCACertificateRequest) XXX_DiscardUnknown()

func (*GetRootCACertificateRequest) XXX_Marshal

func (m *GetRootCACertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRootCACertificateRequest) XXX_Merge

func (m *GetRootCACertificateRequest) XXX_Merge(src proto.Message)

func (*GetRootCACertificateRequest) XXX_Size

func (m *GetRootCACertificateRequest) XXX_Size() int

func (*GetRootCACertificateRequest) XXX_Unmarshal

func (m *GetRootCACertificateRequest) XXX_Unmarshal(b []byte) error

type GetRootCACertificateResponse

type GetRootCACertificateResponse struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
}

func (*GetRootCACertificateResponse) Copy

func (*GetRootCACertificateResponse) CopyFrom

func (m *GetRootCACertificateResponse) CopyFrom(src interface{})

func (*GetRootCACertificateResponse) Descriptor

func (*GetRootCACertificateResponse) Descriptor() ([]byte, []int)

func (*GetRootCACertificateResponse) Marshal

func (m *GetRootCACertificateResponse) Marshal() (dAtA []byte, err error)

func (*GetRootCACertificateResponse) MarshalTo

func (m *GetRootCACertificateResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetRootCACertificateResponse) MarshalToSizedBuffer

func (m *GetRootCACertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRootCACertificateResponse) ProtoMessage

func (*GetRootCACertificateResponse) ProtoMessage()

func (*GetRootCACertificateResponse) Reset

func (m *GetRootCACertificateResponse) Reset()

func (*GetRootCACertificateResponse) Size

func (m *GetRootCACertificateResponse) Size() (n int)

func (*GetRootCACertificateResponse) String

func (this *GetRootCACertificateResponse) String() string

func (*GetRootCACertificateResponse) Unmarshal

func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error

func (*GetRootCACertificateResponse) XXX_DiscardUnknown

func (m *GetRootCACertificateResponse) XXX_DiscardUnknown()

func (*GetRootCACertificateResponse) XXX_Marshal

func (m *GetRootCACertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRootCACertificateResponse) XXX_Merge

func (m *GetRootCACertificateResponse) XXX_Merge(src proto.Message)

func (*GetRootCACertificateResponse) XXX_Size

func (m *GetRootCACertificateResponse) XXX_Size() int

func (*GetRootCACertificateResponse) XXX_Unmarshal

func (m *GetRootCACertificateResponse) XXX_Unmarshal(b []byte) error

type GetSecretRequest

type GetSecretRequest struct {
	SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
}

GetSecretRequest is the request to get a `Secret` object given a secret id.

func (*GetSecretRequest) Copy

func (*GetSecretRequest) CopyFrom

func (m *GetSecretRequest) CopyFrom(src interface{})

func (*GetSecretRequest) Descriptor

func (*GetSecretRequest) Descriptor() ([]byte, []int)

func (*GetSecretRequest) Marshal

func (m *GetSecretRequest) Marshal() (dAtA []byte, err error)

func (*GetSecretRequest) MarshalTo

func (m *GetSecretRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetSecretRequest) MarshalToSizedBuffer

func (m *GetSecretRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) Reset

func (m *GetSecretRequest) Reset()

func (*GetSecretRequest) Size

func (m *GetSecretRequest) Size() (n int)

func (*GetSecretRequest) String

func (this *GetSecretRequest) String() string

func (*GetSecretRequest) Unmarshal

func (m *GetSecretRequest) Unmarshal(dAtA []byte) error

func (*GetSecretRequest) XXX_DiscardUnknown

func (m *GetSecretRequest) XXX_DiscardUnknown()

func (*GetSecretRequest) XXX_Marshal

func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSecretRequest) XXX_Merge

func (m *GetSecretRequest) XXX_Merge(src proto.Message)

func (*GetSecretRequest) XXX_Size

func (m *GetSecretRequest) XXX_Size() int

func (*GetSecretRequest) XXX_Unmarshal

func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error

type GetSecretResponse

type GetSecretResponse struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
}

GetSecretResponse contains the Secret corresponding to the id in `GetSecretRequest`, but the `Secret.Spec.Data` field in each `Secret` object should be nil instead of actually containing the secret bytes.

func (*GetSecretResponse) Copy

func (*GetSecretResponse) CopyFrom

func (m *GetSecretResponse) CopyFrom(src interface{})

func (*GetSecretResponse) Descriptor

func (*GetSecretResponse) Descriptor() ([]byte, []int)

func (*GetSecretResponse) Marshal

func (m *GetSecretResponse) Marshal() (dAtA []byte, err error)

func (*GetSecretResponse) MarshalTo

func (m *GetSecretResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetSecretResponse) MarshalToSizedBuffer

func (m *GetSecretResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSecretResponse) ProtoMessage

func (*GetSecretResponse) ProtoMessage()

func (*GetSecretResponse) Reset

func (m *GetSecretResponse) Reset()

func (*GetSecretResponse) Size

func (m *GetSecretResponse) Size() (n int)

func (*GetSecretResponse) String

func (this *GetSecretResponse) String() string

func (*GetSecretResponse) Unmarshal

func (m *GetSecretResponse) Unmarshal(dAtA []byte) error

func (*GetSecretResponse) XXX_DiscardUnknown

func (m *GetSecretResponse) XXX_DiscardUnknown()

func (*GetSecretResponse) XXX_Marshal

func (m *GetSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSecretResponse) XXX_Merge

func (m *GetSecretResponse) XXX_Merge(src proto.Message)

func (*GetSecretResponse) XXX_Size

func (m *GetSecretResponse) XXX_Size() int

func (*GetSecretResponse) XXX_Unmarshal

func (m *GetSecretResponse) XXX_Unmarshal(b []byte) error

type GetServiceRequest

type GetServiceRequest struct {
	ServiceID      string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	InsertDefaults bool   `protobuf:"varint,2,opt,name=insert_defaults,json=insertDefaults,proto3" json:"insert_defaults,omitempty"`
}

func (*GetServiceRequest) Copy

func (*GetServiceRequest) CopyFrom

func (m *GetServiceRequest) CopyFrom(src interface{})

func (*GetServiceRequest) Descriptor

func (*GetServiceRequest) Descriptor() ([]byte, []int)

func (*GetServiceRequest) Marshal

func (m *GetServiceRequest) Marshal() (dAtA []byte, err error)

func (*GetServiceRequest) MarshalTo

func (m *GetServiceRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetServiceRequest) MarshalToSizedBuffer

func (m *GetServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) Reset

func (m *GetServiceRequest) Reset()

func (*GetServiceRequest) Size

func (m *GetServiceRequest) Size() (n int)

func (*GetServiceRequest) String

func (this *GetServiceRequest) String() string

func (*GetServiceRequest) Unmarshal

func (m *GetServiceRequest) Unmarshal(dAtA []byte) error

func (*GetServiceRequest) XXX_DiscardUnknown

func (m *GetServiceRequest) XXX_DiscardUnknown()

func (*GetServiceRequest) XXX_Marshal

func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetServiceRequest) XXX_Merge

func (m *GetServiceRequest) XXX_Merge(src proto.Message)

func (*GetServiceRequest) XXX_Size

func (m *GetServiceRequest) XXX_Size() int

func (*GetServiceRequest) XXX_Unmarshal

func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error

type GetServiceResponse

type GetServiceResponse struct {
	Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
}

func (*GetServiceResponse) Copy

func (*GetServiceResponse) CopyFrom

func (m *GetServiceResponse) CopyFrom(src interface{})

func (*GetServiceResponse) Descriptor

func (*GetServiceResponse) Descriptor() ([]byte, []int)

func (*GetServiceResponse) Marshal

func (m *GetServiceResponse) Marshal() (dAtA []byte, err error)

func (*GetServiceResponse) MarshalTo

func (m *GetServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetServiceResponse) MarshalToSizedBuffer

func (m *GetServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetServiceResponse) ProtoMessage

func (*GetServiceResponse) ProtoMessage()

func (*GetServiceResponse) Reset

func (m *GetServiceResponse) Reset()

func (*GetServiceResponse) Size

func (m *GetServiceResponse) Size() (n int)

func (*GetServiceResponse) String

func (this *GetServiceResponse) String() string

func (*GetServiceResponse) Unmarshal

func (m *GetServiceResponse) Unmarshal(dAtA []byte) error

func (*GetServiceResponse) XXX_DiscardUnknown

func (m *GetServiceResponse) XXX_DiscardUnknown()

func (*GetServiceResponse) XXX_Marshal

func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetServiceResponse) XXX_Merge

func (m *GetServiceResponse) XXX_Merge(src proto.Message)

func (*GetServiceResponse) XXX_Size

func (m *GetServiceResponse) XXX_Size() int

func (*GetServiceResponse) XXX_Unmarshal

func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error

type GetTaskRequest

type GetTaskRequest struct {
	TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
}

func (*GetTaskRequest) Copy

func (m *GetTaskRequest) Copy() *GetTaskRequest

func (*GetTaskRequest) CopyFrom

func (m *GetTaskRequest) CopyFrom(src interface{})

func (*GetTaskRequest) Descriptor

func (*GetTaskRequest) Descriptor() ([]byte, []int)

func (*GetTaskRequest) Marshal

func (m *GetTaskRequest) Marshal() (dAtA []byte, err error)

func (*GetTaskRequest) MarshalTo

func (m *GetTaskRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetTaskRequest) MarshalToSizedBuffer

func (m *GetTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTaskRequest) ProtoMessage

func (*GetTaskRequest) ProtoMessage()

func (*GetTaskRequest) Reset

func (m *GetTaskRequest) Reset()

func (*GetTaskRequest) Size

func (m *GetTaskRequest) Size() (n int)

func (*GetTaskRequest) String

func (this *GetTaskRequest) String() string

func (*GetTaskRequest) Unmarshal

func (m *GetTaskRequest) Unmarshal(dAtA []byte) error

func (*GetTaskRequest) XXX_DiscardUnknown

func (m *GetTaskRequest) XXX_DiscardUnknown()

func (*GetTaskRequest) XXX_Marshal

func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTaskRequest) XXX_Merge

func (m *GetTaskRequest) XXX_Merge(src proto.Message)

func (*GetTaskRequest) XXX_Size

func (m *GetTaskRequest) XXX_Size() int

func (*GetTaskRequest) XXX_Unmarshal

func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error

type GetTaskResponse

type GetTaskResponse struct {
	Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
}

func (*GetTaskResponse) Copy

func (m *GetTaskResponse) Copy() *GetTaskResponse

func (*GetTaskResponse) CopyFrom

func (m *GetTaskResponse) CopyFrom(src interface{})

func (*GetTaskResponse) Descriptor

func (*GetTaskResponse) Descriptor() ([]byte, []int)

func (*GetTaskResponse) Marshal

func (m *GetTaskResponse) Marshal() (dAtA []byte, err error)

func (*GetTaskResponse) MarshalTo

func (m *GetTaskResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetTaskResponse) MarshalToSizedBuffer

func (m *GetTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTaskResponse) ProtoMessage

func (*GetTaskResponse) ProtoMessage()

func (*GetTaskResponse) Reset

func (m *GetTaskResponse) Reset()

func (*GetTaskResponse) Size

func (m *GetTaskResponse) Size() (n int)

func (*GetTaskResponse) String

func (this *GetTaskResponse) String() string

func (*GetTaskResponse) Unmarshal

func (m *GetTaskResponse) Unmarshal(dAtA []byte) error

func (*GetTaskResponse) XXX_DiscardUnknown

func (m *GetTaskResponse) XXX_DiscardUnknown()

func (*GetTaskResponse) XXX_Marshal

func (m *GetTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTaskResponse) XXX_Merge

func (m *GetTaskResponse) XXX_Merge(src proto.Message)

func (*GetTaskResponse) XXX_Size

func (m *GetTaskResponse) XXX_Size() int

func (*GetTaskResponse) XXX_Unmarshal

func (m *GetTaskResponse) XXX_Unmarshal(b []byte) error

type GetUnlockKeyRequest

type GetUnlockKeyRequest struct {
}

func (*GetUnlockKeyRequest) Copy

func (*GetUnlockKeyRequest) CopyFrom

func (m *GetUnlockKeyRequest) CopyFrom(src interface{})

func (*GetUnlockKeyRequest) Descriptor

func (*GetUnlockKeyRequest) Descriptor() ([]byte, []int)

func (*GetUnlockKeyRequest) Marshal

func (m *GetUnlockKeyRequest) Marshal() (dAtA []byte, err error)

func (*GetUnlockKeyRequest) MarshalTo

func (m *GetUnlockKeyRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetUnlockKeyRequest) MarshalToSizedBuffer

func (m *GetUnlockKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetUnlockKeyRequest) ProtoMessage

func (*GetUnlockKeyRequest) ProtoMessage()

func (*GetUnlockKeyRequest) Reset

func (m *GetUnlockKeyRequest) Reset()

func (*GetUnlockKeyRequest) Size

func (m *GetUnlockKeyRequest) Size() (n int)

func (*GetUnlockKeyRequest) String

func (this *GetUnlockKeyRequest) String() string

func (*GetUnlockKeyRequest) Unmarshal

func (m *GetUnlockKeyRequest) Unmarshal(dAtA []byte) error

func (*GetUnlockKeyRequest) XXX_DiscardUnknown

func (m *GetUnlockKeyRequest) XXX_DiscardUnknown()

func (*GetUnlockKeyRequest) XXX_Marshal

func (m *GetUnlockKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUnlockKeyRequest) XXX_Merge

func (m *GetUnlockKeyRequest) XXX_Merge(src proto.Message)

func (*GetUnlockKeyRequest) XXX_Size

func (m *GetUnlockKeyRequest) XXX_Size() int

func (*GetUnlockKeyRequest) XXX_Unmarshal

func (m *GetUnlockKeyRequest) XXX_Unmarshal(b []byte) error

type GetUnlockKeyResponse

type GetUnlockKeyResponse struct {
	UnlockKey []byte  `protobuf:"bytes,1,opt,name=unlock_key,json=unlockKey,proto3" json:"unlock_key,omitempty"`
	Version   Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version"`
}

func (*GetUnlockKeyResponse) Copy

func (*GetUnlockKeyResponse) CopyFrom

func (m *GetUnlockKeyResponse) CopyFrom(src interface{})

func (*GetUnlockKeyResponse) Descriptor

func (*GetUnlockKeyResponse) Descriptor() ([]byte, []int)

func (*GetUnlockKeyResponse) Marshal

func (m *GetUnlockKeyResponse) Marshal() (dAtA []byte, err error)

func (*GetUnlockKeyResponse) MarshalTo

func (m *GetUnlockKeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetUnlockKeyResponse) MarshalToSizedBuffer

func (m *GetUnlockKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetUnlockKeyResponse) ProtoMessage

func (*GetUnlockKeyResponse) ProtoMessage()

func (*GetUnlockKeyResponse) Reset

func (m *GetUnlockKeyResponse) Reset()

func (*GetUnlockKeyResponse) Size

func (m *GetUnlockKeyResponse) Size() (n int)

func (*GetUnlockKeyResponse) String

func (this *GetUnlockKeyResponse) String() string

func (*GetUnlockKeyResponse) Unmarshal

func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error

func (*GetUnlockKeyResponse) XXX_DiscardUnknown

func (m *GetUnlockKeyResponse) XXX_DiscardUnknown()

func (*GetUnlockKeyResponse) XXX_Marshal

func (m *GetUnlockKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUnlockKeyResponse) XXX_Merge

func (m *GetUnlockKeyResponse) XXX_Merge(src proto.Message)

func (*GetUnlockKeyResponse) XXX_Size

func (m *GetUnlockKeyResponse) XXX_Size() int

func (*GetUnlockKeyResponse) XXX_Unmarshal

func (m *GetUnlockKeyResponse) XXX_Unmarshal(b []byte) error

type GetVolumeRequest

type GetVolumeRequest struct {
	VolumeID string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
}

func (*GetVolumeRequest) Copy

func (*GetVolumeRequest) CopyFrom

func (m *GetVolumeRequest) CopyFrom(src interface{})

func (*GetVolumeRequest) Descriptor

func (*GetVolumeRequest) Descriptor() ([]byte, []int)

func (*GetVolumeRequest) Marshal

func (m *GetVolumeRequest) Marshal() (dAtA []byte, err error)

func (*GetVolumeRequest) MarshalTo

func (m *GetVolumeRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetVolumeRequest) MarshalToSizedBuffer

func (m *GetVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetVolumeRequest) ProtoMessage

func (*GetVolumeRequest) ProtoMessage()

func (*GetVolumeRequest) Reset

func (m *GetVolumeRequest) Reset()

func (*GetVolumeRequest) Size

func (m *GetVolumeRequest) Size() (n int)

func (*GetVolumeRequest) String

func (this *GetVolumeRequest) String() string

func (*GetVolumeRequest) Unmarshal

func (m *GetVolumeRequest) Unmarshal(dAtA []byte) error

func (*GetVolumeRequest) XXX_DiscardUnknown

func (m *GetVolumeRequest) XXX_DiscardUnknown()

func (*GetVolumeRequest) XXX_Marshal

func (m *GetVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVolumeRequest) XXX_Merge

func (m *GetVolumeRequest) XXX_Merge(src proto.Message)

func (*GetVolumeRequest) XXX_Size

func (m *GetVolumeRequest) XXX_Size() int

func (*GetVolumeRequest) XXX_Unmarshal

func (m *GetVolumeRequest) XXX_Unmarshal(b []byte) error

type GetVolumeResponse

type GetVolumeResponse struct {
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
}

func (*GetVolumeResponse) Copy

func (*GetVolumeResponse) CopyFrom

func (m *GetVolumeResponse) CopyFrom(src interface{})

func (*GetVolumeResponse) Descriptor

func (*GetVolumeResponse) Descriptor() ([]byte, []int)

func (*GetVolumeResponse) Marshal

func (m *GetVolumeResponse) Marshal() (dAtA []byte, err error)

func (*GetVolumeResponse) MarshalTo

func (m *GetVolumeResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetVolumeResponse) MarshalToSizedBuffer

func (m *GetVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetVolumeResponse) ProtoMessage

func (*GetVolumeResponse) ProtoMessage()

func (*GetVolumeResponse) Reset

func (m *GetVolumeResponse) Reset()

func (*GetVolumeResponse) Size

func (m *GetVolumeResponse) Size() (n int)

func (*GetVolumeResponse) String

func (this *GetVolumeResponse) String() string

func (*GetVolumeResponse) Unmarshal

func (m *GetVolumeResponse) Unmarshal(dAtA []byte) error

func (*GetVolumeResponse) XXX_DiscardUnknown

func (m *GetVolumeResponse) XXX_DiscardUnknown()

func (*GetVolumeResponse) XXX_Marshal

func (m *GetVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVolumeResponse) XXX_Merge

func (m *GetVolumeResponse) XXX_Merge(src proto.Message)

func (*GetVolumeResponse) XXX_Size

func (m *GetVolumeResponse) XXX_Size() int

func (*GetVolumeResponse) XXX_Unmarshal

func (m *GetVolumeResponse) XXX_Unmarshal(b []byte) error

type GlobalJob

type GlobalJob struct {
}

GlobalJob is a type of one-off job which executes one Task on every node matching the service's placement constraints.

func (*GlobalJob) Copy

func (m *GlobalJob) Copy() *GlobalJob

func (*GlobalJob) CopyFrom

func (m *GlobalJob) CopyFrom(src interface{})

func (*GlobalJob) Descriptor

func (*GlobalJob) Descriptor() ([]byte, []int)

func (*GlobalJob) Marshal

func (m *GlobalJob) Marshal() (dAtA []byte, err error)

func (*GlobalJob) MarshalTo

func (m *GlobalJob) MarshalTo(dAtA []byte) (int, error)

func (*GlobalJob) MarshalToSizedBuffer

func (m *GlobalJob) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GlobalJob) ProtoMessage

func (*GlobalJob) ProtoMessage()

func (*GlobalJob) Reset

func (m *GlobalJob) Reset()

func (*GlobalJob) Size

func (m *GlobalJob) Size() (n int)

func (*GlobalJob) String

func (this *GlobalJob) String() string

func (*GlobalJob) Unmarshal

func (m *GlobalJob) Unmarshal(dAtA []byte) error

func (*GlobalJob) XXX_DiscardUnknown

func (m *GlobalJob) XXX_DiscardUnknown()

func (*GlobalJob) XXX_Marshal

func (m *GlobalJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalJob) XXX_Merge

func (m *GlobalJob) XXX_Merge(src proto.Message)

func (*GlobalJob) XXX_Size

func (m *GlobalJob) XXX_Size() int

func (*GlobalJob) XXX_Unmarshal

func (m *GlobalJob) XXX_Unmarshal(b []byte) error

type GlobalService

type GlobalService struct {
}

GlobalService represents global service.

func (*GlobalService) Copy

func (m *GlobalService) Copy() *GlobalService

func (*GlobalService) CopyFrom

func (m *GlobalService) CopyFrom(src interface{})

func (*GlobalService) Descriptor

func (*GlobalService) Descriptor() ([]byte, []int)

func (*GlobalService) Marshal

func (m *GlobalService) Marshal() (dAtA []byte, err error)

func (*GlobalService) MarshalTo

func (m *GlobalService) MarshalTo(dAtA []byte) (int, error)

func (*GlobalService) MarshalToSizedBuffer

func (m *GlobalService) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GlobalService) ProtoMessage

func (*GlobalService) ProtoMessage()

func (*GlobalService) Reset

func (m *GlobalService) Reset()

func (*GlobalService) Size

func (m *GlobalService) Size() (n int)

func (*GlobalService) String

func (this *GlobalService) String() string

func (*GlobalService) Unmarshal

func (m *GlobalService) Unmarshal(dAtA []byte) error

func (*GlobalService) XXX_DiscardUnknown

func (m *GlobalService) XXX_DiscardUnknown()

func (*GlobalService) XXX_Marshal

func (m *GlobalService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalService) XXX_Merge

func (m *GlobalService) XXX_Merge(src proto.Message)

func (*GlobalService) XXX_Size

func (m *GlobalService) XXX_Size() int

func (*GlobalService) XXX_Unmarshal

func (m *GlobalService) XXX_Unmarshal(b []byte) error

type HealthCheckRequest

type HealthCheckRequest struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
}

func (*HealthCheckRequest) Copy

func (*HealthCheckRequest) CopyFrom

func (m *HealthCheckRequest) CopyFrom(src interface{})

func (*HealthCheckRequest) Descriptor

func (*HealthCheckRequest) Descriptor() ([]byte, []int)

func (*HealthCheckRequest) Marshal

func (m *HealthCheckRequest) Marshal() (dAtA []byte, err error)

func (*HealthCheckRequest) MarshalTo

func (m *HealthCheckRequest) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckRequest) MarshalToSizedBuffer

func (m *HealthCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) Reset

func (m *HealthCheckRequest) Reset()

func (*HealthCheckRequest) Size

func (m *HealthCheckRequest) Size() (n int)

func (*HealthCheckRequest) String

func (this *HealthCheckRequest) String() string

func (*HealthCheckRequest) Unmarshal

func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error

func (*HealthCheckRequest) XXX_DiscardUnknown

func (m *HealthCheckRequest) XXX_DiscardUnknown()

func (*HealthCheckRequest) XXX_Marshal

func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckRequest) XXX_Merge

func (m *HealthCheckRequest) XXX_Merge(src proto.Message)

func (*HealthCheckRequest) XXX_Size

func (m *HealthCheckRequest) XXX_Size() int

func (*HealthCheckRequest) XXX_Unmarshal

func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error

type HealthCheckResponse

type HealthCheckResponse struct {
	Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=docker.swarmkit.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
}

func (*HealthCheckResponse) Copy

func (*HealthCheckResponse) CopyFrom

func (m *HealthCheckResponse) CopyFrom(src interface{})

func (*HealthCheckResponse) Descriptor

func (*HealthCheckResponse) Descriptor() ([]byte, []int)

func (*HealthCheckResponse) Marshal

func (m *HealthCheckResponse) Marshal() (dAtA []byte, err error)

func (*HealthCheckResponse) MarshalTo

func (m *HealthCheckResponse) MarshalTo(dAtA []byte) (int, error)

func (*HealthCheckResponse) MarshalToSizedBuffer

func (m *HealthCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) Size

func (m *HealthCheckResponse) Size() (n int)

func (*HealthCheckResponse) String

func (this *HealthCheckResponse) String() string

func (*HealthCheckResponse) Unmarshal

func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error

func (*HealthCheckResponse) XXX_DiscardUnknown

func (m *HealthCheckResponse) XXX_DiscardUnknown()

func (*HealthCheckResponse) XXX_Marshal

func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckResponse) XXX_Merge

func (m *HealthCheckResponse) XXX_Merge(src proto.Message)

func (*HealthCheckResponse) XXX_Size

func (m *HealthCheckResponse) XXX_Size() int

func (*HealthCheckResponse) XXX_Unmarshal

func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error

type HealthCheckResponse_ServingStatus

type HealthCheckResponse_ServingStatus int32
const (
	HealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0
	HealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1
	HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2
)

func (HealthCheckResponse_ServingStatus) EnumDescriptor

func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)

func (HealthCheckResponse_ServingStatus) String

type HealthClient

type HealthClient interface {
	Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

HealthClient is the client API for Health service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHealthClient

func NewHealthClient(cc *grpc.ClientConn) HealthClient

type HealthConfig

type HealthConfig struct {
	// Test is the test to perform to check that the container is healthy.
	// An empty slice means to inherit the default.
	// The options are:
	// {} : inherit healthcheck
	// {"NONE"} : disable healthcheck
	// {"CMD", args...} : exec arguments directly
	// {"CMD-SHELL", command} : run command with system's default shell
	Test []string `protobuf:"bytes,1,rep,name=test,proto3" json:"test,omitempty"`
	// Interval is the time to wait between checks. Zero means inherit.
	// Note: can't use stdduration because this field needs to be nullable.
	Interval *types.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// Timeout is the time to wait before considering the check to have hung.
	// Zero means inherit.
	// Note: can't use stdduration because this field needs to be nullable.
	Timeout *types.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Retries is the number of consecutive failures needed to consider a
	// container as unhealthy. Zero means inherit.
	Retries int32 `protobuf:"varint,4,opt,name=retries,proto3" json:"retries,omitempty"`
	// Start period is the period for container initialization during
	// which health check failures will note count towards the maximum
	// number of retries.
	StartPeriod *types.Duration `protobuf:"bytes,5,opt,name=start_period,json=startPeriod,proto3" json:"start_period,omitempty"`
	// StartInterval is the time to wait between checks during the start period.
	// Zero means inherit.
	// Note: can't use stdduration because this field needs to be nullable.
	StartInterval *types.Duration `protobuf:"bytes,6,opt,name=start_interval,json=startInterval,proto3" json:"start_interval,omitempty"`
}

HealthConfig holds configuration settings for the HEALTHCHECK feature.

func (*HealthConfig) Copy

func (m *HealthConfig) Copy() *HealthConfig

func (*HealthConfig) CopyFrom

func (m *HealthConfig) CopyFrom(src interface{})

func (*HealthConfig) Descriptor

func (*HealthConfig) Descriptor() ([]byte, []int)

func (*HealthConfig) Marshal

func (m *HealthConfig) Marshal() (dAtA []byte, err error)

func (*HealthConfig) MarshalTo

func (m *HealthConfig) MarshalTo(dAtA []byte) (int, error)

func (*HealthConfig) MarshalToSizedBuffer

func (m *HealthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthConfig) ProtoMessage

func (*HealthConfig) ProtoMessage()

func (*HealthConfig) Reset

func (m *HealthConfig) Reset()

func (*HealthConfig) Size

func (m *HealthConfig) Size() (n int)

func (*HealthConfig) String

func (this *HealthConfig) String() string

func (*HealthConfig) Unmarshal

func (m *HealthConfig) Unmarshal(dAtA []byte) error

func (*HealthConfig) XXX_DiscardUnknown

func (m *HealthConfig) XXX_DiscardUnknown()

func (*HealthConfig) XXX_Marshal

func (m *HealthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthConfig) XXX_Merge

func (m *HealthConfig) XXX_Merge(src proto.Message)

func (*HealthConfig) XXX_Size

func (m *HealthConfig) XXX_Size() int

func (*HealthConfig) XXX_Unmarshal

func (m *HealthConfig) XXX_Unmarshal(b []byte) error

type HealthServer

type HealthServer interface {
	Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}

HealthServer is the server API for Health service.

func NewAuthenticatedWrapperHealthServer

func NewAuthenticatedWrapperHealthServer(local HealthServer, authorize func(context.Context, []string) error) HealthServer

func NewRaftProxyHealthServer

func NewRaftProxyHealthServer(local HealthServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) HealthServer

type HeartbeatRequest

type HeartbeatRequest struct {
	SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
}

HeartbeatRequest provides identifying properties for a single heartbeat.

func (*HeartbeatRequest) Copy

func (*HeartbeatRequest) CopyFrom

func (m *HeartbeatRequest) CopyFrom(src interface{})

func (*HeartbeatRequest) Descriptor

func (*HeartbeatRequest) Descriptor() ([]byte, []int)

func (*HeartbeatRequest) Marshal

func (m *HeartbeatRequest) Marshal() (dAtA []byte, err error)

func (*HeartbeatRequest) MarshalTo

func (m *HeartbeatRequest) MarshalTo(dAtA []byte) (int, error)

func (*HeartbeatRequest) MarshalToSizedBuffer

func (m *HeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeartbeatRequest) ProtoMessage

func (*HeartbeatRequest) ProtoMessage()

func (*HeartbeatRequest) Reset

func (m *HeartbeatRequest) Reset()

func (*HeartbeatRequest) Size

func (m *HeartbeatRequest) Size() (n int)

func (*HeartbeatRequest) String

func (this *HeartbeatRequest) String() string

func (*HeartbeatRequest) Unmarshal

func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error

func (*HeartbeatRequest) XXX_DiscardUnknown

func (m *HeartbeatRequest) XXX_DiscardUnknown()

func (*HeartbeatRequest) XXX_Marshal

func (m *HeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeartbeatRequest) XXX_Merge

func (m *HeartbeatRequest) XXX_Merge(src proto.Message)

func (*HeartbeatRequest) XXX_Size

func (m *HeartbeatRequest) XXX_Size() int

func (*HeartbeatRequest) XXX_Unmarshal

func (m *HeartbeatRequest) XXX_Unmarshal(b []byte) error

type HeartbeatResponse

type HeartbeatResponse struct {
	// Period is the duration to wait before sending the next heartbeat.
	// Well-behaved agents should update this on every heartbeat round trip.
	Period time.Duration `protobuf:"bytes,1,opt,name=period,proto3,stdduration" json:"period"`
}

func (*HeartbeatResponse) Copy

func (*HeartbeatResponse) CopyFrom

func (m *HeartbeatResponse) CopyFrom(src interface{})

func (*HeartbeatResponse) Descriptor

func (*HeartbeatResponse) Descriptor() ([]byte, []int)

func (*HeartbeatResponse) Marshal

func (m *HeartbeatResponse) Marshal() (dAtA []byte, err error)

func (*HeartbeatResponse) MarshalTo

func (m *HeartbeatResponse) MarshalTo(dAtA []byte) (int, error)

func (*HeartbeatResponse) MarshalToSizedBuffer

func (m *HeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeartbeatResponse) ProtoMessage

func (*HeartbeatResponse) ProtoMessage()

func (*HeartbeatResponse) Reset

func (m *HeartbeatResponse) Reset()

func (*HeartbeatResponse) Size

func (m *HeartbeatResponse) Size() (n int)

func (*HeartbeatResponse) String

func (this *HeartbeatResponse) String() string

func (*HeartbeatResponse) Unmarshal

func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error

func (*HeartbeatResponse) XXX_DiscardUnknown

func (m *HeartbeatResponse) XXX_DiscardUnknown()

func (*HeartbeatResponse) XXX_Marshal

func (m *HeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeartbeatResponse) XXX_Merge

func (m *HeartbeatResponse) XXX_Merge(src proto.Message)

func (*HeartbeatResponse) XXX_Size

func (m *HeartbeatResponse) XXX_Size() int

func (*HeartbeatResponse) XXX_Unmarshal

func (m *HeartbeatResponse) XXX_Unmarshal(b []byte) error

type IPAMConfig

type IPAMConfig struct {
	Family IPAMConfig_AddressFamily `protobuf:"varint,1,opt,name=family,proto3,enum=docker.swarmkit.v1.IPAMConfig_AddressFamily" json:"family,omitempty"`
	// Subnet defines a network as a CIDR address (ie network and mask
	// 192.168.0.1/24).
	Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
	// Range defines the portion of the subnet to allocate to tasks. This is
	// defined as a subnet within the primary subnet.
	Range string `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	// Gateway address within the subnet.
	Gateway string `protobuf:"bytes,4,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// Reserved is a list of address from the master pool that should *not* be
	// allocated. These addresses may have already been allocated or may be
	// reserved for another allocation manager.
	Reserved map[string]string `` /* 157-byte string literal not displayed */
}

IPAMConfig specifies parameters for IP Address Management.

func (*IPAMConfig) Copy

func (m *IPAMConfig) Copy() *IPAMConfig

func (*IPAMConfig) CopyFrom

func (m *IPAMConfig) CopyFrom(src interface{})

func (*IPAMConfig) Descriptor

func (*IPAMConfig) Descriptor() ([]byte, []int)

func (*IPAMConfig) Marshal

func (m *IPAMConfig) Marshal() (dAtA []byte, err error)

func (*IPAMConfig) MarshalTo

func (m *IPAMConfig) MarshalTo(dAtA []byte) (int, error)

func (*IPAMConfig) MarshalToSizedBuffer

func (m *IPAMConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPAMConfig) ProtoMessage

func (*IPAMConfig) ProtoMessage()

func (*IPAMConfig) Reset

func (m *IPAMConfig) Reset()

func (*IPAMConfig) Size

func (m *IPAMConfig) Size() (n int)

func (*IPAMConfig) String

func (this *IPAMConfig) String() string

func (*IPAMConfig) Unmarshal

func (m *IPAMConfig) Unmarshal(dAtA []byte) error

func (*IPAMConfig) XXX_DiscardUnknown

func (m *IPAMConfig) XXX_DiscardUnknown()

func (*IPAMConfig) XXX_Marshal

func (m *IPAMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPAMConfig) XXX_Merge

func (m *IPAMConfig) XXX_Merge(src proto.Message)

func (*IPAMConfig) XXX_Size

func (m *IPAMConfig) XXX_Size() int

func (*IPAMConfig) XXX_Unmarshal

func (m *IPAMConfig) XXX_Unmarshal(b []byte) error

type IPAMConfig_AddressFamily

type IPAMConfig_AddressFamily int32

AddressFamily specifies the network address family that this IPAMConfig belongs to.

const (
	IPAMConfig_UNKNOWN IPAMConfig_AddressFamily = 0
	IPAMConfig_IPV4    IPAMConfig_AddressFamily = 4
	IPAMConfig_IPV6    IPAMConfig_AddressFamily = 6
)

func (IPAMConfig_AddressFamily) EnumDescriptor

func (IPAMConfig_AddressFamily) EnumDescriptor() ([]byte, []int)

func (IPAMConfig_AddressFamily) String

func (x IPAMConfig_AddressFamily) String() string

type IPAMOptions

type IPAMOptions struct {
	Driver  *Driver       `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	Configs []*IPAMConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
}

func (*IPAMOptions) Copy

func (m *IPAMOptions) Copy() *IPAMOptions

func (*IPAMOptions) CopyFrom

func (m *IPAMOptions) CopyFrom(src interface{})

func (*IPAMOptions) Descriptor

func (*IPAMOptions) Descriptor() ([]byte, []int)

func (*IPAMOptions) Marshal

func (m *IPAMOptions) Marshal() (dAtA []byte, err error)

func (*IPAMOptions) MarshalTo

func (m *IPAMOptions) MarshalTo(dAtA []byte) (int, error)

func (*IPAMOptions) MarshalToSizedBuffer

func (m *IPAMOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPAMOptions) ProtoMessage

func (*IPAMOptions) ProtoMessage()

func (*IPAMOptions) Reset

func (m *IPAMOptions) Reset()

func (*IPAMOptions) Size

func (m *IPAMOptions) Size() (n int)

func (*IPAMOptions) String

func (this *IPAMOptions) String() string

func (*IPAMOptions) Unmarshal

func (m *IPAMOptions) Unmarshal(dAtA []byte) error

func (*IPAMOptions) XXX_DiscardUnknown

func (m *IPAMOptions) XXX_DiscardUnknown()

func (*IPAMOptions) XXX_Marshal

func (m *IPAMOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPAMOptions) XXX_Merge

func (m *IPAMOptions) XXX_Merge(src proto.Message)

func (*IPAMOptions) XXX_Size

func (m *IPAMOptions) XXX_Size() int

func (*IPAMOptions) XXX_Unmarshal

func (m *IPAMOptions) XXX_Unmarshal(b []byte) error

type Image

type Image struct {
	// reference is a docker image reference. This can include a rpository, tag
	// or be fully qualified witha digest. The format is specified in the
	// distribution/reference package.
	Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
}

func (*Image) Copy

func (m *Image) Copy() *Image

func (*Image) CopyFrom

func (m *Image) CopyFrom(src interface{})

func (*Image) Descriptor

func (*Image) Descriptor() ([]byte, []int)

func (*Image) Marshal

func (m *Image) Marshal() (dAtA []byte, err error)

func (*Image) MarshalTo

func (m *Image) MarshalTo(dAtA []byte) (int, error)

func (*Image) MarshalToSizedBuffer

func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) Size

func (m *Image) Size() (n int)

func (*Image) String

func (this *Image) String() string

func (*Image) Unmarshal

func (m *Image) Unmarshal(dAtA []byte) error

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (m *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

type IndexEntry

type IndexEntry struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
}

func (*IndexEntry) Copy

func (m *IndexEntry) Copy() *IndexEntry

func (*IndexEntry) CopyFrom

func (m *IndexEntry) CopyFrom(src interface{})

func (*IndexEntry) Descriptor

func (*IndexEntry) Descriptor() ([]byte, []int)

func (*IndexEntry) Marshal

func (m *IndexEntry) Marshal() (dAtA []byte, err error)

func (*IndexEntry) MarshalTo

func (m *IndexEntry) MarshalTo(dAtA []byte) (int, error)

func (*IndexEntry) MarshalToSizedBuffer

func (m *IndexEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IndexEntry) ProtoMessage

func (*IndexEntry) ProtoMessage()

func (*IndexEntry) Reset

func (m *IndexEntry) Reset()

func (*IndexEntry) Size

func (m *IndexEntry) Size() (n int)

func (*IndexEntry) String

func (this *IndexEntry) String() string

func (*IndexEntry) Unmarshal

func (m *IndexEntry) Unmarshal(dAtA []byte) error

func (*IndexEntry) XXX_DiscardUnknown

func (m *IndexEntry) XXX_DiscardUnknown()

func (*IndexEntry) XXX_Marshal

func (m *IndexEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexEntry) XXX_Merge

func (m *IndexEntry) XXX_Merge(src proto.Message)

func (*IndexEntry) XXX_Size

func (m *IndexEntry) XXX_Size() int

func (*IndexEntry) XXX_Unmarshal

func (m *IndexEntry) XXX_Unmarshal(b []byte) error

type InternalRaftRequest

type InternalRaftRequest struct {
	ID     uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Action []StoreAction `protobuf:"bytes,2,rep,name=action,proto3" json:"action"`
}

Contains one of many protobuf encoded objects to replicate over the raft backend with a request ID to track when the action is effectively applied

func (*InternalRaftRequest) Copy

func (*InternalRaftRequest) CopyFrom

func (m *InternalRaftRequest) CopyFrom(src interface{})

func (*InternalRaftRequest) Descriptor

func (*InternalRaftRequest) Descriptor() ([]byte, []int)

func (*InternalRaftRequest) Marshal

func (m *InternalRaftRequest) Marshal() (dAtA []byte, err error)

func (*InternalRaftRequest) MarshalTo

func (m *InternalRaftRequest) MarshalTo(dAtA []byte) (int, error)

func (*InternalRaftRequest) MarshalToSizedBuffer

func (m *InternalRaftRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InternalRaftRequest) ProtoMessage

func (*InternalRaftRequest) ProtoMessage()

func (*InternalRaftRequest) Reset

func (m *InternalRaftRequest) Reset()

func (*InternalRaftRequest) Size

func (m *InternalRaftRequest) Size() (n int)

func (*InternalRaftRequest) String

func (this *InternalRaftRequest) String() string

func (*InternalRaftRequest) Unmarshal

func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error

func (*InternalRaftRequest) XXX_DiscardUnknown

func (m *InternalRaftRequest) XXX_DiscardUnknown()

func (*InternalRaftRequest) XXX_Marshal

func (m *InternalRaftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InternalRaftRequest) XXX_Merge

func (m *InternalRaftRequest) XXX_Merge(src proto.Message)

func (*InternalRaftRequest) XXX_Size

func (m *InternalRaftRequest) XXX_Size() int

func (*InternalRaftRequest) XXX_Unmarshal

func (m *InternalRaftRequest) XXX_Unmarshal(b []byte) error

type IssuanceStatus

type IssuanceStatus struct {
	State IssuanceStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.IssuanceStatus_State" json:"state,omitempty"`
	// Err is set if the Certificate Issuance is in an error state.
	// The following states should report a companion error:
	//	FAILED
	Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
}

func (*IssuanceStatus) Copy

func (m *IssuanceStatus) Copy() *IssuanceStatus

func (*IssuanceStatus) CopyFrom

func (m *IssuanceStatus) CopyFrom(src interface{})

func (*IssuanceStatus) Descriptor

func (*IssuanceStatus) Descriptor() ([]byte, []int)

func (*IssuanceStatus) Marshal

func (m *IssuanceStatus) Marshal() (dAtA []byte, err error)

func (*IssuanceStatus) MarshalTo

func (m *IssuanceStatus) MarshalTo(dAtA []byte) (int, error)

func (*IssuanceStatus) MarshalToSizedBuffer

func (m *IssuanceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IssuanceStatus) ProtoMessage

func (*IssuanceStatus) ProtoMessage()

func (*IssuanceStatus) Reset

func (m *IssuanceStatus) Reset()

func (*IssuanceStatus) Size

func (m *IssuanceStatus) Size() (n int)

func (*IssuanceStatus) String

func (this *IssuanceStatus) String() string

func (*IssuanceStatus) Unmarshal

func (m *IssuanceStatus) Unmarshal(dAtA []byte) error

func (*IssuanceStatus) XXX_DiscardUnknown

func (m *IssuanceStatus) XXX_DiscardUnknown()

func (*IssuanceStatus) XXX_Marshal

func (m *IssuanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IssuanceStatus) XXX_Merge

func (m *IssuanceStatus) XXX_Merge(src proto.Message)

func (*IssuanceStatus) XXX_Size

func (m *IssuanceStatus) XXX_Size() int

func (*IssuanceStatus) XXX_Unmarshal

func (m *IssuanceStatus) XXX_Unmarshal(b []byte) error

type IssuanceStatus_State

type IssuanceStatus_State int32
const (
	IssuanceStateUnknown IssuanceStatus_State = 0
	// A new certificate should be issued
	IssuanceStateRenew IssuanceStatus_State = 1
	// Certificate is pending acceptance
	IssuanceStatePending IssuanceStatus_State = 2
	// successful completion certificate issuance
	IssuanceStateIssued IssuanceStatus_State = 3
	// Certificate issuance failed
	IssuanceStateFailed IssuanceStatus_State = 4
	// Signals workers to renew their certificate. From the CA's perspective
	// this is equivalent to IssuanceStateIssued: a noop.
	IssuanceStateRotate IssuanceStatus_State = 5
)

func (IssuanceStatus_State) EnumDescriptor

func (IssuanceStatus_State) EnumDescriptor() ([]byte, []int)

func (IssuanceStatus_State) String

func (x IssuanceStatus_State) String() string

type IssueNodeCertificateRequest

type IssueNodeCertificateRequest struct {
	// DEPRECATED: Role is now selected based on which secret is matched.
	Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"` // Deprecated: Do not use.
	// CSR is the certificate signing request.
	CSR []byte `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"`
	// Token represents a user-provided string that is necessary for new
	// nodes to join the cluster
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// Availability allows a user to control the current scheduling status of a node
	Availability NodeSpec_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability" json:"availability,omitempty"`
}

func (*IssueNodeCertificateRequest) Copy

func (*IssueNodeCertificateRequest) CopyFrom

func (m *IssueNodeCertificateRequest) CopyFrom(src interface{})

func (*IssueNodeCertificateRequest) Descriptor

func (*IssueNodeCertificateRequest) Descriptor() ([]byte, []int)

func (*IssueNodeCertificateRequest) Marshal

func (m *IssueNodeCertificateRequest) Marshal() (dAtA []byte, err error)

func (*IssueNodeCertificateRequest) MarshalTo

func (m *IssueNodeCertificateRequest) MarshalTo(dAtA []byte) (int, error)

func (*IssueNodeCertificateRequest) MarshalToSizedBuffer

func (m *IssueNodeCertificateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IssueNodeCertificateRequest) ProtoMessage

func (*IssueNodeCertificateRequest) ProtoMessage()

func (*IssueNodeCertificateRequest) Reset

func (m *IssueNodeCertificateRequest) Reset()

func (*IssueNodeCertificateRequest) Size

func (m *IssueNodeCertificateRequest) Size() (n int)

func (*IssueNodeCertificateRequest) String

func (this *IssueNodeCertificateRequest) String() string

func (*IssueNodeCertificateRequest) Unmarshal

func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error

func (*IssueNodeCertificateRequest) XXX_DiscardUnknown

func (m *IssueNodeCertificateRequest) XXX_DiscardUnknown()

func (*IssueNodeCertificateRequest) XXX_Marshal

func (m *IssueNodeCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IssueNodeCertificateRequest) XXX_Merge

func (m *IssueNodeCertificateRequest) XXX_Merge(src proto.Message)

func (*IssueNodeCertificateRequest) XXX_Size

func (m *IssueNodeCertificateRequest) XXX_Size() int

func (*IssueNodeCertificateRequest) XXX_Unmarshal

func (m *IssueNodeCertificateRequest) XXX_Unmarshal(b []byte) error

type IssueNodeCertificateResponse

type IssueNodeCertificateResponse struct {
	NodeID         string              `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeMembership NodeSpec_Membership `` /* 148-byte string literal not displayed */
}

func (*IssueNodeCertificateResponse) Copy

func (*IssueNodeCertificateResponse) CopyFrom

func (m *IssueNodeCertificateResponse) CopyFrom(src interface{})

func (*IssueNodeCertificateResponse) Descriptor

func (*IssueNodeCertificateResponse) Descriptor() ([]byte, []int)

func (*IssueNodeCertificateResponse) Marshal

func (m *IssueNodeCertificateResponse) Marshal() (dAtA []byte, err error)

func (*IssueNodeCertificateResponse) MarshalTo

func (m *IssueNodeCertificateResponse) MarshalTo(dAtA []byte) (int, error)

func (*IssueNodeCertificateResponse) MarshalToSizedBuffer

func (m *IssueNodeCertificateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IssueNodeCertificateResponse) ProtoMessage

func (*IssueNodeCertificateResponse) ProtoMessage()

func (*IssueNodeCertificateResponse) Reset

func (m *IssueNodeCertificateResponse) Reset()

func (*IssueNodeCertificateResponse) Size

func (m *IssueNodeCertificateResponse) Size() (n int)

func (*IssueNodeCertificateResponse) String

func (this *IssueNodeCertificateResponse) String() string

func (*IssueNodeCertificateResponse) Unmarshal

func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error

func (*IssueNodeCertificateResponse) XXX_DiscardUnknown

func (m *IssueNodeCertificateResponse) XXX_DiscardUnknown()

func (*IssueNodeCertificateResponse) XXX_Marshal

func (m *IssueNodeCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IssueNodeCertificateResponse) XXX_Merge

func (m *IssueNodeCertificateResponse) XXX_Merge(src proto.Message)

func (*IssueNodeCertificateResponse) XXX_Size

func (m *IssueNodeCertificateResponse) XXX_Size() int

func (*IssueNodeCertificateResponse) XXX_Unmarshal

func (m *IssueNodeCertificateResponse) XXX_Unmarshal(b []byte) error

type JobStatus

type JobStatus struct {
	// JobIteration is the count of how many times the Job has been excecuted,
	// successfully or otherwise. "Executed" refers to the job as a whole being
	// started, not to the individual Tasks being launched. This is used to
	// disambiguate which Tasks belong to which iteration of a Job.
	JobIteration Version `protobuf:"bytes,1,opt,name=job_iteration,json=jobIteration,proto3" json:"job_iteration"`
	// LastExecution is the time that the job was last executed. This is set by
	// the orchestrator in the same transaction that JobIteration is incremented.
	// While time is a fungible concept in distributed systems like Swarmkit,
	// this value gives us a best-effort attempt to prevent weird behavior like
	// newly added nodes executing long-forgotten jobs.
	LastExecution *types.Timestamp `protobuf:"bytes,2,opt,name=last_execution,json=lastExecution,proto3" json:"last_execution,omitempty"`
}

JobStatus indicates the status of a Service that is in one of the Job modes.

func (*JobStatus) Copy

func (m *JobStatus) Copy() *JobStatus

func (*JobStatus) CopyFrom

func (m *JobStatus) CopyFrom(src interface{})

func (*JobStatus) Descriptor

func (*JobStatus) Descriptor() ([]byte, []int)

func (*JobStatus) Marshal

func (m *JobStatus) Marshal() (dAtA []byte, err error)

func (*JobStatus) MarshalTo

func (m *JobStatus) MarshalTo(dAtA []byte) (int, error)

func (*JobStatus) MarshalToSizedBuffer

func (m *JobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JobStatus) ProtoMessage

func (*JobStatus) ProtoMessage()

func (*JobStatus) Reset

func (m *JobStatus) Reset()

func (*JobStatus) Size

func (m *JobStatus) Size() (n int)

func (*JobStatus) String

func (this *JobStatus) String() string

func (*JobStatus) Unmarshal

func (m *JobStatus) Unmarshal(dAtA []byte) error

func (*JobStatus) XXX_DiscardUnknown

func (m *JobStatus) XXX_DiscardUnknown()

func (*JobStatus) XXX_Marshal

func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobStatus) XXX_Merge

func (m *JobStatus) XXX_Merge(src proto.Message)

func (*JobStatus) XXX_Size

func (m *JobStatus) XXX_Size() int

func (*JobStatus) XXX_Unmarshal

func (m *JobStatus) XXX_Unmarshal(b []byte) error

type JoinRequest

type JoinRequest struct {
	// Addr specifies the address of the member
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
}

func (*JoinRequest) Copy

func (m *JoinRequest) Copy() *JoinRequest

func (*JoinRequest) CopyFrom

func (m *JoinRequest) CopyFrom(src interface{})

func (*JoinRequest) Descriptor

func (*JoinRequest) Descriptor() ([]byte, []int)

func (*JoinRequest) Marshal

func (m *JoinRequest) Marshal() (dAtA []byte, err error)

func (*JoinRequest) MarshalTo

func (m *JoinRequest) MarshalTo(dAtA []byte) (int, error)

func (*JoinRequest) MarshalToSizedBuffer

func (m *JoinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JoinRequest) ProtoMessage

func (*JoinRequest) ProtoMessage()

func (*JoinRequest) Reset

func (m *JoinRequest) Reset()

func (*JoinRequest) Size

func (m *JoinRequest) Size() (n int)

func (*JoinRequest) String

func (this *JoinRequest) String() string

func (*JoinRequest) Unmarshal

func (m *JoinRequest) Unmarshal(dAtA []byte) error

func (*JoinRequest) XXX_DiscardUnknown

func (m *JoinRequest) XXX_DiscardUnknown()

func (*JoinRequest) XXX_Marshal

func (m *JoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinRequest) XXX_Merge

func (m *JoinRequest) XXX_Merge(src proto.Message)

func (*JoinRequest) XXX_Size

func (m *JoinRequest) XXX_Size() int

func (*JoinRequest) XXX_Unmarshal

func (m *JoinRequest) XXX_Unmarshal(b []byte) error

type JoinResponse

type JoinResponse struct {
	// RaftID is the ID assigned to the new member.
	RaftID uint64 `protobuf:"varint,1,opt,name=raft_id,json=raftId,proto3" json:"raft_id,omitempty"`
	// Members is the membership set of the cluster.
	Members []*RaftMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// RemovedMembers is a list of members that have been removed from
	// the cluster, so the new node can avoid communicating with them.
	RemovedMembers []uint64 `protobuf:"varint,3,rep,name=removed_members,json=removedMembers,proto3" json:"removed_members,omitempty"`
}

func (*JoinResponse) Copy

func (m *JoinResponse) Copy() *JoinResponse

func (*JoinResponse) CopyFrom

func (m *JoinResponse) CopyFrom(src interface{})

func (*JoinResponse) Descriptor

func (*JoinResponse) Descriptor() ([]byte, []int)

func (*JoinResponse) Marshal

func (m *JoinResponse) Marshal() (dAtA []byte, err error)

func (*JoinResponse) MarshalTo

func (m *JoinResponse) MarshalTo(dAtA []byte) (int, error)

func (*JoinResponse) MarshalToSizedBuffer

func (m *JoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JoinResponse) ProtoMessage

func (*JoinResponse) ProtoMessage()

func (*JoinResponse) Reset

func (m *JoinResponse) Reset()

func (*JoinResponse) Size

func (m *JoinResponse) Size() (n int)

func (*JoinResponse) String

func (this *JoinResponse) String() string

func (*JoinResponse) Unmarshal

func (m *JoinResponse) Unmarshal(dAtA []byte) error

func (*JoinResponse) XXX_DiscardUnknown

func (m *JoinResponse) XXX_DiscardUnknown()

func (*JoinResponse) XXX_Marshal

func (m *JoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinResponse) XXX_Merge

func (m *JoinResponse) XXX_Merge(src proto.Message)

func (*JoinResponse) XXX_Size

func (m *JoinResponse) XXX_Size() int

func (*JoinResponse) XXX_Unmarshal

func (m *JoinResponse) XXX_Unmarshal(b []byte) error

type JoinTokens

type JoinTokens struct {
	// Worker is the join token workers may use to join the swarm.
	Worker string `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
	// Manager is the join token workers may use to join the swarm.
	Manager string `protobuf:"bytes,2,opt,name=manager,proto3" json:"manager,omitempty"`
}

JoinToken contains the join tokens for workers and managers.

func (*JoinTokens) Copy

func (m *JoinTokens) Copy() *JoinTokens

func (*JoinTokens) CopyFrom

func (m *JoinTokens) CopyFrom(src interface{})

func (*JoinTokens) Descriptor

func (*JoinTokens) Descriptor() ([]byte, []int)

func (*JoinTokens) Marshal

func (m *JoinTokens) Marshal() (dAtA []byte, err error)

func (*JoinTokens) MarshalTo

func (m *JoinTokens) MarshalTo(dAtA []byte) (int, error)

func (*JoinTokens) MarshalToSizedBuffer

func (m *JoinTokens) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JoinTokens) ProtoMessage

func (*JoinTokens) ProtoMessage()

func (*JoinTokens) Reset

func (m *JoinTokens) Reset()

func (*JoinTokens) Size

func (m *JoinTokens) Size() (n int)

func (*JoinTokens) String

func (this *JoinTokens) String() string

func (*JoinTokens) Unmarshal

func (m *JoinTokens) Unmarshal(dAtA []byte) error

func (*JoinTokens) XXX_DiscardUnknown

func (m *JoinTokens) XXX_DiscardUnknown()

func (*JoinTokens) XXX_Marshal

func (m *JoinTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JoinTokens) XXX_Merge

func (m *JoinTokens) XXX_Merge(src proto.Message)

func (*JoinTokens) XXX_Size

func (m *JoinTokens) XXX_Size() int

func (*JoinTokens) XXX_Unmarshal

func (m *JoinTokens) XXX_Unmarshal(b []byte) error

type KeyRotation

type KeyRotation struct {
	// WorkerJoinToken tells UpdateCluster to rotate the worker secret token.
	WorkerJoinToken bool `protobuf:"varint,1,opt,name=worker_join_token,json=workerJoinToken,proto3" json:"worker_join_token,omitempty"`
	// ManagerJoinToken tells UpdateCluster to rotate the manager secret token.
	ManagerJoinToken bool `protobuf:"varint,2,opt,name=manager_join_token,json=managerJoinToken,proto3" json:"manager_join_token,omitempty"`
	// ManagerUnlockKey tells UpdateCluster to rotate the manager unlock key
	ManagerUnlockKey bool `protobuf:"varint,3,opt,name=manager_unlock_key,json=managerUnlockKey,proto3" json:"manager_unlock_key,omitempty"`
}

KeyRotation tells UpdateCluster what items to rotate

func (*KeyRotation) Copy

func (m *KeyRotation) Copy() *KeyRotation

func (*KeyRotation) CopyFrom

func (m *KeyRotation) CopyFrom(src interface{})

func (*KeyRotation) Descriptor

func (*KeyRotation) Descriptor() ([]byte, []int)

func (*KeyRotation) Marshal

func (m *KeyRotation) Marshal() (dAtA []byte, err error)

func (*KeyRotation) MarshalTo

func (m *KeyRotation) MarshalTo(dAtA []byte) (int, error)

func (*KeyRotation) MarshalToSizedBuffer

func (m *KeyRotation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyRotation) ProtoMessage

func (*KeyRotation) ProtoMessage()

func (*KeyRotation) Reset

func (m *KeyRotation) Reset()

func (*KeyRotation) Size

func (m *KeyRotation) Size() (n int)

func (*KeyRotation) String

func (this *KeyRotation) String() string

func (*KeyRotation) Unmarshal

func (m *KeyRotation) Unmarshal(dAtA []byte) error

func (*KeyRotation) XXX_DiscardUnknown

func (m *KeyRotation) XXX_DiscardUnknown()

func (*KeyRotation) XXX_Marshal

func (m *KeyRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyRotation) XXX_Merge

func (m *KeyRotation) XXX_Merge(src proto.Message)

func (*KeyRotation) XXX_Size

func (m *KeyRotation) XXX_Size() int

func (*KeyRotation) XXX_Unmarshal

func (m *KeyRotation) XXX_Unmarshal(b []byte) error

type LeaveRequest

type LeaveRequest struct {
	Node *RaftMember `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
}

func (*LeaveRequest) Copy

func (m *LeaveRequest) Copy() *LeaveRequest

func (*LeaveRequest) CopyFrom

func (m *LeaveRequest) CopyFrom(src interface{})

func (*LeaveRequest) Descriptor

func (*LeaveRequest) Descriptor() ([]byte, []int)

func (*LeaveRequest) Marshal

func (m *LeaveRequest) Marshal() (dAtA []byte, err error)

func (*LeaveRequest) MarshalTo

func (m *LeaveRequest) MarshalTo(dAtA []byte) (int, error)

func (*LeaveRequest) MarshalToSizedBuffer

func (m *LeaveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LeaveRequest) ProtoMessage

func (*LeaveRequest) ProtoMessage()

func (*LeaveRequest) Reset

func (m *LeaveRequest) Reset()

func (*LeaveRequest) Size

func (m *LeaveRequest) Size() (n int)

func (*LeaveRequest) String

func (this *LeaveRequest) String() string

func (*LeaveRequest) Unmarshal

func (m *LeaveRequest) Unmarshal(dAtA []byte) error

func (*LeaveRequest) XXX_DiscardUnknown

func (m *LeaveRequest) XXX_DiscardUnknown()

func (*LeaveRequest) XXX_Marshal

func (m *LeaveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LeaveRequest) XXX_Merge

func (m *LeaveRequest) XXX_Merge(src proto.Message)

func (*LeaveRequest) XXX_Size

func (m *LeaveRequest) XXX_Size() int

func (*LeaveRequest) XXX_Unmarshal

func (m *LeaveRequest) XXX_Unmarshal(b []byte) error

type LeaveResponse

type LeaveResponse struct {
}

func (*LeaveResponse) Copy

func (m *LeaveResponse) Copy() *LeaveResponse

func (*LeaveResponse) CopyFrom

func (m *LeaveResponse) CopyFrom(src interface{})

func (*LeaveResponse) Descriptor

func (*LeaveResponse) Descriptor() ([]byte, []int)

func (*LeaveResponse) Marshal

func (m *LeaveResponse) Marshal() (dAtA []byte, err error)

func (*LeaveResponse) MarshalTo

func (m *LeaveResponse) MarshalTo(dAtA []byte) (int, error)

func (*LeaveResponse) MarshalToSizedBuffer

func (m *LeaveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LeaveResponse) ProtoMessage

func (*LeaveResponse) ProtoMessage()

func (*LeaveResponse) Reset

func (m *LeaveResponse) Reset()

func (*LeaveResponse) Size

func (m *LeaveResponse) Size() (n int)

func (*LeaveResponse) String

func (this *LeaveResponse) String() string

func (*LeaveResponse) Unmarshal

func (m *LeaveResponse) Unmarshal(dAtA []byte) error

func (*LeaveResponse) XXX_DiscardUnknown

func (m *LeaveResponse) XXX_DiscardUnknown()

func (*LeaveResponse) XXX_Marshal

func (m *LeaveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LeaveResponse) XXX_Merge

func (m *LeaveResponse) XXX_Merge(src proto.Message)

func (*LeaveResponse) XXX_Size

func (m *LeaveResponse) XXX_Size() int

func (*LeaveResponse) XXX_Unmarshal

func (m *LeaveResponse) XXX_Unmarshal(b []byte) error

type ListClustersRequest

type ListClustersRequest struct {
	Filters *ListClustersRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

func (*ListClustersRequest) Copy

func (*ListClustersRequest) CopyFrom

func (m *ListClustersRequest) CopyFrom(src interface{})

func (*ListClustersRequest) Descriptor

func (*ListClustersRequest) Descriptor() ([]byte, []int)

func (*ListClustersRequest) Marshal

func (m *ListClustersRequest) Marshal() (dAtA []byte, err error)

func (*ListClustersRequest) MarshalTo

func (m *ListClustersRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListClustersRequest) MarshalToSizedBuffer

func (m *ListClustersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) Reset

func (m *ListClustersRequest) Reset()

func (*ListClustersRequest) Size

func (m *ListClustersRequest) Size() (n int)

func (*ListClustersRequest) String

func (this *ListClustersRequest) String() string

func (*ListClustersRequest) Unmarshal

func (m *ListClustersRequest) Unmarshal(dAtA []byte) error

func (*ListClustersRequest) XXX_DiscardUnknown

func (m *ListClustersRequest) XXX_DiscardUnknown()

func (*ListClustersRequest) XXX_Marshal

func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClustersRequest) XXX_Merge

func (m *ListClustersRequest) XXX_Merge(src proto.Message)

func (*ListClustersRequest) XXX_Size

func (m *ListClustersRequest) XXX_Size() int

func (*ListClustersRequest) XXX_Unmarshal

func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error

type ListClustersRequest_Filters

type ListClustersRequest_Filters struct {
	Names      []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels     map[string]string `` /* 153-byte string literal not displayed */
	// NamePrefixes matches all objects with the given prefixes
	NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
}

func (*ListClustersRequest_Filters) Copy

func (*ListClustersRequest_Filters) CopyFrom

func (m *ListClustersRequest_Filters) CopyFrom(src interface{})

func (*ListClustersRequest_Filters) Descriptor

func (*ListClustersRequest_Filters) Descriptor() ([]byte, []int)

func (*ListClustersRequest_Filters) Marshal

func (m *ListClustersRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListClustersRequest_Filters) MarshalTo

func (m *ListClustersRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListClustersRequest_Filters) MarshalToSizedBuffer

func (m *ListClustersRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListClustersRequest_Filters) ProtoMessage

func (*ListClustersRequest_Filters) ProtoMessage()

func (*ListClustersRequest_Filters) Reset

func (m *ListClustersRequest_Filters) Reset()

func (*ListClustersRequest_Filters) Size

func (m *ListClustersRequest_Filters) Size() (n int)

func (*ListClustersRequest_Filters) String

func (this *ListClustersRequest_Filters) String() string

func (*ListClustersRequest_Filters) Unmarshal

func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListClustersRequest_Filters) XXX_DiscardUnknown

func (m *ListClustersRequest_Filters) XXX_DiscardUnknown()

func (*ListClustersRequest_Filters) XXX_Marshal

func (m *ListClustersRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClustersRequest_Filters) XXX_Merge

func (m *ListClustersRequest_Filters) XXX_Merge(src proto.Message)

func (*ListClustersRequest_Filters) XXX_Size

func (m *ListClustersRequest_Filters) XXX_Size() int

func (*ListClustersRequest_Filters) XXX_Unmarshal

func (m *ListClustersRequest_Filters) XXX_Unmarshal(b []byte) error

type ListClustersResponse

type ListClustersResponse struct {
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
}

func (*ListClustersResponse) Copy

func (*ListClustersResponse) CopyFrom

func (m *ListClustersResponse) CopyFrom(src interface{})

func (*ListClustersResponse) Descriptor

func (*ListClustersResponse) Descriptor() ([]byte, []int)

func (*ListClustersResponse) Marshal

func (m *ListClustersResponse) Marshal() (dAtA []byte, err error)

func (*ListClustersResponse) MarshalTo

func (m *ListClustersResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListClustersResponse) MarshalToSizedBuffer

func (m *ListClustersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) Reset

func (m *ListClustersResponse) Reset()

func (*ListClustersResponse) Size

func (m *ListClustersResponse) Size() (n int)

func (*ListClustersResponse) String

func (this *ListClustersResponse) String() string

func (*ListClustersResponse) Unmarshal

func (m *ListClustersResponse) Unmarshal(dAtA []byte) error

func (*ListClustersResponse) XXX_DiscardUnknown

func (m *ListClustersResponse) XXX_DiscardUnknown()

func (*ListClustersResponse) XXX_Marshal

func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClustersResponse) XXX_Merge

func (m *ListClustersResponse) XXX_Merge(src proto.Message)

func (*ListClustersResponse) XXX_Size

func (m *ListClustersResponse) XXX_Size() int

func (*ListClustersResponse) XXX_Unmarshal

func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error

type ListConfigsRequest

type ListConfigsRequest struct {
	Filters *ListConfigsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

ListConfigRequest is the request to list all configs in the config store, or all configs filtered by (name or name prefix or id prefix) and labels.

func (*ListConfigsRequest) Copy

func (*ListConfigsRequest) CopyFrom

func (m *ListConfigsRequest) CopyFrom(src interface{})

func (*ListConfigsRequest) Descriptor

func (*ListConfigsRequest) Descriptor() ([]byte, []int)

func (*ListConfigsRequest) Marshal

func (m *ListConfigsRequest) Marshal() (dAtA []byte, err error)

func (*ListConfigsRequest) MarshalTo

func (m *ListConfigsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListConfigsRequest) MarshalToSizedBuffer

func (m *ListConfigsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListConfigsRequest) ProtoMessage

func (*ListConfigsRequest) ProtoMessage()

func (*ListConfigsRequest) Reset

func (m *ListConfigsRequest) Reset()

func (*ListConfigsRequest) Size

func (m *ListConfigsRequest) Size() (n int)

func (*ListConfigsRequest) String

func (this *ListConfigsRequest) String() string

func (*ListConfigsRequest) Unmarshal

func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error

func (*ListConfigsRequest) XXX_DiscardUnknown

func (m *ListConfigsRequest) XXX_DiscardUnknown()

func (*ListConfigsRequest) XXX_Marshal

func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConfigsRequest) XXX_Merge

func (m *ListConfigsRequest) XXX_Merge(src proto.Message)

func (*ListConfigsRequest) XXX_Size

func (m *ListConfigsRequest) XXX_Size() int

func (*ListConfigsRequest) XXX_Unmarshal

func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error

type ListConfigsRequest_Filters

type ListConfigsRequest_Filters struct {
	Names        []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes   []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	NamePrefixes []string          `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
}

func (*ListConfigsRequest_Filters) Copy

func (*ListConfigsRequest_Filters) CopyFrom

func (m *ListConfigsRequest_Filters) CopyFrom(src interface{})

func (*ListConfigsRequest_Filters) Descriptor

func (*ListConfigsRequest_Filters) Descriptor() ([]byte, []int)

func (*ListConfigsRequest_Filters) Marshal

func (m *ListConfigsRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListConfigsRequest_Filters) MarshalTo

func (m *ListConfigsRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListConfigsRequest_Filters) MarshalToSizedBuffer

func (m *ListConfigsRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListConfigsRequest_Filters) ProtoMessage

func (*ListConfigsRequest_Filters) ProtoMessage()

func (*ListConfigsRequest_Filters) Reset

func (m *ListConfigsRequest_Filters) Reset()

func (*ListConfigsRequest_Filters) Size

func (m *ListConfigsRequest_Filters) Size() (n int)

func (*ListConfigsRequest_Filters) String

func (this *ListConfigsRequest_Filters) String() string

func (*ListConfigsRequest_Filters) Unmarshal

func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListConfigsRequest_Filters) XXX_DiscardUnknown

func (m *ListConfigsRequest_Filters) XXX_DiscardUnknown()

func (*ListConfigsRequest_Filters) XXX_Marshal

func (m *ListConfigsRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConfigsRequest_Filters) XXX_Merge

func (m *ListConfigsRequest_Filters) XXX_Merge(src proto.Message)

func (*ListConfigsRequest_Filters) XXX_Size

func (m *ListConfigsRequest_Filters) XXX_Size() int

func (*ListConfigsRequest_Filters) XXX_Unmarshal

func (m *ListConfigsRequest_Filters) XXX_Unmarshal(b []byte) error

type ListConfigsResponse

type ListConfigsResponse struct {
	Configs []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
}

ListConfigResponse contains a list of all the configs that match the name or name prefix filters provided in `ListConfigRequest`.

func (*ListConfigsResponse) Copy

func (*ListConfigsResponse) CopyFrom

func (m *ListConfigsResponse) CopyFrom(src interface{})

func (*ListConfigsResponse) Descriptor

func (*ListConfigsResponse) Descriptor() ([]byte, []int)

func (*ListConfigsResponse) Marshal

func (m *ListConfigsResponse) Marshal() (dAtA []byte, err error)

func (*ListConfigsResponse) MarshalTo

func (m *ListConfigsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListConfigsResponse) MarshalToSizedBuffer

func (m *ListConfigsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListConfigsResponse) ProtoMessage

func (*ListConfigsResponse) ProtoMessage()

func (*ListConfigsResponse) Reset

func (m *ListConfigsResponse) Reset()

func (*ListConfigsResponse) Size

func (m *ListConfigsResponse) Size() (n int)

func (*ListConfigsResponse) String

func (this *ListConfigsResponse) String() string

func (*ListConfigsResponse) Unmarshal

func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error

func (*ListConfigsResponse) XXX_DiscardUnknown

func (m *ListConfigsResponse) XXX_DiscardUnknown()

func (*ListConfigsResponse) XXX_Marshal

func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConfigsResponse) XXX_Merge

func (m *ListConfigsResponse) XXX_Merge(src proto.Message)

func (*ListConfigsResponse) XXX_Size

func (m *ListConfigsResponse) XXX_Size() int

func (*ListConfigsResponse) XXX_Unmarshal

func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error

type ListNetworksRequest

type ListNetworksRequest struct {
	Filters *ListNetworksRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
	// Application-specific message for the NetworkAllocator's OnGetNetwork callback.
	Appdata *types.Any `protobuf:"bytes,2,opt,name=appdata,proto3" json:"appdata,omitempty"`
}

func (*ListNetworksRequest) Copy

func (*ListNetworksRequest) CopyFrom

func (m *ListNetworksRequest) CopyFrom(src interface{})

func (*ListNetworksRequest) Descriptor

func (*ListNetworksRequest) Descriptor() ([]byte, []int)

func (*ListNetworksRequest) Marshal

func (m *ListNetworksRequest) Marshal() (dAtA []byte, err error)

func (*ListNetworksRequest) MarshalTo

func (m *ListNetworksRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListNetworksRequest) MarshalToSizedBuffer

func (m *ListNetworksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNetworksRequest) ProtoMessage

func (*ListNetworksRequest) ProtoMessage()

func (*ListNetworksRequest) Reset

func (m *ListNetworksRequest) Reset()

func (*ListNetworksRequest) Size

func (m *ListNetworksRequest) Size() (n int)

func (*ListNetworksRequest) String

func (this *ListNetworksRequest) String() string

func (*ListNetworksRequest) Unmarshal

func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error

func (*ListNetworksRequest) XXX_DiscardUnknown

func (m *ListNetworksRequest) XXX_DiscardUnknown()

func (*ListNetworksRequest) XXX_Marshal

func (m *ListNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNetworksRequest) XXX_Merge

func (m *ListNetworksRequest) XXX_Merge(src proto.Message)

func (*ListNetworksRequest) XXX_Size

func (m *ListNetworksRequest) XXX_Size() int

func (*ListNetworksRequest) XXX_Unmarshal

func (m *ListNetworksRequest) XXX_Unmarshal(b []byte) error

type ListNetworksRequest_Filters

type ListNetworksRequest_Filters struct {
	Names      []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels     map[string]string `` /* 153-byte string literal not displayed */
	// NamePrefixes matches all objects with the given prefixes
	NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
}

func (*ListNetworksRequest_Filters) Copy

func (*ListNetworksRequest_Filters) CopyFrom

func (m *ListNetworksRequest_Filters) CopyFrom(src interface{})

func (*ListNetworksRequest_Filters) Descriptor

func (*ListNetworksRequest_Filters) Descriptor() ([]byte, []int)

func (*ListNetworksRequest_Filters) Marshal

func (m *ListNetworksRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListNetworksRequest_Filters) MarshalTo

func (m *ListNetworksRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListNetworksRequest_Filters) MarshalToSizedBuffer

func (m *ListNetworksRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNetworksRequest_Filters) ProtoMessage

func (*ListNetworksRequest_Filters) ProtoMessage()

func (*ListNetworksRequest_Filters) Reset

func (m *ListNetworksRequest_Filters) Reset()

func (*ListNetworksRequest_Filters) Size

func (m *ListNetworksRequest_Filters) Size() (n int)

func (*ListNetworksRequest_Filters) String

func (this *ListNetworksRequest_Filters) String() string

func (*ListNetworksRequest_Filters) Unmarshal

func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListNetworksRequest_Filters) XXX_DiscardUnknown

func (m *ListNetworksRequest_Filters) XXX_DiscardUnknown()

func (*ListNetworksRequest_Filters) XXX_Marshal

func (m *ListNetworksRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNetworksRequest_Filters) XXX_Merge

func (m *ListNetworksRequest_Filters) XXX_Merge(src proto.Message)

func (*ListNetworksRequest_Filters) XXX_Size

func (m *ListNetworksRequest_Filters) XXX_Size() int

func (*ListNetworksRequest_Filters) XXX_Unmarshal

func (m *ListNetworksRequest_Filters) XXX_Unmarshal(b []byte) error

type ListNetworksResponse

type ListNetworksResponse struct {
	Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
}

func (*ListNetworksResponse) Copy

func (*ListNetworksResponse) CopyFrom

func (m *ListNetworksResponse) CopyFrom(src interface{})

func (*ListNetworksResponse) Descriptor

func (*ListNetworksResponse) Descriptor() ([]byte, []int)

func (*ListNetworksResponse) Marshal

func (m *ListNetworksResponse) Marshal() (dAtA []byte, err error)

func (*ListNetworksResponse) MarshalTo

func (m *ListNetworksResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListNetworksResponse) MarshalToSizedBuffer

func (m *ListNetworksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNetworksResponse) ProtoMessage

func (*ListNetworksResponse) ProtoMessage()

func (*ListNetworksResponse) Reset

func (m *ListNetworksResponse) Reset()

func (*ListNetworksResponse) Size

func (m *ListNetworksResponse) Size() (n int)

func (*ListNetworksResponse) String

func (this *ListNetworksResponse) String() string

func (*ListNetworksResponse) Unmarshal

func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error

func (*ListNetworksResponse) XXX_DiscardUnknown

func (m *ListNetworksResponse) XXX_DiscardUnknown()

func (*ListNetworksResponse) XXX_Marshal

func (m *ListNetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNetworksResponse) XXX_Merge

func (m *ListNetworksResponse) XXX_Merge(src proto.Message)

func (*ListNetworksResponse) XXX_Size

func (m *ListNetworksResponse) XXX_Size() int

func (*ListNetworksResponse) XXX_Unmarshal

func (m *ListNetworksResponse) XXX_Unmarshal(b []byte) error

type ListNodesRequest

type ListNodesRequest struct {
	Filters *ListNodesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

func (*ListNodesRequest) Copy

func (*ListNodesRequest) CopyFrom

func (m *ListNodesRequest) CopyFrom(src interface{})

func (*ListNodesRequest) Descriptor

func (*ListNodesRequest) Descriptor() ([]byte, []int)

func (*ListNodesRequest) Marshal

func (m *ListNodesRequest) Marshal() (dAtA []byte, err error)

func (*ListNodesRequest) MarshalTo

func (m *ListNodesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListNodesRequest) MarshalToSizedBuffer

func (m *ListNodesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNodesRequest) ProtoMessage

func (*ListNodesRequest) ProtoMessage()

func (*ListNodesRequest) Reset

func (m *ListNodesRequest) Reset()

func (*ListNodesRequest) Size

func (m *ListNodesRequest) Size() (n int)

func (*ListNodesRequest) String

func (this *ListNodesRequest) String() string

func (*ListNodesRequest) Unmarshal

func (m *ListNodesRequest) Unmarshal(dAtA []byte) error

func (*ListNodesRequest) XXX_DiscardUnknown

func (m *ListNodesRequest) XXX_DiscardUnknown()

func (*ListNodesRequest) XXX_Marshal

func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNodesRequest) XXX_Merge

func (m *ListNodesRequest) XXX_Merge(src proto.Message)

func (*ListNodesRequest) XXX_Size

func (m *ListNodesRequest) XXX_Size() int

func (*ListNodesRequest) XXX_Unmarshal

func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error

type ListNodesRequest_Filters

type ListNodesRequest_Filters struct {
	Names      []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	// Labels refers to engine labels, which are labels set by the user on the
	// node and reported back to the managers
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// NodeLabels are labels set on the node object on the managers.
	NodeLabels  map[string]string     `` /* 179-byte string literal not displayed */
	Memberships []NodeSpec_Membership `protobuf:"varint,4,rep,name=memberships,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"memberships,omitempty"`
	Roles       []NodeRole            `protobuf:"varint,5,rep,name=roles,proto3,enum=docker.swarmkit.v1.NodeRole" json:"roles,omitempty"`
	// NamePrefixes matches all objects with the given prefixes
	NamePrefixes []string `protobuf:"bytes,6,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
}

func (*ListNodesRequest_Filters) Copy

func (*ListNodesRequest_Filters) CopyFrom

func (m *ListNodesRequest_Filters) CopyFrom(src interface{})

func (*ListNodesRequest_Filters) Descriptor

func (*ListNodesRequest_Filters) Descriptor() ([]byte, []int)

func (*ListNodesRequest_Filters) Marshal

func (m *ListNodesRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListNodesRequest_Filters) MarshalTo

func (m *ListNodesRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListNodesRequest_Filters) MarshalToSizedBuffer

func (m *ListNodesRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNodesRequest_Filters) ProtoMessage

func (*ListNodesRequest_Filters) ProtoMessage()

func (*ListNodesRequest_Filters) Reset

func (m *ListNodesRequest_Filters) Reset()

func (*ListNodesRequest_Filters) Size

func (m *ListNodesRequest_Filters) Size() (n int)

func (*ListNodesRequest_Filters) String

func (this *ListNodesRequest_Filters) String() string

func (*ListNodesRequest_Filters) Unmarshal

func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListNodesRequest_Filters) XXX_DiscardUnknown

func (m *ListNodesRequest_Filters) XXX_DiscardUnknown()

func (*ListNodesRequest_Filters) XXX_Marshal

func (m *ListNodesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNodesRequest_Filters) XXX_Merge

func (m *ListNodesRequest_Filters) XXX_Merge(src proto.Message)

func (*ListNodesRequest_Filters) XXX_Size

func (m *ListNodesRequest_Filters) XXX_Size() int

func (*ListNodesRequest_Filters) XXX_Unmarshal

func (m *ListNodesRequest_Filters) XXX_Unmarshal(b []byte) error

type ListNodesResponse

type ListNodesResponse struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
}

func (*ListNodesResponse) Copy

func (*ListNodesResponse) CopyFrom

func (m *ListNodesResponse) CopyFrom(src interface{})

func (*ListNodesResponse) Descriptor

func (*ListNodesResponse) Descriptor() ([]byte, []int)

func (*ListNodesResponse) Marshal

func (m *ListNodesResponse) Marshal() (dAtA []byte, err error)

func (*ListNodesResponse) MarshalTo

func (m *ListNodesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListNodesResponse) MarshalToSizedBuffer

func (m *ListNodesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListNodesResponse) ProtoMessage

func (*ListNodesResponse) ProtoMessage()

func (*ListNodesResponse) Reset

func (m *ListNodesResponse) Reset()

func (*ListNodesResponse) Size

func (m *ListNodesResponse) Size() (n int)

func (*ListNodesResponse) String

func (this *ListNodesResponse) String() string

func (*ListNodesResponse) Unmarshal

func (m *ListNodesResponse) Unmarshal(dAtA []byte) error

func (*ListNodesResponse) XXX_DiscardUnknown

func (m *ListNodesResponse) XXX_DiscardUnknown()

func (*ListNodesResponse) XXX_Marshal

func (m *ListNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNodesResponse) XXX_Merge

func (m *ListNodesResponse) XXX_Merge(src proto.Message)

func (*ListNodesResponse) XXX_Size

func (m *ListNodesResponse) XXX_Size() int

func (*ListNodesResponse) XXX_Unmarshal

func (m *ListNodesResponse) XXX_Unmarshal(b []byte) error

type ListResourcesRequest

type ListResourcesRequest struct {
	Filters *ListResourcesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

ListResourcesRequest is the request to list all resources in the raft store, or all resources filtered by (name or name prefix or id prefix), labels and extension.

func (*ListResourcesRequest) Copy

func (*ListResourcesRequest) CopyFrom

func (m *ListResourcesRequest) CopyFrom(src interface{})

func (*ListResourcesRequest) Descriptor

func (*ListResourcesRequest) Descriptor() ([]byte, []int)

func (*ListResourcesRequest) Marshal

func (m *ListResourcesRequest) Marshal() (dAtA []byte, err error)

func (*ListResourcesRequest) MarshalTo

func (m *ListResourcesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListResourcesRequest) MarshalToSizedBuffer

func (m *ListResourcesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) Reset

func (m *ListResourcesRequest) Reset()

func (*ListResourcesRequest) Size

func (m *ListResourcesRequest) Size() (n int)

func (*ListResourcesRequest) String

func (this *ListResourcesRequest) String() string

func (*ListResourcesRequest) Unmarshal

func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error

func (*ListResourcesRequest) XXX_DiscardUnknown

func (m *ListResourcesRequest) XXX_DiscardUnknown()

func (*ListResourcesRequest) XXX_Marshal

func (m *ListResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResourcesRequest) XXX_Merge

func (m *ListResourcesRequest) XXX_Merge(src proto.Message)

func (*ListResourcesRequest) XXX_Size

func (m *ListResourcesRequest) XXX_Size() int

func (*ListResourcesRequest) XXX_Unmarshal

func (m *ListResourcesRequest) XXX_Unmarshal(b []byte) error

type ListResourcesRequest_Filters

type ListResourcesRequest_Filters struct {
	Names        []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes   []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	NamePrefixes []string          `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
	Kind         string            `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
}

func (*ListResourcesRequest_Filters) Copy

func (*ListResourcesRequest_Filters) CopyFrom

func (m *ListResourcesRequest_Filters) CopyFrom(src interface{})

func (*ListResourcesRequest_Filters) Descriptor

func (*ListResourcesRequest_Filters) Descriptor() ([]byte, []int)

func (*ListResourcesRequest_Filters) Marshal

func (m *ListResourcesRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListResourcesRequest_Filters) MarshalTo

func (m *ListResourcesRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListResourcesRequest_Filters) MarshalToSizedBuffer

func (m *ListResourcesRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListResourcesRequest_Filters) ProtoMessage

func (*ListResourcesRequest_Filters) ProtoMessage()

func (*ListResourcesRequest_Filters) Reset

func (m *ListResourcesRequest_Filters) Reset()

func (*ListResourcesRequest_Filters) Size

func (m *ListResourcesRequest_Filters) Size() (n int)

func (*ListResourcesRequest_Filters) String

func (this *ListResourcesRequest_Filters) String() string

func (*ListResourcesRequest_Filters) Unmarshal

func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListResourcesRequest_Filters) XXX_DiscardUnknown

func (m *ListResourcesRequest_Filters) XXX_DiscardUnknown()

func (*ListResourcesRequest_Filters) XXX_Marshal

func (m *ListResourcesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResourcesRequest_Filters) XXX_Merge

func (m *ListResourcesRequest_Filters) XXX_Merge(src proto.Message)

func (*ListResourcesRequest_Filters) XXX_Size

func (m *ListResourcesRequest_Filters) XXX_Size() int

func (*ListResourcesRequest_Filters) XXX_Unmarshal

func (m *ListResourcesRequest_Filters) XXX_Unmarshal(b []byte) error

type ListResourcesResponse

type ListResourcesResponse struct {
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
}

ListResourcesResponse contains a list of all the resources that match the name or name prefix filters provided in `ListResourcesRequest`.

func (*ListResourcesResponse) Copy

func (*ListResourcesResponse) CopyFrom

func (m *ListResourcesResponse) CopyFrom(src interface{})

func (*ListResourcesResponse) Descriptor

func (*ListResourcesResponse) Descriptor() ([]byte, []int)

func (*ListResourcesResponse) Marshal

func (m *ListResourcesResponse) Marshal() (dAtA []byte, err error)

func (*ListResourcesResponse) MarshalTo

func (m *ListResourcesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListResourcesResponse) MarshalToSizedBuffer

func (m *ListResourcesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) Reset

func (m *ListResourcesResponse) Reset()

func (*ListResourcesResponse) Size

func (m *ListResourcesResponse) Size() (n int)

func (*ListResourcesResponse) String

func (this *ListResourcesResponse) String() string

func (*ListResourcesResponse) Unmarshal

func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error

func (*ListResourcesResponse) XXX_DiscardUnknown

func (m *ListResourcesResponse) XXX_DiscardUnknown()

func (*ListResourcesResponse) XXX_Marshal

func (m *ListResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResourcesResponse) XXX_Merge

func (m *ListResourcesResponse) XXX_Merge(src proto.Message)

func (*ListResourcesResponse) XXX_Size

func (m *ListResourcesResponse) XXX_Size() int

func (*ListResourcesResponse) XXX_Unmarshal

func (m *ListResourcesResponse) XXX_Unmarshal(b []byte) error

type ListSecretsRequest

type ListSecretsRequest struct {
	Filters *ListSecretsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

ListSecretRequest is the request to list all non-internal secrets in the secret store, or all secrets filtered by (name or name prefix or id prefix) and labels.

func (*ListSecretsRequest) Copy

func (*ListSecretsRequest) CopyFrom

func (m *ListSecretsRequest) CopyFrom(src interface{})

func (*ListSecretsRequest) Descriptor

func (*ListSecretsRequest) Descriptor() ([]byte, []int)

func (*ListSecretsRequest) Marshal

func (m *ListSecretsRequest) Marshal() (dAtA []byte, err error)

func (*ListSecretsRequest) MarshalTo

func (m *ListSecretsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListSecretsRequest) MarshalToSizedBuffer

func (m *ListSecretsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListSecretsRequest) ProtoMessage

func (*ListSecretsRequest) ProtoMessage()

func (*ListSecretsRequest) Reset

func (m *ListSecretsRequest) Reset()

func (*ListSecretsRequest) Size

func (m *ListSecretsRequest) Size() (n int)

func (*ListSecretsRequest) String

func (this *ListSecretsRequest) String() string

func (*ListSecretsRequest) Unmarshal

func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error

func (*ListSecretsRequest) XXX_DiscardUnknown

func (m *ListSecretsRequest) XXX_DiscardUnknown()

func (*ListSecretsRequest) XXX_Marshal

func (m *ListSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSecretsRequest) XXX_Merge

func (m *ListSecretsRequest) XXX_Merge(src proto.Message)

func (*ListSecretsRequest) XXX_Size

func (m *ListSecretsRequest) XXX_Size() int

func (*ListSecretsRequest) XXX_Unmarshal

func (m *ListSecretsRequest) XXX_Unmarshal(b []byte) error

type ListSecretsRequest_Filters

type ListSecretsRequest_Filters struct {
	Names        []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes   []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	NamePrefixes []string          `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
}

func (*ListSecretsRequest_Filters) Copy

func (*ListSecretsRequest_Filters) CopyFrom

func (m *ListSecretsRequest_Filters) CopyFrom(src interface{})

func (*ListSecretsRequest_Filters) Descriptor

func (*ListSecretsRequest_Filters) Descriptor() ([]byte, []int)

func (*ListSecretsRequest_Filters) Marshal

func (m *ListSecretsRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListSecretsRequest_Filters) MarshalTo

func (m *ListSecretsRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListSecretsRequest_Filters) MarshalToSizedBuffer

func (m *ListSecretsRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListSecretsRequest_Filters) ProtoMessage

func (*ListSecretsRequest_Filters) ProtoMessage()

func (*ListSecretsRequest_Filters) Reset

func (m *ListSecretsRequest_Filters) Reset()

func (*ListSecretsRequest_Filters) Size

func (m *ListSecretsRequest_Filters) Size() (n int)

func (*ListSecretsRequest_Filters) String

func (this *ListSecretsRequest_Filters) String() string

func (*ListSecretsRequest_Filters) Unmarshal

func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListSecretsRequest_Filters) XXX_DiscardUnknown

func (m *ListSecretsRequest_Filters) XXX_DiscardUnknown()

func (*ListSecretsRequest_Filters) XXX_Marshal

func (m *ListSecretsRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSecretsRequest_Filters) XXX_Merge

func (m *ListSecretsRequest_Filters) XXX_Merge(src proto.Message)

func (*ListSecretsRequest_Filters) XXX_Size

func (m *ListSecretsRequest_Filters) XXX_Size() int

func (*ListSecretsRequest_Filters) XXX_Unmarshal

func (m *ListSecretsRequest_Filters) XXX_Unmarshal(b []byte) error

type ListSecretsResponse

type ListSecretsResponse struct {
	Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
}

ListSecretResponse contains a list of all the secrets that match the name or name prefix filters provided in `ListSecretRequest`. The `Secret.Spec.Data` field in each `Secret` object should be nil instead of actually containing the secret bytes.

func (*ListSecretsResponse) Copy

func (*ListSecretsResponse) CopyFrom

func (m *ListSecretsResponse) CopyFrom(src interface{})

func (*ListSecretsResponse) Descriptor

func (*ListSecretsResponse) Descriptor() ([]byte, []int)

func (*ListSecretsResponse) Marshal

func (m *ListSecretsResponse) Marshal() (dAtA []byte, err error)

func (*ListSecretsResponse) MarshalTo

func (m *ListSecretsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListSecretsResponse) MarshalToSizedBuffer

func (m *ListSecretsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListSecretsResponse) ProtoMessage

func (*ListSecretsResponse) ProtoMessage()

func (*ListSecretsResponse) Reset

func (m *ListSecretsResponse) Reset()

func (*ListSecretsResponse) Size

func (m *ListSecretsResponse) Size() (n int)

func (*ListSecretsResponse) String

func (this *ListSecretsResponse) String() string

func (*ListSecretsResponse) Unmarshal

func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error

func (*ListSecretsResponse) XXX_DiscardUnknown

func (m *ListSecretsResponse) XXX_DiscardUnknown()

func (*ListSecretsResponse) XXX_Marshal

func (m *ListSecretsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSecretsResponse) XXX_Merge

func (m *ListSecretsResponse) XXX_Merge(src proto.Message)

func (*ListSecretsResponse) XXX_Size

func (m *ListSecretsResponse) XXX_Size() int

func (*ListSecretsResponse) XXX_Unmarshal

func (m *ListSecretsResponse) XXX_Unmarshal(b []byte) error

type ListServiceStatusesRequest

type ListServiceStatusesRequest struct {
	// Services is a list of service IDs to get statuses for.
	Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
}

ListServiceStatusesRequest is a request to get the aggregate status of a service by computing the number of running vs desired tasks. It includes only a service ID.

func (*ListServiceStatusesRequest) Copy

func (*ListServiceStatusesRequest) CopyFrom

func (m *ListServiceStatusesRequest) CopyFrom(src interface{})

func (*ListServiceStatusesRequest) Descriptor

func (*ListServiceStatusesRequest) Descriptor() ([]byte, []int)

func (*ListServiceStatusesRequest) Marshal

func (m *ListServiceStatusesRequest) Marshal() (dAtA []byte, err error)

func (*ListServiceStatusesRequest) MarshalTo

func (m *ListServiceStatusesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListServiceStatusesRequest) MarshalToSizedBuffer

func (m *ListServiceStatusesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServiceStatusesRequest) ProtoMessage

func (*ListServiceStatusesRequest) ProtoMessage()

func (*ListServiceStatusesRequest) Reset

func (m *ListServiceStatusesRequest) Reset()

func (*ListServiceStatusesRequest) Size

func (m *ListServiceStatusesRequest) Size() (n int)

func (*ListServiceStatusesRequest) String

func (this *ListServiceStatusesRequest) String() string

func (*ListServiceStatusesRequest) Unmarshal

func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error

func (*ListServiceStatusesRequest) XXX_DiscardUnknown

func (m *ListServiceStatusesRequest) XXX_DiscardUnknown()

func (*ListServiceStatusesRequest) XXX_Marshal

func (m *ListServiceStatusesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServiceStatusesRequest) XXX_Merge

func (m *ListServiceStatusesRequest) XXX_Merge(src proto.Message)

func (*ListServiceStatusesRequest) XXX_Size

func (m *ListServiceStatusesRequest) XXX_Size() int

func (*ListServiceStatusesRequest) XXX_Unmarshal

func (m *ListServiceStatusesRequest) XXX_Unmarshal(b []byte) error

type ListServiceStatusesResponse

type ListServiceStatusesResponse struct {
	Statuses []*ListServiceStatusesResponse_ServiceStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
}

ListServiceStatusesResponse is a response containing the aggregate status of a service, formed by computing the number of running vs desired tasks. The values returned are only valid for the point in time at which the request is made.

func (*ListServiceStatusesResponse) Copy

func (*ListServiceStatusesResponse) CopyFrom

func (m *ListServiceStatusesResponse) CopyFrom(src interface{})

func (*ListServiceStatusesResponse) Descriptor

func (*ListServiceStatusesResponse) Descriptor() ([]byte, []int)

func (*ListServiceStatusesResponse) Marshal

func (m *ListServiceStatusesResponse) Marshal() (dAtA []byte, err error)

func (*ListServiceStatusesResponse) MarshalTo

func (m *ListServiceStatusesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListServiceStatusesResponse) MarshalToSizedBuffer

func (m *ListServiceStatusesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServiceStatusesResponse) ProtoMessage

func (*ListServiceStatusesResponse) ProtoMessage()

func (*ListServiceStatusesResponse) Reset

func (m *ListServiceStatusesResponse) Reset()

func (*ListServiceStatusesResponse) Size

func (m *ListServiceStatusesResponse) Size() (n int)

func (*ListServiceStatusesResponse) String

func (this *ListServiceStatusesResponse) String() string

func (*ListServiceStatusesResponse) Unmarshal

func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error

func (*ListServiceStatusesResponse) XXX_DiscardUnknown

func (m *ListServiceStatusesResponse) XXX_DiscardUnknown()

func (*ListServiceStatusesResponse) XXX_Marshal

func (m *ListServiceStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServiceStatusesResponse) XXX_Merge

func (m *ListServiceStatusesResponse) XXX_Merge(src proto.Message)

func (*ListServiceStatusesResponse) XXX_Size

func (m *ListServiceStatusesResponse) XXX_Size() int

func (*ListServiceStatusesResponse) XXX_Unmarshal

func (m *ListServiceStatusesResponse) XXX_Unmarshal(b []byte) error

type ListServiceStatusesResponse_ServiceStatus

type ListServiceStatusesResponse_ServiceStatus struct {
	// ServiceID is the ID of the service this status describes
	ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// DesiredTasks is the number of tasks desired to be running according to the
	// service definition at request time. It is a uint64 because that is what
	// the replicas field on the service spec is
	DesiredTasks uint64 `protobuf:"varint,2,opt,name=desired_tasks,json=desiredTasks,proto3" json:"desired_tasks,omitempty"`
	// RunningTasks is the number of tasks currently in the Running state at
	// request time. This may be larger than desired tasks if, for example, a
	// service has been scaled down.
	RunningTasks uint64 `protobuf:"varint,3,opt,name=running_tasks,json=runningTasks,proto3" json:"running_tasks,omitempty"`
	// CompletedTasks is the number of tasks in state Completed, if this
	// service is in mode ReplicatedJob or GlobalJob. This must be
	// cross-referenced with the service type, because the default value of 0
	// may mean that a service is not in a Job mode, or it may mean the Job has
	// yet to complete any Tasks.
	CompletedTasks uint64 `protobuf:"varint,4,opt,name=completed_tasks,json=completedTasks,proto3" json:"completed_tasks,omitempty"`
}

func (*ListServiceStatusesResponse_ServiceStatus) Copy

func (*ListServiceStatusesResponse_ServiceStatus) CopyFrom

func (m *ListServiceStatusesResponse_ServiceStatus) CopyFrom(src interface{})

func (*ListServiceStatusesResponse_ServiceStatus) Descriptor

func (*ListServiceStatusesResponse_ServiceStatus) Descriptor() ([]byte, []int)

func (*ListServiceStatusesResponse_ServiceStatus) Marshal

func (m *ListServiceStatusesResponse_ServiceStatus) Marshal() (dAtA []byte, err error)

func (*ListServiceStatusesResponse_ServiceStatus) MarshalTo

func (m *ListServiceStatusesResponse_ServiceStatus) MarshalTo(dAtA []byte) (int, error)

func (*ListServiceStatusesResponse_ServiceStatus) MarshalToSizedBuffer

func (m *ListServiceStatusesResponse_ServiceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServiceStatusesResponse_ServiceStatus) ProtoMessage

func (*ListServiceStatusesResponse_ServiceStatus) Reset

func (*ListServiceStatusesResponse_ServiceStatus) Size

func (*ListServiceStatusesResponse_ServiceStatus) String

func (*ListServiceStatusesResponse_ServiceStatus) Unmarshal

func (*ListServiceStatusesResponse_ServiceStatus) XXX_DiscardUnknown

func (m *ListServiceStatusesResponse_ServiceStatus) XXX_DiscardUnknown()

func (*ListServiceStatusesResponse_ServiceStatus) XXX_Marshal

func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServiceStatusesResponse_ServiceStatus) XXX_Merge

func (*ListServiceStatusesResponse_ServiceStatus) XXX_Size

func (*ListServiceStatusesResponse_ServiceStatus) XXX_Unmarshal

type ListServicesRequest

type ListServicesRequest struct {
	Filters *ListServicesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

func (*ListServicesRequest) Copy

func (*ListServicesRequest) CopyFrom

func (m *ListServicesRequest) CopyFrom(src interface{})

func (*ListServicesRequest) Descriptor

func (*ListServicesRequest) Descriptor() ([]byte, []int)

func (*ListServicesRequest) Marshal

func (m *ListServicesRequest) Marshal() (dAtA []byte, err error)

func (*ListServicesRequest) MarshalTo

func (m *ListServicesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListServicesRequest) MarshalToSizedBuffer

func (m *ListServicesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) Reset

func (m *ListServicesRequest) Reset()

func (*ListServicesRequest) Size

func (m *ListServicesRequest) Size() (n int)

func (*ListServicesRequest) String

func (this *ListServicesRequest) String() string

func (*ListServicesRequest) Unmarshal

func (m *ListServicesRequest) Unmarshal(dAtA []byte) error

func (*ListServicesRequest) XXX_DiscardUnknown

func (m *ListServicesRequest) XXX_DiscardUnknown()

func (*ListServicesRequest) XXX_Marshal

func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServicesRequest) XXX_Merge

func (m *ListServicesRequest) XXX_Merge(src proto.Message)

func (*ListServicesRequest) XXX_Size

func (m *ListServicesRequest) XXX_Size() int

func (*ListServicesRequest) XXX_Unmarshal

func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error

type ListServicesRequest_Filters

type ListServicesRequest_Filters struct {
	Names      []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels     map[string]string `` /* 153-byte string literal not displayed */
	// NamePrefixes matches all objects with the given prefixes
	NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
	Runtimes     []string `protobuf:"bytes,5,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
}

func (*ListServicesRequest_Filters) Copy

func (*ListServicesRequest_Filters) CopyFrom

func (m *ListServicesRequest_Filters) CopyFrom(src interface{})

func (*ListServicesRequest_Filters) Descriptor

func (*ListServicesRequest_Filters) Descriptor() ([]byte, []int)

func (*ListServicesRequest_Filters) Marshal

func (m *ListServicesRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListServicesRequest_Filters) MarshalTo

func (m *ListServicesRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListServicesRequest_Filters) MarshalToSizedBuffer

func (m *ListServicesRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServicesRequest_Filters) ProtoMessage

func (*ListServicesRequest_Filters) ProtoMessage()

func (*ListServicesRequest_Filters) Reset

func (m *ListServicesRequest_Filters) Reset()

func (*ListServicesRequest_Filters) Size

func (m *ListServicesRequest_Filters) Size() (n int)

func (*ListServicesRequest_Filters) String

func (this *ListServicesRequest_Filters) String() string

func (*ListServicesRequest_Filters) Unmarshal

func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListServicesRequest_Filters) XXX_DiscardUnknown

func (m *ListServicesRequest_Filters) XXX_DiscardUnknown()

func (*ListServicesRequest_Filters) XXX_Marshal

func (m *ListServicesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServicesRequest_Filters) XXX_Merge

func (m *ListServicesRequest_Filters) XXX_Merge(src proto.Message)

func (*ListServicesRequest_Filters) XXX_Size

func (m *ListServicesRequest_Filters) XXX_Size() int

func (*ListServicesRequest_Filters) XXX_Unmarshal

func (m *ListServicesRequest_Filters) XXX_Unmarshal(b []byte) error

type ListServicesResponse

type ListServicesResponse struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
}

func (*ListServicesResponse) Copy

func (*ListServicesResponse) CopyFrom

func (m *ListServicesResponse) CopyFrom(src interface{})

func (*ListServicesResponse) Descriptor

func (*ListServicesResponse) Descriptor() ([]byte, []int)

func (*ListServicesResponse) Marshal

func (m *ListServicesResponse) Marshal() (dAtA []byte, err error)

func (*ListServicesResponse) MarshalTo

func (m *ListServicesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListServicesResponse) MarshalToSizedBuffer

func (m *ListServicesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) Reset

func (m *ListServicesResponse) Reset()

func (*ListServicesResponse) Size

func (m *ListServicesResponse) Size() (n int)

func (*ListServicesResponse) String

func (this *ListServicesResponse) String() string

func (*ListServicesResponse) Unmarshal

func (m *ListServicesResponse) Unmarshal(dAtA []byte) error

func (*ListServicesResponse) XXX_DiscardUnknown

func (m *ListServicesResponse) XXX_DiscardUnknown()

func (*ListServicesResponse) XXX_Marshal

func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListServicesResponse) XXX_Merge

func (m *ListServicesResponse) XXX_Merge(src proto.Message)

func (*ListServicesResponse) XXX_Size

func (m *ListServicesResponse) XXX_Size() int

func (*ListServicesResponse) XXX_Unmarshal

func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error

type ListTasksRequest

type ListTasksRequest struct {
	Filters *ListTasksRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

func (*ListTasksRequest) Copy

func (*ListTasksRequest) CopyFrom

func (m *ListTasksRequest) CopyFrom(src interface{})

func (*ListTasksRequest) Descriptor

func (*ListTasksRequest) Descriptor() ([]byte, []int)

func (*ListTasksRequest) Marshal

func (m *ListTasksRequest) Marshal() (dAtA []byte, err error)

func (*ListTasksRequest) MarshalTo

func (m *ListTasksRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListTasksRequest) MarshalToSizedBuffer

func (m *ListTasksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListTasksRequest) ProtoMessage

func (*ListTasksRequest) ProtoMessage()

func (*ListTasksRequest) Reset

func (m *ListTasksRequest) Reset()

func (*ListTasksRequest) Size

func (m *ListTasksRequest) Size() (n int)

func (*ListTasksRequest) String

func (this *ListTasksRequest) String() string

func (*ListTasksRequest) Unmarshal

func (m *ListTasksRequest) Unmarshal(dAtA []byte) error

func (*ListTasksRequest) XXX_DiscardUnknown

func (m *ListTasksRequest) XXX_DiscardUnknown()

func (*ListTasksRequest) XXX_Marshal

func (m *ListTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTasksRequest) XXX_Merge

func (m *ListTasksRequest) XXX_Merge(src proto.Message)

func (*ListTasksRequest) XXX_Size

func (m *ListTasksRequest) XXX_Size() int

func (*ListTasksRequest) XXX_Unmarshal

func (m *ListTasksRequest) XXX_Unmarshal(b []byte) error

type ListTasksRequest_Filters

type ListTasksRequest_Filters struct {
	Names         []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes    []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels        map[string]string `` /* 153-byte string literal not displayed */
	ServiceIDs    []string          `protobuf:"bytes,4,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"`
	NodeIDs       []string          `protobuf:"bytes,5,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	DesiredStates []TaskState       `` /* 135-byte string literal not displayed */
	// NamePrefixes matches all objects with the given prefixes
	NamePrefixes []string `protobuf:"bytes,7,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
	Runtimes     []string `protobuf:"bytes,9,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
	// UpToDate matches tasks that are consistent with the current
	// service definition.
	// Note: this is intended for internal status reporting rather
	// than being exposed to users. It may be removed in the future.
	UpToDate bool `protobuf:"varint,8,opt,name=up_to_date,json=upToDate,proto3" json:"up_to_date,omitempty"`
}

func (*ListTasksRequest_Filters) Copy

func (*ListTasksRequest_Filters) CopyFrom

func (m *ListTasksRequest_Filters) CopyFrom(src interface{})

func (*ListTasksRequest_Filters) Descriptor

func (*ListTasksRequest_Filters) Descriptor() ([]byte, []int)

func (*ListTasksRequest_Filters) Marshal

func (m *ListTasksRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListTasksRequest_Filters) MarshalTo

func (m *ListTasksRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListTasksRequest_Filters) MarshalToSizedBuffer

func (m *ListTasksRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListTasksRequest_Filters) ProtoMessage

func (*ListTasksRequest_Filters) ProtoMessage()

func (*ListTasksRequest_Filters) Reset

func (m *ListTasksRequest_Filters) Reset()

func (*ListTasksRequest_Filters) Size

func (m *ListTasksRequest_Filters) Size() (n int)

func (*ListTasksRequest_Filters) String

func (this *ListTasksRequest_Filters) String() string

func (*ListTasksRequest_Filters) Unmarshal

func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListTasksRequest_Filters) XXX_DiscardUnknown

func (m *ListTasksRequest_Filters) XXX_DiscardUnknown()

func (*ListTasksRequest_Filters) XXX_Marshal

func (m *ListTasksRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTasksRequest_Filters) XXX_Merge

func (m *ListTasksRequest_Filters) XXX_Merge(src proto.Message)

func (*ListTasksRequest_Filters) XXX_Size

func (m *ListTasksRequest_Filters) XXX_Size() int

func (*ListTasksRequest_Filters) XXX_Unmarshal

func (m *ListTasksRequest_Filters) XXX_Unmarshal(b []byte) error

type ListTasksResponse

type ListTasksResponse struct {
	Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
}

func (*ListTasksResponse) Copy

func (*ListTasksResponse) CopyFrom

func (m *ListTasksResponse) CopyFrom(src interface{})

func (*ListTasksResponse) Descriptor

func (*ListTasksResponse) Descriptor() ([]byte, []int)

func (*ListTasksResponse) Marshal

func (m *ListTasksResponse) Marshal() (dAtA []byte, err error)

func (*ListTasksResponse) MarshalTo

func (m *ListTasksResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListTasksResponse) MarshalToSizedBuffer

func (m *ListTasksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListTasksResponse) ProtoMessage

func (*ListTasksResponse) ProtoMessage()

func (*ListTasksResponse) Reset

func (m *ListTasksResponse) Reset()

func (*ListTasksResponse) Size

func (m *ListTasksResponse) Size() (n int)

func (*ListTasksResponse) String

func (this *ListTasksResponse) String() string

func (*ListTasksResponse) Unmarshal

func (m *ListTasksResponse) Unmarshal(dAtA []byte) error

func (*ListTasksResponse) XXX_DiscardUnknown

func (m *ListTasksResponse) XXX_DiscardUnknown()

func (*ListTasksResponse) XXX_Marshal

func (m *ListTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTasksResponse) XXX_Merge

func (m *ListTasksResponse) XXX_Merge(src proto.Message)

func (*ListTasksResponse) XXX_Size

func (m *ListTasksResponse) XXX_Size() int

func (*ListTasksResponse) XXX_Unmarshal

func (m *ListTasksResponse) XXX_Unmarshal(b []byte) error

type ListVolumesRequest

type ListVolumesRequest struct {
	Filters *ListVolumesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"`
}

func (*ListVolumesRequest) Copy

func (*ListVolumesRequest) CopyFrom

func (m *ListVolumesRequest) CopyFrom(src interface{})

func (*ListVolumesRequest) Descriptor

func (*ListVolumesRequest) Descriptor() ([]byte, []int)

func (*ListVolumesRequest) Marshal

func (m *ListVolumesRequest) Marshal() (dAtA []byte, err error)

func (*ListVolumesRequest) MarshalTo

func (m *ListVolumesRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListVolumesRequest) MarshalToSizedBuffer

func (m *ListVolumesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListVolumesRequest) ProtoMessage

func (*ListVolumesRequest) ProtoMessage()

func (*ListVolumesRequest) Reset

func (m *ListVolumesRequest) Reset()

func (*ListVolumesRequest) Size

func (m *ListVolumesRequest) Size() (n int)

func (*ListVolumesRequest) String

func (this *ListVolumesRequest) String() string

func (*ListVolumesRequest) Unmarshal

func (m *ListVolumesRequest) Unmarshal(dAtA []byte) error

func (*ListVolumesRequest) XXX_DiscardUnknown

func (m *ListVolumesRequest) XXX_DiscardUnknown()

func (*ListVolumesRequest) XXX_Marshal

func (m *ListVolumesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListVolumesRequest) XXX_Merge

func (m *ListVolumesRequest) XXX_Merge(src proto.Message)

func (*ListVolumesRequest) XXX_Size

func (m *ListVolumesRequest) XXX_Size() int

func (*ListVolumesRequest) XXX_Unmarshal

func (m *ListVolumesRequest) XXX_Unmarshal(b []byte) error

type ListVolumesRequest_Filters

type ListVolumesRequest_Filters struct {
	Names        []string          `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	IDPrefixes   []string          `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	NamePrefixes []string          `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"`
	Groups       []string          `protobuf:"bytes,5,rep,name=groups,proto3" json:"groups,omitempty"`
	Drivers      []string          `protobuf:"bytes,6,rep,name=drivers,proto3" json:"drivers,omitempty"`
}

func (*ListVolumesRequest_Filters) Copy

func (*ListVolumesRequest_Filters) CopyFrom

func (m *ListVolumesRequest_Filters) CopyFrom(src interface{})

func (*ListVolumesRequest_Filters) Descriptor

func (*ListVolumesRequest_Filters) Descriptor() ([]byte, []int)

func (*ListVolumesRequest_Filters) Marshal

func (m *ListVolumesRequest_Filters) Marshal() (dAtA []byte, err error)

func (*ListVolumesRequest_Filters) MarshalTo

func (m *ListVolumesRequest_Filters) MarshalTo(dAtA []byte) (int, error)

func (*ListVolumesRequest_Filters) MarshalToSizedBuffer

func (m *ListVolumesRequest_Filters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListVolumesRequest_Filters) ProtoMessage

func (*ListVolumesRequest_Filters) ProtoMessage()

func (*ListVolumesRequest_Filters) Reset

func (m *ListVolumesRequest_Filters) Reset()

func (*ListVolumesRequest_Filters) Size

func (m *ListVolumesRequest_Filters) Size() (n int)

func (*ListVolumesRequest_Filters) String

func (this *ListVolumesRequest_Filters) String() string

func (*ListVolumesRequest_Filters) Unmarshal

func (m *ListVolumesRequest_Filters) Unmarshal(dAtA []byte) error

func (*ListVolumesRequest_Filters) XXX_DiscardUnknown

func (m *ListVolumesRequest_Filters) XXX_DiscardUnknown()

func (*ListVolumesRequest_Filters) XXX_Marshal

func (m *ListVolumesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListVolumesRequest_Filters) XXX_Merge

func (m *ListVolumesRequest_Filters) XXX_Merge(src proto.Message)

func (*ListVolumesRequest_Filters) XXX_Size

func (m *ListVolumesRequest_Filters) XXX_Size() int

func (*ListVolumesRequest_Filters) XXX_Unmarshal

func (m *ListVolumesRequest_Filters) XXX_Unmarshal(b []byte) error

type ListVolumesResponse

type ListVolumesResponse struct {
	Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
}

func (*ListVolumesResponse) Copy

func (*ListVolumesResponse) CopyFrom

func (m *ListVolumesResponse) CopyFrom(src interface{})

func (*ListVolumesResponse) Descriptor

func (*ListVolumesResponse) Descriptor() ([]byte, []int)

func (*ListVolumesResponse) Marshal

func (m *ListVolumesResponse) Marshal() (dAtA []byte, err error)

func (*ListVolumesResponse) MarshalTo

func (m *ListVolumesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListVolumesResponse) MarshalToSizedBuffer

func (m *ListVolumesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListVolumesResponse) ProtoMessage

func (*ListVolumesResponse) ProtoMessage()

func (*ListVolumesResponse) Reset

func (m *ListVolumesResponse) Reset()

func (*ListVolumesResponse) Size

func (m *ListVolumesResponse) Size() (n int)

func (*ListVolumesResponse) String

func (this *ListVolumesResponse) String() string

func (*ListVolumesResponse) Unmarshal

func (m *ListVolumesResponse) Unmarshal(dAtA []byte) error

func (*ListVolumesResponse) XXX_DiscardUnknown

func (m *ListVolumesResponse) XXX_DiscardUnknown()

func (*ListVolumesResponse) XXX_Marshal

func (m *ListVolumesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListVolumesResponse) XXX_Merge

func (m *ListVolumesResponse) XXX_Merge(src proto.Message)

func (*ListVolumesResponse) XXX_Size

func (m *ListVolumesResponse) XXX_Size() int

func (*ListVolumesResponse) XXX_Unmarshal

func (m *ListVolumesResponse) XXX_Unmarshal(b []byte) error

type ListenSubscriptionsRequest

type ListenSubscriptionsRequest struct {
}

ListenSubscriptionsRequest is a placeholder to begin listening for subscriptions.

func (*ListenSubscriptionsRequest) Copy

func (*ListenSubscriptionsRequest) CopyFrom

func (m *ListenSubscriptionsRequest) CopyFrom(src interface{})

func (*ListenSubscriptionsRequest) Descriptor

func (*ListenSubscriptionsRequest) Descriptor() ([]byte, []int)

func (*ListenSubscriptionsRequest) Marshal

func (m *ListenSubscriptionsRequest) Marshal() (dAtA []byte, err error)

func (*ListenSubscriptionsRequest) MarshalTo

func (m *ListenSubscriptionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListenSubscriptionsRequest) MarshalToSizedBuffer

func (m *ListenSubscriptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenSubscriptionsRequest) ProtoMessage

func (*ListenSubscriptionsRequest) ProtoMessage()

func (*ListenSubscriptionsRequest) Reset

func (m *ListenSubscriptionsRequest) Reset()

func (*ListenSubscriptionsRequest) Size

func (m *ListenSubscriptionsRequest) Size() (n int)

func (*ListenSubscriptionsRequest) String

func (this *ListenSubscriptionsRequest) String() string

func (*ListenSubscriptionsRequest) Unmarshal

func (m *ListenSubscriptionsRequest) Unmarshal(dAtA []byte) error

func (*ListenSubscriptionsRequest) XXX_DiscardUnknown

func (m *ListenSubscriptionsRequest) XXX_DiscardUnknown()

func (*ListenSubscriptionsRequest) XXX_Marshal

func (m *ListenSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenSubscriptionsRequest) XXX_Merge

func (m *ListenSubscriptionsRequest) XXX_Merge(src proto.Message)

func (*ListenSubscriptionsRequest) XXX_Size

func (m *ListenSubscriptionsRequest) XXX_Size() int

func (*ListenSubscriptionsRequest) XXX_Unmarshal

func (m *ListenSubscriptionsRequest) XXX_Unmarshal(b []byte) error

type LogAttr

type LogAttr struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

LogAttr is an extra key/value pair that may be have been set by users

func (*LogAttr) Copy

func (m *LogAttr) Copy() *LogAttr

func (*LogAttr) CopyFrom

func (m *LogAttr) CopyFrom(src interface{})

func (*LogAttr) Descriptor

func (*LogAttr) Descriptor() ([]byte, []int)

func (*LogAttr) Marshal

func (m *LogAttr) Marshal() (dAtA []byte, err error)

func (*LogAttr) MarshalTo

func (m *LogAttr) MarshalTo(dAtA []byte) (int, error)

func (*LogAttr) MarshalToSizedBuffer

func (m *LogAttr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogAttr) ProtoMessage

func (*LogAttr) ProtoMessage()

func (*LogAttr) Reset

func (m *LogAttr) Reset()

func (*LogAttr) Size

func (m *LogAttr) Size() (n int)

func (*LogAttr) String

func (this *LogAttr) String() string

func (*LogAttr) Unmarshal

func (m *LogAttr) Unmarshal(dAtA []byte) error

func (*LogAttr) XXX_DiscardUnknown

func (m *LogAttr) XXX_DiscardUnknown()

func (*LogAttr) XXX_Marshal

func (m *LogAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogAttr) XXX_Merge

func (m *LogAttr) XXX_Merge(src proto.Message)

func (*LogAttr) XXX_Size

func (m *LogAttr) XXX_Size() int

func (*LogAttr) XXX_Unmarshal

func (m *LogAttr) XXX_Unmarshal(b []byte) error

type LogBrokerClient

type LogBrokerClient interface {
	// ListenSubscriptions starts a subscription stream for the node. For each
	// message received, the node should attempt to satisfy the subscription.
	//
	// Log messages that match the provided subscription should be sent via
	// PublishLogs.
	ListenSubscriptions(ctx context.Context, in *ListenSubscriptionsRequest, opts ...grpc.CallOption) (LogBroker_ListenSubscriptionsClient, error)
	// PublishLogs receives sets of log messages destined for a single
	// subscription identifier.
	PublishLogs(ctx context.Context, opts ...grpc.CallOption) (LogBroker_PublishLogsClient, error)
}

LogBrokerClient is the client API for LogBroker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLogBrokerClient

func NewLogBrokerClient(cc *grpc.ClientConn) LogBrokerClient

type LogBrokerServer

type LogBrokerServer interface {
	// ListenSubscriptions starts a subscription stream for the node. For each
	// message received, the node should attempt to satisfy the subscription.
	//
	// Log messages that match the provided subscription should be sent via
	// PublishLogs.
	ListenSubscriptions(*ListenSubscriptionsRequest, LogBroker_ListenSubscriptionsServer) error
	// PublishLogs receives sets of log messages destined for a single
	// subscription identifier.
	PublishLogs(LogBroker_PublishLogsServer) error
}

LogBrokerServer is the server API for LogBroker service.

func NewAuthenticatedWrapperLogBrokerServer

func NewAuthenticatedWrapperLogBrokerServer(local LogBrokerServer, authorize func(context.Context, []string) error) LogBrokerServer

func NewRaftProxyLogBrokerServer

func NewRaftProxyLogBrokerServer(local LogBrokerServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) LogBrokerServer

type LogBroker_ListenSubscriptionsClient

type LogBroker_ListenSubscriptionsClient interface {
	Recv() (*SubscriptionMessage, error)
	grpc.ClientStream
}

type LogBroker_ListenSubscriptionsServer

type LogBroker_ListenSubscriptionsServer interface {
	Send(*SubscriptionMessage) error
	grpc.ServerStream
}

type LogBroker_ListenSubscriptionsServerWrapper

type LogBroker_ListenSubscriptionsServerWrapper struct {
	LogBroker_ListenSubscriptionsServer
	// contains filtered or unexported fields
}

func (LogBroker_ListenSubscriptionsServerWrapper) Context

type LogBroker_PublishLogsClient

type LogBroker_PublishLogsClient interface {
	Send(*PublishLogsMessage) error
	CloseAndRecv() (*PublishLogsResponse, error)
	grpc.ClientStream
}

type LogBroker_PublishLogsServer

type LogBroker_PublishLogsServer interface {
	SendAndClose(*PublishLogsResponse) error
	Recv() (*PublishLogsMessage, error)
	grpc.ServerStream
}

type LogBroker_PublishLogsServerWrapper

type LogBroker_PublishLogsServerWrapper struct {
	LogBroker_PublishLogsServer
	// contains filtered or unexported fields
}

func (LogBroker_PublishLogsServerWrapper) Context

type LogContext

type LogContext struct {
	ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	NodeID    string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	TaskID    string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
}

LogContext marks the context from which a log message was generated.

func (*LogContext) Copy

func (m *LogContext) Copy() *LogContext

func (*LogContext) CopyFrom

func (m *LogContext) CopyFrom(src interface{})

func (*LogContext) Descriptor

func (*LogContext) Descriptor() ([]byte, []int)

func (*LogContext) Marshal

func (m *LogContext) Marshal() (dAtA []byte, err error)

func (*LogContext) MarshalTo

func (m *LogContext) MarshalTo(dAtA []byte) (int, error)

func (*LogContext) MarshalToSizedBuffer

func (m *LogContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogContext) ProtoMessage

func (*LogContext) ProtoMessage()

func (*LogContext) Reset

func (m *LogContext) Reset()

func (*LogContext) Size

func (m *LogContext) Size() (n int)

func (*LogContext) String

func (this *LogContext) String() string

func (*LogContext) Unmarshal

func (m *LogContext) Unmarshal(dAtA []byte) error

func (*LogContext) XXX_DiscardUnknown

func (m *LogContext) XXX_DiscardUnknown()

func (*LogContext) XXX_Marshal

func (m *LogContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogContext) XXX_Merge

func (m *LogContext) XXX_Merge(src proto.Message)

func (*LogContext) XXX_Size

func (m *LogContext) XXX_Size() int

func (*LogContext) XXX_Unmarshal

func (m *LogContext) XXX_Unmarshal(b []byte) error

type LogMessage

type LogMessage struct {
	// Context identifies the source of the log message.
	Context LogContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context"`
	// Timestamp is the time at which the message was generated.
	// Note: can't use stdtime because this field is nullable.
	Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Stream identifies the stream of the log message, stdout or stderr.
	Stream LogStream `protobuf:"varint,3,opt,name=stream,proto3,enum=docker.swarmkit.v1.LogStream" json:"stream,omitempty"`
	// Data is the raw log message, as generated by the application.
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// Attrs is a list of key value pairs representing additional log details
	// that may have been returned from the logger
	Attrs []LogAttr `protobuf:"bytes,5,rep,name=attrs,proto3" json:"attrs"`
}

LogMessage

func (*LogMessage) Copy

func (m *LogMessage) Copy() *LogMessage

func (*LogMessage) CopyFrom

func (m *LogMessage) CopyFrom(src interface{})

func (*LogMessage) Descriptor

func (*LogMessage) Descriptor() ([]byte, []int)

func (*LogMessage) Marshal

func (m *LogMessage) Marshal() (dAtA []byte, err error)

func (*LogMessage) MarshalTo

func (m *LogMessage) MarshalTo(dAtA []byte) (int, error)

func (*LogMessage) MarshalToSizedBuffer

func (m *LogMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) Reset

func (m *LogMessage) Reset()

func (*LogMessage) Size

func (m *LogMessage) Size() (n int)

func (*LogMessage) String

func (this *LogMessage) String() string

func (*LogMessage) Unmarshal

func (m *LogMessage) Unmarshal(dAtA []byte) error

func (*LogMessage) XXX_DiscardUnknown

func (m *LogMessage) XXX_DiscardUnknown()

func (*LogMessage) XXX_Marshal

func (m *LogMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogMessage) XXX_Merge

func (m *LogMessage) XXX_Merge(src proto.Message)

func (*LogMessage) XXX_Size

func (m *LogMessage) XXX_Size() int

func (*LogMessage) XXX_Unmarshal

func (m *LogMessage) XXX_Unmarshal(b []byte) error

type LogSelector

type LogSelector struct {
	ServiceIDs []string `protobuf:"bytes,1,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"`
	NodeIDs    []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	TaskIDs    []string `protobuf:"bytes,3,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"`
}

LogSelector will match logs from ANY of the defined parameters.

For the best effect, the client should use the least specific parameter possible. For example, if they want to listen to all the tasks of a service, they should use the service id, rather than specifying the individual tasks.

func (*LogSelector) Copy

func (m *LogSelector) Copy() *LogSelector

func (*LogSelector) CopyFrom

func (m *LogSelector) CopyFrom(src interface{})

func (*LogSelector) Descriptor

func (*LogSelector) Descriptor() ([]byte, []int)

func (*LogSelector) Marshal

func (m *LogSelector) Marshal() (dAtA []byte, err error)

func (*LogSelector) MarshalTo

func (m *LogSelector) MarshalTo(dAtA []byte) (int, error)

func (*LogSelector) MarshalToSizedBuffer

func (m *LogSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogSelector) ProtoMessage

func (*LogSelector) ProtoMessage()

func (*LogSelector) Reset

func (m *LogSelector) Reset()

func (*LogSelector) Size

func (m *LogSelector) Size() (n int)

func (*LogSelector) String

func (this *LogSelector) String() string

func (*LogSelector) Unmarshal

func (m *LogSelector) Unmarshal(dAtA []byte) error

func (*LogSelector) XXX_DiscardUnknown

func (m *LogSelector) XXX_DiscardUnknown()

func (*LogSelector) XXX_Marshal

func (m *LogSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogSelector) XXX_Merge

func (m *LogSelector) XXX_Merge(src proto.Message)

func (*LogSelector) XXX_Size

func (m *LogSelector) XXX_Size() int

func (*LogSelector) XXX_Unmarshal

func (m *LogSelector) XXX_Unmarshal(b []byte) error

type LogStream

type LogStream int32

LogStream defines the stream from which the log message came.

const (
	LogStreamUnknown LogStream = 0
	LogStreamStdout  LogStream = 1
	LogStreamStderr  LogStream = 2
)

func (LogStream) EnumDescriptor

func (LogStream) EnumDescriptor() ([]byte, []int)

func (LogStream) String

func (x LogStream) String() string

type LogSubscriptionOptions

type LogSubscriptionOptions struct {
	// Streams defines which log streams should be sent from the task source.
	// Empty means send all the messages.
	Streams []LogStream `protobuf:"varint,1,rep,name=streams,proto3,enum=docker.swarmkit.v1.LogStream" json:"streams,omitempty"`
	// Follow instructs the publisher to continue sending log messages as they
	// are produced, after satisfying the initial query.
	Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"`
	// Tail defines how many messages relative to the log stream to send when
	// starting the stream.
	//
	// Positive values will skip that number of messages from the start of the
	// stream before publishing.
	//
	// Negative values will specify messages relative to the end of the stream,
	// offset by one. We can say that the last (-n-1) lines are returned when n
	// < 0. As reference, -1 would mean send no log lines (typically used with
	// follow), -2 would return the last log line, -11 would return the last 10
	// and so on.
	//
	// The default value of zero will return all logs.
	//
	// Note that this is very different from the Docker API.
	Tail int64 `protobuf:"varint,3,opt,name=tail,proto3" json:"tail,omitempty"`
	// Since indicates that only log messages produced after this timestamp
	// should be sent.
	// Note: can't use stdtime because this field is nullable.
	Since *types.Timestamp `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"`
}

func (*LogSubscriptionOptions) Copy

func (*LogSubscriptionOptions) CopyFrom

func (m *LogSubscriptionOptions) CopyFrom(src interface{})

func (*LogSubscriptionOptions) Descriptor

func (*LogSubscriptionOptions) Descriptor() ([]byte, []int)

func (*LogSubscriptionOptions) Marshal

func (m *LogSubscriptionOptions) Marshal() (dAtA []byte, err error)

func (*LogSubscriptionOptions) MarshalTo

func (m *LogSubscriptionOptions) MarshalTo(dAtA []byte) (int, error)

func (*LogSubscriptionOptions) MarshalToSizedBuffer

func (m *LogSubscriptionOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogSubscriptionOptions) ProtoMessage

func (*LogSubscriptionOptions) ProtoMessage()

func (*LogSubscriptionOptions) Reset

func (m *LogSubscriptionOptions) Reset()

func (*LogSubscriptionOptions) Size

func (m *LogSubscriptionOptions) Size() (n int)

func (*LogSubscriptionOptions) String

func (this *LogSubscriptionOptions) String() string

func (*LogSubscriptionOptions) Unmarshal

func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error

func (*LogSubscriptionOptions) XXX_DiscardUnknown

func (m *LogSubscriptionOptions) XXX_DiscardUnknown()

func (*LogSubscriptionOptions) XXX_Marshal

func (m *LogSubscriptionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogSubscriptionOptions) XXX_Merge

func (m *LogSubscriptionOptions) XXX_Merge(src proto.Message)

func (*LogSubscriptionOptions) XXX_Size

func (m *LogSubscriptionOptions) XXX_Size() int

func (*LogSubscriptionOptions) XXX_Unmarshal

func (m *LogSubscriptionOptions) XXX_Unmarshal(b []byte) error

type LogsClient

type LogsClient interface {
	// SubscribeLogs starts a subscription with the specified selector and options.
	//
	// The subscription will be distributed to relevant nodes and messages will
	// be collected and sent via the returned stream.
	//
	// The subscription will end with an EOF.
	SubscribeLogs(ctx context.Context, in *SubscribeLogsRequest, opts ...grpc.CallOption) (Logs_SubscribeLogsClient, error)
}

LogsClient is the client API for Logs service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLogsClient

func NewLogsClient(cc *grpc.ClientConn) LogsClient

type LogsServer

type LogsServer interface {
	// SubscribeLogs starts a subscription with the specified selector and options.
	//
	// The subscription will be distributed to relevant nodes and messages will
	// be collected and sent via the returned stream.
	//
	// The subscription will end with an EOF.
	SubscribeLogs(*SubscribeLogsRequest, Logs_SubscribeLogsServer) error
}

LogsServer is the server API for Logs service.

func NewAuthenticatedWrapperLogsServer

func NewAuthenticatedWrapperLogsServer(local LogsServer, authorize func(context.Context, []string) error) LogsServer

func NewRaftProxyLogsServer

func NewRaftProxyLogsServer(local LogsServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) LogsServer

type Logs_SubscribeLogsClient

type Logs_SubscribeLogsClient interface {
	Recv() (*SubscribeLogsMessage, error)
	grpc.ClientStream
}

type Logs_SubscribeLogsServer

type Logs_SubscribeLogsServer interface {
	Send(*SubscribeLogsMessage) error
	grpc.ServerStream
}

type Logs_SubscribeLogsServerWrapper

type Logs_SubscribeLogsServerWrapper struct {
	Logs_SubscribeLogsServer
	// contains filtered or unexported fields
}

func (Logs_SubscribeLogsServerWrapper) Context

type ManagerStatus

type ManagerStatus struct {
	// RaftID specifies the internal ID used by the manager in a raft context, it can never be modified
	// and is used only for information purposes
	RaftID uint64 `protobuf:"varint,1,opt,name=raft_id,json=raftId,proto3" json:"raft_id,omitempty"`
	// Addr is the address advertised to raft.
	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// Leader is set to true if this node is the raft leader.
	Leader bool `protobuf:"varint,3,opt,name=leader,proto3" json:"leader,omitempty"`
	// Reachability specifies whether this node is reachable.
	Reachability RaftMemberStatus_Reachability `` /* 132-byte string literal not displayed */
}

ManagerStatus provides informations about the state of a manager in the cluster.

func (*ManagerStatus) Copy

func (m *ManagerStatus) Copy() *ManagerStatus

func (*ManagerStatus) CopyFrom

func (m *ManagerStatus) CopyFrom(src interface{})

func (*ManagerStatus) Descriptor

func (*ManagerStatus) Descriptor() ([]byte, []int)

func (*ManagerStatus) Marshal

func (m *ManagerStatus) Marshal() (dAtA []byte, err error)

func (*ManagerStatus) MarshalTo

func (m *ManagerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ManagerStatus) MarshalToSizedBuffer

func (m *ManagerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ManagerStatus) ProtoMessage

func (*ManagerStatus) ProtoMessage()

func (*ManagerStatus) Reset

func (m *ManagerStatus) Reset()

func (*ManagerStatus) Size

func (m *ManagerStatus) Size() (n int)

func (*ManagerStatus) String

func (this *ManagerStatus) String() string

func (*ManagerStatus) Unmarshal

func (m *ManagerStatus) Unmarshal(dAtA []byte) error

func (*ManagerStatus) XXX_DiscardUnknown

func (m *ManagerStatus) XXX_DiscardUnknown()

func (*ManagerStatus) XXX_Marshal

func (m *ManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManagerStatus) XXX_Merge

func (m *ManagerStatus) XXX_Merge(src proto.Message)

func (*ManagerStatus) XXX_Size

func (m *ManagerStatus) XXX_Size() int

func (*ManagerStatus) XXX_Unmarshal

func (m *ManagerStatus) XXX_Unmarshal(b []byte) error

type MaybeEncryptedRecord

type MaybeEncryptedRecord struct {
	Algorithm MaybeEncryptedRecord_Algorithm `` /* 127-byte string literal not displayed */
	Data      []byte                         `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Nonce     []byte                         `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*MaybeEncryptedRecord) Copy

func (*MaybeEncryptedRecord) CopyFrom

func (m *MaybeEncryptedRecord) CopyFrom(src interface{})

func (*MaybeEncryptedRecord) Descriptor

func (*MaybeEncryptedRecord) Descriptor() ([]byte, []int)

func (*MaybeEncryptedRecord) Marshal

func (m *MaybeEncryptedRecord) Marshal() (dAtA []byte, err error)

func (*MaybeEncryptedRecord) MarshalTo

func (m *MaybeEncryptedRecord) MarshalTo(dAtA []byte) (int, error)

func (*MaybeEncryptedRecord) MarshalToSizedBuffer

func (m *MaybeEncryptedRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MaybeEncryptedRecord) ProtoMessage

func (*MaybeEncryptedRecord) ProtoMessage()

func (*MaybeEncryptedRecord) Reset

func (m *MaybeEncryptedRecord) Reset()

func (*MaybeEncryptedRecord) Size

func (m *MaybeEncryptedRecord) Size() (n int)

func (*MaybeEncryptedRecord) String

func (this *MaybeEncryptedRecord) String() string

func (*MaybeEncryptedRecord) Unmarshal

func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error

func (*MaybeEncryptedRecord) XXX_DiscardUnknown

func (m *MaybeEncryptedRecord) XXX_DiscardUnknown()

func (*MaybeEncryptedRecord) XXX_Marshal

func (m *MaybeEncryptedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MaybeEncryptedRecord) XXX_Merge

func (m *MaybeEncryptedRecord) XXX_Merge(src proto.Message)

func (*MaybeEncryptedRecord) XXX_Size

func (m *MaybeEncryptedRecord) XXX_Size() int

func (*MaybeEncryptedRecord) XXX_Unmarshal

func (m *MaybeEncryptedRecord) XXX_Unmarshal(b []byte) error

type MaybeEncryptedRecord_Algorithm

type MaybeEncryptedRecord_Algorithm int32
const (
	MaybeEncryptedRecord_NotEncrypted                 MaybeEncryptedRecord_Algorithm = 0
	MaybeEncryptedRecord_NACLSecretboxSalsa20Poly1305 MaybeEncryptedRecord_Algorithm = 1
	MaybeEncryptedRecord_FernetAES128CBC              MaybeEncryptedRecord_Algorithm = 2
)

func (MaybeEncryptedRecord_Algorithm) EnumDescriptor

func (MaybeEncryptedRecord_Algorithm) EnumDescriptor() ([]byte, []int)

func (MaybeEncryptedRecord_Algorithm) String

type Meta

type Meta struct {
	// Version tracks the current version of the object.
	Version Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
	// Object timestamps.
	// Note: can't use stdtime because these fields are nullable.
	CreatedAt *types.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *types.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

Meta contains metadata about objects. Every object contains a meta field.

func (*Meta) Copy

func (m *Meta) Copy() *Meta

func (*Meta) CopyFrom

func (m *Meta) CopyFrom(src interface{})

func (*Meta) Descriptor

func (*Meta) Descriptor() ([]byte, []int)

func (*Meta) Marshal

func (m *Meta) Marshal() (dAtA []byte, err error)

func (*Meta) MarshalTo

func (m *Meta) MarshalTo(dAtA []byte) (int, error)

func (*Meta) MarshalToSizedBuffer

func (m *Meta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) Reset

func (m *Meta) Reset()

func (*Meta) Size

func (m *Meta) Size() (n int)

func (*Meta) String

func (this *Meta) String() string

func (*Meta) Unmarshal

func (m *Meta) Unmarshal(dAtA []byte) error

func (*Meta) XXX_DiscardUnknown

func (m *Meta) XXX_DiscardUnknown()

func (*Meta) XXX_Marshal

func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Meta) XXX_Merge

func (m *Meta) XXX_Merge(src proto.Message)

func (*Meta) XXX_Size

func (m *Meta) XXX_Size() int

func (*Meta) XXX_Unmarshal

func (m *Meta) XXX_Unmarshal(b []byte) error

type Mount

type Mount struct {
	// Type defines the nature of the mount.
	Type Mount_MountType `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.Mount_MountType" json:"type,omitempty"`
	// Source specifies the name of the mount. Depending on mount type, this
	// may be a volume name or a host path, or even ignored.
	//
	// For CSI type mounts, the source is either the name of the volume or the
	// name of the volume group. To specify a volume group, the source should be
	// prefixed with "group:", as in "group:groupname"
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// Target path in container
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// ReadOnly should be set to true if the mount should not be writable.
	ReadOnly    bool                   `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Consistency Mount_MountConsistency `protobuf:"varint,8,opt,name=consistency,proto3,enum=docker.swarmkit.v1.Mount_MountConsistency" json:"consistency,omitempty"`
	// BindOptions configures properties of a bind mount type.
	//
	// For mounts of type bind, the source must be an absolute host path.
	BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions,proto3" json:"bind_options,omitempty"`
	// VolumeOptions configures the properties specific to a volume mount type.
	//
	// For mounts of type volume, the source will be used as the volume name.
	VolumeOptions *Mount_VolumeOptions `protobuf:"bytes,6,opt,name=volume_options,json=volumeOptions,proto3" json:"volume_options,omitempty"`
	// TmpfsOptions allows one to set options for mounting a temporary
	// filesystem.
	//
	// The source field will be ignored when using mounts of type tmpfs.
	TmpfsOptions *Mount_TmpfsOptions `protobuf:"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions,proto3" json:"tmpfs_options,omitempty"`
}

Mount describes volume mounts for a container.

The 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.

func (*Mount) Copy

func (m *Mount) Copy() *Mount

func (*Mount) CopyFrom

func (m *Mount) CopyFrom(src interface{})

func (*Mount) Descriptor

func (*Mount) Descriptor() ([]byte, []int)

func (*Mount) Marshal

func (m *Mount) Marshal() (dAtA []byte, err error)

func (*Mount) MarshalTo

func (m *Mount) MarshalTo(dAtA []byte) (int, error)

func (*Mount) MarshalToSizedBuffer

func (m *Mount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) Reset

func (m *Mount) Reset()

func (*Mount) Size

func (m *Mount) Size() (n int)

func (*Mount) String

func (this *Mount) String() string

func (*Mount) Unmarshal

func (m *Mount) Unmarshal(dAtA []byte) error

func (*Mount) XXX_DiscardUnknown

func (m *Mount) XXX_DiscardUnknown()

func (*Mount) XXX_Marshal

func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mount) XXX_Merge

func (m *Mount) XXX_Merge(src proto.Message)

func (*Mount) XXX_Size

func (m *Mount) XXX_Size() int

func (*Mount) XXX_Unmarshal

func (m *Mount) XXX_Unmarshal(b []byte) error

type Mount_BindOptions

type Mount_BindOptions struct {
	// Propagation mode of mount.
	Propagation Mount_BindOptions_MountPropagation `` /* 135-byte string literal not displayed */
	// allows non-recursive bind-mount, i.e. mount(2) with "bind" rather than "rbind".
	NonRecursive bool `protobuf:"varint,2,opt,name=nonrecursive,proto3" json:"nonrecursive,omitempty"`
	// Create the mount point
	CreateMountpoint bool `protobuf:"varint,3,opt,name=createmountpoint,proto3" json:"createmountpoint,omitempty"`
	// ReadOnlyNonRecursive makes the mount non-recursively read-only, but still leaves the mount recursive
	// (unless NonRecursive is set to true in conjunction).
	ReadOnlyNonRecursive bool `protobuf:"varint,4,opt,name=readonlynonrecursive,proto3" json:"readonlynonrecursive,omitempty"`
	// ReadOnlyForceRecursive raises an error if the mount cannot be made recursively read-only.
	ReadOnlyForceRecursive bool `protobuf:"varint,5,opt,name=readonlyforcerecursive,proto3" json:"readonlyforcerecursive,omitempty"`
}

BindOptions specifies options that are specific to a bind mount.

func (*Mount_BindOptions) Copy

func (*Mount_BindOptions) CopyFrom

func (m *Mount_BindOptions) CopyFrom(src interface{})

func (*Mount_BindOptions) Descriptor

func (*Mount_BindOptions) Descriptor() ([]byte, []int)

func (*Mount_BindOptions) Marshal

func (m *Mount_BindOptions) Marshal() (dAtA []byte, err error)

func (*Mount_BindOptions) MarshalTo

func (m *Mount_BindOptions) MarshalTo(dAtA []byte) (int, error)

func (*Mount_BindOptions) MarshalToSizedBuffer

func (m *Mount_BindOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mount_BindOptions) ProtoMessage

func (*Mount_BindOptions) ProtoMessage()

func (*Mount_BindOptions) Reset

func (m *Mount_BindOptions) Reset()

func (*Mount_BindOptions) Size

func (m *Mount_BindOptions) Size() (n int)

func (*Mount_BindOptions) String

func (this *Mount_BindOptions) String() string

func (*Mount_BindOptions) Unmarshal

func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error

func (*Mount_BindOptions) XXX_DiscardUnknown

func (m *Mount_BindOptions) XXX_DiscardUnknown()

func (*Mount_BindOptions) XXX_Marshal

func (m *Mount_BindOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mount_BindOptions) XXX_Merge

func (m *Mount_BindOptions) XXX_Merge(src proto.Message)

func (*Mount_BindOptions) XXX_Size

func (m *Mount_BindOptions) XXX_Size() int

func (*Mount_BindOptions) XXX_Unmarshal

func (m *Mount_BindOptions) XXX_Unmarshal(b []byte) error

type Mount_BindOptions_MountPropagation

type Mount_BindOptions_MountPropagation int32
const (
	MountPropagationRPrivate Mount_BindOptions_MountPropagation = 0
	MountPropagationPrivate  Mount_BindOptions_MountPropagation = 1
	MountPropagationRShared  Mount_BindOptions_MountPropagation = 2
	MountPropagationShared   Mount_BindOptions_MountPropagation = 3
	MountPropagationRSlave   Mount_BindOptions_MountPropagation = 4
	MountPropagationSlave    Mount_BindOptions_MountPropagation = 5
)

func (Mount_BindOptions_MountPropagation) EnumDescriptor

func (Mount_BindOptions_MountPropagation) EnumDescriptor() ([]byte, []int)

func (Mount_BindOptions_MountPropagation) String

type Mount_MountConsistency

type Mount_MountConsistency int32

Consistency indicates the tolerable level of file system consistency

const (
	MountConsistencyDefault   Mount_MountConsistency = 0
	MountConsistencyFull      Mount_MountConsistency = 1
	MountConsistencyCached    Mount_MountConsistency = 2
	MountConsistencyDelegated Mount_MountConsistency = 3
)

func (Mount_MountConsistency) EnumDescriptor

func (Mount_MountConsistency) EnumDescriptor() ([]byte, []int)

func (Mount_MountConsistency) String

func (x Mount_MountConsistency) String() string

type Mount_MountType

type Mount_MountType int32
const (
	MountTypeBind      Mount_MountType = 0
	MountTypeVolume    Mount_MountType = 1
	MountTypeTmpfs     Mount_MountType = 2
	MountTypeNamedPipe Mount_MountType = 3
	MountTypeCluster   Mount_MountType = 4
)

func (Mount_MountType) EnumDescriptor

func (Mount_MountType) EnumDescriptor() ([]byte, []int)

func (Mount_MountType) String

func (x Mount_MountType) String() string

type Mount_TmpfsOptions

type Mount_TmpfsOptions struct {
	// Size sets the size of the tmpfs, in bytes.
	//
	// This will be converted to an operating system specific value
	// depending on the host. For example, on linux, it will be convered to
	// use a 'k', 'm' or 'g' syntax. BSD, though not widely supported with
	// docker, uses a straight byte value.
	//
	// Percentages are not supported.
	SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// Mode of the tmpfs upon creation
	Mode os.FileMode `protobuf:"varint,2,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"`
	// Options passed to tmpfs mount
	Options string `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
}

func (*Mount_TmpfsOptions) Copy

func (*Mount_TmpfsOptions) CopyFrom

func (m *Mount_TmpfsOptions) CopyFrom(src interface{})

func (*Mount_TmpfsOptions) Descriptor

func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int)

func (*Mount_TmpfsOptions) Marshal

func (m *Mount_TmpfsOptions) Marshal() (dAtA []byte, err error)

func (*Mount_TmpfsOptions) MarshalTo

func (m *Mount_TmpfsOptions) MarshalTo(dAtA []byte) (int, error)

func (*Mount_TmpfsOptions) MarshalToSizedBuffer

func (m *Mount_TmpfsOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mount_TmpfsOptions) ProtoMessage

func (*Mount_TmpfsOptions) ProtoMessage()

func (*Mount_TmpfsOptions) Reset

func (m *Mount_TmpfsOptions) Reset()

func (*Mount_TmpfsOptions) Size

func (m *Mount_TmpfsOptions) Size() (n int)

func (*Mount_TmpfsOptions) String

func (this *Mount_TmpfsOptions) String() string

func (*Mount_TmpfsOptions) Unmarshal

func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error

func (*Mount_TmpfsOptions) XXX_DiscardUnknown

func (m *Mount_TmpfsOptions) XXX_DiscardUnknown()

func (*Mount_TmpfsOptions) XXX_Marshal

func (m *Mount_TmpfsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mount_TmpfsOptions) XXX_Merge

func (m *Mount_TmpfsOptions) XXX_Merge(src proto.Message)

func (*Mount_TmpfsOptions) XXX_Size

func (m *Mount_TmpfsOptions) XXX_Size() int

func (*Mount_TmpfsOptions) XXX_Unmarshal

func (m *Mount_TmpfsOptions) XXX_Unmarshal(b []byte) error

type Mount_VolumeOptions

type Mount_VolumeOptions struct {
	// nocopy prevents automatic copying of data to the volume with data from target
	NoCopy bool `protobuf:"varint,1,opt,name=nocopy,proto3" json:"nocopy,omitempty"`
	// labels to apply to the volume if creating
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// DriverConfig specifies the options that may be passed to the driver
	// if the volume is created.
	//
	// If this is empty, no volume will be created if the volume is missing.
	DriverConfig *Driver `protobuf:"bytes,3,opt,name=driver_config,json=driverConfig,proto3" json:"driver_config,omitempty"`
	// subpath inside the volume to mount.
	Subpath string `protobuf:"bytes,4,opt,name=subpath,proto3" json:"subpath,omitempty"`
}

VolumeOptions contains parameters for mounting the volume.

func (*Mount_VolumeOptions) Copy

func (*Mount_VolumeOptions) CopyFrom

func (m *Mount_VolumeOptions) CopyFrom(src interface{})

func (*Mount_VolumeOptions) Descriptor

func (*Mount_VolumeOptions) Descriptor() ([]byte, []int)

func (*Mount_VolumeOptions) Marshal

func (m *Mount_VolumeOptions) Marshal() (dAtA []byte, err error)

func (*Mount_VolumeOptions) MarshalTo

func (m *Mount_VolumeOptions) MarshalTo(dAtA []byte) (int, error)

func (*Mount_VolumeOptions) MarshalToSizedBuffer

func (m *Mount_VolumeOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mount_VolumeOptions) ProtoMessage

func (*Mount_VolumeOptions) ProtoMessage()

func (*Mount_VolumeOptions) Reset

func (m *Mount_VolumeOptions) Reset()

func (*Mount_VolumeOptions) Size

func (m *Mount_VolumeOptions) Size() (n int)

func (*Mount_VolumeOptions) String

func (this *Mount_VolumeOptions) String() string

func (*Mount_VolumeOptions) Unmarshal

func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error

func (*Mount_VolumeOptions) XXX_DiscardUnknown

func (m *Mount_VolumeOptions) XXX_DiscardUnknown()

func (*Mount_VolumeOptions) XXX_Marshal

func (m *Mount_VolumeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mount_VolumeOptions) XXX_Merge

func (m *Mount_VolumeOptions) XXX_Merge(src proto.Message)

func (*Mount_VolumeOptions) XXX_Size

func (m *Mount_VolumeOptions) XXX_Size() int

func (*Mount_VolumeOptions) XXX_Unmarshal

func (m *Mount_VolumeOptions) XXX_Unmarshal(b []byte) error

type NamedGenericResource

type NamedGenericResource struct {
	Kind  string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

NamedGenericResource represents a "user defined" resource which is defined as a string. "Kind" is used to describe the Kind of a resource (e.g: "GPU", "FPGA", "SSD", ...) Value is used to identify the resource (GPU="UUID-1", FPGA="/dev/sdb5", ...)

func (*NamedGenericResource) Copy

func (*NamedGenericResource) CopyFrom

func (m *NamedGenericResource) CopyFrom(src interface{})

func (*NamedGenericResource) Descriptor

func (*NamedGenericResource) Descriptor() ([]byte, []int)

func (*NamedGenericResource) Marshal

func (m *NamedGenericResource) Marshal() (dAtA []byte, err error)

func (*NamedGenericResource) MarshalTo

func (m *NamedGenericResource) MarshalTo(dAtA []byte) (int, error)

func (*NamedGenericResource) MarshalToSizedBuffer

func (m *NamedGenericResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamedGenericResource) ProtoMessage

func (*NamedGenericResource) ProtoMessage()

func (*NamedGenericResource) Reset

func (m *NamedGenericResource) Reset()

func (*NamedGenericResource) Size

func (m *NamedGenericResource) Size() (n int)

func (*NamedGenericResource) String

func (this *NamedGenericResource) String() string

func (*NamedGenericResource) Unmarshal

func (m *NamedGenericResource) Unmarshal(dAtA []byte) error

func (*NamedGenericResource) XXX_DiscardUnknown

func (m *NamedGenericResource) XXX_DiscardUnknown()

func (*NamedGenericResource) XXX_Marshal

func (m *NamedGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedGenericResource) XXX_Merge

func (m *NamedGenericResource) XXX_Merge(src proto.Message)

func (*NamedGenericResource) XXX_Size

func (m *NamedGenericResource) XXX_Size() int

func (*NamedGenericResource) XXX_Unmarshal

func (m *NamedGenericResource) XXX_Unmarshal(b []byte) error

type Network

type Network struct {
	ID   string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta Meta        `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"`
	Spec NetworkSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"`
	// Driver specific operational state provided by the network driver.
	DriverState *Driver `protobuf:"bytes,4,opt,name=driver_state,json=driverState,proto3" json:"driver_state,omitempty"`
	// Runtime state of IPAM options. This may not reflect the
	// ipam options from NetworkSpec.
	IPAM *IPAMOptions `protobuf:"bytes,5,opt,name=ipam,proto3" json:"ipam,omitempty"`
	// PendingDelete indicates that this network's deletion has been requested.
	// Services, as well as all service-level resources, can only be deleted
	// after all the service's containers have properly shut down
	// when a user requests a deletion, we just flip this flag
	// the deallocator will take it from there
	// PendingDelete indicates that this network's deletion has been requested.
	// Services, as well as all service-level resources, can only be deleted
	// after all of the service's containers have properly shut down.
	// When a user requests a deletion of this network, we just flip this flag
	// the deallocator will take it from there - it will start monitoring
	// the services that still use this service, and proceed to delete
	// this network when all of these services are gone
	PendingDelete bool `protobuf:"varint,6,opt,name=pending_delete,json=pendingDelete,proto3" json:"pending_delete,omitempty"`
	// Extra encodes application-specific information about the live state
	// of the network. The syntax and semantics of the value are dictated by
	// the network allocator implementation.
	Extra *types.Any `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*Network) Copy

func (m *Network) Copy() *Network

func (*Network) CopyFrom

func (m *Network) CopyFrom(src interface{})

func (*Network) CopyStoreObject

func (m *Network) CopyStoreObject() StoreObject

func (*Network) Descriptor

func (*Network) Descriptor() ([]byte, []int)

func (*Network) EventCreate

func (m *Network) EventCreate() Event

func (*Network) EventDelete

func (m *Network) EventDelete() Event

func (*Network) EventUpdate

func (m *Network) EventUpdate(oldObject StoreObject) Event

func (*Network) GetID

func (m *Network) GetID() string

func (*Network) GetMeta

func (m *Network) GetMeta() Meta

func (*Network) Marshal

func (m *Network) Marshal() (dAtA []byte, err error)

func (*Network) MarshalTo

func (m *Network) MarshalTo(dAtA []byte) (int, error)

func (*Network) MarshalToSizedBuffer

func (m *Network) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) Reset

func (m *Network) Reset()

func (*Network) SetMeta

func (m *Network) SetMeta(meta Meta)

func (*Network) Size

func (m *Network) Size() (n int)

func (*Network) String

func (this *Network) String() string

func (*Network) Unmarshal

func (m *Network) Unmarshal(dAtA []byte) error

func (*Network) XXX_DiscardUnknown

func (m *Network) XXX_DiscardUnknown()

func (*Network) XXX_Marshal

func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Network) XXX_Merge

func (m *Network) XXX_Merge(src proto.Message)

func (*Network) XXX_Size

func (m *Network) XXX_Size() int

func (*Network) XXX_Unmarshal

func (m *Network) XXX_Unmarshal(b []byte) error

type NetworkAttachment

type NetworkAttachment struct {
	// Network state as a whole becomes part of the object so that
	// it always is available for use in agents so that agents
	// don't have any other dependency during execution.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// List of IPv4/IPv6 addresses that are assigned to the object
	// as part of getting attached to this network.
	Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// List of aliases by which a task is resolved in a network
	Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// Map of all the driver attachment options for this network
	DriverAttachmentOpts map[string]string `` /* 211-byte string literal not displayed */
}

NetworkAttachment specifies the network parameters of attachment to a single network by an object such as task or node.

func (*NetworkAttachment) Copy

func (*NetworkAttachment) CopyFrom

func (m *NetworkAttachment) CopyFrom(src interface{})

func (*NetworkAttachment) Descriptor

func (*NetworkAttachment) Descriptor() ([]byte, []int)

func (*NetworkAttachment) Marshal

func (m *NetworkAttachment) Marshal() (dAtA []byte, err error)

func (*NetworkAttachment) MarshalTo

func (m *NetworkAttachment) MarshalTo(dAtA []byte) (int, error)

func (*NetworkAttachment) MarshalToSizedBuffer

func (m *NetworkAttachment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkAttachment) ProtoMessage

func (*NetworkAttachment) ProtoMessage()

func (*NetworkAttachment) Reset

func (m *NetworkAttachment) Reset()

func (*NetworkAttachment) Size

func (m *NetworkAttachment) Size() (n int)

func (*NetworkAttachment) String

func (this *NetworkAttachment) String() string

func (*NetworkAttachment) Unmarshal

func (m *NetworkAttachment) Unmarshal(dAtA []byte) error

func (*NetworkAttachment) XXX_DiscardUnknown

func (m *NetworkAttachment) XXX_DiscardUnknown()

func (*NetworkAttachment) XXX_Marshal

func (m *NetworkAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkAttachment) XXX_Merge

func (m *NetworkAttachment) XXX_Merge(src proto.Message)

func (*NetworkAttachment) XXX_Size

func (m *NetworkAttachment) XXX_Size() int

func (*NetworkAttachment) XXX_Unmarshal

func (m *NetworkAttachment) XXX_Unmarshal(b []byte) error

type NetworkAttachmentConfig

type NetworkAttachmentConfig struct {
	// Target specifies the target network for attachment. This value must be a
	// network ID.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// Aliases specifies a list of discoverable alternate names for the service on this Target.
	Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// Addresses specifies a list of ipv4 and ipv6 addresses
	// preferred. If these addresses are not available then the
	// attachment might fail.
	Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// DriverAttachmentOpts is a map of driver attachment options for the network target
	DriverAttachmentOpts map[string]string `` /* 211-byte string literal not displayed */
}

NetworkAttachmentConfig specifies how a service should be attached to a particular network.

For now, this is a simple struct, but this can include future information instructing Swarm on how this service should work on the particular network.

func (*NetworkAttachmentConfig) Copy

func (*NetworkAttachmentConfig) CopyFrom

func (m *NetworkAttachmentConfig) CopyFrom(src interface{})

func (*NetworkAttachmentConfig) Descriptor

func (*NetworkAttachmentConfig) Descriptor() ([]byte, []int)

func (*NetworkAttachmentConfig) Marshal

func (m *NetworkAttachmentConfig) Marshal() (dAtA []byte, err error)

func (*NetworkAttachmentConfig) MarshalTo

func (m *NetworkAttachmentConfig) MarshalTo(dAtA []byte) (int, error)

func (*NetworkAttachmentConfig) MarshalToSizedBuffer

func (m *NetworkAttachmentConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkAttachmentConfig) ProtoMessage

func (*NetworkAttachmentConfig) ProtoMessage()

func (*NetworkAttachmentConfig) Reset

func (m *NetworkAttachmentConfig) Reset()

func (*NetworkAttachmentConfig) Size

func (m *NetworkAttachmentConfig) Size() (n int)

func (*NetworkAttachmentConfig) String

func (this *NetworkAttachmentConfig) String() string

func (*NetworkAttachmentConfig) Unmarshal

func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error

func (*NetworkAttachmentConfig) XXX_DiscardUnknown

func (m *NetworkAttachmentConfig) XXX_DiscardUnknown()

func (*NetworkAttachmentConfig) XXX_Marshal

func (m *NetworkAttachmentConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkAttachmentConfig) XXX_Merge

func (m *NetworkAttachmentConfig) XXX_Merge(src proto.Message)

func (*NetworkAttachmentConfig) XXX_Size

func (m *NetworkAttachmentConfig) XXX_Size() int

func (*NetworkAttachmentConfig) XXX_Unmarshal

func (m *NetworkAttachmentConfig) XXX_Unmarshal(b []byte) error

type NetworkAttachmentSpec

type NetworkAttachmentSpec struct {
	// ContainerID specifies a unique ID of the container for which
	// this attachment is for.
	ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
}

NetworkAttachmentSpec specifies runtime parameters required to attach a container to a network.

func (*NetworkAttachmentSpec) Copy

func (*NetworkAttachmentSpec) CopyFrom

func (m *NetworkAttachmentSpec) CopyFrom(src interface{})

func (*NetworkAttachmentSpec) Descriptor

func (*NetworkAttachmentSpec) Descriptor() ([]byte, []int)

func (*NetworkAttachmentSpec) Marshal

func (m *NetworkAttachmentSpec) Marshal() (dAtA []byte, err error)

func (*NetworkAttachmentSpec) MarshalTo

func (m *NetworkAttachmentSpec) MarshalTo(dAtA []byte) (int, error)

func (*NetworkAttachmentSpec) MarshalToSizedBuffer

func (m *NetworkAttachmentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkAttachmentSpec) ProtoMessage

func (*NetworkAttachmentSpec) ProtoMessage()

func (*NetworkAttachmentSpec) Reset

func (m *NetworkAttachmentSpec) Reset()

func (*NetworkAttachmentSpec) Size

func (m *NetworkAttachmentSpec) Size() (n int)

func (*NetworkAttachmentSpec) String

func (this *NetworkAttachmentSpec) String() string

func (*NetworkAttachmentSpec) Unmarshal

func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error

func (*NetworkAttachmentSpec) XXX_DiscardUnknown

func (m *NetworkAttachmentSpec) XXX_DiscardUnknown()

func (*NetworkAttachmentSpec) XXX_Marshal

func (m *NetworkAttachmentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkAttachmentSpec) XXX_Merge

func (m *NetworkAttachmentSpec) XXX_Merge(src proto.Message)

func (*NetworkAttachmentSpec) XXX_Size

func (m *NetworkAttachmentSpec) XXX_Size() int

func (*NetworkAttachmentSpec) XXX_Unmarshal

func (m *NetworkAttachmentSpec) XXX_Unmarshal(b []byte) error

type NetworkCheckFunc

type NetworkCheckFunc func(t1, t2 *Network) bool

type NetworkCustomIndexer

type NetworkCustomIndexer struct{}

func (NetworkCustomIndexer) FromArgs

func (indexer NetworkCustomIndexer) FromArgs(args ...interface{}) ([]byte, error)

func (NetworkCustomIndexer) FromObject

func (indexer NetworkCustomIndexer) FromObject(obj interface{}) (bool, [][]byte, error)

func (NetworkCustomIndexer) PrefixFromArgs

func (indexer NetworkCustomIndexer) PrefixFromArgs(args ...interface{}) ([]byte, error)

type NetworkIndexerByID

type NetworkIndexerByID struct{}

func (NetworkIndexerByID) FromArgs

func (indexer NetworkIndexerByID) FromArgs(args ...interface{}) ([]byte, error)

func (NetworkIndexerByID) FromObject

func (indexer NetworkIndexerByID) FromObject(obj interface{}) (bool, []byte, error)

func (NetworkIndexerByID) PrefixFromArgs

func (indexer NetworkIndexerByID) PrefixFromArgs(args ...interface{}) ([]byte, error)

type NetworkIndexerByName

type NetworkIndexerByName struct{}

func (NetworkIndexerByName) FromArgs

func (indexer NetworkIndexerByName) FromArgs(args ...interface{}) ([]byte, error)

func (NetworkIndexerByName) FromObject

func (indexer NetworkIndexerByName) FromObject(obj interface{}) (bool, []byte, error)

func (NetworkIndexerByName) PrefixFromArgs

func (indexer NetworkIndexerByName) PrefixFromArgs(args ...interface{}) ([]byte, error)

type NetworkSpec

type NetworkSpec struct {
	Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"`
	// DriverConfig specific configuration consumed by the network driver.
	DriverConfig *Driver `protobuf:"bytes,2,opt,name=driver_config,json=driverConfig,proto3" json:"driver_config,omitempty"`
	// IPv6Enabled enables support for IPv6 on the network.
	Ipv6Enabled bool `protobuf:"varint,3,opt,name=ipv6_enabled,json=ipv6Enabled,proto3" json:"ipv6_enabled,omitempty"`
	// internal restricts external access to the network. This may be
	// accomplished by disabling the default gateway or through other means.
	Internal bool         `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"`
	IPAM     *IPAMOptions `protobuf:"bytes,5,opt,name=ipam,proto3" json:"ipam,omitempty"`
	// Attachable allows external(to swarm) entities to manually
	// attach to this network. With this flag enabled, external
	// entities such as containers running in an worker node in
	// the cluster can manually attach to this network and access
	// the services attached to this network. If this flag is not
	// enabled(default case) no manual attachment to this network
	// can happen.
	Attachable bool `protobuf:"varint,6,opt,name=attachable,proto3" json:"attachable,omitempty"`
	// Ingress indicates this network will provide the routing-mesh.
	// In older versions, the network providing the routing mesh was
	// swarm internally created only and it was identified by the name
	// "ingress" and the label "com.docker.swarm.internal": "true".
	Ingress bool `protobuf:"varint,7,opt,name=ingress,proto3" json:"ingress,omitempty"`
	// ConfigFrom is the source of the configuration for this network.
	//
	// Types that are valid to be assigned to ConfigFrom:
	//	*NetworkSpec_Network
	ConfigFrom isNetworkSpec_ConfigFrom `protobuf_oneof:"config_from"`
}

NetworkSpec specifies user defined network parameters.

func (*NetworkSpec) Copy

func (m *NetworkSpec) Copy() *NetworkSpec

func (*NetworkSpec) CopyFrom

func (m *NetworkSpec) CopyFrom(src interface{})

func (*NetworkSpec) Descriptor

func (*NetworkSpec) Descriptor() ([]byte, []int)

func (*NetworkSpec) GetConfigFrom

func (m *NetworkSpec) GetConfigFrom() isNetworkSpec_ConfigFrom

func (*NetworkSpec) GetNetwork

func (m *NetworkSpec) GetNetwork() string

func (*NetworkSpec) Marshal

func (m *NetworkSpec) Marshal() (dAtA []byte, err error)

func (*NetworkSpec) MarshalTo

func (m *NetworkSpec) MarshalTo(dAtA []byte) (int, error)

func (*NetworkSpec) MarshalToSizedBuffer

func (m *NetworkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkSpec) ProtoMessage

func (*NetworkSpec) ProtoMessage()

func (*NetworkSpec) Reset

func (m *NetworkSpec) Reset()

func (*NetworkSpec) Size

func (m *NetworkSpec) Size() (n int)

func (*NetworkSpec) String

func (this *NetworkSpec) String() string

func (*NetworkSpec) Unmarshal

func (m *NetworkSpec) Unmarshal(dAtA []byte) error

func (*NetworkSpec) XXX_DiscardUnknown

func (m *NetworkSpec) XXX_DiscardUnknown()

func (*NetworkSpec) XXX_Marshal

func (m *NetworkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSpec) XXX_Merge

func (m *NetworkSpec) XXX_Merge(src proto.Message)

func (*NetworkSpec) XXX_OneofWrappers

func (*NetworkSpec) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*NetworkSpec) XXX_Size

func (m *NetworkSpec) XXX_Size() int

func (*NetworkSpec) XXX_Unmarshal

func (m *NetworkSpec) XXX_Unmarshal(b []byte) error

type NetworkSpec_Network

type NetworkSpec_Network struct {
	Network string `protobuf:"bytes,8,opt,name=network,proto3,oneof" json:"network,omitempty"`
}

func (*NetworkSpec_Network) MarshalTo

func (m *NetworkSpec_Network) MarshalTo(dAtA []byte) (int, error)

func (*NetworkSpec_Network) MarshalToSizedBuffer

func (m *NetworkSpec_Network) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkSpec_Network) Size

func (m *NetworkSpec_Network) Size() (n int)

func (*NetworkSpec_Network) String

func (this *NetworkSpec_Network) String() string

type Node

type Node struct {
	// ID specifies the identity of the node.
	ID   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta Meta   `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"`
	// Spec defines the desired state of the node as specified by the user.
	// The system will honor this and will *never* modify it.
	Spec NodeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"`
	// Description encapsulated the properties of the Node as reported by the
	// agent.
	Description *NodeDescription `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Status provides the current status of the node, as seen by the manager.
	Status NodeStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status"`
	// ManagerStatus provides the current status of the node's manager
	// component, if the node is a manager.
	ManagerStatus *ManagerStatus `protobuf:"bytes,6,opt,name=manager_status,json=managerStatus,proto3" json:"manager_status,omitempty"`
	// DEPRECATED: Use Attachments to find the ingress network
	// The node attachment to the ingress network.
	Attachment *NetworkAttachment `protobuf:"bytes,7,opt,name=attachment,proto3" json:"attachment,omitempty"` // Deprecated: Do not use.
	// Certificate is the TLS certificate issued for the node, if any.
	Certificate Certificate `protobuf:"bytes,8,opt,name=certificate,proto3" json:"certificate"`
	// Role is the *observed* role for this node. It differs from the
	// desired role set in Node.Spec.Role because the role here is only
	// updated after the Raft member list has been reconciled with the
	// desired role from the spec.
	//
	// This field represents the current reconciled state. If an action is
	// to be performed, first verify the role in the cert. This field only
	// shows the privilege level that the CA would currently grant when
	// issuing or renewing the node's certificate.
	Role NodeRole `protobuf:"varint,9,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"`
	// Attachments enumerates the network attachments for the node to set up an
	// endpoint on the node to be used for load balancing. Each overlay
	// network, including ingress network, will have an NetworkAttachment.
	Attachments []*NetworkAttachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// VXLANUDPPort specifies the UDP port for VXLAN traffic.
	// This information is passed from cluster object to individual nodes.
	VXLANUDPPort uint32 `protobuf:"varint,11,opt,name=VXLANUDPPort,proto3" json:"VXLANUDPPort,omitempty"`
}

Node provides the internal node state as seen by the cluster.

func (*Node) Copy

func (m *Node) Copy() *Node

func (*Node) CopyFrom

func (m *Node) CopyFrom(src interface{})

func (*Node) CopyStoreObject

func (m *Node) CopyStoreObject() StoreObject

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) EventCreate

func (m *Node) EventCreate() Event

func (*Node) EventDelete

func (m *Node) EventDelete() Event

func (*Node) EventUpdate

func (m *Node) EventUpdate(oldObject StoreObject) Event

func (*Node) GetID

func (m *Node) GetID() string

func (*Node) GetMeta

func (m *Node) GetMeta() Meta

func (*Node) Marshal

func (m *Node) Marshal() (dAtA []byte, err error)

func (*Node) MarshalTo

func (m *Node) MarshalTo(dAtA []byte) (int, error)

func (*Node) MarshalToSizedBuffer

func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) SetMeta

func (m *Node) SetMeta(meta Meta)

func (*Node) Size

func (m *Node) Size() (n int)

func (*Node) String

func (this *Node) String() string

func (*Node) Unmarshal

func (m *Node) Unmarshal(dAtA []byte) error

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type NodeCAClient

type NodeCAClient interface {
	IssueNodeCertificate(ctx context.Context, in *IssueNodeCertificateRequest, opts ...grpc.CallOption) (*IssueNodeCertificateResponse, error)
	NodeCertificateStatus(ctx context.Context, in *NodeCertificateStatusRequest, opts ...grpc.CallOption) (*NodeCertificateStatusResponse, error)
}

NodeCAClient is the client API for NodeCA service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNodeCAClient

func NewNodeCAClient(cc *grpc.ClientConn) NodeCAClient

type NodeCAServer

type NodeCAServer interface {
	IssueNodeCertificate(context.Context, *IssueNodeCertificateRequest) (*IssueNodeCertificateResponse, error)
	NodeCertificateStatus(context.Context, *NodeCertificateStatusRequest) (*NodeCertificateStatusResponse, error)
}

NodeCAServer is the server API for NodeCA service.

func NewAuthenticatedWrapperNodeCAServer

func NewAuthenticatedWrapperNodeCAServer(local NodeCAServer, authorize func(context.Context, []string) error) NodeCAServer

func NewRaftProxyNodeCAServer

func NewRaftProxyNodeCAServer(local NodeCAServer, connSelector raftselector.ConnProvider, localCtxMod, remoteCtxMod func(context.Context) (context.Context, error)) NodeCAServer

type NodeCSIInfo

type NodeCSIInfo struct {
	// PluginName is the name of the CSI plugin.
	PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
	// NodeID is the ID of the node as reported by the CSI plugin. This will be
	// different from the swarmkit node ID.
	NodeID string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// MaxVolumesPerNode is the maximum number of volumes that may be published
	// to this node.
	MaxVolumesPerNode int64 `protobuf:"varint,3,opt,name=max_volumes_per_node,json=maxVolumesPerNode,proto3" json:"max_volumes_per_node,omitempty"`
	// AccessibleTopology indicates the location of this node in the CSI plugin's
	// topology
	AccessibleTopology *Topology `protobuf:"bytes,4,opt,name=accessible_topology,json=accessibleTopology,proto3" json:"accessible_topology,omitempty"`
}

NodeCSIInfo represents information about a Node returned by calling the NodeGetInfo RPC on the CSI plugin present on the node. There is a separate NodeCSIInfo object for each CSI plugin present.

func (*NodeCSIInfo) Copy

func (m *NodeCSIInfo) Copy() *NodeCSIInfo

func (*NodeCSIInfo) CopyFrom

func (m *NodeCSIInfo) CopyFrom(src interface{})

func (*NodeCSIInfo) Descriptor

func (*NodeCSIInfo) Descriptor() ([]byte, []int)

func (*NodeCSIInfo) Marshal

func (m *NodeCSIInfo) Marshal() (dAtA []byte, err error)

func (*NodeCSIInfo) MarshalTo

func (m *NodeCSIInfo) MarshalTo(dAtA []byte) (int, error)

func (*NodeCSIInfo) MarshalToSizedBuffer

func (m *NodeCSIInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeCSIInfo) ProtoMessage

func (*NodeCSIInfo) ProtoMessage()

func (*NodeCSIInfo) Reset

func (m *NodeCSIInfo) Reset()

func (*NodeCSIInfo) Size

func (m *NodeCSIInfo) Size() (n int)

func (*NodeCSIInfo) String

func (this *NodeCSIInfo) String() string

func (*NodeCSIInfo) Unmarshal

func (m *NodeCSIInfo) Unmarshal(dAtA []byte) error

func (*NodeCSIInfo) XXX_DiscardUnknown

func (m *NodeCSIInfo) XXX_DiscardUnknown()

func (*NodeCSIInfo) XXX_Marshal

func (m *NodeCSIInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeCSIInfo) XXX_Merge

func (m *NodeCSIInfo) XXX_Merge(src proto.Message)

func (*NodeCSIInfo) XXX_Size

func (m *NodeCSIInfo) XXX_Size() int

func (*NodeCSIInfo) XXX_Unmarshal

func (m *NodeCSIInfo) XXX_Unmarshal(b []byte) error

type NodeCertificateStatusRequest

type NodeCertificateStatusRequest struct {
	NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
}

func (*NodeCertificateStatusRequest) Copy

func (*NodeCertificateStatusRequest) CopyFrom

func (m *NodeCertificateStatusRequest) CopyFrom(src interface{})

func (*NodeCertificateStatusRequest) Descriptor

func (*NodeCertificateStatusRequest) Descriptor() ([]byte, []int)

func (*NodeCertificateStatusRequest) Marshal

func (m *NodeCertificateStatusRequest) Marshal() (dAtA []byte, err error)

func (*NodeCertificateStatusRequest) MarshalTo

func (m *NodeCertificateStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*NodeCertificateStatusRequest) MarshalToSizedBuffer

func (m *NodeCertificateStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeCertificateStatusRequest) ProtoMessage

func (*NodeCertificateStatusRequest) ProtoMessage()

func (*NodeCertificateStatusRequest) Reset

func (m *NodeCertificateStatusRequest) Reset()

func (*NodeCertificateStatusRequest) Size

func (m *NodeCertificateStatusRequest) Size() (n int)

func (*NodeCertificateStatusRequest) String

func (this *NodeCertificateStatusRequest) String() string

func (*NodeCertificateStatusRequest) Unmarshal

func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error

func (*NodeCertificateStatusRequest) XXX_DiscardUnknown

func (m *NodeCertificateStatusRequest) XXX_DiscardUnknown()

func (*NodeCertificateStatusRequest) XXX_Marshal

func (m *NodeCertificateStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeCertificateStatusRequest) XXX_Merge

func (m *NodeCertificateStatusRequest) XXX_Merge(src proto.Message)

func (*NodeCertificateStatusRequest) XXX_Size

func (m *NodeCertificateStatusRequest) XXX_Size() int

func (*NodeCertificateStatusRequest) XXX_Unmarshal

func (m *NodeCertificateStatusRequest) XXX_Unmarshal(b []byte) error

type NodeCertificateStatusResponse

type NodeCertificateStatusResponse struct {
	Status      *IssuanceStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Certificate *Certificate    `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
}

func (*NodeCertificateStatusResponse) Copy

func (*NodeCertificateStatusResponse) CopyFrom

func (m *NodeCertificateStatusResponse) CopyFrom(src interface{})

func (*NodeCertificateStatusResponse) Descriptor

func (*NodeCertificateStatusResponse) Descriptor() ([]byte, []int)

func (*NodeCertificateStatusResponse) Marshal

func (m *NodeCertificateStatusResponse) Marshal() (dAtA []byte, err error)

func (*NodeCertificateStatusResponse) MarshalTo

func (m *NodeCertificateStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*NodeCertificateStatusResponse) MarshalToSizedBuffer

func (m *NodeCertificateStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeCertificateStatusResponse) ProtoMessage

func (*NodeCertificateStatusResponse) ProtoMessage()

func (*NodeCertificateStatusResponse) Reset

func (m *NodeCertificateStatusResponse) Reset()

func (*NodeCertificateStatusResponse) Size

func (m *NodeCertificateStatusResponse) Size() (n int)

func (*NodeCertificateStatusResponse) String

func (this *NodeCertificateStatusResponse) String() string

func (*NodeCertificateStatusResponse) Unmarshal

func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error

func (*NodeCertificateStatusResponse) XXX_DiscardUnknown

func (m *NodeCertificateStatusResponse) XXX_DiscardUnknown()

func (*NodeCertificateStatusResponse) XXX_Marshal

func (m *NodeCertificateStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeCertificateStatusResponse) XXX_Merge

func (m *NodeCertificateStatusResponse) XXX_Merge(src proto.Message)

func (*NodeCertificateStatusResponse) XXX_Size

func (m *NodeCertificateStatusResponse) XXX_Size() int

func (*NodeCertificateStatusResponse) XXX_Unmarshal

func (m *NodeCertificateStatusResponse) XXX_Unmarshal(b []byte) error

type NodeCheckFunc

type NodeCheckFunc func(t1, t2 *Node) bool

type NodeCustomIndexer

type NodeCustomIndexer struct{}

func (NodeCustomIndexer) FromArgs

func (indexer NodeCustomIndexer) FromArgs(args ...interface{}) ([]byte, error)

func (NodeCustomIndexer) FromObject

func (indexer NodeCustomIndexer) FromObject(obj interface{}) (bool, [][]byte, error)

func (NodeCustomIndexer) PrefixFromArgs

func (indexer NodeCustomIndexer) PrefixFromArgs(args ...interface{}) ([]byte, error)

type NodeDescription

type NodeDescription struct {
	// Hostname of the node as reported by the agent.
	// This is different from spec.meta.name which is user-defined.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Platform of the node.
	Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	// Total resources on the node.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Information about the Docker Engine on the node.
	Engine *EngineDescription `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
	// Information on the node's TLS setup
	TLSInfo *NodeTLSInfo `protobuf:"bytes,5,opt,name=tls_info,json=tlsInfo,proto3" json:"tls_info,omitempty"`
	// FIPS indicates whether the node has FIPS-enabled
	FIPS    bool           `protobuf:"varint,6,opt,name=fips,proto3" json:"fips,omitempty"`
	CSIInfo []*NodeCSIInfo `protobuf:"bytes,7,rep,name=csi_info,json=csiInfo,proto3" json:"csi_info,omitempty"`
}

func (*NodeDescription) Copy

func (m *NodeDescription) Copy() *NodeDescription

func (*NodeDescription) CopyFrom

func (m *NodeDescription) CopyFrom(src interface{})

func (*NodeDescription) Descriptor

func (*NodeDescription) Descriptor() ([]byte, []int)

func (*NodeDescription) Marshal

func (m *NodeDescription) Marshal() (dAtA []byte, err error)

func (*NodeDescription) MarshalTo

func (m *NodeDescription) MarshalTo(dAtA []byte) (int, error)

func (*NodeDescription) MarshalToSizedBuffer

func (m *NodeDescription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeDescription) ProtoMessage

func (*NodeDescription) ProtoMessage()

func (*NodeDescription) Reset

func (m *NodeDescription) Reset()

func (*NodeDescription) Size

func (m *NodeDescription) Size() (n int)

func (*NodeDescription) String

func (this *NodeDescription) String() string

func (*NodeDescription) Unmarshal

func (m *NodeDescription) Unmarshal(dAtA []byte) error

func (*NodeDescription) XXX_DiscardUnknown

func (m *NodeDescription) XXX_DiscardUnknown()

func (*NodeDescription) XXX_Marshal

func (m *NodeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeDescription) XXX_Merge

func (m *NodeDescription) XXX_Merge(src proto.Message)

func (*NodeDescription) XXX_Size

func (m *NodeDescription) XXX_Size() int

func (*NodeDescription) XXX_Unmarshal

func (m *NodeDescription) XXX_Unmarshal(b []byte) error

type NodeIndexerByID

type NodeIndexerByID struct{}

func (NodeIndexerByID) FromArgs

func (indexer NodeIndexerByID) FromArgs(args ...interface{}) ([]byte, error)

func (NodeIndexerByID) FromObject

func (indexer NodeIndexerByID) FromObject(obj interface{}) (bool, []byte, error)

func (NodeIndexerByID) PrefixFromArgs

func (indexer NodeIndexerByID) PrefixFromArgs(args ...interface{}) ([]byte, error)

type NodeIndexerByName

type NodeIndexerByName struct{}

func (NodeIndexerByName) FromArgs

func (indexer NodeIndexerByName) FromArgs(args ...interface{}) ([]byte, error)

func (NodeIndexerByName) FromObject

func (indexer NodeIndexerByName) FromObject(obj interface{}) (bool, []byte, error)

func (NodeIndexerByName) PrefixFromArgs

func (indexer NodeIndexerByName) PrefixFromArgs(args ...interface{}) ([]byte, error)

type NodeRole

type NodeRole int32
const (
	NodeRoleWorker  NodeRole = 0
	NodeRoleManager NodeRole = 1
)

func (NodeRole) EnumDescriptor

func (NodeRole) EnumDescriptor() ([]byte, []int)

func (NodeRole) String

func (x NodeRole) String() string

type NodeSpec

type NodeSpec struct {
	Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"`
	// DesiredRole defines the role the node should have.
	DesiredRole NodeRole `` /* 128-byte string literal not displayed */
	// Membership controls the admission of the node into the cluster.
	Membership NodeSpec_Membership `protobuf:"varint,3,opt,name=membership,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"membership,omitempty"`
	// Availability allows a user to control the current scheduling status of a
	// node.
	Availability NodeSpec_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability" json:"availability,omitempty"`
}

func (*NodeSpec) Copy

func (m *NodeSpec) Copy() *NodeSpec

func (*NodeSpec) CopyFrom

func (m *NodeSpec) CopyFrom(src interface{})

func (*NodeSpec) Descriptor

func (*NodeSpec) Descriptor() ([]byte, []int)

func (*NodeSpec) Marshal

func (m *NodeSpec) Marshal() (dAtA []byte, err error)

func (*NodeSpec) MarshalTo

func (m *NodeSpec) MarshalTo(dAtA []byte) (int, error)

func (*NodeSpec) MarshalToSizedBuffer

func (m *NodeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeSpec) ProtoMessage

func (*NodeSpec) ProtoMessage()

func (*NodeSpec) Reset

func (m *NodeSpec) Reset()

func (*NodeSpec) Size

func (m *NodeSpec) Size() (n int)

func (*NodeSpec) String

func (this *NodeSpec) String() string

func (*NodeSpec) Unmarshal

func (m *NodeSpec) Unmarshal(dAtA []byte) error

func (*NodeSpec) XXX_DiscardUnknown

func (m *NodeSpec) XXX_DiscardUnknown()

func (*NodeSpec) XXX_Marshal

func (m *NodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeSpec) XXX_Merge

func (m *NodeSpec) XXX_Merge(src proto.Message)

func (*NodeSpec) XXX_Size

func (m *NodeSpec) XXX_Size() int

func (*NodeSpec) XXX_Unmarshal

func (m *NodeSpec) XXX_Unmarshal(b []byte) error

type NodeSpec_Availability

type NodeSpec_Availability int32
const (
	// Active nodes.
	NodeAvailabilityActive NodeSpec_Availability = 0
	// Paused nodes won't be considered by the scheduler, preventing any
	// further task to run on them.
	NodeAvailabilityPause NodeSpec_Availability = 1
	// Drained nodes are paused and any task already running on them will
	// be evicted.
	NodeAvailabilityDrain NodeSpec_Availability = 2
)

func (NodeSpec_Availability) EnumDescriptor

func (NodeSpec_Availability) EnumDescriptor() ([]byte, []int)

func (NodeSpec_Availability) String

func (x NodeSpec_Availability) String() string

type NodeSpec_Membership

type NodeSpec_Membership int32
const (
	NodeMembershipPending  NodeSpec_Membership = 0
	NodeMembershipAccepted NodeSpec_Membership = 1
)

func (NodeSpec_Membership) EnumDescriptor

func (NodeSpec_Membership) EnumDescriptor() ([]byte, []int)

func (NodeSpec_Membership) String

func (x NodeSpec_Membership) String() string

type NodeStatus

type NodeStatus struct {
	State   NodeStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.NodeStatus_State" json:"state,omitempty"`
	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Addr is the node's IP address as observed by the manager
	Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
}

func (*NodeStatus) Copy

func (m *NodeStatus) Copy() *NodeStatus

func (*NodeStatus) CopyFrom

func (m *NodeStatus) CopyFrom(src interface{})

func (*NodeStatus) Descriptor

func (*NodeStatus) Descriptor() ([]byte, []int)

func (*NodeStatus) Marshal

func (m *NodeStatus) Marshal() (dAtA []byte, err error)

func (*NodeStatus) MarshalTo

func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error)

func (*NodeStatus) MarshalToSizedBuffer

func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeStatus) ProtoMessage

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) Reset

func (m *NodeStatus) Reset()

func (*NodeStatus) Size

func (m *NodeStatus) Size() (n int)

func (*NodeStatus) String

func (this *NodeStatus) String() string

func (*NodeStatus) Unmarshal

func (m *NodeStatus) Unmarshal(dAtA []byte) error

func (*NodeStatus) XXX_DiscardUnknown

func (m *NodeStatus) XXX_DiscardUnknown()

func (*NodeStatus) XXX_Marshal

func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeStatus) XXX_Merge

func (m *NodeStatus) XXX_Merge(src proto.Message)

func (*NodeStatus) XXX_Size

func (m *NodeStatus) XXX_Size() int

func (*NodeStatus) XXX_Unmarshal

func (m *NodeStatus) XXX_Unmarshal(b []byte) error

type NodeStatus_State

type NodeStatus_State int32

TODO(aluzzardi) These should be using `gogoproto.enumvalue_customname`.

const (
	// Unknown indicates the node state cannot be resolved.
	NodeStatus_UNKNOWN NodeStatus_State = 0
	// Down indicates the node is down.
	NodeStatus_DOWN NodeStatus_State = 1
	// Ready indicates the node is ready to accept tasks.
	NodeStatus_READY NodeStatus_State = 2
	// Disconnected indicates the node is currently trying to find new manager.
	NodeStatus_DISCONNECTED NodeStatus_State = 3
)

func (NodeStatus_State) EnumDescriptor

func (NodeStatus_State) EnumDescriptor() ([]byte, []int)

func (NodeStatus_State) String

func (x NodeStatus_State) String() string

type NodeTLSInfo

type NodeTLSInfo struct {
	// Information about which root certs the node trusts
	TrustRoot []byte `protobuf:"bytes,1,opt,name=trust_root,json=trustRoot,proto3" json:"trust_root,omitempty"`
	// Information about the node's current TLS certificate
	CertIssuerSubject   []byte `protobuf:"bytes,2,opt,name=cert_issuer_subject,json=certIssuerSubject,proto3" json:"cert_issuer_subject,omitempty"`
	CertIssuerPublicKey []byte `protobuf:"bytes,3,opt,name=cert_issuer_public_key,json=certIssuerPublicKey,proto3" json:"cert_issuer_public_key,omitempty"`
}

func (*NodeTLSInfo) Copy

func (m *NodeTLSInfo) Copy() *NodeTLSInfo

func (*NodeTLSInfo) CopyFrom

func (m *NodeTLSInfo) CopyFrom(src interface{})

func (*NodeTLSInfo) Descriptor

func (*NodeTLSInfo) Descriptor() ([]byte, []int)

func (*NodeTLSInfo) Marshal

func (m *NodeTLSInfo) Marshal() (dAtA []byte, err error)

func (*NodeTLSInfo) MarshalTo

func (m *NodeTLSInfo) MarshalTo(dAtA []byte) (int, error)

func (*NodeTLSInfo) MarshalToSizedBuffer

func (m *NodeTLSInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeTLSInfo) ProtoMessage

func (*NodeTLSInfo) ProtoMessage()

func (*NodeTLSInfo) Reset

func (m *NodeTLSInfo) Reset()

func (*NodeTLSInfo) Size

func (m *NodeTLSInfo) Size() (n int)

func (*NodeTLSInfo) String

func (this *NodeTLSInfo) String() string

func (*NodeTLSInfo) Unmarshal

func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error

func (*NodeTLSInfo) XXX_DiscardUnknown

func (m *NodeTLSInfo) XXX_DiscardUnknown()

func (*NodeTLSInfo) XXX_Marshal

func (m *NodeTLSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeTLSInfo) XXX_Merge

func (m *NodeTLSInfo) XXX_Merge(src proto.Message)

func (*NodeTLSInfo) XXX_Size

func (m *NodeTLSInfo) XXX_Size() int

func (*NodeTLSInfo) XXX_Unmarshal

func (m *NodeTLSInfo) XXX_Unmarshal(b []byte) error

type Object

type Object struct {
	// Types that are valid to be assigned to Object:
	//	*Object_Node
	//	*Object_Service
	//	*Object_Network
	//	*Object_Task
	//	*Object_Cluster
	//	*Object_Secret
	//	*Object_Resource
	//	*Object_Extension
	//	*Object_Config
	//	*Object_Volume
	Object isObject_Object `protobuf_oneof:"Object"`
}

func (*Object) Copy

func (m *Object) Copy() *Object

func (*Object) CopyFrom

func (m *Object) CopyFrom(src interface{})

func (*Object) Descriptor

func (*Object) Descriptor() ([]byte, []int)

func (*Object) GetCluster

func (m *Object) GetCluster() *Cluster

func (*Object) GetConfig

func (m *Object) GetConfig() *Config

func (*Object) GetExtension

func (m *Object) GetExtension() *Extension

func (*Object) GetNetwork

func (m *Object) GetNetwork() *Network

func (*Object) GetNode

func (m *Object) GetNode() *Node

func (*Object) GetObject

func (m *Object) GetObject() isObject_Object

func (*Object) GetResource

func (m *Object) GetResource() *Resource

func (*Object) GetSecret

func (m *Object) GetSecret() *Secret

func (*Object) GetService

func (m *Object) GetService() *Service

func (*Object) GetTask

func (m *Object) GetTask() *Task

func (*Object) GetVolume

func (m *Object) GetVolume() *Volume

func (*Object) Marshal

func (m *Object) Marshal() (dAtA []byte, err error)

func (*Object) MarshalTo

func (m *Object) MarshalTo(dAtA []byte) (int, error)

func (*Object) MarshalToSizedBuffer

func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) Size

func (m *Object) Size() (n int)

func (*Object) String

func (this *Object) String() string

func (*Object) Unmarshal

func (m *Object) Unmarshal(dAtA []byte) error

func (*Object) XXX_DiscardUnknown

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal

func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object) XXX_Merge

func (m *Object) XXX_Merge(src proto.Message)

func (*Object) XXX_OneofWrappers

func (*Object) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Object) XXX_Size

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal

func (m *Object) XXX_Unmarshal(b []byte) error

type Object_Cluster

type Object_Cluster struct {
	Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,proto3,oneof" json:"cluster,omitempty"`
}

func (*Object_Cluster) MarshalTo

func (m *Object_Cluster) MarshalTo(dAtA []byte) (int, error)

func (*Object_Cluster) MarshalToSizedBuffer

func (m *Object_Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Cluster) Size

func (m *Object_Cluster) Size() (n int)

func (*Object_Cluster) String

func (this *Object_Cluster) String() string

type Object_Config

type Object_Config struct {
	Config *Config `protobuf:"bytes,9,opt,name=config,proto3,oneof" json:"config,omitempty"`
}

func (*Object_Config) MarshalTo

func (m *Object_Config) MarshalTo(dAtA []byte) (int, error)

func (*Object_Config) MarshalToSizedBuffer

func (m *Object_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Config) Size

func (m *Object_Config) Size() (n int)

func (*Object_Config) String

func (this *Object_Config) String() string

type Object_Extension

type Object_Extension struct {
	Extension *Extension `protobuf:"bytes,8,opt,name=extension,proto3,oneof" json:"extension,omitempty"`
}

func (*Object_Extension) MarshalTo

func (m *Object_Extension) MarshalTo(dAtA []byte) (int, error)

func (*Object_Extension) MarshalToSizedBuffer

func (m *Object_Extension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Extension) Size

func (m *Object_Extension) Size() (n int)

func (*Object_Extension) String

func (this *Object_Extension) String() string

type Object_Network

type Object_Network struct {
	Network *Network `protobuf:"bytes,3,opt,name=network,proto3,oneof" json:"network,omitempty"`
}

func (*Object_Network) MarshalTo

func (m *Object_Network) MarshalTo(dAtA []byte) (int, error)

func (*Object_Network) MarshalToSizedBuffer

func (m *Object_Network) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Network) Size

func (m *Object_Network) Size() (n int)

func (*Object_Network) String

func (this *Object_Network) String() string

type Object_Node

type Object_Node struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3,oneof" json:"node,omitempty"`
}

func (*Object_Node) MarshalTo

func (m *Object_Node) MarshalTo(dAtA []byte) (int, error)

func (*Object_Node) MarshalToSizedBuffer

func (m *Object_Node) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Node) Size

func (m *Object_Node) Size() (n int)

func (*Object_Node) String

func (this *Object_Node) String() string

type Object_Resource

type Object_Resource struct {
	Resource *Resource `protobuf:"bytes,7,opt,name=resource,proto3,oneof" json:"resource,omitempty"`
}

func (*Object_Resource) MarshalTo

func (m *Object_Resource) MarshalTo(dAtA []byte) (int, error)

func (*Object_Resource) MarshalToSizedBuffer

func (m *Object_Resource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Resource) Size

func (m *Object_Resource) Size() (n int)

func (*Object_Resource) String

func (this *Object_Resource) String() string

type Object_Secret

type Object_Secret struct {
	Secret *Secret `protobuf:"bytes,6,opt,name=secret,proto3,oneof" json:"secret,omitempty"`
}

func (*Object_Secret) MarshalTo

func (m *Object_Secret) MarshalTo(dAtA []byte) (int, error)

func (*Object_Secret) MarshalToSizedBuffer

func (m *Object_Secret) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Secret) Size

func (m *Object_Secret) Size() (n int)

func (*Object_Secret) String

func (this *Object_Secret) String() string

type Object_Service

type Object_Service struct {
	Service *Service `protobuf:"bytes,2,opt,name=service,proto3,oneof" json:"service,omitempty"`
}

func (*Object_Service) MarshalTo

func (m *Object_Service) MarshalTo(dAtA []byte) (int, error)

func (*Object_Service) MarshalToSizedBuffer

func (m *Object_Service) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Service) Size

func (m *Object_Service) Size() (n int)

func (*Object_Service) String

func (this *Object_Service) String() string

type Object_Task

type Object_Task struct {
	Task *Task `protobuf:"bytes,4,opt,name=task,proto3,oneof" json:"task,omitempty"`
}

func (*Object_Task) MarshalTo

func (m *Object_Task) MarshalTo(dAtA []byte) (int, error)

func (*Object_Task) MarshalToSizedBuffer

func (m *Object_Task) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Task) Size

func (m *Object_Task) Size() (n int)

func (*Object_Task) String

func (this *Object_Task) String() string

type Object_Volume

type Object_Volume struct {
	Volume *Volume `protobuf:"bytes,10,opt,name=volume,proto3,oneof" json:"volume,omitempty"`
}

func (*Object_Volume) MarshalTo

func (m *Object_Volume) MarshalTo(dAtA []byte) (int, error)

func (*Object_Volume) MarshalToSizedBuffer

func (m *Object_Volume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Object_Volume) Size

func (m *Object_Volume) Size() (n int)

func (*Object_Volume) String

func (this *Object_Volume) String() string

type OrchestrationConfig

type OrchestrationConfig struct {
	// TaskHistoryRetentionLimit is the number of historic tasks to keep per instance or
	// node. If negative, never remove completed or failed tasks.
	TaskHistoryRetentionLimit int64 `` /* 141-byte string literal not displayed */
}

OrchestrationConfig defines cluster-level orchestration settings.

func (*OrchestrationConfig) Copy

func (*OrchestrationConfig) CopyFrom

func (m *OrchestrationConfig) CopyFrom(src interface{})

func (*OrchestrationConfig) Descriptor

func (*OrchestrationConfig) Descriptor() ([]byte, []int)

func (*OrchestrationConfig) Marshal

func (m *OrchestrationConfig) Marshal() (dAtA []byte, err error)

func (*OrchestrationConfig) MarshalTo

func (m *OrchestrationConfig) MarshalTo(dAtA []byte) (int, error)

func (*OrchestrationConfig) MarshalToSizedBuffer

func (m *OrchestrationConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrchestrationConfig) ProtoMessage

func (*OrchestrationConfig) ProtoMessage()

func (*OrchestrationConfig) Reset

func (m *OrchestrationConfig) Reset()

func (*OrchestrationConfig) Size

func (m *OrchestrationConfig) Size() (n int)

func (*OrchestrationConfig) String

func (this *OrchestrationConfig) String() string

func (*OrchestrationConfig) Unmarshal

func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error

func (*OrchestrationConfig) XXX_DiscardUnknown

func (m *OrchestrationConfig) XXX_DiscardUnknown()

func (*OrchestrationConfig) XXX_Marshal

func (m *OrchestrationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrchestrationConfig) XXX_Merge

func (m *OrchestrationConfig) XXX_Merge(src proto.Message)

func (*OrchestrationConfig) XXX_Size

func (m *OrchestrationConfig) XXX_Size() int

func (*OrchestrationConfig) XXX_Unmarshal

func (m *OrchestrationConfig) XXX_Unmarshal(b []byte) error

type Peer

type Peer struct {
	NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Addr   string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
}

Peer should be used anywhere where we are describing a remote peer.

func (*Peer) Copy

func (m *Peer) Copy() *Peer

func (*Peer) CopyFrom

func (m *Peer) CopyFrom(src interface{})

func (*Peer) Descriptor

func (*Peer) Descriptor() ([]byte, []int)

func (*Peer) Marshal

func (m *Peer) Marshal() (dAtA []byte, err error)

func (*Peer) MarshalTo

func (m *Peer) MarshalTo(dAtA []byte) (int, error)

func (*Peer) MarshalToSizedBuffer

func (m *Peer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) Size

func (m *Peer) Size() (n int)

func (*Peer) String

func (this *Peer) String() string

func (*Peer) Unmarshal

func (m *Peer) Unmarshal(dAtA []byte) error

func (*Peer) XXX_DiscardUnknown

func (m *Peer) XXX_DiscardUnknown()

func (*Peer) XXX_Marshal

func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peer) XXX_Merge

func (m *Peer) XXX_Merge(src proto.Message)

func (*Peer) XXX_Size

func (m *Peer) XXX_Size() int

func (*Peer) XXX_Unmarshal

func (m *Peer) XXX_Unmarshal(b []byte) error

type Placement

type Placement struct {
	// Constraints specifies a set of requirements a node should meet for a task.
	Constraints []string `protobuf:"bytes,1,rep,name=constraints,proto3" json:"constraints,omitempty"`
	// Preferences provide a way to make the scheduler aware of factors
	// such as topology. They are provided in order from highest to lowest
	// precedence.
	Preferences []*PlacementPreference `protobuf:"bytes,2,rep,name=preferences,proto3" json:"preferences,omitempty"`
	// Platforms stores all the platforms that the image can run on.
	// This field is used in the platform filter for scheduling. If empty,
	// then the platform filter is off, meaning there are no scheduling restrictions.
	Platforms []*Platform `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms,omitempty"`
	// MaxReplicas specifies the limit for maximum number of replicas running on one node.
	MaxReplicas uint64 `protobuf:"varint,4,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"`
}

Placement specifies task distribution constraints.

func (*Placement) Copy

func (m *Placement) Copy() *Placement

func (*Placement) CopyFrom

func (m *Placement) CopyFrom(src interface{})

func (*Placement) Descriptor

func (*Placement) Descriptor() ([]byte, []int)

func (*Placement) Marshal

func (m *Placement) Marshal() (dAtA []byte, err error)

func (*Placement) MarshalTo

func (m *Placement) MarshalTo(dAtA []byte) (int, error)

func (*Placement) MarshalToSizedBuffer

func (m *Placement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Placement) ProtoMessage

func (*Placement) ProtoMessage()

func (*Placement) Reset

func (m *Placement) Reset()

func (*Placement) Size

func (m *Placement) Size() (n int)

func (*Placement) String

func (this *Placement) String() string

func (*Placement) Unmarshal

func (m *Placement) Unmarshal(dAtA []byte) error

func (*Placement) XXX_DiscardUnknown

func (m *Placement) XXX_DiscardUnknown()

func (*Placement) XXX_Marshal

func (m *Placement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Placement) XXX_Merge

func (m *Placement) XXX_Merge(src proto.Message)

func (*Placement) XXX_Size

func (m *Placement) XXX_Size() int

func (*Placement) XXX_Unmarshal

func (m *Placement) XXX_Unmarshal(b []byte) error

type PlacementPreference

type PlacementPreference struct {
	// Types that are valid to be assigned to Preference:
	//	*PlacementPreference_Spread
	Preference isPlacementPreference_Preference `protobuf_oneof:"Preference"`
}

func (*PlacementPreference) Copy

func (*PlacementPreference) CopyFrom

func (m *PlacementPreference) CopyFrom(src interface{})

func (*PlacementPreference) Descriptor

func (*PlacementPreference) Descriptor() ([]byte, []int)

func (*PlacementPreference) GetPreference

func (m *PlacementPreference) GetPreference() isPlacementPreference_Preference

func (*PlacementPreference) GetSpread