From 07efe6a0a7c8de362fe3fcf5201ae50578b34309 Mon Sep 17 00:00:00 2001 From: Drew Erny Date: Fri, 13 Dec 2019 12:16:44 -0600 Subject: [PATCH] Bump swarmkit to 24fb4cfe8af56803640180c5592bf32da732ced2 Bumps the vendoring of github.com/docker/swarmkit to the above commit, which is the current master at commit time. Most notably, this includes a change making the ingress network respect the default address pool. Because of this change, a change to network integration tests was needed. Signed-off-by: Drew Erny --- integration/network/service_test.go | 10 + integration/service/create_test.go | 27 +- vendor.conf | 2 +- .../github.com/docker/swarmkit/api/ca.pb.go | 810 +-- .../docker/swarmkit/api/control.pb.go | 5236 ++++++++++++++--- .../docker/swarmkit/api/dispatcher.pb.go | 961 ++- .../docker/swarmkit/api/health.pb.go | 214 +- .../docker/swarmkit/api/logbroker.pb.go | 870 ++- .../docker/swarmkit/api/objects.pb.go | 1498 +++-- .../github.com/docker/swarmkit/api/raft.pb.go | 1011 +++- .../docker/swarmkit/api/resource.pb.go | 326 +- .../docker/swarmkit/api/snapshot.pb.go | 381 +- .../docker/swarmkit/api/specs.pb.go | 1683 ++++-- .../docker/swarmkit/api/types.pb.go | 4764 +++++++++++---- .../docker/swarmkit/api/watch.pb.go | 958 ++- .../swarmkit/manager/controlapi/node.go | 21 +- .../docker/swarmkit/manager/manager.go | 8 +- .../swarmkit/protobuf/plugin/plugin.pb.go | 344 +- vendor/github.com/docker/swarmkit/vendor.conf | 38 +- 19 files changed, 14646 insertions(+), 4516 deletions(-) diff --git a/integration/network/service_test.go b/integration/network/service_test.go index a4d54dfc72..8942f7f07a 100644 --- a/integration/network/service_test.go +++ b/integration/network/service_test.go @@ -417,6 +417,16 @@ func TestServiceWithDefaultAddressPoolInit(t *testing.T) { assert.NilError(t, err) t.Logf("%s: NetworkInspect: %+v", t.Name(), out) assert.Assert(t, len(out.IPAM.Config) > 0) + // As of docker/swarmkit#2890, the ingress network uses the default address + // pool (whereas before, the subnet for the ingress network was hard-coded. + // This means that the ingress network gets the subnet 20.20.0.0/24, and + // the network we just created gets subnet 20.20.1.0/24. + assert.Equal(t, out.IPAM.Config[0].Subnet, "20.20.1.0/24") + + // Also inspect ingress network and make sure its in the same subnet + out, err = cli.NetworkInspect(ctx, "ingress", types.NetworkInspectOptions{Verbose: true}) + assert.NilError(t, err) + assert.Assert(t, len(out.IPAM.Config) > 0) assert.Equal(t, out.IPAM.Config[0].Subnet, "20.20.0.0/24") err = cli.ServiceRemove(ctx, serviceID) diff --git a/integration/service/create_test.go b/integration/service/create_test.go index b2a0b58a7c..24f73616ac 100644 --- a/integration/service/create_test.go +++ b/integration/service/create_test.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "io/ioutil" + "strings" "testing" "time" @@ -115,9 +116,33 @@ func TestCreateServiceMultipleTimes(t *testing.T) { err = client.ServiceRemove(context.Background(), serviceID2) assert.NilError(t, err) + // we can't just wait on no tasks for the service, counter-intuitively. + // Tasks may briefly exist but not show up, if they are are in the process + // of being deallocated. To avoid this case, we should retry network remove + // a few times, to give tasks time to be deallcoated poll.WaitOn(t, swarm.NoTasksForService(ctx, client, serviceID2), swarm.ServicePoll) - err = client.NetworkRemove(context.Background(), overlayID) + for retry := 0; retry < 5; retry++ { + err = client.NetworkRemove(context.Background(), overlayID) + // TODO(dperny): using strings.Contains for error checking is awful, + // but so is the fact that swarm functions don't return errdefs errors. + // I don't have time at this moment to fix the latter, so I guess I'll + // go with the former. + // + // The full error we're looking for is something like this: + // + // Error response from daemon: rpc error: code = FailedPrecondition desc = network %v is in use by task %v + // + // The safest way to catch this, I think, will be to match on "is in + // use by", as this is an uninterrupted string that best identifies + // this error. + if err == nil || !strings.Contains(err.Error(), "is in use by") { + // if there is no error, or the error isn't this kind of error, + // then we'll break the loop body, and either fail the test or + // continue. + break + } + } assert.NilError(t, err) poll.WaitOn(t, network.IsRemoved(context.Background(), client, overlayID), poll.WithTimeout(1*time.Minute), poll.WithDelay(10*time.Second)) diff --git a/vendor.conf b/vendor.conf index 1d4f4060d3..dd127e53f0 100644 --- a/vendor.conf +++ b/vendor.conf @@ -128,7 +128,7 @@ github.com/containerd/ttrpc 92c8520ef9f86600c650dd540266 github.com/gogo/googleapis d31c731455cb061f42baff3bda55bad0118b126b # v1.2.0 # cluster -github.com/docker/swarmkit 7dded76ec532741c1ad9736cd2bb6d6661f0a386 +github.com/docker/swarmkit 24fb4cfe8af56803640180c5592bf32da732ced2 github.com/gogo/protobuf ba06b47c162d49f2af050fb4c75bcbc86a159d5c # v1.2.1 github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5 # v1.2.0 github.com/cloudflare/cfssl 5d63dbd981b5c408effbb58c442d54761ff94fbd # 1.3.2 diff --git a/vendor/github.com/docker/swarmkit/api/ca.pb.go b/vendor/github.com/docker/swarmkit/api/ca.pb.go index 6f8e35c179..d5a7fd9f4d 100644 --- a/vendor/github.com/docker/swarmkit/api/ca.pb.go +++ b/vendor/github.com/docker/swarmkit/api/ca.pb.go @@ -1,267 +1,27 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: github.com/docker/swarmkit/api/ca.proto -/* - Package api is a generated protocol buffer package. - - It is generated from these files: - github.com/docker/swarmkit/api/ca.proto - github.com/docker/swarmkit/api/control.proto - github.com/docker/swarmkit/api/dispatcher.proto - github.com/docker/swarmkit/api/health.proto - github.com/docker/swarmkit/api/logbroker.proto - github.com/docker/swarmkit/api/objects.proto - github.com/docker/swarmkit/api/raft.proto - github.com/docker/swarmkit/api/resource.proto - github.com/docker/swarmkit/api/snapshot.proto - github.com/docker/swarmkit/api/specs.proto - github.com/docker/swarmkit/api/types.proto - github.com/docker/swarmkit/api/watch.proto - - It has these top-level messages: - NodeCertificateStatusRequest - NodeCertificateStatusResponse - IssueNodeCertificateRequest - IssueNodeCertificateResponse - GetRootCACertificateRequest - GetRootCACertificateResponse - GetUnlockKeyRequest - GetUnlockKeyResponse - GetNodeRequest - GetNodeResponse - ListNodesRequest - ListNodesResponse - UpdateNodeRequest - UpdateNodeResponse - RemoveNodeRequest - RemoveNodeResponse - GetTaskRequest - GetTaskResponse - RemoveTaskRequest - RemoveTaskResponse - ListTasksRequest - ListTasksResponse - CreateServiceRequest - CreateServiceResponse - GetServiceRequest - GetServiceResponse - UpdateServiceRequest - UpdateServiceResponse - RemoveServiceRequest - RemoveServiceResponse - ListServicesRequest - ListServicesResponse - ListServiceStatusesRequest - ListServiceStatusesResponse - CreateNetworkRequest - CreateNetworkResponse - GetNetworkRequest - GetNetworkResponse - RemoveNetworkRequest - RemoveNetworkResponse - ListNetworksRequest - ListNetworksResponse - GetClusterRequest - GetClusterResponse - ListClustersRequest - ListClustersResponse - KeyRotation - UpdateClusterRequest - UpdateClusterResponse - GetSecretRequest - GetSecretResponse - UpdateSecretRequest - UpdateSecretResponse - ListSecretsRequest - ListSecretsResponse - CreateSecretRequest - CreateSecretResponse - RemoveSecretRequest - RemoveSecretResponse - GetConfigRequest - GetConfigResponse - UpdateConfigRequest - UpdateConfigResponse - ListConfigsRequest - ListConfigsResponse - CreateConfigRequest - CreateConfigResponse - RemoveConfigRequest - RemoveConfigResponse - CreateExtensionRequest - CreateExtensionResponse - RemoveExtensionRequest - RemoveExtensionResponse - GetExtensionRequest - GetExtensionResponse - CreateResourceRequest - CreateResourceResponse - RemoveResourceRequest - RemoveResourceResponse - UpdateResourceRequest - UpdateResourceResponse - GetResourceRequest - GetResourceResponse - ListResourcesRequest - ListResourcesResponse - SessionRequest - SessionMessage - HeartbeatRequest - HeartbeatResponse - UpdateTaskStatusRequest - UpdateTaskStatusResponse - TasksRequest - TasksMessage - AssignmentsRequest - Assignment - AssignmentChange - AssignmentsMessage - HealthCheckRequest - HealthCheckResponse - LogSubscriptionOptions - LogSelector - LogContext - LogAttr - LogMessage - SubscribeLogsRequest - SubscribeLogsMessage - ListenSubscriptionsRequest - SubscriptionMessage - PublishLogsMessage - PublishLogsResponse - Meta - Node - Service - Endpoint - Task - NetworkAttachment - Network - Cluster - Secret - Config - Resource - Extension - RaftMember - JoinRequest - JoinResponse - LeaveRequest - LeaveResponse - ProcessRaftMessageRequest - ProcessRaftMessageResponse - StreamRaftMessageRequest - StreamRaftMessageResponse - ResolveAddressRequest - ResolveAddressResponse - InternalRaftRequest - StoreAction - AttachNetworkRequest - AttachNetworkResponse - DetachNetworkRequest - DetachNetworkResponse - StoreSnapshot - ClusterSnapshot - Snapshot - NodeSpec - ServiceSpec - ReplicatedService - GlobalService - TaskSpec - ResourceReference - GenericRuntimeSpec - NetworkAttachmentSpec - ContainerSpec - EndpointSpec - NetworkSpec - ClusterSpec - SecretSpec - ConfigSpec - Version - IndexEntry - Annotations - NamedGenericResource - DiscreteGenericResource - GenericResource - Resources - ResourceRequirements - Platform - PluginDescription - EngineDescription - NodeDescription - NodeTLSInfo - RaftMemberStatus - NodeStatus - Image - Mount - RestartPolicy - UpdateConfig - UpdateStatus - ContainerStatus - PortStatus - TaskStatus - NetworkAttachmentConfig - IPAMConfig - PortConfig - Driver - IPAMOptions - Peer - WeightedPeer - IssuanceStatus - AcceptancePolicy - ExternalCA - CAConfig - OrchestrationConfig - TaskDefaults - DispatcherConfig - RaftConfig - EncryptionConfig - SpreadOver - PlacementPreference - Placement - JoinTokens - RootCA - Certificate - EncryptionKey - ManagerStatus - FileTarget - RuntimeTarget - SecretReference - ConfigReference - BlacklistedCertificate - HealthConfig - MaybeEncryptedRecord - RootRotation - Privileges - Object - SelectBySlot - SelectByCustom - SelectBy - WatchRequest - WatchMessage -*/ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -278,22 +38,78 @@ type NodeCertificateStatusRequest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` } -func (m *NodeCertificateStatusRequest) Reset() { *m = NodeCertificateStatusRequest{} } -func (*NodeCertificateStatusRequest) ProtoMessage() {} -func (*NodeCertificateStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{0} } - -type NodeCertificateStatusResponse struct { - Status *IssuanceStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` - Certificate *Certificate `protobuf:"bytes,2,opt,name=certificate" json:"certificate,omitempty"` +func (m *NodeCertificateStatusRequest) Reset() { *m = NodeCertificateStatusRequest{} } +func (*NodeCertificateStatusRequest) ProtoMessage() {} +func (*NodeCertificateStatusRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{0} +} +func (m *NodeCertificateStatusRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeCertificateStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeCertificateStatusRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeCertificateStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeCertificateStatusRequest.Merge(m, src) +} +func (m *NodeCertificateStatusRequest) XXX_Size() int { + return m.Size() +} +func (m *NodeCertificateStatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NodeCertificateStatusRequest.DiscardUnknown(m) } -func (m *NodeCertificateStatusResponse) Reset() { *m = NodeCertificateStatusResponse{} } -func (*NodeCertificateStatusResponse) ProtoMessage() {} -func (*NodeCertificateStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{1} } +var xxx_messageInfo_NodeCertificateStatusRequest proto.InternalMessageInfo + +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 (m *NodeCertificateStatusResponse) Reset() { *m = NodeCertificateStatusResponse{} } +func (*NodeCertificateStatusResponse) ProtoMessage() {} +func (*NodeCertificateStatusResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{1} +} +func (m *NodeCertificateStatusResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeCertificateStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeCertificateStatusResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeCertificateStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeCertificateStatusResponse.Merge(m, src) +} +func (m *NodeCertificateStatusResponse) XXX_Size() int { + return m.Size() +} +func (m *NodeCertificateStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NodeCertificateStatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeCertificateStatusResponse proto.InternalMessageInfo 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"` + 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 @@ -303,49 +119,217 @@ type IssueNodeCertificateRequest struct { Availability NodeSpec_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability" json:"availability,omitempty"` } -func (m *IssueNodeCertificateRequest) Reset() { *m = IssueNodeCertificateRequest{} } -func (*IssueNodeCertificateRequest) ProtoMessage() {} -func (*IssueNodeCertificateRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{2} } +func (m *IssueNodeCertificateRequest) Reset() { *m = IssueNodeCertificateRequest{} } +func (*IssueNodeCertificateRequest) ProtoMessage() {} +func (*IssueNodeCertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{2} +} +func (m *IssueNodeCertificateRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IssueNodeCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IssueNodeCertificateRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IssueNodeCertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssueNodeCertificateRequest.Merge(m, src) +} +func (m *IssueNodeCertificateRequest) XXX_Size() int { + return m.Size() +} +func (m *IssueNodeCertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IssueNodeCertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IssueNodeCertificateRequest proto.InternalMessageInfo type IssueNodeCertificateResponse struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` NodeMembership NodeSpec_Membership `protobuf:"varint,2,opt,name=node_membership,json=nodeMembership,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"node_membership,omitempty"` } -func (m *IssueNodeCertificateResponse) Reset() { *m = IssueNodeCertificateResponse{} } -func (*IssueNodeCertificateResponse) ProtoMessage() {} -func (*IssueNodeCertificateResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{3} } +func (m *IssueNodeCertificateResponse) Reset() { *m = IssueNodeCertificateResponse{} } +func (*IssueNodeCertificateResponse) ProtoMessage() {} +func (*IssueNodeCertificateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{3} +} +func (m *IssueNodeCertificateResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IssueNodeCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IssueNodeCertificateResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IssueNodeCertificateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssueNodeCertificateResponse.Merge(m, src) +} +func (m *IssueNodeCertificateResponse) XXX_Size() int { + return m.Size() +} +func (m *IssueNodeCertificateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IssueNodeCertificateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_IssueNodeCertificateResponse proto.InternalMessageInfo type GetRootCACertificateRequest struct { } -func (m *GetRootCACertificateRequest) Reset() { *m = GetRootCACertificateRequest{} } -func (*GetRootCACertificateRequest) ProtoMessage() {} -func (*GetRootCACertificateRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{4} } +func (m *GetRootCACertificateRequest) Reset() { *m = GetRootCACertificateRequest{} } +func (*GetRootCACertificateRequest) ProtoMessage() {} +func (*GetRootCACertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{4} +} +func (m *GetRootCACertificateRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetRootCACertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetRootCACertificateRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetRootCACertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRootCACertificateRequest.Merge(m, src) +} +func (m *GetRootCACertificateRequest) XXX_Size() int { + return m.Size() +} +func (m *GetRootCACertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRootCACertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRootCACertificateRequest proto.InternalMessageInfo type GetRootCACertificateResponse struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` } -func (m *GetRootCACertificateResponse) Reset() { *m = GetRootCACertificateResponse{} } -func (*GetRootCACertificateResponse) ProtoMessage() {} -func (*GetRootCACertificateResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{5} } +func (m *GetRootCACertificateResponse) Reset() { *m = GetRootCACertificateResponse{} } +func (*GetRootCACertificateResponse) ProtoMessage() {} +func (*GetRootCACertificateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{5} +} +func (m *GetRootCACertificateResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetRootCACertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetRootCACertificateResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetRootCACertificateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRootCACertificateResponse.Merge(m, src) +} +func (m *GetRootCACertificateResponse) XXX_Size() int { + return m.Size() +} +func (m *GetRootCACertificateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetRootCACertificateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRootCACertificateResponse proto.InternalMessageInfo type GetUnlockKeyRequest struct { } -func (m *GetUnlockKeyRequest) Reset() { *m = GetUnlockKeyRequest{} } -func (*GetUnlockKeyRequest) ProtoMessage() {} -func (*GetUnlockKeyRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{6} } +func (m *GetUnlockKeyRequest) Reset() { *m = GetUnlockKeyRequest{} } +func (*GetUnlockKeyRequest) ProtoMessage() {} +func (*GetUnlockKeyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{6} +} +func (m *GetUnlockKeyRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetUnlockKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetUnlockKeyRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetUnlockKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUnlockKeyRequest.Merge(m, src) +} +func (m *GetUnlockKeyRequest) XXX_Size() int { + return m.Size() +} +func (m *GetUnlockKeyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetUnlockKeyRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUnlockKeyRequest proto.InternalMessageInfo 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" json:"version"` + Version Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version"` } -func (m *GetUnlockKeyResponse) Reset() { *m = GetUnlockKeyResponse{} } -func (*GetUnlockKeyResponse) ProtoMessage() {} -func (*GetUnlockKeyResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{7} } +func (m *GetUnlockKeyResponse) Reset() { *m = GetUnlockKeyResponse{} } +func (*GetUnlockKeyResponse) ProtoMessage() {} +func (*GetUnlockKeyResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{7} +} +func (m *GetUnlockKeyResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetUnlockKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetUnlockKeyResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetUnlockKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUnlockKeyResponse.Merge(m, src) +} +func (m *GetUnlockKeyResponse) XXX_Size() int { + return m.Size() +} +func (m *GetUnlockKeyResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetUnlockKeyResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUnlockKeyResponse proto.InternalMessageInfo func init() { proto.RegisterType((*NodeCertificateStatusRequest)(nil), "docker.swarmkit.v1.NodeCertificateStatusRequest") @@ -358,6 +342,55 @@ func init() { proto.RegisterType((*GetUnlockKeyResponse)(nil), "docker.swarmkit.v1.GetUnlockKeyResponse") } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/ca.proto", fileDescriptor_64a8db18191af608) +} + +var fileDescriptor_64a8db18191af608 = []byte{ + // 651 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x4f, 0x13, 0x4f, + 0x14, 0xee, 0x2c, 0xfc, 0xca, 0x8f, 0x47, 0x05, 0x33, 0x42, 0x52, 0x4b, 0xd9, 0x92, 0xd5, 0x04, + 0x34, 0x71, 0x17, 0xaa, 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x32, 0x9f, 0x24, 0xbc, 0x36, 0x6a, 0xad, 0x47, 0xbd, 0x81, + 0xa5, 0xf5, 0x7f, 0x60, 0x9c, 0x6f, 0xa4, 0x7e, 0xfb, 0xe0, 0x44, 0xcf, 0x1d, 0x9d, 0xe8, 0xb9, + 0x77, 0xa1, 0x8e, 0x0e, 0x42, 0x1d, 0x1d, 0x86, 0x3a, 0xfa, 0x15, 0xea, 0xe8, 0xd3, 0xa9, 0x9e, + 0x3b, 0x3c, 0xd5, 0x73, 0x47, 0xa7, 0x7a, 0xae, 0x99, 0x57, 0xaf, 0xf1, 0xfd, 0x3f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0xd2, 0x82, 0x20, 0x1b, 0x73, 0x06, 0x00, 0x00, +} + type authenticatedWrapperCAServer struct { local CAServer authorize func(context.Context, []string) error @@ -435,11 +468,11 @@ func (m *NodeCertificateStatusResponse) CopyFrom(src interface{}) { *m = *o if o.Status != nil { m.Status = &IssuanceStatus{} - deepcopy.Copy(m.Status, o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Status, o.Status) } if o.Certificate != nil { m.Certificate = &Certificate{} - deepcopy.Copy(m.Certificate, o.Certificate) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Certificate, o.Certificate) } } @@ -533,7 +566,7 @@ func (m *GetUnlockKeyResponse) CopyFrom(src interface{}) { m.UnlockKey = make([]byte, len(o.UnlockKey)) copy(m.UnlockKey, o.UnlockKey) } - deepcopy.Copy(&m.Version, &o.Version) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Version, &o.Version) } // Reference imports to suppress errors if they are not otherwise used. @@ -544,8 +577,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for CA service - +// 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. 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 @@ -563,7 +597,7 @@ func NewCAClient(cc *grpc.ClientConn) CAClient { func (c *cAClient) GetRootCACertificate(ctx context.Context, in *GetRootCACertificateRequest, opts ...grpc.CallOption) (*GetRootCACertificateResponse, error) { out := new(GetRootCACertificateResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetRootCACertificate", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetRootCACertificate", in, out, opts...) if err != nil { return nil, err } @@ -572,15 +606,14 @@ func (c *cAClient) GetRootCACertificate(ctx context.Context, in *GetRootCACertif func (c *cAClient) GetUnlockKey(ctx context.Context, in *GetUnlockKeyRequest, opts ...grpc.CallOption) (*GetUnlockKeyResponse, error) { out := new(GetUnlockKeyResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetUnlockKey", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetUnlockKey", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for CA service - +// CAServer is the server API for CA service. type CAServer interface { GetRootCACertificate(context.Context, *GetRootCACertificateRequest) (*GetRootCACertificateResponse, error) // GetUnlockKey returns the current unlock key for the cluster for the role of the client @@ -645,8 +678,9 @@ var _CA_serviceDesc = grpc.ServiceDesc{ Metadata: "github.com/docker/swarmkit/api/ca.proto", } -// Client API for NodeCA service - +// 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. 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) @@ -662,7 +696,7 @@ func NewNodeCAClient(cc *grpc.ClientConn) NodeCAClient { func (c *nodeCAClient) IssueNodeCertificate(ctx context.Context, in *IssueNodeCertificateRequest, opts ...grpc.CallOption) (*IssueNodeCertificateResponse, error) { out := new(IssueNodeCertificateResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/IssueNodeCertificate", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/IssueNodeCertificate", in, out, opts...) if err != nil { return nil, err } @@ -671,15 +705,14 @@ func (c *nodeCAClient) IssueNodeCertificate(ctx context.Context, in *IssueNodeCe func (c *nodeCAClient) NodeCertificateStatus(ctx context.Context, in *NodeCertificateStatusRequest, opts ...grpc.CallOption) (*NodeCertificateStatusResponse, error) { out := new(NodeCertificateStatusResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/NodeCertificateStatus", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/NodeCertificateStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for NodeCA service - +// NodeCAServer is the server API for NodeCA service. type NodeCAServer interface { IssueNodeCertificate(context.Context, *IssueNodeCertificateRequest) (*IssueNodeCertificateResponse, error) NodeCertificateStatus(context.Context, *NodeCertificateStatusRequest) (*NodeCertificateStatusResponse, error) @@ -1260,6 +1293,9 @@ func (p *raftProxyNodeCAServer) NodeCertificateStatus(ctx context.Context, r *No } func (m *NodeCertificateStatusRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -1270,6 +1306,9 @@ func (m *NodeCertificateStatusRequest) Size() (n int) { } func (m *NodeCertificateStatusResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Status != nil { @@ -1284,6 +1323,9 @@ func (m *NodeCertificateStatusResponse) Size() (n int) { } func (m *IssueNodeCertificateRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Role != 0 { @@ -1304,6 +1346,9 @@ func (m *IssueNodeCertificateRequest) Size() (n int) { } func (m *IssueNodeCertificateResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -1317,12 +1362,18 @@ func (m *IssueNodeCertificateResponse) Size() (n int) { } func (m *GetRootCACertificateRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetRootCACertificateResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Certificate) @@ -1333,12 +1384,18 @@ func (m *GetRootCACertificateResponse) Size() (n int) { } func (m *GetUnlockKeyRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetUnlockKeyResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.UnlockKey) @@ -1470,7 +1527,7 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1498,7 +1555,7 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1508,6 +1565,9 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1522,6 +1582,9 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1549,7 +1612,7 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1577,7 +1640,7 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1586,6 +1649,9 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1610,7 +1676,7 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1619,6 +1685,9 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1638,6 +1707,9 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1665,7 +1737,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1693,7 +1765,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -1712,7 +1784,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1721,6 +1793,9 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1743,7 +1818,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1753,6 +1828,9 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1772,7 +1850,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Availability |= (NodeSpec_Availability(b) & 0x7F) << shift + m.Availability |= NodeSpec_Availability(b&0x7F) << shift if b < 0x80 { break } @@ -1786,6 +1864,9 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1813,7 +1894,7 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1841,7 +1922,7 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1851,6 +1932,9 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1870,7 +1954,7 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NodeMembership |= (NodeSpec_Membership(b) & 0x7F) << shift + m.NodeMembership |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -1884,6 +1968,9 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1911,7 +1998,7 @@ func (m *GetRootCACertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1934,6 +2021,9 @@ func (m *GetRootCACertificateRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1961,7 +2051,7 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1989,7 +2079,7 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1998,6 +2088,9 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2015,6 +2108,9 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2042,7 +2138,7 @@ func (m *GetUnlockKeyRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2065,6 +2161,9 @@ func (m *GetUnlockKeyRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2092,7 +2191,7 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2120,7 +2219,7 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2129,6 +2228,9 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2151,7 +2253,7 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2160,6 +2262,9 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2176,6 +2281,9 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2242,10 +2350,13 @@ func skipCa(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthCa } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthCa + } return iNdEx, nil case 3: for { @@ -2274,6 +2385,9 @@ func skipCa(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthCa + } } return iNdEx, nil case 4: @@ -2292,49 +2406,3 @@ var ( ErrInvalidLengthCa = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCa = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/ca.proto", fileDescriptorCa) } - -var fileDescriptorCa = []byte{ - // 638 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xee, 0xba, 0xfd, 0xd3, 0xbf, 0xd3, 0xd0, 0xa2, 0xa5, 0x95, 0x4c, 0x9a, 0x3a, 0x95, 0x39, - 0xb4, 0x20, 0x61, 0xb7, 0x01, 0x09, 0x09, 0x2e, 0x24, 0x41, 0xaa, 0x2a, 0x54, 0x84, 0xb6, 0x82, - 0x6b, 0xe5, 0x38, 0xdb, 0x74, 0x15, 0xc7, 0x6b, 0xbc, 0xeb, 0x42, 0x6e, 0x48, 0x20, 0xde, 0x00, - 0xc1, 0x89, 0x47, 0xe0, 0x39, 0x2a, 0x4e, 0x48, 0x5c, 0x38, 0x55, 0xd4, 0x0f, 0xc0, 0x33, 0x20, - 0xaf, 0x6d, 0x9a, 0xb4, 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1, 0xda, 0xca, 0xba, 0x67, 0x06, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/control.pb.go b/vendor/github.com/docker/swarmkit/api/control.pb.go index 64facf1927..dc66167f97 100644 --- a/vendor/github.com/docker/swarmkit/api/control.pb.go +++ b/vendor/github.com/docker/swarmkit/api/control.pb.go @@ -3,36 +3,39 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf4 "github.com/gogo/protobuf/types" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type UpdateServiceRequest_Rollback int32 const ( @@ -48,6 +51,7 @@ var UpdateServiceRequest_Rollback_name = map[int32]string{ 0: "NONE", 1: "PREVIOUS", } + var UpdateServiceRequest_Rollback_value = map[string]int32{ "NONE": 0, "PREVIOUS": 1, @@ -56,82 +60,277 @@ var UpdateServiceRequest_Rollback_value = map[string]int32{ func (x UpdateServiceRequest_Rollback) String() string { return proto.EnumName(UpdateServiceRequest_Rollback_name, int32(x)) } + func (UpdateServiceRequest_Rollback) EnumDescriptor() ([]byte, []int) { - return fileDescriptorControl, []int{18, 0} + return fileDescriptor_b37401dd08bf8930, []int{18, 0} } type GetNodeRequest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` } -func (m *GetNodeRequest) Reset() { *m = GetNodeRequest{} } -func (*GetNodeRequest) ProtoMessage() {} -func (*GetNodeRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{0} } +func (m *GetNodeRequest) Reset() { *m = GetNodeRequest{} } +func (*GetNodeRequest) ProtoMessage() {} +func (*GetNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{0} +} +func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNodeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNodeRequest.Merge(m, src) +} +func (m *GetNodeRequest) XXX_Size() int { + return m.Size() +} +func (m *GetNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNodeRequest proto.InternalMessageInfo type GetNodeResponse struct { - Node *Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` + Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` } -func (m *GetNodeResponse) Reset() { *m = GetNodeResponse{} } -func (*GetNodeResponse) ProtoMessage() {} -func (*GetNodeResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{1} } +func (m *GetNodeResponse) Reset() { *m = GetNodeResponse{} } +func (*GetNodeResponse) ProtoMessage() {} +func (*GetNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{1} +} +func (m *GetNodeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNodeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNodeResponse.Merge(m, src) +} +func (m *GetNodeResponse) XXX_Size() int { + return m.Size() +} +func (m *GetNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNodeResponse proto.InternalMessageInfo type ListNodesRequest struct { - Filters *ListNodesRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListNodesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListNodesRequest) Reset() { *m = ListNodesRequest{} } -func (*ListNodesRequest) ProtoMessage() {} -func (*ListNodesRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{2} } +func (m *ListNodesRequest) Reset() { *m = ListNodesRequest{} } +func (*ListNodesRequest) ProtoMessage() {} +func (*ListNodesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{2} +} +func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNodesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNodesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodesRequest.Merge(m, src) +} +func (m *ListNodesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListNodesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodesRequest proto.InternalMessageInfo type ListNodesRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` + 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 `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NodeLabels are labels set on the node object on the managers. - NodeLabels map[string]string `protobuf:"bytes,7,rep,name=node_labels,json=nodeLabels" json:"node_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Memberships []NodeSpec_Membership `protobuf:"varint,4,rep,name=memberships,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"memberships,omitempty"` - Roles []NodeRole `protobuf:"varint,5,rep,name=roles,enum=docker.swarmkit.v1.NodeRole" json:"roles,omitempty"` + NodeLabels map[string]string `protobuf:"bytes,7,rep,name=node_labels,json=nodeLabels,proto3" json:"node_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + 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" json:"name_prefixes,omitempty"` + NamePrefixes []string `protobuf:"bytes,6,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListNodesRequest_Filters) Reset() { *m = ListNodesRequest_Filters{} } func (*ListNodesRequest_Filters) ProtoMessage() {} func (*ListNodesRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{2, 0} + return fileDescriptor_b37401dd08bf8930, []int{2, 0} } +func (m *ListNodesRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNodesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNodesRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNodesRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodesRequest_Filters.Merge(m, src) +} +func (m *ListNodesRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListNodesRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodesRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodesRequest_Filters proto.InternalMessageInfo type ListNodesResponse struct { - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` } -func (m *ListNodesResponse) Reset() { *m = ListNodesResponse{} } -func (*ListNodesResponse) ProtoMessage() {} -func (*ListNodesResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{3} } +func (m *ListNodesResponse) Reset() { *m = ListNodesResponse{} } +func (*ListNodesResponse) ProtoMessage() {} +func (*ListNodesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{3} +} +func (m *ListNodesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNodesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNodesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodesResponse.Merge(m, src) +} +func (m *ListNodesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListNodesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodesResponse proto.InternalMessageInfo // UpdateNodeRequest requests an update to the specified node. This may be used // to request a new availability for a node, such as PAUSE. Invalid updates // will be denied and cause an error. type UpdateNodeRequest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` - NodeVersion *Version `protobuf:"bytes,2,opt,name=node_version,json=nodeVersion" json:"node_version,omitempty"` - Spec *NodeSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + NodeVersion *Version `protobuf:"bytes,2,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"` + Spec *NodeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *UpdateNodeRequest) Reset() { *m = UpdateNodeRequest{} } -func (*UpdateNodeRequest) ProtoMessage() {} -func (*UpdateNodeRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{4} } +func (m *UpdateNodeRequest) Reset() { *m = UpdateNodeRequest{} } +func (*UpdateNodeRequest) ProtoMessage() {} +func (*UpdateNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{4} +} +func (m *UpdateNodeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateNodeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNodeRequest.Merge(m, src) +} +func (m *UpdateNodeRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateNodeRequest proto.InternalMessageInfo type UpdateNodeResponse struct { - Node *Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` + Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` } -func (m *UpdateNodeResponse) Reset() { *m = UpdateNodeResponse{} } -func (*UpdateNodeResponse) ProtoMessage() {} -func (*UpdateNodeResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{5} } +func (m *UpdateNodeResponse) Reset() { *m = UpdateNodeResponse{} } +func (*UpdateNodeResponse) ProtoMessage() {} +func (*UpdateNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{5} +} +func (m *UpdateNodeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateNodeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNodeResponse.Merge(m, src) +} +func (m *UpdateNodeResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateNodeResponse proto.InternalMessageInfo // RemoveNodeRequest requests to delete the specified node from store. type RemoveNodeRequest struct { @@ -139,66 +338,262 @@ type RemoveNodeRequest struct { Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` } -func (m *RemoveNodeRequest) Reset() { *m = RemoveNodeRequest{} } -func (*RemoveNodeRequest) ProtoMessage() {} -func (*RemoveNodeRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{6} } +func (m *RemoveNodeRequest) Reset() { *m = RemoveNodeRequest{} } +func (*RemoveNodeRequest) ProtoMessage() {} +func (*RemoveNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{6} +} +func (m *RemoveNodeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNodeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNodeRequest.Merge(m, src) +} +func (m *RemoveNodeRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNodeRequest proto.InternalMessageInfo type RemoveNodeResponse struct { } -func (m *RemoveNodeResponse) Reset() { *m = RemoveNodeResponse{} } -func (*RemoveNodeResponse) ProtoMessage() {} -func (*RemoveNodeResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{7} } +func (m *RemoveNodeResponse) Reset() { *m = RemoveNodeResponse{} } +func (*RemoveNodeResponse) ProtoMessage() {} +func (*RemoveNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{7} +} +func (m *RemoveNodeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNodeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNodeResponse.Merge(m, src) +} +func (m *RemoveNodeResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNodeResponse proto.InternalMessageInfo type GetTaskRequest struct { TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` } -func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } -func (*GetTaskRequest) ProtoMessage() {} -func (*GetTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{8} } - -type GetTaskResponse struct { - Task *Task `protobuf:"bytes,1,opt,name=task" json:"task,omitempty"` +func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } +func (*GetTaskRequest) ProtoMessage() {} +func (*GetTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{8} +} +func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskRequest.Merge(m, src) +} +func (m *GetTaskRequest) XXX_Size() int { + return m.Size() +} +func (m *GetTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskRequest.DiscardUnknown(m) } -func (m *GetTaskResponse) Reset() { *m = GetTaskResponse{} } -func (*GetTaskResponse) ProtoMessage() {} -func (*GetTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{9} } +var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo + +type GetTaskResponse struct { + Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` +} + +func (m *GetTaskResponse) Reset() { *m = GetTaskResponse{} } +func (*GetTaskResponse) ProtoMessage() {} +func (*GetTaskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{9} +} +func (m *GetTaskResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetTaskResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskResponse.Merge(m, src) +} +func (m *GetTaskResponse) XXX_Size() int { + return m.Size() +} +func (m *GetTaskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTaskResponse proto.InternalMessageInfo type RemoveTaskRequest struct { TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` } -func (m *RemoveTaskRequest) Reset() { *m = RemoveTaskRequest{} } -func (*RemoveTaskRequest) ProtoMessage() {} -func (*RemoveTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{10} } +func (m *RemoveTaskRequest) Reset() { *m = RemoveTaskRequest{} } +func (*RemoveTaskRequest) ProtoMessage() {} +func (*RemoveTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{10} +} +func (m *RemoveTaskRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveTaskRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTaskRequest.Merge(m, src) +} +func (m *RemoveTaskRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveTaskRequest proto.InternalMessageInfo type RemoveTaskResponse struct { } -func (m *RemoveTaskResponse) Reset() { *m = RemoveTaskResponse{} } -func (*RemoveTaskResponse) ProtoMessage() {} -func (*RemoveTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{11} } - -type ListTasksRequest struct { - Filters *ListTasksRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` +func (m *RemoveTaskResponse) Reset() { *m = RemoveTaskResponse{} } +func (*RemoveTaskResponse) ProtoMessage() {} +func (*RemoveTaskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{11} +} +func (m *RemoveTaskResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveTaskResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTaskResponse.Merge(m, src) +} +func (m *RemoveTaskResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveTaskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTaskResponse.DiscardUnknown(m) } -func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} } -func (*ListTasksRequest) ProtoMessage() {} -func (*ListTasksRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{12} } +var xxx_messageInfo_RemoveTaskResponse proto.InternalMessageInfo + +type ListTasksRequest struct { + Filters *ListTasksRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` +} + +func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} } +func (*ListTasksRequest) ProtoMessage() {} +func (*ListTasksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{12} +} +func (m *ListTasksRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTasksRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTasksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksRequest.Merge(m, src) +} +func (m *ListTasksRequest) XXX_Size() int { + return m.Size() +} +func (m *ListTasksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksRequest proto.InternalMessageInfo type ListTasksRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ServiceIDs []string `protobuf:"bytes,4,rep,name=service_ids,json=serviceIds" json:"service_ids,omitempty"` - NodeIDs []string `protobuf:"bytes,5,rep,name=node_ids,json=nodeIds" json:"node_ids,omitempty"` - DesiredStates []TaskState `protobuf:"varint,6,rep,name=desired_states,json=desiredStates,enum=docker.swarmkit.v1.TaskState" json:"desired_states,omitempty"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + 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 `protobuf:"varint,6,rep,name=desired_states,json=desiredStates,proto3,enum=docker.swarmkit.v1.TaskState" json:"desired_states,omitempty"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,7,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` - Runtimes []string `protobuf:"bytes,9,rep,name=runtimes" json:"runtimes,omitempty"` + 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 @@ -209,145 +604,557 @@ type ListTasksRequest_Filters struct { func (m *ListTasksRequest_Filters) Reset() { *m = ListTasksRequest_Filters{} } func (*ListTasksRequest_Filters) ProtoMessage() {} func (*ListTasksRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{12, 0} + return fileDescriptor_b37401dd08bf8930, []int{12, 0} } +func (m *ListTasksRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTasksRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTasksRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTasksRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksRequest_Filters.Merge(m, src) +} +func (m *ListTasksRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListTasksRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksRequest_Filters proto.InternalMessageInfo type ListTasksResponse struct { - Tasks []*Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` + Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} } -func (*ListTasksResponse) ProtoMessage() {} -func (*ListTasksResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{13} } +func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} } +func (*ListTasksResponse) ProtoMessage() {} +func (*ListTasksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{13} +} +func (m *ListTasksResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTasksResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTasksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksResponse.Merge(m, src) +} +func (m *ListTasksResponse) XXX_Size() int { + return m.Size() +} +func (m *ListTasksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksResponse proto.InternalMessageInfo type CreateServiceRequest struct { - Spec *ServiceSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *ServiceSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} } -func (*CreateServiceRequest) ProtoMessage() {} -func (*CreateServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{14} } +func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} } +func (*CreateServiceRequest) ProtoMessage() {} +func (*CreateServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{14} +} +func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateServiceRequest.Merge(m, src) +} +func (m *CreateServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateServiceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateServiceRequest proto.InternalMessageInfo type CreateServiceResponse struct { - Service *Service `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"` + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` } -func (m *CreateServiceResponse) Reset() { *m = CreateServiceResponse{} } -func (*CreateServiceResponse) ProtoMessage() {} -func (*CreateServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{15} } +func (m *CreateServiceResponse) Reset() { *m = CreateServiceResponse{} } +func (*CreateServiceResponse) ProtoMessage() {} +func (*CreateServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{15} +} +func (m *CreateServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateServiceResponse.Merge(m, src) +} +func (m *CreateServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateServiceResponse proto.InternalMessageInfo 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 (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } -func (*GetServiceRequest) ProtoMessage() {} -func (*GetServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{16} } - -type GetServiceResponse struct { - Service *Service `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"` +func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } +func (*GetServiceRequest) ProtoMessage() {} +func (*GetServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{16} +} +func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceRequest.Merge(m, src) +} +func (m *GetServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *GetServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) } -func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } -func (*GetServiceResponse) ProtoMessage() {} -func (*GetServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{17} } +var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo + +type GetServiceResponse struct { + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` +} + +func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } +func (*GetServiceResponse) ProtoMessage() {} +func (*GetServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{17} +} +func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceResponse.Merge(m, src) +} +func (m *GetServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *GetServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetServiceResponse proto.InternalMessageInfo type UpdateServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` - ServiceVersion *Version `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion" json:"service_version,omitempty"` - Spec *ServiceSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + ServiceVersion *Version `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` + Spec *ServiceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // Rollback may be set to PREVIOUS to request a rollback (the service's // spec will be set to the value of its previous_spec field). In this // case, the spec field of this request is ignored. Rollback UpdateServiceRequest_Rollback `protobuf:"varint,4,opt,name=rollback,proto3,enum=docker.swarmkit.v1.UpdateServiceRequest_Rollback" json:"rollback,omitempty"` } -func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } -func (*UpdateServiceRequest) ProtoMessage() {} -func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{18} } - -type UpdateServiceResponse struct { - Service *Service `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"` +func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } +func (*UpdateServiceRequest) ProtoMessage() {} +func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{18} +} +func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceRequest.Merge(m, src) +} +func (m *UpdateServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateServiceRequest.DiscardUnknown(m) } -func (m *UpdateServiceResponse) Reset() { *m = UpdateServiceResponse{} } -func (*UpdateServiceResponse) ProtoMessage() {} -func (*UpdateServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{19} } +var xxx_messageInfo_UpdateServiceRequest proto.InternalMessageInfo + +type UpdateServiceResponse struct { + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` +} + +func (m *UpdateServiceResponse) Reset() { *m = UpdateServiceResponse{} } +func (*UpdateServiceResponse) ProtoMessage() {} +func (*UpdateServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{19} +} +func (m *UpdateServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceResponse.Merge(m, src) +} +func (m *UpdateServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateServiceResponse proto.InternalMessageInfo type RemoveServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` } -func (m *RemoveServiceRequest) Reset() { *m = RemoveServiceRequest{} } -func (*RemoveServiceRequest) ProtoMessage() {} -func (*RemoveServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{20} } +func (m *RemoveServiceRequest) Reset() { *m = RemoveServiceRequest{} } +func (*RemoveServiceRequest) ProtoMessage() {} +func (*RemoveServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{20} +} +func (m *RemoveServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveServiceRequest.Merge(m, src) +} +func (m *RemoveServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveServiceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveServiceRequest proto.InternalMessageInfo type RemoveServiceResponse struct { } -func (m *RemoveServiceResponse) Reset() { *m = RemoveServiceResponse{} } -func (*RemoveServiceResponse) ProtoMessage() {} -func (*RemoveServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{21} } - -type ListServicesRequest struct { - Filters *ListServicesRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` +func (m *RemoveServiceResponse) Reset() { *m = RemoveServiceResponse{} } +func (*RemoveServiceResponse) ProtoMessage() {} +func (*RemoveServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{21} +} +func (m *RemoveServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveServiceResponse.Merge(m, src) +} +func (m *RemoveServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveServiceResponse.DiscardUnknown(m) } -func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } -func (*ListServicesRequest) ProtoMessage() {} -func (*ListServicesRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{22} } +var xxx_messageInfo_RemoveServiceResponse proto.InternalMessageInfo + +type ListServicesRequest struct { + Filters *ListServicesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` +} + +func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } +func (*ListServicesRequest) ProtoMessage() {} +func (*ListServicesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{22} +} +func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServicesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServicesRequest.Merge(m, src) +} +func (m *ListServicesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListServicesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListServicesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo type ListServicesRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` - Runtimes []string `protobuf:"bytes,5,rep,name=runtimes" json:"runtimes,omitempty"` + 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 (m *ListServicesRequest_Filters) Reset() { *m = ListServicesRequest_Filters{} } func (*ListServicesRequest_Filters) ProtoMessage() {} func (*ListServicesRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{22, 0} + return fileDescriptor_b37401dd08bf8930, []int{22, 0} } +func (m *ListServicesRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServicesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServicesRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServicesRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServicesRequest_Filters.Merge(m, src) +} +func (m *ListServicesRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListServicesRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListServicesRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServicesRequest_Filters proto.InternalMessageInfo type ListServicesResponse struct { - Services []*Service `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"` + Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` } -func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } -func (*ListServicesResponse) ProtoMessage() {} -func (*ListServicesResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{23} } +func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } +func (*ListServicesResponse) ProtoMessage() {} +func (*ListServicesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{23} +} +func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServicesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServicesResponse.Merge(m, src) +} +func (m *ListServicesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListServicesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListServicesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo // 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. type ListServiceStatusesRequest struct { // Services is a list of service IDs to get statuses for. - Services []string `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"` + Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` } func (m *ListServiceStatusesRequest) Reset() { *m = ListServiceStatusesRequest{} } func (*ListServiceStatusesRequest) ProtoMessage() {} func (*ListServiceStatusesRequest) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{24} + return fileDescriptor_b37401dd08bf8930, []int{24} } +func (m *ListServiceStatusesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServiceStatusesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServiceStatusesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServiceStatusesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceStatusesRequest.Merge(m, src) +} +func (m *ListServiceStatusesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListServiceStatusesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListServiceStatusesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServiceStatusesRequest proto.InternalMessageInfo // 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. type ListServiceStatusesResponse struct { - Statuses []*ListServiceStatusesResponse_ServiceStatus `protobuf:"bytes,1,rep,name=statuses" json:"statuses,omitempty"` + Statuses []*ListServiceStatusesResponse_ServiceStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` } func (m *ListServiceStatusesResponse) Reset() { *m = ListServiceStatusesResponse{} } func (*ListServiceStatusesResponse) ProtoMessage() {} func (*ListServiceStatusesResponse) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{25} + return fileDescriptor_b37401dd08bf8930, []int{25} } +func (m *ListServiceStatusesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServiceStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServiceStatusesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServiceStatusesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceStatusesResponse.Merge(m, src) +} +func (m *ListServiceStatusesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListServiceStatusesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListServiceStatusesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServiceStatusesResponse proto.InternalMessageInfo type ListServiceStatusesResponse_ServiceStatus struct { // ServiceID is the ID of the service this status describes @@ -367,133 +1174,547 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Reset() { } func (*ListServiceStatusesResponse_ServiceStatus) ProtoMessage() {} func (*ListServiceStatusesResponse_ServiceStatus) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{25, 0} + return fileDescriptor_b37401dd08bf8930, []int{25, 0} } +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus.Merge(m, src) +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Size() int { + return m.Size() +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus proto.InternalMessageInfo type CreateNetworkRequest struct { - Spec *NetworkSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *NetworkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateNetworkRequest) Reset() { *m = CreateNetworkRequest{} } -func (*CreateNetworkRequest) ProtoMessage() {} -func (*CreateNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{26} } +func (m *CreateNetworkRequest) Reset() { *m = CreateNetworkRequest{} } +func (*CreateNetworkRequest) ProtoMessage() {} +func (*CreateNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{26} +} +func (m *CreateNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkRequest.Merge(m, src) +} +func (m *CreateNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNetworkRequest proto.InternalMessageInfo type CreateNetworkResponse struct { - Network *Network `protobuf:"bytes,1,opt,name=network" json:"network,omitempty"` + Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` } -func (m *CreateNetworkResponse) Reset() { *m = CreateNetworkResponse{} } -func (*CreateNetworkResponse) ProtoMessage() {} -func (*CreateNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{27} } +func (m *CreateNetworkResponse) Reset() { *m = CreateNetworkResponse{} } +func (*CreateNetworkResponse) ProtoMessage() {} +func (*CreateNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{27} +} +func (m *CreateNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkResponse.Merge(m, src) +} +func (m *CreateNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNetworkResponse proto.InternalMessageInfo 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"` } -func (m *GetNetworkRequest) Reset() { *m = GetNetworkRequest{} } -func (*GetNetworkRequest) ProtoMessage() {} -func (*GetNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{28} } - -type GetNetworkResponse struct { - Network *Network `protobuf:"bytes,1,opt,name=network" json:"network,omitempty"` +func (m *GetNetworkRequest) Reset() { *m = GetNetworkRequest{} } +func (*GetNetworkRequest) ProtoMessage() {} +func (*GetNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{28} +} +func (m *GetNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNetworkRequest.Merge(m, src) +} +func (m *GetNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *GetNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNetworkRequest.DiscardUnknown(m) } -func (m *GetNetworkResponse) Reset() { *m = GetNetworkResponse{} } -func (*GetNetworkResponse) ProtoMessage() {} -func (*GetNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{29} } +var xxx_messageInfo_GetNetworkRequest proto.InternalMessageInfo + +type GetNetworkResponse struct { + Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` +} + +func (m *GetNetworkResponse) Reset() { *m = GetNetworkResponse{} } +func (*GetNetworkResponse) ProtoMessage() {} +func (*GetNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{29} +} +func (m *GetNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNetworkResponse.Merge(m, src) +} +func (m *GetNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *GetNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNetworkResponse proto.InternalMessageInfo type RemoveNetworkRequest 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"` } -func (m *RemoveNetworkRequest) Reset() { *m = RemoveNetworkRequest{} } -func (*RemoveNetworkRequest) ProtoMessage() {} -func (*RemoveNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{30} } +func (m *RemoveNetworkRequest) Reset() { *m = RemoveNetworkRequest{} } +func (*RemoveNetworkRequest) ProtoMessage() {} +func (*RemoveNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{30} +} +func (m *RemoveNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNetworkRequest.Merge(m, src) +} +func (m *RemoveNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNetworkRequest proto.InternalMessageInfo type RemoveNetworkResponse struct { } -func (m *RemoveNetworkResponse) Reset() { *m = RemoveNetworkResponse{} } -func (*RemoveNetworkResponse) ProtoMessage() {} -func (*RemoveNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{31} } - -type ListNetworksRequest struct { - Filters *ListNetworksRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` +func (m *RemoveNetworkResponse) Reset() { *m = RemoveNetworkResponse{} } +func (*RemoveNetworkResponse) ProtoMessage() {} +func (*RemoveNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{31} +} +func (m *RemoveNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNetworkResponse.Merge(m, src) +} +func (m *RemoveNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNetworkResponse.DiscardUnknown(m) } -func (m *ListNetworksRequest) Reset() { *m = ListNetworksRequest{} } -func (*ListNetworksRequest) ProtoMessage() {} -func (*ListNetworksRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{32} } +var xxx_messageInfo_RemoveNetworkResponse proto.InternalMessageInfo + +type ListNetworksRequest struct { + Filters *ListNetworksRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` +} + +func (m *ListNetworksRequest) Reset() { *m = ListNetworksRequest{} } +func (*ListNetworksRequest) ProtoMessage() {} +func (*ListNetworksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{32} +} +func (m *ListNetworksRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNetworksRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksRequest.Merge(m, src) +} +func (m *ListNetworksRequest) XXX_Size() int { + return m.Size() +} +func (m *ListNetworksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNetworksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNetworksRequest proto.InternalMessageInfo type ListNetworksRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListNetworksRequest_Filters) Reset() { *m = ListNetworksRequest_Filters{} } func (*ListNetworksRequest_Filters) ProtoMessage() {} func (*ListNetworksRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{32, 0} + return fileDescriptor_b37401dd08bf8930, []int{32, 0} } +func (m *ListNetworksRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNetworksRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNetworksRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNetworksRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksRequest_Filters.Merge(m, src) +} +func (m *ListNetworksRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListNetworksRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListNetworksRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNetworksRequest_Filters proto.InternalMessageInfo type ListNetworksResponse struct { - Networks []*Network `protobuf:"bytes,1,rep,name=networks" json:"networks,omitempty"` + Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` } -func (m *ListNetworksResponse) Reset() { *m = ListNetworksResponse{} } -func (*ListNetworksResponse) ProtoMessage() {} -func (*ListNetworksResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{33} } +func (m *ListNetworksResponse) Reset() { *m = ListNetworksResponse{} } +func (*ListNetworksResponse) ProtoMessage() {} +func (*ListNetworksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{33} +} +func (m *ListNetworksResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNetworksResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNetworksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksResponse.Merge(m, src) +} +func (m *ListNetworksResponse) XXX_Size() int { + return m.Size() +} +func (m *ListNetworksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNetworksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNetworksResponse proto.InternalMessageInfo type GetClusterRequest struct { ClusterID string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` } -func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } -func (*GetClusterRequest) ProtoMessage() {} -func (*GetClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{34} } +func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } +func (*GetClusterRequest) ProtoMessage() {} +func (*GetClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{34} +} +func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) +} +func (m *GetClusterRequest) XXX_Size() int { + return m.Size() +} +func (m *GetClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo type GetClusterResponse struct { - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (m *GetClusterResponse) Reset() { *m = GetClusterResponse{} } -func (*GetClusterResponse) ProtoMessage() {} -func (*GetClusterResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{35} } +func (m *GetClusterResponse) Reset() { *m = GetClusterResponse{} } +func (*GetClusterResponse) ProtoMessage() {} +func (*GetClusterResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{35} +} +func (m *GetClusterResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetClusterResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetClusterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterResponse.Merge(m, src) +} +func (m *GetClusterResponse) XXX_Size() int { + return m.Size() +} +func (m *GetClusterResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterResponse proto.InternalMessageInfo type ListClustersRequest struct { - Filters *ListClustersRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListClustersRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{36} } +func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } +func (*ListClustersRequest) ProtoMessage() {} +func (*ListClustersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{36} +} +func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) +} +func (m *ListClustersRequest) XXX_Size() int { + return m.Size() +} +func (m *ListClustersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo type ListClustersRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListClustersRequest_Filters) Reset() { *m = ListClustersRequest_Filters{} } func (*ListClustersRequest_Filters) ProtoMessage() {} func (*ListClustersRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{36, 0} + return fileDescriptor_b37401dd08bf8930, []int{36, 0} } +func (m *ListClustersRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClustersRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClustersRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClustersRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest_Filters.Merge(m, src) +} +func (m *ListClustersRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListClustersRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersRequest_Filters proto.InternalMessageInfo type ListClustersResponse struct { - Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"` + Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` } -func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } -func (*ListClustersResponse) ProtoMessage() {} -func (*ListClustersResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{37} } +func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } +func (*ListClustersResponse) ProtoMessage() {} +func (*ListClustersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{37} +} +func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) +} +func (m *ListClustersResponse) XXX_Size() int { + return m.Size() +} +func (m *ListClustersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo // KeyRotation tells UpdateCluster what items to rotate type KeyRotation struct { @@ -505,130 +1726,464 @@ type KeyRotation struct { ManagerUnlockKey bool `protobuf:"varint,3,opt,name=manager_unlock_key,json=managerUnlockKey,proto3" json:"manager_unlock_key,omitempty"` } -func (m *KeyRotation) Reset() { *m = KeyRotation{} } -func (*KeyRotation) ProtoMessage() {} -func (*KeyRotation) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{38} } +func (m *KeyRotation) Reset() { *m = KeyRotation{} } +func (*KeyRotation) ProtoMessage() {} +func (*KeyRotation) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{38} +} +func (m *KeyRotation) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyRotation.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *KeyRotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyRotation.Merge(m, src) +} +func (m *KeyRotation) XXX_Size() int { + return m.Size() +} +func (m *KeyRotation) XXX_DiscardUnknown() { + xxx_messageInfo_KeyRotation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyRotation proto.InternalMessageInfo type UpdateClusterRequest struct { // ClusterID is the cluster ID to update. ClusterID string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ClusterVersion is the version of the cluster being updated. - ClusterVersion *Version `protobuf:"bytes,2,opt,name=cluster_version,json=clusterVersion" json:"cluster_version,omitempty"` + ClusterVersion *Version `protobuf:"bytes,2,opt,name=cluster_version,json=clusterVersion,proto3" json:"cluster_version,omitempty"` // Spec is the new spec to apply to the cluster. - Spec *ClusterSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + Spec *ClusterSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // Rotation contains flags for join token and unlock key rotation - Rotation KeyRotation `protobuf:"bytes,4,opt,name=rotation" json:"rotation"` + Rotation KeyRotation `protobuf:"bytes,4,opt,name=rotation,proto3" json:"rotation"` } -func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } -func (*UpdateClusterRequest) ProtoMessage() {} -func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{39} } +func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } +func (*UpdateClusterRequest) ProtoMessage() {} +func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{39} +} +func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) +} +func (m *UpdateClusterRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo type UpdateClusterResponse struct { - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (m *UpdateClusterResponse) Reset() { *m = UpdateClusterResponse{} } -func (*UpdateClusterResponse) ProtoMessage() {} -func (*UpdateClusterResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{40} } +func (m *UpdateClusterResponse) Reset() { *m = UpdateClusterResponse{} } +func (*UpdateClusterResponse) ProtoMessage() {} +func (*UpdateClusterResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{40} +} +func (m *UpdateClusterResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateClusterResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateClusterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterResponse.Merge(m, src) +} +func (m *UpdateClusterResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateClusterResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterResponse proto.InternalMessageInfo // GetSecretRequest is the request to get a `Secret` object given a secret id. type GetSecretRequest struct { SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` } -func (m *GetSecretRequest) Reset() { *m = GetSecretRequest{} } -func (*GetSecretRequest) ProtoMessage() {} -func (*GetSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{41} } +func (m *GetSecretRequest) Reset() { *m = GetSecretRequest{} } +func (*GetSecretRequest) ProtoMessage() {} +func (*GetSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{41} +} +func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSecretRequest.Merge(m, src) +} +func (m *GetSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *GetSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSecretRequest proto.InternalMessageInfo // 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. type GetSecretResponse struct { - Secret *Secret `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` } -func (m *GetSecretResponse) Reset() { *m = GetSecretResponse{} } -func (*GetSecretResponse) ProtoMessage() {} -func (*GetSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{42} } +func (m *GetSecretResponse) Reset() { *m = GetSecretResponse{} } +func (*GetSecretResponse) ProtoMessage() {} +func (*GetSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{42} +} +func (m *GetSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSecretResponse.Merge(m, src) +} +func (m *GetSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *GetSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSecretResponse proto.InternalMessageInfo type UpdateSecretRequest struct { // SecretID is the secret ID to update. SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // SecretVersion is the version of the secret being updated. - SecretVersion *Version `protobuf:"bytes,2,opt,name=secret_version,json=secretVersion" json:"secret_version,omitempty"` + SecretVersion *Version `protobuf:"bytes,2,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"` // Spec is the new spec to apply to the Secret // Only some fields are allowed to be updated. - Spec *SecretSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + Spec *SecretSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *UpdateSecretRequest) Reset() { *m = UpdateSecretRequest{} } -func (*UpdateSecretRequest) ProtoMessage() {} -func (*UpdateSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{43} } +func (m *UpdateSecretRequest) Reset() { *m = UpdateSecretRequest{} } +func (*UpdateSecretRequest) ProtoMessage() {} +func (*UpdateSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{43} +} +func (m *UpdateSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecretRequest.Merge(m, src) +} +func (m *UpdateSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecretRequest proto.InternalMessageInfo type UpdateSecretResponse struct { - Secret *Secret `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` } -func (m *UpdateSecretResponse) Reset() { *m = UpdateSecretResponse{} } -func (*UpdateSecretResponse) ProtoMessage() {} -func (*UpdateSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{44} } +func (m *UpdateSecretResponse) Reset() { *m = UpdateSecretResponse{} } +func (*UpdateSecretResponse) ProtoMessage() {} +func (*UpdateSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{44} +} +func (m *UpdateSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecretResponse.Merge(m, src) +} +func (m *UpdateSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecretResponse proto.InternalMessageInfo // 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. type ListSecretsRequest struct { - Filters *ListSecretsRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListSecretsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListSecretsRequest) Reset() { *m = ListSecretsRequest{} } -func (*ListSecretsRequest) ProtoMessage() {} -func (*ListSecretsRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{45} } +func (m *ListSecretsRequest) Reset() { *m = ListSecretsRequest{} } +func (*ListSecretsRequest) ProtoMessage() {} +func (*ListSecretsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{45} +} +func (m *ListSecretsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListSecretsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListSecretsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsRequest.Merge(m, src) +} +func (m *ListSecretsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListSecretsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsRequest proto.InternalMessageInfo type ListSecretsRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListSecretsRequest_Filters) Reset() { *m = ListSecretsRequest_Filters{} } func (*ListSecretsRequest_Filters) ProtoMessage() {} func (*ListSecretsRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{45, 0} + return fileDescriptor_b37401dd08bf8930, []int{45, 0} } +func (m *ListSecretsRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListSecretsRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListSecretsRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListSecretsRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsRequest_Filters.Merge(m, src) +} +func (m *ListSecretsRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListSecretsRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsRequest_Filters proto.InternalMessageInfo // 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. type ListSecretsResponse struct { - Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets" json:"secrets,omitempty"` + Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` } -func (m *ListSecretsResponse) Reset() { *m = ListSecretsResponse{} } -func (*ListSecretsResponse) ProtoMessage() {} -func (*ListSecretsResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{46} } +func (m *ListSecretsResponse) Reset() { *m = ListSecretsResponse{} } +func (*ListSecretsResponse) ProtoMessage() {} +func (*ListSecretsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{46} +} +func (m *ListSecretsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListSecretsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListSecretsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListSecretsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsResponse.Merge(m, src) +} +func (m *ListSecretsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListSecretsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsResponse proto.InternalMessageInfo // CreateSecretRequest specifies a new secret (it will not update an existing // secret) to create. type CreateSecretRequest struct { - Spec *SecretSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *SecretSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateSecretRequest) Reset() { *m = CreateSecretRequest{} } -func (*CreateSecretRequest) ProtoMessage() {} -func (*CreateSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{47} } +func (m *CreateSecretRequest) Reset() { *m = CreateSecretRequest{} } +func (*CreateSecretRequest) ProtoMessage() {} +func (*CreateSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{47} +} +func (m *CreateSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSecretRequest.Merge(m, src) +} +func (m *CreateSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateSecretRequest proto.InternalMessageInfo // 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. type CreateSecretResponse struct { - Secret *Secret `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` } -func (m *CreateSecretResponse) Reset() { *m = CreateSecretResponse{} } -func (*CreateSecretResponse) ProtoMessage() {} -func (*CreateSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{48} } +func (m *CreateSecretResponse) Reset() { *m = CreateSecretResponse{} } +func (*CreateSecretResponse) ProtoMessage() {} +func (*CreateSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{48} +} +func (m *CreateSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSecretResponse.Merge(m, src) +} +func (m *CreateSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateSecretResponse proto.InternalMessageInfo // RemoveSecretRequest contains the ID of the secret that should be removed. This // removes all versions of the secret. @@ -636,112 +2191,418 @@ type RemoveSecretRequest struct { SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` } -func (m *RemoveSecretRequest) Reset() { *m = RemoveSecretRequest{} } -func (*RemoveSecretRequest) ProtoMessage() {} -func (*RemoveSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{49} } +func (m *RemoveSecretRequest) Reset() { *m = RemoveSecretRequest{} } +func (*RemoveSecretRequest) ProtoMessage() {} +func (*RemoveSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{49} +} +func (m *RemoveSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSecretRequest.Merge(m, src) +} +func (m *RemoveSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSecretRequest proto.InternalMessageInfo // RemoveSecretResponse is an empty object indicating the successful removal of // a secret. type RemoveSecretResponse struct { } -func (m *RemoveSecretResponse) Reset() { *m = RemoveSecretResponse{} } -func (*RemoveSecretResponse) ProtoMessage() {} -func (*RemoveSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{50} } +func (m *RemoveSecretResponse) Reset() { *m = RemoveSecretResponse{} } +func (*RemoveSecretResponse) ProtoMessage() {} +func (*RemoveSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{50} +} +func (m *RemoveSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSecretResponse.Merge(m, src) +} +func (m *RemoveSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSecretResponse proto.InternalMessageInfo // GetConfigRequest is the request to get a `Config` object given a config id. type GetConfigRequest struct { ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` } -func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } -func (*GetConfigRequest) ProtoMessage() {} -func (*GetConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{51} } +func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } +func (*GetConfigRequest) ProtoMessage() {} +func (*GetConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{51} +} +func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConfigRequest.Merge(m, src) +} +func (m *GetConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *GetConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo // GetConfigResponse contains the Config corresponding to the id in // `GetConfigRequest`. type GetConfigResponse struct { - Config *Config `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} } -func (*GetConfigResponse) ProtoMessage() {} -func (*GetConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{52} } +func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} } +func (*GetConfigResponse) ProtoMessage() {} +func (*GetConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{52} +} +func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConfigResponse.Merge(m, src) +} +func (m *GetConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *GetConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetConfigResponse proto.InternalMessageInfo type UpdateConfigRequest struct { // ConfigID is the config ID to update. ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` // ConfigVersion is the version of the config being updated. - ConfigVersion *Version `protobuf:"bytes,2,opt,name=config_version,json=configVersion" json:"config_version,omitempty"` + ConfigVersion *Version `protobuf:"bytes,2,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // Spec is the new spec to apply to the Config // Only some fields are allowed to be updated. - Spec *ConfigSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + Spec *ConfigSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *UpdateConfigRequest) Reset() { *m = UpdateConfigRequest{} } -func (*UpdateConfigRequest) ProtoMessage() {} -func (*UpdateConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{53} } +func (m *UpdateConfigRequest) Reset() { *m = UpdateConfigRequest{} } +func (*UpdateConfigRequest) ProtoMessage() {} +func (*UpdateConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{53} +} +func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfigRequest.Merge(m, src) +} +func (m *UpdateConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfigRequest proto.InternalMessageInfo type UpdateConfigResponse struct { - Config *Config `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *UpdateConfigResponse) Reset() { *m = UpdateConfigResponse{} } -func (*UpdateConfigResponse) ProtoMessage() {} -func (*UpdateConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{54} } +func (m *UpdateConfigResponse) Reset() { *m = UpdateConfigResponse{} } +func (*UpdateConfigResponse) ProtoMessage() {} +func (*UpdateConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{54} +} +func (m *UpdateConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfigResponse.Merge(m, src) +} +func (m *UpdateConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfigResponse proto.InternalMessageInfo // 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. type ListConfigsRequest struct { - Filters *ListConfigsRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListConfigsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} } -func (*ListConfigsRequest) ProtoMessage() {} -func (*ListConfigsRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{55} } +func (m *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} } +func (*ListConfigsRequest) ProtoMessage() {} +func (*ListConfigsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{55} +} +func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListConfigsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListConfigsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConfigsRequest.Merge(m, src) +} +func (m *ListConfigsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListConfigsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListConfigsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConfigsRequest proto.InternalMessageInfo type ListConfigsRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListConfigsRequest_Filters) Reset() { *m = ListConfigsRequest_Filters{} } func (*ListConfigsRequest_Filters) ProtoMessage() {} func (*ListConfigsRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{55, 0} + return fileDescriptor_b37401dd08bf8930, []int{55, 0} } +func (m *ListConfigsRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListConfigsRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListConfigsRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListConfigsRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConfigsRequest_Filters.Merge(m, src) +} +func (m *ListConfigsRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListConfigsRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListConfigsRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConfigsRequest_Filters proto.InternalMessageInfo // ListConfigResponse contains a list of all the configs that match the name or // name prefix filters provided in `ListConfigRequest`. type ListConfigsResponse struct { - Configs []*Config `protobuf:"bytes,1,rep,name=configs" json:"configs,omitempty"` + Configs []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` } -func (m *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} } -func (*ListConfigsResponse) ProtoMessage() {} -func (*ListConfigsResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{56} } +func (m *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} } +func (*ListConfigsResponse) ProtoMessage() {} +func (*ListConfigsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{56} +} +func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListConfigsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListConfigsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConfigsResponse.Merge(m, src) +} +func (m *ListConfigsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListConfigsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListConfigsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConfigsResponse proto.InternalMessageInfo // CreateConfigRequest specifies a new config (it will not update an existing // config) to create. type CreateConfigRequest struct { - Spec *ConfigSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *ConfigSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} } -func (*CreateConfigRequest) ProtoMessage() {} -func (*CreateConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{57} } +func (m *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} } +func (*CreateConfigRequest) ProtoMessage() {} +func (*CreateConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{57} +} +func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConfigRequest.Merge(m, src) +} +func (m *CreateConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateConfigRequest proto.InternalMessageInfo // CreateConfigResponse contains the newly created `Config` corresponding to the // name in `CreateConfigRequest`. type CreateConfigResponse struct { - Config *Config `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *CreateConfigResponse) Reset() { *m = CreateConfigResponse{} } -func (*CreateConfigResponse) ProtoMessage() {} -func (*CreateConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{58} } +func (m *CreateConfigResponse) Reset() { *m = CreateConfigResponse{} } +func (*CreateConfigResponse) ProtoMessage() {} +func (*CreateConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{58} +} +func (m *CreateConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConfigResponse.Merge(m, src) +} +func (m *CreateConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateConfigResponse proto.InternalMessageInfo // RemoveConfigRequest contains the ID of the config that should be removed. This // removes all versions of the config. @@ -749,39 +2610,151 @@ type RemoveConfigRequest struct { ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` } -func (m *RemoveConfigRequest) Reset() { *m = RemoveConfigRequest{} } -func (*RemoveConfigRequest) ProtoMessage() {} -func (*RemoveConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{59} } +func (m *RemoveConfigRequest) Reset() { *m = RemoveConfigRequest{} } +func (*RemoveConfigRequest) ProtoMessage() {} +func (*RemoveConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{59} +} +func (m *RemoveConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveConfigRequest.Merge(m, src) +} +func (m *RemoveConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveConfigRequest proto.InternalMessageInfo // RemoveConfigResponse is an empty object indicating the successful removal of // a config. type RemoveConfigResponse struct { } -func (m *RemoveConfigResponse) Reset() { *m = RemoveConfigResponse{} } -func (*RemoveConfigResponse) ProtoMessage() {} -func (*RemoveConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{60} } +func (m *RemoveConfigResponse) Reset() { *m = RemoveConfigResponse{} } +func (*RemoveConfigResponse) ProtoMessage() {} +func (*RemoveConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{60} +} +func (m *RemoveConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveConfigResponse.Merge(m, src) +} +func (m *RemoveConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveConfigResponse proto.InternalMessageInfo // CreateExtensionRequest creates a new extension as specified by the provided // parameters type CreateExtensionRequest struct { - Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations,omitempty"` + Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } -func (m *CreateExtensionRequest) Reset() { *m = CreateExtensionRequest{} } -func (*CreateExtensionRequest) ProtoMessage() {} -func (*CreateExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{61} } +func (m *CreateExtensionRequest) Reset() { *m = CreateExtensionRequest{} } +func (*CreateExtensionRequest) ProtoMessage() {} +func (*CreateExtensionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{61} +} +func (m *CreateExtensionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateExtensionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateExtensionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateExtensionRequest.Merge(m, src) +} +func (m *CreateExtensionRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateExtensionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateExtensionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateExtensionRequest proto.InternalMessageInfo // CreateExtensionResponse contains the newly created `Extension` corresponding // to the parameters in the CreateExtensionRequest. type CreateExtensionResponse struct { - Extension *Extension `protobuf:"bytes,1,opt,name=extension" json:"extension,omitempty"` + Extension *Extension `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"` } -func (m *CreateExtensionResponse) Reset() { *m = CreateExtensionResponse{} } -func (*CreateExtensionResponse) ProtoMessage() {} -func (*CreateExtensionResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{62} } +func (m *CreateExtensionResponse) Reset() { *m = CreateExtensionResponse{} } +func (*CreateExtensionResponse) ProtoMessage() {} +func (*CreateExtensionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{62} +} +func (m *CreateExtensionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateExtensionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateExtensionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateExtensionResponse.Merge(m, src) +} +func (m *CreateExtensionResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateExtensionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateExtensionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateExtensionResponse proto.InternalMessageInfo // RemoveExtensionRequest contains the ID of the extension that should be removed. This // removes all versions of the extension. @@ -789,59 +2762,227 @@ type RemoveExtensionRequest struct { ExtensionID string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId,proto3" json:"extension_id,omitempty"` } -func (m *RemoveExtensionRequest) Reset() { *m = RemoveExtensionRequest{} } -func (*RemoveExtensionRequest) ProtoMessage() {} -func (*RemoveExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{63} } +func (m *RemoveExtensionRequest) Reset() { *m = RemoveExtensionRequest{} } +func (*RemoveExtensionRequest) ProtoMessage() {} +func (*RemoveExtensionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{63} +} +func (m *RemoveExtensionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveExtensionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveExtensionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveExtensionRequest.Merge(m, src) +} +func (m *RemoveExtensionRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveExtensionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveExtensionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveExtensionRequest proto.InternalMessageInfo // RemoveExtensionResponse is an empty object indicating the successful removal // of an extension. type RemoveExtensionResponse struct { } -func (m *RemoveExtensionResponse) Reset() { *m = RemoveExtensionResponse{} } -func (*RemoveExtensionResponse) ProtoMessage() {} -func (*RemoveExtensionResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{64} } +func (m *RemoveExtensionResponse) Reset() { *m = RemoveExtensionResponse{} } +func (*RemoveExtensionResponse) ProtoMessage() {} +func (*RemoveExtensionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{64} +} +func (m *RemoveExtensionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveExtensionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveExtensionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveExtensionResponse.Merge(m, src) +} +func (m *RemoveExtensionResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveExtensionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveExtensionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveExtensionResponse proto.InternalMessageInfo // GetResourceRequest is the request to get a Extension object given a extension id. type GetExtensionRequest struct { ExtensionID string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId,proto3" json:"extension_id,omitempty"` } -func (m *GetExtensionRequest) Reset() { *m = GetExtensionRequest{} } -func (*GetExtensionRequest) ProtoMessage() {} -func (*GetExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{65} } +func (m *GetExtensionRequest) Reset() { *m = GetExtensionRequest{} } +func (*GetExtensionRequest) ProtoMessage() {} +func (*GetExtensionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{65} +} +func (m *GetExtensionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetExtensionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetExtensionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetExtensionRequest.Merge(m, src) +} +func (m *GetExtensionRequest) XXX_Size() int { + return m.Size() +} +func (m *GetExtensionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetExtensionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetExtensionRequest proto.InternalMessageInfo // GetExtensionResponse contains the Extension corresponding to the id in // `GetExtensionRequest`. type GetExtensionResponse struct { - Extension *Extension `protobuf:"bytes,1,opt,name=extension" json:"extension,omitempty"` + Extension *Extension `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"` } -func (m *GetExtensionResponse) Reset() { *m = GetExtensionResponse{} } -func (*GetExtensionResponse) ProtoMessage() {} -func (*GetExtensionResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{66} } +func (m *GetExtensionResponse) Reset() { *m = GetExtensionResponse{} } +func (*GetExtensionResponse) ProtoMessage() {} +func (*GetExtensionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{66} +} +func (m *GetExtensionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetExtensionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetExtensionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetExtensionResponse.Merge(m, src) +} +func (m *GetExtensionResponse) XXX_Size() int { + return m.Size() +} +func (m *GetExtensionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetExtensionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetExtensionResponse proto.InternalMessageInfo // CreateResourceRequest creates a new resource specified by the included // resource object. An existing resource will not be updated. type CreateResourceRequest struct { - Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations,omitempty"` - Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` - Payload *google_protobuf4.Any `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` + 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"` } -func (m *CreateResourceRequest) Reset() { *m = CreateResourceRequest{} } -func (*CreateResourceRequest) ProtoMessage() {} -func (*CreateResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{67} } +func (m *CreateResourceRequest) Reset() { *m = CreateResourceRequest{} } +func (*CreateResourceRequest) ProtoMessage() {} +func (*CreateResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{67} +} +func (m *CreateResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateResourceRequest.Merge(m, src) +} +func (m *CreateResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateResourceRequest proto.InternalMessageInfo // CreateResourceResponse contains the newly created `Resource` corresponding // to the resource in the CreateResourceRequest. type CreateResourceResponse struct { - Resource *Resource `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *CreateResourceResponse) Reset() { *m = CreateResourceResponse{} } -func (*CreateResourceResponse) ProtoMessage() {} -func (*CreateResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{68} } +func (m *CreateResourceResponse) Reset() { *m = CreateResourceResponse{} } +func (*CreateResourceResponse) ProtoMessage() {} +func (*CreateResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{68} +} +func (m *CreateResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateResourceResponse.Merge(m, src) +} +func (m *CreateResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateResourceResponse proto.InternalMessageInfo // RemoveResourceRequest contains the ID of the resource that should be removed. This // removes all versions of the resource. @@ -849,102 +2990,355 @@ type RemoveResourceRequest struct { ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } -func (m *RemoveResourceRequest) Reset() { *m = RemoveResourceRequest{} } -func (*RemoveResourceRequest) ProtoMessage() {} -func (*RemoveResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{69} } +func (m *RemoveResourceRequest) Reset() { *m = RemoveResourceRequest{} } +func (*RemoveResourceRequest) ProtoMessage() {} +func (*RemoveResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{69} +} +func (m *RemoveResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveResourceRequest.Merge(m, src) +} +func (m *RemoveResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveResourceRequest proto.InternalMessageInfo // RemoveResourceResponse is an empty object indicating the successful removal // of a resource. type RemoveResourceResponse struct { } -func (m *RemoveResourceResponse) Reset() { *m = RemoveResourceResponse{} } -func (*RemoveResourceResponse) ProtoMessage() {} -func (*RemoveResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{70} } +func (m *RemoveResourceResponse) Reset() { *m = RemoveResourceResponse{} } +func (*RemoveResourceResponse) ProtoMessage() {} +func (*RemoveResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{70} +} +func (m *RemoveResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveResourceResponse.Merge(m, src) +} +func (m *RemoveResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveResourceResponse proto.InternalMessageInfo // UpdateResourceRequest updates the resource specified by the given resource object. type UpdateResourceRequest struct { ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - ResourceVersion *Version `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion" json:"resource_version,omitempty"` + ResourceVersion *Version `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Annotations describes the annotations to update. If the Annotations should // be unchanged, then this field should be left empty. Note that the name of // a Resource cannot be changed, only its labels. - Annotations *Annotations `protobuf:"bytes,3,opt,name=annotations" json:"annotations,omitempty"` + Annotations *Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations,omitempty"` // Payload describes the new payload of the resource. If the Payload should // be unchanged, then this field should be left empty. - Payload *google_protobuf4.Any `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"` + Payload *types.Any `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` } -func (m *UpdateResourceRequest) Reset() { *m = UpdateResourceRequest{} } -func (*UpdateResourceRequest) ProtoMessage() {} -func (*UpdateResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{71} } +func (m *UpdateResourceRequest) Reset() { *m = UpdateResourceRequest{} } +func (*UpdateResourceRequest) ProtoMessage() {} +func (*UpdateResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{71} +} +func (m *UpdateResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateResourceRequest.Merge(m, src) +} +func (m *UpdateResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateResourceRequest proto.InternalMessageInfo type UpdateResourceResponse struct { - Resource *Resource `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *UpdateResourceResponse) Reset() { *m = UpdateResourceResponse{} } -func (*UpdateResourceResponse) ProtoMessage() {} -func (*UpdateResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{72} } +func (m *UpdateResourceResponse) Reset() { *m = UpdateResourceResponse{} } +func (*UpdateResourceResponse) ProtoMessage() {} +func (*UpdateResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{72} +} +func (m *UpdateResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateResourceResponse.Merge(m, src) +} +func (m *UpdateResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateResourceResponse proto.InternalMessageInfo // GetResourceRequest is the request to get a Resource object given a resource id. type GetResourceRequest struct { ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } -func (m *GetResourceRequest) Reset() { *m = GetResourceRequest{} } -func (*GetResourceRequest) ProtoMessage() {} -func (*GetResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{73} } +func (m *GetResourceRequest) Reset() { *m = GetResourceRequest{} } +func (*GetResourceRequest) ProtoMessage() {} +func (*GetResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{73} +} +func (m *GetResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourceRequest.Merge(m, src) +} +func (m *GetResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *GetResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetResourceRequest proto.InternalMessageInfo // GetResourceResponse contains the Resource corresponding to the id in // `GetResourceRequest`. type GetResourceResponse struct { - Resource *Resource `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *GetResourceResponse) Reset() { *m = GetResourceResponse{} } -func (*GetResourceResponse) ProtoMessage() {} -func (*GetResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{74} } +func (m *GetResourceResponse) Reset() { *m = GetResourceResponse{} } +func (*GetResourceResponse) ProtoMessage() {} +func (*GetResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{74} +} +func (m *GetResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourceResponse.Merge(m, src) +} +func (m *GetResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *GetResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetResourceResponse proto.InternalMessageInfo // 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. type ListResourcesRequest struct { - Filters *ListResourcesRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListResourcesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListResourcesRequest) Reset() { *m = ListResourcesRequest{} } -func (*ListResourcesRequest) ProtoMessage() {} -func (*ListResourcesRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{75} } +func (m *ListResourcesRequest) Reset() { *m = ListResourcesRequest{} } +func (*ListResourcesRequest) ProtoMessage() {} +func (*ListResourcesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{75} +} +func (m *ListResourcesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListResourcesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListResourcesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcesRequest.Merge(m, src) +} +func (m *ListResourcesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListResourcesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcesRequest proto.InternalMessageInfo type ListResourcesRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + 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 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + 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 (m *ListResourcesRequest_Filters) Reset() { *m = ListResourcesRequest_Filters{} } func (*ListResourcesRequest_Filters) ProtoMessage() {} func (*ListResourcesRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{75, 0} + return fileDescriptor_b37401dd08bf8930, []int{75, 0} } +func (m *ListResourcesRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListResourcesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListResourcesRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListResourcesRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcesRequest_Filters.Merge(m, src) +} +func (m *ListResourcesRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListResourcesRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcesRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcesRequest_Filters proto.InternalMessageInfo // ListResourcesResponse contains a list of all the resources that match the name or // name prefix filters provided in `ListResourcesRequest`. type ListResourcesResponse struct { - Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` + Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` } -func (m *ListResourcesResponse) Reset() { *m = ListResourcesResponse{} } -func (*ListResourcesResponse) ProtoMessage() {} -func (*ListResourcesResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{76} } +func (m *ListResourcesResponse) Reset() { *m = ListResourcesResponse{} } +func (*ListResourcesResponse) ProtoMessage() {} +func (*ListResourcesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{76} +} +func (m *ListResourcesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListResourcesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListResourcesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcesResponse.Merge(m, src) +} +func (m *ListResourcesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListResourcesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcesResponse proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.UpdateServiceRequest_Rollback", UpdateServiceRequest_Rollback_name, UpdateServiceRequest_Rollback_value) proto.RegisterType((*GetNodeRequest)(nil), "docker.swarmkit.v1.GetNodeRequest") proto.RegisterType((*GetNodeResponse)(nil), "docker.swarmkit.v1.GetNodeResponse") proto.RegisterType((*ListNodesRequest)(nil), "docker.swarmkit.v1.ListNodesRequest") proto.RegisterType((*ListNodesRequest_Filters)(nil), "docker.swarmkit.v1.ListNodesRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListNodesRequest.Filters.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListNodesRequest.Filters.NodeLabelsEntry") proto.RegisterType((*ListNodesResponse)(nil), "docker.swarmkit.v1.ListNodesResponse") proto.RegisterType((*UpdateNodeRequest)(nil), "docker.swarmkit.v1.UpdateNodeRequest") proto.RegisterType((*UpdateNodeResponse)(nil), "docker.swarmkit.v1.UpdateNodeResponse") @@ -956,6 +3350,7 @@ func init() { proto.RegisterType((*RemoveTaskResponse)(nil), "docker.swarmkit.v1.RemoveTaskResponse") proto.RegisterType((*ListTasksRequest)(nil), "docker.swarmkit.v1.ListTasksRequest") proto.RegisterType((*ListTasksRequest_Filters)(nil), "docker.swarmkit.v1.ListTasksRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListTasksRequest.Filters.LabelsEntry") proto.RegisterType((*ListTasksResponse)(nil), "docker.swarmkit.v1.ListTasksResponse") proto.RegisterType((*CreateServiceRequest)(nil), "docker.swarmkit.v1.CreateServiceRequest") proto.RegisterType((*CreateServiceResponse)(nil), "docker.swarmkit.v1.CreateServiceResponse") @@ -967,6 +3362,7 @@ func init() { proto.RegisterType((*RemoveServiceResponse)(nil), "docker.swarmkit.v1.RemoveServiceResponse") proto.RegisterType((*ListServicesRequest)(nil), "docker.swarmkit.v1.ListServicesRequest") proto.RegisterType((*ListServicesRequest_Filters)(nil), "docker.swarmkit.v1.ListServicesRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListServicesRequest.Filters.LabelsEntry") proto.RegisterType((*ListServicesResponse)(nil), "docker.swarmkit.v1.ListServicesResponse") proto.RegisterType((*ListServiceStatusesRequest)(nil), "docker.swarmkit.v1.ListServiceStatusesRequest") proto.RegisterType((*ListServiceStatusesResponse)(nil), "docker.swarmkit.v1.ListServiceStatusesResponse") @@ -979,11 +3375,13 @@ func init() { proto.RegisterType((*RemoveNetworkResponse)(nil), "docker.swarmkit.v1.RemoveNetworkResponse") proto.RegisterType((*ListNetworksRequest)(nil), "docker.swarmkit.v1.ListNetworksRequest") proto.RegisterType((*ListNetworksRequest_Filters)(nil), "docker.swarmkit.v1.ListNetworksRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListNetworksRequest.Filters.LabelsEntry") proto.RegisterType((*ListNetworksResponse)(nil), "docker.swarmkit.v1.ListNetworksResponse") proto.RegisterType((*GetClusterRequest)(nil), "docker.swarmkit.v1.GetClusterRequest") proto.RegisterType((*GetClusterResponse)(nil), "docker.swarmkit.v1.GetClusterResponse") proto.RegisterType((*ListClustersRequest)(nil), "docker.swarmkit.v1.ListClustersRequest") proto.RegisterType((*ListClustersRequest_Filters)(nil), "docker.swarmkit.v1.ListClustersRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListClustersRequest.Filters.LabelsEntry") proto.RegisterType((*ListClustersResponse)(nil), "docker.swarmkit.v1.ListClustersResponse") proto.RegisterType((*KeyRotation)(nil), "docker.swarmkit.v1.KeyRotation") proto.RegisterType((*UpdateClusterRequest)(nil), "docker.swarmkit.v1.UpdateClusterRequest") @@ -994,6 +3392,7 @@ func init() { proto.RegisterType((*UpdateSecretResponse)(nil), "docker.swarmkit.v1.UpdateSecretResponse") proto.RegisterType((*ListSecretsRequest)(nil), "docker.swarmkit.v1.ListSecretsRequest") proto.RegisterType((*ListSecretsRequest_Filters)(nil), "docker.swarmkit.v1.ListSecretsRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListSecretsRequest.Filters.LabelsEntry") proto.RegisterType((*ListSecretsResponse)(nil), "docker.swarmkit.v1.ListSecretsResponse") proto.RegisterType((*CreateSecretRequest)(nil), "docker.swarmkit.v1.CreateSecretRequest") proto.RegisterType((*CreateSecretResponse)(nil), "docker.swarmkit.v1.CreateSecretResponse") @@ -1005,6 +3404,7 @@ func init() { proto.RegisterType((*UpdateConfigResponse)(nil), "docker.swarmkit.v1.UpdateConfigResponse") proto.RegisterType((*ListConfigsRequest)(nil), "docker.swarmkit.v1.ListConfigsRequest") proto.RegisterType((*ListConfigsRequest_Filters)(nil), "docker.swarmkit.v1.ListConfigsRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListConfigsRequest.Filters.LabelsEntry") proto.RegisterType((*ListConfigsResponse)(nil), "docker.swarmkit.v1.ListConfigsResponse") proto.RegisterType((*CreateConfigRequest)(nil), "docker.swarmkit.v1.CreateConfigRequest") proto.RegisterType((*CreateConfigResponse)(nil), "docker.swarmkit.v1.CreateConfigResponse") @@ -1026,8 +3426,189 @@ func init() { proto.RegisterType((*GetResourceResponse)(nil), "docker.swarmkit.v1.GetResourceResponse") proto.RegisterType((*ListResourcesRequest)(nil), "docker.swarmkit.v1.ListResourcesRequest") proto.RegisterType((*ListResourcesRequest_Filters)(nil), "docker.swarmkit.v1.ListResourcesRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListResourcesRequest.Filters.LabelsEntry") proto.RegisterType((*ListResourcesResponse)(nil), "docker.swarmkit.v1.ListResourcesResponse") - proto.RegisterEnum("docker.swarmkit.v1.UpdateServiceRequest_Rollback", UpdateServiceRequest_Rollback_name, UpdateServiceRequest_Rollback_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/control.proto", fileDescriptor_b37401dd08bf8930) +} + +var fileDescriptor_b37401dd08bf8930 = []byte{ + // 2760 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x49, 0x6f, 0x1b, 0xc9, + 0x15, 0x16, 0x29, 0x4a, 0x22, 0x1f, 0xb5, 0xb9, 0x2c, 0x8f, 0x35, 0xb4, 0x23, 0x19, 0xed, 0x8d, + 0x76, 0x1c, 0x72, 0x86, 0xce, 0x64, 0x1c, 0xcf, 0x38, 0x89, 0x65, 0x79, 0xa1, 0x17, 0xd9, 0x68, + 0xc9, 0x46, 0x72, 0x08, 0x04, 0x8a, 0x2c, 0x69, 0xda, 0xa4, 0xba, 0x99, 0xee, 0xa6, 0xc7, 0x42, + 0x90, 0x20, 0x8b, 0x83, 0x39, 0x05, 0xc8, 0x25, 0x40, 0x90, 0x43, 0x80, 0x9c, 0x02, 0xe4, 0x90, + 0x43, 0x4e, 0x39, 0xe4, 0x07, 0x18, 0x39, 0xcd, 0x71, 0x4e, 0x4a, 0x46, 0x46, 0x80, 0x9c, 0xf2, + 0x17, 0x12, 0xd4, 0xd6, 0x4b, 0xb1, 0x7a, 0xe1, 0x02, 0x78, 0x4e, 0x12, 0xab, 0xbf, 0xb7, 0x54, + 0xbd, 0xd7, 0x5f, 0x55, 0xbf, 0x57, 0x70, 0x65, 0xcf, 0x70, 0x3f, 0xe9, 0xed, 0x54, 0x9a, 0xd6, + 0x7e, 0xb5, 0x65, 0x35, 0xdb, 0xd8, 0xae, 0x3a, 0x9f, 0x36, 0xec, 0xfd, 0xb6, 0xe1, 0x56, 0x1b, + 0x5d, 0xa3, 0xda, 0xb4, 0x4c, 0xd7, 0xb6, 0x3a, 0x95, 0xae, 0x6d, 0xb9, 0x16, 0x42, 0x0c, 0x52, + 0x11, 0x90, 0xca, 0x8b, 0xf7, 0x4b, 0x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63, 0x76, 0xec, 0x1c, 0xbe, 0x29, 0x71, 0xf8, 0x47, 0x03, 0x3a, 0xa7, 0xa4, 0xf1, 0x3e, + 0x8e, 0xcc, 0x25, 0x70, 0xe4, 0x54, 0x98, 0x23, 0x47, 0x61, 0xc1, 0xc7, 0xb0, 0x14, 0x76, 0x97, + 0x27, 0xcd, 0x87, 0x90, 0xe7, 0x41, 0x14, 0x5c, 0x18, 0x9b, 0x35, 0x1e, 0x58, 0xbb, 0x06, 0xa5, + 0x80, 0x42, 0xb2, 0x0b, 0xf4, 0x1c, 0x3f, 0xba, 0x25, 0x49, 0x6d, 0x21, 0x20, 0xf9, 0x8b, 0x2c, + 0x9c, 0x52, 0x8a, 0x72, 0x97, 0x7e, 0x00, 0x79, 0x87, 0x8f, 0x71, 0x97, 0x6e, 0x24, 0xac, 0xbe, + 0xac, 0xa2, 0x12, 0x1a, 0xd7, 0x3d, 0x75, 0xa5, 0xcf, 0x32, 0x30, 0x17, 0x7a, 0x36, 0x20, 0xd3, + 0x9c, 0x05, 0xb1, 0xed, 0x6d, 0xb3, 0xed, 0x83, 0xac, 0x73, 0x4e, 0x9f, 0xe5, 0x83, 0x74, 0x8f, + 0x21, 0x20, 0xbb, 0x67, 0x9a, 0x86, 0xb9, 0xc7, 0x41, 0x93, 0x0c, 0xc4, 0x07, 0xb7, 0xc2, 0x1b, + 0xca, 0x06, 0x76, 0x3f, 0xb5, 0xec, 0xf6, 0x00, 0x1b, 0x0a, 0x97, 0x50, 0x6d, 0x28, 0x9e, 0x32, + 0x9f, 0x12, 0x4c, 0x36, 0x14, 0x47, 0x09, 0x42, 0x4a, 0x60, 0xb5, 0xa7, 0x74, 0x43, 0x91, 0x3c, + 0x43, 0x90, 0x23, 0x89, 0xca, 0xd3, 0x8d, 0xfe, 0x4f, 0x56, 0x8f, 0xcb, 0x90, 0xd5, 0xcb, 0xfa, + 0xab, 0xc7, 0x65, 0xc9, 0xea, 0x71, 0x40, 0xbd, 0xc5, 0xf7, 0x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0x7d, 0xb8, 0x0b, + 0x18, 0x99, 0xf4, 0x72, 0x4b, 0x2f, 0x3e, 0xe9, 0x45, 0xfb, 0x29, 0x3a, 0xe9, 0xa5, 0x9e, 0x59, + 0x74, 0xd2, 0xcb, 0x9d, 0xac, 0xc4, 0xa4, 0x17, 0x13, 0x8e, 0x49, 0x7a, 0x69, 0xce, 0x97, 0x52, + 0x20, 0x53, 0xe6, 0x5d, 0xac, 0x71, 0x55, 0xdb, 0x35, 0x2e, 0xef, 0x52, 0x1a, 0x67, 0x71, 0xe6, + 0xf5, 0xf7, 0xc8, 0x38, 0x87, 0x3b, 0x1b, 0x91, 0x71, 0x96, 0x8a, 0xff, 0x09, 0x71, 0x16, 0xad, + 0xa1, 0xe8, 0x38, 0x4b, 0xfd, 0xac, 0xe8, 0x38, 0xcb, 0x5d, 0xa6, 0x44, 0x7e, 0x11, 0x13, 0x8e, + 0xe1, 0x17, 0x69, 0xce, 0x97, 0x52, 0x20, 0x13, 0x37, 0x4b, 0xaf, 0x29, 0xa1, 0xde, 0x2c, 0xe5, + 0x96, 0x47, 0xe9, 0x7c, 0x02, 0x2a, 0x71, 0x9d, 0x83, 0x1d, 0x00, 0xf5, 0x3a, 0x2b, 0xba, 0x1b, + 0xa5, 0x72, 0x32, 0x30, 0xde, 0x72, 0x0f, 0x8a, 0x81, 0x3a, 0x36, 0xba, 0x90, 0xae, 0xf4, 0x5e, + 0xba, 0x98, 0x88, 0x4b, 0x9c, 0x70, 0xb0, 0x4c, 0xad, 0x9e, 0xb0, 0xa2, 0x26, 0x5e, 0x2a, 0x27, + 0x03, 0x13, 0x2d, 0x07, 0x4b, 0xd2, 0x6a, 0xcb, 0x8a, 0xb2, 0x77, 0xa9, 0x9c, 0x0c, 0x4c, 0x93, + 0x55, 0xac, 0xa8, 0x15, 0x99, 0x55, 0xa1, 0xaa, 0x59, 0x64, 0x56, 0x49, 0x95, 0xb1, 0xa4, 0xac, + 0xe2, 0x36, 0x63, 0xb2, 0x2a, 0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5, 0xd1, 0x4a, 0xe6, 0xf3, + 0xa3, 0x95, 0xcc, 0xbf, 0x8e, 0x56, 0x32, 0xbf, 0x79, 0xb3, 0x32, 0xf1, 0xf9, 0x9b, 0x95, 0x89, + 0x2f, 0xde, 0xac, 0x4c, 0xec, 0x4c, 0xd3, 0x4a, 0xe8, 0xd5, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, + 0x61, 0x29, 0x54, 0xa3, 0xb7, 0x38, 0x00, 0x00, } type authenticatedWrapperControlServer struct { @@ -1376,7 +3957,7 @@ func (m *GetNodeResponse) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &Node{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } } @@ -1395,7 +3976,7 @@ func (m *ListNodesRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListNodesRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -1470,7 +4051,7 @@ func (m *ListNodesResponse) CopyFrom(src interface{}) { m.Nodes = make([]*Node, len(o.Nodes)) for i := range m.Nodes { m.Nodes[i] = &Node{} - deepcopy.Copy(m.Nodes[i], o.Nodes[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Nodes[i], o.Nodes[i]) } } @@ -1491,11 +4072,11 @@ func (m *UpdateNodeRequest) CopyFrom(src interface{}) { *m = *o if o.NodeVersion != nil { m.NodeVersion = &Version{} - deepcopy.Copy(m.NodeVersion, o.NodeVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.NodeVersion, o.NodeVersion) } if o.Spec != nil { m.Spec = &NodeSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -1514,7 +4095,7 @@ func (m *UpdateNodeResponse) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &Node{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } } @@ -1573,7 +4154,7 @@ func (m *GetTaskResponse) CopyFrom(src interface{}) { *m = *o if o.Task != nil { m.Task = &Task{} - deepcopy.Copy(m.Task, o.Task) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Task, o.Task) } } @@ -1617,7 +4198,7 @@ func (m *ListTasksRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListTasksRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -1695,7 +4276,7 @@ func (m *ListTasksResponse) CopyFrom(src interface{}) { m.Tasks = make([]*Task, len(o.Tasks)) for i := range m.Tasks { m.Tasks[i] = &Task{} - deepcopy.Copy(m.Tasks[i], o.Tasks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Tasks[i], o.Tasks[i]) } } @@ -1716,7 +4297,7 @@ func (m *CreateServiceRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &ServiceSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -1735,7 +4316,7 @@ func (m *CreateServiceResponse) CopyFrom(src interface{}) { *m = *o if o.Service != nil { m.Service = &Service{} - deepcopy.Copy(m.Service, o.Service) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Service, o.Service) } } @@ -1769,7 +4350,7 @@ func (m *GetServiceResponse) CopyFrom(src interface{}) { *m = *o if o.Service != nil { m.Service = &Service{} - deepcopy.Copy(m.Service, o.Service) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Service, o.Service) } } @@ -1788,11 +4369,11 @@ func (m *UpdateServiceRequest) CopyFrom(src interface{}) { *m = *o if o.ServiceVersion != nil { m.ServiceVersion = &Version{} - deepcopy.Copy(m.ServiceVersion, o.ServiceVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ServiceVersion, o.ServiceVersion) } if o.Spec != nil { m.Spec = &ServiceSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -1811,7 +4392,7 @@ func (m *UpdateServiceResponse) CopyFrom(src interface{}) { *m = *o if o.Service != nil { m.Service = &Service{} - deepcopy.Copy(m.Service, o.Service) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Service, o.Service) } } @@ -1855,7 +4436,7 @@ func (m *ListServicesRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListServicesRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -1918,7 +4499,7 @@ func (m *ListServicesResponse) CopyFrom(src interface{}) { m.Services = make([]*Service, len(o.Services)) for i := range m.Services { m.Services[i] = &Service{} - deepcopy.Copy(m.Services[i], o.Services[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Services[i], o.Services[i]) } } @@ -1961,7 +4542,7 @@ func (m *ListServiceStatusesResponse) CopyFrom(src interface{}) { m.Statuses = make([]*ListServiceStatusesResponse_ServiceStatus, len(o.Statuses)) for i := range m.Statuses { m.Statuses[i] = &ListServiceStatusesResponse_ServiceStatus{} - deepcopy.Copy(m.Statuses[i], o.Statuses[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Statuses[i], o.Statuses[i]) } } @@ -1997,7 +4578,7 @@ func (m *CreateNetworkRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &NetworkSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2016,7 +4597,7 @@ func (m *CreateNetworkResponse) CopyFrom(src interface{}) { *m = *o if o.Network != nil { m.Network = &Network{} - deepcopy.Copy(m.Network, o.Network) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Network, o.Network) } } @@ -2050,7 +4631,7 @@ func (m *GetNetworkResponse) CopyFrom(src interface{}) { *m = *o if o.Network != nil { m.Network = &Network{} - deepcopy.Copy(m.Network, o.Network) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Network, o.Network) } } @@ -2094,7 +4675,7 @@ func (m *ListNetworksRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListNetworksRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2152,7 +4733,7 @@ func (m *ListNetworksResponse) CopyFrom(src interface{}) { m.Networks = make([]*Network, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &Network{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } @@ -2188,7 +4769,7 @@ func (m *GetClusterResponse) CopyFrom(src interface{}) { *m = *o if o.Cluster != nil { m.Cluster = &Cluster{} - deepcopy.Copy(m.Cluster, o.Cluster) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Cluster, o.Cluster) } } @@ -2207,7 +4788,7 @@ func (m *ListClustersRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListClustersRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2265,7 +4846,7 @@ func (m *ListClustersResponse) CopyFrom(src interface{}) { m.Clusters = make([]*Cluster, len(o.Clusters)) for i := range m.Clusters { m.Clusters[i] = &Cluster{} - deepcopy.Copy(m.Clusters[i], o.Clusters[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Clusters[i], o.Clusters[i]) } } @@ -2301,13 +4882,13 @@ func (m *UpdateClusterRequest) CopyFrom(src interface{}) { *m = *o if o.ClusterVersion != nil { m.ClusterVersion = &Version{} - deepcopy.Copy(m.ClusterVersion, o.ClusterVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ClusterVersion, o.ClusterVersion) } if o.Spec != nil { m.Spec = &ClusterSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } - deepcopy.Copy(&m.Rotation, &o.Rotation) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Rotation, &o.Rotation) } func (m *UpdateClusterResponse) Copy() *UpdateClusterResponse { @@ -2325,7 +4906,7 @@ func (m *UpdateClusterResponse) CopyFrom(src interface{}) { *m = *o if o.Cluster != nil { m.Cluster = &Cluster{} - deepcopy.Copy(m.Cluster, o.Cluster) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Cluster, o.Cluster) } } @@ -2359,7 +4940,7 @@ func (m *GetSecretResponse) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -2378,11 +4959,11 @@ func (m *UpdateSecretRequest) CopyFrom(src interface{}) { *m = *o if o.SecretVersion != nil { m.SecretVersion = &Version{} - deepcopy.Copy(m.SecretVersion, o.SecretVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SecretVersion, o.SecretVersion) } if o.Spec != nil { m.Spec = &SecretSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2401,7 +4982,7 @@ func (m *UpdateSecretResponse) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -2420,7 +5001,7 @@ func (m *ListSecretsRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListSecretsRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2478,7 +5059,7 @@ func (m *ListSecretsResponse) CopyFrom(src interface{}) { m.Secrets = make([]*Secret, len(o.Secrets)) for i := range m.Secrets { m.Secrets[i] = &Secret{} - deepcopy.Copy(m.Secrets[i], o.Secrets[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secrets[i], o.Secrets[i]) } } @@ -2499,7 +5080,7 @@ func (m *CreateSecretRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &SecretSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2518,7 +5099,7 @@ func (m *CreateSecretResponse) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -2577,7 +5158,7 @@ func (m *GetConfigResponse) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &Config{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -2596,11 +5177,11 @@ func (m *UpdateConfigRequest) CopyFrom(src interface{}) { *m = *o if o.ConfigVersion != nil { m.ConfigVersion = &Version{} - deepcopy.Copy(m.ConfigVersion, o.ConfigVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ConfigVersion, o.ConfigVersion) } if o.Spec != nil { m.Spec = &ConfigSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2619,7 +5200,7 @@ func (m *UpdateConfigResponse) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &Config{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -2638,7 +5219,7 @@ func (m *ListConfigsRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListConfigsRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2696,7 +5277,7 @@ func (m *ListConfigsResponse) CopyFrom(src interface{}) { m.Configs = make([]*Config, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &Config{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -2717,7 +5298,7 @@ func (m *CreateConfigRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &ConfigSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2736,7 +5317,7 @@ func (m *CreateConfigResponse) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &Config{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -2780,7 +5361,7 @@ func (m *CreateExtensionRequest) CopyFrom(src interface{}) { *m = *o if o.Annotations != nil { m.Annotations = &Annotations{} - deepcopy.Copy(m.Annotations, o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Annotations, o.Annotations) } } @@ -2799,7 +5380,7 @@ func (m *CreateExtensionResponse) CopyFrom(src interface{}) { *m = *o if o.Extension != nil { m.Extension = &Extension{} - deepcopy.Copy(m.Extension, o.Extension) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Extension, o.Extension) } } @@ -2858,7 +5439,7 @@ func (m *GetExtensionResponse) CopyFrom(src interface{}) { *m = *o if o.Extension != nil { m.Extension = &Extension{} - deepcopy.Copy(m.Extension, o.Extension) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Extension, o.Extension) } } @@ -2877,11 +5458,11 @@ func (m *CreateResourceRequest) CopyFrom(src interface{}) { *m = *o if o.Annotations != nil { m.Annotations = &Annotations{} - deepcopy.Copy(m.Annotations, o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Annotations, o.Annotations) } if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -2900,7 +5481,7 @@ func (m *CreateResourceResponse) CopyFrom(src interface{}) { *m = *o if o.Resource != nil { m.Resource = &Resource{} - deepcopy.Copy(m.Resource, o.Resource) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resource, o.Resource) } } @@ -2944,15 +5525,15 @@ func (m *UpdateResourceRequest) CopyFrom(src interface{}) { *m = *o if o.ResourceVersion != nil { m.ResourceVersion = &Version{} - deepcopy.Copy(m.ResourceVersion, o.ResourceVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ResourceVersion, o.ResourceVersion) } if o.Annotations != nil { m.Annotations = &Annotations{} - deepcopy.Copy(m.Annotations, o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Annotations, o.Annotations) } if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -2971,7 +5552,7 @@ func (m *UpdateResourceResponse) CopyFrom(src interface{}) { *m = *o if o.Resource != nil { m.Resource = &Resource{} - deepcopy.Copy(m.Resource, o.Resource) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resource, o.Resource) } } @@ -3005,7 +5586,7 @@ func (m *GetResourceResponse) CopyFrom(src interface{}) { *m = *o if o.Resource != nil { m.Resource = &Resource{} - deepcopy.Copy(m.Resource, o.Resource) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resource, o.Resource) } } @@ -3024,7 +5605,7 @@ func (m *ListResourcesRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListResourcesRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -3082,7 +5663,7 @@ func (m *ListResourcesResponse) CopyFrom(src interface{}) { m.Resources = make([]*Resource, len(o.Resources)) for i := range m.Resources { m.Resources[i] = &Resource{} - deepcopy.Copy(m.Resources[i], o.Resources[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources[i], o.Resources[i]) } } @@ -3096,8 +5677,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Control service - +// 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. 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) @@ -3241,7 +5823,7 @@ func NewControlClient(cc *grpc.ClientConn) ControlClient { func (c *controlClient) GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error) { out := new(GetNodeResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNode", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNode", in, out, opts...) if err != nil { return nil, err } @@ -3250,7 +5832,7 @@ func (c *controlClient) GetNode(ctx context.Context, in *GetNodeRequest, opts .. func (c *controlClient) ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error) { out := new(ListNodesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNodes", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNodes", in, out, opts...) if err != nil { return nil, err } @@ -3259,7 +5841,7 @@ func (c *controlClient) ListNodes(ctx context.Context, in *ListNodesRequest, opt func (c *controlClient) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error) { out := new(UpdateNodeResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateNode", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateNode", in, out, opts...) if err != nil { return nil, err } @@ -3268,7 +5850,7 @@ func (c *controlClient) UpdateNode(ctx context.Context, in *UpdateNodeRequest, o func (c *controlClient) RemoveNode(ctx context.Context, in *RemoveNodeRequest, opts ...grpc.CallOption) (*RemoveNodeResponse, error) { out := new(RemoveNodeResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNode", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNode", in, out, opts...) if err != nil { return nil, err } @@ -3277,7 +5859,7 @@ func (c *controlClient) RemoveNode(ctx context.Context, in *RemoveNodeRequest, o func (c *controlClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) { out := new(GetTaskResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetTask", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetTask", in, out, opts...) if err != nil { return nil, err } @@ -3286,7 +5868,7 @@ func (c *controlClient) GetTask(ctx context.Context, in *GetTaskRequest, opts .. func (c *controlClient) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) { out := new(ListTasksResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListTasks", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListTasks", in, out, opts...) if err != nil { return nil, err } @@ -3295,7 +5877,7 @@ func (c *controlClient) ListTasks(ctx context.Context, in *ListTasksRequest, opt func (c *controlClient) RemoveTask(ctx context.Context, in *RemoveTaskRequest, opts ...grpc.CallOption) (*RemoveTaskResponse, error) { out := new(RemoveTaskResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveTask", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveTask", in, out, opts...) if err != nil { return nil, err } @@ -3304,7 +5886,7 @@ func (c *controlClient) RemoveTask(ctx context.Context, in *RemoveTaskRequest, o func (c *controlClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*GetServiceResponse, error) { out := new(GetServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetService", in, out, opts...) if err != nil { return nil, err } @@ -3313,7 +5895,7 @@ func (c *controlClient) GetService(ctx context.Context, in *GetServiceRequest, o func (c *controlClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { out := new(ListServicesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServices", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServices", in, out, opts...) if err != nil { return nil, err } @@ -3322,7 +5904,7 @@ func (c *controlClient) ListServices(ctx context.Context, in *ListServicesReques func (c *controlClient) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*CreateServiceResponse, error) { out := new(CreateServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateService", in, out, opts...) if err != nil { return nil, err } @@ -3331,7 +5913,7 @@ func (c *controlClient) CreateService(ctx context.Context, in *CreateServiceRequ func (c *controlClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*UpdateServiceResponse, error) { out := new(UpdateServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateService", in, out, opts...) if err != nil { return nil, err } @@ -3340,7 +5922,7 @@ func (c *controlClient) UpdateService(ctx context.Context, in *UpdateServiceRequ func (c *controlClient) RemoveService(ctx context.Context, in *RemoveServiceRequest, opts ...grpc.CallOption) (*RemoveServiceResponse, error) { out := new(RemoveServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveService", in, out, opts...) if err != nil { return nil, err } @@ -3349,7 +5931,7 @@ func (c *controlClient) RemoveService(ctx context.Context, in *RemoveServiceRequ func (c *controlClient) ListServiceStatuses(ctx context.Context, in *ListServiceStatusesRequest, opts ...grpc.CallOption) (*ListServiceStatusesResponse, error) { out := new(ListServiceStatusesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServiceStatuses", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServiceStatuses", in, out, opts...) if err != nil { return nil, err } @@ -3358,7 +5940,7 @@ func (c *controlClient) ListServiceStatuses(ctx context.Context, in *ListService func (c *controlClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) { out := new(GetNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNetwork", in, out, opts...) if err != nil { return nil, err } @@ -3367,7 +5949,7 @@ func (c *controlClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, o func (c *controlClient) ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error) { out := new(ListNetworksResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNetworks", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNetworks", in, out, opts...) if err != nil { return nil, err } @@ -3376,7 +5958,7 @@ func (c *controlClient) ListNetworks(ctx context.Context, in *ListNetworksReques func (c *controlClient) CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error) { out := new(CreateNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateNetwork", in, out, opts...) if err != nil { return nil, err } @@ -3385,7 +5967,7 @@ func (c *controlClient) CreateNetwork(ctx context.Context, in *CreateNetworkRequ func (c *controlClient) RemoveNetwork(ctx context.Context, in *RemoveNetworkRequest, opts ...grpc.CallOption) (*RemoveNetworkResponse, error) { out := new(RemoveNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNetwork", in, out, opts...) if err != nil { return nil, err } @@ -3394,7 +5976,7 @@ func (c *controlClient) RemoveNetwork(ctx context.Context, in *RemoveNetworkRequ func (c *controlClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*GetClusterResponse, error) { out := new(GetClusterResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetCluster", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetCluster", in, out, opts...) if err != nil { return nil, err } @@ -3403,7 +5985,7 @@ func (c *controlClient) GetCluster(ctx context.Context, in *GetClusterRequest, o func (c *controlClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { out := new(ListClustersResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListClusters", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListClusters", in, out, opts...) if err != nil { return nil, err } @@ -3412,7 +5994,7 @@ func (c *controlClient) ListClusters(ctx context.Context, in *ListClustersReques func (c *controlClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error) { out := new(UpdateClusterResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateCluster", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateCluster", in, out, opts...) if err != nil { return nil, err } @@ -3421,7 +6003,7 @@ func (c *controlClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequ func (c *controlClient) GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error) { out := new(GetSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetSecret", in, out, opts...) if err != nil { return nil, err } @@ -3430,7 +6012,7 @@ func (c *controlClient) GetSecret(ctx context.Context, in *GetSecretRequest, opt func (c *controlClient) UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*UpdateSecretResponse, error) { out := new(UpdateSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateSecret", in, out, opts...) if err != nil { return nil, err } @@ -3439,7 +6021,7 @@ func (c *controlClient) UpdateSecret(ctx context.Context, in *UpdateSecretReques func (c *controlClient) ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) { out := new(ListSecretsResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListSecrets", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListSecrets", in, out, opts...) if err != nil { return nil, err } @@ -3448,7 +6030,7 @@ func (c *controlClient) ListSecrets(ctx context.Context, in *ListSecretsRequest, func (c *controlClient) CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*CreateSecretResponse, error) { out := new(CreateSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateSecret", in, out, opts...) if err != nil { return nil, err } @@ -3457,7 +6039,7 @@ func (c *controlClient) CreateSecret(ctx context.Context, in *CreateSecretReques func (c *controlClient) RemoveSecret(ctx context.Context, in *RemoveSecretRequest, opts ...grpc.CallOption) (*RemoveSecretResponse, error) { out := new(RemoveSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveSecret", in, out, opts...) if err != nil { return nil, err } @@ -3466,7 +6048,7 @@ func (c *controlClient) RemoveSecret(ctx context.Context, in *RemoveSecretReques func (c *controlClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) { out := new(GetConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetConfig", in, out, opts...) if err != nil { return nil, err } @@ -3475,7 +6057,7 @@ func (c *controlClient) GetConfig(ctx context.Context, in *GetConfigRequest, opt func (c *controlClient) UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*UpdateConfigResponse, error) { out := new(UpdateConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateConfig", in, out, opts...) if err != nil { return nil, err } @@ -3484,7 +6066,7 @@ func (c *controlClient) UpdateConfig(ctx context.Context, in *UpdateConfigReques func (c *controlClient) ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error) { out := new(ListConfigsResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListConfigs", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListConfigs", in, out, opts...) if err != nil { return nil, err } @@ -3493,7 +6075,7 @@ func (c *controlClient) ListConfigs(ctx context.Context, in *ListConfigsRequest, func (c *controlClient) CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*CreateConfigResponse, error) { out := new(CreateConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateConfig", in, out, opts...) if err != nil { return nil, err } @@ -3502,7 +6084,7 @@ func (c *controlClient) CreateConfig(ctx context.Context, in *CreateConfigReques func (c *controlClient) RemoveConfig(ctx context.Context, in *RemoveConfigRequest, opts ...grpc.CallOption) (*RemoveConfigResponse, error) { out := new(RemoveConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveConfig", in, out, opts...) if err != nil { return nil, err } @@ -3511,7 +6093,7 @@ func (c *controlClient) RemoveConfig(ctx context.Context, in *RemoveConfigReques func (c *controlClient) GetExtension(ctx context.Context, in *GetExtensionRequest, opts ...grpc.CallOption) (*GetExtensionResponse, error) { out := new(GetExtensionResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetExtension", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetExtension", in, out, opts...) if err != nil { return nil, err } @@ -3520,7 +6102,7 @@ func (c *controlClient) GetExtension(ctx context.Context, in *GetExtensionReques func (c *controlClient) CreateExtension(ctx context.Context, in *CreateExtensionRequest, opts ...grpc.CallOption) (*CreateExtensionResponse, error) { out := new(CreateExtensionResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateExtension", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateExtension", in, out, opts...) if err != nil { return nil, err } @@ -3529,7 +6111,7 @@ func (c *controlClient) CreateExtension(ctx context.Context, in *CreateExtension func (c *controlClient) RemoveExtension(ctx context.Context, in *RemoveExtensionRequest, opts ...grpc.CallOption) (*RemoveExtensionResponse, error) { out := new(RemoveExtensionResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveExtension", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveExtension", in, out, opts...) if err != nil { return nil, err } @@ -3538,7 +6120,7 @@ func (c *controlClient) RemoveExtension(ctx context.Context, in *RemoveExtension func (c *controlClient) GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error) { out := new(GetResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetResource", in, out, opts...) if err != nil { return nil, err } @@ -3547,7 +6129,7 @@ func (c *controlClient) GetResource(ctx context.Context, in *GetResourceRequest, func (c *controlClient) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error) { out := new(UpdateResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateResource", in, out, opts...) if err != nil { return nil, err } @@ -3556,7 +6138,7 @@ func (c *controlClient) UpdateResource(ctx context.Context, in *UpdateResourceRe func (c *controlClient) ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error) { out := new(ListResourcesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListResources", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListResources", in, out, opts...) if err != nil { return nil, err } @@ -3565,7 +6147,7 @@ func (c *controlClient) ListResources(ctx context.Context, in *ListResourcesRequ func (c *controlClient) CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error) { out := new(CreateResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateResource", in, out, opts...) if err != nil { return nil, err } @@ -3574,15 +6156,14 @@ func (c *controlClient) CreateResource(ctx context.Context, in *CreateResourceRe func (c *controlClient) RemoveResource(ctx context.Context, in *RemoveResourceRequest, opts ...grpc.CallOption) (*RemoveResourceResponse, error) { out := new(RemoveResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveResource", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Control service - +// ControlServer is the server API for Control service. type ControlServer interface { GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error) ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error) @@ -8990,6 +11571,9 @@ func (p *raftProxyControlServer) RemoveResource(ctx context.Context, r *RemoveRe } func (m *GetNodeRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -9000,6 +11584,9 @@ func (m *GetNodeRequest) Size() (n int) { } func (m *GetNodeResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -9010,6 +11597,9 @@ func (m *GetNodeResponse) Size() (n int) { } func (m *ListNodesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9020,6 +11610,9 @@ func (m *ListNodesRequest) Size() (n int) { } func (m *ListNodesRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9070,6 +11663,9 @@ func (m *ListNodesRequest_Filters) Size() (n int) { } func (m *ListNodesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Nodes) > 0 { @@ -9082,6 +11678,9 @@ func (m *ListNodesResponse) Size() (n int) { } func (m *UpdateNodeRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -9100,6 +11699,9 @@ func (m *UpdateNodeRequest) Size() (n int) { } func (m *UpdateNodeResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -9110,6 +11712,9 @@ func (m *UpdateNodeResponse) Size() (n int) { } func (m *RemoveNodeRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -9123,12 +11728,18 @@ func (m *RemoveNodeRequest) Size() (n int) { } func (m *RemoveNodeResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetTaskRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TaskID) @@ -9139,6 +11750,9 @@ func (m *GetTaskRequest) Size() (n int) { } func (m *GetTaskResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -9149,6 +11763,9 @@ func (m *GetTaskResponse) Size() (n int) { } func (m *RemoveTaskRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TaskID) @@ -9159,12 +11776,18 @@ func (m *RemoveTaskRequest) Size() (n int) { } func (m *RemoveTaskResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ListTasksRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9175,6 +11798,9 @@ func (m *ListTasksRequest) Size() (n int) { } func (m *ListTasksRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9233,6 +11859,9 @@ func (m *ListTasksRequest_Filters) Size() (n int) { } func (m *ListTasksResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Tasks) > 0 { @@ -9245,6 +11874,9 @@ func (m *ListTasksResponse) Size() (n int) { } func (m *CreateServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9255,6 +11887,9 @@ func (m *CreateServiceRequest) Size() (n int) { } func (m *CreateServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -9265,6 +11900,9 @@ func (m *CreateServiceResponse) Size() (n int) { } func (m *GetServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9278,6 +11916,9 @@ func (m *GetServiceRequest) Size() (n int) { } func (m *GetServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -9288,6 +11929,9 @@ func (m *GetServiceResponse) Size() (n int) { } func (m *UpdateServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9309,6 +11953,9 @@ func (m *UpdateServiceRequest) Size() (n int) { } func (m *UpdateServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -9319,6 +11966,9 @@ func (m *UpdateServiceResponse) Size() (n int) { } func (m *RemoveServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9329,12 +11979,18 @@ func (m *RemoveServiceRequest) Size() (n int) { } func (m *RemoveServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ListServicesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9345,6 +12001,9 @@ func (m *ListServicesRequest) Size() (n int) { } func (m *ListServicesRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9383,6 +12042,9 @@ func (m *ListServicesRequest_Filters) Size() (n int) { } func (m *ListServicesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Services) > 0 { @@ -9395,6 +12057,9 @@ func (m *ListServicesResponse) Size() (n int) { } func (m *ListServiceStatusesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Services) > 0 { @@ -9407,6 +12072,9 @@ func (m *ListServiceStatusesRequest) Size() (n int) { } func (m *ListServiceStatusesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Statuses) > 0 { @@ -9419,6 +12087,9 @@ func (m *ListServiceStatusesResponse) Size() (n int) { } func (m *ListServiceStatusesResponse_ServiceStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9435,6 +12106,9 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Size() (n int) { } func (m *CreateNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9445,6 +12119,9 @@ func (m *CreateNetworkRequest) Size() (n int) { } func (m *CreateNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -9455,6 +12132,9 @@ func (m *CreateNetworkResponse) Size() (n int) { } func (m *GetNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -9469,6 +12149,9 @@ func (m *GetNetworkRequest) Size() (n int) { } func (m *GetNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -9479,6 +12162,9 @@ func (m *GetNetworkResponse) Size() (n int) { } func (m *RemoveNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -9493,12 +12179,18 @@ func (m *RemoveNetworkRequest) Size() (n int) { } func (m *RemoveNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ListNetworksRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9509,6 +12201,9 @@ func (m *ListNetworksRequest) Size() (n int) { } func (m *ListNetworksRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9541,6 +12236,9 @@ func (m *ListNetworksRequest_Filters) Size() (n int) { } func (m *ListNetworksResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Networks) > 0 { @@ -9553,6 +12251,9 @@ func (m *ListNetworksResponse) Size() (n int) { } func (m *GetClusterRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ClusterID) @@ -9563,6 +12264,9 @@ func (m *GetClusterRequest) Size() (n int) { } func (m *GetClusterResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -9573,6 +12277,9 @@ func (m *GetClusterResponse) Size() (n int) { } func (m *ListClustersRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9583,6 +12290,9 @@ func (m *ListClustersRequest) Size() (n int) { } func (m *ListClustersRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9615,6 +12325,9 @@ func (m *ListClustersRequest_Filters) Size() (n int) { } func (m *ListClustersResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Clusters) > 0 { @@ -9627,6 +12340,9 @@ func (m *ListClustersResponse) Size() (n int) { } func (m *KeyRotation) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.WorkerJoinToken { @@ -9642,6 +12358,9 @@ func (m *KeyRotation) Size() (n int) { } func (m *UpdateClusterRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ClusterID) @@ -9662,6 +12381,9 @@ func (m *UpdateClusterRequest) Size() (n int) { } func (m *UpdateClusterResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -9672,6 +12394,9 @@ func (m *UpdateClusterResponse) Size() (n int) { } func (m *GetSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -9682,6 +12407,9 @@ func (m *GetSecretRequest) Size() (n int) { } func (m *GetSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -9692,6 +12420,9 @@ func (m *GetSecretResponse) Size() (n int) { } func (m *UpdateSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -9710,6 +12441,9 @@ func (m *UpdateSecretRequest) Size() (n int) { } func (m *UpdateSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -9720,6 +12454,9 @@ func (m *UpdateSecretResponse) Size() (n int) { } func (m *ListSecretsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9730,6 +12467,9 @@ func (m *ListSecretsRequest) Size() (n int) { } func (m *ListSecretsRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9762,6 +12502,9 @@ func (m *ListSecretsRequest_Filters) Size() (n int) { } func (m *ListSecretsResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Secrets) > 0 { @@ -9774,6 +12517,9 @@ func (m *ListSecretsResponse) Size() (n int) { } func (m *CreateSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9784,6 +12530,9 @@ func (m *CreateSecretRequest) Size() (n int) { } func (m *CreateSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -9794,6 +12543,9 @@ func (m *CreateSecretResponse) Size() (n int) { } func (m *RemoveSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -9804,12 +12556,18 @@ func (m *RemoveSecretRequest) Size() (n int) { } func (m *RemoveSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -9820,6 +12578,9 @@ func (m *GetConfigRequest) Size() (n int) { } func (m *GetConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -9830,6 +12591,9 @@ func (m *GetConfigResponse) Size() (n int) { } func (m *UpdateConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -9848,6 +12612,9 @@ func (m *UpdateConfigRequest) Size() (n int) { } func (m *UpdateConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -9858,6 +12625,9 @@ func (m *UpdateConfigResponse) Size() (n int) { } func (m *ListConfigsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9868,6 +12638,9 @@ func (m *ListConfigsRequest) Size() (n int) { } func (m *ListConfigsRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9900,6 +12673,9 @@ func (m *ListConfigsRequest_Filters) Size() (n int) { } func (m *ListConfigsResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Configs) > 0 { @@ -9912,6 +12688,9 @@ func (m *ListConfigsResponse) Size() (n int) { } func (m *CreateConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9922,6 +12701,9 @@ func (m *CreateConfigRequest) Size() (n int) { } func (m *CreateConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -9932,6 +12714,9 @@ func (m *CreateConfigResponse) Size() (n int) { } func (m *RemoveConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -9942,12 +12727,18 @@ func (m *RemoveConfigRequest) Size() (n int) { } func (m *RemoveConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *CreateExtensionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Annotations != nil { @@ -9962,6 +12753,9 @@ func (m *CreateExtensionRequest) Size() (n int) { } func (m *CreateExtensionResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -9972,6 +12766,9 @@ func (m *CreateExtensionResponse) Size() (n int) { } func (m *RemoveExtensionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ExtensionID) @@ -9982,12 +12779,18 @@ func (m *RemoveExtensionRequest) Size() (n int) { } func (m *RemoveExtensionResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetExtensionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ExtensionID) @@ -9998,6 +12801,9 @@ func (m *GetExtensionRequest) Size() (n int) { } func (m *GetExtensionResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -10008,6 +12814,9 @@ func (m *GetExtensionResponse) Size() (n int) { } func (m *CreateResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Annotations != nil { @@ -10026,6 +12835,9 @@ func (m *CreateResourceRequest) Size() (n int) { } func (m *CreateResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -10036,6 +12848,9 @@ func (m *CreateResourceResponse) Size() (n int) { } func (m *RemoveResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -10046,12 +12861,18 @@ func (m *RemoveResourceRequest) Size() (n int) { } func (m *RemoveResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *UpdateResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -10074,6 +12895,9 @@ func (m *UpdateResourceRequest) Size() (n int) { } func (m *UpdateResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -10084,6 +12908,9 @@ func (m *UpdateResourceResponse) Size() (n int) { } func (m *GetResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -10094,6 +12921,9 @@ func (m *GetResourceRequest) Size() (n int) { } func (m *GetResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -10104,6 +12934,9 @@ func (m *GetResourceResponse) Size() (n int) { } func (m *ListResourcesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -10114,6 +12947,9 @@ func (m *ListResourcesRequest) Size() (n int) { } func (m *ListResourcesRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -10150,6 +12986,9 @@ func (m *ListResourcesRequest_Filters) Size() (n int) { } func (m *ListResourcesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Resources) > 0 { @@ -10212,7 +13051,7 @@ func (this *ListNodesRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10222,7 +13061,7 @@ func (this *ListNodesRequest_Filters) String() string { for k, _ := range this.NodeLabels { keysForNodeLabels = append(keysForNodeLabels, k) } - sortkeys.Strings(keysForNodeLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForNodeLabels) mapStringForNodeLabels := "map[string]string{" for _, k := range keysForNodeLabels { mapStringForNodeLabels += fmt.Sprintf("%v: %v,", k, this.NodeLabels[k]) @@ -10349,7 +13188,7 @@ func (this *ListTasksRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10480,7 +13319,7 @@ func (this *ListServicesRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10617,7 +13456,7 @@ func (this *ListNetworksRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10680,7 +13519,7 @@ func (this *ListClustersRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10800,7 +13639,7 @@ func (this *ListSecretsRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10924,7 +13763,7 @@ func (this *ListConfigsRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -11055,7 +13894,7 @@ func (this *CreateResourceRequest) String() string { s := strings.Join([]string{`&CreateResourceRequest{`, `Annotations:` + strings.Replace(fmt.Sprintf("%v", this.Annotations), "Annotations", "Annotations", 1) + `,`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -11097,7 +13936,7 @@ func (this *UpdateResourceRequest) String() string { `ResourceID:` + fmt.Sprintf("%v", this.ResourceID) + `,`, `ResourceVersion:` + strings.Replace(fmt.Sprintf("%v", this.ResourceVersion), "Version", "Version", 1) + `,`, `Annotations:` + strings.Replace(fmt.Sprintf("%v", this.Annotations), "Annotations", "Annotations", 1) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -11150,7 +13989,7 @@ func (this *ListResourcesRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -11199,7 +14038,7 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11227,7 +14066,7 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11237,6 +14076,9 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11251,6 +14093,9 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11278,7 +14123,7 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11306,7 +14151,7 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11315,6 +14160,9 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11334,6 +14182,9 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11361,7 +14212,7 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11389,7 +14240,7 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11398,6 +14249,9 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11417,6 +14271,9 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11444,7 +14301,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11472,7 +14329,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11482,6 +14339,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11501,7 +14361,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11511,6 +14371,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11530,7 +14393,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11539,6 +14402,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11559,7 +14425,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11576,7 +14442,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11586,6 +14452,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -11602,7 +14471,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11612,6 +14481,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -11646,7 +14518,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeSpec_Membership(b) & 0x7F) << shift + v |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -11663,7 +14535,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11672,9 +14544,16 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.Memberships) == 0 { + m.Memberships = make([]NodeSpec_Membership, 0, elementCount) + } for iNdEx < postIndex { var v NodeSpec_Membership for shift := uint(0); ; shift += 7 { @@ -11686,7 +14565,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeSpec_Membership(b) & 0x7F) << shift + v |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -11708,7 +14587,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeRole(b) & 0x7F) << shift + v |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -11725,7 +14604,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11734,9 +14613,16 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.Roles) == 0 { + m.Roles = make([]NodeRole, 0, elementCount) + } for iNdEx < postIndex { var v NodeRole for shift := uint(0); ; shift += 7 { @@ -11748,7 +14634,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeRole(b) & 0x7F) << shift + v |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -11772,7 +14658,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11782,6 +14668,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11801,7 +14690,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11810,6 +14699,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11830,7 +14722,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11847,7 +14739,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11857,6 +14749,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -11873,7 +14768,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11883,6 +14778,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -11914,6 +14812,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11941,7 +14842,7 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11969,7 +14870,7 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11978,6 +14879,9 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11995,6 +14899,9 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12022,7 +14929,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12050,7 +14957,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12060,6 +14967,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12079,7 +14989,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12088,6 +14998,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12112,7 +15025,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12121,6 +15034,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12140,6 +15056,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12167,7 +15086,7 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12195,7 +15114,7 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12204,6 +15123,9 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12223,6 +15145,9 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12250,7 +15175,7 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12278,7 +15203,7 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12288,6 +15213,9 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12307,7 +15235,7 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12322,6 +15250,9 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12349,7 +15280,7 @@ func (m *RemoveNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12372,6 +15303,9 @@ func (m *RemoveNodeResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12399,7 +15333,7 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12427,7 +15361,7 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12437,6 +15371,9 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12451,6 +15388,9 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12478,7 +15418,7 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12506,7 +15446,7 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12515,6 +15455,9 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12534,6 +15477,9 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12561,7 +15507,7 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12589,7 +15535,7 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12599,6 +15545,9 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12613,6 +15562,9 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12640,7 +15592,7 @@ func (m *RemoveTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12663,6 +15615,9 @@ func (m *RemoveTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12690,7 +15645,7 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12718,7 +15673,7 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12727,6 +15682,9 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12746,6 +15704,9 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12773,7 +15734,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12801,7 +15762,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12811,6 +15772,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12830,7 +15794,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12840,6 +15804,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12859,7 +15826,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12868,6 +15835,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12888,7 +15858,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12905,7 +15875,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12915,6 +15885,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -12931,7 +15904,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12941,6 +15914,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -12977,7 +15953,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12987,6 +15963,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13006,7 +15985,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13016,6 +15995,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13033,7 +16015,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskState(b) & 0x7F) << shift + v |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -13050,7 +16032,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13059,9 +16041,16 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.DesiredStates) == 0 { + m.DesiredStates = make([]TaskState, 0, elementCount) + } for iNdEx < postIndex { var v TaskState for shift := uint(0); ; shift += 7 { @@ -13073,7 +16062,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskState(b) & 0x7F) << shift + v |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -13097,7 +16086,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13107,6 +16096,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13126,7 +16118,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13146,7 +16138,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13156,6 +16148,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13170,6 +16165,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13197,7 +16195,7 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13225,7 +16223,7 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13234,6 +16232,9 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13251,6 +16252,9 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13278,7 +16282,7 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13306,7 +16310,7 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13315,6 +16319,9 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13334,6 +16341,9 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13361,7 +16371,7 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13389,7 +16399,7 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13398,6 +16408,9 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13417,6 +16430,9 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13444,7 +16460,7 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13472,7 +16488,7 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13482,6 +16498,9 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13501,7 +16520,7 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13516,6 +16535,9 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13543,7 +16565,7 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13571,7 +16593,7 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13580,6 +16602,9 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13599,6 +16624,9 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13626,7 +16654,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13654,7 +16682,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13664,6 +16692,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13683,7 +16714,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13692,6 +16723,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13716,7 +16750,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13725,6 +16759,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13749,7 +16786,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Rollback |= (UpdateServiceRequest_Rollback(b) & 0x7F) << shift + m.Rollback |= UpdateServiceRequest_Rollback(b&0x7F) << shift if b < 0x80 { break } @@ -13763,6 +16800,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13790,7 +16830,7 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13818,7 +16858,7 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13827,6 +16867,9 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13846,6 +16889,9 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13873,7 +16919,7 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13901,7 +16947,7 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13911,6 +16957,9 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13925,6 +16974,9 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13952,7 +17004,7 @@ func (m *RemoveServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13975,6 +17027,9 @@ func (m *RemoveServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14002,7 +17057,7 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14030,7 +17085,7 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14039,6 +17094,9 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14058,6 +17116,9 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14085,7 +17146,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14113,7 +17174,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14123,6 +17184,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14142,7 +17206,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14152,6 +17216,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14171,7 +17238,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14180,6 +17247,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14200,7 +17270,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14217,7 +17287,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14227,6 +17297,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -14243,7 +17316,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14253,6 +17326,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -14289,7 +17365,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14299,6 +17375,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14318,7 +17397,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14328,6 +17407,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14342,6 +17424,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14369,7 +17454,7 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14397,7 +17482,7 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14406,6 +17491,9 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14423,6 +17511,9 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14450,7 +17541,7 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14478,7 +17569,7 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14488,6 +17579,9 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14502,6 +17596,9 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14529,7 +17626,7 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14557,7 +17654,7 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14566,6 +17663,9 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14583,6 +17683,9 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14610,7 +17713,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14638,7 +17741,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14648,6 +17751,9 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14667,7 +17773,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.DesiredTasks |= (uint64(b) & 0x7F) << shift + m.DesiredTasks |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14686,7 +17792,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.RunningTasks |= (uint64(b) & 0x7F) << shift + m.RunningTasks |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14700,6 +17806,9 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14727,7 +17836,7 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14755,7 +17864,7 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14764,6 +17873,9 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14783,6 +17895,9 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14810,7 +17925,7 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14838,7 +17953,7 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14847,6 +17962,9 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14866,6 +17984,9 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14893,7 +18014,7 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14921,7 +18042,7 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14931,6 +18052,9 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14950,7 +18074,7 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14960,6 +18084,9 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14974,6 +18101,9 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15001,7 +18131,7 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15029,7 +18159,7 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15038,6 +18168,9 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15057,6 +18190,9 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15084,7 +18220,7 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15112,7 +18248,7 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15122,6 +18258,9 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15141,7 +18280,7 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15151,6 +18290,9 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15165,6 +18307,9 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15192,7 +18337,7 @@ func (m *RemoveNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15215,6 +18360,9 @@ func (m *RemoveNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15242,7 +18390,7 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15270,7 +18418,7 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15279,6 +18427,9 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15298,6 +18449,9 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15325,7 +18479,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15353,7 +18507,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15363,6 +18517,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15382,7 +18539,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15392,6 +18549,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15411,7 +18571,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15420,6 +18580,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15440,7 +18603,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15457,7 +18620,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15467,6 +18630,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -15483,7 +18649,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15493,6 +18659,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -15529,7 +18698,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15539,6 +18708,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15553,6 +18725,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15580,7 +18755,7 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15608,7 +18783,7 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15617,6 +18792,9 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15634,6 +18812,9 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15661,7 +18842,7 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15689,7 +18870,7 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15699,6 +18880,9 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15713,6 +18897,9 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15740,7 +18927,7 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15768,7 +18955,7 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15777,6 +18964,9 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15796,6 +18986,9 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15823,7 +19016,7 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15851,7 +19044,7 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15860,6 +19053,9 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15879,6 +19075,9 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15906,7 +19105,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15934,7 +19133,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15944,6 +19143,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15963,7 +19165,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15973,6 +19175,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15992,7 +19197,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16001,6 +19206,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16021,7 +19229,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16038,7 +19246,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16048,6 +19256,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -16064,7 +19275,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16074,6 +19285,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -16110,7 +19324,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16120,6 +19334,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16134,6 +19351,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16161,7 +19381,7 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16189,7 +19409,7 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16198,6 +19418,9 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16215,6 +19438,9 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16242,7 +19468,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16270,7 +19496,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16290,7 +19516,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16310,7 +19536,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16325,6 +19551,9 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16352,7 +19581,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16380,7 +19609,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16390,6 +19619,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16409,7 +19641,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16418,6 +19650,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16442,7 +19677,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16451,6 +19686,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16475,7 +19713,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16484,6 +19722,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16500,6 +19741,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16527,7 +19771,7 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16555,7 +19799,7 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16564,6 +19808,9 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16583,6 +19830,9 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16610,7 +19860,7 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16638,7 +19888,7 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16648,6 +19898,9 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16662,6 +19915,9 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16689,7 +19945,7 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16717,7 +19973,7 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16726,6 +19982,9 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16745,6 +20004,9 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16772,7 +20034,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16800,7 +20062,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16810,6 +20072,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16829,7 +20094,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16838,6 +20103,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16862,7 +20130,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16871,6 +20139,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16890,6 +20161,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16917,7 +20191,7 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16945,7 +20219,7 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16954,6 +20228,9 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16973,6 +20250,9 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17000,7 +20280,7 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17028,7 +20308,7 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17037,6 +20317,9 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17056,6 +20339,9 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17083,7 +20369,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17111,7 +20397,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17121,6 +20407,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17140,7 +20429,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17150,6 +20439,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17169,7 +20461,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17178,6 +20470,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17198,7 +20493,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17215,7 +20510,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17225,6 +20520,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -17241,7 +20539,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17251,6 +20549,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -17287,7 +20588,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17297,6 +20598,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17311,6 +20615,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17338,7 +20645,7 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17366,7 +20673,7 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17375,6 +20682,9 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17392,6 +20702,9 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17419,7 +20732,7 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17447,7 +20760,7 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17456,6 +20769,9 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17475,6 +20791,9 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17502,7 +20821,7 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17530,7 +20849,7 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17539,6 +20858,9 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17558,6 +20880,9 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17585,7 +20910,7 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17613,7 +20938,7 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17623,6 +20948,9 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17637,6 +20965,9 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17664,7 +20995,7 @@ func (m *RemoveSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17687,6 +21018,9 @@ func (m *RemoveSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17714,7 +21048,7 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17742,7 +21076,7 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17752,6 +21086,9 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17766,6 +21103,9 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17793,7 +21133,7 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17821,7 +21161,7 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17830,6 +21170,9 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17849,6 +21192,9 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17876,7 +21222,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17904,7 +21250,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17914,6 +21260,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17933,7 +21282,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17942,6 +21291,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17966,7 +21318,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17975,6 +21327,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17994,6 +21349,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18021,7 +21379,7 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18049,7 +21407,7 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18058,6 +21416,9 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18077,6 +21438,9 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18104,7 +21468,7 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18132,7 +21496,7 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18141,6 +21505,9 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18160,6 +21527,9 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18187,7 +21557,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18215,7 +21585,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18225,6 +21595,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18244,7 +21617,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18254,6 +21627,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18273,7 +21649,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18282,6 +21658,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18302,7 +21681,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18319,7 +21698,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18329,6 +21708,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -18345,7 +21727,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18355,6 +21737,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -18391,7 +21776,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18401,6 +21786,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18415,6 +21803,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18442,7 +21833,7 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18470,7 +21861,7 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18479,6 +21870,9 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18496,6 +21890,9 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18523,7 +21920,7 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18551,7 +21948,7 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18560,6 +21957,9 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18579,6 +21979,9 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18606,7 +22009,7 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18634,7 +22037,7 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18643,6 +22046,9 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18662,6 +22068,9 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18689,7 +22098,7 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18717,7 +22126,7 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18727,6 +22136,9 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18741,6 +22153,9 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18768,7 +22183,7 @@ func (m *RemoveConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18791,6 +22206,9 @@ func (m *RemoveConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18818,7 +22236,7 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18846,7 +22264,7 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18855,6 +22273,9 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18879,7 +22300,7 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18889,6 +22310,9 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18903,6 +22327,9 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18930,7 +22357,7 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18958,7 +22385,7 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18967,6 +22394,9 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18986,6 +22416,9 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19013,7 +22446,7 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19041,7 +22474,7 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19051,6 +22484,9 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19065,6 +22501,9 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19092,7 +22531,7 @@ func (m *RemoveExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19115,6 +22554,9 @@ func (m *RemoveExtensionResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19142,7 +22584,7 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19170,7 +22612,7 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19180,6 +22622,9 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19194,6 +22639,9 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19221,7 +22669,7 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19249,7 +22697,7 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19258,6 +22706,9 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19277,6 +22728,9 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19304,7 +22758,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19332,7 +22786,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19341,6 +22795,9 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19365,7 +22822,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19375,6 +22832,9 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19394,7 +22854,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19403,11 +22863,14 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -19422,6 +22885,9 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19449,7 +22915,7 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19477,7 +22943,7 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19486,6 +22952,9 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19505,6 +22974,9 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19532,7 +23004,7 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19560,7 +23032,7 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19570,6 +23042,9 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19584,6 +23059,9 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19611,7 +23089,7 @@ func (m *RemoveResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19634,6 +23112,9 @@ func (m *RemoveResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19661,7 +23142,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19689,7 +23170,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19699,6 +23180,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19718,7 +23202,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19727,6 +23211,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19751,7 +23238,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19760,6 +23247,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19784,7 +23274,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19793,11 +23283,14 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -19812,6 +23305,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19839,7 +23335,7 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19867,7 +23363,7 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19876,6 +23372,9 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19895,6 +23394,9 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19922,7 +23424,7 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19950,7 +23452,7 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19960,6 +23462,9 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19974,6 +23479,9 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20001,7 +23509,7 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20029,7 +23537,7 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20038,6 +23546,9 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20057,6 +23568,9 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20084,7 +23598,7 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20112,7 +23626,7 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20121,6 +23635,9 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20140,6 +23657,9 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20167,7 +23687,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20195,7 +23715,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20205,6 +23725,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20224,7 +23747,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20234,6 +23757,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20253,7 +23779,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20262,6 +23788,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20282,7 +23811,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20299,7 +23828,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20309,6 +23838,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -20325,7 +23857,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20335,6 +23867,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -20371,7 +23906,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20381,6 +23916,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20400,7 +23938,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20410,6 +23948,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20424,6 +23965,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20451,7 +23995,7 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20479,7 +24023,7 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20488,6 +24032,9 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20505,6 +24052,9 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20571,10 +24121,13 @@ func skipControl(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthControl } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthControl + } return iNdEx, nil case 3: for { @@ -20603,6 +24156,9 @@ func skipControl(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthControl + } } return iNdEx, nil case 4: @@ -20621,181 +24177,3 @@ var ( ErrInvalidLengthControl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowControl = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/control.proto", fileDescriptorControl) } - -var fileDescriptorControl = []byte{ - // 2744 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x49, 0x6f, 0x1b, 0xc9, - 0x15, 0x36, 0x29, 0x4a, 0x22, 0x1f, 0xb5, 0xb9, 0x2c, 0xdb, 0x1c, 0xda, 0x91, 0x8c, 0xf6, 0x46, - 0x3b, 0x0e, 0x39, 0x43, 0x67, 0x32, 0x8e, 0x67, 0x9c, 0xc4, 0xb2, 0xbc, 0xd0, 0x8b, 0x6c, 0xb4, - 0x64, 0x23, 0x39, 0x04, 0x02, 0x45, 0x96, 0x34, 0x6d, 0x52, 0xdd, 0x4c, 0x77, 0xd3, 0x63, 0x21, - 0x48, 0x90, 0xc5, 0xc1, 0x9c, 0x72, 0x0c, 0x10, 0xe4, 0x10, 0x20, 0xa7, 0x00, 0x39, 0xe4, 0x90, - 0x53,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e7, 0x6b, 0x98, 0x0b, 0x36, 0x0e, 0xd1, 0xe5, 0x94, 0x9d, 0xd0, 0x72, 0x25, - 0x19, 0x18, 0xaf, 0xf9, 0xc7, 0x30, 0x1f, 0xba, 0x26, 0x81, 0x94, 0x33, 0xaa, 0xae, 0x65, 0x94, - 0xaf, 0xa4, 0x40, 0x26, 0x2a, 0x0f, 0x75, 0xd9, 0xd5, 0xca, 0x55, 0x7d, 0x7d, 0xb5, 0x72, 0x65, - 0xcb, 0x3e, 0x46, 0x79, 0xa8, 0x99, 0xae, 0x56, 0xae, 0xea, 0xda, 0xab, 0x95, 0xab, 0x3b, 0xf3, - 0x11, 0xca, 0x7f, 0x9d, 0x09, 0x35, 0xec, 0x45, 0x6f, 0x15, 0x55, 0x53, 0x37, 0x61, 0x99, 0x25, - 0xb5, 0x21, 0x9b, 0xb6, 0xf1, 0x49, 0xcf, 0x3b, 0x3a, 0x91, 0x49, 0x1f, 0xee, 0x02, 0x46, 0x26, - 0xbd, 0xdc, 0xd2, 0x8b, 0x4f, 0x7a, 0xd1, 0x7e, 0x8a, 0x4e, 0x7a, 0xa9, 0x67, 0x16, 0x9d, 0xf4, - 0x72, 0x27, 0x2b, 0x31, 0xe9, 0xc5, 0x82, 0x63, 0x92, 0x5e, 0x5a, 0xf3, 0x95, 0x14, 0xc8, 0x94, - 0x79, 0x17, 0xab, 0x5c, 0xd5, 0x76, 0x8d, 0xcb, 0xbb, 0x94, 0xca, 0x59, 0x9c, 0x79, 0xfd, 0x3d, - 0x32, 0xce, 0xe1, 0xce, 0x46, 0x64, 0x9c, 0xa5, 0xe2, 0x7f, 0x42, 0x9c, 0x45, 0x6b, 0x28, 0x3a, - 0xce, 0x52, 0x3f, 0x2b, 0x3a, 0xce, 0x72, 0x97, 0x29, 0x91, 0x5f, 0xc4, 0x82, 0x63, 0xf8, 0x45, - 0x5a, 0xf3, 0x95, 0x14, 0xc8, 0xc4, 0xcd, 0xd2, 0x6b, 0x4a, 0xa8, 0x37, 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xb5, 0xe5, 0x4a, 0x55, 0xa2, 0xf2, 0xe5, 0x44, 0x5c, 0xbc, 0xda, 0x9f, 0xc2, - 0x42, 0xb8, 0x9e, 0x85, 0x62, 0x36, 0x3e, 0x59, 0xf9, 0xd5, 0x34, 0xd0, 0xc4, 0x1d, 0x3a, 0x54, - 0xe1, 0x40, 0x95, 0xb4, 0xc5, 0x1a, 0xf5, 0x0e, 0xad, 0x2c, 0x97, 0xc4, 0x2c, 0x3e, 0x5c, 0x8a, - 0x45, 0x31, 0xa7, 0xbb, 0x54, 0x8b, 0x57, 0x57, 0x76, 0x63, 0xf4, 0x87, 0x8b, 0xad, 0x28, 0xe6, - 0x80, 0x97, 0x4a, 0x7f, 0x44, 0xed, 0x56, 0xad, 0x7f, 0xad, 0xf4, 0xf6, 0x8b, 0x95, 0x63, 0xff, - 0xfc, 0x62, 0xe5, 0xd8, 0xcf, 0x8e, 0x56, 0x32, 0x6f, 0x8f, 0x56, 0x32, 0xff, 0x38, 0x5a, 0xc9, - 0xfc, 0xfb, 0x68, 0x25, 0xb3, 0x33, 0x43, 0xab, 0x9f, 0xd7, 0xbf, 0x0c, 0x00, 0x00, 0xff, 0xff, - 0x83, 0x6a, 0xc0, 0xe5, 0xab, 0x38, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go b/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go index f72d3d9995..3d76cbf8a7 100644 --- a/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go +++ b/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go @@ -3,33 +3,28 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" -import _ "github.com/gogo/protobuf/types" - -import time "time" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import types "github.com/gogo/protobuf/types" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + _ "github.com/gogo/protobuf/types" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" + time "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -37,6 +32,12 @@ var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type AssignmentChange_AssignmentAction int32 const ( @@ -48,6 +49,7 @@ var AssignmentChange_AssignmentAction_name = map[int32]string{ 0: "UPDATE", 1: "REMOVE", } + var AssignmentChange_AssignmentAction_value = map[string]int32{ "UPDATE": 0, "REMOVE": 1, @@ -56,8 +58,9 @@ var AssignmentChange_AssignmentAction_value = map[string]int32{ func (x AssignmentChange_AssignmentAction) String() string { return proto.EnumName(AssignmentChange_AssignmentAction_name, int32(x)) } + func (AssignmentChange_AssignmentAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{10, 0} + return fileDescriptor_71002346457e55a8, []int{10, 0} } // AssignmentType specifies whether this assignment message carries @@ -73,6 +76,7 @@ var AssignmentsMessage_Type_name = map[int32]string{ 0: "COMPLETE", 1: "INCREMENTAL", } + var AssignmentsMessage_Type_value = map[string]int32{ "COMPLETE": 0, "INCREMENTAL": 1, @@ -81,13 +85,14 @@ var AssignmentsMessage_Type_value = map[string]int32{ func (x AssignmentsMessage_Type) String() string { return proto.EnumName(AssignmentsMessage_Type_name, int32(x)) } + func (AssignmentsMessage_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{11, 0} + return fileDescriptor_71002346457e55a8, []int{11, 0} } // SessionRequest starts a session. type SessionRequest struct { - Description *NodeDescription `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` + Description *NodeDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // SessionID can be provided to attempt resuming an existing session. If the // SessionID is empty or invalid, a new SessionID will be assigned. // @@ -95,9 +100,37 @@ type SessionRequest struct { SessionID string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *SessionRequest) Reset() { *m = SessionRequest{} } -func (*SessionRequest) ProtoMessage() {} -func (*SessionRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{0} } +func (m *SessionRequest) Reset() { *m = SessionRequest{} } +func (*SessionRequest) ProtoMessage() {} +func (*SessionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{0} +} +func (m *SessionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SessionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionRequest.Merge(m, src) +} +func (m *SessionRequest) XXX_Size() int { + return m.Size() +} +func (m *SessionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SessionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SessionRequest proto.InternalMessageInfo // SessionMessage instructs an agent on various actions as part of the current // session. An agent should act immediately on the contents. @@ -147,55 +180,165 @@ type SessionMessage struct { // directly in the RPC message set. SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Node identifies the registering node. - Node *Node `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"` + Node *Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // Managers provides a weight list of alternative dispatchers - Managers []*WeightedPeer `protobuf:"bytes,3,rep,name=managers" json:"managers,omitempty"` + Managers []*WeightedPeer `protobuf:"bytes,3,rep,name=managers,proto3" json:"managers,omitempty"` // Symmetric encryption key distributed by the lead manager. Used by agents // for securing network bootstrapping and communication. - NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,4,rep,name=network_bootstrap_keys,json=networkBootstrapKeys" json:"network_bootstrap_keys,omitempty"` + NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,4,rep,name=network_bootstrap_keys,json=networkBootstrapKeys,proto3" json:"network_bootstrap_keys,omitempty"` // Which root certificates to trust RootCA []byte `protobuf:"bytes,5,opt,name=RootCA,proto3" json:"RootCA,omitempty"` } -func (m *SessionMessage) Reset() { *m = SessionMessage{} } -func (*SessionMessage) ProtoMessage() {} -func (*SessionMessage) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{1} } +func (m *SessionMessage) Reset() { *m = SessionMessage{} } +func (*SessionMessage) ProtoMessage() {} +func (*SessionMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{1} +} +func (m *SessionMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SessionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SessionMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SessionMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionMessage.Merge(m, src) +} +func (m *SessionMessage) XXX_Size() int { + return m.Size() +} +func (m *SessionMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SessionMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SessionMessage proto.InternalMessageInfo // HeartbeatRequest provides identifying properties for a single heartbeat. type HeartbeatRequest struct { SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *HeartbeatRequest) Reset() { *m = HeartbeatRequest{} } -func (*HeartbeatRequest) ProtoMessage() {} -func (*HeartbeatRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{2} } +func (m *HeartbeatRequest) Reset() { *m = HeartbeatRequest{} } +func (*HeartbeatRequest) ProtoMessage() {} +func (*HeartbeatRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{2} +} +func (m *HeartbeatRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HeartbeatRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HeartbeatRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatRequest.Merge(m, src) +} +func (m *HeartbeatRequest) XXX_Size() int { + return m.Size() +} +func (m *HeartbeatRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatRequest proto.InternalMessageInfo 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,stdduration" json:"period"` + Period time.Duration `protobuf:"bytes,1,opt,name=period,proto3,stdduration" json:"period"` } -func (m *HeartbeatResponse) Reset() { *m = HeartbeatResponse{} } -func (*HeartbeatResponse) ProtoMessage() {} -func (*HeartbeatResponse) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{3} } +func (m *HeartbeatResponse) Reset() { *m = HeartbeatResponse{} } +func (*HeartbeatResponse) ProtoMessage() {} +func (*HeartbeatResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{3} +} +func (m *HeartbeatResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HeartbeatResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HeartbeatResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatResponse.Merge(m, src) +} +func (m *HeartbeatResponse) XXX_Size() int { + return m.Size() +} +func (m *HeartbeatResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatResponse proto.InternalMessageInfo type UpdateTaskStatusRequest struct { // Tasks should contain all statuses for running tasks. Only the status // field must be set. The spec is not required. SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` - Updates []*UpdateTaskStatusRequest_TaskStatusUpdate `protobuf:"bytes,3,rep,name=updates" json:"updates,omitempty"` + Updates []*UpdateTaskStatusRequest_TaskStatusUpdate `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"` } func (m *UpdateTaskStatusRequest) Reset() { *m = UpdateTaskStatusRequest{} } func (*UpdateTaskStatusRequest) ProtoMessage() {} func (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{4} + return fileDescriptor_71002346457e55a8, []int{4} } +func (m *UpdateTaskStatusRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateTaskStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateTaskStatusRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateTaskStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskStatusRequest.Merge(m, src) +} +func (m *UpdateTaskStatusRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateTaskStatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTaskStatusRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTaskStatusRequest proto.InternalMessageInfo type UpdateTaskStatusRequest_TaskStatusUpdate struct { TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - Status *TaskStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + Status *TaskStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Reset() { @@ -203,8 +346,34 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Reset() { } func (*UpdateTaskStatusRequest_TaskStatusUpdate) ProtoMessage() {} func (*UpdateTaskStatusRequest_TaskStatusUpdate) Descriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{4, 0} + return fileDescriptor_71002346457e55a8, []int{4, 0} } +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate.Merge(m, src) +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Size() int { + return m.Size() +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate proto.InternalMessageInfo type UpdateTaskStatusResponse struct { } @@ -212,34 +381,144 @@ type UpdateTaskStatusResponse struct { func (m *UpdateTaskStatusResponse) Reset() { *m = UpdateTaskStatusResponse{} } func (*UpdateTaskStatusResponse) ProtoMessage() {} func (*UpdateTaskStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{5} + return fileDescriptor_71002346457e55a8, []int{5} } +func (m *UpdateTaskStatusResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateTaskStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateTaskStatusResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateTaskStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskStatusResponse.Merge(m, src) +} +func (m *UpdateTaskStatusResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateTaskStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTaskStatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTaskStatusResponse proto.InternalMessageInfo type TasksRequest struct { SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *TasksRequest) Reset() { *m = TasksRequest{} } -func (*TasksRequest) ProtoMessage() {} -func (*TasksRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{6} } +func (m *TasksRequest) Reset() { *m = TasksRequest{} } +func (*TasksRequest) ProtoMessage() {} +func (*TasksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{6} +} +func (m *TasksRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TasksRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TasksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TasksRequest.Merge(m, src) +} +func (m *TasksRequest) XXX_Size() int { + return m.Size() +} +func (m *TasksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TasksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TasksRequest proto.InternalMessageInfo type TasksMessage struct { // Tasks is the set of tasks that should be running on the node. // Tasks outside of this set running on the node should be terminated. - Tasks []*Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` + Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *TasksMessage) Reset() { *m = TasksMessage{} } -func (*TasksMessage) ProtoMessage() {} -func (*TasksMessage) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{7} } +func (m *TasksMessage) Reset() { *m = TasksMessage{} } +func (*TasksMessage) ProtoMessage() {} +func (*TasksMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{7} +} +func (m *TasksMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TasksMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TasksMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TasksMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_TasksMessage.Merge(m, src) +} +func (m *TasksMessage) XXX_Size() int { + return m.Size() +} +func (m *TasksMessage) XXX_DiscardUnknown() { + xxx_messageInfo_TasksMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_TasksMessage proto.InternalMessageInfo type AssignmentsRequest struct { SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *AssignmentsRequest) Reset() { *m = AssignmentsRequest{} } -func (*AssignmentsRequest) ProtoMessage() {} -func (*AssignmentsRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{8} } +func (m *AssignmentsRequest) Reset() { *m = AssignmentsRequest{} } +func (*AssignmentsRequest) ProtoMessage() {} +func (*AssignmentsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{8} +} +func (m *AssignmentsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssignmentsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AssignmentsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignmentsRequest.Merge(m, src) +} +func (m *AssignmentsRequest) XXX_Size() int { + return m.Size() +} +func (m *AssignmentsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AssignmentsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AssignmentsRequest proto.InternalMessageInfo type Assignment struct { // Types that are valid to be assigned to Item: @@ -249,9 +528,37 @@ type Assignment struct { Item isAssignment_Item `protobuf_oneof:"item"` } -func (m *Assignment) Reset() { *m = Assignment{} } -func (*Assignment) ProtoMessage() {} -func (*Assignment) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{9} } +func (m *Assignment) Reset() { *m = Assignment{} } +func (*Assignment) ProtoMessage() {} +func (*Assignment) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{9} +} +func (m *Assignment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Assignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Assignment.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Assignment) XXX_Merge(src proto.Message) { + xxx_messageInfo_Assignment.Merge(m, src) +} +func (m *Assignment) XXX_Size() int { + return m.Size() +} +func (m *Assignment) XXX_DiscardUnknown() { + xxx_messageInfo_Assignment.DiscardUnknown(m) +} + +var xxx_messageInfo_Assignment proto.InternalMessageInfo type isAssignment_Item interface { isAssignment_Item() @@ -260,13 +567,13 @@ type isAssignment_Item interface { } type Assignment_Task struct { - Task *Task `protobuf:"bytes,1,opt,name=task,oneof"` + Task *Task `protobuf:"bytes,1,opt,name=task,proto3,oneof"` } type Assignment_Secret struct { - Secret *Secret `protobuf:"bytes,2,opt,name=secret,oneof"` + Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3,oneof"` } type Assignment_Config struct { - Config *Config `protobuf:"bytes,3,opt,name=config,oneof"` + Config *Config `protobuf:"bytes,3,opt,name=config,proto3,oneof"` } func (*Assignment_Task) isAssignment_Item() {} @@ -374,17 +681,17 @@ func _Assignment_OneofSizer(msg proto.Message) (n int) { switch x := m.Item.(type) { case *Assignment_Task: s := proto.Size(x.Task) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Assignment_Secret: s := proto.Size(x.Secret) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Assignment_Config: s := proto.Size(x.Config) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -395,13 +702,41 @@ func _Assignment_OneofSizer(msg proto.Message) (n int) { } type AssignmentChange struct { - Assignment *Assignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"` + 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 (m *AssignmentChange) Reset() { *m = AssignmentChange{} } -func (*AssignmentChange) ProtoMessage() {} -func (*AssignmentChange) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{10} } +func (m *AssignmentChange) Reset() { *m = AssignmentChange{} } +func (*AssignmentChange) ProtoMessage() {} +func (*AssignmentChange) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{10} +} +func (m *AssignmentChange) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssignmentChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssignmentChange.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AssignmentChange) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignmentChange.Merge(m, src) +} +func (m *AssignmentChange) XXX_Size() int { + return m.Size() +} +func (m *AssignmentChange) XXX_DiscardUnknown() { + xxx_messageInfo_AssignmentChange.DiscardUnknown(m) +} + +var xxx_messageInfo_AssignmentChange proto.InternalMessageInfo type AssignmentsMessage struct { Type AssignmentsMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.AssignmentsMessage_Type" json:"type,omitempty"` @@ -416,14 +751,44 @@ type AssignmentsMessage struct { // 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" json:"changes,omitempty"` + Changes []*AssignmentChange `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` } -func (m *AssignmentsMessage) Reset() { *m = AssignmentsMessage{} } -func (*AssignmentsMessage) ProtoMessage() {} -func (*AssignmentsMessage) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{11} } +func (m *AssignmentsMessage) Reset() { *m = AssignmentsMessage{} } +func (*AssignmentsMessage) ProtoMessage() {} +func (*AssignmentsMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{11} +} +func (m *AssignmentsMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssignmentsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssignmentsMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AssignmentsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignmentsMessage.Merge(m, src) +} +func (m *AssignmentsMessage) XXX_Size() int { + return m.Size() +} +func (m *AssignmentsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_AssignmentsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_AssignmentsMessage proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.AssignmentChange_AssignmentAction", AssignmentChange_AssignmentAction_name, AssignmentChange_AssignmentAction_value) + proto.RegisterEnum("docker.swarmkit.v1.AssignmentsMessage_Type", AssignmentsMessage_Type_name, AssignmentsMessage_Type_value) proto.RegisterType((*SessionRequest)(nil), "docker.swarmkit.v1.SessionRequest") proto.RegisterType((*SessionMessage)(nil), "docker.swarmkit.v1.SessionMessage") proto.RegisterType((*HeartbeatRequest)(nil), "docker.swarmkit.v1.HeartbeatRequest") @@ -437,8 +802,78 @@ func init() { proto.RegisterType((*Assignment)(nil), "docker.swarmkit.v1.Assignment") proto.RegisterType((*AssignmentChange)(nil), "docker.swarmkit.v1.AssignmentChange") proto.RegisterType((*AssignmentsMessage)(nil), "docker.swarmkit.v1.AssignmentsMessage") - proto.RegisterEnum("docker.swarmkit.v1.AssignmentChange_AssignmentAction", AssignmentChange_AssignmentAction_name, AssignmentChange_AssignmentAction_value) - proto.RegisterEnum("docker.swarmkit.v1.AssignmentsMessage_Type", AssignmentsMessage_Type_name, AssignmentsMessage_Type_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/dispatcher.proto", fileDescriptor_71002346457e55a8) +} + +var fileDescriptor_71002346457e55a8 = []byte{ + // 1019 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x4f, 0x1b, 0x47, + 0x18, 0xf5, 0x18, 0xb3, 0xe0, 0xcf, 0x84, 0xba, 0xa3, 0x88, 0xba, 0x96, 0xb2, 0xb8, 0x4b, 0x82, + 0x50, 0x43, 0xd7, 0xa9, 0xfb, 0xeb, 0x50, 0x44, 0x8b, 0xb1, 0x25, 0xac, 0x04, 0x82, 0x06, 0x92, + 0x1c, 0xd1, 0x7a, 0x77, 0xb2, 0x6c, 0x8d, 0x77, 0xb6, 0x3b, 0xe3, 0xa4, 0x3e, 0x54, 0xea, 0xa1, + 0x91, 0xaa, 0x9e, 0xa2, 0x9e, 0x90, 0xaa, 0xfe, 0x0b, 0x55, 0xff, 0x0c, 0xd4, 0x53, 0x8e, 0x39, + 0xd1, 0xc6, 0xdc, 0xfb, 0x07, 0xf4, 0x54, 0xed, 0xec, 0xac, 0xed, 0x12, 0x1b, 0x0c, 0x27, 0x7b, + 0x67, 0xde, 0x7b, 0xf3, 0xf6, 0x7d, 0xdf, 0x7e, 0x03, 0x65, 0xd7, 0x13, 0x87, 0x9d, 0xa6, 0x69, + 0xb3, 0x76,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{ @@ -508,7 +943,7 @@ func (m *SessionRequest) CopyFrom(src interface{}) { *m = *o if o.Description != nil { m.Description = &NodeDescription{} - deepcopy.Copy(m.Description, o.Description) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Description, o.Description) } } @@ -527,13 +962,13 @@ func (m *SessionMessage) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &Node{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } if o.Managers != nil { m.Managers = make([]*WeightedPeer, len(o.Managers)) for i := range m.Managers { m.Managers[i] = &WeightedPeer{} - deepcopy.Copy(m.Managers[i], o.Managers[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Managers[i], o.Managers[i]) } } @@ -541,7 +976,7 @@ func (m *SessionMessage) CopyFrom(src interface{}) { m.NetworkBootstrapKeys = make([]*EncryptionKey, len(o.NetworkBootstrapKeys)) for i := range m.NetworkBootstrapKeys { m.NetworkBootstrapKeys[i] = &EncryptionKey{} - deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) } } @@ -579,7 +1014,7 @@ func (m *HeartbeatResponse) CopyFrom(src interface{}) { o := src.(*HeartbeatResponse) *m = *o - deepcopy.Copy(&m.Period, &o.Period) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Period, &o.Period) } func (m *UpdateTaskStatusRequest) Copy() *UpdateTaskStatusRequest { @@ -599,7 +1034,7 @@ func (m *UpdateTaskStatusRequest) CopyFrom(src interface{}) { m.Updates = make([]*UpdateTaskStatusRequest_TaskStatusUpdate, len(o.Updates)) for i := range m.Updates { m.Updates[i] = &UpdateTaskStatusRequest_TaskStatusUpdate{} - deepcopy.Copy(m.Updates[i], o.Updates[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Updates[i], o.Updates[i]) } } @@ -620,7 +1055,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) CopyFrom(src interface{}) { *m = *o if o.Status != nil { m.Status = &TaskStatus{} - deepcopy.Copy(m.Status, o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Status, o.Status) } } @@ -666,7 +1101,7 @@ func (m *TasksMessage) CopyFrom(src interface{}) { m.Tasks = make([]*Task, len(o.Tasks)) for i := range m.Tasks { m.Tasks[i] = &Task{} - deepcopy.Copy(m.Tasks[i], o.Tasks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Tasks[i], o.Tasks[i]) } } @@ -706,19 +1141,19 @@ func (m *Assignment) CopyFrom(src interface{}) { v := Assignment_Task{ Task: &Task{}, } - deepcopy.Copy(v.Task, o.GetTask()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Task, o.GetTask()) m.Item = &v case *Assignment_Secret: v := Assignment_Secret{ Secret: &Secret{}, } - deepcopy.Copy(v.Secret, o.GetSecret()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Secret, o.GetSecret()) m.Item = &v case *Assignment_Config: v := Assignment_Config{ Config: &Config{}, } - deepcopy.Copy(v.Config, o.GetConfig()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Config, o.GetConfig()) m.Item = &v } } @@ -740,7 +1175,7 @@ func (m *AssignmentChange) CopyFrom(src interface{}) { *m = *o if o.Assignment != nil { m.Assignment = &Assignment{} - deepcopy.Copy(m.Assignment, o.Assignment) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Assignment, o.Assignment) } } @@ -761,7 +1196,7 @@ func (m *AssignmentsMessage) CopyFrom(src interface{}) { m.Changes = make([]*AssignmentChange, len(o.Changes)) for i := range m.Changes { m.Changes[i] = &AssignmentChange{} - deepcopy.Copy(m.Changes[i], o.Changes[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Changes[i], o.Changes[i]) } } @@ -775,8 +1210,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Dispatcher service - +// 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. type DispatcherClient interface { // Session starts an agent session with the dispatcher. The session is // started after the first SessionMessage is received. @@ -818,7 +1254,7 @@ func NewDispatcherClient(cc *grpc.ClientConn) DispatcherClient { } func (c *dispatcherClient) Session(ctx context.Context, in *SessionRequest, opts ...grpc.CallOption) (Dispatcher_SessionClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Dispatcher_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Dispatcher/Session", opts...) + stream, err := c.cc.NewStream(ctx, &_Dispatcher_serviceDesc.Streams[0], "/docker.swarmkit.v1.Dispatcher/Session", opts...) if err != nil { return nil, err } @@ -851,7 +1287,7 @@ func (x *dispatcherSessionClient) Recv() (*SessionMessage, error) { func (c *dispatcherClient) Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error) { out := new(HeartbeatResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/Heartbeat", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/Heartbeat", in, out, opts...) if err != nil { return nil, err } @@ -860,15 +1296,16 @@ func (c *dispatcherClient) Heartbeat(ctx context.Context, in *HeartbeatRequest, func (c *dispatcherClient) UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...grpc.CallOption) (*UpdateTaskStatusResponse, error) { out := new(UpdateTaskStatusResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/UpdateTaskStatus", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/UpdateTaskStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } +// Deprecated: Do not use. func (c *dispatcherClient) Tasks(ctx context.Context, in *TasksRequest, opts ...grpc.CallOption) (Dispatcher_TasksClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Dispatcher_serviceDesc.Streams[1], c.cc, "/docker.swarmkit.v1.Dispatcher/Tasks", opts...) + stream, err := c.cc.NewStream(ctx, &_Dispatcher_serviceDesc.Streams[1], "/docker.swarmkit.v1.Dispatcher/Tasks", opts...) if err != nil { return nil, err } @@ -900,7 +1337,7 @@ func (x *dispatcherTasksClient) Recv() (*TasksMessage, error) { } func (c *dispatcherClient) Assignments(ctx context.Context, in *AssignmentsRequest, opts ...grpc.CallOption) (Dispatcher_AssignmentsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Dispatcher_serviceDesc.Streams[2], c.cc, "/docker.swarmkit.v1.Dispatcher/Assignments", opts...) + stream, err := c.cc.NewStream(ctx, &_Dispatcher_serviceDesc.Streams[2], "/docker.swarmkit.v1.Dispatcher/Assignments", opts...) if err != nil { return nil, err } @@ -931,8 +1368,7 @@ func (x *dispatcherAssignmentsClient) Recv() (*AssignmentsMessage, error) { return m, nil } -// Server API for Dispatcher service - +// DispatcherServer is the server API for Dispatcher service. type DispatcherServer interface { // Session starts an agent session with the dispatcher. The session is // started after the first SessionMessage is received. @@ -1240,8 +1676,8 @@ func (m *HeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { _ = l dAtA[i] = 0xa i++ - i = encodeVarintDispatcher(dAtA, i, uint64(types.SizeOfStdDuration(m.Period))) - n3, err := types.StdDurationMarshalTo(m.Period, dAtA[i:]) + i = encodeVarintDispatcher(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.Period))) + n3, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Period, dAtA[i:]) if err != nil { return 0, err } @@ -1868,6 +2304,9 @@ func (p *raftProxyDispatcherServer) Assignments(r *AssignmentsRequest, stream Di } func (m *SessionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Description != nil { @@ -1882,6 +2321,9 @@ func (m *SessionRequest) Size() (n int) { } func (m *SessionMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1912,6 +2354,9 @@ func (m *SessionMessage) Size() (n int) { } func (m *HeartbeatRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1922,14 +2367,20 @@ func (m *HeartbeatRequest) Size() (n int) { } func (m *HeartbeatResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - l = types.SizeOfStdDuration(m.Period) + l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Period) n += 1 + l + sovDispatcher(uint64(l)) return n } func (m *UpdateTaskStatusRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1946,6 +2397,9 @@ func (m *UpdateTaskStatusRequest) Size() (n int) { } func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TaskID) @@ -1960,12 +2414,18 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Size() (n int) { } func (m *UpdateTaskStatusResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *TasksRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1976,6 +2436,9 @@ func (m *TasksRequest) Size() (n int) { } func (m *TasksMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Tasks) > 0 { @@ -1988,6 +2451,9 @@ func (m *TasksMessage) Size() (n int) { } func (m *AssignmentsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1998,6 +2464,9 @@ func (m *AssignmentsRequest) Size() (n int) { } func (m *Assignment) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Item != nil { @@ -2007,6 +2476,9 @@ func (m *Assignment) Size() (n int) { } func (m *Assignment_Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -2016,6 +2488,9 @@ func (m *Assignment_Task) Size() (n int) { return n } func (m *Assignment_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -2025,6 +2500,9 @@ func (m *Assignment_Secret) Size() (n int) { return n } func (m *Assignment_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -2034,6 +2512,9 @@ func (m *Assignment_Config) Size() (n int) { return n } func (m *AssignmentChange) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Assignment != nil { @@ -2047,6 +2528,9 @@ func (m *AssignmentChange) Size() (n int) { } func (m *AssignmentsMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Type != 0 { @@ -2122,7 +2606,7 @@ func (this *HeartbeatResponse) String() string { return "nil" } s := strings.Join([]string{`&HeartbeatResponse{`, - `Period:` + strings.Replace(strings.Replace(this.Period.String(), "Duration", "google_protobuf1.Duration", 1), `&`, ``, 1) + `,`, + `Period:` + strings.Replace(strings.Replace(this.Period.String(), "Duration", "types.Duration", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -2275,7 +2759,7 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2303,7 +2787,7 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2312,6 +2796,9 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2336,7 +2823,7 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2346,6 +2833,9 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2360,6 +2850,9 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2387,7 +2880,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2415,7 +2908,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2425,6 +2918,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2444,7 +2940,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2453,6 +2949,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2477,7 +2976,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2486,6 +2985,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2508,7 +3010,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2517,6 +3019,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2539,7 +3044,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2548,6 +3053,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2565,6 +3073,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2592,7 +3103,7 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2620,7 +3131,7 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2630,6 +3141,9 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2644,6 +3158,9 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2671,7 +3188,7 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2699,7 +3216,7 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2708,10 +3225,13 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } - if err := types.StdDurationUnmarshal(&m.Period, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Period, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2724,6 +3244,9 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2751,7 +3274,7 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2779,7 +3302,7 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2789,6 +3312,9 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2808,7 +3334,7 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2817,6 +3343,9 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2834,6 +3363,9 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2861,7 +3393,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2889,7 +3421,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2899,6 +3431,9 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2918,7 +3453,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2927,6 +3462,9 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2946,6 +3484,9 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2973,7 +3514,7 @@ func (m *UpdateTaskStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2996,6 +3537,9 @@ func (m *UpdateTaskStatusResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3023,7 +3567,7 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3051,7 +3595,7 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3061,6 +3605,9 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3075,6 +3622,9 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3102,7 +3652,7 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3130,7 +3680,7 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3139,6 +3689,9 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3156,6 +3709,9 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3183,7 +3739,7 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3211,7 +3767,7 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3221,6 +3777,9 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3235,6 +3794,9 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3262,7 +3824,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3290,7 +3852,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3299,6 +3861,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3322,7 +3887,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3331,6 +3896,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3354,7 +3922,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3363,6 +3931,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3381,6 +3952,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3408,7 +3982,7 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3436,7 +4010,7 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3445,6 +4019,9 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3469,7 +4046,7 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (AssignmentChange_AssignmentAction(b) & 0x7F) << shift + m.Action |= AssignmentChange_AssignmentAction(b&0x7F) << shift if b < 0x80 { break } @@ -3483,6 +4060,9 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3510,7 +4090,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3538,7 +4118,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= (AssignmentsMessage_Type(b) & 0x7F) << shift + m.Type |= AssignmentsMessage_Type(b&0x7F) << shift if b < 0x80 { break } @@ -3557,7 +4137,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3567,6 +4147,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3586,7 +4169,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3596,6 +4179,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3615,7 +4201,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3624,6 +4210,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3641,6 +4230,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3707,10 +4299,13 @@ func skipDispatcher(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthDispatcher } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthDispatcher + } return iNdEx, nil case 3: for { @@ -3739,6 +4334,9 @@ func skipDispatcher(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthDispatcher + } } return iNdEx, nil case 4: @@ -3757,74 +4355,3 @@ var ( ErrInvalidLengthDispatcher = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDispatcher = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/dispatcher.proto", fileDescriptorDispatcher) -} - -var fileDescriptorDispatcher = []byte{ - // 1007 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x6f, 0xe3, 0x44, - 0x1c, 0xcd, 0xa4, 0xa9, 0xdb, 0xfc, 0xd2, 0x2d, 0x61, 0xb4, 0x2a, 0xc6, 0xd2, 0xa6, 0xc1, 0x65, - 0xab, 0x8a, 0x2d, 0xce, 0x12, 0xfe, 0x1d, 0xa8, 0x0a, 0x4d, 0x13, 0xa9, 0xd1, 0x6e, 0xbb, 0xd5, - 0xb4, 0xbb, 0x7b, 0xac, 0x1c, 0x7b, 0xd6, 0x35, 0x69, 0x3c, 0xc6, 0x33, 0xd9, 0x25, 0x07, 0x24, - 0x0e, 0xac, 0x84, 0x38, 0x21, 0x4e, 0x95, 0x10, 0x5f, 0x01, 0xf1, 0x31, 0x2a, 0x4e, 0x1c, 0x39, - 0x15, 0x36, 0x1f, 0x80, 0x0f, 0xc0, 0x09, 0x79, 0x3c, 0x4e, 0x42, 0x37, 0x69, 0xd3, 0x9e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 0xae, 0x0a, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/health.pb.go b/vendor/github.com/docker/swarmkit/api/health.pb.go index 453e01fc3f..48c3d243c8 100644 --- a/vendor/github.com/docker/swarmkit/api/health.pb.go +++ b/vendor/github.com/docker/swarmkit/api/health.pb.go @@ -3,32 +3,36 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type HealthCheckResponse_ServingStatus int32 const ( @@ -42,6 +46,7 @@ var HealthCheckResponse_ServingStatus_name = map[int32]string{ 1: "SERVING", 2: "NOT_SERVING", } + var HealthCheckResponse_ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, @@ -51,30 +56,116 @@ var HealthCheckResponse_ServingStatus_value = map[string]int32{ func (x HealthCheckResponse_ServingStatus) String() string { return proto.EnumName(HealthCheckResponse_ServingStatus_name, int32(x)) } + func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptorHealth, []int{1, 0} + return fileDescriptor_288522a148aed5ad, []int{1, 0} } type HealthCheckRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` } -func (m *HealthCheckRequest) Reset() { *m = HealthCheckRequest{} } -func (*HealthCheckRequest) ProtoMessage() {} -func (*HealthCheckRequest) Descriptor() ([]byte, []int) { return fileDescriptorHealth, []int{0} } +func (m *HealthCheckRequest) Reset() { *m = HealthCheckRequest{} } +func (*HealthCheckRequest) ProtoMessage() {} +func (*HealthCheckRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_288522a148aed5ad, []int{0} +} +func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthCheckRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthCheckRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckRequest.Merge(m, src) +} +func (m *HealthCheckRequest) XXX_Size() int { + return m.Size() +} +func (m *HealthCheckRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckRequest proto.InternalMessageInfo type HealthCheckResponse struct { Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=docker.swarmkit.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` } -func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } -func (*HealthCheckResponse) ProtoMessage() {} -func (*HealthCheckResponse) Descriptor() ([]byte, []int) { return fileDescriptorHealth, []int{1} } +func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } +func (*HealthCheckResponse) ProtoMessage() {} +func (*HealthCheckResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_288522a148aed5ad, []int{1} +} +func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthCheckResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthCheckResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckResponse.Merge(m, src) +} +func (m *HealthCheckResponse) XXX_Size() int { + return m.Size() +} +func (m *HealthCheckResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckResponse proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.HealthCheckResponse_ServingStatus", HealthCheckResponse_ServingStatus_name, HealthCheckResponse_ServingStatus_value) proto.RegisterType((*HealthCheckRequest)(nil), "docker.swarmkit.v1.HealthCheckRequest") proto.RegisterType((*HealthCheckResponse)(nil), "docker.swarmkit.v1.HealthCheckResponse") - proto.RegisterEnum("docker.swarmkit.v1.HealthCheckResponse_ServingStatus", HealthCheckResponse_ServingStatus_name, HealthCheckResponse_ServingStatus_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/health.proto", fileDescriptor_288522a148aed5ad) +} + +var fileDescriptor_288522a148aed5ad = []byte{ + // 328 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xcf, 0x2c, 0xc9, + 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 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0x9f, 0xbb, 0x00, 0xa3, 0x10, 0x3f, 0x17, 0xb7, 0x9f, 0x7f, 0x48, 0x3c, 0x4c, 0x80, + 0xc9, 0xa8, 0x92, 0x8b, 0x0d, 0x62, 0x91, 0x50, 0x3e, 0x17, 0x2b, 0xd8, 0x32, 0x21, 0x35, 0x82, + 0xae, 0x01, 0xfb, 0x5b, 0x4a, 0x9d, 0x48, 0x57, 0x2b, 0x89, 0x9e, 0x5a, 0xf7, 0x6e, 0x06, 0x13, + 0x3f, 0x17, 0x2f, 0x58, 0xa1, 0x6e, 0x6e, 0x62, 0x5e, 0x62, 0x7a, 0x6a, 0x91, 0x93, 0xca, 0x89, + 0x87, 0x72, 0x0c, 0x37, 0x1e, 0xca, 0x31, 0x34, 0x3c, 0x92, 0x63, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, + 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, + 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x24, 0x36, 0x70, 0xd0, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, + 0xc9, 0xe8, 0xd3, 0x02, 0x0c, 0x02, 0x00, 0x00, } type authenticatedWrapperHealthServer struct { @@ -135,8 +226,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Health service - +// 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. type HealthClient interface { Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) } @@ -151,15 +243,14 @@ func NewHealthClient(cc *grpc.ClientConn) HealthClient { func (c *healthClient) Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) { out := new(HealthCheckResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Health/Check", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Health/Check", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Health service - +// HealthServer is the server API for Health service. type HealthServer interface { Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) } @@ -364,6 +455,9 @@ func (p *raftProxyHealthServer) Check(ctx context.Context, r *HealthCheckRequest } func (m *HealthCheckRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Service) @@ -374,6 +468,9 @@ func (m *HealthCheckRequest) Size() (n int) { } func (m *HealthCheckResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Status != 0 { @@ -438,7 +535,7 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -466,7 +563,7 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -476,6 +573,9 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthHealth } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHealth + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -490,6 +590,9 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthHealth } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthHealth + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -517,7 +620,7 @@ func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -545,7 +648,7 @@ func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Status |= (HealthCheckResponse_ServingStatus(b) & 0x7F) << shift + m.Status |= HealthCheckResponse_ServingStatus(b&0x7F) << shift if b < 0x80 { break } @@ -559,6 +662,9 @@ func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthHealth } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthHealth + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -625,10 +731,13 @@ func skipHealth(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthHealth } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthHealth + } return iNdEx, nil case 3: for { @@ -657,6 +766,9 @@ func skipHealth(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthHealth + } } return iNdEx, nil case 4: @@ -675,29 +787,3 @@ var ( ErrInvalidLengthHealth = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHealth = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/health.proto", fileDescriptorHealth) } - -var fileDescriptorHealth = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xcf, 0x2c, 0xc9, - 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x2f, 0x2e, - 0x4f, 0x2c, 0xca, 0xcd, 0xce, 0x2c, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x48, 0x4d, 0xcc, 0x29, - 0xc9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0xa8, 0xd0, 0x83, 0xa9, 0xd0,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 0x9d, 0x48, 0x57, 0x2b, 0x89, 0x9e, 0x5a, 0xf7, 0x6e, 0x06, 0x13, - 0x3f, 0x17, 0x2f, 0x58, 0xa1, 0x6e, 0x6e, 0x62, 0x5e, 0x62, 0x7a, 0x6a, 0x91, 0x93, 0xc4, 0x89, - 0x87, 0x72, 0x0c, 0x37, 0x1e, 0xca, 0x31, 0x34, 0x3c, 0x92, 0x63, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, - 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x93, 0xd8, 0xc0, 0xc1, 0x6d, 0x0c, 0x08, 0x00, - 0x00, 0xff, 0xff, 0x7b, 0xf2, 0xdd, 0x23, 0x00, 0x02, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/logbroker.pb.go b/vendor/github.com/docker/swarmkit/api/logbroker.pb.go index 5456c85816..17eecbedc1 100644 --- a/vendor/github.com/docker/swarmkit/api/logbroker.pb.go +++ b/vendor/github.com/docker/swarmkit/api/logbroker.pb.go @@ -3,35 +3,38 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf "github.com/gogo/protobuf/types" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // LogStream defines the stream from which the log message came. type LogStream int32 @@ -46,6 +49,7 @@ var LogStream_name = map[int32]string{ 1: "LOG_STREAM_STDOUT", 2: "LOG_STREAM_STDERR", } + var LogStream_value = map[string]int32{ "LOG_STREAM_UNKNOWN": 0, "LOG_STREAM_STDOUT": 1, @@ -55,12 +59,15 @@ var LogStream_value = map[string]int32{ func (x LogStream) String() string { return proto.EnumName(LogStream_name, int32(x)) } -func (LogStream) EnumDescriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{0} } + +func (LogStream) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{0} +} 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,enum=docker.swarmkit.v1.LogStream" json:"streams,omitempty"` + 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"` @@ -83,12 +90,40 @@ type LogSubscriptionOptions struct { // Since indicates that only log messages produced after this timestamp // should be sent. // Note: can't use stdtime because this field is nullable. - Since *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=since" json:"since,omitempty"` + Since *types.Timestamp `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"` } -func (m *LogSubscriptionOptions) Reset() { *m = LogSubscriptionOptions{} } -func (*LogSubscriptionOptions) ProtoMessage() {} -func (*LogSubscriptionOptions) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{0} } +func (m *LogSubscriptionOptions) Reset() { *m = LogSubscriptionOptions{} } +func (*LogSubscriptionOptions) ProtoMessage() {} +func (*LogSubscriptionOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{0} +} +func (m *LogSubscriptionOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogSubscriptionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogSubscriptionOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogSubscriptionOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogSubscriptionOptions.Merge(m, src) +} +func (m *LogSubscriptionOptions) XXX_Size() int { + return m.Size() +} +func (m *LogSubscriptionOptions) XXX_DiscardUnknown() { + xxx_messageInfo_LogSubscriptionOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_LogSubscriptionOptions proto.InternalMessageInfo // LogSelector will match logs from ANY of the defined parameters. // @@ -96,14 +131,42 @@ func (*LogSubscriptionOptions) Descriptor() ([]byte, []int) { return fileDescrip // 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. type LogSelector struct { - ServiceIDs []string `protobuf:"bytes,1,rep,name=service_ids,json=serviceIds" json:"service_ids,omitempty"` - NodeIDs []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds" json:"node_ids,omitempty"` - TaskIDs []string `protobuf:"bytes,3,rep,name=task_ids,json=taskIds" json:"task_ids,omitempty"` + 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"` } -func (m *LogSelector) Reset() { *m = LogSelector{} } -func (*LogSelector) ProtoMessage() {} -func (*LogSelector) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{1} } +func (m *LogSelector) Reset() { *m = LogSelector{} } +func (*LogSelector) ProtoMessage() {} +func (*LogSelector) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{1} +} +func (m *LogSelector) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogSelector.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogSelector) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogSelector.Merge(m, src) +} +func (m *LogSelector) XXX_Size() int { + return m.Size() +} +func (m *LogSelector) XXX_DiscardUnknown() { + xxx_messageInfo_LogSelector.DiscardUnknown(m) +} + +var xxx_messageInfo_LogSelector proto.InternalMessageInfo // LogContext marks the context from which a log message was generated. type LogContext struct { @@ -112,9 +175,37 @@ type LogContext struct { TaskID string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` } -func (m *LogContext) Reset() { *m = LogContext{} } -func (*LogContext) ProtoMessage() {} -func (*LogContext) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{2} } +func (m *LogContext) Reset() { *m = LogContext{} } +func (*LogContext) ProtoMessage() {} +func (*LogContext) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{2} +} +func (m *LogContext) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogContext.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogContext.Merge(m, src) +} +func (m *LogContext) XXX_Size() int { + return m.Size() +} +func (m *LogContext) XXX_DiscardUnknown() { + xxx_messageInfo_LogContext.DiscardUnknown(m) +} + +var xxx_messageInfo_LogContext proto.InternalMessageInfo // LogAttr is an extra key/value pair that may be have been set by users type LogAttr struct { @@ -122,47 +213,159 @@ type LogAttr struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *LogAttr) Reset() { *m = LogAttr{} } -func (*LogAttr) ProtoMessage() {} -func (*LogAttr) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{3} } +func (m *LogAttr) Reset() { *m = LogAttr{} } +func (*LogAttr) ProtoMessage() {} +func (*LogAttr) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{3} +} +func (m *LogAttr) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogAttr.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogAttr) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogAttr.Merge(m, src) +} +func (m *LogAttr) XXX_Size() int { + return m.Size() +} +func (m *LogAttr) XXX_DiscardUnknown() { + xxx_messageInfo_LogAttr.DiscardUnknown(m) +} + +var xxx_messageInfo_LogAttr proto.InternalMessageInfo // LogMessage type LogMessage struct { // Context identifies the source of the log message. - Context LogContext `protobuf:"bytes,1,opt,name=context" json:"context"` + 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 *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"` + 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" json:"attrs"` + Attrs []LogAttr `protobuf:"bytes,5,rep,name=attrs,proto3" json:"attrs"` } -func (m *LogMessage) Reset() { *m = LogMessage{} } -func (*LogMessage) ProtoMessage() {} -func (*LogMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{4} } +func (m *LogMessage) Reset() { *m = LogMessage{} } +func (*LogMessage) ProtoMessage() {} +func (*LogMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{4} +} +func (m *LogMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogMessage.Merge(m, src) +} +func (m *LogMessage) XXX_Size() int { + return m.Size() +} +func (m *LogMessage) XXX_DiscardUnknown() { + xxx_messageInfo_LogMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_LogMessage proto.InternalMessageInfo type SubscribeLogsRequest struct { // LogSelector describes the logs to which the subscriber is - Selector *LogSelector `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"` - Options *LogSubscriptionOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + Selector *LogSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` + Options *LogSubscriptionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (m *SubscribeLogsRequest) Reset() { *m = SubscribeLogsRequest{} } -func (*SubscribeLogsRequest) ProtoMessage() {} -func (*SubscribeLogsRequest) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{5} } +func (m *SubscribeLogsRequest) Reset() { *m = SubscribeLogsRequest{} } +func (*SubscribeLogsRequest) ProtoMessage() {} +func (*SubscribeLogsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{5} +} +func (m *SubscribeLogsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SubscribeLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SubscribeLogsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SubscribeLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscribeLogsRequest.Merge(m, src) +} +func (m *SubscribeLogsRequest) XXX_Size() int { + return m.Size() +} +func (m *SubscribeLogsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SubscribeLogsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SubscribeLogsRequest proto.InternalMessageInfo type SubscribeLogsMessage struct { - Messages []LogMessage `protobuf:"bytes,1,rep,name=messages" json:"messages"` + Messages []LogMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages"` } -func (m *SubscribeLogsMessage) Reset() { *m = SubscribeLogsMessage{} } -func (*SubscribeLogsMessage) ProtoMessage() {} -func (*SubscribeLogsMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{6} } +func (m *SubscribeLogsMessage) Reset() { *m = SubscribeLogsMessage{} } +func (*SubscribeLogsMessage) ProtoMessage() {} +func (*SubscribeLogsMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{6} +} +func (m *SubscribeLogsMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SubscribeLogsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SubscribeLogsMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SubscribeLogsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscribeLogsMessage.Merge(m, src) +} +func (m *SubscribeLogsMessage) XXX_Size() int { + return m.Size() +} +func (m *SubscribeLogsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SubscribeLogsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SubscribeLogsMessage proto.InternalMessageInfo // ListenSubscriptionsRequest is a placeholder to begin listening for // subscriptions. @@ -172,8 +375,34 @@ type ListenSubscriptionsRequest struct { func (m *ListenSubscriptionsRequest) Reset() { *m = ListenSubscriptionsRequest{} } func (*ListenSubscriptionsRequest) ProtoMessage() {} func (*ListenSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptorLogbroker, []int{7} + return fileDescriptor_d5aa8d24ac30376c, []int{7} } +func (m *ListenSubscriptionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListenSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListenSubscriptionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListenSubscriptionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListenSubscriptionsRequest.Merge(m, src) +} +func (m *ListenSubscriptionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListenSubscriptionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListenSubscriptionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListenSubscriptionsRequest proto.InternalMessageInfo // SubscriptionMessage instructs the listener to start publishing messages for // the stream or end a subscription. @@ -183,24 +412,52 @@ type SubscriptionMessage struct { // ID identifies the subscription. ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Selector defines which sources should be sent for the subscription. - Selector *LogSelector `protobuf:"bytes,2,opt,name=selector" json:"selector,omitempty"` + Selector *LogSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // Options specify how the subscription should be satisfied. - Options *LogSubscriptionOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` + Options *LogSubscriptionOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // Close will be true if the node should shutdown the subscription with the // provided identifier. Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` } -func (m *SubscriptionMessage) Reset() { *m = SubscriptionMessage{} } -func (*SubscriptionMessage) ProtoMessage() {} -func (*SubscriptionMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{8} } +func (m *SubscriptionMessage) Reset() { *m = SubscriptionMessage{} } +func (*SubscriptionMessage) ProtoMessage() {} +func (*SubscriptionMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{8} +} +func (m *SubscriptionMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SubscriptionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SubscriptionMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SubscriptionMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriptionMessage.Merge(m, src) +} +func (m *SubscriptionMessage) XXX_Size() int { + return m.Size() +} +func (m *SubscriptionMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SubscriptionMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SubscriptionMessage proto.InternalMessageInfo type PublishLogsMessage struct { // SubscriptionID identifies which subscription the set of messages should // be sent to. We can think of this as a "mail box" for the subscription. SubscriptionID string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // Messages is the log message for publishing. - Messages []LogMessage `protobuf:"bytes,2,rep,name=messages" json:"messages"` + Messages []LogMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages"` // Close is a boolean for whether or not the client has completed its log // stream. When close is called, the manager can hang up the subscription. // Any further logs from this subscription are an error condition. Any @@ -208,18 +465,75 @@ type PublishLogsMessage struct { Close bool `protobuf:"varint,3,opt,name=close,proto3" json:"close,omitempty"` } -func (m *PublishLogsMessage) Reset() { *m = PublishLogsMessage{} } -func (*PublishLogsMessage) ProtoMessage() {} -func (*PublishLogsMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{9} } +func (m *PublishLogsMessage) Reset() { *m = PublishLogsMessage{} } +func (*PublishLogsMessage) ProtoMessage() {} +func (*PublishLogsMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{9} +} +func (m *PublishLogsMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PublishLogsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PublishLogsMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PublishLogsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublishLogsMessage.Merge(m, src) +} +func (m *PublishLogsMessage) XXX_Size() int { + return m.Size() +} +func (m *PublishLogsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_PublishLogsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_PublishLogsMessage proto.InternalMessageInfo type PublishLogsResponse struct { } -func (m *PublishLogsResponse) Reset() { *m = PublishLogsResponse{} } -func (*PublishLogsResponse) ProtoMessage() {} -func (*PublishLogsResponse) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{10} } +func (m *PublishLogsResponse) Reset() { *m = PublishLogsResponse{} } +func (*PublishLogsResponse) ProtoMessage() {} +func (*PublishLogsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{10} +} +func (m *PublishLogsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PublishLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PublishLogsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PublishLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublishLogsResponse.Merge(m, src) +} +func (m *PublishLogsResponse) XXX_Size() int { + return m.Size() +} +func (m *PublishLogsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PublishLogsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PublishLogsResponse proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.LogStream", LogStream_name, LogStream_value) proto.RegisterType((*LogSubscriptionOptions)(nil), "docker.swarmkit.v1.LogSubscriptionOptions") proto.RegisterType((*LogSelector)(nil), "docker.swarmkit.v1.LogSelector") proto.RegisterType((*LogContext)(nil), "docker.swarmkit.v1.LogContext") @@ -231,7 +545,76 @@ func init() { proto.RegisterType((*SubscriptionMessage)(nil), "docker.swarmkit.v1.SubscriptionMessage") proto.RegisterType((*PublishLogsMessage)(nil), "docker.swarmkit.v1.PublishLogsMessage") proto.RegisterType((*PublishLogsResponse)(nil), "docker.swarmkit.v1.PublishLogsResponse") - proto.RegisterEnum("docker.swarmkit.v1.LogStream", LogStream_name, LogStream_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/logbroker.proto", fileDescriptor_d5aa8d24ac30376c) +} + +var fileDescriptor_d5aa8d24ac30376c = []byte{ + // 979 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0x3d, 0xeb, 0xc4, 0x8e, 0x9f, 0x9b, 0xc4, 0x9d, 0xa4, 0x91, 0x65, 0xe8, 0xda, 0xda, + 0xa2, 0x62, 0x45, 0x65, 0xdd, 0x1a, 0xa1, 0x22, 0x45, 0x42, 0xd4, 0xa4, 0x42, 0x16, 0x6e, 0x82, + 0x26, 0x8e, 0xe0, 0x16, 0xad, 0xed, 0xe9, 0x76, 0xe5, 0xf5, 0x8e, 0xd9, 0x19, 0x27, 0x20, 0x71, + 0xe0, 0x50, 0x24, 0x94, 0x03, 0xe2, 0x82, 0x04, 0x87, 0x9e, 0xe8, 0x05, 0x21, 0x71, 0xe1, 0xc6, + 0x07, 0x40, 0x11, 0xa7, 0x1e, 0x7b, 0xb2, 0xe8, 0xe6, 0xce, 0x67, 0x40, 0x3b, 0xb3, 0x5e, 0x6f, + 0xb0, 0x9d, 0xa2, 0x72, 0xb1, 0x67, 0x3c, 0xbf, 0xb7, 0xef, 0xff, 0xfe, 0xf3, 0xde, 0x1a, 0x4c, + 0xdb, 0x11, 0x8f, 0x46, 0x1d, 0xb3, 0xcb, 0x06, 0xb5, 0x1e, 0xeb, 0xf6, 0xa9, 0x5f, 0xe3, 0x27, + 0x96, 0x3f, 0xe8, 0x3b, 0xa2, 0x66, 0x0d, 0x9d, 0x9a, 0xcb, 0xec, 0x8e, 0xcf, 0xfa, 0xd4, 0x37, + 0x87, 0x3e, 0x13, 0x0c, 0x63, 0x05, 0x99, 0x13, 0xc8, 0x3c, 0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xe7, 0xa1, 0xf4, 0xe6, 0x25, 0xc2, 0x92, 0x03, 0x62, 0xdc, 0x90, 0xba, 0xae, 0xc3, 0x15, 0xa5, + 0xeb, 0x84, 0xf9, 0x7d, 0xea, 0xcf, 0xa8, 0xc4, 0x5f, 0x23, 0xc8, 0x27, 0xee, 0x1a, 0xdf, 0x9c, + 0xf7, 0xfc, 0xd9, 0xbe, 0x9d, 0xaf, 0x63, 0x4e, 0xd3, 0xfc, 0x27, 0x1d, 0x55, 0xd4, 0x78, 0xe3, + 0xec, 0x85, 0x9e, 0x7a, 0xfe, 0x42, 0x4f, 0x7d, 0x15, 0xe8, 0xe8, 0x2c, 0xd0, 0xd1, 0xb3, 0x40, + 0x47, 0x7f, 0x05, 0x3a, 0xfa, 0xee, 0x5c, 0x4f, 0x3d, 0x3b, 0xd7, 0x53, 0xcf, 0xcf, 0xf5, 0x54, + 0x27, 0x23, 0x5f, 0xe2, 0x6f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x00, 0xba, 0x6b, 0x91, 0xec, + 0x08, 0x00, 0x00, } type authenticatedWrapperLogsServer struct { @@ -301,8 +684,8 @@ func (m *LogSubscriptionOptions) CopyFrom(src interface{}) { } if o.Since != nil { - m.Since = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Since, o.Since) + m.Since = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Since, o.Since) } } @@ -379,10 +762,10 @@ func (m *LogMessage) CopyFrom(src interface{}) { o := src.(*LogMessage) *m = *o - deepcopy.Copy(&m.Context, &o.Context) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Context, &o.Context) if o.Timestamp != nil { - m.Timestamp = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Timestamp, o.Timestamp) + m.Timestamp = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Timestamp, o.Timestamp) } if o.Data != nil { m.Data = make([]byte, len(o.Data)) @@ -391,7 +774,7 @@ func (m *LogMessage) CopyFrom(src interface{}) { if o.Attrs != nil { m.Attrs = make([]LogAttr, len(o.Attrs)) for i := range m.Attrs { - deepcopy.Copy(&m.Attrs[i], &o.Attrs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Attrs[i], &o.Attrs[i]) } } @@ -412,11 +795,11 @@ func (m *SubscribeLogsRequest) CopyFrom(src interface{}) { *m = *o if o.Selector != nil { m.Selector = &LogSelector{} - deepcopy.Copy(m.Selector, o.Selector) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Selector, o.Selector) } if o.Options != nil { m.Options = &LogSubscriptionOptions{} - deepcopy.Copy(m.Options, o.Options) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Options, o.Options) } } @@ -436,7 +819,7 @@ func (m *SubscribeLogsMessage) CopyFrom(src interface{}) { if o.Messages != nil { m.Messages = make([]LogMessage, len(o.Messages)) for i := range m.Messages { - deepcopy.Copy(&m.Messages[i], &o.Messages[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Messages[i], &o.Messages[i]) } } @@ -467,11 +850,11 @@ func (m *SubscriptionMessage) CopyFrom(src interface{}) { *m = *o if o.Selector != nil { m.Selector = &LogSelector{} - deepcopy.Copy(m.Selector, o.Selector) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Selector, o.Selector) } if o.Options != nil { m.Options = &LogSubscriptionOptions{} - deepcopy.Copy(m.Options, o.Options) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Options, o.Options) } } @@ -491,7 +874,7 @@ func (m *PublishLogsMessage) CopyFrom(src interface{}) { if o.Messages != nil { m.Messages = make([]LogMessage, len(o.Messages)) for i := range m.Messages { - deepcopy.Copy(&m.Messages[i], &o.Messages[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Messages[i], &o.Messages[i]) } } @@ -516,8 +899,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Logs service - +// 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. type LogsClient interface { // SubscribeLogs starts a subscription with the specified selector and options. // @@ -537,7 +921,7 @@ func NewLogsClient(cc *grpc.ClientConn) LogsClient { } func (c *logsClient) SubscribeLogs(ctx context.Context, in *SubscribeLogsRequest, opts ...grpc.CallOption) (Logs_SubscribeLogsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Logs_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Logs/SubscribeLogs", opts...) + stream, err := c.cc.NewStream(ctx, &_Logs_serviceDesc.Streams[0], "/docker.swarmkit.v1.Logs/SubscribeLogs", opts...) if err != nil { return nil, err } @@ -568,8 +952,7 @@ func (x *logsSubscribeLogsClient) Recv() (*SubscribeLogsMessage, error) { return m, nil } -// Server API for Logs service - +// LogsServer is the server API for Logs service. type LogsServer interface { // SubscribeLogs starts a subscription with the specified selector and options. // @@ -619,8 +1002,9 @@ var _Logs_serviceDesc = grpc.ServiceDesc{ Metadata: "github.com/docker/swarmkit/api/logbroker.proto", } -// Client API for LogBroker service - +// 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. type LogBrokerClient interface { // ListenSubscriptions starts a subscription stream for the node. For each // message received, the node should attempt to satisfy the subscription. @@ -642,7 +1026,7 @@ func NewLogBrokerClient(cc *grpc.ClientConn) LogBrokerClient { } func (c *logBrokerClient) ListenSubscriptions(ctx context.Context, in *ListenSubscriptionsRequest, opts ...grpc.CallOption) (LogBroker_ListenSubscriptionsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_LogBroker_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.LogBroker/ListenSubscriptions", opts...) + stream, err := c.cc.NewStream(ctx, &_LogBroker_serviceDesc.Streams[0], "/docker.swarmkit.v1.LogBroker/ListenSubscriptions", opts...) if err != nil { return nil, err } @@ -674,7 +1058,7 @@ func (x *logBrokerListenSubscriptionsClient) Recv() (*SubscriptionMessage, error } func (c *logBrokerClient) PublishLogs(ctx context.Context, opts ...grpc.CallOption) (LogBroker_PublishLogsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_LogBroker_serviceDesc.Streams[1], c.cc, "/docker.swarmkit.v1.LogBroker/PublishLogs", opts...) + stream, err := c.cc.NewStream(ctx, &_LogBroker_serviceDesc.Streams[1], "/docker.swarmkit.v1.LogBroker/PublishLogs", opts...) if err != nil { return nil, err } @@ -707,8 +1091,7 @@ func (x *logBrokerPublishLogsClient) CloseAndRecv() (*PublishLogsResponse, error return m, nil } -// Server API for LogBroker service - +// LogBrokerServer is the server API for LogBroker service. type LogBrokerServer interface { // ListenSubscriptions starts a subscription stream for the node. For each // message received, the node should attempt to satisfy the subscription. @@ -1547,6 +1930,9 @@ func (p *raftProxyLogBrokerServer) PublishLogs(stream LogBroker_PublishLogsServe } func (m *LogSubscriptionOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Streams) > 0 { @@ -1568,6 +1954,9 @@ func (m *LogSubscriptionOptions) Size() (n int) { } func (m *LogSelector) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.ServiceIDs) > 0 { @@ -1592,6 +1981,9 @@ func (m *LogSelector) Size() (n int) { } func (m *LogContext) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -1610,6 +2002,9 @@ func (m *LogContext) Size() (n int) { } func (m *LogAttr) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Key) @@ -1624,6 +2019,9 @@ func (m *LogAttr) Size() (n int) { } func (m *LogMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Context.Size() @@ -1649,6 +2047,9 @@ func (m *LogMessage) Size() (n int) { } func (m *SubscribeLogsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Selector != nil { @@ -1663,6 +2064,9 @@ func (m *SubscribeLogsRequest) Size() (n int) { } func (m *SubscribeLogsMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Messages) > 0 { @@ -1675,12 +2079,18 @@ func (m *SubscribeLogsMessage) Size() (n int) { } func (m *ListenSubscriptionsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *SubscriptionMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1702,6 +2112,9 @@ func (m *SubscriptionMessage) Size() (n int) { } func (m *PublishLogsMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SubscriptionID) @@ -1721,6 +2134,9 @@ func (m *PublishLogsMessage) Size() (n int) { } func (m *PublishLogsResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n @@ -1747,7 +2163,7 @@ func (this *LogSubscriptionOptions) String() string { `Streams:` + fmt.Sprintf("%v", this.Streams) + `,`, `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`, `Tail:` + fmt.Sprintf("%v", this.Tail) + `,`, - `Since:` + strings.Replace(fmt.Sprintf("%v", this.Since), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Since:` + strings.Replace(fmt.Sprintf("%v", this.Since), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -1793,7 +2209,7 @@ func (this *LogMessage) String() string { } s := strings.Join([]string{`&LogMessage{`, `Context:` + strings.Replace(strings.Replace(this.Context.String(), "LogContext", "LogContext", 1), `&`, ``, 1) + `,`, - `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "types.Timestamp", 1) + `,`, `Stream:` + fmt.Sprintf("%v", this.Stream) + `,`, `Data:` + fmt.Sprintf("%v", this.Data) + `,`, `Attrs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Attrs), "LogAttr", "LogAttr", 1), `&`, ``, 1) + `,`, @@ -1888,7 +2304,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1914,7 +2330,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (LogStream(b) & 0x7F) << shift + v |= LogStream(b&0x7F) << shift if b < 0x80 { break } @@ -1931,7 +2347,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1940,9 +2356,16 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.Streams) == 0 { + m.Streams = make([]LogStream, 0, elementCount) + } for iNdEx < postIndex { var v LogStream for shift := uint(0); ; shift += 7 { @@ -1954,7 +2377,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (LogStream(b) & 0x7F) << shift + v |= LogStream(b&0x7F) << shift if b < 0x80 { break } @@ -1978,7 +2401,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1998,7 +2421,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Tail |= (int64(b) & 0x7F) << shift + m.Tail |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -2017,7 +2440,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2026,11 +2449,14 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Since == nil { - m.Since = &google_protobuf.Timestamp{} + m.Since = &types.Timestamp{} } if err := m.Since.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2045,6 +2471,9 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2072,7 +2501,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2100,7 +2529,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2110,6 +2539,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2129,7 +2561,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2139,6 +2571,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2158,7 +2593,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2168,6 +2603,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2182,6 +2620,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2209,7 +2650,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2237,7 +2678,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2247,6 +2688,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2266,7 +2710,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2276,6 +2720,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2295,7 +2742,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2305,6 +2752,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2319,6 +2769,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2346,7 +2799,7 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2374,7 +2827,7 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2384,6 +2837,9 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2403,7 +2859,7 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2413,6 +2869,9 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2427,6 +2886,9 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2454,7 +2916,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2482,7 +2944,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2491,6 +2953,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2512,7 +2977,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2521,11 +2986,14 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Timestamp == nil { - m.Timestamp = &google_protobuf.Timestamp{} + m.Timestamp = &types.Timestamp{} } if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2545,7 +3013,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Stream |= (LogStream(b) & 0x7F) << shift + m.Stream |= LogStream(b&0x7F) << shift if b < 0x80 { break } @@ -2564,7 +3032,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2573,6 +3041,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2595,7 +3066,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2604,6 +3075,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2621,6 +3095,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2648,7 +3125,7 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2676,7 +3153,7 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2685,6 +3162,9 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2709,7 +3189,7 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2718,6 +3198,9 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2737,6 +3220,9 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2764,7 +3250,7 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2792,7 +3278,7 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2801,6 +3287,9 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2818,6 +3307,9 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2845,7 +3337,7 @@ func (m *ListenSubscriptionsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2868,6 +3360,9 @@ func (m *ListenSubscriptionsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2895,7 +3390,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2923,7 +3418,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2933,6 +3428,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2952,7 +3450,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2961,6 +3459,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2985,7 +3486,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2994,6 +3495,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3018,7 +3522,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3033,6 +3537,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3060,7 +3567,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3088,7 +3595,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3098,6 +3605,9 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3117,7 +3627,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3126,6 +3636,9 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3148,7 +3661,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3163,6 +3676,9 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3190,7 +3706,7 @@ func (m *PublishLogsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3213,6 +3729,9 @@ func (m *PublishLogsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3279,10 +3798,13 @@ func skipLogbroker(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthLogbroker } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthLogbroker + } return iNdEx, nil case 3: for { @@ -3311,6 +3833,9 @@ func skipLogbroker(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthLogbroker + } } return iNdEx, nil case 4: @@ -3329,72 +3854,3 @@ var ( ErrInvalidLengthLogbroker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLogbroker = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/logbroker.proto", fileDescriptorLogbroker) -} - -var fileDescriptorLogbroker = []byte{ - // 966 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0x3d, 0xeb, 0xc4, 0x8e, 0x9f, 0x9b, 0xc4, 0x9d, 0xa4, 0x91, 0x65, 0xa8, 0x6d, 0x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d, 0xcd, 0x60, 0x5a, 0xc9, 0xc5, - 0x72, 0x48, 0x2e, 0x56, 0x83, 0x6f, 0x41, 0x36, 0x12, 0x23, 0xcd, 0xca, 0x35, 0x21, 0x98, 0x56, - 0x32, 0x4a, 0x0b, 0xc9, 0x28, 0x29, 0x21, 0x14, 0x29, 0x91, 0xde, 0x45, 0x90, 0x12, 0x42, 0x32, - 0x4a, 0x87, 0x7e, 0x0f, 0xb2, 0x1d, 0x66, 0x3f, 0x10, 0xc2, 0xc7, 0x05, 0x48, 0x0f, 0xe9, 0xe7, - 0x2a, 0x37, 0x09, 0x97, 0x78, 0x17, 0xd6, 0x4f, 0x4d, 0x77, 0x42, 0x55, 0x12, 0xa2, 0x36, 0xfa, - 0xb9, 0x26, 0x95, 0x3f, 0xa2, 0x9c, 0x9b, 0x36, 0xc5, 0xef, 0x42, 0x76, 0xa0, 0x8a, 0x90, 0xa1, - 0xf9, 0x46, 0x79, 0xc5, 0xa5, 0x47, 0xa5, 0x36, 0xd7, 0x2e, 0xa6, 0x95, 0x14, 0x99, 0x05, 0xe1, - 0x77, 0x20, 0x17, 0xf7, 0xa6, 0x4c, 0x74, 0xf5, 0x7d, 0xce, 0x61, 0xfc, 0x36, 0x64, 0x54, 0xf3, - 0xc8, 0xfa, 0x5e, 0xd6, 0x6d, 0x24, 0x82, 0xc3, 0x86, 0xb2, 0x4c, 0x61, 0xca, 0xde, 0xb9, 0x46, - 0xe4, 0x1a, 0xdf, 0x87, 0x75, 0x53, 0x08, 0x9f, 0x17, 0xd7, 0xab, 0xe9, 0x5a, 0xbe, 0xf1, 0xda, - 0x8a, 0x27, 0x85, 0x3e, 0x45, 0xfa, 0x15, 0xaf, 0x7f, 0x8f, 0x60, 0x37, 0x1a, 0x85, 0x3e, 0xed, - 0x30, 0x9b, 0x13, 0xfa, 0xe9, 0x84, 0x72, 0x81, 0x0f, 0x60, 0x83, 0x47, 0xcd, 0x16, 0xf9, 0x52, - 0x59, 0x25, 0x2f, 0xc2,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, 0x46, 0x7f, - 0x05, 0x65, 0xd4, 0xcf, 0xc8, 0x17, 0xf7, 0x5b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x95, 0x7b, - 0x3c, 0x04, 0xe0, 0x08, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/objects.pb.go b/vendor/github.com/docker/swarmkit/api/objects.pb.go index 495dfb9df6..4fbfe10958 100644 --- a/vendor/github.com/docker/swarmkit/api/objects.pb.go +++ b/vendor/github.com/docker/swarmkit/api/objects.pb.go @@ -3,64 +3,95 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/gogo/protobuf/types" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf4 "github.com/gogo/protobuf/types" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import go_events "github.com/docker/go-events" -import strings "strings" - -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + fmt "fmt" + github_com_docker_go_events "github.com/docker/go-events" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // Meta contains metadata about objects. Every object contains a meta field. type Meta struct { // Version tracks the current version of the object. - Version Version `protobuf:"bytes,1,opt,name=version" json:"version"` + Version Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version"` // Object timestamps. // Note: can't use stdtime because these fields are nullable. - CreatedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` - UpdatedAt *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"` + 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"` } -func (m *Meta) Reset() { *m = Meta{} } -func (*Meta) ProtoMessage() {} -func (*Meta) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{0} } +func (m *Meta) Reset() { *m = Meta{} } +func (*Meta) ProtoMessage() {} +func (*Meta) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{0} +} +func (m *Meta) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Meta.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Meta) XXX_Merge(src proto.Message) { + xxx_messageInfo_Meta.Merge(m, src) +} +func (m *Meta) XXX_Size() int { + return m.Size() +} +func (m *Meta) XXX_DiscardUnknown() { + xxx_messageInfo_Meta.DiscardUnknown(m) +} + +var xxx_messageInfo_Meta proto.InternalMessageInfo // Node provides the internal node state as seen by the cluster. 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" json:"meta"` + 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" json:"spec"` + 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" json:"description,omitempty"` + 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" json:"status"` + 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" json:"manager_status,omitempty"` + 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" json:"attachment,omitempty"` + 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" json:"certificate"` + 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 @@ -74,37 +105,65 @@ type Node struct { // 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" json:"attachments,omitempty"` + 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"` } -func (m *Node) Reset() { *m = Node{} } -func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{1} } +func (m *Node) Reset() { *m = Node{} } +func (*Node) ProtoMessage() {} +func (*Node) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{1} +} +func (m *Node) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Node.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Node) XXX_Merge(src proto.Message) { + xxx_messageInfo_Node.Merge(m, src) +} +func (m *Node) XXX_Size() int { + return m.Size() +} +func (m *Node) XXX_DiscardUnknown() { + xxx_messageInfo_Node.DiscardUnknown(m) +} + +var xxx_messageInfo_Node proto.InternalMessageInfo type Service struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Spec ServiceSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Spec ServiceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // SpecVersion versions Spec, to identify changes in the spec. Note that // this is not directly comparable to the service's Version. - SpecVersion *Version `protobuf:"bytes,10,opt,name=spec_version,json=specVersion" json:"spec_version,omitempty"` + SpecVersion *Version `protobuf:"bytes,10,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"` // PreviousSpec is the previous service spec that was in place before // "Spec". - PreviousSpec *ServiceSpec `protobuf:"bytes,6,opt,name=previous_spec,json=previousSpec" json:"previous_spec,omitempty"` + PreviousSpec *ServiceSpec `protobuf:"bytes,6,opt,name=previous_spec,json=previousSpec,proto3" json:"previous_spec,omitempty"` // PreviousSpecVersion versions PreviousSpec. Note that this is not // directly comparable to the service's Version. - PreviousSpecVersion *Version `protobuf:"bytes,11,opt,name=previous_spec_version,json=previousSpecVersion" json:"previous_spec_version,omitempty"` + PreviousSpecVersion *Version `protobuf:"bytes,11,opt,name=previous_spec_version,json=previousSpecVersion,proto3" json:"previous_spec_version,omitempty"` // Runtime state of service endpoint. This may be different // from the spec version because the user may not have entered // the optional fields like node_port or virtual_ip and it // could be auto allocated by the system. - Endpoint *Endpoint `protobuf:"bytes,4,opt,name=endpoint" json:"endpoint,omitempty"` + Endpoint *Endpoint `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // UpdateStatus contains the status of an update, if one is in // progress. - UpdateStatus *UpdateStatus `protobuf:"bytes,5,opt,name=update_status,json=updateStatus" json:"update_status,omitempty"` + UpdateStatus *UpdateStatus `protobuf:"bytes,5,opt,name=update_status,json=updateStatus,proto3" json:"update_status,omitempty"` // PendingDelete indicates that this service'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. @@ -116,26 +175,82 @@ type Service struct { PendingDelete bool `protobuf:"varint,7,opt,name=pending_delete,json=pendingDelete,proto3" json:"pending_delete,omitempty"` } -func (m *Service) Reset() { *m = Service{} } -func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{2} } +func (m *Service) Reset() { *m = Service{} } +func (*Service) ProtoMessage() {} +func (*Service) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{2} +} +func (m *Service) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Service.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) +} +func (m *Service) XXX_Size() int { + return m.Size() +} +func (m *Service) XXX_DiscardUnknown() { + xxx_messageInfo_Service.DiscardUnknown(m) +} + +var xxx_messageInfo_Service proto.InternalMessageInfo // Endpoint specified all the network parameters required to // correctly discover and load balance a service type Endpoint struct { - Spec *EndpointSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + 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" json:"ports,omitempty"` + 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" json:"virtual_ips,omitempty"` + VirtualIPs []*Endpoint_VirtualIP `protobuf:"bytes,3,rep,name=virtual_ips,json=virtualIps,proto3" json:"virtual_ips,omitempty"` } -func (m *Endpoint) Reset() { *m = Endpoint{} } -func (*Endpoint) ProtoMessage() {} -func (*Endpoint) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{3} } +func (m *Endpoint) Reset() { *m = Endpoint{} } +func (*Endpoint) ProtoMessage() {} +func (*Endpoint) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{3} +} +func (m *Endpoint) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Endpoint) XXX_Merge(src proto.Message) { + xxx_messageInfo_Endpoint.Merge(m, src) +} +func (m *Endpoint) XXX_Size() int { + return m.Size() +} +func (m *Endpoint) XXX_DiscardUnknown() { + xxx_messageInfo_Endpoint.DiscardUnknown(m) +} + +var xxx_messageInfo_Endpoint proto.InternalMessageInfo // VirtualIP specifies a set of networks this endpoint will be attached to // and the IP addresses the target service will be made available under. @@ -153,23 +268,51 @@ type Endpoint_VirtualIP struct { Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *Endpoint_VirtualIP) Reset() { *m = Endpoint_VirtualIP{} } -func (*Endpoint_VirtualIP) ProtoMessage() {} -func (*Endpoint_VirtualIP) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{3, 0} } +func (m *Endpoint_VirtualIP) Reset() { *m = Endpoint_VirtualIP{} } +func (*Endpoint_VirtualIP) ProtoMessage() {} +func (*Endpoint_VirtualIP) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{3, 0} +} +func (m *Endpoint_VirtualIP) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Endpoint_VirtualIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Endpoint_VirtualIP.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Endpoint_VirtualIP) XXX_Merge(src proto.Message) { + xxx_messageInfo_Endpoint_VirtualIP.Merge(m, src) +} +func (m *Endpoint_VirtualIP) XXX_Size() int { + return m.Size() +} +func (m *Endpoint_VirtualIP) XXX_DiscardUnknown() { + xxx_messageInfo_Endpoint_VirtualIP.DiscardUnknown(m) +} + +var xxx_messageInfo_Endpoint_VirtualIP proto.InternalMessageInfo // Task specifies the parameters for implementing a Spec. A task is effectively // immutable and idempotent. Once it is dispatched to a node, it will not be // dispatched to another node. type Task struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` // Spec defines the desired state of the task as specified by the user. // The system will honor this and will *never* modify it. - Spec TaskSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Spec TaskSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // SpecVersion is copied from Service, to identify which version of the // spec this task has. Note that this is not directly comparable to the // service's Version. - SpecVersion *Version `protobuf:"bytes,14,opt,name=spec_version,json=specVersion" json:"spec_version,omitempty"` + SpecVersion *Version `protobuf:"bytes,14,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"` // ServiceID indicates the service under which this task is orchestrated. This // should almost always be set. ServiceID string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` @@ -188,24 +331,24 @@ type Task struct { // // NOTE(stevvooe): The preserves the ability for us to making naming // decisions for tasks in orchestrator, albeit, this is left empty for now. - Annotations Annotations `protobuf:"bytes,7,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,7,opt,name=annotations,proto3" json:"annotations"` // ServiceAnnotations is a direct copy of the service name and labels when // this task is created. // // Labels set here will *not* be propagated to the runtime target, such as a // container. Use labels on the runtime target for that purpose. - ServiceAnnotations Annotations `protobuf:"bytes,8,opt,name=service_annotations,json=serviceAnnotations" json:"service_annotations"` - Status TaskStatus `protobuf:"bytes,9,opt,name=status" json:"status"` + ServiceAnnotations Annotations `protobuf:"bytes,8,opt,name=service_annotations,json=serviceAnnotations,proto3" json:"service_annotations"` + Status TaskStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status"` // DesiredState is the target state for the task. It is set to // TaskStateRunning when a task is first created, and changed to // TaskStateShutdown if the manager wants to terminate the task. This field // is only written by the manager. DesiredState TaskState `protobuf:"varint,10,opt,name=desired_state,json=desiredState,proto3,enum=docker.swarmkit.v1.TaskState" json:"desired_state,omitempty"` // List of network attachments by the task. - Networks []*NetworkAttachment `protobuf:"bytes,11,rep,name=networks" json:"networks,omitempty"` + Networks []*NetworkAttachment `protobuf:"bytes,11,rep,name=networks,proto3" json:"networks,omitempty"` // A copy of runtime state of service endpoint from Service // object to be distributed to agents as part of the task. - Endpoint *Endpoint `protobuf:"bytes,12,opt,name=endpoint" json:"endpoint,omitempty"` + Endpoint *Endpoint `protobuf:"bytes,12,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // LogDriver specifies the selected log driver to use for the task. Agent // processes should always favor the value in this field. // @@ -214,13 +357,41 @@ type Task struct { // such a cluster default or policy-based value. // // If not present, the daemon's default will be used. - LogDriver *Driver `protobuf:"bytes,13,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"` - AssignedGenericResources []*GenericResource `protobuf:"bytes,15,rep,name=assigned_generic_resources,json=assignedGenericResources" json:"assigned_generic_resources,omitempty"` + LogDriver *Driver `protobuf:"bytes,13,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"` + AssignedGenericResources []*GenericResource `protobuf:"bytes,15,rep,name=assigned_generic_resources,json=assignedGenericResources,proto3" json:"assigned_generic_resources,omitempty"` } -func (m *Task) Reset() { *m = Task{} } -func (*Task) ProtoMessage() {} -func (*Task) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{4} } +func (m *Task) Reset() { *m = Task{} } +func (*Task) ProtoMessage() {} +func (*Task) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{4} +} +func (m *Task) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Task.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Task) XXX_Merge(src proto.Message) { + xxx_messageInfo_Task.Merge(m, src) +} +func (m *Task) XXX_Size() int { + return m.Size() +} +func (m *Task) XXX_DiscardUnknown() { + xxx_messageInfo_Task.DiscardUnknown(m) +} + +var xxx_messageInfo_Task proto.InternalMessageInfo // NetworkAttachment specifies the network parameters of attachment to // a single network by an object such as task or node. @@ -228,29 +399,57 @@ 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" json:"network,omitempty"` + 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" json:"addresses,omitempty"` + 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" json:"aliases,omitempty"` + 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 `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts,proto3" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *NetworkAttachment) Reset() { *m = NetworkAttachment{} } -func (*NetworkAttachment) ProtoMessage() {} -func (*NetworkAttachment) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{5} } +func (m *NetworkAttachment) Reset() { *m = NetworkAttachment{} } +func (*NetworkAttachment) ProtoMessage() {} +func (*NetworkAttachment) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{5} +} +func (m *NetworkAttachment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkAttachment.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkAttachment) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkAttachment.Merge(m, src) +} +func (m *NetworkAttachment) XXX_Size() int { + return m.Size() +} +func (m *NetworkAttachment) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkAttachment.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkAttachment proto.InternalMessageInfo type Network struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Spec NetworkSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + 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" json:"driver_state,omitempty"` + 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" json:"ipam,omitempty"` + 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 @@ -266,20 +465,48 @@ type Network struct { PendingDelete bool `protobuf:"varint,6,opt,name=pending_delete,json=pendingDelete,proto3" json:"pending_delete,omitempty"` } -func (m *Network) Reset() { *m = Network{} } -func (*Network) ProtoMessage() {} -func (*Network) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{6} } +func (m *Network) Reset() { *m = Network{} } +func (*Network) ProtoMessage() {} +func (*Network) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{6} +} +func (m *Network) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Network.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_Network.Merge(m, src) +} +func (m *Network) XXX_Size() int { + return m.Size() +} +func (m *Network) XXX_DiscardUnknown() { + xxx_messageInfo_Network.DiscardUnknown(m) +} + +var xxx_messageInfo_Network proto.InternalMessageInfo // Cluster provides global cluster settings. type Cluster struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Spec ClusterSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + 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" json:"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" json:"network_bootstrap_keys,omitempty"` + 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. @@ -287,13 +514,13 @@ type Cluster struct { // 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 `protobuf:"bytes,8,rep,name=blacklisted_certificates,json=blacklistedCertificates" json:"blacklisted_certificates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"` + BlacklistedCertificates map[string]*BlacklistedCertificate `protobuf:"bytes,8,rep,name=blacklisted_certificates,json=blacklistedCertificates,proto3" json:"blacklisted_certificates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 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" json:"unlock_keys,omitempty"` + 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 @@ -302,7 +529,7 @@ type Cluster struct { // 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" json:"defaultAddressPool,omitempty"` + 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"` @@ -310,72 +537,212 @@ type Cluster struct { VXLANUDPPort uint32 `protobuf:"varint,13,opt,name=VXLANUDPPort,proto3" json:"VXLANUDPPort,omitempty"` } -func (m *Cluster) Reset() { *m = Cluster{} } -func (*Cluster) ProtoMessage() {} -func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{7} } +func (m *Cluster) Reset() { *m = Cluster{} } +func (*Cluster) ProtoMessage() {} +func (*Cluster) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{7} +} +func (m *Cluster) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) +} +func (m *Cluster) XXX_Size() int { + return m.Size() +} +func (m *Cluster) XXX_DiscardUnknown() { + xxx_messageInfo_Cluster.DiscardUnknown(m) +} + +var xxx_messageInfo_Cluster proto.InternalMessageInfo // Secret represents a secret that should be passed to a container or a node, // and is immutable. type Secret struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` // Spec contains the actual secret data, as well as any context around the // secret data that the user provides. - Spec SecretSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Spec SecretSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // Whether the secret is an internal secret (not set by a user) or not. Internal bool `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"` } -func (m *Secret) Reset() { *m = Secret{} } -func (*Secret) ProtoMessage() {} -func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{8} } +func (m *Secret) Reset() { *m = Secret{} } +func (*Secret) ProtoMessage() {} +func (*Secret) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{8} +} +func (m *Secret) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Secret.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Secret) XXX_Merge(src proto.Message) { + xxx_messageInfo_Secret.Merge(m, src) +} +func (m *Secret) XXX_Size() int { + return m.Size() +} +func (m *Secret) XXX_DiscardUnknown() { + xxx_messageInfo_Secret.DiscardUnknown(m) +} + +var xxx_messageInfo_Secret proto.InternalMessageInfo // Config represents a set of configuration files that should be passed to a // container. type Config struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + 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" json:"spec"` + Spec ConfigSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` } -func (m *Config) Reset() { *m = Config{} } -func (*Config) ProtoMessage() {} -func (*Config) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{9} } +func (m *Config) Reset() { *m = Config{} } +func (*Config) ProtoMessage() {} +func (*Config) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{9} +} +func (m *Config) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Config.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Config) XXX_Merge(src proto.Message) { + xxx_messageInfo_Config.Merge(m, src) +} +func (m *Config) XXX_Size() int { + return m.Size() +} +func (m *Config) XXX_DiscardUnknown() { + xxx_messageInfo_Config.DiscardUnknown(m) +} + +var xxx_messageInfo_Config proto.InternalMessageInfo // Resource is a top-level object with externally defined content and indexing. // SwarmKit can serve as a store for these objects without understanding their // meanings. type Resource struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Annotations Annotations `protobuf:"bytes,3,opt,name=annotations" json:"annotations"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Annotations Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations"` // Kind identifies this class of object. It is essentially a namespace // to keep IDs or indices from colliding between unrelated Resource // objects. This must correspond to the name of an Extension. Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"` // Payload bytes. This data is not interpreted in any way by SwarmKit. // By convention, it should be a marshalled protocol buffers message. - Payload *google_protobuf4.Any `protobuf:"bytes,5,opt,name=payload" json:"payload,omitempty"` + Payload *types.Any `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` } -func (m *Resource) Reset() { *m = Resource{} } -func (*Resource) ProtoMessage() {} -func (*Resource) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{10} } +func (m *Resource) Reset() { *m = Resource{} } +func (*Resource) ProtoMessage() {} +func (*Resource) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{10} +} +func (m *Resource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Resource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Resource) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resource.Merge(m, src) +} +func (m *Resource) XXX_Size() int { + return m.Size() +} +func (m *Resource) XXX_DiscardUnknown() { + xxx_messageInfo_Resource.DiscardUnknown(m) +} + +var xxx_messageInfo_Resource proto.InternalMessageInfo // Extension declares a type of "resource" object. This message provides some // metadata about the objects. type Extension struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Annotations Annotations `protobuf:"bytes,3,opt,name=annotations" json:"annotations"` + 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"` } -func (m *Extension) Reset() { *m = Extension{} } -func (*Extension) ProtoMessage() {} -func (*Extension) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{11} } +func (m *Extension) Reset() { *m = Extension{} } +func (*Extension) ProtoMessage() {} +func (*Extension) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{11} +} +func (m *Extension) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Extension.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Extension) XXX_Merge(src proto.Message) { + xxx_messageInfo_Extension.Merge(m, src) +} +func (m *Extension) XXX_Size() int { + return m.Size() +} +func (m *Extension) XXX_DiscardUnknown() { + xxx_messageInfo_Extension.DiscardUnknown(m) +} + +var xxx_messageInfo_Extension proto.InternalMessageInfo func init() { proto.RegisterType((*Meta)(nil), "docker.swarmkit.v1.Meta") @@ -385,14 +752,128 @@ func init() { proto.RegisterType((*Endpoint_VirtualIP)(nil), "docker.swarmkit.v1.Endpoint.VirtualIP") proto.RegisterType((*Task)(nil), "docker.swarmkit.v1.Task") proto.RegisterType((*NetworkAttachment)(nil), "docker.swarmkit.v1.NetworkAttachment") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.NetworkAttachment.DriverAttachmentOptsEntry") proto.RegisterType((*Network)(nil), "docker.swarmkit.v1.Network") proto.RegisterType((*Cluster)(nil), "docker.swarmkit.v1.Cluster") + proto.RegisterMapType((map[string]*BlacklistedCertificate)(nil), "docker.swarmkit.v1.Cluster.BlacklistedCertificatesEntry") proto.RegisterType((*Secret)(nil), "docker.swarmkit.v1.Secret") proto.RegisterType((*Config)(nil), "docker.swarmkit.v1.Config") proto.RegisterType((*Resource)(nil), "docker.swarmkit.v1.Resource") proto.RegisterType((*Extension)(nil), "docker.swarmkit.v1.Extension") } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/objects.proto", fileDescriptor_6218a23329ef342d) +} + +var fileDescriptor_6218a23329ef342d = []byte{ + // 1654 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x73, 0x23, 0x47, + 0x15, 0xf7, 0xc8, 0xb3, 0xfa, 0x78, 0xfa, 0x60, 0xe9, 0x18, 0x33, 0x2b, 0x8c, 0x64, 0x14, 0x42, + 0x6d, 0xa5, 0xb6, 0xe4, 0xb0, 0x04, 0xf0, 0x1a, 0x42, 0x22, 0x59, 0x66, 0xa3, 0x4a, 0x36, 0xeb, + 0x6a, 0x27, 0x9b, 0xdc, 0x86, 0xd6, 0x4c, 0x5b, 0x3b, 0x68, 0x34, 0x3d, 0x35, 0xdd, 0x52, 0x10, + 0x27, 0xce, 0xcb, 0x85, 0xdb, 0xde, 0x38, 0x00, 0xff, 0x04, 0x17, 0x0e, 0x1c, 0xa8, 0xe5, 0x96, + 0x13, 0x95, 0x93, 0x8b, 0xd5, 0xfe, 0x15, 0xdc, 0xa8, 0xee, 0xe9, 0x91, 0xc6, 0xd6, 0xf8, 0x8b, + 0xda, 0x72, 0x71, 0x52, 0x7f, 0xfc, 0x7e, 0xaf, 0xdf, 0x7b, 0xdd, 0xef, 0x63, 0x04, 0xf7, 0x86, + 0x9e, 0x78, 0x3a, 0x19, 0xb4, 0x1d, 0x36, 0xde, 0x71, 0x99, 0x33, 0xa2, 0xd1, 0x0e, 0xff, 0x92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a7, 0x74, 0xea, 0x8f, 0x9a, 0xac, 0x4b, 0xed, 0x7e, 0xff, 0xc5, + 0xcb, 0xc6, 0xda, 0xd7, 0x2f, 0x1b, 0x6b, 0xbf, 0x9b, 0x37, 0x8c, 0x17, 0xf3, 0x86, 0xf1, 0xd5, + 0xbc, 0x61, 0xfc, 0x7b, 0xde, 0x30, 0xfe, 0xf0, 0xaa, 0xb1, 0xf6, 0xd5, 0xab, 0xc6, 0xda, 0xd7, + 0xaf, 0x1a, 0x6b, 0x83, 0xbc, 0xf2, 0xd5, 0x8f, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x53, 0x14, + 0x4d, 0x41, 0xa0, 0x14, 0x00, 0x00, +} + func (m *Meta) Copy() *Meta { if m == nil { return nil @@ -406,14 +887,14 @@ func (m *Meta) CopyFrom(src interface{}) { o := src.(*Meta) *m = *o - deepcopy.Copy(&m.Version, &o.Version) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Version, &o.Version) if o.CreatedAt != nil { - m.CreatedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.CreatedAt, o.CreatedAt) + m.CreatedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.CreatedAt, o.CreatedAt) } if o.UpdatedAt != nil { - m.UpdatedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.UpdatedAt, o.UpdatedAt) + m.UpdatedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.UpdatedAt, o.UpdatedAt) } } @@ -430,27 +911,27 @@ func (m *Node) CopyFrom(src interface{}) { o := src.(*Node) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.Description != nil { m.Description = &NodeDescription{} - deepcopy.Copy(m.Description, o.Description) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Description, o.Description) } - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) if o.ManagerStatus != nil { m.ManagerStatus = &ManagerStatus{} - deepcopy.Copy(m.ManagerStatus, o.ManagerStatus) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ManagerStatus, o.ManagerStatus) } if o.Attachment != nil { m.Attachment = &NetworkAttachment{} - deepcopy.Copy(m.Attachment, o.Attachment) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Attachment, o.Attachment) } - deepcopy.Copy(&m.Certificate, &o.Certificate) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Certificate, &o.Certificate) if o.Attachments != nil { m.Attachments = make([]*NetworkAttachment, len(o.Attachments)) for i := range m.Attachments { m.Attachments[i] = &NetworkAttachment{} - deepcopy.Copy(m.Attachments[i], o.Attachments[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Attachments[i], o.Attachments[i]) } } @@ -469,27 +950,27 @@ func (m *Service) CopyFrom(src interface{}) { o := src.(*Service) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.SpecVersion != nil { m.SpecVersion = &Version{} - deepcopy.Copy(m.SpecVersion, o.SpecVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SpecVersion, o.SpecVersion) } if o.PreviousSpec != nil { m.PreviousSpec = &ServiceSpec{} - deepcopy.Copy(m.PreviousSpec, o.PreviousSpec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PreviousSpec, o.PreviousSpec) } if o.PreviousSpecVersion != nil { m.PreviousSpecVersion = &Version{} - deepcopy.Copy(m.PreviousSpecVersion, o.PreviousSpecVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PreviousSpecVersion, o.PreviousSpecVersion) } if o.Endpoint != nil { m.Endpoint = &Endpoint{} - deepcopy.Copy(m.Endpoint, o.Endpoint) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Endpoint, o.Endpoint) } if o.UpdateStatus != nil { m.UpdateStatus = &UpdateStatus{} - deepcopy.Copy(m.UpdateStatus, o.UpdateStatus) + github_com_docker_swarmkit_api_deepcopy.Copy(m.UpdateStatus, o.UpdateStatus) } } @@ -508,13 +989,13 @@ func (m *Endpoint) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &EndpointSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } if o.Ports != nil { m.Ports = make([]*PortConfig, len(o.Ports)) for i := range m.Ports { m.Ports[i] = &PortConfig{} - deepcopy.Copy(m.Ports[i], o.Ports[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i]) } } @@ -522,7 +1003,7 @@ func (m *Endpoint) CopyFrom(src interface{}) { m.VirtualIPs = make([]*Endpoint_VirtualIP, len(o.VirtualIPs)) for i := range m.VirtualIPs { m.VirtualIPs[i] = &Endpoint_VirtualIP{} - deepcopy.Copy(m.VirtualIPs[i], o.VirtualIPs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.VirtualIPs[i], o.VirtualIPs[i]) } } @@ -556,36 +1037,36 @@ func (m *Task) CopyFrom(src interface{}) { o := src.(*Task) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.SpecVersion != nil { m.SpecVersion = &Version{} - deepcopy.Copy(m.SpecVersion, o.SpecVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SpecVersion, o.SpecVersion) } - deepcopy.Copy(&m.Annotations, &o.Annotations) - deepcopy.Copy(&m.ServiceAnnotations, &o.ServiceAnnotations) - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.ServiceAnnotations, &o.ServiceAnnotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) if o.Networks != nil { m.Networks = make([]*NetworkAttachment, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &NetworkAttachment{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } if o.Endpoint != nil { m.Endpoint = &Endpoint{} - deepcopy.Copy(m.Endpoint, o.Endpoint) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Endpoint, o.Endpoint) } if o.LogDriver != nil { m.LogDriver = &Driver{} - deepcopy.Copy(m.LogDriver, o.LogDriver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver) } if o.AssignedGenericResources != nil { m.AssignedGenericResources = make([]*GenericResource, len(o.AssignedGenericResources)) for i := range m.AssignedGenericResources { m.AssignedGenericResources[i] = &GenericResource{} - deepcopy.Copy(m.AssignedGenericResources[i], o.AssignedGenericResources[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.AssignedGenericResources[i], o.AssignedGenericResources[i]) } } @@ -606,7 +1087,7 @@ func (m *NetworkAttachment) CopyFrom(src interface{}) { *m = *o if o.Network != nil { m.Network = &Network{} - deepcopy.Copy(m.Network, o.Network) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Network, o.Network) } if o.Addresses != nil { m.Addresses = make([]string, len(o.Addresses)) @@ -640,15 +1121,15 @@ func (m *Network) CopyFrom(src interface{}) { o := src.(*Network) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.DriverState != nil { m.DriverState = &Driver{} - deepcopy.Copy(m.DriverState, o.DriverState) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverState, o.DriverState) } if o.IPAM != nil { m.IPAM = &IPAMOptions{} - deepcopy.Copy(m.IPAM, o.IPAM) + github_com_docker_swarmkit_api_deepcopy.Copy(m.IPAM, o.IPAM) } } @@ -665,14 +1146,14 @@ func (m *Cluster) CopyFrom(src interface{}) { o := src.(*Cluster) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) - deepcopy.Copy(&m.RootCA, &o.RootCA) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.RootCA, &o.RootCA) if o.NetworkBootstrapKeys != nil { m.NetworkBootstrapKeys = make([]*EncryptionKey, len(o.NetworkBootstrapKeys)) for i := range m.NetworkBootstrapKeys { m.NetworkBootstrapKeys[i] = &EncryptionKey{} - deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) } } @@ -680,7 +1161,7 @@ func (m *Cluster) CopyFrom(src interface{}) { m.BlacklistedCertificates = make(map[string]*BlacklistedCertificate, len(o.BlacklistedCertificates)) for k, v := range o.BlacklistedCertificates { m.BlacklistedCertificates[k] = &BlacklistedCertificate{} - deepcopy.Copy(m.BlacklistedCertificates[k], v) + github_com_docker_swarmkit_api_deepcopy.Copy(m.BlacklistedCertificates[k], v) } } @@ -688,7 +1169,7 @@ func (m *Cluster) CopyFrom(src interface{}) { m.UnlockKeys = make([]*EncryptionKey, len(o.UnlockKeys)) for i := range m.UnlockKeys { m.UnlockKeys[i] = &EncryptionKey{} - deepcopy.Copy(m.UnlockKeys[i], o.UnlockKeys[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.UnlockKeys[i], o.UnlockKeys[i]) } } @@ -712,8 +1193,8 @@ func (m *Secret) CopyFrom(src interface{}) { o := src.(*Secret) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) } func (m *Config) Copy() *Config { @@ -729,8 +1210,8 @@ func (m *Config) CopyFrom(src interface{}) { o := src.(*Config) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) } func (m *Resource) Copy() *Resource { @@ -746,11 +1227,11 @@ func (m *Resource) CopyFrom(src interface{}) { o := src.(*Resource) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -767,8 +1248,8 @@ func (m *Extension) CopyFrom(src interface{}) { o := src.(*Extension) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) } func (m *Meta) Marshal() (dAtA []byte, err error) { @@ -1733,8 +2214,10 @@ func encodeVarintObjects(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *Meta) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Version.Size() @@ -1751,6 +2234,9 @@ func (m *Meta) Size() (n int) { } func (m *Node) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1793,6 +2279,9 @@ func (m *Node) Size() (n int) { } func (m *Service) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1830,6 +2319,9 @@ func (m *Service) Size() (n int) { } func (m *Endpoint) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -1852,6 +2344,9 @@ func (m *Endpoint) Size() (n int) { } func (m *Endpoint_VirtualIP) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NetworkID) @@ -1866,6 +2361,9 @@ func (m *Endpoint_VirtualIP) Size() (n int) { } func (m *Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1924,6 +2422,9 @@ func (m *Task) Size() (n int) { } func (m *NetworkAttachment) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -1954,6 +2455,9 @@ func (m *NetworkAttachment) Size() (n int) { } func (m *Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1979,6 +2483,9 @@ func (m *Network) Size() (n int) { } func (m *Cluster) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2038,6 +2545,9 @@ func (m *Cluster) Size() (n int) { } func (m *Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2055,6 +2565,9 @@ func (m *Secret) Size() (n int) { } func (m *Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2069,6 +2582,9 @@ func (m *Config) Size() (n int) { } func (m *Resource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2091,6 +2607,9 @@ func (m *Resource) Size() (n int) { } func (m *Extension) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2133,7 +2652,7 @@ type EventCreateNode struct { Checks []NodeCheckFunc } -func (e EventCreateNode) Matches(apiEvent go_events.Event) bool { +func (e EventCreateNode) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateNode) if !ok { return false @@ -2161,7 +2680,7 @@ type EventUpdateNode struct { Checks []NodeCheckFunc } -func (e EventUpdateNode) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateNode) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateNode) if !ok { return false @@ -2188,7 +2707,7 @@ type EventDeleteNode struct { Checks []NodeCheckFunc } -func (e EventDeleteNode) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteNode) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteNode) if !ok { return false @@ -2409,7 +2928,7 @@ type EventCreateService struct { Checks []ServiceCheckFunc } -func (e EventCreateService) Matches(apiEvent go_events.Event) bool { +func (e EventCreateService) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateService) if !ok { return false @@ -2437,7 +2956,7 @@ type EventUpdateService struct { Checks []ServiceCheckFunc } -func (e EventUpdateService) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateService) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateService) if !ok { return false @@ -2464,7 +2983,7 @@ type EventDeleteService struct { Checks []ServiceCheckFunc } -func (e EventDeleteService) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteService) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteService) if !ok { return false @@ -2655,7 +3174,7 @@ type EventCreateTask struct { Checks []TaskCheckFunc } -func (e EventCreateTask) Matches(apiEvent go_events.Event) bool { +func (e EventCreateTask) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateTask) if !ok { return false @@ -2683,7 +3202,7 @@ type EventUpdateTask struct { Checks []TaskCheckFunc } -func (e EventUpdateTask) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateTask) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateTask) if !ok { return false @@ -2710,7 +3229,7 @@ type EventDeleteTask struct { Checks []TaskCheckFunc } -func (e EventDeleteTask) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteTask) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteTask) if !ok { return false @@ -2944,7 +3463,7 @@ type EventCreateNetwork struct { Checks []NetworkCheckFunc } -func (e EventCreateNetwork) Matches(apiEvent go_events.Event) bool { +func (e EventCreateNetwork) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateNetwork) if !ok { return false @@ -2972,7 +3491,7 @@ type EventUpdateNetwork struct { Checks []NetworkCheckFunc } -func (e EventUpdateNetwork) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateNetwork) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateNetwork) if !ok { return false @@ -2999,7 +3518,7 @@ type EventDeleteNetwork struct { Checks []NetworkCheckFunc } -func (e EventDeleteNetwork) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteNetwork) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteNetwork) if !ok { return false @@ -3190,7 +3709,7 @@ type EventCreateCluster struct { Checks []ClusterCheckFunc } -func (e EventCreateCluster) Matches(apiEvent go_events.Event) bool { +func (e EventCreateCluster) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateCluster) if !ok { return false @@ -3218,7 +3737,7 @@ type EventUpdateCluster struct { Checks []ClusterCheckFunc } -func (e EventUpdateCluster) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateCluster) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateCluster) if !ok { return false @@ -3245,7 +3764,7 @@ type EventDeleteCluster struct { Checks []ClusterCheckFunc } -func (e EventDeleteCluster) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteCluster) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteCluster) if !ok { return false @@ -3436,7 +3955,7 @@ type EventCreateSecret struct { Checks []SecretCheckFunc } -func (e EventCreateSecret) Matches(apiEvent go_events.Event) bool { +func (e EventCreateSecret) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateSecret) if !ok { return false @@ -3464,7 +3983,7 @@ type EventUpdateSecret struct { Checks []SecretCheckFunc } -func (e EventUpdateSecret) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateSecret) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateSecret) if !ok { return false @@ -3491,7 +4010,7 @@ type EventDeleteSecret struct { Checks []SecretCheckFunc } -func (e EventDeleteSecret) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteSecret) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteSecret) if !ok { return false @@ -3682,7 +4201,7 @@ type EventCreateConfig struct { Checks []ConfigCheckFunc } -func (e EventCreateConfig) Matches(apiEvent go_events.Event) bool { +func (e EventCreateConfig) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateConfig) if !ok { return false @@ -3710,7 +4229,7 @@ type EventUpdateConfig struct { Checks []ConfigCheckFunc } -func (e EventUpdateConfig) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateConfig) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateConfig) if !ok { return false @@ -3737,7 +4256,7 @@ type EventDeleteConfig struct { Checks []ConfigCheckFunc } -func (e EventDeleteConfig) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteConfig) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteConfig) if !ok { return false @@ -3928,7 +4447,7 @@ type EventCreateResource struct { Checks []ResourceCheckFunc } -func (e EventCreateResource) Matches(apiEvent go_events.Event) bool { +func (e EventCreateResource) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateResource) if !ok { return false @@ -3956,7 +4475,7 @@ type EventUpdateResource struct { Checks []ResourceCheckFunc } -func (e EventUpdateResource) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateResource) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateResource) if !ok { return false @@ -3983,7 +4502,7 @@ type EventDeleteResource struct { Checks []ResourceCheckFunc } -func (e EventDeleteResource) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteResource) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteResource) if !ok { return false @@ -4180,7 +4699,7 @@ type EventCreateExtension struct { Checks []ExtensionCheckFunc } -func (e EventCreateExtension) Matches(apiEvent go_events.Event) bool { +func (e EventCreateExtension) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateExtension) if !ok { return false @@ -4208,7 +4727,7 @@ type EventUpdateExtension struct { Checks []ExtensionCheckFunc } -func (e EventUpdateExtension) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateExtension) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateExtension) if !ok { return false @@ -4235,7 +4754,7 @@ type EventDeleteExtension struct { Checks []ExtensionCheckFunc } -func (e EventDeleteExtension) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteExtension) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteExtension) if !ok { return false @@ -4764,8 +5283,8 @@ func (this *Meta) String() string { } s := strings.Join([]string{`&Meta{`, `Version:` + strings.Replace(strings.Replace(this.Version.String(), "Version", "Version", 1), `&`, ``, 1) + `,`, - `CreatedAt:` + strings.Replace(fmt.Sprintf("%v", this.CreatedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, - `UpdatedAt:` + strings.Replace(fmt.Sprintf("%v", this.UpdatedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `CreatedAt:` + strings.Replace(fmt.Sprintf("%v", this.CreatedAt), "Timestamp", "types.Timestamp", 1) + `,`, + `UpdatedAt:` + strings.Replace(fmt.Sprintf("%v", this.UpdatedAt), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -4863,7 +5382,7 @@ func (this *NetworkAttachment) String() string { for k, _ := range this.DriverAttachmentOpts { keysForDriverAttachmentOpts = append(keysForDriverAttachmentOpts, k) } - sortkeys.Strings(keysForDriverAttachmentOpts) + github_com_gogo_protobuf_sortkeys.Strings(keysForDriverAttachmentOpts) mapStringForDriverAttachmentOpts := "map[string]string{" for _, k := range keysForDriverAttachmentOpts { mapStringForDriverAttachmentOpts += fmt.Sprintf("%v: %v,", k, this.DriverAttachmentOpts[k]) @@ -4901,7 +5420,7 @@ func (this *Cluster) String() string { for k, _ := range this.BlacklistedCertificates { keysForBlacklistedCertificates = append(keysForBlacklistedCertificates, k) } - sortkeys.Strings(keysForBlacklistedCertificates) + github_com_gogo_protobuf_sortkeys.Strings(keysForBlacklistedCertificates) mapStringForBlacklistedCertificates := "map[string]*BlacklistedCertificate{" for _, k := range keysForBlacklistedCertificates { mapStringForBlacklistedCertificates += fmt.Sprintf("%v: %v,", k, this.BlacklistedCertificates[k]) @@ -4958,7 +5477,7 @@ func (this *Resource) String() string { `Meta:` + strings.Replace(strings.Replace(this.Meta.String(), "Meta", "Meta", 1), `&`, ``, 1) + `,`, `Annotations:` + strings.Replace(strings.Replace(this.Annotations.String(), "Annotations", "Annotations", 1), `&`, ``, 1) + `,`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -4999,7 +5518,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5027,7 +5546,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5036,6 +5555,9 @@ func (m *Meta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5057,7 +5579,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5066,11 +5588,14 @@ func (m *Meta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } if m.CreatedAt == nil { - m.CreatedAt = &google_protobuf.Timestamp{} + m.CreatedAt = &types.Timestamp{} } if err := m.CreatedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5090,7 +5615,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5099,11 +5624,14 @@ func (m *Meta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } if m.UpdatedAt == nil { - m.UpdatedAt = &google_protobuf.Timestamp{} + m.UpdatedAt = &types.Timestamp{} } if err := m.UpdatedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5118,6 +5646,9 @@ func (m *Meta) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5145,7 +5676,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5173,7 +5704,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5183,6 +5714,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5202,7 +5736,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5211,6 +5745,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5232,7 +5769,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5241,6 +5778,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5262,7 +5802,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5271,6 +5811,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5295,7 +5838,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5304,6 +5847,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5325,7 +5871,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5334,6 +5880,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5358,7 +5907,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5367,6 +5916,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5391,7 +5943,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5400,6 +5952,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5421,7 +5976,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -5440,7 +5995,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5449,6 +6004,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5471,7 +6029,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.VXLANUDPPort |= (uint32(b) & 0x7F) << shift + m.VXLANUDPPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -5485,6 +6043,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5512,7 +6073,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5540,7 +6101,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5550,6 +6111,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5569,7 +6133,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5578,6 +6142,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5599,7 +6166,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5608,6 +6175,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5629,7 +6199,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5638,6 +6208,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5662,7 +6235,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5671,6 +6244,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5695,7 +6271,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5704,6 +6280,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5728,7 +6307,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5748,7 +6327,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5757,6 +6336,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5781,7 +6363,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5790,6 +6372,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5809,6 +6394,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5836,7 +6424,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5864,7 +6452,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5873,6 +6461,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5897,7 +6488,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5906,6 +6497,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5928,7 +6522,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5937,6 +6531,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5954,6 +6551,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5981,7 +6581,7 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6009,7 +6609,7 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6019,6 +6619,9 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6038,7 +6641,7 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6048,6 +6651,9 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6062,6 +6668,9 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6089,7 +6698,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6117,7 +6726,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6127,6 +6736,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6146,7 +6758,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6155,6 +6767,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6176,7 +6791,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6185,6 +6800,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6206,7 +6824,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6216,6 +6834,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6235,7 +6856,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Slot |= (uint64(b) & 0x7F) << shift + m.Slot |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6254,7 +6875,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6264,6 +6885,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6283,7 +6907,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6292,6 +6916,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6313,7 +6940,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6322,6 +6949,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6343,7 +6973,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6352,6 +6982,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6373,7 +7006,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DesiredState |= (TaskState(b) & 0x7F) << shift + m.DesiredState |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -6392,7 +7025,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6401,6 +7034,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6423,7 +7059,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6432,6 +7068,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6456,7 +7095,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6465,6 +7104,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6489,7 +7131,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6498,6 +7140,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6522,7 +7167,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6531,6 +7176,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6548,6 +7196,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6575,7 +7226,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6603,7 +7254,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6612,6 +7263,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6636,7 +7290,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6646,6 +7300,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6665,7 +7322,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6675,6 +7332,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6694,7 +7354,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6703,6 +7363,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6723,7 +7386,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6740,7 +7403,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6750,6 +7413,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthObjects + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -6766,7 +7432,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6776,6 +7442,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthObjects + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -6807,6 +7476,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6834,7 +7506,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6862,7 +7534,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6872,6 +7544,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6891,7 +7566,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6900,6 +7575,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6921,7 +7599,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6930,6 +7608,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6951,7 +7632,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6960,6 +7641,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6984,7 +7668,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6993,6 +7677,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7017,7 +7704,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7032,6 +7719,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7059,7 +7749,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7087,7 +7777,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7097,6 +7787,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7116,7 +7809,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7125,6 +7818,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7146,7 +7842,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7155,6 +7851,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7176,7 +7875,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7185,6 +7884,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7206,7 +7908,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7215,6 +7917,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7237,7 +7942,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EncryptionKeyLamportClock |= (uint64(b) & 0x7F) << shift + m.EncryptionKeyLamportClock |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7256,7 +7961,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7265,6 +7970,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7285,7 +7993,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7302,7 +8010,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7312,6 +8020,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthObjects + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -7328,7 +8039,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - mapmsglen |= (int(b) & 0x7F) << shift + mapmsglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7337,7 +8048,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postmsgIndex := iNdEx + mapmsglen - if mapmsglen < 0 { + if postmsgIndex < 0 { return ErrInvalidLengthObjects } if postmsgIndex > l { @@ -7379,7 +8090,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7388,6 +8099,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7410,7 +8124,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7430,7 +8144,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7440,6 +8154,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7459,7 +8176,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SubnetSize |= (uint32(b) & 0x7F) << shift + m.SubnetSize |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -7478,7 +8195,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.VXLANUDPPort |= (uint32(b) & 0x7F) << shift + m.VXLANUDPPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -7492,6 +8209,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7519,7 +8239,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7547,7 +8267,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7557,6 +8277,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7576,7 +8299,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7585,6 +8308,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7606,7 +8332,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7615,6 +8341,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7636,7 +8365,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7651,6 +8380,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7678,7 +8410,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7706,7 +8438,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7716,6 +8448,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7735,7 +8470,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7744,6 +8479,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7765,7 +8503,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7774,6 +8512,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7790,6 +8531,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7817,7 +8561,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7845,7 +8589,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7855,6 +8599,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7874,7 +8621,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7883,6 +8630,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7904,7 +8654,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7913,6 +8663,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7934,7 +8687,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7944,6 +8697,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7963,7 +8719,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7972,11 +8728,14 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -7991,6 +8750,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8018,7 +8780,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8046,7 +8808,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8056,6 +8818,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8075,7 +8840,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8084,6 +8849,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8105,7 +8873,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8114,6 +8882,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8135,7 +8906,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8145,6 +8916,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8159,6 +8933,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8225,10 +9002,13 @@ func skipObjects(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthObjects } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthObjects + } return iNdEx, nil case 3: for { @@ -8257,6 +9037,9 @@ func skipObjects(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthObjects + } } return iNdEx, nil case 4: @@ -8275,112 +9058,3 @@ var ( ErrInvalidLengthObjects = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowObjects = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/objects.proto", fileDescriptorObjects) } - -var fileDescriptorObjects = []byte{ - // 1643 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x73, 0x23, 0x47, - 0x15, 0xdf, 0x91, 0x67, 0xf5, 0xf1, 0xf4, 0xc1, 0xd2, 0x31, 0x66, 0x56, 0x18, 0xc9, 0x28, 0x15, - 0x6a, 0x2b, 0xb5, 0x25, 0x87, 0x25, 0x80, 0xd7, 0x10, 0x12, 0xc9, 0x32, 0x1b, 0x55, 0xb2, 0x59, - 0x57, 0x3b, 0x71, 0x72, 0x1b, 0x5a, 0x33, 0x6d, 0xed, 0xa0, 0xd1, 0xf4, 0xd4, 0x74, 0x4b, 0x41, - 0x9c, 0x38, 0x9b, 0x3f, 0xc0, 0x37, 0x0e, 0xc0, 0x3f, 0xc1, 0x85, 0x03, 0x07, 0x6a, 0xb9, 0x71, - 0xa2, 0x38, 0xb9, 0x58, 0xfd, 0x17, 0xdc, 0xa8, 0xee, 0xe9, 0x91, 0xc6, 0xd6, 0xf8, 0x8b, 0xda, - 0x72, 0x71, 0x72, 0x7f, 0xfc, 0x7e, 0xaf, 0xdf, 0x7b, 0xf3, 0xbe, 0x2c, 0x78, 0x3c, 0xf4, 0xc4, - 0xcb, 0xc9, 0xa0, 0xed, 0xb0, 0xf1, 0xb6, 0xcb, 0x9c, 0x11, 0x8d, 0xb6, 0xf9, 0xd7, 0x24, 0x1a, - 0x8f, 0x3c, 0xb1, 0x4d, 0x42, 0x6f, 0x9b, 0x0d, 0x7e, 0x45, 0x1d, 0xc1, 0xdb, 0x61, 0xc4, 0x04, - 0x43, 0x28, 0x86, 0xb4, 0x13, 0x48, 0x7b, 0xfa, 0x83, 0xfa, 0xbb, 0xd7, 0x48, 0x10, 0xb3, 0x90, - 0x6a, 0xfe, 0xb5, 0x58, 0x1e, 0x52, 0x27, 0xc1, 0x36,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b, 0xff, 0xfc, 0xf0, 0xbf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xc3, 0x37, 0x09, 0x2f, 0x94, 0x14, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/raft.pb.go b/vendor/github.com/docker/swarmkit/api/raft.pb.go index a32a6001b9..16fb0b0c8e 100644 --- a/vendor/github.com/docker/swarmkit/api/raft.pb.go +++ b/vendor/github.com/docker/swarmkit/api/raft.pb.go @@ -3,36 +3,36 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import raftpb "github.com/coreos/etcd/raft/raftpb" - -// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto" -// skipping weak import docker_protobuf_plugin "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + raftpb "github.com/coreos/etcd/raft/raftpb" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // StoreActionKind defines the operation to take on the store for the target of // a storage action. type StoreActionKind int32 @@ -50,6 +50,7 @@ var StoreActionKind_name = map[int32]string{ 2: "STORE_ACTION_UPDATE", 3: "STORE_ACTION_REMOVE", } + var StoreActionKind_value = map[string]int32{ "UNKNOWN": 0, "STORE_ACTION_CREATE": 1, @@ -60,7 +61,10 @@ var StoreActionKind_value = map[string]int32{ func (x StoreActionKind) String() string { return proto.EnumName(StoreActionKind_name, int32(x)) } -func (StoreActionKind) EnumDescriptor() ([]byte, []int) { return fileDescriptorRaft, []int{0} } + +func (StoreActionKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{0} +} type RaftMember struct { // RaftID specifies the internal ID used by the manager in a raft context, it can never be modified @@ -71,112 +75,448 @@ type RaftMember struct { // Addr specifies the address of the member Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` // Status provides the current status of the manager from the perspective of another manager. - Status RaftMemberStatus `protobuf:"bytes,4,opt,name=status" json:"status"` + Status RaftMemberStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status"` } -func (m *RaftMember) Reset() { *m = RaftMember{} } -func (*RaftMember) ProtoMessage() {} -func (*RaftMember) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{0} } +func (m *RaftMember) Reset() { *m = RaftMember{} } +func (*RaftMember) ProtoMessage() {} +func (*RaftMember) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{0} +} +func (m *RaftMember) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RaftMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RaftMember.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RaftMember) XXX_Merge(src proto.Message) { + xxx_messageInfo_RaftMember.Merge(m, src) +} +func (m *RaftMember) XXX_Size() int { + return m.Size() +} +func (m *RaftMember) XXX_DiscardUnknown() { + xxx_messageInfo_RaftMember.DiscardUnknown(m) +} + +var xxx_messageInfo_RaftMember proto.InternalMessageInfo type JoinRequest struct { // Addr specifies the address of the member Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *JoinRequest) Reset() { *m = JoinRequest{} } -func (*JoinRequest) ProtoMessage() {} -func (*JoinRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{1} } +func (m *JoinRequest) Reset() { *m = JoinRequest{} } +func (*JoinRequest) ProtoMessage() {} +func (*JoinRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{1} +} +func (m *JoinRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JoinRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JoinRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_JoinRequest.Merge(m, src) +} +func (m *JoinRequest) XXX_Size() int { + return m.Size() +} +func (m *JoinRequest) XXX_DiscardUnknown() { + xxx_messageInfo_JoinRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_JoinRequest proto.InternalMessageInfo 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" json:"members,omitempty"` + 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" json:"removed_members,omitempty"` + RemovedMembers []uint64 `protobuf:"varint,3,rep,name=removed_members,json=removedMembers,proto3" json:"removed_members,omitempty"` } -func (m *JoinResponse) Reset() { *m = JoinResponse{} } -func (*JoinResponse) ProtoMessage() {} -func (*JoinResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{2} } +func (m *JoinResponse) Reset() { *m = JoinResponse{} } +func (*JoinResponse) ProtoMessage() {} +func (*JoinResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{2} +} +func (m *JoinResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JoinResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JoinResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_JoinResponse.Merge(m, src) +} +func (m *JoinResponse) XXX_Size() int { + return m.Size() +} +func (m *JoinResponse) XXX_DiscardUnknown() { + xxx_messageInfo_JoinResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_JoinResponse proto.InternalMessageInfo type LeaveRequest struct { - Node *RaftMember `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` + Node *RaftMember `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` } -func (m *LeaveRequest) Reset() { *m = LeaveRequest{} } -func (*LeaveRequest) ProtoMessage() {} -func (*LeaveRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{3} } +func (m *LeaveRequest) Reset() { *m = LeaveRequest{} } +func (*LeaveRequest) ProtoMessage() {} +func (*LeaveRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{3} +} +func (m *LeaveRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LeaveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LeaveRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LeaveRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LeaveRequest.Merge(m, src) +} +func (m *LeaveRequest) XXX_Size() int { + return m.Size() +} +func (m *LeaveRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LeaveRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LeaveRequest proto.InternalMessageInfo type LeaveResponse struct { } -func (m *LeaveResponse) Reset() { *m = LeaveResponse{} } -func (*LeaveResponse) ProtoMessage() {} -func (*LeaveResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{4} } - -type ProcessRaftMessageRequest struct { - Message *raftpb.Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` +func (m *LeaveResponse) Reset() { *m = LeaveResponse{} } +func (*LeaveResponse) ProtoMessage() {} +func (*LeaveResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{4} +} +func (m *LeaveResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LeaveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LeaveResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LeaveResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LeaveResponse.Merge(m, src) +} +func (m *LeaveResponse) XXX_Size() int { + return m.Size() +} +func (m *LeaveResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LeaveResponse.DiscardUnknown(m) } -func (m *ProcessRaftMessageRequest) Reset() { *m = ProcessRaftMessageRequest{} } -func (*ProcessRaftMessageRequest) ProtoMessage() {} -func (*ProcessRaftMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{5} } +var xxx_messageInfo_LeaveResponse proto.InternalMessageInfo + +type ProcessRaftMessageRequest struct { + Message *raftpb.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (m *ProcessRaftMessageRequest) Reset() { *m = ProcessRaftMessageRequest{} } +func (*ProcessRaftMessageRequest) ProtoMessage() {} +func (*ProcessRaftMessageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{5} +} +func (m *ProcessRaftMessageRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProcessRaftMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProcessRaftMessageRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProcessRaftMessageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessRaftMessageRequest.Merge(m, src) +} +func (m *ProcessRaftMessageRequest) XXX_Size() int { + return m.Size() +} +func (m *ProcessRaftMessageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessRaftMessageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ProcessRaftMessageRequest proto.InternalMessageInfo type ProcessRaftMessageResponse struct { } -func (m *ProcessRaftMessageResponse) Reset() { *m = ProcessRaftMessageResponse{} } -func (*ProcessRaftMessageResponse) ProtoMessage() {} -func (*ProcessRaftMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{6} } +func (m *ProcessRaftMessageResponse) Reset() { *m = ProcessRaftMessageResponse{} } +func (*ProcessRaftMessageResponse) ProtoMessage() {} +func (*ProcessRaftMessageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{6} +} +func (m *ProcessRaftMessageResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProcessRaftMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProcessRaftMessageResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProcessRaftMessageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessRaftMessageResponse.Merge(m, src) +} +func (m *ProcessRaftMessageResponse) XXX_Size() int { + return m.Size() +} +func (m *ProcessRaftMessageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessRaftMessageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ProcessRaftMessageResponse proto.InternalMessageInfo // Raft message streaming request. type StreamRaftMessageRequest struct { - Message *raftpb.Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` + Message *raftpb.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` } -func (m *StreamRaftMessageRequest) Reset() { *m = StreamRaftMessageRequest{} } -func (*StreamRaftMessageRequest) ProtoMessage() {} -func (*StreamRaftMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{7} } +func (m *StreamRaftMessageRequest) Reset() { *m = StreamRaftMessageRequest{} } +func (*StreamRaftMessageRequest) ProtoMessage() {} +func (*StreamRaftMessageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{7} +} +func (m *StreamRaftMessageRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StreamRaftMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StreamRaftMessageRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StreamRaftMessageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamRaftMessageRequest.Merge(m, src) +} +func (m *StreamRaftMessageRequest) XXX_Size() int { + return m.Size() +} +func (m *StreamRaftMessageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StreamRaftMessageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StreamRaftMessageRequest proto.InternalMessageInfo // Raft message streaming response. type StreamRaftMessageResponse struct { } -func (m *StreamRaftMessageResponse) Reset() { *m = StreamRaftMessageResponse{} } -func (*StreamRaftMessageResponse) ProtoMessage() {} -func (*StreamRaftMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{8} } +func (m *StreamRaftMessageResponse) Reset() { *m = StreamRaftMessageResponse{} } +func (*StreamRaftMessageResponse) ProtoMessage() {} +func (*StreamRaftMessageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{8} +} +func (m *StreamRaftMessageResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StreamRaftMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StreamRaftMessageResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StreamRaftMessageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamRaftMessageResponse.Merge(m, src) +} +func (m *StreamRaftMessageResponse) XXX_Size() int { + return m.Size() +} +func (m *StreamRaftMessageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StreamRaftMessageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_StreamRaftMessageResponse proto.InternalMessageInfo type ResolveAddressRequest struct { // raft_id is the ID to resolve to an address. RaftID uint64 `protobuf:"varint,1,opt,name=raft_id,json=raftId,proto3" json:"raft_id,omitempty"` } -func (m *ResolveAddressRequest) Reset() { *m = ResolveAddressRequest{} } -func (*ResolveAddressRequest) ProtoMessage() {} -func (*ResolveAddressRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{9} } +func (m *ResolveAddressRequest) Reset() { *m = ResolveAddressRequest{} } +func (*ResolveAddressRequest) ProtoMessage() {} +func (*ResolveAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{9} +} +func (m *ResolveAddressRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResolveAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResolveAddressRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResolveAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveAddressRequest.Merge(m, src) +} +func (m *ResolveAddressRequest) XXX_Size() int { + return m.Size() +} +func (m *ResolveAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveAddressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveAddressRequest proto.InternalMessageInfo type ResolveAddressResponse struct { // Addr specifies the address of the member Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *ResolveAddressResponse) Reset() { *m = ResolveAddressResponse{} } -func (*ResolveAddressResponse) ProtoMessage() {} -func (*ResolveAddressResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{10} } +func (m *ResolveAddressResponse) Reset() { *m = ResolveAddressResponse{} } +func (*ResolveAddressResponse) ProtoMessage() {} +func (*ResolveAddressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{10} +} +func (m *ResolveAddressResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResolveAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResolveAddressResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResolveAddressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveAddressResponse.Merge(m, src) +} +func (m *ResolveAddressResponse) XXX_Size() int { + return m.Size() +} +func (m *ResolveAddressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveAddressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveAddressResponse proto.InternalMessageInfo // 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 type InternalRaftRequest struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Action []StoreAction `protobuf:"bytes,2,rep,name=action" json:"action"` + Action []StoreAction `protobuf:"bytes,2,rep,name=action,proto3" json:"action"` } -func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } -func (*InternalRaftRequest) ProtoMessage() {} -func (*InternalRaftRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{11} } +func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } +func (*InternalRaftRequest) ProtoMessage() {} +func (*InternalRaftRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{11} +} +func (m *InternalRaftRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *InternalRaftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_InternalRaftRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *InternalRaftRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InternalRaftRequest.Merge(m, src) +} +func (m *InternalRaftRequest) XXX_Size() int { + return m.Size() +} +func (m *InternalRaftRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InternalRaftRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_InternalRaftRequest proto.InternalMessageInfo // StoreAction defines a target and operation to apply on the storage system. type StoreAction struct { @@ -194,9 +534,37 @@ type StoreAction struct { Target isStoreAction_Target `protobuf_oneof:"target"` } -func (m *StoreAction) Reset() { *m = StoreAction{} } -func (*StoreAction) ProtoMessage() {} -func (*StoreAction) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{12} } +func (m *StoreAction) Reset() { *m = StoreAction{} } +func (*StoreAction) ProtoMessage() {} +func (*StoreAction) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{12} +} +func (m *StoreAction) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StoreAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StoreAction.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StoreAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoreAction.Merge(m, src) +} +func (m *StoreAction) XXX_Size() int { + return m.Size() +} +func (m *StoreAction) XXX_DiscardUnknown() { + xxx_messageInfo_StoreAction.DiscardUnknown(m) +} + +var xxx_messageInfo_StoreAction proto.InternalMessageInfo type isStoreAction_Target interface { isStoreAction_Target() @@ -205,31 +573,31 @@ type isStoreAction_Target interface { } type StoreAction_Node struct { - Node *Node `protobuf:"bytes,2,opt,name=node,oneof"` + Node *Node `protobuf:"bytes,2,opt,name=node,proto3,oneof"` } type StoreAction_Service struct { - Service *Service `protobuf:"bytes,3,opt,name=service,oneof"` + Service *Service `protobuf:"bytes,3,opt,name=service,proto3,oneof"` } type StoreAction_Task struct { - Task *Task `protobuf:"bytes,4,opt,name=task,oneof"` + Task *Task `protobuf:"bytes,4,opt,name=task,proto3,oneof"` } type StoreAction_Network struct { - Network *Network `protobuf:"bytes,5,opt,name=network,oneof"` + Network *Network `protobuf:"bytes,5,opt,name=network,proto3,oneof"` } type StoreAction_Cluster struct { - Cluster *Cluster `protobuf:"bytes,6,opt,name=cluster,oneof"` + Cluster *Cluster `protobuf:"bytes,6,opt,name=cluster,proto3,oneof"` } type StoreAction_Secret struct { - Secret *Secret `protobuf:"bytes,7,opt,name=secret,oneof"` + Secret *Secret `protobuf:"bytes,7,opt,name=secret,proto3,oneof"` } type StoreAction_Resource struct { - Resource *Resource `protobuf:"bytes,8,opt,name=resource,oneof"` + Resource *Resource `protobuf:"bytes,8,opt,name=resource,proto3,oneof"` } type StoreAction_Extension struct { - Extension *Extension `protobuf:"bytes,9,opt,name=extension,oneof"` + Extension *Extension `protobuf:"bytes,9,opt,name=extension,proto3,oneof"` } type StoreAction_Config struct { - Config *Config `protobuf:"bytes,10,opt,name=config,oneof"` + Config *Config `protobuf:"bytes,10,opt,name=config,proto3,oneof"` } func (*StoreAction_Node) isStoreAction_Target() {} @@ -469,47 +837,47 @@ func _StoreAction_OneofSizer(msg proto.Message) (n int) { switch x := m.Target.(type) { case *StoreAction_Node: s := proto.Size(x.Node) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Service: s := proto.Size(x.Service) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Task: s := proto.Size(x.Task) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Network: s := proto.Size(x.Network) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Cluster: s := proto.Size(x.Cluster) - n += proto.SizeVarint(6<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Secret: s := proto.Size(x.Secret) - n += proto.SizeVarint(7<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Resource: s := proto.Size(x.Resource) - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Extension: s := proto.Size(x.Extension) - n += proto.SizeVarint(9<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Config: s := proto.Size(x.Config) - n += proto.SizeVarint(10<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -520,6 +888,7 @@ func _StoreAction_OneofSizer(msg proto.Message) (n int) { } func init() { + proto.RegisterEnum("docker.swarmkit.v1.StoreActionKind", StoreActionKind_name, StoreActionKind_value) proto.RegisterType((*RaftMember)(nil), "docker.swarmkit.v1.RaftMember") proto.RegisterType((*JoinRequest)(nil), "docker.swarmkit.v1.JoinRequest") proto.RegisterType((*JoinResponse)(nil), "docker.swarmkit.v1.JoinResponse") @@ -533,7 +902,79 @@ func init() { proto.RegisterType((*ResolveAddressResponse)(nil), "docker.swarmkit.v1.ResolveAddressResponse") proto.RegisterType((*InternalRaftRequest)(nil), "docker.swarmkit.v1.InternalRaftRequest") proto.RegisterType((*StoreAction)(nil), "docker.swarmkit.v1.StoreAction") - proto.RegisterEnum("docker.swarmkit.v1.StoreActionKind", StoreActionKind_name, StoreActionKind_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/raft.proto", fileDescriptor_d2c32e1e3c930c15) +} + +var fileDescriptor_d2c32e1e3c930c15 = []byte{ + // 1028 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x41, 0x73, 0xdb, 0x44, + 0x14, 0xc7, 0x25, 0x5b, 0x75, 0x9a, 0x97, 0x36, 0x09, 0x5b, 0x12, 0x14, 0xb5, 0x28, 0xae, 0xda, + 0x19, 0x9c, 0x90, 0xc8, 0x83, 0x61, 0xa6, 0x4c, 0xa1, 0x87, 0x38, 0xf1, 0x4c, 0x4c, 0x5a, 0xa7, + 0xa3, 0x24, 0xd0, 0x5b, 0x90, 0xa5, 0x8d, 0x2b, 0x1c, 0x6b, 0xcd, 0xee, 0x3a, 0x81, 0x0b, 0xd3, + 0x23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 0x36, 0x95, 0x67, 0x5d, 0x53, 0x3d, 0xee, 0x9a, 0xea, 0xcb, 0xae, 0xa9, 0xfe, 0xd5, 0x35, + 0xd5, 0xef, 0x4f, 0x4d, 0xe5, 0xe5, 0xa9, 0xa9, 0xbc, 0x3a, 0x35, 0x95, 0x27, 0xd9, 0x27, 0x5a, + 0x3d, 0x27, 0x7f, 0x5d, 0xbd, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x42, 0x09, 0xd0, + 0x76, 0x0a, 0x00, 0x00, } type authenticatedWrapperRaftServer struct { @@ -613,7 +1054,7 @@ func (m *RaftMember) CopyFrom(src interface{}) { o := src.(*RaftMember) *m = *o - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) } func (m *JoinRequest) Copy() *JoinRequest { @@ -648,7 +1089,7 @@ func (m *JoinResponse) CopyFrom(src interface{}) { m.Members = make([]*RaftMember, len(o.Members)) for i := range m.Members { m.Members[i] = &RaftMember{} - deepcopy.Copy(m.Members[i], o.Members[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Members[i], o.Members[i]) } } @@ -674,7 +1115,7 @@ func (m *LeaveRequest) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &RaftMember{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } } @@ -754,7 +1195,7 @@ func (m *InternalRaftRequest) CopyFrom(src interface{}) { if o.Action != nil { m.Action = make([]StoreAction, len(o.Action)) for i := range m.Action { - deepcopy.Copy(&m.Action[i], &o.Action[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Action[i], &o.Action[i]) } } @@ -779,55 +1220,55 @@ func (m *StoreAction) CopyFrom(src interface{}) { v := StoreAction_Node{ Node: &Node{}, } - deepcopy.Copy(v.Node, o.GetNode()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Node, o.GetNode()) m.Target = &v case *StoreAction_Service: v := StoreAction_Service{ Service: &Service{}, } - deepcopy.Copy(v.Service, o.GetService()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Service, o.GetService()) m.Target = &v case *StoreAction_Task: v := StoreAction_Task{ Task: &Task{}, } - deepcopy.Copy(v.Task, o.GetTask()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Task, o.GetTask()) m.Target = &v case *StoreAction_Network: v := StoreAction_Network{ Network: &Network{}, } - deepcopy.Copy(v.Network, o.GetNetwork()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Network, o.GetNetwork()) m.Target = &v case *StoreAction_Cluster: v := StoreAction_Cluster{ Cluster: &Cluster{}, } - deepcopy.Copy(v.Cluster, o.GetCluster()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Cluster, o.GetCluster()) m.Target = &v case *StoreAction_Secret: v := StoreAction_Secret{ Secret: &Secret{}, } - deepcopy.Copy(v.Secret, o.GetSecret()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Secret, o.GetSecret()) m.Target = &v case *StoreAction_Resource: v := StoreAction_Resource{ Resource: &Resource{}, } - deepcopy.Copy(v.Resource, o.GetResource()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Resource, o.GetResource()) m.Target = &v case *StoreAction_Extension: v := StoreAction_Extension{ Extension: &Extension{}, } - deepcopy.Copy(v.Extension, o.GetExtension()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Extension, o.GetExtension()) m.Target = &v case *StoreAction_Config: v := StoreAction_Config{ Config: &Config{}, } - deepcopy.Copy(v.Config, o.GetConfig()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Config, o.GetConfig()) m.Target = &v } } @@ -842,8 +1283,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Raft service - +// RaftClient is the client API for Raft service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type RaftClient interface { // ProcessRaftMessage sends a raft message to be processed on a raft member, it is // called from the RaftMember willing to send a message to its destination ('To' field) @@ -868,7 +1310,7 @@ func NewRaftClient(cc *grpc.ClientConn) RaftClient { func (c *raftClient) ProcessRaftMessage(ctx context.Context, in *ProcessRaftMessageRequest, opts ...grpc.CallOption) (*ProcessRaftMessageResponse, error) { out := new(ProcessRaftMessageResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ProcessRaftMessage", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ProcessRaftMessage", in, out, opts...) if err != nil { return nil, err } @@ -876,7 +1318,7 @@ func (c *raftClient) ProcessRaftMessage(ctx context.Context, in *ProcessRaftMess } func (c *raftClient) StreamRaftMessage(ctx context.Context, opts ...grpc.CallOption) (Raft_StreamRaftMessageClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Raft_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Raft/StreamRaftMessage", opts...) + stream, err := c.cc.NewStream(ctx, &_Raft_serviceDesc.Streams[0], "/docker.swarmkit.v1.Raft/StreamRaftMessage", opts...) if err != nil { return nil, err } @@ -911,15 +1353,14 @@ func (x *raftStreamRaftMessageClient) CloseAndRecv() (*StreamRaftMessageResponse func (c *raftClient) ResolveAddress(ctx context.Context, in *ResolveAddressRequest, opts ...grpc.CallOption) (*ResolveAddressResponse, error) { out := new(ResolveAddressResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ResolveAddress", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ResolveAddress", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Raft service - +// RaftServer is the server API for Raft service. type RaftServer interface { // ProcessRaftMessage sends a raft message to be processed on a raft member, it is // called from the RaftMember willing to send a message to its destination ('To' field) @@ -1023,8 +1464,9 @@ var _Raft_serviceDesc = grpc.ServiceDesc{ Metadata: "github.com/docker/swarmkit/api/raft.proto", } -// Client API for RaftMembership service - +// RaftMembershipClient is the client API for RaftMembership service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type RaftMembershipClient interface { // Join adds a RaftMember to the raft cluster. Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error) @@ -1042,7 +1484,7 @@ func NewRaftMembershipClient(cc *grpc.ClientConn) RaftMembershipClient { func (c *raftMembershipClient) Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error) { out := new(JoinResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Join", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Join", in, out, opts...) if err != nil { return nil, err } @@ -1051,15 +1493,14 @@ func (c *raftMembershipClient) Join(ctx context.Context, in *JoinRequest, opts . func (c *raftMembershipClient) Leave(ctx context.Context, in *LeaveRequest, opts ...grpc.CallOption) (*LeaveResponse, error) { out := new(LeaveResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Leave", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Leave", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for RaftMembership service - +// RaftMembershipServer is the server API for RaftMembership service. type RaftMembershipServer interface { // Join adds a RaftMember to the raft cluster. Join(context.Context, *JoinRequest) (*JoinResponse, error) @@ -1961,6 +2402,9 @@ func (p *raftProxyRaftMembershipServer) Leave(ctx context.Context, r *LeaveReque } func (m *RaftMember) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -1980,6 +2424,9 @@ func (m *RaftMember) Size() (n int) { } func (m *JoinRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Addr) @@ -1990,6 +2437,9 @@ func (m *JoinRequest) Size() (n int) { } func (m *JoinResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -2010,6 +2460,9 @@ func (m *JoinResponse) Size() (n int) { } func (m *LeaveRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -2020,12 +2473,18 @@ func (m *LeaveRequest) Size() (n int) { } func (m *LeaveResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ProcessRaftMessageRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Message != nil { @@ -2036,12 +2495,18 @@ func (m *ProcessRaftMessageRequest) Size() (n int) { } func (m *ProcessRaftMessageResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *StreamRaftMessageRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Message != nil { @@ -2052,12 +2517,18 @@ func (m *StreamRaftMessageRequest) Size() (n int) { } func (m *StreamRaftMessageResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ResolveAddressRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -2067,6 +2538,9 @@ func (m *ResolveAddressRequest) Size() (n int) { } func (m *ResolveAddressResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Addr) @@ -2077,6 +2551,9 @@ func (m *ResolveAddressResponse) Size() (n int) { } func (m *InternalRaftRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.ID != 0 { @@ -2092,6 +2569,9 @@ func (m *InternalRaftRequest) Size() (n int) { } func (m *StoreAction) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Action != 0 { @@ -2104,6 +2584,9 @@ func (m *StoreAction) Size() (n int) { } func (m *StoreAction_Node) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -2113,6 +2596,9 @@ func (m *StoreAction_Node) Size() (n int) { return n } func (m *StoreAction_Service) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -2122,6 +2608,9 @@ func (m *StoreAction_Service) Size() (n int) { return n } func (m *StoreAction_Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -2131,6 +2620,9 @@ func (m *StoreAction_Task) Size() (n int) { return n } func (m *StoreAction_Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -2140,6 +2632,9 @@ func (m *StoreAction_Network) Size() (n int) { return n } func (m *StoreAction_Cluster) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -2149,6 +2644,9 @@ func (m *StoreAction_Cluster) Size() (n int) { return n } func (m *StoreAction_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -2158,6 +2656,9 @@ func (m *StoreAction_Secret) Size() (n int) { return n } func (m *StoreAction_Resource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -2167,6 +2668,9 @@ func (m *StoreAction_Resource) Size() (n int) { return n } func (m *StoreAction_Extension) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -2176,6 +2680,9 @@ func (m *StoreAction_Extension) Size() (n int) { return n } func (m *StoreAction_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -2445,7 +2952,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2473,7 +2980,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2492,7 +2999,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2502,6 +3009,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2521,7 +3031,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2531,6 +3041,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2550,7 +3063,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2559,6 +3072,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2575,6 +3091,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2602,7 +3121,7 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2630,7 +3149,7 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2640,6 +3159,9 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2654,6 +3176,9 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2681,7 +3206,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2709,7 +3234,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2728,7 +3253,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2737,6 +3262,9 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2757,7 +3285,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2774,7 +3302,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2783,9 +3311,23 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.RemovedMembers) == 0 { + m.RemovedMembers = make([]uint64, 0, elementCount) + } for iNdEx < postIndex { var v uint64 for shift := uint(0); ; shift += 7 { @@ -2797,7 +3339,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2816,6 +3358,9 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2843,7 +3388,7 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2871,7 +3416,7 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2880,6 +3425,9 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2899,6 +3447,9 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2926,7 +3477,7 @@ func (m *LeaveResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2949,6 +3500,9 @@ func (m *LeaveResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2976,7 +3530,7 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3004,7 +3558,7 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3013,6 +3567,9 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3032,6 +3589,9 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3059,7 +3619,7 @@ func (m *ProcessRaftMessageResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3082,6 +3642,9 @@ func (m *ProcessRaftMessageResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3109,7 +3672,7 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3137,7 +3700,7 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3146,6 +3709,9 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3165,6 +3731,9 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3192,7 +3761,7 @@ func (m *StreamRaftMessageResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3215,6 +3784,9 @@ func (m *StreamRaftMessageResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3242,7 +3814,7 @@ func (m *ResolveAddressRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3270,7 +3842,7 @@ func (m *ResolveAddressRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3284,6 +3856,9 @@ func (m *ResolveAddressRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3311,7 +3886,7 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3339,7 +3914,7 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3349,6 +3924,9 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3363,6 +3941,9 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3390,7 +3971,7 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3418,7 +3999,7 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ID |= (uint64(b) & 0x7F) << shift + m.ID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3437,7 +4018,7 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3446,6 +4027,9 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3463,6 +4047,9 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3490,7 +4077,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3518,7 +4105,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (StoreActionKind(b) & 0x7F) << shift + m.Action |= StoreActionKind(b&0x7F) << shift if b < 0x80 { break } @@ -3537,7 +4124,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3546,6 +4133,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3569,7 +4159,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3578,6 +4168,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3601,7 +4194,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3610,6 +4203,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3633,7 +4229,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3642,6 +4238,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3665,7 +4264,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3674,6 +4273,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3697,7 +4299,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3706,6 +4308,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3729,7 +4334,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3738,6 +4343,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3761,7 +4369,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3770,6 +4378,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3793,7 +4404,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3802,6 +4413,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3820,6 +4434,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3886,10 +4503,13 @@ func skipRaft(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthRaft } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthRaft + } return iNdEx, nil case 3: for { @@ -3918,6 +4538,9 @@ func skipRaft(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthRaft + } } return iNdEx, nil case 4: @@ -3936,73 +4559,3 @@ var ( ErrInvalidLengthRaft = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRaft = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/raft.proto", fileDescriptorRaft) } - -var fileDescriptorRaft = []byte{ - // 1015 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xc1, 0x6e, 0x1b, 0x45, - 0x18, 0xc7, 0x77, 0xed, 0xad, 0xd3, 0x7c, 0x69, 0x93, 0x30, 0x25, 0x61, 0xb3, 0x2d, 0x8e, 0xbb, - 0x45, 0xc2, 0x09, 0xc9, 0x5a, 0x18, 0xa4, 0xa2, 0x42, 0x0f, 0x71, 0x62, 0x29, 0x26, 0xad, 0x53, - 0x6d, 0x12, 0xe8, 0x2d, 0xac, 0x77, 0x27, 0xee, 0x62, 0x7b, 0xc7, 0xcc, 0x8c, 0x1d, 0xb8, 0xa0, - 0x1e, 0x21, 0x2f, 0x00, 0x42, 0xaa, 0x38, 0xc0, 0xb9, 0x0f, 0xc0, 0x03, 0xa0, 0x88, 0x13, 0x37, - 0x38, 0x45, 0xd4, 0x0f, 0x00, 0xaf, 0x80, 0x66, 0x76, 0xd7, 0x31, 0xf6, 0xda, 0xf1, 0x81, 0x4b, - 0x32, 0xda, 0xf9, 0xfd, 0xbf, 0xff, 0x37, 0x33, 0xdf, 0x7c, 0x63, 0x58, 0xab, 0xfb, 0xfc, 0x59, - 0xa7, 0x66, 0xb9, 0xa4, 0x55, 0xf0, 0x88, 0xdb, 0xc0, 0xb4, 0xc0, 0x4e, 0x1d, 0xda, 0x6a, 0xf8, - 0xbc, 0xe0, 0xb4, 0xfd, 0x02, 0x75, 0x4e, 0xb8, 0xd5, 0xa6, 0x84, 0x13, 0x84, 0xc2, 0x79, 0x2b, - 0x9e, 0xb7, 0xba, 0xef, 0x1a, 0x1b, 0x57,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x56, 0x85, 0xd7, 0x46, 0x1a, 0x19, 0xda, 0x48, 0xbe, 0xc6, 0xc9, 0xcd, 0xd3, - 0xd8, 0x9c, 0x92, 0x9e, 0x98, 0x49, 0x5e, 0x45, 0x5f, 0xc3, 0xfc, 0x7f, 0x1b, 0x1f, 0x5a, 0x1b, - 0x57, 0xce, 0x23, 0xad, 0xd5, 0x58, 0x9f, 0x06, 0x9d, 0x98, 0x41, 0xf1, 0x0f, 0x15, 0xe6, 0x2f, - 0x9f, 0x2c, 0xf6, 0xcc, 0x6f, 0xa3, 0xcf, 0x40, 0x13, 0x0f, 0x32, 0x4a, 0x6c, 0x93, 0x03, 0xcf, - 0xb9, 0x91, 0x1b, 0x0f, 0x4c, 0x3e, 0x00, 0x17, 0xae, 0xc9, 0x27, 0x11, 0x25, 0x46, 0x18, 0x7c, - 0x71, 0x8d, 0xbb, 0x13, 0x88, 0x89, 0x26, 0x25, 0xfd, 0xfc, 0x55, 0x56, 0xf9, 0xf3, 0x55, 0x56, - 0x79, 0xde, 0xcb, 0xaa, 0xe7, 0xbd, 0xac, 0xfa, 0x7b, 0x2f, 0xab, 0xfe, 0xd5, 0xcb, 0xaa, 0x4f, - 0xd3, 0x4f, 0xb5, 0x5a, 0x46, 0xfe, 0xa2, 0x7a, 0xef, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3e, - 0x7a, 0x8b, 0xe7, 0x6a, 0x0a, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/resource.pb.go b/vendor/github.com/docker/swarmkit/api/resource.pb.go index 2d4741993e..d68c4bac02 100644 --- a/vendor/github.com/docker/swarmkit/api/resource.pb.go +++ b/vendor/github.com/docker/swarmkit/api/resource.pb.go @@ -3,65 +3,180 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type AttachNetworkRequest struct { - Config *NetworkAttachmentConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + 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 (m *AttachNetworkRequest) Reset() { *m = AttachNetworkRequest{} } -func (*AttachNetworkRequest) ProtoMessage() {} -func (*AttachNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{0} } +func (m *AttachNetworkRequest) Reset() { *m = AttachNetworkRequest{} } +func (*AttachNetworkRequest) ProtoMessage() {} +func (*AttachNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{0} +} +func (m *AttachNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AttachNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AttachNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AttachNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachNetworkRequest.Merge(m, src) +} +func (m *AttachNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *AttachNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AttachNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AttachNetworkRequest proto.InternalMessageInfo type AttachNetworkResponse struct { AttachmentID string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"` } -func (m *AttachNetworkResponse) Reset() { *m = AttachNetworkResponse{} } -func (*AttachNetworkResponse) ProtoMessage() {} -func (*AttachNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{1} } +func (m *AttachNetworkResponse) Reset() { *m = AttachNetworkResponse{} } +func (*AttachNetworkResponse) ProtoMessage() {} +func (*AttachNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{1} +} +func (m *AttachNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AttachNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AttachNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AttachNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachNetworkResponse.Merge(m, src) +} +func (m *AttachNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *AttachNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AttachNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AttachNetworkResponse proto.InternalMessageInfo type DetachNetworkRequest struct { AttachmentID string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"` } -func (m *DetachNetworkRequest) Reset() { *m = DetachNetworkRequest{} } -func (*DetachNetworkRequest) ProtoMessage() {} -func (*DetachNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{2} } +func (m *DetachNetworkRequest) Reset() { *m = DetachNetworkRequest{} } +func (*DetachNetworkRequest) ProtoMessage() {} +func (*DetachNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{2} +} +func (m *DetachNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DetachNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DetachNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DetachNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachNetworkRequest.Merge(m, src) +} +func (m *DetachNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *DetachNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DetachNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DetachNetworkRequest proto.InternalMessageInfo type DetachNetworkResponse struct { } -func (m *DetachNetworkResponse) Reset() { *m = DetachNetworkResponse{} } -func (*DetachNetworkResponse) ProtoMessage() {} -func (*DetachNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{3} } +func (m *DetachNetworkResponse) Reset() { *m = DetachNetworkResponse{} } +func (*DetachNetworkResponse) ProtoMessage() {} +func (*DetachNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{3} +} +func (m *DetachNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DetachNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DetachNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DetachNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachNetworkResponse.Merge(m, src) +} +func (m *DetachNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *DetachNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DetachNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DetachNetworkResponse proto.InternalMessageInfo func init() { proto.RegisterType((*AttachNetworkRequest)(nil), "docker.swarmkit.v1.AttachNetworkRequest") @@ -70,6 +185,40 @@ func init() { proto.RegisterType((*DetachNetworkResponse)(nil), "docker.swarmkit.v1.DetachNetworkResponse") } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/resource.proto", fileDescriptor_909455b1b868ddb9) +} + +var fileDescriptor_909455b1b868ddb9 = []byte{ + // 411 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x3f, 0x6f, 0xda, 0x40, + 0x18, 0xc6, 0x7d, 0x0c, 0x48, 0x3d, 0x8c, 0xda, 0x5a, 0xa0, 0x22, 0xa4, 0x1e, 0xc8, 0xed, 0x40, + 0x5b, 0x61, 0xab, 0x54, 0x55, 0x67, 0xfe, 0x2c, 0x1e, 0xca, 0xe0, 0x2f, 0x50, 0x1d, 0xf6, 0x61, + 0x2c, 0xb0, 0xcf, 0x3d, 0x9f, 0x83, 0xb2, 0x65, 0xcd, 0x94, 0x8c, 0xf9, 0x0e, 0x91, 0xf2, 0x39, + 0x50, 0x26, 0x46, 0x26, 0x14, 0xcc, 0x9e, 0xcf, 0x10, 0xe1, 0x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58, 0xc4, 0xbb, 0x42, 0x9b, 0x34, 0x90, 0xa4, 0x7d, 0x88, 0x97, 0x35, 0x79, 0x4f, 0x60, + 0xf4, 0x4c, 0x79, 0x2f, 0x33, 0x6c, 0xf5, 0x2f, 0x2c, 0xf5, 0x48, 0x46, 0x83, 0x6f, 0x8c, 0xfb, + 0x04, 0xcb, 0x47, 0x71, 0x02, 0xaf, 0x75, 0x9b, 0x83, 0x1f, 0xcd, 0x74, 0xd7, 0xed, 0xc9, 0x84, + 0x5a, 0x98, 0x53, 0xa6, 0x5c, 0x02, 0x58, 0x3c, 0x68, 0x47, 0x69, 0x64, 0x0d, 0x32, 0x6b, 0x05, + 0xd5, 0x6f, 0x27, 0x28, 0x45, 0x71, 0xf5, 0xcb, 0xfd, 0xdd, 0xe3, 0x4d, 0xee, 0x33, 0x94, 0x13, + 0x69, 0x73, 0xf3, 0x8d, 0x30, 0x58, 0x14, 0x6f, 0x1e, 0xf6, 0xb1, 0x43, 0x04, 0xcb, 0x01, 0x7b, + 0x36, 0x4b, 0xd6, 0xb4, 0xb2, 0x59, 0x32, 0x07, 0x71, 0x12, 0x4b, 0xe7, 0xeb, 0x6c, 0x85, 0xa4, + 0xc5, 0x0a, 0x49, 0x17, 0x31, 0x02, 0xb3, 0x18, 0x81, 0x79, 0x8c, 0xc0, 0x43, 0x8c, 0xc0, 0xf5, + 0x1a, 0x49, 0xf3, 0x35, 0x92, 0x16, 0x6b, 0x24, 0x0d, 0xf2, 0xc9, 0x4f, 0xfa, 0xeb, 0x29, 0x00, + 0x00, 0xff, 0xff, 0x9d, 0x2f, 0x31, 0x83, 0x64, 0x03, 0x00, 0x00, +} + type authenticatedWrapperResourceAllocatorServer struct { local ResourceAllocatorServer authorize func(context.Context, []string) error @@ -113,7 +262,7 @@ func (m *AttachNetworkRequest) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &NetworkAttachmentConfig{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -166,8 +315,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for ResourceAllocator service - +// ResourceAllocatorClient is the client API for ResourceAllocator service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ResourceAllocatorClient interface { AttachNetwork(ctx context.Context, in *AttachNetworkRequest, opts ...grpc.CallOption) (*AttachNetworkResponse, error) DetachNetwork(ctx context.Context, in *DetachNetworkRequest, opts ...grpc.CallOption) (*DetachNetworkResponse, error) @@ -183,7 +333,7 @@ func NewResourceAllocatorClient(cc *grpc.ClientConn) ResourceAllocatorClient { func (c *resourceAllocatorClient) AttachNetwork(ctx context.Context, in *AttachNetworkRequest, opts ...grpc.CallOption) (*AttachNetworkResponse, error) { out := new(AttachNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/AttachNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/AttachNetwork", in, out, opts...) if err != nil { return nil, err } @@ -192,15 +342,14 @@ func (c *resourceAllocatorClient) AttachNetwork(ctx context.Context, in *AttachN func (c *resourceAllocatorClient) DetachNetwork(ctx context.Context, in *DetachNetworkRequest, opts ...grpc.CallOption) (*DetachNetworkResponse, error) { out := new(DetachNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/DetachNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/DetachNetwork", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for ResourceAllocator service - +// ResourceAllocatorServer is the server API for ResourceAllocator service. type ResourceAllocatorServer interface { AttachNetwork(context.Context, *AttachNetworkRequest) (*AttachNetworkResponse, error) DetachNetwork(context.Context, *DetachNetworkRequest) (*DetachNetworkResponse, error) @@ -516,6 +665,9 @@ func (p *raftProxyResourceAllocatorServer) DetachNetwork(ctx context.Context, r } func (m *AttachNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -530,6 +682,9 @@ func (m *AttachNetworkRequest) Size() (n int) { } func (m *AttachNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.AttachmentID) @@ -540,6 +695,9 @@ func (m *AttachNetworkResponse) Size() (n int) { } func (m *DetachNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.AttachmentID) @@ -550,6 +708,9 @@ func (m *DetachNetworkRequest) Size() (n int) { } func (m *DetachNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n @@ -631,7 +792,7 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -659,7 +820,7 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -668,6 +829,9 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -692,7 +856,7 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -702,6 +866,9 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -716,6 +883,9 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -743,7 +913,7 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -771,7 +941,7 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -781,6 +951,9 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -795,6 +968,9 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -822,7 +998,7 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -850,7 +1026,7 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -860,6 +1036,9 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -874,6 +1053,9 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -901,7 +1083,7 @@ func (m *DetachNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -924,6 +1106,9 @@ func (m *DetachNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -990,10 +1175,13 @@ func skipResource(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthResource } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthResource + } return iNdEx, nil case 3: for { @@ -1022,6 +1210,9 @@ func skipResource(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthResource + } } return iNdEx, nil case 4: @@ -1040,36 +1231,3 @@ var ( ErrInvalidLengthResource = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowResource = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/resource.proto", fileDescriptorResource) -} - -var fileDescriptorResource = []byte{ - // 397 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0x19, 0x16, 0x24, 0xdf, 0x50, 0xf2, 0x69, 0x03, 0x91, 0x90, 0x58, 0x48, 0xdd, 0xa0, - 0x86, 0x36, 0x62, 0x8c, 0x6b, 0xfe, 0x6c, 0xba, 0x90, 0x45, 0x5f, 0xc0, 0x0c, 0xed, 0x50,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xe3, 0x59, 0x35, 0xdf, 0x59, 0xde, 0x1b, 0x5d, 0x33, 0xbf, 0x12, - 0x19, 0xb6, 0xda, 0x83, 0xa5, 0x2d, 0xa0, 0x30, 0x20, 0x7e, 0x88, 0xe5, 0x0b, 0x58, 0x40, 0xab, - 0x42, 0x8b, 0x34, 0x90, 0xa4, 0xed, 0xc5, 0xb3, 0xaa, 0xb4, 0x26, 0x30, 0xba, 0xa6, 0xb4, 0x96, - 0x19, 0xb6, 0x7a, 0x05, 0x8b, 0x5d, 0x2c, 0x68, 0xf0, 0x8f, 0x71, 0x07, 0xb0, 0xb4, 0x15, 0xc7, - 0xf1, 0x9a, 0xcf, 0x59, 0xb8, 0x6f, 0xa6, 0xbb, 0x6e, 0x8d, 0xc7, 0xc4, 0x42, 0x8c, 0x50, 0xf9, - 0x01, 0xc0, 0xc2, 0x46, 0x3b, 0x72, 0x5d, 0x34, 0x48, 0xd1, 0x0a, 0x2a, 0xc7, 0x3b, 0x28, 0x79, - 0x71, 0xf5, 0xe8, 0xf5, 0xe5, 0xf3, 0x29, 0x7b, 0x08, 0xa5, 0x44, 0xda, 0x58, 0x7c, 0xc3, 0x14, - 0x16, 0xf8, 0x9b, 0x87, 0x7c, 0xe4, 0x60, 0xce, 0xb2, 0xc1, 0x2e, 0x66, 0x11, 0x4d, 0x4b, 0xcc, - 0x22, 0x1c, 0xc4, 0x4e, 0x2c, 0xed, 0xf2, 0x74, 0xae, 0x64, 0xde, 0xe7, 0x4a, 0xe6, 0x3e, 0x56, - 0xc0, 0x34, 0x56, 0xc0, 0x5b, 0xac, 0x80, 0x8f, 0x58, 0x01, 0xfd, 0x5c, 0xf2, 0x63, 0x9e, 0x7f, - 0x05, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x7a, 0x29, 0xfc, 0x58, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/snapshot.pb.go b/vendor/github.com/docker/swarmkit/api/snapshot.pb.go index 4d6893a904..0add79d543 100644 --- a/vendor/github.com/docker/swarmkit/api/snapshot.pb.go +++ b/vendor/github.com/docker/swarmkit/api/snapshot.pb.go @@ -3,24 +3,27 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" - -// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type Snapshot_Version int32 const ( @@ -31,6 +34,7 @@ const ( var Snapshot_Version_name = map[int32]string{ 0: "V0", } + var Snapshot_Version_value = map[string]int32{ "V0": 0, } @@ -38,50 +42,177 @@ var Snapshot_Version_value = map[string]int32{ func (x Snapshot_Version) String() string { return proto.EnumName(Snapshot_Version_name, int32(x)) } -func (Snapshot_Version) EnumDescriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{2, 0} } + +func (Snapshot_Version) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{2, 0} +} // StoreSnapshot is used to store snapshots of the store. type StoreSnapshot struct { - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` - Services []*Service `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"` - Networks []*Network `protobuf:"bytes,3,rep,name=networks" json:"networks,omitempty"` - Tasks []*Task `protobuf:"bytes,4,rep,name=tasks" json:"tasks,omitempty"` - Clusters []*Cluster `protobuf:"bytes,5,rep,name=clusters" json:"clusters,omitempty"` - Secrets []*Secret `protobuf:"bytes,6,rep,name=secrets" json:"secrets,omitempty"` - Resources []*Resource `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"` - Extensions []*Extension `protobuf:"bytes,8,rep,name=extensions" json:"extensions,omitempty"` - Configs []*Config `protobuf:"bytes,9,rep,name=configs" json:"configs,omitempty"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` + Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` + Networks []*Network `protobuf:"bytes,3,rep,name=networks,proto3" json:"networks,omitempty"` + Tasks []*Task `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` + Clusters []*Cluster `protobuf:"bytes,5,rep,name=clusters,proto3" json:"clusters,omitempty"` + Secrets []*Secret `protobuf:"bytes,6,rep,name=secrets,proto3" json:"secrets,omitempty"` + Resources []*Resource `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"` + Extensions []*Extension `protobuf:"bytes,8,rep,name=extensions,proto3" json:"extensions,omitempty"` + Configs []*Config `protobuf:"bytes,9,rep,name=configs,proto3" json:"configs,omitempty"` } -func (m *StoreSnapshot) Reset() { *m = StoreSnapshot{} } -func (*StoreSnapshot) ProtoMessage() {} -func (*StoreSnapshot) Descriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{0} } +func (m *StoreSnapshot) Reset() { *m = StoreSnapshot{} } +func (*StoreSnapshot) ProtoMessage() {} +func (*StoreSnapshot) Descriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{0} +} +func (m *StoreSnapshot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StoreSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StoreSnapshot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StoreSnapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoreSnapshot.Merge(m, src) +} +func (m *StoreSnapshot) XXX_Size() int { + return m.Size() +} +func (m *StoreSnapshot) XXX_DiscardUnknown() { + xxx_messageInfo_StoreSnapshot.DiscardUnknown(m) +} + +var xxx_messageInfo_StoreSnapshot proto.InternalMessageInfo // ClusterSnapshot stores cluster membership information in snapshots. type ClusterSnapshot struct { - Members []*RaftMember `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` - Removed []uint64 `protobuf:"varint,2,rep,name=removed" json:"removed,omitempty"` + Members []*RaftMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + Removed []uint64 `protobuf:"varint,2,rep,name=removed,proto3" json:"removed,omitempty"` } -func (m *ClusterSnapshot) Reset() { *m = ClusterSnapshot{} } -func (*ClusterSnapshot) ProtoMessage() {} -func (*ClusterSnapshot) Descriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{1} } +func (m *ClusterSnapshot) Reset() { *m = ClusterSnapshot{} } +func (*ClusterSnapshot) ProtoMessage() {} +func (*ClusterSnapshot) Descriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{1} +} +func (m *ClusterSnapshot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ClusterSnapshot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ClusterSnapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterSnapshot.Merge(m, src) +} +func (m *ClusterSnapshot) XXX_Size() int { + return m.Size() +} +func (m *ClusterSnapshot) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterSnapshot.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterSnapshot proto.InternalMessageInfo type Snapshot struct { Version Snapshot_Version `protobuf:"varint,1,opt,name=version,proto3,enum=docker.swarmkit.v1.Snapshot_Version" json:"version,omitempty"` - Membership ClusterSnapshot `protobuf:"bytes,2,opt,name=membership" json:"membership"` - Store StoreSnapshot `protobuf:"bytes,3,opt,name=store" json:"store"` + Membership ClusterSnapshot `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership"` + Store StoreSnapshot `protobuf:"bytes,3,opt,name=store,proto3" json:"store"` } -func (m *Snapshot) Reset() { *m = Snapshot{} } -func (*Snapshot) ProtoMessage() {} -func (*Snapshot) Descriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{2} } +func (m *Snapshot) Reset() { *m = Snapshot{} } +func (*Snapshot) ProtoMessage() {} +func (*Snapshot) Descriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{2} +} +func (m *Snapshot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Snapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_Snapshot.Merge(m, src) +} +func (m *Snapshot) XXX_Size() int { + return m.Size() +} +func (m *Snapshot) XXX_DiscardUnknown() { + xxx_messageInfo_Snapshot.DiscardUnknown(m) +} + +var xxx_messageInfo_Snapshot proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.Snapshot_Version", Snapshot_Version_name, Snapshot_Version_value) proto.RegisterType((*StoreSnapshot)(nil), "docker.swarmkit.v1.StoreSnapshot") proto.RegisterType((*ClusterSnapshot)(nil), "docker.swarmkit.v1.ClusterSnapshot") proto.RegisterType((*Snapshot)(nil), "docker.swarmkit.v1.Snapshot") - proto.RegisterEnum("docker.swarmkit.v1.Snapshot_Version", Snapshot_Version_name, Snapshot_Version_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/snapshot.proto", fileDescriptor_c5cad0b62cecd9af) +} + +var fileDescriptor_c5cad0b62cecd9af = []byte{ + // 507 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xcf, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0x93, 0xfe, 0x4a, 0xe7, 0x09, 0x18, 0x16, 0x07, 0xab, 0x0c, 0x53, 0xca, 0x0e, 0x45, + 0x82, 0x14, 0x0a, 0x12, 0x08, 0x69, 0x1c, 0x3a, 0x71, 0xe0, 0xc0, 0x0e, 0x2e, 0x9a, 0xb8, 0xa6, + 0xa9, 0xdb, 0x86, 0x90, 0xb8, 0xf2, 0x73, 0x3b, 0x8e, 0xf0, 0x1f, 0xf0, 0x67, 0xf5, 0xb8, 0xe3, + 0x4e, 0x88, 0xb5, 0x07, 0xfe, 0x0d, 0x64, 0x3b, 0x09, 0x95, 0x48, 0xb7, 0x5b, 0x64, 0x7d, 0x3e, + 0xef, 0x7d, 0xed, 0xbc, 0x87, 0x9e, 0x4d, 0x23, 0x35, 0x5b, 0x8c, 0xfc, 0x50, 0x24, 0xbd, 0xb1, + 0x08, 0x63, 0x2e, 0x7b, 0x70, 0x1e, 0xc8, 0x24, 0x8e, 0x54, 0x2f, 0x98, 0x47, 0x3d, 0x48, 0x83, + 0x39, 0xcc, 0x84, 0xf2, 0xe7, 0x52, 0x28, 0x81, 0xb1, 0x65, 0xfc, 0x9c, 0xf1, 0x97, 0x2f, 0x5a, + 0x4f, 0x6f, 0x28, 0x21, 0x46, 0x5f, 0x78, 0xa8, 0xc0, 0x56, 0x68, 0x3d, 0xb9, 0x81, 0x96, 0xc1, + 0x24, 0x6b, 0xd6, 0xba, 0x37, 0x15, 0x53, 0x61, 0x3e, 0x7b, 0xfa, 0xcb, 0x9e, 0x76, 0x7e, 0xd4, + 0xd0, 0xad, 0xa1, 0x12, 0x92, 0x0f, 0xb3, 0x68, 0xd8, 0x47, 0xf5, 0x54, 0x8c, 0x39, 0x10, 0xb7, + 0x5d, 0xed, 0xee, 0xf7, 0x89, 0xff, 0x7f, 0x48, 0xff, 0x54, 0x8c, 0x39, 0xb3, 0x18, 0x7e, 0x8d, + 0x9a, 0xc0, 0xe5, 0x32, 0x0a, 0x39, 0x90, 0x8a, 0x51, 0xee, 0x97, 0x29, 0x43, 0xcb, 0xb0, 0x02, + 0xd6, 0x62, 0xca, 0xd5, 0xb9, 0x90, 0x31, 0x90, 0xea, 0x6e, 0xf1, 0xd4, 0x32, 0xac, 0x80, 0x75, + 0x42, 0x15, 0x40, 0x0c, 0xa4, 0xb6, 0x3b, 0xe1, 0xa7, 0x00, 0x62, 0x66, 0x31, 0xdd, 0x28, 0xfc, + 0xba, 0x00, 0xc5, 0x25, 0x90, 0xfa, 0xee, 0x46, 0x27, 0x96, 0x61, 0x05, 0x8c, 0x5f, 0x21, 0x0f, + 0x78, 0x28, 0xb9, 0x02, 0xd2, 0x30, 0x5e, 0xab, 0xfc, 0x66, 0x1a, 0x61, 0x39, 0x8a, 0xdf, 0xa2, + 0x3d, 0xc9, 0x41, 0x2c, 0xa4, 0x7e, 0x11, 0xcf, 0x78, 0x87, 0x65, 0x1e, 0xcb, 0x20, 0xf6, 0x0f, + 0xc7, 0xc7, 0x08, 0xf1, 0x6f, 0x8a, 0xa7, 0x10, 0x89, 0x14, 0x48, 0xd3, 0xc8, 0x0f, 0xca, 0xe4, + 0xf7, 0x39, 0xc5, 0xb6, 0x04, 0x1d, 0x38, 0x14, 0xe9, 0x24, 0x9a, 0x02, 0xd9, 0xdb, 0x1d, 0xf8, + 0xc4, 0x20, 0x2c, 0x47, 0x3b, 0x11, 0xba, 0x93, 0xdd, 0xbd, 0x18, 0x82, 0x37, 0xc8, 0x4b, 0x78, + 0x32, 0xd2, 0x2f, 0x66, 0xc7, 0x80, 0x96, 0xde, 0x20, 0x98, 0xa8, 0x8f, 0x06, 0x63, 0x39, 0x8e, + 0x0f, 0x91, 0x27, 0x79, 0x22, 0x96, 0x7c, 0x6c, 0xa6, 0xa1, 0x36, 0xa8, 0x1c, 0x38, 0x2c, 0x3f, + 0xea, 0xfc, 0x71, 0x51, 0xb3, 0x68, 0xf2, 0x0e, 0x79, 0x4b, 0x2e, 0x75, 0x72, 0xe2, 0xb6, 0xdd, + 0xee, 0xed, 0xfe, 0x51, 0xe9, 0xf3, 0xe6, 0x3b, 0x73, 0x66, 0x59, 0x96, 0x4b, 0xf8, 0x03, 0x42, + 0x59, 0xd7, 0x59, 0x34, 0x27, 0x95, 0xb6, 0xdb, 0xdd, 0xef, 0x3f, 0xbe, 0xe6, 0xcf, 0xe6, 0x95, + 0x06, 0xb5, 0xd5, 0xaf, 0x87, 0x0e, 0xdb, 0x92, 0xf1, 0x31, 0xaa, 0x83, 0xde, 0x02, 0x52, 0x35, + 0x55, 0x1e, 0x95, 0x06, 0xd9, 0x5e, 0x93, 0xac, 0x86, 0xb5, 0x3a, 0x77, 0x91, 0x97, 0xa5, 0xc3, + 0x0d, 0x54, 0x39, 0x7b, 0x7e, 0xe0, 0x0c, 0x8e, 0x56, 0x57, 0xd4, 0xb9, 0xbc, 0xa2, 0xce, 0xf7, + 0x35, 0x75, 0x57, 0x6b, 0xea, 0x5e, 0xac, 0xa9, 0xfb, 0x7b, 0x4d, 0xdd, 0x9f, 0x1b, 0xea, 0x5c, + 0x6c, 0xa8, 0x73, 0xb9, 0xa1, 0xce, 0xe7, 0xca, 0xa8, 0x61, 0xf6, 0xf0, 0xe5, 0xdf, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x97, 0x4e, 0xfd, 0x2a, 0x3b, 0x04, 0x00, 0x00, } func (m *StoreSnapshot) Copy() *StoreSnapshot { @@ -101,7 +232,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Nodes = make([]*Node, len(o.Nodes)) for i := range m.Nodes { m.Nodes[i] = &Node{} - deepcopy.Copy(m.Nodes[i], o.Nodes[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Nodes[i], o.Nodes[i]) } } @@ -109,7 +240,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Services = make([]*Service, len(o.Services)) for i := range m.Services { m.Services[i] = &Service{} - deepcopy.Copy(m.Services[i], o.Services[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Services[i], o.Services[i]) } } @@ -117,7 +248,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Networks = make([]*Network, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &Network{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } @@ -125,7 +256,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Tasks = make([]*Task, len(o.Tasks)) for i := range m.Tasks { m.Tasks[i] = &Task{} - deepcopy.Copy(m.Tasks[i], o.Tasks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Tasks[i], o.Tasks[i]) } } @@ -133,7 +264,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Clusters = make([]*Cluster, len(o.Clusters)) for i := range m.Clusters { m.Clusters[i] = &Cluster{} - deepcopy.Copy(m.Clusters[i], o.Clusters[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Clusters[i], o.Clusters[i]) } } @@ -141,7 +272,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Secrets = make([]*Secret, len(o.Secrets)) for i := range m.Secrets { m.Secrets[i] = &Secret{} - deepcopy.Copy(m.Secrets[i], o.Secrets[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secrets[i], o.Secrets[i]) } } @@ -149,7 +280,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Resources = make([]*Resource, len(o.Resources)) for i := range m.Resources { m.Resources[i] = &Resource{} - deepcopy.Copy(m.Resources[i], o.Resources[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources[i], o.Resources[i]) } } @@ -157,7 +288,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Extensions = make([]*Extension, len(o.Extensions)) for i := range m.Extensions { m.Extensions[i] = &Extension{} - deepcopy.Copy(m.Extensions[i], o.Extensions[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Extensions[i], o.Extensions[i]) } } @@ -165,7 +296,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Configs = make([]*Config, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &Config{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -188,7 +319,7 @@ func (m *ClusterSnapshot) CopyFrom(src interface{}) { m.Members = make([]*RaftMember, len(o.Members)) for i := range m.Members { m.Members[i] = &RaftMember{} - deepcopy.Copy(m.Members[i], o.Members[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Members[i], o.Members[i]) } } @@ -212,8 +343,8 @@ func (m *Snapshot) CopyFrom(src interface{}) { o := src.(*Snapshot) *m = *o - deepcopy.Copy(&m.Membership, &o.Membership) - deepcopy.Copy(&m.Store, &o.Store) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Membership, &o.Membership) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Store, &o.Store) } func (m *StoreSnapshot) Marshal() (dAtA []byte, err error) { @@ -427,8 +558,10 @@ func encodeVarintSnapshot(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *StoreSnapshot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Nodes) > 0 { @@ -489,6 +622,9 @@ func (m *StoreSnapshot) Size() (n int) { } func (m *ClusterSnapshot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Members) > 0 { @@ -506,6 +642,9 @@ func (m *ClusterSnapshot) Size() (n int) { } func (m *Snapshot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Version != 0 { @@ -595,7 +734,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -623,7 +762,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -632,6 +771,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -654,7 +796,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -663,6 +805,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -685,7 +830,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -694,6 +839,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -716,7 +864,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -725,6 +873,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -747,7 +898,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -756,6 +907,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -778,7 +932,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -787,6 +941,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -809,7 +966,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -818,6 +975,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -840,7 +1000,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -849,6 +1009,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -871,7 +1034,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -880,6 +1043,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -897,6 +1063,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSnapshot } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSnapshot + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -924,7 +1093,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -952,7 +1121,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -961,6 +1130,9 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -981,7 +1153,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -998,7 +1170,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1007,9 +1179,23 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.Removed) == 0 { + m.Removed = make([]uint64, 0, elementCount) + } for iNdEx < postIndex { var v uint64 for shift := uint(0); ; shift += 7 { @@ -1021,7 +1207,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1040,6 +1226,9 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSnapshot } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSnapshot + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1067,7 +1256,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1095,7 +1284,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Version |= (Snapshot_Version(b) & 0x7F) << shift + m.Version |= Snapshot_Version(b&0x7F) << shift if b < 0x80 { break } @@ -1114,7 +1303,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1123,6 +1312,9 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1144,7 +1336,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1153,6 +1345,9 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1169,6 +1364,9 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSnapshot } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSnapshot + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1235,10 +1433,13 @@ func skipSnapshot(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthSnapshot } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthSnapshot + } return iNdEx, nil case 3: for { @@ -1267,6 +1468,9 @@ func skipSnapshot(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthSnapshot + } } return iNdEx, nil case 4: @@ -1285,42 +1489,3 @@ var ( ErrInvalidLengthSnapshot = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSnapshot = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/snapshot.proto", fileDescriptorSnapshot) -} - -var fileDescriptorSnapshot = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xbf, 0x8f, 0xd3, 0x30, - 0x14, 0xc7, 0x93, 0xf4, 0x47, 0x7a, 0x3e, 0x01, 0x87, 0xc5, 0x60, 0x95, 0x23, 0x94, 0xc2, 0x50, - 0x24, 0x48, 0xa0, 0x20, 0x81, 0x90, 0x8e, 0xa1, 0x27, 0x06, 0x06, 0x6e, 0x70, 0xd1, 0x89, 0x35, - 0x4d, 0xdd, 0x36, 0x84, 0xc4, 0x95, 0x9f, 0xdb, 0x63, 0x84, 0xff, 0xae, 0x23, 0x23, 0x13, 0xe2, - 0xba, 0xf0, 0x6f, 0x20, 0xdb, 0x71, 0xa8, 0x44, 0x7a, 0xb7, 0x45, 0xd6, 0xe7, 0xf3, 0xde, 0xd7, - 0xce, 0x7b, 0xe8, 0xe9, 0x3c, 0x95, 0x8b, 0xd5, 0x24, 0x4c, 0x78, 0x1e, 0x4d, 0x79, 0x92, 0x31, - 0x11, 0xc1, 0x45, 0x2c, 0xf2, 0x2c, 0x95, 0x51, 0xbc, 0x4c, 0x23, 0x28, 0xe2, 0x25, 0x2c, 0xb8, - 0x0c, 0x97, 0x82, 0x4b, 0x8e, 0xb1, 0x61, 0x42, 0xcb, 0x84, 0xeb, 0xe7, 0xdd, 0x27, 0xd7, 0x94, - 0xe0, 0x93, 0xcf, 0x2c, 0x91, 0x60, 0x2a, 0x74, 0x1f, 0x5f, 0x43, 0x8b, 0x78, 0x56, 0x36, 0xeb, - 0xde, 0x99, 0xf3, 0x39, 0xd7, 0x9f, 0x91, 0xfa, 0x32, 0xa7, 0xfd, 0xef, 0x4d, 0x74, 0x63, 0x2c, - 0xb9, 0x60, 0xe3, 0x32, 0x1a, 0x0e, 0x51, 0xab, 0xe0, 0x53, 0x06, 0xc4, 0xed, 0x35, 0x06, 0x87, - 0x43, 0x12, 0xfe, 0x1f, 0x32, 0x3c, 0xe3, 0x53, 0x46, 0x0d, 0x86, 0x5f, 0xa1, 0x0e, 0x30, 0xb1, - 0x4e, 0x13, 0x06, 0xc4, 0xd3, 0xca, 0xdd, 0x3a, 0x65, 0x6c, 0x18, 0x5a, 0xc1, 0x4a, 0x2c, 0x98, - 0xbc, 0xe0,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a, 0x25, 0xfc, 0x1e, 0xa1, 0xb2, 0xeb, 0x22, 0x5d, - 0x12, 0xaf, 0xe7, 0x0e, 0x0e, 0x87, 0x0f, 0xaf, 0xf8, 0xb3, 0xb6, 0xd2, 0xa8, 0xb9, 0xf9, 0x75, - 0xdf, 0xa1, 0x3b, 0x32, 0x3e, 0x41, 0x2d, 0x50, 0x5b, 0x40, 0x1a, 0xba, 0xca, 0x83, 0xda, 0x20, - 0xbb, 0x6b, 0x52, 0xd6, 0x30, 0x56, 0xff, 0x36, 0xf2, 0xcb, 0x74, 0xb8, 0x8d, 0xbc, 0xf3, 0x67, - 0x47, 0xce, 0x88, 0x6c, 0x2e, 0x03, 0xe7, 0xe7, 0x65, 0xe0, 0x7c, 0xdb, 0x06, 0xee, 0x66, 0x1b, - 0xb8, 0x3f, 0xb6, 0x81, 0xfb, 0x7b, 0x1b, 0xb8, 0x9f, 0xbc, 0x49, 0x5b, 0xef, 0xde, 0x8b, 0xbf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xbe, 0x47, 0xec, 0x2f, 0x04, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/specs.pb.go b/vendor/github.com/docker/swarmkit/api/specs.pb.go index 660e59ca2a..c94e95b556 100644 --- a/vendor/github.com/docker/swarmkit/api/specs.pb.go +++ b/vendor/github.com/docker/swarmkit/api/specs.pb.go @@ -3,27 +3,30 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf1 "github.com/gogo/protobuf/types" -import google_protobuf4 "github.com/gogo/protobuf/types" -import google_protobuf2 "github.com/gogo/protobuf/types" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import strings "strings" -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type NodeSpec_Membership int32 const ( @@ -35,6 +38,7 @@ var NodeSpec_Membership_name = map[int32]string{ 0: "PENDING", 1: "ACCEPTED", } + var NodeSpec_Membership_value = map[string]int32{ "PENDING": 0, "ACCEPTED": 1, @@ -43,7 +47,10 @@ var NodeSpec_Membership_value = map[string]int32{ func (x NodeSpec_Membership) String() string { return proto.EnumName(NodeSpec_Membership_name, int32(x)) } -func (NodeSpec_Membership) EnumDescriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{0, 0} } + +func (NodeSpec_Membership) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{0, 0} +} type NodeSpec_Availability int32 @@ -63,6 +70,7 @@ var NodeSpec_Availability_name = map[int32]string{ 1: "PAUSE", 2: "DRAIN", } + var NodeSpec_Availability_value = map[string]int32{ "ACTIVE": 0, "PAUSE": 1, @@ -72,7 +80,10 @@ var NodeSpec_Availability_value = map[string]int32{ func (x NodeSpec_Availability) String() string { return proto.EnumName(NodeSpec_Availability_name, int32(x)) } -func (NodeSpec_Availability) EnumDescriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{0, 1} } + +func (NodeSpec_Availability) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{0, 1} +} type ContainerSpec_Isolation int32 @@ -90,6 +101,7 @@ var ContainerSpec_Isolation_name = map[int32]string{ 1: "ISOLATION_PROCESS", 2: "ISOLATION_HYPERV", } + var ContainerSpec_Isolation_value = map[string]int32{ "ISOLATION_DEFAULT": 0, "ISOLATION_PROCESS": 1, @@ -99,8 +111,9 @@ var ContainerSpec_Isolation_value = map[string]int32{ func (x ContainerSpec_Isolation) String() string { return proto.EnumName(ContainerSpec_Isolation_name, int32(x)) } + func (ContainerSpec_Isolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptorSpecs, []int{8, 0} + return fileDescriptor_6589acc608f7d4fd, []int{8, 0} } // ResolutionMode specifies the mode of resolution to use for @@ -127,6 +140,7 @@ var EndpointSpec_ResolutionMode_name = map[int32]string{ 0: "VIP", 1: "DNSRR", } + var EndpointSpec_ResolutionMode_value = map[string]int32{ "VIP": 0, "DNSRR": 1, @@ -135,12 +149,13 @@ var EndpointSpec_ResolutionMode_value = map[string]int32{ func (x EndpointSpec_ResolutionMode) String() string { return proto.EnumName(EndpointSpec_ResolutionMode_name, int32(x)) } + func (EndpointSpec_ResolutionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptorSpecs, []int{9, 0} + return fileDescriptor_6589acc608f7d4fd, []int{9, 0} } type NodeSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // DesiredRole defines the role the node should have. DesiredRole NodeRole `protobuf:"varint,2,opt,name=desired_role,json=desiredRole,proto3,enum=docker.swarmkit.v1.NodeRole" json:"desired_role,omitempty"` // Membership controls the admission of the node into the cluster. @@ -150,9 +165,37 @@ type NodeSpec struct { Availability NodeSpec_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability" json:"availability,omitempty"` } -func (m *NodeSpec) Reset() { *m = NodeSpec{} } -func (*NodeSpec) ProtoMessage() {} -func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{0} } +func (m *NodeSpec) Reset() { *m = NodeSpec{} } +func (*NodeSpec) ProtoMessage() {} +func (*NodeSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{0} +} +func (m *NodeSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeSpec.Merge(m, src) +} +func (m *NodeSpec) XXX_Size() int { + return m.Size() +} +func (m *NodeSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NodeSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeSpec proto.InternalMessageInfo // ServiceSpec defines the properties of a service. // @@ -161,31 +204,59 @@ func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []in // strategy and restart policy, a number of application-level behaviors can be // defined. type ServiceSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // Task defines the task template this service will spawn. - Task TaskSpec `protobuf:"bytes,2,opt,name=task" json:"task"` + Task TaskSpec `protobuf:"bytes,2,opt,name=task,proto3" json:"task"` // Types that are valid to be assigned to Mode: // *ServiceSpec_Replicated // *ServiceSpec_Global Mode isServiceSpec_Mode `protobuf_oneof:"mode"` // Update contains settings which affect updates. - Update *UpdateConfig `protobuf:"bytes,6,opt,name=update" json:"update,omitempty"` + Update *UpdateConfig `protobuf:"bytes,6,opt,name=update,proto3" json:"update,omitempty"` // Rollback contains settings which affect rollbacks of updates. - Rollback *UpdateConfig `protobuf:"bytes,9,opt,name=rollback" json:"rollback,omitempty"` + Rollback *UpdateConfig `protobuf:"bytes,9,opt,name=rollback,proto3" json:"rollback,omitempty"` // ServiceSpec.Networks has been deprecated and is replaced by // Networks field in Task (TaskSpec.Networks). // This field (ServiceSpec.Networks) is kept for compatibility. // In case TaskSpec.Networks does not exist, ServiceSpec.Networks // is still honored if it exists. - Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks" json:"networks,omitempty"` + Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks,proto3" json:"networks,omitempty"` // Deprecated: Do not use. // Service endpoint specifies the user provided configuration // to properly discover and load balance a service. - Endpoint *EndpointSpec `protobuf:"bytes,8,opt,name=endpoint" json:"endpoint,omitempty"` + Endpoint *EndpointSpec `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"` } -func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } -func (*ServiceSpec) ProtoMessage() {} -func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{1} } +func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } +func (*ServiceSpec) ProtoMessage() {} +func (*ServiceSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{1} +} +func (m *ServiceSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ServiceSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ServiceSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceSpec.Merge(m, src) +} +func (m *ServiceSpec) XXX_Size() int { + return m.Size() +} +func (m *ServiceSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ServiceSpec proto.InternalMessageInfo type isServiceSpec_Mode interface { isServiceSpec_Mode() @@ -194,10 +265,10 @@ type isServiceSpec_Mode interface { } type ServiceSpec_Replicated struct { - Replicated *ReplicatedService `protobuf:"bytes,3,opt,name=replicated,oneof"` + Replicated *ReplicatedService `protobuf:"bytes,3,opt,name=replicated,proto3,oneof"` } type ServiceSpec_Global struct { - Global *GlobalService `protobuf:"bytes,4,opt,name=global,oneof"` + Global *GlobalService `protobuf:"bytes,4,opt,name=global,proto3,oneof"` } func (*ServiceSpec_Replicated) isServiceSpec_Mode() {} @@ -283,12 +354,12 @@ func _ServiceSpec_OneofSizer(msg proto.Message) (n int) { switch x := m.Mode.(type) { case *ServiceSpec_Replicated: s := proto.Size(x.Replicated) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *ServiceSpec_Global: s := proto.Size(x.Global) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -303,17 +374,73 @@ type ReplicatedService struct { Replicas uint64 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` } -func (m *ReplicatedService) Reset() { *m = ReplicatedService{} } -func (*ReplicatedService) ProtoMessage() {} -func (*ReplicatedService) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{2} } +func (m *ReplicatedService) Reset() { *m = ReplicatedService{} } +func (*ReplicatedService) ProtoMessage() {} +func (*ReplicatedService) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{2} +} +func (m *ReplicatedService) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReplicatedService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReplicatedService.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ReplicatedService) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicatedService.Merge(m, src) +} +func (m *ReplicatedService) XXX_Size() int { + return m.Size() +} +func (m *ReplicatedService) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicatedService.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplicatedService proto.InternalMessageInfo // GlobalService represents global service. type GlobalService struct { } -func (m *GlobalService) Reset() { *m = GlobalService{} } -func (*GlobalService) ProtoMessage() {} -func (*GlobalService) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{3} } +func (m *GlobalService) Reset() { *m = GlobalService{} } +func (*GlobalService) ProtoMessage() {} +func (*GlobalService) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{3} +} +func (m *GlobalService) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GlobalService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GlobalService.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GlobalService) XXX_Merge(src proto.Message) { + xxx_messageInfo_GlobalService.Merge(m, src) +} +func (m *GlobalService) XXX_Size() int { + return m.Size() +} +func (m *GlobalService) XXX_DiscardUnknown() { + xxx_messageInfo_GlobalService.DiscardUnknown(m) +} + +var xxx_messageInfo_GlobalService proto.InternalMessageInfo type TaskSpec struct { // Types that are valid to be assigned to Runtime: @@ -322,18 +449,18 @@ type TaskSpec struct { // *TaskSpec_Generic Runtime isTaskSpec_Runtime `protobuf_oneof:"runtime"` // Resource requirements for the container. - Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty"` + Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` // RestartPolicy specifies what to do when a task fails or finishes. - Restart *RestartPolicy `protobuf:"bytes,4,opt,name=restart" json:"restart,omitempty"` + Restart *RestartPolicy `protobuf:"bytes,4,opt,name=restart,proto3" json:"restart,omitempty"` // Placement specifies node selection constraints - Placement *Placement `protobuf:"bytes,5,opt,name=placement" json:"placement,omitempty"` + Placement *Placement `protobuf:"bytes,5,opt,name=placement,proto3" json:"placement,omitempty"` // LogDriver specifies the log driver to use for the task. Any runtime will // direct logs into the specified driver for the duration of the task. - LogDriver *Driver `protobuf:"bytes,6,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"` + LogDriver *Driver `protobuf:"bytes,6,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"` // Networks specifies the list of network attachment // configurations (which specify the network and per-network // aliases) that this task spec is bound to. - Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks" json:"networks,omitempty"` + Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks,proto3" json:"networks,omitempty"` // ForceUpdate is a counter that triggers an update even if no relevant // parameters have been changed. We do this to allow forced restarts // using the same reconciliation-based mechanism that performs rolling @@ -347,12 +474,40 @@ type TaskSpec struct { // dispatcher to send the related objects. // // ResourceReferences is a list of ResourceReferences used by the task. - ResourceReferences []ResourceReference `protobuf:"bytes,11,rep,name=resource_references,json=resourceReferences" json:"resource_references"` + ResourceReferences []ResourceReference `protobuf:"bytes,11,rep,name=resource_references,json=resourceReferences,proto3" json:"resource_references"` } -func (m *TaskSpec) Reset() { *m = TaskSpec{} } -func (*TaskSpec) ProtoMessage() {} -func (*TaskSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{4} } +func (m *TaskSpec) Reset() { *m = TaskSpec{} } +func (*TaskSpec) ProtoMessage() {} +func (*TaskSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{4} +} +func (m *TaskSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskSpec.Merge(m, src) +} +func (m *TaskSpec) XXX_Size() int { + return m.Size() +} +func (m *TaskSpec) XXX_DiscardUnknown() { + xxx_messageInfo_TaskSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskSpec proto.InternalMessageInfo type isTaskSpec_Runtime interface { isTaskSpec_Runtime() @@ -361,13 +516,13 @@ type isTaskSpec_Runtime interface { } type TaskSpec_Attachment struct { - Attachment *NetworkAttachmentSpec `protobuf:"bytes,8,opt,name=attachment,oneof"` + Attachment *NetworkAttachmentSpec `protobuf:"bytes,8,opt,name=attachment,proto3,oneof"` } type TaskSpec_Container struct { - Container *ContainerSpec `protobuf:"bytes,1,opt,name=container,oneof"` + Container *ContainerSpec `protobuf:"bytes,1,opt,name=container,proto3,oneof"` } type TaskSpec_Generic struct { - Generic *GenericRuntimeSpec `protobuf:"bytes,10,opt,name=generic,oneof"` + Generic *GenericRuntimeSpec `protobuf:"bytes,10,opt,name=generic,proto3,oneof"` } func (*TaskSpec_Attachment) isTaskSpec_Runtime() {} @@ -475,17 +630,17 @@ func _TaskSpec_OneofSizer(msg proto.Message) (n int) { switch x := m.Runtime.(type) { case *TaskSpec_Attachment: s := proto.Size(x.Attachment) - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *TaskSpec_Container: s := proto.Size(x.Container) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *TaskSpec_Generic: s := proto.Size(x.Generic) - n += proto.SizeVarint(10<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -500,18 +655,74 @@ type ResourceReference struct { ResourceType ResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=docker.swarmkit.v1.ResourceType" json:"resource_type,omitempty"` } -func (m *ResourceReference) Reset() { *m = ResourceReference{} } -func (*ResourceReference) ProtoMessage() {} -func (*ResourceReference) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{5} } - -type GenericRuntimeSpec struct { - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - Payload *google_protobuf4.Any `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` +func (m *ResourceReference) Reset() { *m = ResourceReference{} } +func (*ResourceReference) ProtoMessage() {} +func (*ResourceReference) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{5} +} +func (m *ResourceReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResourceReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceReference.Merge(m, src) +} +func (m *ResourceReference) XXX_Size() int { + return m.Size() +} +func (m *ResourceReference) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceReference.DiscardUnknown(m) } -func (m *GenericRuntimeSpec) Reset() { *m = GenericRuntimeSpec{} } -func (*GenericRuntimeSpec) ProtoMessage() {} -func (*GenericRuntimeSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{6} } +var xxx_messageInfo_ResourceReference proto.InternalMessageInfo + +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 (m *GenericRuntimeSpec) Reset() { *m = GenericRuntimeSpec{} } +func (*GenericRuntimeSpec) ProtoMessage() {} +func (*GenericRuntimeSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{6} +} +func (m *GenericRuntimeSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenericRuntimeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenericRuntimeSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenericRuntimeSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenericRuntimeSpec.Merge(m, src) +} +func (m *GenericRuntimeSpec) XXX_Size() int { + return m.Size() +} +func (m *GenericRuntimeSpec) XXX_DiscardUnknown() { + xxx_messageInfo_GenericRuntimeSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_GenericRuntimeSpec proto.InternalMessageInfo // NetworkAttachmentSpec specifies runtime parameters required to attach // a container to a network. @@ -521,9 +732,37 @@ type NetworkAttachmentSpec struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` } -func (m *NetworkAttachmentSpec) Reset() { *m = NetworkAttachmentSpec{} } -func (*NetworkAttachmentSpec) ProtoMessage() {} -func (*NetworkAttachmentSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{7} } +func (m *NetworkAttachmentSpec) Reset() { *m = NetworkAttachmentSpec{} } +func (*NetworkAttachmentSpec) ProtoMessage() {} +func (*NetworkAttachmentSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{7} +} +func (m *NetworkAttachmentSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkAttachmentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkAttachmentSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkAttachmentSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkAttachmentSpec.Merge(m, src) +} +func (m *NetworkAttachmentSpec) XXX_Size() int { + return m.Size() +} +func (m *NetworkAttachmentSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkAttachmentSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkAttachmentSpec proto.InternalMessageInfo // Container specifies runtime parameters for a container. type ContainerSpec struct { @@ -540,25 +779,25 @@ type ContainerSpec struct { // // This field *must* remain compatible with the Labels field of // Annotations. - Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 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" json:"command,omitempty"` + 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" json:"args,omitempty"` + 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" json:"env,omitempty"` + 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. @@ -568,11 +807,11 @@ type ContainerSpec struct { // `:`. 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" json:"groups,omitempty"` + 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" json:"privileges,omitempty"` + 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 *google_protobuf2.BoolValue `protobuf:"bytes,23,opt,name=init" json:"init,omitempty"` + 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"` @@ -585,19 +824,19 @@ type ContainerSpec struct { 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" json:"mounts"` + 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 *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=stop_grace_period,json=stopGracePeriod" json:"stop_grace_period,omitempty"` + 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" json:"pull_options,omitempty"` + 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" json:"secrets,omitempty"` + 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" json:"configs,omitempty"` + 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: @@ -608,14 +847,14 @@ type ContainerSpec struct { // above. // This is different from `docker run --add-host :` // where format is `:` - Hosts []string `protobuf:"bytes,17,rep,name=hosts" json:"hosts,omitempty"` + 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" json:"dns_config,omitempty"` + 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" json:"healthcheck,omitempty"` + 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"` @@ -635,14 +874,42 @@ type ContainerSpec struct { // documentation at: // // https://docs.docker.com/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime - Sysctls map[string]string `protobuf:"bytes,26,rep,name=sysctls" json:"sysctls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Sysctls map[string]string `protobuf:"bytes,26,rep,name=sysctls,proto3" json:"sysctls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Capabilities is the list of Linux capabilities to be available for container (this overrides the default set of capabilities) - Capabilities []string `protobuf:"bytes,27,rep,name=capabilities" json:"capabilities,omitempty"` + Capabilities []string `protobuf:"bytes,27,rep,name=capabilities,proto3" json:"capabilities,omitempty"` } -func (m *ContainerSpec) Reset() { *m = ContainerSpec{} } -func (*ContainerSpec) ProtoMessage() {} -func (*ContainerSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{8} } +func (m *ContainerSpec) Reset() { *m = ContainerSpec{} } +func (*ContainerSpec) ProtoMessage() {} +func (*ContainerSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{8} +} +func (m *ContainerSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerSpec.Merge(m, src) +} +func (m *ContainerSpec) XXX_Size() int { + return m.Size() +} +func (m *ContainerSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerSpec proto.InternalMessageInfo // PullOptions allows one to parameterize an image pull. type ContainerSpec_PullOptions struct { @@ -656,8 +923,34 @@ type ContainerSpec_PullOptions struct { func (m *ContainerSpec_PullOptions) Reset() { *m = ContainerSpec_PullOptions{} } func (*ContainerSpec_PullOptions) ProtoMessage() {} func (*ContainerSpec_PullOptions) Descriptor() ([]byte, []int) { - return fileDescriptorSpecs, []int{8, 1} + return fileDescriptor_6589acc608f7d4fd, []int{8, 1} } +func (m *ContainerSpec_PullOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerSpec_PullOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerSpec_PullOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerSpec_PullOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerSpec_PullOptions.Merge(m, src) +} +func (m *ContainerSpec_PullOptions) XXX_Size() int { + return m.Size() +} +func (m *ContainerSpec_PullOptions) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerSpec_PullOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerSpec_PullOptions proto.InternalMessageInfo // DNSConfig specifies DNS related configurations in resolver configuration file (resolv.conf) // Detailed documentation is available in: @@ -665,16 +958,44 @@ func (*ContainerSpec_PullOptions) Descriptor() ([]byte, []int) { // TODO: domain is not supported yet type ContainerSpec_DNSConfig struct { // Nameservers specifies the IP addresses of the name servers - Nameservers []string `protobuf:"bytes,1,rep,name=nameservers" json:"nameservers,omitempty"` + 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" json:"search,omitempty"` + 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" json:"options,omitempty"` + Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` } -func (m *ContainerSpec_DNSConfig) Reset() { *m = ContainerSpec_DNSConfig{} } -func (*ContainerSpec_DNSConfig) ProtoMessage() {} -func (*ContainerSpec_DNSConfig) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{8, 2} } +func (m *ContainerSpec_DNSConfig) Reset() { *m = ContainerSpec_DNSConfig{} } +func (*ContainerSpec_DNSConfig) ProtoMessage() {} +func (*ContainerSpec_DNSConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{8, 2} +} +func (m *ContainerSpec_DNSConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerSpec_DNSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerSpec_DNSConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerSpec_DNSConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerSpec_DNSConfig.Merge(m, src) +} +func (m *ContainerSpec_DNSConfig) XXX_Size() int { + return m.Size() +} +func (m *ContainerSpec_DNSConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerSpec_DNSConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerSpec_DNSConfig proto.InternalMessageInfo // EndpointSpec defines the properties that can be configured to // access and loadbalance the service. @@ -682,24 +1003,52 @@ 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" json:"ports,omitempty"` + Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *EndpointSpec) Reset() { *m = EndpointSpec{} } -func (*EndpointSpec) ProtoMessage() {} -func (*EndpointSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{9} } +func (m *EndpointSpec) Reset() { *m = EndpointSpec{} } +func (*EndpointSpec) ProtoMessage() {} +func (*EndpointSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{9} +} +func (m *EndpointSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EndpointSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EndpointSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EndpointSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_EndpointSpec.Merge(m, src) +} +func (m *EndpointSpec) XXX_Size() int { + return m.Size() +} +func (m *EndpointSpec) XXX_DiscardUnknown() { + xxx_messageInfo_EndpointSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_EndpointSpec proto.InternalMessageInfo // NetworkSpec specifies user defined network parameters. type NetworkSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + 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" json:"driver_config,omitempty"` + 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" json:"ipam,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 @@ -720,9 +1069,37 @@ type NetworkSpec struct { ConfigFrom isNetworkSpec_ConfigFrom `protobuf_oneof:"config_from"` } -func (m *NetworkSpec) Reset() { *m = NetworkSpec{} } -func (*NetworkSpec) ProtoMessage() {} -func (*NetworkSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{10} } +func (m *NetworkSpec) Reset() { *m = NetworkSpec{} } +func (*NetworkSpec) ProtoMessage() {} +func (*NetworkSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{10} +} +func (m *NetworkSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkSpec.Merge(m, src) +} +func (m *NetworkSpec) XXX_Size() int { + return m.Size() +} +func (m *NetworkSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkSpec proto.InternalMessageInfo type isNetworkSpec_ConfigFrom interface { isNetworkSpec_ConfigFrom() @@ -791,7 +1168,7 @@ func _NetworkSpec_OneofSizer(msg proto.Message) (n int) { // config_from switch x := m.ConfigFrom.(type) { case *NetworkSpec_Network: - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Network))) n += len(x.Network) case nil: @@ -803,32 +1180,60 @@ func _NetworkSpec_OneofSizer(msg proto.Message) (n int) { // ClusterSpec specifies global cluster settings. type ClusterSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + 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" json:"acceptance_policy"` + 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" json:"orchestration"` + 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" json:"raft"` + 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" json:"dispatcher"` + 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" json:"ca_config"` + 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" json:"task_defaults"` + 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" json:"encryption_config"` + EncryptionConfig EncryptionConfig `protobuf:"bytes,8,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config"` } -func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } -func (*ClusterSpec) ProtoMessage() {} -func (*ClusterSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{11} } +func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } +func (*ClusterSpec) ProtoMessage() {} +func (*ClusterSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{11} +} +func (m *ClusterSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ClusterSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ClusterSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterSpec.Merge(m, src) +} +func (m *ClusterSpec) XXX_Size() int { + return m.Size() +} +func (m *ClusterSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterSpec proto.InternalMessageInfo // SecretSpec specifies a user-provided secret. type SecretSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // Data is the secret payload - the maximum size is 500KB (that is, 500*1024 bytes) Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Templating controls whether and how to evaluate the secret payload as @@ -836,18 +1241,46 @@ type SecretSpec struct { // // The currently recognized values are: // - golang: Go templating - Templating *Driver `protobuf:"bytes,3,opt,name=templating" json:"templating,omitempty"` + Templating *Driver `protobuf:"bytes,3,opt,name=templating,proto3" json:"templating,omitempty"` // Driver is the the secret driver that is used to store the specified secret - Driver *Driver `protobuf:"bytes,4,opt,name=driver" json:"driver,omitempty"` + Driver *Driver `protobuf:"bytes,4,opt,name=driver,proto3" json:"driver,omitempty"` } -func (m *SecretSpec) Reset() { *m = SecretSpec{} } -func (*SecretSpec) ProtoMessage() {} -func (*SecretSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{12} } +func (m *SecretSpec) Reset() { *m = SecretSpec{} } +func (*SecretSpec) ProtoMessage() {} +func (*SecretSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{12} +} +func (m *SecretSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SecretSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SecretSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SecretSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretSpec.Merge(m, src) +} +func (m *SecretSpec) XXX_Size() int { + return m.Size() +} +func (m *SecretSpec) XXX_DiscardUnknown() { + xxx_messageInfo_SecretSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_SecretSpec proto.InternalMessageInfo // ConfigSpec specifies user-provided configuration files. type ConfigSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + 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... @@ -857,14 +1290,46 @@ type ConfigSpec struct { // // The currently recognized values are: // - golang: Go templating - Templating *Driver `protobuf:"bytes,3,opt,name=templating" json:"templating,omitempty"` + Templating *Driver `protobuf:"bytes,3,opt,name=templating,proto3" json:"templating,omitempty"` } -func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } -func (*ConfigSpec) ProtoMessage() {} -func (*ConfigSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{13} } +func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } +func (*ConfigSpec) ProtoMessage() {} +func (*ConfigSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{13} +} +func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) +} +func (m *ConfigSpec) XXX_Size() int { + return m.Size() +} +func (m *ConfigSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigSpec proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Membership", NodeSpec_Membership_name, NodeSpec_Membership_value) + proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Availability", NodeSpec_Availability_name, NodeSpec_Availability_value) + proto.RegisterEnum("docker.swarmkit.v1.ContainerSpec_Isolation", ContainerSpec_Isolation_name, ContainerSpec_Isolation_value) + proto.RegisterEnum("docker.swarmkit.v1.EndpointSpec_ResolutionMode", EndpointSpec_ResolutionMode_name, EndpointSpec_ResolutionMode_value) proto.RegisterType((*NodeSpec)(nil), "docker.swarmkit.v1.NodeSpec") proto.RegisterType((*ServiceSpec)(nil), "docker.swarmkit.v1.ServiceSpec") proto.RegisterType((*ReplicatedService)(nil), "docker.swarmkit.v1.ReplicatedService") @@ -874,6 +1339,8 @@ func init() { proto.RegisterType((*GenericRuntimeSpec)(nil), "docker.swarmkit.v1.GenericRuntimeSpec") proto.RegisterType((*NetworkAttachmentSpec)(nil), "docker.swarmkit.v1.NetworkAttachmentSpec") proto.RegisterType((*ContainerSpec)(nil), "docker.swarmkit.v1.ContainerSpec") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ContainerSpec.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ContainerSpec.SysctlsEntry") proto.RegisterType((*ContainerSpec_PullOptions)(nil), "docker.swarmkit.v1.ContainerSpec.PullOptions") proto.RegisterType((*ContainerSpec_DNSConfig)(nil), "docker.swarmkit.v1.ContainerSpec.DNSConfig") proto.RegisterType((*EndpointSpec)(nil), "docker.swarmkit.v1.EndpointSpec") @@ -881,10 +1348,152 @@ func init() { proto.RegisterType((*ClusterSpec)(nil), "docker.swarmkit.v1.ClusterSpec") proto.RegisterType((*SecretSpec)(nil), "docker.swarmkit.v1.SecretSpec") proto.RegisterType((*ConfigSpec)(nil), "docker.swarmkit.v1.ConfigSpec") - proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Membership", NodeSpec_Membership_name, NodeSpec_Membership_value) - proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Availability", NodeSpec_Availability_name, NodeSpec_Availability_value) - proto.RegisterEnum("docker.swarmkit.v1.ContainerSpec_Isolation", ContainerSpec_Isolation_name, ContainerSpec_Isolation_value) - proto.RegisterEnum("docker.swarmkit.v1.EndpointSpec_ResolutionMode", EndpointSpec_ResolutionMode_name, EndpointSpec_ResolutionMode_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/specs.proto", fileDescriptor_6589acc608f7d4fd) +} + +var fileDescriptor_6589acc608f7d4fd = []byte{ + // 2193 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4d, 0x73, 0x1b, 0xb9, + 0xd1, 0x26, 0x25, 0x8a, 0x1f, 0x3d, 0x94, 0x4d, 0x61, 0xbd, 0xde, 0x11, 0x6d, 0x53, 0x34, 0xd7, + 0xeb, 0x57, 0xbb, 0x5b, 0x2f, 0x55, 0x51, 0xb6, 0x36, 0x5e, 0x3b, 0x9b, 0x84, 0x14, 0xb9, 0x32, + 0x63, 0x5b, 0x62, 0x81, 0xb2, 0x12, 0x57, 0xa5, 0x8a, 0x05, 0xcd, 0x40, 0xe4, 0x94, 0x86, 0x83, + 0x09, 0x00, 0xca, 0xc5, 0x5b, 0x8e, 0x5b, 0xca, 0x25, 0x7f, 0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, 0xad, 0xb5, 0x53, 0x58, 0x98, 0x8f, 0x6a, 0x70, 0xe2, 0x05, 0xc6, 0x94, + 0x3f, 0xa6, 0xc0, 0xea, 0x50, 0x7e, 0xec, 0x39, 0xef, 0x39, 0x44, 0xbe, 0x84, 0x94, 0x24, 0xe2, + 0x48, 0x87, 0x86, 0x35, 0x3f, 0x34, 0xf6, 0x88, 0x38, 0x52, 0x8b, 0x1a, 0xba, 0xc6, 0xab, 0xc8, + 0xe0, 0x34, 0xf4, 0x3d, 0x87, 0x48, 0xea, 0xea, 0xc8, 0xb0, 0x36, 0x3f, 0x99, 0xc7, 0xc6, 0x63, + 0x94, 0xb1, 0xff, 0x71, 0x02, 0x4f, 0x51, 0xd1, 0x23, 0x48, 0xf7, 0x7c, 0x76, 0x40, 0x7c, 0x1d, + 0x13, 0xd6, 0xe6, 0xdd, 0x79, 0x4a, 0xb6, 0x35, 0x62, 0xa2, 0xc0, 0x50, 0xd0, 0x03, 0x48, 0x0f, + 0x43, 0x97, 0x48, 0x6a, 0xa7, 0x35, 0xb9, 0x3c, 0x8f, 0xfc, 0x5c, 0x23, 0xb6, 0x58, 0x70, 0xe8, + 0xf5, 0xb0, 0xc1, 0xa3, 0x9f, 0x42, 0x96, 0x33, 0xdf, 0x3f, 0x20, 0xce, 0x91, 0x9d, 0x7b, 0x47, + 0xee, 0x98, 0x81, 0x9e, 0x40, 0x36, 0xa0, 0xf2, 0x25, 0xe3, 0x47, 0xc2, 0xce, 0x94, 0x17, 0xd7, + 0xad, 0xcd, 0xcf, 0xe7, 0x86, 0x72, 0x84, 0xa9, 0x49, 0x49, 0x9c, 0xfe, 0x80, 0x06, 0x32, 0x52, + 0x54, 0x5f, 0xb0, 0x93, 0x78, 0xac, 0x40, 0x99, 0x42, 0x03, 0x37, 0x64, 0x5e, 0x20, 0xed, 0xec, + 0xe5, 0xa6, 0x34, 0x0d, 0x46, 0x1d, 0x05, 0x1e, 0x33, 0xea, 0x69, 0x48, 0x0d, 0x98, 0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 0xde, 0x80, 0xf4, 0xa8, + 0xb1, 0x31, 0x9a, 0xa0, 0x26, 0xa4, 0x7d, 0x72, 0x40, 0x7d, 0x95, 0x2b, 0xea, 0xe0, 0xfe, 0xff, + 0xca, 0x94, 0xad, 0x3e, 0xd5, 0xf8, 0x66, 0x20, 0xf9, 0x08, 0x1b, 0x32, 0xb2, 0x21, 0xe3, 0xb0, + 0xc1, 0x80, 0x04, 0xea, 0x9a, 0x58, 0x5c, 0xcf, 0xe1, 0x78, 0xaa, 0x76, 0x86, 0xf0, 0x9e, 0xb0, + 0x53, 0x5a, 0xac, 0xc7, 0xaa, 0x62, 0xf5, 0x99, 0x90, 0x01, 0x19, 0x50, 0xfb, 0x9a, 0xb6, 0x66, + 0x3c, 0x47, 0x05, 0x58, 0xa4, 0xc1, 0xb1, 0xbd, 0xa4, 0xe1, 0x6a, 0xa8, 0x24, 0xae, 0x17, 0x25, + 0x42, 0x0e, 0xab, 0xa1, 0xd2, 0x39, 0x14, 0x94, 0xdb, 0x99, 0x68, 0xb7, 0xd5, 0x18, 0xdd, 0x84, + 0x74, 0x8f, 0xb3, 0x61, 0x18, 0x45, 0x60, 0x0e, 0x9b, 0x19, 0xfa, 0x19, 0x40, 0xc8, 0xbd, 0x63, + 0xcf, 0xa7, 0x3d, 0x2a, 0xec, 0x9b, 0xfa, 0x20, 0x4a, 0x73, 0x73, 0x71, 0x8c, 0xc2, 0x53, 0x0c, + 0x54, 0x85, 0x94, 0x17, 0x78, 0xd2, 0xfe, 0xc8, 0xe4, 0xe1, 0xc5, 0x23, 0xac, 0x33, 0xe6, 0xef, + 0x13, 0x7f, 0x48, 0xb1, 0xc6, 0xa1, 0x55, 0x58, 0x94, 0x72, 0x64, 0x2f, 0x97, 0x93, 0xeb, 0xd9, + 0x7a, 0xe6, 0xfc, 0x6c, 0x6d, 0x71, 0x6f, 0xef, 0x05, 0x56, 0x32, 0x74, 0x07, 0x80, 0x85, 0x34, + 0xe8, 0x0a, 0xe9, 0x7a,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0xe5, + 0x6f, 0x49, 0x80, 0xa8, 0x39, 0x79, 0xbf, 0x01, 0x88, 0x20, 0xe5, 0x12, 0x49, 0x74, 0xcc, 0xe5, + 0xb1, 0x1e, 0xa3, 0x87, 0x00, 0x92, 0x0e, 0x42, 0x55, 0x7a, 0x83, 0x9e, 0x09, 0x9b, 0xb7, 0x95, + 0x83, 0x29, 0x34, 0xda, 0x84, 0xb4, 0x79, 0x6a, 0xa6, 0xae, 0xe4, 0x19, 0x64, 0xe5, 0xcf, 0x49, + 0x80, 0xc8, 0xcd, 0xff, 0x69, 0xdf, 0xea, 0xf7, 0x5e, 0xfd, 0x50, 0x4a, 0x7c, 0xff, 0x43, 0x29, + 0xf1, 0xbb, 0xf3, 0x52, 0xf2, 0xd5, 0x79, 0x29, 0xf9, 0xdd, 0x79, 0x29, 0xf9, 0xf7, 0xf3, 0x52, + 0xf2, 0x0f, 0xaf, 0x4b, 0x89, 0xef, 0x5e, 0x97, 0x12, 0xdf, 0xbf, 0x2e, 0x25, 0x0e, 0xd2, 0xba, + 0xbd, 0xfd, 0xf1, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x96, 0x6c, 0xd9, 0x32, 0x7d, 0x16, 0x00, + 0x00, } func (m *NodeSpec) Copy() *NodeSpec { @@ -900,7 +1509,7 @@ func (m *NodeSpec) CopyFrom(src interface{}) { o := src.(*NodeSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) } func (m *ServiceSpec) Copy() *ServiceSpec { @@ -916,27 +1525,27 @@ func (m *ServiceSpec) CopyFrom(src interface{}) { o := src.(*ServiceSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) - deepcopy.Copy(&m.Task, &o.Task) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Task, &o.Task) if o.Update != nil { m.Update = &UpdateConfig{} - deepcopy.Copy(m.Update, o.Update) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Update, o.Update) } if o.Rollback != nil { m.Rollback = &UpdateConfig{} - deepcopy.Copy(m.Rollback, o.Rollback) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Rollback, o.Rollback) } if o.Networks != nil { m.Networks = make([]*NetworkAttachmentConfig, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &NetworkAttachmentConfig{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } if o.Endpoint != nil { m.Endpoint = &EndpointSpec{} - deepcopy.Copy(m.Endpoint, o.Endpoint) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Endpoint, o.Endpoint) } if o.Mode != nil { switch o.Mode.(type) { @@ -944,13 +1553,13 @@ func (m *ServiceSpec) CopyFrom(src interface{}) { v := ServiceSpec_Replicated{ Replicated: &ReplicatedService{}, } - deepcopy.Copy(v.Replicated, o.GetReplicated()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Replicated, o.GetReplicated()) m.Mode = &v case *ServiceSpec_Global: v := ServiceSpec_Global{ Global: &GlobalService{}, } - deepcopy.Copy(v.Global, o.GetGlobal()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Global, o.GetGlobal()) m.Mode = &v } } @@ -997,32 +1606,32 @@ func (m *TaskSpec) CopyFrom(src interface{}) { *m = *o if o.Resources != nil { m.Resources = &ResourceRequirements{} - deepcopy.Copy(m.Resources, o.Resources) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources, o.Resources) } if o.Restart != nil { m.Restart = &RestartPolicy{} - deepcopy.Copy(m.Restart, o.Restart) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Restart, o.Restart) } if o.Placement != nil { m.Placement = &Placement{} - deepcopy.Copy(m.Placement, o.Placement) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Placement, o.Placement) } if o.LogDriver != nil { m.LogDriver = &Driver{} - deepcopy.Copy(m.LogDriver, o.LogDriver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver) } if o.Networks != nil { m.Networks = make([]*NetworkAttachmentConfig, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &NetworkAttachmentConfig{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } if o.ResourceReferences != nil { m.ResourceReferences = make([]ResourceReference, len(o.ResourceReferences)) for i := range m.ResourceReferences { - deepcopy.Copy(&m.ResourceReferences[i], &o.ResourceReferences[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.ResourceReferences[i], &o.ResourceReferences[i]) } } @@ -1032,19 +1641,19 @@ func (m *TaskSpec) CopyFrom(src interface{}) { v := TaskSpec_Attachment{ Attachment: &NetworkAttachmentSpec{}, } - deepcopy.Copy(v.Attachment, o.GetAttachment()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Attachment, o.GetAttachment()) m.Runtime = &v case *TaskSpec_Container: v := TaskSpec_Container{ Container: &ContainerSpec{}, } - deepcopy.Copy(v.Container, o.GetContainer()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Container, o.GetContainer()) m.Runtime = &v case *TaskSpec_Generic: v := TaskSpec_Generic{ Generic: &GenericRuntimeSpec{}, } - deepcopy.Copy(v.Generic, o.GetGeneric()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Generic, o.GetGeneric()) m.Runtime = &v } } @@ -1080,8 +1689,8 @@ func (m *GenericRuntimeSpec) CopyFrom(src interface{}) { o := src.(*GenericRuntimeSpec) *m = *o if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -1142,32 +1751,32 @@ func (m *ContainerSpec) CopyFrom(src interface{}) { if o.Privileges != nil { m.Privileges = &Privileges{} - deepcopy.Copy(m.Privileges, o.Privileges) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Privileges, o.Privileges) } if o.Init != nil { - m.Init = &google_protobuf2.BoolValue{} - deepcopy.Copy(m.Init, o.Init) + m.Init = &types.BoolValue{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Init, o.Init) } if o.Mounts != nil { m.Mounts = make([]Mount, len(o.Mounts)) for i := range m.Mounts { - deepcopy.Copy(&m.Mounts[i], &o.Mounts[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Mounts[i], &o.Mounts[i]) } } if o.StopGracePeriod != nil { - m.StopGracePeriod = &google_protobuf1.Duration{} - deepcopy.Copy(m.StopGracePeriod, o.StopGracePeriod) + m.StopGracePeriod = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.StopGracePeriod, o.StopGracePeriod) } if o.PullOptions != nil { m.PullOptions = &ContainerSpec_PullOptions{} - deepcopy.Copy(m.PullOptions, o.PullOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PullOptions, o.PullOptions) } if o.Secrets != nil { m.Secrets = make([]*SecretReference, len(o.Secrets)) for i := range m.Secrets { m.Secrets[i] = &SecretReference{} - deepcopy.Copy(m.Secrets[i], o.Secrets[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secrets[i], o.Secrets[i]) } } @@ -1175,7 +1784,7 @@ func (m *ContainerSpec) CopyFrom(src interface{}) { m.Configs = make([]*ConfigReference, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &ConfigReference{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -1186,11 +1795,11 @@ func (m *ContainerSpec) CopyFrom(src interface{}) { if o.DNSConfig != nil { m.DNSConfig = &ContainerSpec_DNSConfig{} - deepcopy.Copy(m.DNSConfig, o.DNSConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DNSConfig, o.DNSConfig) } if o.Healthcheck != nil { m.Healthcheck = &HealthConfig{} - deepcopy.Copy(m.Healthcheck, o.Healthcheck) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Healthcheck, o.Healthcheck) } if o.Sysctls != nil { m.Sysctls = make(map[string]string, len(o.Sysctls)) @@ -1268,7 +1877,7 @@ func (m *EndpointSpec) CopyFrom(src interface{}) { m.Ports = make([]*PortConfig, len(o.Ports)) for i := range m.Ports { m.Ports[i] = &PortConfig{} - deepcopy.Copy(m.Ports[i], o.Ports[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i]) } } @@ -1287,14 +1896,14 @@ func (m *NetworkSpec) CopyFrom(src interface{}) { o := src.(*NetworkSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.DriverConfig != nil { m.DriverConfig = &Driver{} - deepcopy.Copy(m.DriverConfig, o.DriverConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverConfig, o.DriverConfig) } if o.IPAM != nil { m.IPAM = &IPAMOptions{} - deepcopy.Copy(m.IPAM, o.IPAM) + github_com_docker_swarmkit_api_deepcopy.Copy(m.IPAM, o.IPAM) } if o.ConfigFrom != nil { switch o.ConfigFrom.(type) { @@ -1321,14 +1930,14 @@ func (m *ClusterSpec) CopyFrom(src interface{}) { o := src.(*ClusterSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) - deepcopy.Copy(&m.AcceptancePolicy, &o.AcceptancePolicy) - deepcopy.Copy(&m.Orchestration, &o.Orchestration) - deepcopy.Copy(&m.Raft, &o.Raft) - deepcopy.Copy(&m.Dispatcher, &o.Dispatcher) - deepcopy.Copy(&m.CAConfig, &o.CAConfig) - deepcopy.Copy(&m.TaskDefaults, &o.TaskDefaults) - deepcopy.Copy(&m.EncryptionConfig, &o.EncryptionConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.AcceptancePolicy, &o.AcceptancePolicy) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Orchestration, &o.Orchestration) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Raft, &o.Raft) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Dispatcher, &o.Dispatcher) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.CAConfig, &o.CAConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.TaskDefaults, &o.TaskDefaults) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.EncryptionConfig, &o.EncryptionConfig) } func (m *SecretSpec) Copy() *SecretSpec { @@ -1344,18 +1953,18 @@ func (m *SecretSpec) CopyFrom(src interface{}) { o := src.(*SecretSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.Data != nil { m.Data = make([]byte, len(o.Data)) copy(m.Data, o.Data) } if o.Templating != nil { m.Templating = &Driver{} - deepcopy.Copy(m.Templating, o.Templating) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Templating, o.Templating) } if o.Driver != nil { m.Driver = &Driver{} - deepcopy.Copy(m.Driver, o.Driver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Driver, o.Driver) } } @@ -1372,14 +1981,14 @@ func (m *ConfigSpec) CopyFrom(src interface{}) { o := src.(*ConfigSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.Data != nil { m.Data = make([]byte, len(o.Data)) copy(m.Data, o.Data) } if o.Templating != nil { m.Templating = &Driver{} - deepcopy.Copy(m.Templating, o.Templating) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Templating, o.Templating) } } @@ -2541,8 +3150,10 @@ func encodeVarintSpecs(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *NodeSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2560,6 +3171,9 @@ func (m *NodeSpec) Size() (n int) { } func (m *ServiceSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2591,6 +3205,9 @@ func (m *ServiceSpec) Size() (n int) { } func (m *ServiceSpec_Replicated) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Replicated != nil { @@ -2600,6 +3217,9 @@ func (m *ServiceSpec_Replicated) Size() (n int) { return n } func (m *ServiceSpec_Global) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Global != nil { @@ -2609,6 +3229,9 @@ func (m *ServiceSpec_Global) Size() (n int) { return n } func (m *ReplicatedService) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Replicas != 0 { @@ -2618,12 +3241,18 @@ func (m *ReplicatedService) Size() (n int) { } func (m *GlobalService) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *TaskSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Runtime != nil { @@ -2664,6 +3293,9 @@ func (m *TaskSpec) Size() (n int) { } func (m *TaskSpec_Container) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Container != nil { @@ -2673,6 +3305,9 @@ func (m *TaskSpec_Container) Size() (n int) { return n } func (m *TaskSpec_Attachment) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Attachment != nil { @@ -2682,6 +3317,9 @@ func (m *TaskSpec_Attachment) Size() (n int) { return n } func (m *TaskSpec_Generic) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Generic != nil { @@ -2691,6 +3329,9 @@ func (m *TaskSpec_Generic) Size() (n int) { return n } func (m *ResourceReference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -2704,6 +3345,9 @@ func (m *ResourceReference) Size() (n int) { } func (m *GenericRuntimeSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2718,6 +3362,9 @@ func (m *GenericRuntimeSpec) Size() (n int) { } func (m *NetworkAttachmentSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ContainerID) @@ -2728,6 +3375,9 @@ func (m *NetworkAttachmentSpec) Size() (n int) { } func (m *ContainerSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Image) @@ -2863,6 +3513,9 @@ func (m *ContainerSpec) Size() (n int) { } func (m *ContainerSpec_PullOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.RegistryAuth) @@ -2873,6 +3526,9 @@ func (m *ContainerSpec_PullOptions) Size() (n int) { } func (m *ContainerSpec_DNSConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Nameservers) > 0 { @@ -2897,6 +3553,9 @@ func (m *ContainerSpec_DNSConfig) Size() (n int) { } func (m *EndpointSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Mode != 0 { @@ -2912,6 +3571,9 @@ func (m *EndpointSpec) Size() (n int) { } func (m *NetworkSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2943,6 +3605,9 @@ func (m *NetworkSpec) Size() (n int) { } func (m *NetworkSpec_Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Network) @@ -2950,6 +3615,9 @@ func (m *NetworkSpec_Network) Size() (n int) { return n } func (m *ClusterSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2972,6 +3640,9 @@ func (m *ClusterSpec) Size() (n int) { } func (m *SecretSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2992,6 +3663,9 @@ func (m *SecretSpec) Size() (n int) { } func (m *ConfigSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -3152,7 +3826,7 @@ func (this *GenericRuntimeSpec) String() string { } s := strings.Join([]string{`&GenericRuntimeSpec{`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -3175,7 +3849,7 @@ func (this *ContainerSpec) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -3185,7 +3859,7 @@ func (this *ContainerSpec) String() string { for k, _ := range this.Sysctls { keysForSysctls = append(keysForSysctls, k) } - sortkeys.Strings(keysForSysctls) + github_com_gogo_protobuf_sortkeys.Strings(keysForSysctls) mapStringForSysctls := "map[string]string{" for _, k := range keysForSysctls { mapStringForSysctls += fmt.Sprintf("%v: %v,", k, this.Sysctls[k]) @@ -3200,7 +3874,7 @@ func (this *ContainerSpec) String() string { `Dir:` + fmt.Sprintf("%v", this.Dir) + `,`, `User:` + fmt.Sprintf("%v", this.User) + `,`, `Mounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Mounts), "Mount", "Mount", 1), `&`, ``, 1) + `,`, - `StopGracePeriod:` + strings.Replace(fmt.Sprintf("%v", this.StopGracePeriod), "Duration", "google_protobuf1.Duration", 1) + `,`, + `StopGracePeriod:` + strings.Replace(fmt.Sprintf("%v", this.StopGracePeriod), "Duration", "types.Duration", 1) + `,`, `PullOptions:` + strings.Replace(fmt.Sprintf("%v", this.PullOptions), "ContainerSpec_PullOptions", "ContainerSpec_PullOptions", 1) + `,`, `Groups:` + fmt.Sprintf("%v", this.Groups) + `,`, `Secrets:` + strings.Replace(fmt.Sprintf("%v", this.Secrets), "SecretReference", "SecretReference", 1) + `,`, @@ -3214,7 +3888,7 @@ func (this *ContainerSpec) String() string { `StopSignal:` + fmt.Sprintf("%v", this.StopSignal) + `,`, `Configs:` + strings.Replace(fmt.Sprintf("%v", this.Configs), "ConfigReference", "ConfigReference", 1) + `,`, `Privileges:` + strings.Replace(fmt.Sprintf("%v", this.Privileges), "Privileges", "Privileges", 1) + `,`, - `Init:` + strings.Replace(fmt.Sprintf("%v", this.Init), "BoolValue", "google_protobuf2.BoolValue", 1) + `,`, + `Init:` + strings.Replace(fmt.Sprintf("%v", this.Init), "BoolValue", "types.BoolValue", 1) + `,`, `Isolation:` + fmt.Sprintf("%v", this.Isolation) + `,`, `PidsLimit:` + fmt.Sprintf("%v", this.PidsLimit) + `,`, `Sysctls:` + mapStringForSysctls + `,`, @@ -3348,7 +4022,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3376,7 +4050,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3385,6 +4059,9 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3406,7 +4083,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DesiredRole |= (NodeRole(b) & 0x7F) << shift + m.DesiredRole |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -3425,7 +4102,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Membership |= (NodeSpec_Membership(b) & 0x7F) << shift + m.Membership |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -3444,7 +4121,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Availability |= (NodeSpec_Availability(b) & 0x7F) << shift + m.Availability |= NodeSpec_Availability(b&0x7F) << shift if b < 0x80 { break } @@ -3458,6 +4135,9 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3485,7 +4165,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3513,7 +4193,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3522,6 +4202,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3543,7 +4226,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3552,6 +4235,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3573,7 +4259,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3582,6 +4268,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3605,7 +4294,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3614,6 +4303,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3637,7 +4329,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3646,6 +4338,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3670,7 +4365,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3679,6 +4374,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3701,7 +4399,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3710,6 +4408,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3734,7 +4435,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3743,6 +4444,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3762,6 +4466,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3789,7 +4496,7 @@ func (m *ReplicatedService) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3817,7 +4524,7 @@ func (m *ReplicatedService) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Replicas |= (uint64(b) & 0x7F) << shift + m.Replicas |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3831,6 +4538,9 @@ func (m *ReplicatedService) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3858,7 +4568,7 @@ func (m *GlobalService) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3881,6 +4591,9 @@ func (m *GlobalService) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3908,7 +4621,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3936,7 +4649,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3945,6 +4658,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3968,7 +4684,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3977,6 +4693,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4001,7 +4720,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4010,6 +4729,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4034,7 +4756,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4043,6 +4765,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4067,7 +4792,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4076,6 +4801,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4100,7 +4828,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4109,6 +4837,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4131,7 +4862,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4140,6 +4871,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4163,7 +4897,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ForceUpdate |= (uint64(b) & 0x7F) << shift + m.ForceUpdate |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4182,7 +4916,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4191,6 +4925,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4214,7 +4951,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4223,6 +4960,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4240,6 +4980,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4267,7 +5010,7 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4295,7 +5038,7 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4305,6 +5048,9 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4324,7 +5070,7 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ResourceType |= (ResourceType(b) & 0x7F) << shift + m.ResourceType |= ResourceType(b&0x7F) << shift if b < 0x80 { break } @@ -4338,6 +5084,9 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4365,7 +5114,7 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4393,7 +5142,7 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4403,6 +5152,9 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4422,7 +5174,7 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4431,11 +5183,14 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4450,6 +5205,9 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4477,7 +5235,7 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4505,7 +5263,7 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4515,6 +5273,9 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4529,6 +5290,9 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4556,7 +5320,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4584,7 +5348,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4594,6 +5358,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4613,7 +5380,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4622,6 +5389,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4642,7 +5412,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4659,7 +5429,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4669,6 +5439,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -4685,7 +5458,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4695,6 +5468,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -4731,7 +5507,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4741,6 +5517,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4760,7 +5539,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4770,6 +5549,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4789,7 +5571,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4799,6 +5581,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4818,7 +5603,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4828,6 +5613,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4847,7 +5635,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4857,6 +5645,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4876,7 +5667,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4885,6 +5676,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4907,7 +5701,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4916,11 +5710,14 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } if m.StopGracePeriod == nil { - m.StopGracePeriod = &google_protobuf1.Duration{} + m.StopGracePeriod = &types.Duration{} } if err := m.StopGracePeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4940,7 +5737,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4949,6 +5746,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4973,7 +5773,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4983,6 +5783,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5002,7 +5805,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5011,6 +5814,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5033,7 +5839,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5053,7 +5859,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5063,6 +5869,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5082,7 +5891,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5091,6 +5900,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5115,7 +5927,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5124,6 +5936,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5148,7 +5963,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5158,6 +5973,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5177,7 +5995,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5197,7 +6015,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5217,7 +6035,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5227,6 +6045,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5246,7 +6067,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5255,6 +6076,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5277,7 +6101,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5286,6 +6110,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5310,7 +6137,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5319,11 +6146,14 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Init == nil { - m.Init = &google_protobuf2.BoolValue{} + m.Init = &types.BoolValue{} } if err := m.Init.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5343,7 +6173,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Isolation |= (ContainerSpec_Isolation(b) & 0x7F) << shift + m.Isolation |= ContainerSpec_Isolation(b&0x7F) << shift if b < 0x80 { break } @@ -5362,7 +6192,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PidsLimit |= (int64(b) & 0x7F) << shift + m.PidsLimit |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -5381,7 +6211,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5390,6 +6220,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5410,7 +6243,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5427,7 +6260,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5437,6 +6270,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -5453,7 +6289,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5463,6 +6299,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -5499,7 +6338,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5509,6 +6348,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5523,6 +6365,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5550,7 +6395,7 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5578,7 +6423,7 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5588,6 +6433,9 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5602,6 +6450,9 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5629,7 +6480,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5657,7 +6508,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5667,6 +6518,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5686,7 +6540,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5696,6 +6550,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5715,7 +6572,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5725,6 +6582,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5739,6 +6599,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5766,7 +6629,7 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5794,7 +6657,7 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= (EndpointSpec_ResolutionMode(b) & 0x7F) << shift + m.Mode |= EndpointSpec_ResolutionMode(b&0x7F) << shift if b < 0x80 { break } @@ -5813,7 +6676,7 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5822,6 +6685,9 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5839,6 +6705,9 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5866,7 +6735,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5894,7 +6763,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5903,6 +6772,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5924,7 +6796,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5933,6 +6805,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5957,7 +6832,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5977,7 +6852,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5997,7 +6872,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6006,6 +6881,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6030,7 +6908,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6050,7 +6928,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6070,7 +6948,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6080,6 +6958,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6094,6 +6975,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6121,7 +7005,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6149,7 +7033,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6158,6 +7042,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6179,7 +7066,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6188,6 +7075,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6209,7 +7099,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6218,6 +7108,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6239,7 +7132,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6248,6 +7141,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6269,7 +7165,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6278,6 +7174,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6299,7 +7198,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6308,6 +7207,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6329,7 +7231,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6338,6 +7240,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6359,7 +7264,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6368,6 +7273,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6384,6 +7292,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6411,7 +7322,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6439,7 +7350,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6448,6 +7359,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6469,7 +7383,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6478,6 +7392,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6500,7 +7417,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6509,6 +7426,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6533,7 +7453,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6542,6 +7462,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6561,6 +7484,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6588,7 +7514,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6616,7 +7542,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6625,6 +7551,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6646,7 +7575,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6655,6 +7584,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6677,7 +7609,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6686,6 +7618,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6705,6 +7640,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6771,10 +7709,13 @@ func skipSpecs(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthSpecs } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthSpecs + } return iNdEx, nil case 3: for { @@ -6803,6 +7744,9 @@ func skipSpecs(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthSpecs + } } return iNdEx, nil case 4: @@ -6821,146 +7765,3 @@ var ( ErrInvalidLengthSpecs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSpecs = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/specs.proto", fileDescriptorSpecs) } - -var fileDescriptorSpecs = []byte{ - // 2178 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x6f, 0x1b, 0xb9, - 0x15, 0xb7, 0x6c, 0x59, 0x7f, 0x9e, 0xe4, 0x44, 0xe6, 0x26, 0xd9, 0xb1, 0x92, 0xd8, 0x8a, 0x36, - 0x9b, 0x7a, 0x77, 0x51, 0x19, 0x75, 0x17, 0xdb, 0x6c, 0xd2, 0x6d, 0x2b, 0x59, 0x5a, 0x5b, 0x4d, - 0x62, 0x0b, 0x94, 0xe3, 0x36, 0x40, 0x01, 0x81, 0x9e, 0xa1, 0x25, 0xc2, 0xa3, 0xe1, 0x94, 0xa4, - 0x1c, 0xe8, 0xd6, 0xe3, 0xc2, 0xfd, 0x0c, 0x46, 0x0f, 0x45, 0xef, 0xed, 0xb7, 0xc8, 0xb1, 0xc7, - 0xf6, 0x62, 0x74, 0xfd, 0x15, 0x7a, 0xeb, 0xa5, 0x05, 0x39, 0x1c, 0xfd, 0x71, 0xe4, 0x38, 0x45, - 0x73, 0xe8, 0x8d, 0x7c, 0xf3, 0xfb, 0x3d, 0xfe, 0xfb, 0xbd, 0xc7, 0xc7, 0x81, 0xcf, 0xbb, 0x4c, - 0xf5, 0x06, 0x87, 0x15, 0x97, 0xf7, 0x37, 0x3c, 0xee, 0x1e, 0x53, 0xb1, 0x21, 0x5f, 0x13, 0xd1, - 0x3f, 0x66, 0x6a, 0x83, 0x84, 0x6c, 0x43, 0x86, 0xd4, 0x95, 0x95, 0x50, 0x70, 0xc5, 0x11, 0x8a, - 0x00, 0x95, 0x18, 0x50, 0x39, 0xf9, 0x51, 0xf1, 0x3a, 0xbe, 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 0x6a, 0xe2, 0x30, - 0x65, 0x6a, 0xa8, 0x1f, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x13, 0x42, 0x73, 0x71, 0x16, - 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/types.pb.go b/vendor/github.com/docker/swarmkit/api/types.pb.go index 822a69cb83..825513e8e7 100644 --- a/vendor/github.com/docker/swarmkit/api/types.pb.go +++ b/vendor/github.com/docker/swarmkit/api/types.pb.go @@ -3,27 +3,22 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/gogo/protobuf/types" -import google_protobuf1 "github.com/gogo/protobuf/types" -import google_protobuf2 "github.com/gogo/protobuf/types" -import _ "github.com/gogo/protobuf/gogoproto" - -import os "os" -import time "time" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import binary "encoding/binary" -import types "github.com/gogo/protobuf/types" - -import strings "strings" -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + encoding_binary "encoding/binary" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + os "os" + reflect "reflect" + strings "strings" + time "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -31,6 +26,12 @@ var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type ResourceType int32 const ( @@ -44,6 +45,7 @@ var ResourceType_name = map[int32]string{ 1: "SECRET", 2: "CONFIG", } + var ResourceType_value = map[string]int32{ "TASK": 0, "SECRET": 1, @@ -53,7 +55,10 @@ var ResourceType_value = map[string]int32{ func (x ResourceType) String() string { return proto.EnumName(ResourceType_name, int32(x)) } -func (ResourceType) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} } + +func (ResourceType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{0} +} // Only the manager create a NEW task, and move the task to PENDING and ASSIGNED. // Afterward, the manager must rely on the agent to update the task status @@ -105,6 +110,7 @@ var TaskState_name = map[int32]string{ 800: "REMOVE", 832: "ORPHANED", } + var TaskState_value = map[string]int32{ "NEW": 0, "PENDING": 64, @@ -125,7 +131,10 @@ var TaskState_value = map[string]int32{ func (x TaskState) String() string { return proto.EnumName(TaskState_name, int32(x)) } -func (TaskState) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} } + +func (TaskState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{1} +} type NodeRole int32 @@ -138,6 +147,7 @@ var NodeRole_name = map[int32]string{ 0: "WORKER", 1: "MANAGER", } + var NodeRole_value = map[string]int32{ "WORKER": 0, "MANAGER": 1, @@ -146,7 +156,10 @@ var NodeRole_value = map[string]int32{ func (x NodeRole) String() string { return proto.EnumName(NodeRole_name, int32(x)) } -func (NodeRole) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{2} } + +func (NodeRole) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{2} +} type RaftMemberStatus_Reachability int32 @@ -166,6 +179,7 @@ var RaftMemberStatus_Reachability_name = map[int32]string{ 1: "UNREACHABLE", 2: "REACHABLE", } + var RaftMemberStatus_Reachability_value = map[string]int32{ "UNKNOWN": 0, "UNREACHABLE": 1, @@ -175,8 +189,9 @@ var RaftMemberStatus_Reachability_value = map[string]int32{ func (x RaftMemberStatus_Reachability) String() string { return proto.EnumName(RaftMemberStatus_Reachability_name, int32(x)) } + func (RaftMemberStatus_Reachability) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{13, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{13, 0} } // TODO(aluzzardi) These should be using `gogoproto.enumvalue_customname`. @@ -199,6 +214,7 @@ var NodeStatus_State_name = map[int32]string{ 2: "READY", 3: "DISCONNECTED", } + var NodeStatus_State_value = map[string]int32{ "UNKNOWN": 0, "DOWN": 1, @@ -209,7 +225,10 @@ var NodeStatus_State_value = map[string]int32{ func (x NodeStatus_State) String() string { return proto.EnumName(NodeStatus_State_name, int32(x)) } -func (NodeStatus_State) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{14, 0} } + +func (NodeStatus_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{14, 0} +} type Mount_MountType int32 @@ -226,6 +245,7 @@ var Mount_MountType_name = map[int32]string{ 2: "TMPFS", 3: "NPIPE", } + var Mount_MountType_value = map[string]int32{ "BIND": 0, "VOLUME": 1, @@ -236,7 +256,10 @@ var Mount_MountType_value = map[string]int32{ func (x Mount_MountType) String() string { return proto.EnumName(Mount_MountType_name, int32(x)) } -func (Mount_MountType) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 0} } + +func (Mount_MountType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 0} +} // Consistency indicates the tolerable level of file system consistency type Mount_MountConsistency int32 @@ -254,6 +277,7 @@ var Mount_MountConsistency_name = map[int32]string{ 2: "CACHED", 3: "DELEGATED", } + var Mount_MountConsistency_value = map[string]int32{ "DEFAULT": 0, "CONSISTENT": 1, @@ -264,8 +288,9 @@ var Mount_MountConsistency_value = map[string]int32{ func (x Mount_MountConsistency) String() string { return proto.EnumName(Mount_MountConsistency_name, int32(x)) } + func (Mount_MountConsistency) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{16, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{16, 1} } type Mount_BindOptions_MountPropagation int32 @@ -287,6 +312,7 @@ var Mount_BindOptions_MountPropagation_name = map[int32]string{ 4: "RSLAVE", 5: "SLAVE", } + var Mount_BindOptions_MountPropagation_value = map[string]int32{ "RPRIVATE": 0, "PRIVATE": 1, @@ -299,8 +325,9 @@ var Mount_BindOptions_MountPropagation_value = map[string]int32{ func (x Mount_BindOptions_MountPropagation) String() string { return proto.EnumName(Mount_BindOptions_MountPropagation_name, int32(x)) } + func (Mount_BindOptions_MountPropagation) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{16, 0, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{16, 0, 0} } type RestartPolicy_RestartCondition int32 @@ -316,6 +343,7 @@ var RestartPolicy_RestartCondition_name = map[int32]string{ 1: "ON_FAILURE", 2: "ANY", } + var RestartPolicy_RestartCondition_value = map[string]int32{ "NONE": 0, "ON_FAILURE": 1, @@ -325,8 +353,9 @@ var RestartPolicy_RestartCondition_value = map[string]int32{ func (x RestartPolicy_RestartCondition) String() string { return proto.EnumName(RestartPolicy_RestartCondition_name, int32(x)) } + func (RestartPolicy_RestartCondition) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{17, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{17, 0} } type UpdateConfig_FailureAction int32 @@ -342,6 +371,7 @@ var UpdateConfig_FailureAction_name = map[int32]string{ 1: "CONTINUE", 2: "ROLLBACK", } + var UpdateConfig_FailureAction_value = map[string]int32{ "PAUSE": 0, "CONTINUE": 1, @@ -351,8 +381,9 @@ var UpdateConfig_FailureAction_value = map[string]int32{ func (x UpdateConfig_FailureAction) String() string { return proto.EnumName(UpdateConfig_FailureAction_name, int32(x)) } + func (UpdateConfig_FailureAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{18, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{18, 0} } // UpdateOrder controls the order of operations when rolling out an @@ -370,6 +401,7 @@ var UpdateConfig_UpdateOrder_name = map[int32]string{ 0: "STOP_FIRST", 1: "START_FIRST", } + var UpdateConfig_UpdateOrder_value = map[string]int32{ "STOP_FIRST": 0, "START_FIRST": 1, @@ -378,8 +410,9 @@ var UpdateConfig_UpdateOrder_value = map[string]int32{ func (x UpdateConfig_UpdateOrder) String() string { return proto.EnumName(UpdateConfig_UpdateOrder_name, int32(x)) } + func (UpdateConfig_UpdateOrder) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{18, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{18, 1} } type UpdateStatus_UpdateState int32 @@ -403,6 +436,7 @@ var UpdateStatus_UpdateState_name = map[int32]string{ 5: "ROLLBACK_PAUSED", 6: "ROLLBACK_COMPLETED", } + var UpdateStatus_UpdateState_value = map[string]int32{ "UNKNOWN": 0, "UPDATING": 1, @@ -416,8 +450,9 @@ var UpdateStatus_UpdateState_value = map[string]int32{ func (x UpdateStatus_UpdateState) String() string { return proto.EnumName(UpdateStatus_UpdateState_name, int32(x)) } + func (UpdateStatus_UpdateState) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{19, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{19, 0} } // AddressFamily specifies the network address family that @@ -435,6 +470,7 @@ var IPAMConfig_AddressFamily_name = map[int32]string{ 4: "IPV4", 6: "IPV6", } + var IPAMConfig_AddressFamily_value = map[string]int32{ "UNKNOWN": 0, "IPV4": 4, @@ -444,8 +480,9 @@ var IPAMConfig_AddressFamily_value = map[string]int32{ func (x IPAMConfig_AddressFamily) String() string { return proto.EnumName(IPAMConfig_AddressFamily_name, int32(x)) } + func (IPAMConfig_AddressFamily) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{24, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{24, 0} } type PortConfig_Protocol int32 @@ -461,6 +498,7 @@ var PortConfig_Protocol_name = map[int32]string{ 1: "UDP", 2: "SCTP", } + var PortConfig_Protocol_value = map[string]int32{ "TCP": 0, "UDP": 1, @@ -470,7 +508,10 @@ var PortConfig_Protocol_value = map[string]int32{ func (x PortConfig_Protocol) String() string { return proto.EnumName(PortConfig_Protocol_name, int32(x)) } -func (PortConfig_Protocol) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25, 0} } + +func (PortConfig_Protocol) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{25, 0} +} // PublishMode controls how ports are published on the swarm. type PortConfig_PublishMode int32 @@ -489,6 +530,7 @@ var PortConfig_PublishMode_name = map[int32]string{ 0: "INGRESS", 1: "HOST", } + var PortConfig_PublishMode_value = map[string]int32{ "INGRESS": 0, "HOST": 1, @@ -497,8 +539,9 @@ var PortConfig_PublishMode_value = map[string]int32{ func (x PortConfig_PublishMode) String() string { return proto.EnumName(PortConfig_PublishMode_name, int32(x)) } + func (PortConfig_PublishMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{25, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{25, 1} } type IssuanceStatus_State int32 @@ -526,6 +569,7 @@ var IssuanceStatus_State_name = map[int32]string{ 4: "FAILED", 5: "ROTATE", } + var IssuanceStatus_State_value = map[string]int32{ "UNKNOWN": 0, "RENEW": 1, @@ -538,7 +582,10 @@ var IssuanceStatus_State_value = map[string]int32{ func (x IssuanceStatus_State) String() string { return proto.EnumName(IssuanceStatus_State_name, int32(x)) } -func (IssuanceStatus_State) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30, 0} } + +func (IssuanceStatus_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{30, 0} +} type ExternalCA_CAProtocol int32 @@ -549,6 +596,7 @@ const ( var ExternalCA_CAProtocol_name = map[int32]string{ 0: "CFSSL", } + var ExternalCA_CAProtocol_value = map[string]int32{ "CFSSL": 0, } @@ -556,8 +604,9 @@ var ExternalCA_CAProtocol_value = map[string]int32{ func (x ExternalCA_CAProtocol) String() string { return proto.EnumName(ExternalCA_CAProtocol_name, int32(x)) } + func (ExternalCA_CAProtocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{32, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{32, 0} } // Encryption algorithm that can implemented using this key @@ -570,6 +619,7 @@ const ( var EncryptionKey_Algorithm_name = map[int32]string{ 0: "AES_128_GCM", } + var EncryptionKey_Algorithm_value = map[string]int32{ "AES_128_GCM": 0, } @@ -577,8 +627,9 @@ var EncryptionKey_Algorithm_value = map[string]int32{ func (x EncryptionKey_Algorithm) String() string { return proto.EnumName(EncryptionKey_Algorithm_name, int32(x)) } + func (EncryptionKey_Algorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{45, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{45, 0} } type MaybeEncryptedRecord_Algorithm int32 @@ -594,6 +645,7 @@ var MaybeEncryptedRecord_Algorithm_name = map[int32]string{ 1: "SECRETBOX_SALSA20_POLY1305", 2: "FERNET_AES_128_CBC", } + var MaybeEncryptedRecord_Algorithm_value = map[string]int32{ "NONE": 0, "SECRETBOX_SALSA20_POLY1305": 1, @@ -603,8 +655,9 @@ var MaybeEncryptedRecord_Algorithm_value = map[string]int32{ func (x MaybeEncryptedRecord_Algorithm) String() string { return proto.EnumName(MaybeEncryptedRecord_Algorithm_name, int32(x)) } + func (MaybeEncryptedRecord_Algorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{53, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{53, 0} } // Version tracks the last time an object in the store was updated. @@ -612,32 +665,116 @@ type Version struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} } +func (m *Version) Reset() { *m = Version{} } +func (*Version) ProtoMessage() {} +func (*Version) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{0} +} +func (m *Version) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Version.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Version) XXX_Merge(src proto.Message) { + xxx_messageInfo_Version.Merge(m, src) +} +func (m *Version) XXX_Size() int { + return m.Size() +} +func (m *Version) XXX_DiscardUnknown() { + xxx_messageInfo_Version.DiscardUnknown(m) +} + +var xxx_messageInfo_Version proto.InternalMessageInfo 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 (m *IndexEntry) Reset() { *m = IndexEntry{} } -func (*IndexEntry) ProtoMessage() {} -func (*IndexEntry) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} } +func (m *IndexEntry) Reset() { *m = IndexEntry{} } +func (*IndexEntry) ProtoMessage() {} +func (*IndexEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{1} +} +func (m *IndexEntry) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IndexEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IndexEntry.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IndexEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_IndexEntry.Merge(m, src) +} +func (m *IndexEntry) XXX_Size() int { + return m.Size() +} +func (m *IndexEntry) XXX_DiscardUnknown() { + xxx_messageInfo_IndexEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_IndexEntry proto.InternalMessageInfo // Annotations provide useful information to identify API objects. They are // common to all API specs. type Annotations struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Indices provides keys and values for indexing this object. // A single key may have multiple values. - Indices []IndexEntry `protobuf:"bytes,4,rep,name=indices" json:"indices"` + Indices []IndexEntry `protobuf:"bytes,4,rep,name=indices,proto3" json:"indices"` } -func (m *Annotations) Reset() { *m = Annotations{} } -func (*Annotations) ProtoMessage() {} -func (*Annotations) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{2} } +func (m *Annotations) Reset() { *m = Annotations{} } +func (*Annotations) ProtoMessage() {} +func (*Annotations) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{2} +} +func (m *Annotations) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Annotations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Annotations.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Annotations) XXX_Merge(src proto.Message) { + xxx_messageInfo_Annotations.Merge(m, src) +} +func (m *Annotations) XXX_Size() int { + return m.Size() +} +func (m *Annotations) XXX_DiscardUnknown() { + xxx_messageInfo_Annotations.DiscardUnknown(m) +} + +var xxx_messageInfo_Annotations proto.InternalMessageInfo // NamedGenericResource represents a "user defined" resource which is defined // as a string. @@ -648,9 +785,37 @@ type NamedGenericResource struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *NamedGenericResource) Reset() { *m = NamedGenericResource{} } -func (*NamedGenericResource) ProtoMessage() {} -func (*NamedGenericResource) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{3} } +func (m *NamedGenericResource) Reset() { *m = NamedGenericResource{} } +func (*NamedGenericResource) ProtoMessage() {} +func (*NamedGenericResource) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{3} +} +func (m *NamedGenericResource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamedGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamedGenericResource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamedGenericResource) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamedGenericResource.Merge(m, src) +} +func (m *NamedGenericResource) XXX_Size() int { + return m.Size() +} +func (m *NamedGenericResource) XXX_DiscardUnknown() { + xxx_messageInfo_NamedGenericResource.DiscardUnknown(m) +} + +var xxx_messageInfo_NamedGenericResource proto.InternalMessageInfo // DiscreteGenericResource represents a "user defined" resource which is defined // as an integer @@ -661,9 +826,37 @@ type DiscreteGenericResource struct { Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *DiscreteGenericResource) Reset() { *m = DiscreteGenericResource{} } -func (*DiscreteGenericResource) ProtoMessage() {} -func (*DiscreteGenericResource) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{4} } +func (m *DiscreteGenericResource) Reset() { *m = DiscreteGenericResource{} } +func (*DiscreteGenericResource) ProtoMessage() {} +func (*DiscreteGenericResource) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{4} +} +func (m *DiscreteGenericResource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DiscreteGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DiscreteGenericResource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DiscreteGenericResource) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscreteGenericResource.Merge(m, src) +} +func (m *DiscreteGenericResource) XXX_Size() int { + return m.Size() +} +func (m *DiscreteGenericResource) XXX_DiscardUnknown() { + xxx_messageInfo_DiscreteGenericResource.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscreteGenericResource proto.InternalMessageInfo // GenericResource represents a "user defined" resource which can // be either an integer (e.g: SSD=3) or a string (e.g: SSD=sda1) @@ -674,9 +867,37 @@ type GenericResource struct { Resource isGenericResource_Resource `protobuf_oneof:"resource"` } -func (m *GenericResource) Reset() { *m = GenericResource{} } -func (*GenericResource) ProtoMessage() {} -func (*GenericResource) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{5} } +func (m *GenericResource) Reset() { *m = GenericResource{} } +func (*GenericResource) ProtoMessage() {} +func (*GenericResource) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{5} +} +func (m *GenericResource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenericResource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenericResource) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenericResource.Merge(m, src) +} +func (m *GenericResource) XXX_Size() int { + return m.Size() +} +func (m *GenericResource) XXX_DiscardUnknown() { + xxx_messageInfo_GenericResource.DiscardUnknown(m) +} + +var xxx_messageInfo_GenericResource proto.InternalMessageInfo type isGenericResource_Resource interface { isGenericResource_Resource() @@ -685,10 +906,10 @@ type isGenericResource_Resource interface { } type GenericResource_NamedResourceSpec struct { - NamedResourceSpec *NamedGenericResource `protobuf:"bytes,1,opt,name=named_resource_spec,json=namedResourceSpec,oneof"` + NamedResourceSpec *NamedGenericResource `protobuf:"bytes,1,opt,name=named_resource_spec,json=namedResourceSpec,proto3,oneof"` } type GenericResource_DiscreteResourceSpec struct { - DiscreteResourceSpec *DiscreteGenericResource `protobuf:"bytes,2,opt,name=discrete_resource_spec,json=discreteResourceSpec,oneof"` + DiscreteResourceSpec *DiscreteGenericResource `protobuf:"bytes,2,opt,name=discrete_resource_spec,json=discreteResourceSpec,proto3,oneof"` } func (*GenericResource_NamedResourceSpec) isGenericResource_Resource() {} @@ -774,12 +995,12 @@ func _GenericResource_OneofSizer(msg proto.Message) (n int) { switch x := m.Resource.(type) { case *GenericResource_NamedResourceSpec: s := proto.Size(x.NamedResourceSpec) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *GenericResource_DiscreteResourceSpec: s := proto.Size(x.DiscreteResourceSpec) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -795,30 +1016,86 @@ type Resources struct { // Amount of memory in bytes. MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` // User specified resource (e.g: bananas=2;apple={red,yellow,green}) - Generic []*GenericResource `protobuf:"bytes,3,rep,name=generic" json:"generic,omitempty"` + Generic []*GenericResource `protobuf:"bytes,3,rep,name=generic,proto3" json:"generic,omitempty"` } -func (m *Resources) Reset() { *m = Resources{} } -func (*Resources) ProtoMessage() {} -func (*Resources) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{6} } +func (m *Resources) Reset() { *m = Resources{} } +func (*Resources) ProtoMessage() {} +func (*Resources) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{6} +} +func (m *Resources) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Resources.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) +} +func (m *Resources) XXX_Size() int { + return m.Size() +} +func (m *Resources) XXX_DiscardUnknown() { + xxx_messageInfo_Resources.DiscardUnknown(m) +} + +var xxx_messageInfo_Resources proto.InternalMessageInfo type ResourceRequirements struct { - Limits *Resources `protobuf:"bytes,1,opt,name=limits" json:"limits,omitempty"` - Reservations *Resources `protobuf:"bytes,2,opt,name=reservations" json:"reservations,omitempty"` + Limits *Resources `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"` + Reservations *Resources `protobuf:"bytes,2,opt,name=reservations,proto3" json:"reservations,omitempty"` // Amount of swap in bytes - can only be used together with a memory limit // -1 means unlimited // a null pointer indicates that the default behaviour of granting twice // the memory is maintained - SwapBytes *google_protobuf2.Int64Value `protobuf:"bytes,3,opt,name=swap_bytes,json=swapBytes" json:"swap_bytes,omitempty"` + SwapBytes *types.Int64Value `protobuf:"bytes,3,opt,name=swap_bytes,json=swapBytes,proto3" json:"swap_bytes,omitempty"` // Tune container memory swappiness (0 to 100) - if not specified, defaults // to the container OS's default - generally 60, or the value predefined in // the image; set to -1 to unset a previously set value - MemorySwappiness *google_protobuf2.Int64Value `protobuf:"bytes,4,opt,name=memory_swappiness,json=memorySwappiness" json:"memory_swappiness,omitempty"` + MemorySwappiness *types.Int64Value `protobuf:"bytes,4,opt,name=memory_swappiness,json=memorySwappiness,proto3" json:"memory_swappiness,omitempty"` } -func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } -func (*ResourceRequirements) ProtoMessage() {} -func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{7} } +func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } +func (*ResourceRequirements) ProtoMessage() {} +func (*ResourceRequirements) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{7} +} +func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResourceRequirements) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceRequirements.Merge(m, src) +} +func (m *ResourceRequirements) XXX_Size() int { + return m.Size() +} +func (m *ResourceRequirements) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceRequirements.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo type Platform struct { // Architecture (e.g. x86_64) @@ -827,9 +1104,37 @@ type Platform struct { OS string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` } -func (m *Platform) Reset() { *m = Platform{} } -func (*Platform) ProtoMessage() {} -func (*Platform) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{8} } +func (m *Platform) Reset() { *m = Platform{} } +func (*Platform) ProtoMessage() {} +func (*Platform) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{8} +} +func (m *Platform) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Platform.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Platform) XXX_Merge(src proto.Message) { + xxx_messageInfo_Platform.Merge(m, src) +} +func (m *Platform) XXX_Size() int { + return m.Size() +} +func (m *Platform) XXX_DiscardUnknown() { + xxx_messageInfo_Platform.DiscardUnknown(m) +} + +var xxx_messageInfo_Platform proto.InternalMessageInfo // PluginDescription describes an engine plugin. type PluginDescription struct { @@ -841,42 +1146,126 @@ type PluginDescription struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *PluginDescription) Reset() { *m = PluginDescription{} } -func (*PluginDescription) ProtoMessage() {} -func (*PluginDescription) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{9} } +func (m *PluginDescription) Reset() { *m = PluginDescription{} } +func (*PluginDescription) ProtoMessage() {} +func (*PluginDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{9} +} +func (m *PluginDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PluginDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PluginDescription.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PluginDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_PluginDescription.Merge(m, src) +} +func (m *PluginDescription) XXX_Size() int { + return m.Size() +} +func (m *PluginDescription) XXX_DiscardUnknown() { + xxx_messageInfo_PluginDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_PluginDescription proto.InternalMessageInfo 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 `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Volume, Network, and Auth plugins - Plugins []PluginDescription `protobuf:"bytes,3,rep,name=plugins" json:"plugins"` + Plugins []PluginDescription `protobuf:"bytes,3,rep,name=plugins,proto3" json:"plugins"` } -func (m *EngineDescription) Reset() { *m = EngineDescription{} } -func (*EngineDescription) ProtoMessage() {} -func (*EngineDescription) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{10} } +func (m *EngineDescription) Reset() { *m = EngineDescription{} } +func (*EngineDescription) ProtoMessage() {} +func (*EngineDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{10} +} +func (m *EngineDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EngineDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EngineDescription.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EngineDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_EngineDescription.Merge(m, src) +} +func (m *EngineDescription) XXX_Size() int { + return m.Size() +} +func (m *EngineDescription) XXX_DiscardUnknown() { + xxx_messageInfo_EngineDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_EngineDescription proto.InternalMessageInfo 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" json:"platform,omitempty"` + 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" json:"resources,omitempty"` + 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" json:"engine,omitempty"` + 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" json:"tls_info,omitempty"` + 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"` } -func (m *NodeDescription) Reset() { *m = NodeDescription{} } -func (*NodeDescription) ProtoMessage() {} -func (*NodeDescription) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{11} } +func (m *NodeDescription) Reset() { *m = NodeDescription{} } +func (*NodeDescription) ProtoMessage() {} +func (*NodeDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{11} +} +func (m *NodeDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeDescription.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeDescription.Merge(m, src) +} +func (m *NodeDescription) XXX_Size() int { + return m.Size() +} +func (m *NodeDescription) XXX_DiscardUnknown() { + xxx_messageInfo_NodeDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeDescription proto.InternalMessageInfo type NodeTLSInfo struct { // Information about which root certs the node trusts @@ -886,9 +1275,37 @@ type NodeTLSInfo struct { CertIssuerPublicKey []byte `protobuf:"bytes,3,opt,name=cert_issuer_public_key,json=certIssuerPublicKey,proto3" json:"cert_issuer_public_key,omitempty"` } -func (m *NodeTLSInfo) Reset() { *m = NodeTLSInfo{} } -func (*NodeTLSInfo) ProtoMessage() {} -func (*NodeTLSInfo) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{12} } +func (m *NodeTLSInfo) Reset() { *m = NodeTLSInfo{} } +func (*NodeTLSInfo) ProtoMessage() {} +func (*NodeTLSInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{12} +} +func (m *NodeTLSInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeTLSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeTLSInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeTLSInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeTLSInfo.Merge(m, src) +} +func (m *NodeTLSInfo) XXX_Size() int { + return m.Size() +} +func (m *NodeTLSInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NodeTLSInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeTLSInfo proto.InternalMessageInfo type RaftMemberStatus struct { Leader bool `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"` @@ -896,9 +1313,37 @@ type RaftMemberStatus struct { Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` } -func (m *RaftMemberStatus) Reset() { *m = RaftMemberStatus{} } -func (*RaftMemberStatus) ProtoMessage() {} -func (*RaftMemberStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{13} } +func (m *RaftMemberStatus) Reset() { *m = RaftMemberStatus{} } +func (*RaftMemberStatus) ProtoMessage() {} +func (*RaftMemberStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{13} +} +func (m *RaftMemberStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RaftMemberStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RaftMemberStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RaftMemberStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_RaftMemberStatus.Merge(m, src) +} +func (m *RaftMemberStatus) XXX_Size() int { + return m.Size() +} +func (m *RaftMemberStatus) XXX_DiscardUnknown() { + xxx_messageInfo_RaftMemberStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_RaftMemberStatus proto.InternalMessageInfo type NodeStatus struct { State NodeStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.NodeStatus_State" json:"state,omitempty"` @@ -907,9 +1352,37 @@ type NodeStatus struct { Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *NodeStatus) Reset() { *m = NodeStatus{} } -func (*NodeStatus) ProtoMessage() {} -func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{14} } +func (m *NodeStatus) Reset() { *m = NodeStatus{} } +func (*NodeStatus) ProtoMessage() {} +func (*NodeStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{14} +} +func (m *NodeStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeStatus.Merge(m, src) +} +func (m *NodeStatus) XXX_Size() int { + return m.Size() +} +func (m *NodeStatus) XXX_DiscardUnknown() { + xxx_messageInfo_NodeStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeStatus proto.InternalMessageInfo type Image struct { // reference is a docker image reference. This can include a rpository, tag @@ -918,9 +1391,37 @@ type Image struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` } -func (m *Image) Reset() { *m = Image{} } -func (*Image) ProtoMessage() {} -func (*Image) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{15} } +func (m *Image) Reset() { *m = Image{} } +func (*Image) ProtoMessage() {} +func (*Image) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{15} +} +func (m *Image) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Image.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Image) XXX_Merge(src proto.Message) { + xxx_messageInfo_Image.Merge(m, src) +} +func (m *Image) XXX_Size() int { + return m.Size() +} +func (m *Image) XXX_DiscardUnknown() { + xxx_messageInfo_Image.DiscardUnknown(m) +} + +var xxx_messageInfo_Image proto.InternalMessageInfo // Mount describes volume mounts for a container. // @@ -942,21 +1443,49 @@ type Mount struct { // 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" json:"bind_options,omitempty"` + 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" json:"volume_options,omitempty"` + 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" json:"tmpfs_options,omitempty"` + TmpfsOptions *Mount_TmpfsOptions `protobuf:"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions,proto3" json:"tmpfs_options,omitempty"` } -func (m *Mount) Reset() { *m = Mount{} } -func (*Mount) ProtoMessage() {} -func (*Mount) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16} } +func (m *Mount) Reset() { *m = Mount{} } +func (*Mount) ProtoMessage() {} +func (*Mount) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16} +} +func (m *Mount) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount.Merge(m, src) +} +func (m *Mount) XXX_Size() int { + return m.Size() +} +func (m *Mount) XXX_DiscardUnknown() { + xxx_messageInfo_Mount.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount proto.InternalMessageInfo // BindOptions specifies options that are specific to a bind mount. type Mount_BindOptions struct { @@ -966,26 +1495,82 @@ type Mount_BindOptions struct { NonRecursive bool `protobuf:"varint,2,opt,name=nonrecursive,proto3" json:"nonrecursive,omitempty"` } -func (m *Mount_BindOptions) Reset() { *m = Mount_BindOptions{} } -func (*Mount_BindOptions) ProtoMessage() {} -func (*Mount_BindOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 0} } +func (m *Mount_BindOptions) Reset() { *m = Mount_BindOptions{} } +func (*Mount_BindOptions) ProtoMessage() {} +func (*Mount_BindOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 0} +} +func (m *Mount_BindOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount_BindOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount_BindOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount_BindOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount_BindOptions.Merge(m, src) +} +func (m *Mount_BindOptions) XXX_Size() int { + return m.Size() +} +func (m *Mount_BindOptions) XXX_DiscardUnknown() { + xxx_messageInfo_Mount_BindOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount_BindOptions proto.InternalMessageInfo // VolumeOptions contains parameters for mounting the volume. 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 `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 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" json:"driver_config,omitempty"` + DriverConfig *Driver `protobuf:"bytes,3,opt,name=driver_config,json=driverConfig,proto3" json:"driver_config,omitempty"` } -func (m *Mount_VolumeOptions) Reset() { *m = Mount_VolumeOptions{} } -func (*Mount_VolumeOptions) ProtoMessage() {} -func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 1} } +func (m *Mount_VolumeOptions) Reset() { *m = Mount_VolumeOptions{} } +func (*Mount_VolumeOptions) ProtoMessage() {} +func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 1} +} +func (m *Mount_VolumeOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount_VolumeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount_VolumeOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount_VolumeOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount_VolumeOptions.Merge(m, src) +} +func (m *Mount_VolumeOptions) XXX_Size() int { + return m.Size() +} +func (m *Mount_VolumeOptions) XXX_DiscardUnknown() { + xxx_messageInfo_Mount_VolumeOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount_VolumeOptions proto.InternalMessageInfo type Mount_TmpfsOptions struct { // Size sets the size of the tmpfs, in bytes. @@ -1003,27 +1588,83 @@ type Mount_TmpfsOptions struct { Options string `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` } -func (m *Mount_TmpfsOptions) Reset() { *m = Mount_TmpfsOptions{} } -func (*Mount_TmpfsOptions) ProtoMessage() {} -func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 2} } +func (m *Mount_TmpfsOptions) Reset() { *m = Mount_TmpfsOptions{} } +func (*Mount_TmpfsOptions) ProtoMessage() {} +func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 2} +} +func (m *Mount_TmpfsOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount_TmpfsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount_TmpfsOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount_TmpfsOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount_TmpfsOptions.Merge(m, src) +} +func (m *Mount_TmpfsOptions) XXX_Size() int { + return m.Size() +} +func (m *Mount_TmpfsOptions) XXX_DiscardUnknown() { + xxx_messageInfo_Mount_TmpfsOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount_TmpfsOptions proto.InternalMessageInfo type RestartPolicy struct { Condition RestartPolicy_RestartCondition `protobuf:"varint,1,opt,name=condition,proto3,enum=docker.swarmkit.v1.RestartPolicy_RestartCondition" json:"condition,omitempty"` // Delay between restart attempts // Note: can't use stdduration because this field needs to be nullable. - Delay *google_protobuf1.Duration `protobuf:"bytes,2,opt,name=delay" json:"delay,omitempty"` + Delay *types.Duration `protobuf:"bytes,2,opt,name=delay,proto3" json:"delay,omitempty"` // MaxAttempts is the maximum number of restarts to attempt on an // instance before giving up. Ignored if 0. MaxAttempts uint64 `protobuf:"varint,3,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"` // Window is the time window used to evaluate the restart policy. // The time window is unbounded if this is 0. // Note: can't use stdduration because this field needs to be nullable. - Window *google_protobuf1.Duration `protobuf:"bytes,4,opt,name=window" json:"window,omitempty"` + Window *types.Duration `protobuf:"bytes,4,opt,name=window,proto3" json:"window,omitempty"` } -func (m *RestartPolicy) Reset() { *m = RestartPolicy{} } -func (*RestartPolicy) ProtoMessage() {} -func (*RestartPolicy) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{17} } +func (m *RestartPolicy) Reset() { *m = RestartPolicy{} } +func (*RestartPolicy) ProtoMessage() {} +func (*RestartPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{17} +} +func (m *RestartPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RestartPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RestartPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RestartPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestartPolicy.Merge(m, src) +} +func (m *RestartPolicy) XXX_Size() int { + return m.Size() +} +func (m *RestartPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_RestartPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_RestartPolicy proto.InternalMessageInfo // UpdateConfig specifies the rate and policy of updates. // TODO(aluzzardi): Consider making this a oneof with RollingStrategy and LockstepStrategy. @@ -1032,7 +1673,7 @@ type UpdateConfig struct { // 0 means unlimited parallelism. Parallelism uint64 `protobuf:"varint,1,opt,name=parallelism,proto3" json:"parallelism,omitempty"` // Amount of time between updates. - Delay time.Duration `protobuf:"bytes,2,opt,name=delay,stdduration" json:"delay"` + Delay time.Duration `protobuf:"bytes,2,opt,name=delay,proto3,stdduration" json:"delay"` // FailureAction is the action to take when an update failures. FailureAction UpdateConfig_FailureAction `protobuf:"varint,3,opt,name=failure_action,json=failureAction,proto3,enum=docker.swarmkit.v1.UpdateConfig_FailureAction" json:"failure_action,omitempty"` // Monitor indicates how long to monitor a task for failure after it is @@ -1042,7 +1683,7 @@ type UpdateConfig struct { // count as a failure. If Monitor is unspecified, a default value will // be used. // Note: can't use stdduration because this field needs to be nullable. - Monitor *google_protobuf1.Duration `protobuf:"bytes,4,opt,name=monitor" json:"monitor,omitempty"` + Monitor *types.Duration `protobuf:"bytes,4,opt,name=monitor,proto3" json:"monitor,omitempty"` // MaxFailureRatio is the fraction of tasks that may fail during // an update before the failure action is invoked. Any task created by // the current update which ends up in one of the states REJECTED, @@ -1061,9 +1702,37 @@ type UpdateConfig struct { Order UpdateConfig_UpdateOrder `protobuf:"varint,6,opt,name=order,proto3,enum=docker.swarmkit.v1.UpdateConfig_UpdateOrder" json:"order,omitempty"` } -func (m *UpdateConfig) Reset() { *m = UpdateConfig{} } -func (*UpdateConfig) ProtoMessage() {} -func (*UpdateConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{18} } +func (m *UpdateConfig) Reset() { *m = UpdateConfig{} } +func (*UpdateConfig) ProtoMessage() {} +func (*UpdateConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{18} +} +func (m *UpdateConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfig.Merge(m, src) +} +func (m *UpdateConfig) XXX_Size() int { + return m.Size() +} +func (m *UpdateConfig) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfig proto.InternalMessageInfo // UpdateStatus is the status of an update in progress. type UpdateStatus struct { @@ -1073,11 +1742,11 @@ type UpdateStatus struct { State UpdateStatus_UpdateState `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.UpdateStatus_UpdateState" json:"state,omitempty"` // StartedAt is the time at which the update was started. // Note: can't use stdtime because this field is nullable. - StartedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt" json:"started_at,omitempty"` + StartedAt *types.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // CompletedAt is the time at which the update completed successfully, // paused, or finished rolling back. // Note: can't use stdtime because this field is nullable. - CompletedAt *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"` + CompletedAt *types.Timestamp `protobuf:"bytes,3,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` // Message explains how the update got into its current state. For // example, if the update is paused, it will explain what is preventing // the update from proceeding (typically the failure of a task to start up @@ -1085,9 +1754,37 @@ type UpdateStatus struct { Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` } -func (m *UpdateStatus) Reset() { *m = UpdateStatus{} } -func (*UpdateStatus) ProtoMessage() {} -func (*UpdateStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{19} } +func (m *UpdateStatus) Reset() { *m = UpdateStatus{} } +func (*UpdateStatus) ProtoMessage() {} +func (*UpdateStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{19} +} +func (m *UpdateStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateStatus.Merge(m, src) +} +func (m *UpdateStatus) XXX_Size() int { + return m.Size() +} +func (m *UpdateStatus) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateStatus proto.InternalMessageInfo // Container specific status. type ContainerStatus struct { @@ -1096,23 +1793,79 @@ type ContainerStatus struct { ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` } -func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } -func (*ContainerStatus) ProtoMessage() {} -func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} } +func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } +func (*ContainerStatus) ProtoMessage() {} +func (*ContainerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{20} +} +func (m *ContainerStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerStatus.Merge(m, src) +} +func (m *ContainerStatus) XXX_Size() int { + return m.Size() +} +func (m *ContainerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo // PortStatus specifies the actual allocated runtime state of a list // of port configs. type PortStatus struct { - Ports []*PortConfig `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"` + Ports []*PortConfig `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *PortStatus) Reset() { *m = PortStatus{} } -func (*PortStatus) ProtoMessage() {} -func (*PortStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{21} } +func (m *PortStatus) Reset() { *m = PortStatus{} } +func (*PortStatus) ProtoMessage() {} +func (*PortStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{21} +} +func (m *PortStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PortStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PortStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_PortStatus.Merge(m, src) +} +func (m *PortStatus) XXX_Size() int { + return m.Size() +} +func (m *PortStatus) XXX_DiscardUnknown() { + xxx_messageInfo_PortStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_PortStatus proto.InternalMessageInfo type TaskStatus struct { // Note: can't use stdtime because this field is nullable. - Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"` + Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // State expresses the current state of the task. State TaskState `protobuf:"varint,2,opt,name=state,proto3,enum=docker.swarmkit.v1.TaskState" json:"state,omitempty"` // Message reports a message for the task status. This should provide a @@ -1131,7 +1884,7 @@ type TaskStatus struct { // // The following states should report a companion error: // - // FAILED, REJECTED + // FAILED, REJECTED // // In general, messages that should be surfaced to users belong in the // Err field, and notes on routine state transitions belong in Message. @@ -1145,19 +1898,47 @@ type TaskStatus struct { RuntimeStatus isTaskStatus_RuntimeStatus `protobuf_oneof:"runtime_status"` // HostPorts provides a list of ports allocated at the host // level. - PortStatus *PortStatus `protobuf:"bytes,6,opt,name=port_status,json=portStatus" json:"port_status,omitempty"` + PortStatus *PortStatus `protobuf:"bytes,6,opt,name=port_status,json=portStatus,proto3" json:"port_status,omitempty"` // AppliedBy gives the node ID of the manager that applied this task // status update to the Task object. AppliedBy string `protobuf:"bytes,7,opt,name=applied_by,json=appliedBy,proto3" json:"applied_by,omitempty"` // AppliedAt gives a timestamp of when this status update was applied to // the Task object. // Note: can't use stdtime because this field is nullable. - AppliedAt *google_protobuf.Timestamp `protobuf:"bytes,8,opt,name=applied_at,json=appliedAt" json:"applied_at,omitempty"` + AppliedAt *types.Timestamp `protobuf:"bytes,8,opt,name=applied_at,json=appliedAt,proto3" json:"applied_at,omitempty"` } -func (m *TaskStatus) Reset() { *m = TaskStatus{} } -func (*TaskStatus) ProtoMessage() {} -func (*TaskStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{22} } +func (m *TaskStatus) Reset() { *m = TaskStatus{} } +func (*TaskStatus) ProtoMessage() {} +func (*TaskStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{22} +} +func (m *TaskStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskStatus.Merge(m, src) +} +func (m *TaskStatus) XXX_Size() int { + return m.Size() +} +func (m *TaskStatus) XXX_DiscardUnknown() { + xxx_messageInfo_TaskStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskStatus proto.InternalMessageInfo type isTaskStatus_RuntimeStatus interface { isTaskStatus_RuntimeStatus() @@ -1166,7 +1947,7 @@ type isTaskStatus_RuntimeStatus interface { } type TaskStatus_Container struct { - Container *ContainerStatus `protobuf:"bytes,5,opt,name=container,oneof"` + Container *ContainerStatus `protobuf:"bytes,5,opt,name=container,proto3,oneof"` } func (*TaskStatus_Container) isTaskStatus_RuntimeStatus() {} @@ -1230,7 +2011,7 @@ func _TaskStatus_OneofSizer(msg proto.Message) (n int) { switch x := m.RuntimeStatus.(type) { case *TaskStatus_Container: s := proto.Size(x.Container) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1250,18 +2031,46 @@ type NetworkAttachmentConfig struct { // 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" json:"aliases,omitempty"` + 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" json:"addresses,omitempty"` + 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 `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts,proto3" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *NetworkAttachmentConfig) Reset() { *m = NetworkAttachmentConfig{} } -func (*NetworkAttachmentConfig) ProtoMessage() {} -func (*NetworkAttachmentConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{23} } +func (m *NetworkAttachmentConfig) Reset() { *m = NetworkAttachmentConfig{} } +func (*NetworkAttachmentConfig) ProtoMessage() {} +func (*NetworkAttachmentConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{23} +} +func (m *NetworkAttachmentConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkAttachmentConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkAttachmentConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkAttachmentConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkAttachmentConfig.Merge(m, src) +} +func (m *NetworkAttachmentConfig) XXX_Size() int { + return m.Size() +} +func (m *NetworkAttachmentConfig) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkAttachmentConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkAttachmentConfig proto.InternalMessageInfo // IPAMConfig specifies parameters for IP Address Management. type IPAMConfig struct { @@ -1277,12 +2086,40 @@ type IPAMConfig struct { // 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 `protobuf:"bytes,5,rep,name=reserved" json:"reserved,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Reserved map[string]string `protobuf:"bytes,5,rep,name=reserved,proto3" json:"reserved,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *IPAMConfig) Reset() { *m = IPAMConfig{} } -func (*IPAMConfig) ProtoMessage() {} -func (*IPAMConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{24} } +func (m *IPAMConfig) Reset() { *m = IPAMConfig{} } +func (*IPAMConfig) ProtoMessage() {} +func (*IPAMConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{24} +} +func (m *IPAMConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IPAMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IPAMConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IPAMConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPAMConfig.Merge(m, src) +} +func (m *IPAMConfig) XXX_Size() int { + return m.Size() +} +func (m *IPAMConfig) XXX_DiscardUnknown() { + xxx_messageInfo_IPAMConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_IPAMConfig proto.InternalMessageInfo // PortConfig specifies an exposed port which can be // addressed using the given name. This can be later queried @@ -1306,9 +2143,37 @@ type PortConfig struct { PublishMode PortConfig_PublishMode `protobuf:"varint,5,opt,name=publish_mode,json=publishMode,proto3,enum=docker.swarmkit.v1.PortConfig_PublishMode" json:"publish_mode,omitempty"` } -func (m *PortConfig) Reset() { *m = PortConfig{} } -func (*PortConfig) ProtoMessage() {} -func (*PortConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25} } +func (m *PortConfig) Reset() { *m = PortConfig{} } +func (*PortConfig) ProtoMessage() {} +func (*PortConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{25} +} +func (m *PortConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PortConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PortConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PortConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PortConfig.Merge(m, src) +} +func (m *PortConfig) XXX_Size() int { + return m.Size() +} +func (m *PortConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PortConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_PortConfig proto.InternalMessageInfo // 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 @@ -1316,21 +2181,77 @@ func (*PortConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, [] // have different rules than a volume driver. type Driver struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Options map[string]string `protobuf:"bytes,2,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Options map[string]string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Driver) Reset() { *m = Driver{} } -func (*Driver) ProtoMessage() {} -func (*Driver) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{26} } +func (m *Driver) Reset() { *m = Driver{} } +func (*Driver) ProtoMessage() {} +func (*Driver) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{26} +} +func (m *Driver) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Driver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Driver.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Driver) XXX_Merge(src proto.Message) { + xxx_messageInfo_Driver.Merge(m, src) +} +func (m *Driver) XXX_Size() int { + return m.Size() +} +func (m *Driver) XXX_DiscardUnknown() { + xxx_messageInfo_Driver.DiscardUnknown(m) +} + +var xxx_messageInfo_Driver proto.InternalMessageInfo type IPAMOptions struct { - Driver *Driver `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` - Configs []*IPAMConfig `protobuf:"bytes,3,rep,name=configs" json:"configs,omitempty"` + 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 (m *IPAMOptions) Reset() { *m = IPAMOptions{} } -func (*IPAMOptions) ProtoMessage() {} -func (*IPAMOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{27} } +func (m *IPAMOptions) Reset() { *m = IPAMOptions{} } +func (*IPAMOptions) ProtoMessage() {} +func (*IPAMOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{27} +} +func (m *IPAMOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IPAMOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IPAMOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IPAMOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPAMOptions.Merge(m, src) +} +func (m *IPAMOptions) XXX_Size() int { + return m.Size() +} +func (m *IPAMOptions) XXX_DiscardUnknown() { + xxx_messageInfo_IPAMOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_IPAMOptions proto.InternalMessageInfo // Peer should be used anywhere where we are describing a remote peer. type Peer struct { @@ -1338,40 +2259,152 @@ type Peer struct { Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *Peer) Reset() { *m = Peer{} } -func (*Peer) ProtoMessage() {} -func (*Peer) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{28} } +func (m *Peer) Reset() { *m = Peer{} } +func (*Peer) ProtoMessage() {} +func (*Peer) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{28} +} +func (m *Peer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Peer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Peer) XXX_Merge(src proto.Message) { + xxx_messageInfo_Peer.Merge(m, src) +} +func (m *Peer) XXX_Size() int { + return m.Size() +} +func (m *Peer) XXX_DiscardUnknown() { + xxx_messageInfo_Peer.DiscardUnknown(m) +} + +var xxx_messageInfo_Peer proto.InternalMessageInfo // WeightedPeer should be used anywhere where we are describing a remote peer // with a weight. type WeightedPeer struct { - Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"` + Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` } -func (m *WeightedPeer) Reset() { *m = WeightedPeer{} } -func (*WeightedPeer) ProtoMessage() {} -func (*WeightedPeer) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{29} } +func (m *WeightedPeer) Reset() { *m = WeightedPeer{} } +func (*WeightedPeer) ProtoMessage() {} +func (*WeightedPeer) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{29} +} +func (m *WeightedPeer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WeightedPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WeightedPeer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WeightedPeer) XXX_Merge(src proto.Message) { + xxx_messageInfo_WeightedPeer.Merge(m, src) +} +func (m *WeightedPeer) XXX_Size() int { + return m.Size() +} +func (m *WeightedPeer) XXX_DiscardUnknown() { + xxx_messageInfo_WeightedPeer.DiscardUnknown(m) +} + +var xxx_messageInfo_WeightedPeer proto.InternalMessageInfo 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 + // FAILED Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` } -func (m *IssuanceStatus) Reset() { *m = IssuanceStatus{} } -func (*IssuanceStatus) ProtoMessage() {} -func (*IssuanceStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30} } - -type AcceptancePolicy struct { - Policies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"` +func (m *IssuanceStatus) Reset() { *m = IssuanceStatus{} } +func (*IssuanceStatus) ProtoMessage() {} +func (*IssuanceStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{30} +} +func (m *IssuanceStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IssuanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IssuanceStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IssuanceStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssuanceStatus.Merge(m, src) +} +func (m *IssuanceStatus) XXX_Size() int { + return m.Size() +} +func (m *IssuanceStatus) XXX_DiscardUnknown() { + xxx_messageInfo_IssuanceStatus.DiscardUnknown(m) } -func (m *AcceptancePolicy) Reset() { *m = AcceptancePolicy{} } -func (*AcceptancePolicy) ProtoMessage() {} -func (*AcceptancePolicy) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{31} } +var xxx_messageInfo_IssuanceStatus proto.InternalMessageInfo + +type AcceptancePolicy struct { + Policies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` +} + +func (m *AcceptancePolicy) Reset() { *m = AcceptancePolicy{} } +func (*AcceptancePolicy) ProtoMessage() {} +func (*AcceptancePolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{31} +} +func (m *AcceptancePolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AcceptancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AcceptancePolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AcceptancePolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptancePolicy.Merge(m, src) +} +func (m *AcceptancePolicy) XXX_Size() int { + return m.Size() +} +func (m *AcceptancePolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptancePolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptancePolicy proto.InternalMessageInfo type AcceptancePolicy_RoleAdmissionPolicy struct { Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"` @@ -1380,14 +2413,40 @@ type AcceptancePolicy_RoleAdmissionPolicy struct { 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" json:"secret,omitempty"` + Secret *AcceptancePolicy_RoleAdmissionPolicy_Secret `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` } func (m *AcceptancePolicy_RoleAdmissionPolicy) Reset() { *m = AcceptancePolicy_RoleAdmissionPolicy{} } func (*AcceptancePolicy_RoleAdmissionPolicy) ProtoMessage() {} func (*AcceptancePolicy_RoleAdmissionPolicy) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{31, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{31, 0} } +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.Merge(m, src) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Size() int { + return m.Size() +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy proto.InternalMessageInfo type AcceptancePolicy_RoleAdmissionPolicy_Secret struct { // The actual content (possibly hashed) @@ -1401,8 +2460,34 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Reset() { } func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) ProtoMessage() {} func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{31, 0, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{31, 0, 0} } +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.Merge(m, src) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Size() int { + return m.Size() +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret proto.InternalMessageInfo type ExternalCA struct { // Protocol is the protocol used by this external CA. @@ -1411,22 +2496,50 @@ type ExternalCA struct { 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 `protobuf:"bytes,3,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Options map[string]string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 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 (m *ExternalCA) Reset() { *m = ExternalCA{} } -func (*ExternalCA) ProtoMessage() {} -func (*ExternalCA) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{32} } +func (m *ExternalCA) Reset() { *m = ExternalCA{} } +func (*ExternalCA) ProtoMessage() {} +func (*ExternalCA) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{32} +} +func (m *ExternalCA) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExternalCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExternalCA.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExternalCA) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalCA.Merge(m, src) +} +func (m *ExternalCA) XXX_Size() int { + return m.Size() +} +func (m *ExternalCA) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalCA.DiscardUnknown(m) +} + +var xxx_messageInfo_ExternalCA proto.InternalMessageInfo 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 *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=node_cert_expiry,json=nodeCertExpiry" json:"node_cert_expiry,omitempty"` + 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" json:"external_cas,omitempty"` + 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) @@ -1441,9 +2554,37 @@ type CAConfig struct { ForceRotate uint64 `protobuf:"varint,5,opt,name=force_rotate,json=forceRotate,proto3" json:"force_rotate,omitempty"` } -func (m *CAConfig) Reset() { *m = CAConfig{} } -func (*CAConfig) ProtoMessage() {} -func (*CAConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{33} } +func (m *CAConfig) Reset() { *m = CAConfig{} } +func (*CAConfig) ProtoMessage() {} +func (*CAConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{33} +} +func (m *CAConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CAConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CAConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CAConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CAConfig.Merge(m, src) +} +func (m *CAConfig) XXX_Size() int { + return m.Size() +} +func (m *CAConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CAConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CAConfig proto.InternalMessageInfo // OrchestrationConfig defines cluster-level orchestration settings. type OrchestrationConfig struct { @@ -1452,9 +2593,37 @@ type OrchestrationConfig struct { TaskHistoryRetentionLimit int64 `protobuf:"varint,1,opt,name=task_history_retention_limit,json=taskHistoryRetentionLimit,proto3" json:"task_history_retention_limit,omitempty"` } -func (m *OrchestrationConfig) Reset() { *m = OrchestrationConfig{} } -func (*OrchestrationConfig) ProtoMessage() {} -func (*OrchestrationConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{34} } +func (m *OrchestrationConfig) Reset() { *m = OrchestrationConfig{} } +func (*OrchestrationConfig) ProtoMessage() {} +func (*OrchestrationConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{34} +} +func (m *OrchestrationConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *OrchestrationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_OrchestrationConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *OrchestrationConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_OrchestrationConfig.Merge(m, src) +} +func (m *OrchestrationConfig) XXX_Size() int { + return m.Size() +} +func (m *OrchestrationConfig) XXX_DiscardUnknown() { + xxx_messageInfo_OrchestrationConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_OrchestrationConfig proto.InternalMessageInfo // TaskDefaults specifies default values for task creation. type TaskDefaults struct { @@ -1463,24 +2632,80 @@ type TaskDefaults struct { // // If this is changed, only new tasks will pick up the new log driver. // Existing tasks will continue to use the previous default until rescheduled. - LogDriver *Driver `protobuf:"bytes,1,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"` + LogDriver *Driver `protobuf:"bytes,1,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"` } -func (m *TaskDefaults) Reset() { *m = TaskDefaults{} } -func (*TaskDefaults) ProtoMessage() {} -func (*TaskDefaults) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{35} } +func (m *TaskDefaults) Reset() { *m = TaskDefaults{} } +func (*TaskDefaults) ProtoMessage() {} +func (*TaskDefaults) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{35} +} +func (m *TaskDefaults) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskDefaults.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskDefaults) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskDefaults.Merge(m, src) +} +func (m *TaskDefaults) XXX_Size() int { + return m.Size() +} +func (m *TaskDefaults) XXX_DiscardUnknown() { + xxx_messageInfo_TaskDefaults.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskDefaults proto.InternalMessageInfo // DispatcherConfig defines cluster-level dispatcher settings. 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 *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod" json:"heartbeat_period,omitempty"` + HeartbeatPeriod *types.Duration `protobuf:"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod,proto3" json:"heartbeat_period,omitempty"` } -func (m *DispatcherConfig) Reset() { *m = DispatcherConfig{} } -func (*DispatcherConfig) ProtoMessage() {} -func (*DispatcherConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{36} } +func (m *DispatcherConfig) Reset() { *m = DispatcherConfig{} } +func (*DispatcherConfig) ProtoMessage() {} +func (*DispatcherConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{36} +} +func (m *DispatcherConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DispatcherConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DispatcherConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DispatcherConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DispatcherConfig.Merge(m, src) +} +func (m *DispatcherConfig) XXX_Size() int { + return m.Size() +} +func (m *DispatcherConfig) XXX_DiscardUnknown() { + xxx_messageInfo_DispatcherConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_DispatcherConfig proto.InternalMessageInfo // RaftConfig defines raft settings for the cluster. type RaftConfig struct { @@ -1500,9 +2725,37 @@ type RaftConfig struct { ElectionTick uint32 `protobuf:"varint,5,opt,name=election_tick,json=electionTick,proto3" json:"election_tick,omitempty"` } -func (m *RaftConfig) Reset() { *m = RaftConfig{} } -func (*RaftConfig) ProtoMessage() {} -func (*RaftConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{37} } +func (m *RaftConfig) Reset() { *m = RaftConfig{} } +func (*RaftConfig) ProtoMessage() {} +func (*RaftConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{37} +} +func (m *RaftConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RaftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RaftConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RaftConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RaftConfig.Merge(m, src) +} +func (m *RaftConfig) XXX_Size() int { + return m.Size() +} +func (m *RaftConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RaftConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RaftConfig proto.InternalMessageInfo type EncryptionConfig struct { // AutoLockManagers specifies whether or not managers TLS keys and raft data @@ -1511,17 +2764,73 @@ type EncryptionConfig struct { AutoLockManagers bool `protobuf:"varint,1,opt,name=auto_lock_managers,json=autoLockManagers,proto3" json:"auto_lock_managers,omitempty"` } -func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} } -func (*EncryptionConfig) ProtoMessage() {} -func (*EncryptionConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{38} } +func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} } +func (*EncryptionConfig) ProtoMessage() {} +func (*EncryptionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{38} +} +func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EncryptionConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EncryptionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptionConfig.Merge(m, src) +} +func (m *EncryptionConfig) XXX_Size() int { + return m.Size() +} +func (m *EncryptionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptionConfig proto.InternalMessageInfo type SpreadOver struct { SpreadDescriptor string `protobuf:"bytes,1,opt,name=spread_descriptor,json=spreadDescriptor,proto3" json:"spread_descriptor,omitempty"` } -func (m *SpreadOver) Reset() { *m = SpreadOver{} } -func (*SpreadOver) ProtoMessage() {} -func (*SpreadOver) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{39} } +func (m *SpreadOver) Reset() { *m = SpreadOver{} } +func (*SpreadOver) ProtoMessage() {} +func (*SpreadOver) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{39} +} +func (m *SpreadOver) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SpreadOver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadOver.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SpreadOver) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadOver.Merge(m, src) +} +func (m *SpreadOver) XXX_Size() int { + return m.Size() +} +func (m *SpreadOver) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadOver.DiscardUnknown(m) +} + +var xxx_messageInfo_SpreadOver proto.InternalMessageInfo type PlacementPreference struct { // Types that are valid to be assigned to Preference: @@ -1529,9 +2838,37 @@ type PlacementPreference struct { Preference isPlacementPreference_Preference `protobuf_oneof:"Preference"` } -func (m *PlacementPreference) Reset() { *m = PlacementPreference{} } -func (*PlacementPreference) ProtoMessage() {} -func (*PlacementPreference) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{40} } +func (m *PlacementPreference) Reset() { *m = PlacementPreference{} } +func (*PlacementPreference) ProtoMessage() {} +func (*PlacementPreference) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{40} +} +func (m *PlacementPreference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PlacementPreference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PlacementPreference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PlacementPreference) XXX_Merge(src proto.Message) { + xxx_messageInfo_PlacementPreference.Merge(m, src) +} +func (m *PlacementPreference) XXX_Size() int { + return m.Size() +} +func (m *PlacementPreference) XXX_DiscardUnknown() { + xxx_messageInfo_PlacementPreference.DiscardUnknown(m) +} + +var xxx_messageInfo_PlacementPreference proto.InternalMessageInfo type isPlacementPreference_Preference interface { isPlacementPreference_Preference() @@ -1540,7 +2877,7 @@ type isPlacementPreference_Preference interface { } type PlacementPreference_Spread struct { - Spread *SpreadOver `protobuf:"bytes,1,opt,name=spread,oneof"` + Spread *SpreadOver `protobuf:"bytes,1,opt,name=spread,proto3,oneof"` } func (*PlacementPreference_Spread) isPlacementPreference_Preference() {} @@ -1604,7 +2941,7 @@ func _PlacementPreference_OneofSizer(msg proto.Message) (n int) { switch x := m.Preference.(type) { case *PlacementPreference_Spread: s := proto.Size(x.Spread) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1617,22 +2954,50 @@ func _PlacementPreference_OneofSizer(msg proto.Message) (n int) { // Placement specifies task distribution constraints. type Placement struct { // Constraints specifies a set of requirements a node should meet for a task. - Constraints []string `protobuf:"bytes,1,rep,name=constraints" json:"constraints,omitempty"` + 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" json:"preferences,omitempty"` + 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" json:"platforms,omitempty"` + 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"` } -func (m *Placement) Reset() { *m = Placement{} } -func (*Placement) ProtoMessage() {} -func (*Placement) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{41} } +func (m *Placement) Reset() { *m = Placement{} } +func (*Placement) ProtoMessage() {} +func (*Placement) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{41} +} +func (m *Placement) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Placement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Placement.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Placement) XXX_Merge(src proto.Message) { + xxx_messageInfo_Placement.Merge(m, src) +} +func (m *Placement) XXX_Size() int { + return m.Size() +} +func (m *Placement) XXX_DiscardUnknown() { + xxx_messageInfo_Placement.DiscardUnknown(m) +} + +var xxx_messageInfo_Placement proto.InternalMessageInfo // JoinToken contains the join tokens for workers and managers. type JoinTokens struct { @@ -1642,9 +3007,37 @@ type JoinTokens struct { Manager string `protobuf:"bytes,2,opt,name=manager,proto3" json:"manager,omitempty"` } -func (m *JoinTokens) Reset() { *m = JoinTokens{} } -func (*JoinTokens) ProtoMessage() {} -func (*JoinTokens) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{42} } +func (m *JoinTokens) Reset() { *m = JoinTokens{} } +func (*JoinTokens) ProtoMessage() {} +func (*JoinTokens) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{42} +} +func (m *JoinTokens) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JoinTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JoinTokens.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JoinTokens) XXX_Merge(src proto.Message) { + xxx_messageInfo_JoinTokens.Merge(m, src) +} +func (m *JoinTokens) XXX_Size() int { + return m.Size() +} +func (m *JoinTokens) XXX_DiscardUnknown() { + xxx_messageInfo_JoinTokens.DiscardUnknown(m) +} + +var xxx_messageInfo_JoinTokens proto.InternalMessageInfo type RootCA struct { // CAKey is the root CA private key. @@ -1654,31 +3047,87 @@ type RootCA struct { // CACertHash is the digest of the CA Certificate. CACertHash string `protobuf:"bytes,3,opt,name=ca_cert_hash,json=caCertHash,proto3" json:"ca_cert_hash,omitempty"` // JoinTokens contains the join tokens for workers and managers. - JoinTokens JoinTokens `protobuf:"bytes,4,opt,name=join_tokens,json=joinTokens" json:"join_tokens"` + JoinTokens JoinTokens `protobuf:"bytes,4,opt,name=join_tokens,json=joinTokens,proto3" json:"join_tokens"` // RootRotation contains the new root cert and key we want to rotate to - if this is nil, we are not in the // middle of a root rotation - RootRotation *RootRotation `protobuf:"bytes,5,opt,name=root_rotation,json=rootRotation" json:"root_rotation,omitempty"` + RootRotation *RootRotation `protobuf:"bytes,5,opt,name=root_rotation,json=rootRotation,proto3" json:"root_rotation,omitempty"` // LastForcedRotation matches the Cluster Spec's CAConfig's ForceRotation counter. // It indicates when the current CA cert and key were generated (or updated). LastForcedRotation uint64 `protobuf:"varint,6,opt,name=last_forced_rotation,json=lastForcedRotation,proto3" json:"last_forced_rotation,omitempty"` } -func (m *RootCA) Reset() { *m = RootCA{} } -func (*RootCA) ProtoMessage() {} -func (*RootCA) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{43} } +func (m *RootCA) Reset() { *m = RootCA{} } +func (*RootCA) ProtoMessage() {} +func (*RootCA) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{43} +} +func (m *RootCA) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RootCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RootCA.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RootCA) XXX_Merge(src proto.Message) { + xxx_messageInfo_RootCA.Merge(m, src) +} +func (m *RootCA) XXX_Size() int { + return m.Size() +} +func (m *RootCA) XXX_DiscardUnknown() { + xxx_messageInfo_RootCA.DiscardUnknown(m) +} + +var xxx_messageInfo_RootCA proto.InternalMessageInfo 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" json:"status"` + 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 (m *Certificate) Reset() { *m = Certificate{} } -func (*Certificate) ProtoMessage() {} -func (*Certificate) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{44} } +func (m *Certificate) Reset() { *m = Certificate{} } +func (*Certificate) ProtoMessage() {} +func (*Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{44} +} +func (m *Certificate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate.Merge(m, src) +} +func (m *Certificate) XXX_Size() int { + return m.Size() +} +func (m *Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_Certificate.DiscardUnknown(m) +} + +var xxx_messageInfo_Certificate proto.InternalMessageInfo // Symmetric keys to encrypt inter-agent communication. type EncryptionKey struct { @@ -1692,9 +3141,37 @@ type EncryptionKey struct { LamportTime uint64 `protobuf:"varint,4,opt,name=lamport_time,json=lamportTime,proto3" json:"lamport_time,omitempty"` } -func (m *EncryptionKey) Reset() { *m = EncryptionKey{} } -func (*EncryptionKey) ProtoMessage() {} -func (*EncryptionKey) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{45} } +func (m *EncryptionKey) Reset() { *m = EncryptionKey{} } +func (*EncryptionKey) ProtoMessage() {} +func (*EncryptionKey) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{45} +} +func (m *EncryptionKey) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EncryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EncryptionKey.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EncryptionKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptionKey.Merge(m, src) +} +func (m *EncryptionKey) XXX_Size() int { + return m.Size() +} +func (m *EncryptionKey) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptionKey.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptionKey proto.InternalMessageInfo // ManagerStatus provides informations about the state of a manager in the cluster. type ManagerStatus struct { @@ -1709,9 +3186,37 @@ type ManagerStatus struct { Reachability RaftMemberStatus_Reachability `protobuf:"varint,4,opt,name=reachability,proto3,enum=docker.swarmkit.v1.RaftMemberStatus_Reachability" json:"reachability,omitempty"` } -func (m *ManagerStatus) Reset() { *m = ManagerStatus{} } -func (*ManagerStatus) ProtoMessage() {} -func (*ManagerStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{46} } +func (m *ManagerStatus) Reset() { *m = ManagerStatus{} } +func (*ManagerStatus) ProtoMessage() {} +func (*ManagerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{46} +} +func (m *ManagerStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ManagerStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ManagerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagerStatus.Merge(m, src) +} +func (m *ManagerStatus) XXX_Size() int { + return m.Size() +} +func (m *ManagerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ManagerStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagerStatus proto.InternalMessageInfo // FileTarget represents a specific target that is backed by a file type FileTarget struct { @@ -1725,9 +3230,37 @@ type FileTarget struct { Mode os.FileMode `protobuf:"varint,4,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"` } -func (m *FileTarget) Reset() { *m = FileTarget{} } -func (*FileTarget) ProtoMessage() {} -func (*FileTarget) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{47} } +func (m *FileTarget) Reset() { *m = FileTarget{} } +func (*FileTarget) ProtoMessage() {} +func (*FileTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{47} +} +func (m *FileTarget) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FileTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FileTarget.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FileTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_FileTarget.Merge(m, src) +} +func (m *FileTarget) XXX_Size() int { + return m.Size() +} +func (m *FileTarget) XXX_DiscardUnknown() { + xxx_messageInfo_FileTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_FileTarget proto.InternalMessageInfo // RuntimeTarget represents that this secret is _not_ mounted into the // container, but is used for some other purpose by the container runtime. @@ -1736,9 +3269,37 @@ func (*FileTarget) Descriptor() ([]byte, []int) { return fileDescriptorTypes, [] type RuntimeTarget struct { } -func (m *RuntimeTarget) Reset() { *m = RuntimeTarget{} } -func (*RuntimeTarget) ProtoMessage() {} -func (*RuntimeTarget) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{48} } +func (m *RuntimeTarget) Reset() { *m = RuntimeTarget{} } +func (*RuntimeTarget) ProtoMessage() {} +func (*RuntimeTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{48} +} +func (m *RuntimeTarget) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RuntimeTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RuntimeTarget.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RuntimeTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuntimeTarget.Merge(m, src) +} +func (m *RuntimeTarget) XXX_Size() int { + return m.Size() +} +func (m *RuntimeTarget) XXX_DiscardUnknown() { + xxx_messageInfo_RuntimeTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_RuntimeTarget proto.InternalMessageInfo // SecretReference is the linkage between a service and a secret that it uses. type SecretReference struct { @@ -1756,9 +3317,37 @@ type SecretReference struct { Target isSecretReference_Target `protobuf_oneof:"target"` } -func (m *SecretReference) Reset() { *m = SecretReference{} } -func (*SecretReference) ProtoMessage() {} -func (*SecretReference) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{49} } +func (m *SecretReference) Reset() { *m = SecretReference{} } +func (*SecretReference) ProtoMessage() {} +func (*SecretReference) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{49} +} +func (m *SecretReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SecretReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SecretReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretReference.Merge(m, src) +} +func (m *SecretReference) XXX_Size() int { + return m.Size() +} +func (m *SecretReference) XXX_DiscardUnknown() { + xxx_messageInfo_SecretReference.DiscardUnknown(m) +} + +var xxx_messageInfo_SecretReference proto.InternalMessageInfo type isSecretReference_Target interface { isSecretReference_Target() @@ -1767,7 +3356,7 @@ type isSecretReference_Target interface { } type SecretReference_File struct { - File *FileTarget `protobuf:"bytes,3,opt,name=file,oneof"` + File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof"` } func (*SecretReference_File) isSecretReference_Target() {} @@ -1831,7 +3420,7 @@ func _SecretReference_OneofSizer(msg proto.Message) (n int) { switch x := m.Target.(type) { case *SecretReference_File: s := proto.Size(x.File) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1857,9 +3446,37 @@ type ConfigReference struct { Target isConfigReference_Target `protobuf_oneof:"target"` } -func (m *ConfigReference) Reset() { *m = ConfigReference{} } -func (*ConfigReference) ProtoMessage() {} -func (*ConfigReference) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{50} } +func (m *ConfigReference) Reset() { *m = ConfigReference{} } +func (*ConfigReference) ProtoMessage() {} +func (*ConfigReference) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{50} +} +func (m *ConfigReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfigReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfigReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConfigReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigReference.Merge(m, src) +} +func (m *ConfigReference) XXX_Size() int { + return m.Size() +} +func (m *ConfigReference) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigReference.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigReference proto.InternalMessageInfo type isConfigReference_Target interface { isConfigReference_Target() @@ -1868,10 +3485,10 @@ type isConfigReference_Target interface { } type ConfigReference_File struct { - File *FileTarget `protobuf:"bytes,3,opt,name=file,oneof"` + File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof"` } type ConfigReference_Runtime struct { - Runtime *RuntimeTarget `protobuf:"bytes,4,opt,name=runtime,oneof"` + Runtime *RuntimeTarget `protobuf:"bytes,4,opt,name=runtime,proto3,oneof"` } func (*ConfigReference_File) isConfigReference_Target() {} @@ -1957,12 +3574,12 @@ func _ConfigReference_OneofSizer(msg proto.Message) (n int) { switch x := m.Target.(type) { case *ConfigReference_File: s := proto.Size(x.File) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *ConfigReference_Runtime: s := proto.Size(x.Runtime) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1978,12 +3595,40 @@ 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 *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=expiry" json:"expiry,omitempty"` + Expiry *types.Timestamp `protobuf:"bytes,1,opt,name=expiry,proto3" json:"expiry,omitempty"` } -func (m *BlacklistedCertificate) Reset() { *m = BlacklistedCertificate{} } -func (*BlacklistedCertificate) ProtoMessage() {} -func (*BlacklistedCertificate) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{51} } +func (m *BlacklistedCertificate) Reset() { *m = BlacklistedCertificate{} } +func (*BlacklistedCertificate) ProtoMessage() {} +func (*BlacklistedCertificate) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{51} +} +func (m *BlacklistedCertificate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BlacklistedCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BlacklistedCertificate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BlacklistedCertificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_BlacklistedCertificate.Merge(m, src) +} +func (m *BlacklistedCertificate) XXX_Size() int { + return m.Size() +} +func (m *BlacklistedCertificate) XXX_DiscardUnknown() { + xxx_messageInfo_BlacklistedCertificate.DiscardUnknown(m) +} + +var xxx_messageInfo_BlacklistedCertificate proto.InternalMessageInfo // HealthConfig holds configuration settings for the HEALTHCHECK feature. type HealthConfig struct { @@ -1994,26 +3639,54 @@ type HealthConfig struct { // {"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" json:"test,omitempty"` + 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 *google_protobuf1.Duration `protobuf:"bytes,2,opt,name=interval" json:"interval,omitempty"` + 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 *google_protobuf1.Duration `protobuf:"bytes,3,opt,name=timeout" json:"timeout,omitempty"` + 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 *google_protobuf1.Duration `protobuf:"bytes,5,opt,name=start_period,json=startPeriod" json:"start_period,omitempty"` + StartPeriod *types.Duration `protobuf:"bytes,5,opt,name=start_period,json=startPeriod,proto3" json:"start_period,omitempty"` } -func (m *HealthConfig) Reset() { *m = HealthConfig{} } -func (*HealthConfig) ProtoMessage() {} -func (*HealthConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{52} } +func (m *HealthConfig) Reset() { *m = HealthConfig{} } +func (*HealthConfig) ProtoMessage() {} +func (*HealthConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{52} +} +func (m *HealthConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthConfig.Merge(m, src) +} +func (m *HealthConfig) XXX_Size() int { + return m.Size() +} +func (m *HealthConfig) XXX_DiscardUnknown() { + xxx_messageInfo_HealthConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthConfig proto.InternalMessageInfo type MaybeEncryptedRecord struct { Algorithm MaybeEncryptedRecord_Algorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm" json:"algorithm,omitempty"` @@ -2021,9 +3694,37 @@ type MaybeEncryptedRecord struct { Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` } -func (m *MaybeEncryptedRecord) Reset() { *m = MaybeEncryptedRecord{} } -func (*MaybeEncryptedRecord) ProtoMessage() {} -func (*MaybeEncryptedRecord) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{53} } +func (m *MaybeEncryptedRecord) Reset() { *m = MaybeEncryptedRecord{} } +func (*MaybeEncryptedRecord) ProtoMessage() {} +func (*MaybeEncryptedRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{53} +} +func (m *MaybeEncryptedRecord) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MaybeEncryptedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MaybeEncryptedRecord.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MaybeEncryptedRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaybeEncryptedRecord.Merge(m, src) +} +func (m *MaybeEncryptedRecord) XXX_Size() int { + return m.Size() +} +func (m *MaybeEncryptedRecord) XXX_DiscardUnknown() { + xxx_messageInfo_MaybeEncryptedRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_MaybeEncryptedRecord proto.InternalMessageInfo type RootRotation struct { CACert []byte `protobuf:"bytes,1,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` @@ -2032,19 +3733,75 @@ type RootRotation struct { CrossSignedCACert []byte `protobuf:"bytes,3,opt,name=cross_signed_ca_cert,json=crossSignedCaCert,proto3" json:"cross_signed_ca_cert,omitempty"` } -func (m *RootRotation) Reset() { *m = RootRotation{} } -func (*RootRotation) ProtoMessage() {} -func (*RootRotation) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{54} } +func (m *RootRotation) Reset() { *m = RootRotation{} } +func (*RootRotation) ProtoMessage() {} +func (*RootRotation) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{54} +} +func (m *RootRotation) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RootRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RootRotation.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RootRotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_RootRotation.Merge(m, src) +} +func (m *RootRotation) XXX_Size() int { + return m.Size() +} +func (m *RootRotation) XXX_DiscardUnknown() { + xxx_messageInfo_RootRotation.DiscardUnknown(m) +} + +var xxx_messageInfo_RootRotation proto.InternalMessageInfo // Privileges specifies security configuration/permissions. type Privileges struct { - CredentialSpec *Privileges_CredentialSpec `protobuf:"bytes,1,opt,name=credential_spec,json=credentialSpec" json:"credential_spec,omitempty"` - SELinuxContext *Privileges_SELinuxContext `protobuf:"bytes,2,opt,name=selinux_context,json=selinuxContext" json:"selinux_context,omitempty"` + CredentialSpec *Privileges_CredentialSpec `protobuf:"bytes,1,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"` + SELinuxContext *Privileges_SELinuxContext `protobuf:"bytes,2,opt,name=selinux_context,json=selinuxContext,proto3" json:"selinux_context,omitempty"` } -func (m *Privileges) Reset() { *m = Privileges{} } -func (*Privileges) ProtoMessage() {} -func (*Privileges) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{55} } +func (m *Privileges) Reset() { *m = Privileges{} } +func (*Privileges) ProtoMessage() {} +func (*Privileges) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{55} +} +func (m *Privileges) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Privileges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Privileges.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Privileges) XXX_Merge(src proto.Message) { + xxx_messageInfo_Privileges.Merge(m, src) +} +func (m *Privileges) XXX_Size() int { + return m.Size() +} +func (m *Privileges) XXX_DiscardUnknown() { + xxx_messageInfo_Privileges.DiscardUnknown(m) +} + +var xxx_messageInfo_Privileges proto.InternalMessageInfo // CredentialSpec for managed service account (Windows only). type Privileges_CredentialSpec struct { @@ -2058,8 +3815,34 @@ type Privileges_CredentialSpec struct { func (m *Privileges_CredentialSpec) Reset() { *m = Privileges_CredentialSpec{} } func (*Privileges_CredentialSpec) ProtoMessage() {} func (*Privileges_CredentialSpec) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{55, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{55, 0} } +func (m *Privileges_CredentialSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Privileges_CredentialSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Privileges_CredentialSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Privileges_CredentialSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_Privileges_CredentialSpec.Merge(m, src) +} +func (m *Privileges_CredentialSpec) XXX_Size() int { + return m.Size() +} +func (m *Privileges_CredentialSpec) XXX_DiscardUnknown() { + xxx_messageInfo_Privileges_CredentialSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_Privileges_CredentialSpec proto.InternalMessageInfo type isPrivileges_CredentialSpec_Source interface { isPrivileges_CredentialSpec_Source() @@ -2172,15 +3955,15 @@ func _Privileges_CredentialSpec_OneofSizer(msg proto.Message) (n int) { // source switch x := m.Source.(type) { case *Privileges_CredentialSpec_File: - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.File))) n += len(x.File) case *Privileges_CredentialSpec_Registry: - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Registry))) n += len(x.Registry) case *Privileges_CredentialSpec_Config: - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Config))) n += len(x.Config) case nil: @@ -2202,13 +3985,59 @@ type Privileges_SELinuxContext struct { func (m *Privileges_SELinuxContext) Reset() { *m = Privileges_SELinuxContext{} } func (*Privileges_SELinuxContext) ProtoMessage() {} func (*Privileges_SELinuxContext) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{55, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{55, 1} +} +func (m *Privileges_SELinuxContext) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Privileges_SELinuxContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Privileges_SELinuxContext.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Privileges_SELinuxContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_Privileges_SELinuxContext.Merge(m, src) +} +func (m *Privileges_SELinuxContext) XXX_Size() int { + return m.Size() +} +func (m *Privileges_SELinuxContext) XXX_DiscardUnknown() { + xxx_messageInfo_Privileges_SELinuxContext.DiscardUnknown(m) } +var xxx_messageInfo_Privileges_SELinuxContext proto.InternalMessageInfo + func init() { + proto.RegisterEnum("docker.swarmkit.v1.ResourceType", ResourceType_name, ResourceType_value) + proto.RegisterEnum("docker.swarmkit.v1.TaskState", TaskState_name, TaskState_value) + proto.RegisterEnum("docker.swarmkit.v1.NodeRole", NodeRole_name, NodeRole_value) + proto.RegisterEnum("docker.swarmkit.v1.RaftMemberStatus_Reachability", RaftMemberStatus_Reachability_name, RaftMemberStatus_Reachability_value) + proto.RegisterEnum("docker.swarmkit.v1.NodeStatus_State", NodeStatus_State_name, NodeStatus_State_value) + proto.RegisterEnum("docker.swarmkit.v1.Mount_MountType", Mount_MountType_name, Mount_MountType_value) + proto.RegisterEnum("docker.swarmkit.v1.Mount_MountConsistency", Mount_MountConsistency_name, Mount_MountConsistency_value) + proto.RegisterEnum("docker.swarmkit.v1.Mount_BindOptions_MountPropagation", Mount_BindOptions_MountPropagation_name, Mount_BindOptions_MountPropagation_value) + proto.RegisterEnum("docker.swarmkit.v1.RestartPolicy_RestartCondition", RestartPolicy_RestartCondition_name, RestartPolicy_RestartCondition_value) + proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_FailureAction", UpdateConfig_FailureAction_name, UpdateConfig_FailureAction_value) + proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_UpdateOrder", UpdateConfig_UpdateOrder_name, UpdateConfig_UpdateOrder_value) + proto.RegisterEnum("docker.swarmkit.v1.UpdateStatus_UpdateState", UpdateStatus_UpdateState_name, UpdateStatus_UpdateState_value) + proto.RegisterEnum("docker.swarmkit.v1.IPAMConfig_AddressFamily", IPAMConfig_AddressFamily_name, IPAMConfig_AddressFamily_value) + proto.RegisterEnum("docker.swarmkit.v1.PortConfig_Protocol", PortConfig_Protocol_name, PortConfig_Protocol_value) + proto.RegisterEnum("docker.swarmkit.v1.PortConfig_PublishMode", PortConfig_PublishMode_name, PortConfig_PublishMode_value) + proto.RegisterEnum("docker.swarmkit.v1.IssuanceStatus_State", IssuanceStatus_State_name, IssuanceStatus_State_value) + proto.RegisterEnum("docker.swarmkit.v1.ExternalCA_CAProtocol", ExternalCA_CAProtocol_name, ExternalCA_CAProtocol_value) + proto.RegisterEnum("docker.swarmkit.v1.EncryptionKey_Algorithm", EncryptionKey_Algorithm_name, EncryptionKey_Algorithm_value) + proto.RegisterEnum("docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm", MaybeEncryptedRecord_Algorithm_name, MaybeEncryptedRecord_Algorithm_value) proto.RegisterType((*Version)(nil), "docker.swarmkit.v1.Version") proto.RegisterType((*IndexEntry)(nil), "docker.swarmkit.v1.IndexEntry") proto.RegisterType((*Annotations)(nil), "docker.swarmkit.v1.Annotations") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Annotations.LabelsEntry") proto.RegisterType((*NamedGenericResource)(nil), "docker.swarmkit.v1.NamedGenericResource") proto.RegisterType((*DiscreteGenericResource)(nil), "docker.swarmkit.v1.DiscreteGenericResource") proto.RegisterType((*GenericResource)(nil), "docker.swarmkit.v1.GenericResource") @@ -2217,6 +4046,7 @@ func init() { proto.RegisterType((*Platform)(nil), "docker.swarmkit.v1.Platform") proto.RegisterType((*PluginDescription)(nil), "docker.swarmkit.v1.PluginDescription") proto.RegisterType((*EngineDescription)(nil), "docker.swarmkit.v1.EngineDescription") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.EngineDescription.LabelsEntry") proto.RegisterType((*NodeDescription)(nil), "docker.swarmkit.v1.NodeDescription") proto.RegisterType((*NodeTLSInfo)(nil), "docker.swarmkit.v1.NodeTLSInfo") proto.RegisterType((*RaftMemberStatus)(nil), "docker.swarmkit.v1.RaftMemberStatus") @@ -2225,6 +4055,7 @@ func init() { proto.RegisterType((*Mount)(nil), "docker.swarmkit.v1.Mount") proto.RegisterType((*Mount_BindOptions)(nil), "docker.swarmkit.v1.Mount.BindOptions") proto.RegisterType((*Mount_VolumeOptions)(nil), "docker.swarmkit.v1.Mount.VolumeOptions") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Mount.VolumeOptions.LabelsEntry") proto.RegisterType((*Mount_TmpfsOptions)(nil), "docker.swarmkit.v1.Mount.TmpfsOptions") proto.RegisterType((*RestartPolicy)(nil), "docker.swarmkit.v1.RestartPolicy") proto.RegisterType((*UpdateConfig)(nil), "docker.swarmkit.v1.UpdateConfig") @@ -2233,9 +4064,12 @@ func init() { proto.RegisterType((*PortStatus)(nil), "docker.swarmkit.v1.PortStatus") proto.RegisterType((*TaskStatus)(nil), "docker.swarmkit.v1.TaskStatus") proto.RegisterType((*NetworkAttachmentConfig)(nil), "docker.swarmkit.v1.NetworkAttachmentConfig") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.NetworkAttachmentConfig.DriverAttachmentOptsEntry") proto.RegisterType((*IPAMConfig)(nil), "docker.swarmkit.v1.IPAMConfig") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.IPAMConfig.ReservedEntry") proto.RegisterType((*PortConfig)(nil), "docker.swarmkit.v1.PortConfig") proto.RegisterType((*Driver)(nil), "docker.swarmkit.v1.Driver") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Driver.OptionsEntry") proto.RegisterType((*IPAMOptions)(nil), "docker.swarmkit.v1.IPAMOptions") proto.RegisterType((*Peer)(nil), "docker.swarmkit.v1.Peer") proto.RegisterType((*WeightedPeer)(nil), "docker.swarmkit.v1.WeightedPeer") @@ -2244,6 +4078,7 @@ func init() { proto.RegisterType((*AcceptancePolicy_RoleAdmissionPolicy)(nil), "docker.swarmkit.v1.AcceptancePolicy.RoleAdmissionPolicy") proto.RegisterType((*AcceptancePolicy_RoleAdmissionPolicy_Secret)(nil), "docker.swarmkit.v1.AcceptancePolicy.RoleAdmissionPolicy.Secret") proto.RegisterType((*ExternalCA)(nil), "docker.swarmkit.v1.ExternalCA") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ExternalCA.OptionsEntry") proto.RegisterType((*CAConfig)(nil), "docker.swarmkit.v1.CAConfig") proto.RegisterType((*OrchestrationConfig)(nil), "docker.swarmkit.v1.OrchestrationConfig") proto.RegisterType((*TaskDefaults)(nil), "docker.swarmkit.v1.TaskDefaults") @@ -2269,25 +4104,345 @@ func init() { proto.RegisterType((*Privileges)(nil), "docker.swarmkit.v1.Privileges") proto.RegisterType((*Privileges_CredentialSpec)(nil), "docker.swarmkit.v1.Privileges.CredentialSpec") proto.RegisterType((*Privileges_SELinuxContext)(nil), "docker.swarmkit.v1.Privileges.SELinuxContext") - proto.RegisterEnum("docker.swarmkit.v1.ResourceType", ResourceType_name, ResourceType_value) - proto.RegisterEnum("docker.swarmkit.v1.TaskState", TaskState_name, TaskState_value) - proto.RegisterEnum("docker.swarmkit.v1.NodeRole", NodeRole_name, NodeRole_value) - proto.RegisterEnum("docker.swarmkit.v1.RaftMemberStatus_Reachability", RaftMemberStatus_Reachability_name, RaftMemberStatus_Reachability_value) - proto.RegisterEnum("docker.swarmkit.v1.NodeStatus_State", NodeStatus_State_name, NodeStatus_State_value) - proto.RegisterEnum("docker.swarmkit.v1.Mount_MountType", Mount_MountType_name, Mount_MountType_value) - proto.RegisterEnum("docker.swarmkit.v1.Mount_MountConsistency", Mount_MountConsistency_name, Mount_MountConsistency_value) - proto.RegisterEnum("docker.swarmkit.v1.Mount_BindOptions_MountPropagation", Mount_BindOptions_MountPropagation_name, Mount_BindOptions_MountPropagation_value) - proto.RegisterEnum("docker.swarmkit.v1.RestartPolicy_RestartCondition", RestartPolicy_RestartCondition_name, RestartPolicy_RestartCondition_value) - proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_FailureAction", UpdateConfig_FailureAction_name, UpdateConfig_FailureAction_value) - proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_UpdateOrder", UpdateConfig_UpdateOrder_name, UpdateConfig_UpdateOrder_value) - proto.RegisterEnum("docker.swarmkit.v1.UpdateStatus_UpdateState", UpdateStatus_UpdateState_name, UpdateStatus_UpdateState_value) - proto.RegisterEnum("docker.swarmkit.v1.IPAMConfig_AddressFamily", IPAMConfig_AddressFamily_name, IPAMConfig_AddressFamily_value) - proto.RegisterEnum("docker.swarmkit.v1.PortConfig_Protocol", PortConfig_Protocol_name, PortConfig_Protocol_value) - proto.RegisterEnum("docker.swarmkit.v1.PortConfig_PublishMode", PortConfig_PublishMode_name, PortConfig_PublishMode_value) - proto.RegisterEnum("docker.swarmkit.v1.IssuanceStatus_State", IssuanceStatus_State_name, IssuanceStatus_State_value) - proto.RegisterEnum("docker.swarmkit.v1.ExternalCA_CAProtocol", ExternalCA_CAProtocol_name, ExternalCA_CAProtocol_value) - proto.RegisterEnum("docker.swarmkit.v1.EncryptionKey_Algorithm", EncryptionKey_Algorithm_name, EncryptionKey_Algorithm_value) - proto.RegisterEnum("docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm", MaybeEncryptedRecord_Algorithm_name, MaybeEncryptedRecord_Algorithm_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/types.proto", fileDescriptor_0b5eafd0404ded3d) +} + +var fileDescriptor_0b5eafd0404ded3d = []byte{ + // 5289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x3a, 0x4d, 0x6c, 0x23, 0x59, + 0x5a, 0xb1, 0x63, 0x3b, 0xf6, 0x67, 0x27, 0xa9, 0x7e, 0x9d, 0xed, 0x49, 0x7b, 0x7a, 0x12, 0x4f, + 0xcd, 0xf4, 0xce, 0x6c, 0xef, 0xe0, 0xfe, 0x9b, 0x1d, 0xf5, 0xcc, 0x30, 0x3b, 0xe3, 0xbf, 0x74, + 0xbc, 0x9d, 0xd8, 0xd6, 0xb3, 0xd3, 0xb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xd3, 0x14, 0x2c, 0xcf, 0x72, 0xff, 0x02, 0x5c, 0x67, 0x26, 0x36, + 0x35, 0x4f, 0x42, 0x34, 0xdf, 0x25, 0x06, 0x17, 0x56, 0x7c, 0xf0, 0x66, 0x92, 0x85, 0x92, 0x56, + 0xb2, 0x39, 0x87, 0xaf, 0x71, 0x31, 0x21, 0xa0, 0xef, 0x12, 0x03, 0x19, 0x70, 0xc3, 0x94, 0x4a, + 0xcf, 0x88, 0x4f, 0x73, 0xf1, 0x89, 0xdb, 0x78, 0xc1, 0x32, 0x37, 0xe7, 0xf0, 0x4a, 0x28, 0x2c, + 0x3e, 0x49, 0x1d, 0x20, 0x1f, 0xca, 0x56, 0xbf, 0x9b, 0x82, 0x42, 0x88, 0xf4, 0xd1, 0x57, 0xa0, + 0xe0, 0xe8, 0x0e, 0xd5, 0x0c, 0x77, 0xec, 0xf3, 0x05, 0xcd, 0xd7, 0x4b, 0x67, 0xa7, 0xeb, 0xf9, + 0x8e, 0xee, 0xd0, 0x46, 0x6f, 0xc7, 0xc7, 0x79, 0x86, 0x6e, 0xb8, 0x63, 0x1f, 0xbd, 0x0a, 0xa5, + 0x11, 0x19, 0x51, 0x6f, 0xa2, 0xed, 0x4e, 0x02, 0xe2, 0x4b, 0xb3, 0x15, 0x05, 0xac, 0xce, 0x40, + 0xe8, 0x03, 0x58, 0x18, 0x0a, 0x95, 0x56, 0xe7, 0xb9, 0xfb, 0xbc, 0x96, 0xa4, 0xfd, 0x8c, 0xd6, + 0x38, 0xe4, 0x51, 0xbf, 0x93, 0x86, 0x95, 0x08, 0x4a, 0x7e, 0x65, 0x6c, 0x79, 0x64, 0x44, 0x9c, + 0xc0, 0x47, 0x5f, 0x83, 0x9c, 0x6d, 0x8d, 0xac, 0xc0, 0x97, 0x36, 0x7f, 0x25, 0x49, 0x6c, 0xb4, + 0x28, 0x2c, 0x89, 0x51, 0x0d, 0x4a, 0x1e, 0xf1, 0x89, 0x77, 0x28, 0x3c, 0x5e, 0x5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, + 0xd9, 0xaf, 0x14, 0x2a, 0x40, 0x16, 0xb7, 0x6a, 0xcd, 0x6f, 0x29, 0x69, 0xa4, 0x40, 0xa9, 0xd9, + 0xee, 0x37, 0xba, 0x9d, 0x4e, 0xab, 0x31, 0x68, 0x35, 0x95, 0x79, 0xf5, 0x36, 0x64, 0xdb, 0x23, + 0x26, 0xf9, 0x16, 0x3b, 0x10, 0x7b, 0xc4, 0x23, 0x8e, 0x11, 0x9e, 0xb3, 0x29, 0x40, 0xfd, 0xac, + 0x04, 0xd9, 0x6d, 0x3a, 0x76, 0x02, 0xf4, 0x20, 0x16, 0xd4, 0x96, 0x92, 0xb3, 0x18, 0x4e, 0x58, + 0x1d, 0x4c, 0x5c, 0x22, 0x83, 0xde, 0x0d, 0xc8, 0x89, 0xa3, 0x23, 0x97, 0x23, 0x47, 0x0c, 0x1e, + 0xe8, 0xde, 0x90, 0x04, 0x72, 0x3d, 0x72, 0x84, 0xde, 0x64, 0xb7, 0xaa, 0x6e, 0x52, 0xc7, 0x9e, + 0xf0, 0x13, 0x96, 0x17, 0x57, 0x27, 0x26, 0xba, 0xd9, 0x75, 0xec, 0x09, 0x8e, 0xb0, 0xe8, 0x31, + 0x14, 0x0d, 0xea, 0xf8, 0x96, 0x1f, 0x10, 0xc7, 0x98, 0xac, 0xe6, 0xb9, 0x52, 0xb7, 0x2f, 0x56, + 0xaa, 0x31, 0x25, 0xc6, 0x71, 0x4e, 0xb4, 0x09, 0xa5, 0x5d, 0xcb, 0x31, 0x35, 0xea, 0x8a, 0x1b, + 0x2d, 0x7b, 0xf1, 0xc1, 0x16, 0x92, 0xea, 0x96, 0x63, 0x76, 0x05, 0x31, 0x2e, 0xee, 0x4e, 0x07, + 0xa8, 0x03, 0x4b, 0x87, 0xd4, 0x1e, 0x8f, 0x48, 0x24, 0x2b, 0xc7, 0x65, 0xbd, 0x71, 0xb1, 0xac, + 0xa7, 0x9c, 0x3e, 0x94, 0xb6, 0x78, 0x18, 0x1f, 0xa2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 0xae, 0x4d, 0x24, 0xf3, 0xfc, 0x95, 0xcc, 0xc5, 0x88, 0xbe, 0x16, 0xc4, 0xd3, + 0xe1, 0xcc, 0xf9, 0x84, 0xfd, 0x37, 0x53, 0xa1, 0x65, 0x12, 0x32, 0xe0, 0x12, 0xe4, 0x77, 0x7a, + 0xcd, 0xda, 0xa0, 0xdd, 0x79, 0xac, 0xa4, 0x10, 0x40, 0x8e, 0x9b, 0xba, 0xa9, 0xa4, 0x59, 0xe6, + 0xde, 0xe8, 0x6e, 0xf7, 0xb6, 0x5a, 0x3c, 0x62, 0xa1, 0x15, 0x50, 0x42, 0x63, 0x6b, 0xdc, 0x90, + 0xad, 0xa6, 0x92, 0x41, 0xd7, 0x61, 0x39, 0x82, 0x4a, 0xce, 0x2c, 0xba, 0x01, 0x28, 0x02, 0x4e, + 0x45, 0xe4, 0xd4, 0x5f, 0x87, 0xe5, 0x06, 0x75, 0x02, 0xdd, 0x72, 0xa2, 0xaa, 0xe6, 0x01, 0x5b, + 0xb4, 0x04, 0x69, 0x96, 0xec, 0x90, 0xd5, 0x97, 0xcf, 0x4e, 0xd7, 0x8b, 0x11, 0x69, 0xbb, 0xc9, + 0xb3, 0x50, 0x39, 0x30, 0xd9, 0xf9, 0x75, 0x2d, 0x93, 0x1b, 0x37, 0x5b, 0x5f, 0x38, 0x3b, 0x5d, + 0x9f, 0xef, 0xb5, 0x9b, 0x98, 0xc1, 0xd0, 0xcb, 0x50, 0x20, 0xcf, 0xad, 0x40, 0x33, 0xd8, 0xad, + 0xc6, 0x0c, 0x98, 0xc5, 0x79, 0x06, 0x68, 0x50, 0x93, 0xa8, 0x75, 0x80, 0x1e, 0xf5, 0x02, 0x39, + 0xf3, 0xdb, 0x90, 0x75, 0xa9, 0xc7, 0x7b, 0x3a, 0x17, 0x76, 0x1a, 0x19, 0xb9, 0x70, 0x54, 0x2c, + 0x88, 0xd5, 0xef, 0xcd, 0x03, 0x0c, 0x74, 0xff, 0x40, 0x0a, 0x79, 0x04, 0x85, 0xa8, 0xab, 0x2b, + 0x9b, 0x43, 0x97, 0xee, 0x76, 0x44, 0x8c, 0x1e, 0x86, 0xce, 0x26, 0xea, 0xb5, 0xc4, 0xb2, 0x3a, + 0x9c, 0x28, 0xa9, 0xe4, 0x39, 0x5f, 0x94, 0xb1, 0x24, 0x81, 0x78, 0x9e, 0xdc, 0x79, 0xf6, 0x13, + 0x35, 0xf8, 0xb5, 0x20, 0x8c, 0x26, 0x13, 0xf5, 0xc4, 0x76, 0xd8, 0xcc, 0x8e, 0x6c, 0xce, 0xe1, + 0x29, 0x1f, 0xfa, 0x10, 0x8a, 0x6c, 0xdd, 0x9a, 0xcf, 0x71, 0x32, 0x47, 0xbf, 0xd0, 0x54, 0x42, + 0x02, 0x06, 0x77, 0x6a, 0xe5, 0x57, 0x00, 0x74, 0xd7, 0xb5, 0x2d, 0x62, 0x6a, 0xbb, 0x13, 0x9e, + 0x94, 0x17, 0x70, 0x41, 0x42, 0xea, 0x13, 0x76, 0x5c, 0x42, 0xb4, 0x1e, 0xf0, 0xc2, 0xe4, 0x0a, + 0x03, 0x4a, 0xea, 0x5a, 0x50, 0x57, 0x60, 0xc9, 0x1b, 0x3b, 0xcc, 0xa0, 0x52, 0x3b, 0xf5, 0x4f, + 0xd2, 0xf0, 0x52, 0x87, 0x04, 0x47, 0xd4, 0x3b, 0xa8, 0x05, 0x81, 0x6e, 0xec, 0x8f, 0x88, 0x23, + 0xb7, 0x2f, 0x56, 0x44, 0xa5, 0xce, 0x15, 0x51, 0xab, 0xb0, 0xa0, 0xdb, 0x96, 0xee, 0x13, 0x91, + 0xfa, 0x15, 0x70, 0x38, 0x64, 0xa5, 0x1e, 0x2b, 0x1c, 0x89, 0xef, 0x13, 0xd1, 0xe9, 0x61, 0x8a, + 0x87, 0x00, 0xf4, 0x6d, 0xb8, 0x21, 0x93, 0x3c, 0x3d, 0x9a, 0x8a, 0xd5, 0x1e, 0x61, 0xe3, 0xba, + 0x95, 0x58, 0xc9,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0x10, 0x4c, 0x75, 0x74, 0x76, 0xba, 0xbe, 0x74, 0x1e, 0x86, 0x97, 0xa4, 0x64, 0x39, 0x2e, 0xef, + 0xc3, 0xd2, 0x79, 0x6d, 0xd0, 0x8a, 0x0c, 0x34, 0x3c, 0x5e, 0x45, 0x81, 0xe4, 0x16, 0xe4, 0x3d, + 0x32, 0xb4, 0xfc, 0xc0, 0x13, 0x66, 0x66, 0x98, 0x08, 0x82, 0x56, 0x21, 0x17, 0xfb, 0xe2, 0x84, + 0xe1, 0xe4, 0x98, 0x45, 0x10, 0xf1, 0x31, 0x59, 0xf9, 0xd7, 0x60, 0x46, 0x17, 0x76, 0xe8, 0x4c, + 0xcb, 0xd7, 0x77, 0xe5, 0x64, 0x79, 0x1c, 0x0e, 0x99, 0x2f, 0x8f, 0xfd, 0x28, 0x81, 0xe4, 0xbf, + 0x19, 0x8c, 0x67, 0x3a, 0xf2, 0xd3, 0x3a, 0x9e, 0xcb, 0x84, 0x5f, 0xf0, 0x66, 0x62, 0x5f, 0xf0, + 0xae, 0x40, 0xd6, 0x26, 0x87, 0xc4, 0x16, 0x39, 0x06, 0x16, 0x83, 0x3b, 0xf7, 0xa0, 0x14, 0x7e, + 0x2a, 0xca, 0xbf, 0x19, 0xc9, 0x43, 0x66, 0x50, 0xeb, 0x3f, 0x51, 0xe6, 0x10, 0x40, 0x4e, 0xf8, + 0xb8, 0x78, 0x84, 0x6c, 0x74, 0x3b, 0x1b, 0xed, 0xc7, 0x4a, 0xfa, 0xce, 0xef, 0x65, 0xa0, 0x10, + 0x3d, 0x83, 0xb1, 0x3b, 0xad, 0xd3, 0x7a, 0x16, 0x1e, 0x92, 0x08, 0xde, 0x21, 0x47, 0xe8, 0xd5, + 0x69, 0x03, 0xed, 0x23, 0xf1, 0xee, 0x1f, 0xa1, 0xc3, 0xe6, 0xd9, 0xeb, 0x90, 0xaf, 0xf5, 0xfb, + 0xed, 0xc7, 0x9d, 0x56, 0x53, 0xf9, 0x34, 0x55, 0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0xc6, 0x37, + 0x65, 0x56, 0x4e, 0xd7, 0x73, 0xf7, 0x75, 0x87, 0x98, 0xd3, 0x8f, 0x7b, 0x22, 0xd4, 0x9d, 0x5f, + 0x82, 0x7c, 0x98, 0x53, 0xa3, 0x35, 0xc8, 0x3d, 0xeb, 0xe2, 0x27, 0x2d, 0xac, 0xcc, 0x09, 0x2b, + 0x87, 0x98, 0x67, 0xa2, 0x1a, 0xaa, 0xc0, 0xc2, 0x76, 0xad, 0x53, 0x7b, 0xdc, 0xc2, 0x61, 0xff, + 0x3f, 0x24, 0x90, 0x89, 0x61, 0x59, 0x91, 0x13, 0x44, 0x32, 0xeb, 0xaf, 0xff, 0xe0, 0xb3, 0xb5, + 0xb9, 0x1f, 0x7f, 0xb6, 0x36, 0xf7, 0xc9, 0xd9, 0x5a, 0xea, 0x07, 0x67, 0x6b, 0xa9, 0x1f, 0x9e, + 0xad, 0xa5, 0xfe, 0xed, 0x6c, 0x2d, 0xf5, 0x3b, 0x3f, 0x59, 0x9b, 0xfb, 0xe1, 0x4f, 0xd6, 0xe6, + 0x7e, 0xfc, 0x93, 0xb5, 0xb9, 0xdd, 0x1c, 0xbf, 0x7a, 0x1e, 0xfe, 0x5f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x4e, 0x60, 0x1a, 0x9d, 0x2d, 0x34, 0x00, 0x00, } func (m *Version) Copy() *Version { @@ -2343,7 +4498,7 @@ func (m *Annotations) CopyFrom(src interface{}) { if o.Indices != nil { m.Indices = make([]IndexEntry, len(o.Indices)) for i := range m.Indices { - deepcopy.Copy(&m.Indices[i], &o.Indices[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Indices[i], &o.Indices[i]) } } @@ -2398,13 +4553,13 @@ func (m *GenericResource) CopyFrom(src interface{}) { v := GenericResource_NamedResourceSpec{ NamedResourceSpec: &NamedGenericResource{}, } - deepcopy.Copy(v.NamedResourceSpec, o.GetNamedResourceSpec()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.NamedResourceSpec, o.GetNamedResourceSpec()) m.Resource = &v case *GenericResource_DiscreteResourceSpec: v := GenericResource_DiscreteResourceSpec{ DiscreteResourceSpec: &DiscreteGenericResource{}, } - deepcopy.Copy(v.DiscreteResourceSpec, o.GetDiscreteResourceSpec()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.DiscreteResourceSpec, o.GetDiscreteResourceSpec()) m.Resource = &v } } @@ -2428,7 +4583,7 @@ func (m *Resources) CopyFrom(src interface{}) { m.Generic = make([]*GenericResource, len(o.Generic)) for i := range m.Generic { m.Generic[i] = &GenericResource{} - deepcopy.Copy(m.Generic[i], o.Generic[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Generic[i], o.Generic[i]) } } @@ -2449,19 +4604,19 @@ func (m *ResourceRequirements) CopyFrom(src interface{}) { *m = *o if o.Limits != nil { m.Limits = &Resources{} - deepcopy.Copy(m.Limits, o.Limits) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Limits, o.Limits) } if o.Reservations != nil { m.Reservations = &Resources{} - deepcopy.Copy(m.Reservations, o.Reservations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Reservations, o.Reservations) } if o.SwapBytes != nil { - m.SwapBytes = &google_protobuf2.Int64Value{} - deepcopy.Copy(m.SwapBytes, o.SwapBytes) + m.SwapBytes = &types.Int64Value{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.SwapBytes, o.SwapBytes) } if o.MemorySwappiness != nil { - m.MemorySwappiness = &google_protobuf2.Int64Value{} - deepcopy.Copy(m.MemorySwappiness, o.MemorySwappiness) + m.MemorySwappiness = &types.Int64Value{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.MemorySwappiness, o.MemorySwappiness) } } @@ -2518,7 +4673,7 @@ func (m *EngineDescription) CopyFrom(src interface{}) { if o.Plugins != nil { m.Plugins = make([]PluginDescription, len(o.Plugins)) for i := range m.Plugins { - deepcopy.Copy(&m.Plugins[i], &o.Plugins[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Plugins[i], &o.Plugins[i]) } } @@ -2539,19 +4694,19 @@ func (m *NodeDescription) CopyFrom(src interface{}) { *m = *o if o.Platform != nil { m.Platform = &Platform{} - deepcopy.Copy(m.Platform, o.Platform) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Platform, o.Platform) } if o.Resources != nil { m.Resources = &Resources{} - deepcopy.Copy(m.Resources, o.Resources) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources, o.Resources) } if o.Engine != nil { m.Engine = &EngineDescription{} - deepcopy.Copy(m.Engine, o.Engine) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Engine, o.Engine) } if o.TLSInfo != nil { m.TLSInfo = &NodeTLSInfo{} - deepcopy.Copy(m.TLSInfo, o.TLSInfo) + github_com_docker_swarmkit_api_deepcopy.Copy(m.TLSInfo, o.TLSInfo) } } @@ -2642,15 +4797,15 @@ func (m *Mount) CopyFrom(src interface{}) { *m = *o if o.BindOptions != nil { m.BindOptions = &Mount_BindOptions{} - deepcopy.Copy(m.BindOptions, o.BindOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.BindOptions, o.BindOptions) } if o.VolumeOptions != nil { m.VolumeOptions = &Mount_VolumeOptions{} - deepcopy.Copy(m.VolumeOptions, o.VolumeOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.VolumeOptions, o.VolumeOptions) } if o.TmpfsOptions != nil { m.TmpfsOptions = &Mount_TmpfsOptions{} - deepcopy.Copy(m.TmpfsOptions, o.TmpfsOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.TmpfsOptions, o.TmpfsOptions) } } @@ -2691,7 +4846,7 @@ func (m *Mount_VolumeOptions) CopyFrom(src interface{}) { if o.DriverConfig != nil { m.DriverConfig = &Driver{} - deepcopy.Copy(m.DriverConfig, o.DriverConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverConfig, o.DriverConfig) } } @@ -2724,12 +4879,12 @@ func (m *RestartPolicy) CopyFrom(src interface{}) { o := src.(*RestartPolicy) *m = *o if o.Delay != nil { - m.Delay = &google_protobuf1.Duration{} - deepcopy.Copy(m.Delay, o.Delay) + m.Delay = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Delay, o.Delay) } if o.Window != nil { - m.Window = &google_protobuf1.Duration{} - deepcopy.Copy(m.Window, o.Window) + m.Window = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Window, o.Window) } } @@ -2746,10 +4901,10 @@ func (m *UpdateConfig) CopyFrom(src interface{}) { o := src.(*UpdateConfig) *m = *o - deepcopy.Copy(&m.Delay, &o.Delay) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Delay, &o.Delay) if o.Monitor != nil { - m.Monitor = &google_protobuf1.Duration{} - deepcopy.Copy(m.Monitor, o.Monitor) + m.Monitor = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Monitor, o.Monitor) } } @@ -2767,12 +4922,12 @@ func (m *UpdateStatus) CopyFrom(src interface{}) { o := src.(*UpdateStatus) *m = *o if o.StartedAt != nil { - m.StartedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.StartedAt, o.StartedAt) + m.StartedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.StartedAt, o.StartedAt) } if o.CompletedAt != nil { - m.CompletedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.CompletedAt, o.CompletedAt) + m.CompletedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.CompletedAt, o.CompletedAt) } } @@ -2808,7 +4963,7 @@ func (m *PortStatus) CopyFrom(src interface{}) { m.Ports = make([]*PortConfig, len(o.Ports)) for i := range m.Ports { m.Ports[i] = &PortConfig{} - deepcopy.Copy(m.Ports[i], o.Ports[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i]) } } @@ -2828,16 +4983,16 @@ func (m *TaskStatus) CopyFrom(src interface{}) { o := src.(*TaskStatus) *m = *o if o.Timestamp != nil { - m.Timestamp = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Timestamp, o.Timestamp) + m.Timestamp = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Timestamp, o.Timestamp) } if o.PortStatus != nil { m.PortStatus = &PortStatus{} - deepcopy.Copy(m.PortStatus, o.PortStatus) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PortStatus, o.PortStatus) } if o.AppliedAt != nil { - m.AppliedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.AppliedAt, o.AppliedAt) + m.AppliedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.AppliedAt, o.AppliedAt) } if o.RuntimeStatus != nil { switch o.RuntimeStatus.(type) { @@ -2845,7 +5000,7 @@ func (m *TaskStatus) CopyFrom(src interface{}) { v := TaskStatus_Container{ Container: &ContainerStatus{}, } - deepcopy.Copy(v.Container, o.GetContainer()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Container, o.GetContainer()) m.RuntimeStatus = &v } } @@ -2958,13 +5113,13 @@ func (m *IPAMOptions) CopyFrom(src interface{}) { *m = *o if o.Driver != nil { m.Driver = &Driver{} - deepcopy.Copy(m.Driver, o.Driver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Driver, o.Driver) } if o.Configs != nil { m.Configs = make([]*IPAMConfig, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &IPAMConfig{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -3000,7 +5155,7 @@ func (m *WeightedPeer) CopyFrom(src interface{}) { *m = *o if o.Peer != nil { m.Peer = &Peer{} - deepcopy.Copy(m.Peer, o.Peer) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Peer, o.Peer) } } @@ -3036,7 +5191,7 @@ func (m *AcceptancePolicy) CopyFrom(src interface{}) { m.Policies = make([]*AcceptancePolicy_RoleAdmissionPolicy, len(o.Policies)) for i := range m.Policies { m.Policies[i] = &AcceptancePolicy_RoleAdmissionPolicy{} - deepcopy.Copy(m.Policies[i], o.Policies[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Policies[i], o.Policies[i]) } } @@ -3057,7 +5212,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &AcceptancePolicy_RoleAdmissionPolicy_Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -3120,14 +5275,14 @@ func (m *CAConfig) CopyFrom(src interface{}) { o := src.(*CAConfig) *m = *o if o.NodeCertExpiry != nil { - m.NodeCertExpiry = &google_protobuf1.Duration{} - deepcopy.Copy(m.NodeCertExpiry, o.NodeCertExpiry) + m.NodeCertExpiry = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.NodeCertExpiry, o.NodeCertExpiry) } if o.ExternalCAs != nil { m.ExternalCAs = make([]*ExternalCA, len(o.ExternalCAs)) for i := range m.ExternalCAs { m.ExternalCAs[i] = &ExternalCA{} - deepcopy.Copy(m.ExternalCAs[i], o.ExternalCAs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ExternalCAs[i], o.ExternalCAs[i]) } } @@ -3171,7 +5326,7 @@ func (m *TaskDefaults) CopyFrom(src interface{}) { *m = *o if o.LogDriver != nil { m.LogDriver = &Driver{} - deepcopy.Copy(m.LogDriver, o.LogDriver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver) } } @@ -3189,8 +5344,8 @@ func (m *DispatcherConfig) CopyFrom(src interface{}) { o := src.(*DispatcherConfig) *m = *o if o.HeartbeatPeriod != nil { - m.HeartbeatPeriod = &google_protobuf1.Duration{} - deepcopy.Copy(m.HeartbeatPeriod, o.HeartbeatPeriod) + m.HeartbeatPeriod = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.HeartbeatPeriod, o.HeartbeatPeriod) } } @@ -3258,7 +5413,7 @@ func (m *PlacementPreference) CopyFrom(src interface{}) { v := PlacementPreference_Spread{ Spread: &SpreadOver{}, } - deepcopy.Copy(v.Spread, o.GetSpread()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Spread, o.GetSpread()) m.Preference = &v } } @@ -3287,7 +5442,7 @@ func (m *Placement) CopyFrom(src interface{}) { m.Preferences = make([]*PlacementPreference, len(o.Preferences)) for i := range m.Preferences { m.Preferences[i] = &PlacementPreference{} - deepcopy.Copy(m.Preferences[i], o.Preferences[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Preferences[i], o.Preferences[i]) } } @@ -3295,7 +5450,7 @@ func (m *Placement) CopyFrom(src interface{}) { m.Platforms = make([]*Platform, len(o.Platforms)) for i := range m.Platforms { m.Platforms[i] = &Platform{} - deepcopy.Copy(m.Platforms[i], o.Platforms[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Platforms[i], o.Platforms[i]) } } @@ -3337,10 +5492,10 @@ func (m *RootCA) CopyFrom(src interface{}) { m.CACert = make([]byte, len(o.CACert)) copy(m.CACert, o.CACert) } - deepcopy.Copy(&m.JoinTokens, &o.JoinTokens) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.JoinTokens, &o.JoinTokens) if o.RootRotation != nil { m.RootRotation = &RootRotation{} - deepcopy.Copy(m.RootRotation, o.RootRotation) + github_com_docker_swarmkit_api_deepcopy.Copy(m.RootRotation, o.RootRotation) } } @@ -3361,7 +5516,7 @@ func (m *Certificate) CopyFrom(src interface{}) { m.CSR = make([]byte, len(o.CSR)) copy(m.CSR, o.CSR) } - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) if o.Certificate != nil { m.Certificate = make([]byte, len(o.Certificate)) copy(m.Certificate, o.Certificate) @@ -3446,7 +5601,7 @@ func (m *SecretReference) CopyFrom(src interface{}) { v := SecretReference_File{ File: &FileTarget{}, } - deepcopy.Copy(v.File, o.GetFile()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.File, o.GetFile()) m.Target = &v } } @@ -3472,13 +5627,13 @@ func (m *ConfigReference) CopyFrom(src interface{}) { v := ConfigReference_File{ File: &FileTarget{}, } - deepcopy.Copy(v.File, o.GetFile()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.File, o.GetFile()) m.Target = &v case *ConfigReference_Runtime: v := ConfigReference_Runtime{ Runtime: &RuntimeTarget{}, } - deepcopy.Copy(v.Runtime, o.GetRuntime()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Runtime, o.GetRuntime()) m.Target = &v } } @@ -3499,8 +5654,8 @@ func (m *BlacklistedCertificate) CopyFrom(src interface{}) { o := src.(*BlacklistedCertificate) *m = *o if o.Expiry != nil { - m.Expiry = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Expiry, o.Expiry) + m.Expiry = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Expiry, o.Expiry) } } @@ -3523,16 +5678,16 @@ func (m *HealthConfig) CopyFrom(src interface{}) { } if o.Interval != nil { - m.Interval = &google_protobuf1.Duration{} - deepcopy.Copy(m.Interval, o.Interval) + m.Interval = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Interval, o.Interval) } if o.Timeout != nil { - m.Timeout = &google_protobuf1.Duration{} - deepcopy.Copy(m.Timeout, o.Timeout) + m.Timeout = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Timeout, o.Timeout) } if o.StartPeriod != nil { - m.StartPeriod = &google_protobuf1.Duration{} - deepcopy.Copy(m.StartPeriod, o.StartPeriod) + m.StartPeriod = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.StartPeriod, o.StartPeriod) } } @@ -3601,11 +5756,11 @@ func (m *Privileges) CopyFrom(src interface{}) { *m = *o if o.CredentialSpec != nil { m.CredentialSpec = &Privileges_CredentialSpec{} - deepcopy.Copy(m.CredentialSpec, o.CredentialSpec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.CredentialSpec, o.CredentialSpec) } if o.SELinuxContext != nil { m.SELinuxContext = &Privileges_SELinuxContext{} - deepcopy.Copy(m.SELinuxContext, o.SELinuxContext) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SELinuxContext, o.SELinuxContext) } } @@ -4568,8 +6723,8 @@ func (m *UpdateConfig) MarshalTo(dAtA []byte) (int, error) { } dAtA[i] = 0x12 i++ - i = encodeVarintTypes(dAtA, i, uint64(types.SizeOfStdDuration(m.Delay))) - n18, err := types.StdDurationMarshalTo(m.Delay, dAtA[i:]) + i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.Delay))) + n18, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Delay, dAtA[i:]) if err != nil { return 0, err } @@ -4592,7 +6747,7 @@ func (m *UpdateConfig) MarshalTo(dAtA []byte) (int, error) { if m.MaxFailureRatio != 0 { dAtA[i] = 0x2d i++ - binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxFailureRatio)))) + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxFailureRatio)))) i += 4 } if m.Order != 0 { @@ -6353,8 +8508,10 @@ func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *Version) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Index != 0 { @@ -6364,6 +8521,9 @@ func (m *Version) Size() (n int) { } func (m *IndexEntry) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Key) @@ -6378,6 +8538,9 @@ func (m *IndexEntry) Size() (n int) { } func (m *Annotations) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -6402,6 +8565,9 @@ func (m *Annotations) Size() (n int) { } func (m *NamedGenericResource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -6416,6 +8582,9 @@ func (m *NamedGenericResource) Size() (n int) { } func (m *DiscreteGenericResource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -6429,6 +8598,9 @@ func (m *DiscreteGenericResource) Size() (n int) { } func (m *GenericResource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -6438,6 +8610,9 @@ func (m *GenericResource) Size() (n int) { } func (m *GenericResource_NamedResourceSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NamedResourceSpec != nil { @@ -6447,6 +8622,9 @@ func (m *GenericResource_NamedResourceSpec) Size() (n int) { return n } func (m *GenericResource_DiscreteResourceSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.DiscreteResourceSpec != nil { @@ -6456,6 +8634,9 @@ func (m *GenericResource_DiscreteResourceSpec) Size() (n int) { return n } func (m *Resources) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NanoCPUs != 0 { @@ -6474,6 +8655,9 @@ func (m *Resources) Size() (n int) { } func (m *ResourceRequirements) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Limits != nil { @@ -6496,6 +8680,9 @@ func (m *ResourceRequirements) Size() (n int) { } func (m *Platform) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Architecture) @@ -6510,6 +8697,9 @@ func (m *Platform) Size() (n int) { } func (m *PluginDescription) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Type) @@ -6524,6 +8714,9 @@ func (m *PluginDescription) Size() (n int) { } func (m *EngineDescription) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.EngineVersion) @@ -6548,6 +8741,9 @@ func (m *EngineDescription) Size() (n int) { } func (m *NodeDescription) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Hostname) @@ -6577,6 +8773,9 @@ func (m *NodeDescription) Size() (n int) { } func (m *NodeTLSInfo) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TrustRoot) @@ -6595,6 +8794,9 @@ func (m *NodeTLSInfo) Size() (n int) { } func (m *RaftMemberStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Leader { @@ -6611,6 +8813,9 @@ func (m *RaftMemberStatus) Size() (n int) { } func (m *NodeStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.State != 0 { @@ -6628,6 +8833,9 @@ func (m *NodeStatus) Size() (n int) { } func (m *Image) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Reference) @@ -6638,6 +8846,9 @@ func (m *Image) Size() (n int) { } func (m *Mount) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Type != 0 { @@ -6673,6 +8884,9 @@ func (m *Mount) Size() (n int) { } func (m *Mount_BindOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Propagation != 0 { @@ -6685,6 +8899,9 @@ func (m *Mount_BindOptions) Size() (n int) { } func (m *Mount_VolumeOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NoCopy { @@ -6706,6 +8923,9 @@ func (m *Mount_VolumeOptions) Size() (n int) { } func (m *Mount_TmpfsOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.SizeBytes != 0 { @@ -6722,6 +8942,9 @@ func (m *Mount_TmpfsOptions) Size() (n int) { } func (m *RestartPolicy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Condition != 0 { @@ -6742,12 +8965,15 @@ func (m *RestartPolicy) Size() (n int) { } func (m *UpdateConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Parallelism != 0 { n += 1 + sovTypes(uint64(m.Parallelism)) } - l = types.SizeOfStdDuration(m.Delay) + l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Delay) n += 1 + l + sovTypes(uint64(l)) if m.FailureAction != 0 { n += 1 + sovTypes(uint64(m.FailureAction)) @@ -6766,6 +8992,9 @@ func (m *UpdateConfig) Size() (n int) { } func (m *UpdateStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.State != 0 { @@ -6787,6 +9016,9 @@ func (m *UpdateStatus) Size() (n int) { } func (m *ContainerStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ContainerID) @@ -6803,6 +9035,9 @@ func (m *ContainerStatus) Size() (n int) { } func (m *PortStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Ports) > 0 { @@ -6815,6 +9050,9 @@ func (m *PortStatus) Size() (n int) { } func (m *TaskStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Timestamp != nil { @@ -6851,6 +9089,9 @@ func (m *TaskStatus) Size() (n int) { } func (m *TaskStatus_Container) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Container != nil { @@ -6860,6 +9101,9 @@ func (m *TaskStatus_Container) Size() (n int) { return n } func (m *NetworkAttachmentConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Target) @@ -6890,6 +9134,9 @@ func (m *NetworkAttachmentConfig) Size() (n int) { } func (m *IPAMConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Family != 0 { @@ -6919,6 +9166,9 @@ func (m *IPAMConfig) Size() (n int) { } func (m *PortConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -6941,6 +9191,9 @@ func (m *PortConfig) Size() (n int) { } func (m *Driver) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -6959,6 +9212,9 @@ func (m *Driver) Size() (n int) { } func (m *IPAMOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Driver != nil { @@ -6975,6 +9231,9 @@ func (m *IPAMOptions) Size() (n int) { } func (m *Peer) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -6989,6 +9248,9 @@ func (m *Peer) Size() (n int) { } func (m *WeightedPeer) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Peer != nil { @@ -7002,6 +9264,9 @@ func (m *WeightedPeer) Size() (n int) { } func (m *IssuanceStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.State != 0 { @@ -7015,6 +9280,9 @@ func (m *IssuanceStatus) Size() (n int) { } func (m *AcceptancePolicy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Policies) > 0 { @@ -7027,6 +9295,9 @@ func (m *AcceptancePolicy) Size() (n int) { } func (m *AcceptancePolicy_RoleAdmissionPolicy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Role != 0 { @@ -7043,6 +9314,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Size() (n int) { } func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Data) @@ -7057,6 +9331,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Size() (n int) { } func (m *ExternalCA) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Protocol != 0 { @@ -7082,6 +9359,9 @@ func (m *ExternalCA) Size() (n int) { } func (m *CAConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NodeCertExpiry != nil { @@ -7109,6 +9389,9 @@ func (m *CAConfig) Size() (n int) { } func (m *OrchestrationConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.TaskHistoryRetentionLimit != 0 { @@ -7118,6 +9401,9 @@ func (m *OrchestrationConfig) Size() (n int) { } func (m *TaskDefaults) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.LogDriver != nil { @@ -7128,6 +9414,9 @@ func (m *TaskDefaults) Size() (n int) { } func (m *DispatcherConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.HeartbeatPeriod != nil { @@ -7138,6 +9427,9 @@ func (m *DispatcherConfig) Size() (n int) { } func (m *RaftConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.SnapshotInterval != 0 { @@ -7159,6 +9451,9 @@ func (m *RaftConfig) Size() (n int) { } func (m *EncryptionConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.AutoLockManagers { @@ -7168,6 +9463,9 @@ func (m *EncryptionConfig) Size() (n int) { } func (m *SpreadOver) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SpreadDescriptor) @@ -7178,6 +9476,9 @@ func (m *SpreadOver) Size() (n int) { } func (m *PlacementPreference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Preference != nil { @@ -7187,6 +9488,9 @@ func (m *PlacementPreference) Size() (n int) { } func (m *PlacementPreference_Spread) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spread != nil { @@ -7196,6 +9500,9 @@ func (m *PlacementPreference_Spread) Size() (n int) { return n } func (m *Placement) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Constraints) > 0 { @@ -7223,6 +9530,9 @@ func (m *Placement) Size() (n int) { } func (m *JoinTokens) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Worker) @@ -7237,6 +9547,9 @@ func (m *JoinTokens) Size() (n int) { } func (m *RootCA) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.CAKey) @@ -7264,6 +9577,9 @@ func (m *RootCA) Size() (n int) { } func (m *Certificate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Role != 0 { @@ -7287,6 +9603,9 @@ func (m *Certificate) Size() (n int) { } func (m *EncryptionKey) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Subsystem) @@ -7307,6 +9626,9 @@ func (m *EncryptionKey) Size() (n int) { } func (m *ManagerStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -7326,6 +9648,9 @@ func (m *ManagerStatus) Size() (n int) { } func (m *FileTarget) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -7347,12 +9672,18 @@ func (m *FileTarget) Size() (n int) { } func (m *RuntimeTarget) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *SecretReference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -7370,6 +9701,9 @@ func (m *SecretReference) Size() (n int) { } func (m *SecretReference_File) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.File != nil { @@ -7379,6 +9713,9 @@ func (m *SecretReference_File) Size() (n int) { return n } func (m *ConfigReference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -7396,6 +9733,9 @@ func (m *ConfigReference) Size() (n int) { } func (m *ConfigReference_File) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.File != nil { @@ -7405,6 +9745,9 @@ func (m *ConfigReference_File) Size() (n int) { return n } func (m *ConfigReference_Runtime) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Runtime != nil { @@ -7414,6 +9757,9 @@ func (m *ConfigReference_Runtime) Size() (n int) { return n } func (m *BlacklistedCertificate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Expiry != nil { @@ -7424,6 +9770,9 @@ func (m *BlacklistedCertificate) Size() (n int) { } func (m *HealthConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Test) > 0 { @@ -7451,6 +9800,9 @@ func (m *HealthConfig) Size() (n int) { } func (m *MaybeEncryptedRecord) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Algorithm != 0 { @@ -7468,6 +9820,9 @@ func (m *MaybeEncryptedRecord) Size() (n int) { } func (m *RootRotation) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.CACert) @@ -7486,6 +9841,9 @@ func (m *RootRotation) Size() (n int) { } func (m *Privileges) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.CredentialSpec != nil { @@ -7500,6 +9858,9 @@ func (m *Privileges) Size() (n int) { } func (m *Privileges_CredentialSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Source != nil { @@ -7509,6 +9870,9 @@ func (m *Privileges_CredentialSpec) Size() (n int) { } func (m *Privileges_CredentialSpec_File) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.File) @@ -7516,6 +9880,9 @@ func (m *Privileges_CredentialSpec_File) Size() (n int) { return n } func (m *Privileges_CredentialSpec_Registry) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Registry) @@ -7523,6 +9890,9 @@ func (m *Privileges_CredentialSpec_Registry) Size() (n int) { return n } func (m *Privileges_CredentialSpec_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Config) @@ -7530,6 +9900,9 @@ func (m *Privileges_CredentialSpec_Config) Size() (n int) { return n } func (m *Privileges_SELinuxContext) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Disable { @@ -7596,7 +9969,7 @@ func (this *Annotations) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -7681,8 +10054,8 @@ func (this *ResourceRequirements) String() string { s := strings.Join([]string{`&ResourceRequirements{`, `Limits:` + strings.Replace(fmt.Sprintf("%v", this.Limits), "Resources", "Resources", 1) + `,`, `Reservations:` + strings.Replace(fmt.Sprintf("%v", this.Reservations), "Resources", "Resources", 1) + `,`, - `SwapBytes:` + strings.Replace(fmt.Sprintf("%v", this.SwapBytes), "Int64Value", "google_protobuf2.Int64Value", 1) + `,`, - `MemorySwappiness:` + strings.Replace(fmt.Sprintf("%v", this.MemorySwappiness), "Int64Value", "google_protobuf2.Int64Value", 1) + `,`, + `SwapBytes:` + strings.Replace(fmt.Sprintf("%v", this.SwapBytes), "Int64Value", "types.Int64Value", 1) + `,`, + `MemorySwappiness:` + strings.Replace(fmt.Sprintf("%v", this.MemorySwappiness), "Int64Value", "types.Int64Value", 1) + `,`, `}`, }, "") return s @@ -7717,7 +10090,7 @@ func (this *EngineDescription) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -7828,7 +10201,7 @@ func (this *Mount_VolumeOptions) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -7860,9 +10233,9 @@ func (this *RestartPolicy) String() string { } s := strings.Join([]string{`&RestartPolicy{`, `Condition:` + fmt.Sprintf("%v", this.Condition) + `,`, - `Delay:` + strings.Replace(fmt.Sprintf("%v", this.Delay), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Delay:` + strings.Replace(fmt.Sprintf("%v", this.Delay), "Duration", "types.Duration", 1) + `,`, `MaxAttempts:` + fmt.Sprintf("%v", this.MaxAttempts) + `,`, - `Window:` + strings.Replace(fmt.Sprintf("%v", this.Window), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Window:` + strings.Replace(fmt.Sprintf("%v", this.Window), "Duration", "types.Duration", 1) + `,`, `}`, }, "") return s @@ -7873,9 +10246,9 @@ func (this *UpdateConfig) String() string { } s := strings.Join([]string{`&UpdateConfig{`, `Parallelism:` + fmt.Sprintf("%v", this.Parallelism) + `,`, - `Delay:` + strings.Replace(strings.Replace(this.Delay.String(), "Duration", "google_protobuf1.Duration", 1), `&`, ``, 1) + `,`, + `Delay:` + strings.Replace(strings.Replace(this.Delay.String(), "Duration", "types.Duration", 1), `&`, ``, 1) + `,`, `FailureAction:` + fmt.Sprintf("%v", this.FailureAction) + `,`, - `Monitor:` + strings.Replace(fmt.Sprintf("%v", this.Monitor), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Monitor:` + strings.Replace(fmt.Sprintf("%v", this.Monitor), "Duration", "types.Duration", 1) + `,`, `MaxFailureRatio:` + fmt.Sprintf("%v", this.MaxFailureRatio) + `,`, `Order:` + fmt.Sprintf("%v", this.Order) + `,`, `}`, @@ -7888,8 +10261,8 @@ func (this *UpdateStatus) String() string { } s := strings.Join([]string{`&UpdateStatus{`, `State:` + fmt.Sprintf("%v", this.State) + `,`, - `StartedAt:` + strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, - `CompletedAt:` + strings.Replace(fmt.Sprintf("%v", this.CompletedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `StartedAt:` + strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Timestamp", "types.Timestamp", 1) + `,`, + `CompletedAt:` + strings.Replace(fmt.Sprintf("%v", this.CompletedAt), "Timestamp", "types.Timestamp", 1) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, }, "") @@ -7922,14 +10295,14 @@ func (this *TaskStatus) String() string { return "nil" } s := strings.Join([]string{`&TaskStatus{`, - `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "types.Timestamp", 1) + `,`, `State:` + fmt.Sprintf("%v", this.State) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `Err:` + fmt.Sprintf("%v", this.Err) + `,`, `RuntimeStatus:` + fmt.Sprintf("%v", this.RuntimeStatus) + `,`, `PortStatus:` + strings.Replace(fmt.Sprintf("%v", this.PortStatus), "PortStatus", "PortStatus", 1) + `,`, `AppliedBy:` + fmt.Sprintf("%v", this.AppliedBy) + `,`, - `AppliedAt:` + strings.Replace(fmt.Sprintf("%v", this.AppliedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `AppliedAt:` + strings.Replace(fmt.Sprintf("%v", this.AppliedAt), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -7952,7 +10325,7 @@ func (this *NetworkAttachmentConfig) String() string { for k, _ := range this.DriverAttachmentOpts { keysForDriverAttachmentOpts = append(keysForDriverAttachmentOpts, k) } - sortkeys.Strings(keysForDriverAttachmentOpts) + github_com_gogo_protobuf_sortkeys.Strings(keysForDriverAttachmentOpts) mapStringForDriverAttachmentOpts := "map[string]string{" for _, k := range keysForDriverAttachmentOpts { mapStringForDriverAttachmentOpts += fmt.Sprintf("%v: %v,", k, this.DriverAttachmentOpts[k]) @@ -7975,7 +10348,7 @@ func (this *IPAMConfig) String() string { for k, _ := range this.Reserved { keysForReserved = append(keysForReserved, k) } - sortkeys.Strings(keysForReserved) + github_com_gogo_protobuf_sortkeys.Strings(keysForReserved) mapStringForReserved := "map[string]string{" for _, k := range keysForReserved { mapStringForReserved += fmt.Sprintf("%v: %v,", k, this.Reserved[k]) @@ -8013,7 +10386,7 @@ func (this *Driver) String() string { for k, _ := range this.Options { keysForOptions = append(keysForOptions, k) } - sortkeys.Strings(keysForOptions) + github_com_gogo_protobuf_sortkeys.Strings(keysForOptions) mapStringForOptions := "map[string]string{" for _, k := range keysForOptions { mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k]) @@ -8111,7 +10484,7 @@ func (this *ExternalCA) String() string { for k, _ := range this.Options { keysForOptions = append(keysForOptions, k) } - sortkeys.Strings(keysForOptions) + github_com_gogo_protobuf_sortkeys.Strings(keysForOptions) mapStringForOptions := "map[string]string{" for _, k := range keysForOptions { mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k]) @@ -8131,7 +10504,7 @@ func (this *CAConfig) String() string { return "nil" } s := strings.Join([]string{`&CAConfig{`, - `NodeCertExpiry:` + strings.Replace(fmt.Sprintf("%v", this.NodeCertExpiry), "Duration", "google_protobuf1.Duration", 1) + `,`, + `NodeCertExpiry:` + strings.Replace(fmt.Sprintf("%v", this.NodeCertExpiry), "Duration", "types.Duration", 1) + `,`, `ExternalCAs:` + strings.Replace(fmt.Sprintf("%v", this.ExternalCAs), "ExternalCA", "ExternalCA", 1) + `,`, `SigningCACert:` + fmt.Sprintf("%v", this.SigningCACert) + `,`, `SigningCAKey:` + fmt.Sprintf("%v", this.SigningCAKey) + `,`, @@ -8165,7 +10538,7 @@ func (this *DispatcherConfig) String() string { return "nil" } s := strings.Join([]string{`&DispatcherConfig{`, - `HeartbeatPeriod:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatPeriod), "Duration", "google_protobuf1.Duration", 1) + `,`, + `HeartbeatPeriod:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatPeriod), "Duration", "types.Duration", 1) + `,`, `}`, }, "") return s @@ -8384,7 +10757,7 @@ func (this *BlacklistedCertificate) String() string { return "nil" } s := strings.Join([]string{`&BlacklistedCertificate{`, - `Expiry:` + strings.Replace(fmt.Sprintf("%v", this.Expiry), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Expiry:` + strings.Replace(fmt.Sprintf("%v", this.Expiry), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -8395,10 +10768,10 @@ func (this *HealthConfig) String() string { } s := strings.Join([]string{`&HealthConfig{`, `Test:` + fmt.Sprintf("%v", this.Test) + `,`, - `Interval:` + strings.Replace(fmt.Sprintf("%v", this.Interval), "Duration", "google_protobuf1.Duration", 1) + `,`, - `Timeout:` + strings.Replace(fmt.Sprintf("%v", this.Timeout), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Interval:` + strings.Replace(fmt.Sprintf("%v", this.Interval), "Duration", "types.Duration", 1) + `,`, + `Timeout:` + strings.Replace(fmt.Sprintf("%v", this.Timeout), "Duration", "types.Duration", 1) + `,`, `Retries:` + fmt.Sprintf("%v", this.Retries) + `,`, - `StartPeriod:` + strings.Replace(fmt.Sprintf("%v", this.StartPeriod), "Duration", "google_protobuf1.Duration", 1) + `,`, + `StartPeriod:` + strings.Replace(fmt.Sprintf("%v", this.StartPeriod), "Duration", "types.Duration", 1) + `,`, `}`, }, "") return s @@ -8515,7 +10888,7 @@ func (m *Version) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8543,7 +10916,7 @@ func (m *Version) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Index |= (uint64(b) & 0x7F) << shift + m.Index |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8557,6 +10930,9 @@ func (m *Version) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8584,7 +10960,7 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8612,7 +10988,7 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8622,6 +10998,9 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8641,7 +11020,7 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8651,6 +11030,9 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8665,6 +11047,9 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8692,7 +11077,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8720,7 +11105,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8730,6 +11115,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8749,7 +11137,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8758,6 +11146,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8778,7 +11169,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8795,7 +11186,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8805,6 +11196,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -8821,7 +11215,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8831,6 +11225,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -8867,7 +11264,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8876,6 +11273,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8893,6 +11293,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8920,7 +11323,7 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8948,7 +11351,7 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8958,6 +11361,9 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8977,7 +11383,7 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8987,6 +11393,9 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9001,6 +11410,9 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9028,7 +11440,7 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9056,7 +11468,7 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9066,6 +11478,9 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9085,7 +11500,7 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Value |= (int64(b) & 0x7F) << shift + m.Value |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -9099,6 +11514,9 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9126,7 +11544,7 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9154,7 +11572,7 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9163,6 +11581,9 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9186,7 +11607,7 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9195,6 +11616,9 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9213,6 +11637,9 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9240,7 +11667,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9268,7 +11695,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NanoCPUs |= (int64(b) & 0x7F) << shift + m.NanoCPUs |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -9287,7 +11714,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MemoryBytes |= (int64(b) & 0x7F) << shift + m.MemoryBytes |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -9306,7 +11733,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9315,6 +11742,9 @@ func (m *Resources) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9332,6 +11762,9 @@ func (m *Resources) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9359,7 +11792,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9387,7 +11820,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9396,6 +11829,9 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9420,7 +11856,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9429,6 +11865,9 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9453,7 +11892,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9462,11 +11901,14 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.SwapBytes == nil { - m.SwapBytes = &google_protobuf2.Int64Value{} + m.SwapBytes = &types.Int64Value{} } if err := m.SwapBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9486,7 +11928,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9495,11 +11937,14 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.MemorySwappiness == nil { - m.MemorySwappiness = &google_protobuf2.Int64Value{} + m.MemorySwappiness = &types.Int64Value{} } if err := m.MemorySwappiness.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9514,6 +11959,9 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9541,7 +11989,7 @@ func (m *Platform) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9569,7 +12017,7 @@ func (m *Platform) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9579,6 +12027,9 @@ func (m *Platform) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9598,7 +12049,7 @@ func (m *Platform) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9608,6 +12059,9 @@ func (m *Platform) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9622,6 +12076,9 @@ func (m *Platform) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9649,7 +12106,7 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9677,7 +12134,7 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9687,6 +12144,9 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9706,7 +12166,7 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9716,6 +12176,9 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9730,6 +12193,9 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9757,7 +12223,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9785,7 +12251,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9795,6 +12261,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9814,7 +12283,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9823,6 +12292,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9843,7 +12315,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9860,7 +12332,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9870,6 +12342,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -9886,7 +12361,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9896,6 +12371,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -9932,7 +12410,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9941,6 +12419,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9958,6 +12439,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9985,7 +12469,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10013,7 +12497,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10023,6 +12507,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10042,7 +12529,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10051,6 +12538,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10075,7 +12565,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10084,6 +12574,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10108,7 +12601,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10117,6 +12610,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10141,7 +12637,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10150,6 +12646,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10174,7 +12673,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10189,6 +12688,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10216,7 +12718,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10244,7 +12746,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10253,6 +12755,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10275,7 +12780,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10284,6 +12789,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10306,7 +12814,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10315,6 +12823,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10332,6 +12843,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10359,7 +12873,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10387,7 +12901,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10407,7 +12921,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Reachability |= (RaftMemberStatus_Reachability(b) & 0x7F) << shift + m.Reachability |= RaftMemberStatus_Reachability(b&0x7F) << shift if b < 0x80 { break } @@ -10426,7 +12940,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10436,6 +12950,9 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10450,6 +12967,9 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10477,7 +12997,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10505,7 +13025,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (NodeStatus_State(b) & 0x7F) << shift + m.State |= NodeStatus_State(b&0x7F) << shift if b < 0x80 { break } @@ -10524,7 +13044,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10534,6 +13054,9 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10553,7 +13076,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10563,6 +13086,9 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10577,6 +13103,9 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10604,7 +13133,7 @@ func (m *Image) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10632,7 +13161,7 @@ func (m *Image) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10642,6 +13171,9 @@ func (m *Image) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10656,6 +13188,9 @@ func (m *Image) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10683,7 +13218,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10711,7 +13246,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= (Mount_MountType(b) & 0x7F) << shift + m.Type |= Mount_MountType(b&0x7F) << shift if b < 0x80 { break } @@ -10730,7 +13265,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10740,6 +13275,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10759,7 +13297,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10769,6 +13307,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10788,7 +13329,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10808,7 +13349,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10817,6 +13358,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10841,7 +13385,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10850,6 +13394,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10874,7 +13421,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10883,6 +13430,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10907,7 +13457,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Consistency |= (Mount_MountConsistency(b) & 0x7F) << shift + m.Consistency |= Mount_MountConsistency(b&0x7F) << shift if b < 0x80 { break } @@ -10921,6 +13471,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10948,7 +13501,7 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10976,7 +13529,7 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Propagation |= (Mount_BindOptions_MountPropagation(b) & 0x7F) << shift + m.Propagation |= Mount_BindOptions_MountPropagation(b&0x7F) << shift if b < 0x80 { break } @@ -10995,7 +13548,7 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11010,6 +13563,9 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11037,7 +13593,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11065,7 +13621,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11085,7 +13641,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11094,6 +13650,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11114,7 +13673,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11131,7 +13690,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11141,6 +13700,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -11157,7 +13719,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11167,6 +13729,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -11203,7 +13768,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11212,6 +13777,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11231,6 +13799,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11258,7 +13829,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11286,7 +13857,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SizeBytes |= (int64(b) & 0x7F) << shift + m.SizeBytes |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -11305,7 +13876,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= (os.FileMode(b) & 0x7F) << shift + m.Mode |= os.FileMode(b&0x7F) << shift if b < 0x80 { break } @@ -11324,7 +13895,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11334,6 +13905,9 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11348,6 +13922,9 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11375,7 +13952,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11403,7 +13980,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Condition |= (RestartPolicy_RestartCondition(b) & 0x7F) << shift + m.Condition |= RestartPolicy_RestartCondition(b&0x7F) << shift if b < 0x80 { break } @@ -11422,7 +13999,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11431,11 +14008,14 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Delay == nil { - m.Delay = &google_protobuf1.Duration{} + m.Delay = &types.Duration{} } if err := m.Delay.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11455,7 +14035,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxAttempts |= (uint64(b) & 0x7F) << shift + m.MaxAttempts |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11474,7 +14054,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11483,11 +14063,14 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Window == nil { - m.Window = &google_protobuf1.Duration{} + m.Window = &types.Duration{} } if err := m.Window.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11502,6 +14085,9 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11529,7 +14115,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11557,7 +14143,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Parallelism |= (uint64(b) & 0x7F) << shift + m.Parallelism |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11576,7 +14162,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11585,10 +14171,13 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } - if err := types.StdDurationUnmarshal(&m.Delay, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Delay, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11606,7 +14195,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.FailureAction |= (UpdateConfig_FailureAction(b) & 0x7F) << shift + m.FailureAction |= UpdateConfig_FailureAction(b&0x7F) << shift if b < 0x80 { break } @@ -11625,7 +14214,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11634,11 +14223,14 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Monitor == nil { - m.Monitor = &google_protobuf1.Duration{} + m.Monitor = &types.Duration{} } if err := m.Monitor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11652,7 +14244,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { if (iNdEx + 4) > l { return io.ErrUnexpectedEOF } - v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) iNdEx += 4 m.MaxFailureRatio = float32(math.Float32frombits(v)) case 6: @@ -11669,7 +14261,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Order |= (UpdateConfig_UpdateOrder(b) & 0x7F) << shift + m.Order |= UpdateConfig_UpdateOrder(b&0x7F) << shift if b < 0x80 { break } @@ -11683,6 +14275,9 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11710,7 +14305,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11738,7 +14333,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (UpdateStatus_UpdateState(b) & 0x7F) << shift + m.State |= UpdateStatus_UpdateState(b&0x7F) << shift if b < 0x80 { break } @@ -11757,7 +14352,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11766,11 +14361,14 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.StartedAt == nil { - m.StartedAt = &google_protobuf.Timestamp{} + m.StartedAt = &types.Timestamp{} } if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11790,7 +14388,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11799,11 +14397,14 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.CompletedAt == nil { - m.CompletedAt = &google_protobuf.Timestamp{} + m.CompletedAt = &types.Timestamp{} } if err := m.CompletedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11823,7 +14424,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11833,6 +14434,9 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11847,6 +14451,9 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11874,7 +14481,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11902,7 +14509,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11912,6 +14519,9 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11931,7 +14541,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PID |= (int32(b) & 0x7F) << shift + m.PID |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -11950,7 +14560,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ExitCode |= (int32(b) & 0x7F) << shift + m.ExitCode |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -11964,6 +14574,9 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11991,7 +14604,7 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12019,7 +14632,7 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12028,6 +14641,9 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12045,6 +14661,9 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12072,7 +14691,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12100,7 +14719,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12109,11 +14728,14 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Timestamp == nil { - m.Timestamp = &google_protobuf.Timestamp{} + m.Timestamp = &types.Timestamp{} } if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12133,7 +14755,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (TaskState(b) & 0x7F) << shift + m.State |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -12152,7 +14774,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12162,6 +14784,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12181,7 +14806,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12191,6 +14816,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12210,7 +14838,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12219,6 +14847,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12242,7 +14873,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12251,6 +14882,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12275,7 +14909,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12285,6 +14919,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12304,7 +14941,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12313,11 +14950,14 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.AppliedAt == nil { - m.AppliedAt = &google_protobuf.Timestamp{} + m.AppliedAt = &types.Timestamp{} } if err := m.AppliedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12332,6 +14972,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12359,7 +15002,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12387,7 +15030,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12397,6 +15040,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12416,7 +15062,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12426,6 +15072,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12445,7 +15094,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12455,6 +15104,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12474,7 +15126,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12483,6 +15135,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12503,7 +15158,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12520,7 +15175,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12530,6 +15185,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -12546,7 +15204,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12556,6 +15214,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -12587,6 +15248,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12614,7 +15278,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12642,7 +15306,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Family |= (IPAMConfig_AddressFamily(b) & 0x7F) << shift + m.Family |= IPAMConfig_AddressFamily(b&0x7F) << shift if b < 0x80 { break } @@ -12661,7 +15325,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12671,6 +15335,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12690,7 +15357,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12700,6 +15367,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12719,7 +15389,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12729,6 +15399,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12748,7 +15421,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12757,6 +15430,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12777,7 +15453,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12794,7 +15470,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12804,6 +15480,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -12820,7 +15499,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12830,6 +15509,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -12861,6 +15543,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12888,7 +15573,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12916,7 +15601,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12926,6 +15611,9 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12945,7 +15633,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Protocol |= (PortConfig_Protocol(b) & 0x7F) << shift + m.Protocol |= PortConfig_Protocol(b&0x7F) << shift if b < 0x80 { break } @@ -12964,7 +15652,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TargetPort |= (uint32(b) & 0x7F) << shift + m.TargetPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -12983,7 +15671,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PublishedPort |= (uint32(b) & 0x7F) << shift + m.PublishedPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -13002,7 +15690,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PublishMode |= (PortConfig_PublishMode(b) & 0x7F) << shift + m.PublishMode |= PortConfig_PublishMode(b&0x7F) << shift if b < 0x80 { break } @@ -13016,6 +15704,9 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13043,7 +15734,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13071,7 +15762,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13081,6 +15772,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13100,7 +15794,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13109,6 +15803,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13129,7 +15826,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13146,7 +15843,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13156,6 +15853,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -13172,7 +15872,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13182,6 +15882,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -13213,6 +15916,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13240,7 +15946,7 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13268,7 +15974,7 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13277,6 +15983,9 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13301,7 +16010,7 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13310,6 +16019,9 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13327,6 +16039,9 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13354,7 +16069,7 @@ func (m *Peer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13382,7 +16097,7 @@ func (m *Peer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13392,6 +16107,9 @@ func (m *Peer) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13411,7 +16129,7 @@ func (m *Peer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13421,6 +16139,9 @@ func (m *Peer) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13435,6 +16156,9 @@ func (m *Peer) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13462,7 +16186,7 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13490,7 +16214,7 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13499,6 +16223,9 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13523,7 +16250,7 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Weight |= (int64(b) & 0x7F) << shift + m.Weight |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -13537,6 +16264,9 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13564,7 +16294,7 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13592,7 +16322,7 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (IssuanceStatus_State(b) & 0x7F) << shift + m.State |= IssuanceStatus_State(b&0x7F) << shift if b < 0x80 { break } @@ -13611,7 +16341,7 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13621,6 +16351,9 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13635,6 +16368,9 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13662,7 +16398,7 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13690,7 +16426,7 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13699,6 +16435,9 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13716,6 +16455,9 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13743,7 +16485,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13771,7 +16513,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -13790,7 +16532,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13810,7 +16552,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13819,6 +16561,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13838,6 +16583,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13865,7 +16613,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13893,7 +16641,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13902,6 +16650,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13924,7 +16675,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13934,6 +16685,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13948,6 +16702,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13975,7 +16732,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14003,7 +16760,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Protocol |= (ExternalCA_CAProtocol(b) & 0x7F) << shift + m.Protocol |= ExternalCA_CAProtocol(b&0x7F) << shift if b < 0x80 { break } @@ -14022,7 +16779,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14032,6 +16789,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14051,7 +16811,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14060,6 +16820,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14080,7 +16843,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14097,7 +16860,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14107,6 +16870,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -14123,7 +16889,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14133,6 +16899,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -14169,7 +16938,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14178,6 +16947,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14195,6 +16967,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14222,7 +16997,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14250,7 +17025,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14259,11 +17034,14 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.NodeCertExpiry == nil { - m.NodeCertExpiry = &google_protobuf1.Duration{} + m.NodeCertExpiry = &types.Duration{} } if err := m.NodeCertExpiry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14283,7 +17061,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14292,6 +17070,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14314,7 +17095,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14323,6 +17104,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14345,7 +17129,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14354,6 +17138,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14376,7 +17163,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ForceRotate |= (uint64(b) & 0x7F) << shift + m.ForceRotate |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14390,6 +17177,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14417,7 +17207,7 @@ func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14445,7 +17235,7 @@ func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TaskHistoryRetentionLimit |= (int64(b) & 0x7F) << shift + m.TaskHistoryRetentionLimit |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -14459,6 +17249,9 @@ func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14486,7 +17279,7 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14514,7 +17307,7 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14523,6 +17316,9 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14542,6 +17338,9 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14569,7 +17368,7 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14597,7 +17396,7 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14606,11 +17405,14 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.HeartbeatPeriod == nil { - m.HeartbeatPeriod = &google_protobuf1.Duration{} + m.HeartbeatPeriod = &types.Duration{} } if err := m.HeartbeatPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14625,6 +17427,9 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14652,7 +17457,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14680,7 +17485,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SnapshotInterval |= (uint64(b) & 0x7F) << shift + m.SnapshotInterval |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14699,7 +17504,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeepOldSnapshots |= (uint64(b) & 0x7F) << shift + m.KeepOldSnapshots |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14718,7 +17523,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LogEntriesForSlowFollowers |= (uint64(b) & 0x7F) << shift + m.LogEntriesForSlowFollowers |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14737,7 +17542,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.HeartbeatTick |= (uint32(b) & 0x7F) << shift + m.HeartbeatTick |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -14756,7 +17561,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ElectionTick |= (uint32(b) & 0x7F) << shift + m.ElectionTick |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -14770,6 +17575,9 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14797,7 +17605,7 @@ func (m *EncryptionConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14825,7 +17633,7 @@ func (m *EncryptionConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14840,6 +17648,9 @@ func (m *EncryptionConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14867,7 +17678,7 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14895,7 +17706,7 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14905,6 +17716,9 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14919,6 +17733,9 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14946,7 +17763,7 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14974,7 +17791,7 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14983,6 +17800,9 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15001,6 +17821,9 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15028,7 +17851,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15056,7 +17879,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15066,6 +17889,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15085,7 +17911,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15094,6 +17920,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15116,7 +17945,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15125,6 +17954,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15147,7 +17979,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxReplicas |= (uint64(b) & 0x7F) << shift + m.MaxReplicas |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15161,6 +17993,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15188,7 +18023,7 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15216,7 +18051,7 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15226,6 +18061,9 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15245,7 +18083,7 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15255,6 +18093,9 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15269,6 +18110,9 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15296,7 +18140,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15324,7 +18168,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15333,6 +18177,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15355,7 +18202,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15364,6 +18211,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15386,7 +18236,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15396,6 +18246,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15415,7 +18268,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15424,6 +18277,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15445,7 +18301,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15454,6 +18310,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15478,7 +18337,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LastForcedRotation |= (uint64(b) & 0x7F) << shift + m.LastForcedRotation |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15492,6 +18351,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15519,7 +18381,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15547,7 +18409,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -15566,7 +18428,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15575,6 +18437,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15597,7 +18462,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15606,6 +18471,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15627,7 +18495,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15636,6 +18504,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15658,7 +18529,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15668,6 +18539,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15682,6 +18556,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15709,7 +18586,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15737,7 +18614,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15747,6 +18624,9 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15766,7 +18646,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Algorithm |= (EncryptionKey_Algorithm(b) & 0x7F) << shift + m.Algorithm |= EncryptionKey_Algorithm(b&0x7F) << shift if b < 0x80 { break } @@ -15785,7 +18665,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15794,6 +18674,9 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15816,7 +18699,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LamportTime |= (uint64(b) & 0x7F) << shift + m.LamportTime |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15830,6 +18713,9 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15857,7 +18743,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15885,7 +18771,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15904,7 +18790,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15914,6 +18800,9 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15933,7 +18822,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15953,7 +18842,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Reachability |= (RaftMemberStatus_Reachability(b) & 0x7F) << shift + m.Reachability |= RaftMemberStatus_Reachability(b&0x7F) << shift if b < 0x80 { break } @@ -15967,6 +18856,9 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15994,7 +18886,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16022,7 +18914,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16032,6 +18924,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16051,7 +18946,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16061,6 +18956,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16080,7 +18978,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16090,6 +18988,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16109,7 +19010,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= (os.FileMode(b) & 0x7F) << shift + m.Mode |= os.FileMode(b&0x7F) << shift if b < 0x80 { break } @@ -16123,6 +19024,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16150,7 +19054,7 @@ func (m *RuntimeTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16173,6 +19077,9 @@ func (m *RuntimeTarget) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16200,7 +19107,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16228,7 +19135,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16238,6 +19145,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16257,7 +19167,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16267,6 +19177,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16286,7 +19199,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16295,6 +19208,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16313,6 +19229,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16340,7 +19259,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16368,7 +19287,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16378,6 +19297,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16397,7 +19319,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16407,6 +19329,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16426,7 +19351,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16435,6 +19360,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16458,7 +19386,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16467,6 +19395,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16485,6 +19416,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16512,7 +19446,7 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16540,7 +19474,7 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16549,11 +19483,14 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Expiry == nil { - m.Expiry = &google_protobuf.Timestamp{} + m.Expiry = &types.Timestamp{} } if err := m.Expiry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16568,6 +19505,9 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16595,7 +19535,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16623,7 +19563,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16633,6 +19573,9 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16652,7 +19595,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16661,11 +19604,14 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Interval == nil { - m.Interval = &google_protobuf1.Duration{} + m.Interval = &types.Duration{} } if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16685,7 +19631,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16694,11 +19640,14 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Timeout == nil { - m.Timeout = &google_protobuf1.Duration{} + m.Timeout = &types.Duration{} } if err := m.Timeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16718,7 +19667,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Retries |= (int32(b) & 0x7F) << shift + m.Retries |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -16737,7 +19686,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16746,11 +19695,14 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.StartPeriod == nil { - m.StartPeriod = &google_protobuf1.Duration{} + m.StartPeriod = &types.Duration{} } if err := m.StartPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16765,6 +19717,9 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16792,7 +19747,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16820,7 +19775,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Algorithm |= (MaybeEncryptedRecord_Algorithm(b) & 0x7F) << shift + m.Algorithm |= MaybeEncryptedRecord_Algorithm(b&0x7F) << shift if b < 0x80 { break } @@ -16839,7 +19794,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16848,6 +19803,9 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16870,7 +19828,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16879,6 +19837,9 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16896,6 +19857,9 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16923,7 +19887,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16951,7 +19915,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16960,6 +19924,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16982,7 +19949,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16991,6 +19958,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17013,7 +19983,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17022,6 +19992,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17039,6 +20012,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17066,7 +20042,7 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17094,7 +20070,7 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17103,6 +20079,9 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17127,7 +20106,7 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17136,6 +20115,9 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17155,6 +20137,9 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17182,7 +20167,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17210,7 +20195,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17220,6 +20205,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17239,7 +20227,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17249,6 +20237,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17268,7 +20259,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17278,6 +20269,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17292,6 +20286,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17319,7 +20316,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17347,7 +20344,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17367,7 +20364,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17377,6 +20374,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17396,7 +20396,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17406,6 +20406,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17425,7 +20428,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17435,6 +20438,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17454,7 +20460,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17464,6 +20470,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17478,6 +20487,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17544,10 +20556,13 @@ func skipTypes(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthTypes } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthTypes + } return iNdEx, nil case 3: for { @@ -17576,6 +20591,9 @@ func skipTypes(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthTypes + } } return iNdEx, nil case 4: @@ -17594,339 +20612,3 @@ var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/types.proto", fileDescriptorTypes) } - -var fileDescriptorTypes = []byte{ - // 5274 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0x4d, 0x70, 0x23, 0x49, - 0x56, 0xb6, 0x64, 0x49, 0x96, 0x9e, 0x64, 0xbb, 0x9c, 0xed, 0xed, 0x71, 0x6b, 0x7a, 0x6c, 0x4d, - 0xcd, 0xcc, 0xce, 0x6c, 0xef, 0xa0, 0xfe, 0x9b, 0x9d, 0xe8, 0x99, 0x61, 0x76, 0x46, 0x7f, 0x6e, - 0x6b, 0xdb, 0x96, 0x14, 0x29, 0xb9, 0x7b, 0x97, 0x08, 0x28, 0xca, 0x55, 0x69, 0xb9, 0xc6, 0xa5, - 0xca, 0xa2, 0xaa, 0x64, 0xb7, 0x58, 0x08, 0xe6, 0x04, 0x84, 0x6f, 0x5c, 0x96, 0xdd, 0x20, 0x1c, - 0x41, 0x04, 0xdc, 0x38, 0x70, 0xe0, 0xc0, 0xc2, 0x69, 0x88, 0x20, 0x88, 0x0d, 0x2e, 0xb0, 0x10, - 0x01, 0x1b, 0x40, 0x18, 0xc6, 0x07, 0x6e, 0x04, 0x5c, 0x08, 0x2e, 0x1c, 0x88, 0xfc, 0xa9, 0x52, - 0x59, 0x5d, 0xb6, 0x67, 0x76, 0xb9, 0xd8, 0xca, 0xf7, 0xbe, 0xf7, 0x32, 0xf3, 0x65, 0xe6, 0xcb, - 0xf7, 0x5e, 0x16, 0xdc, 0x19, 0x5a, 0xc1, 0xc1, 0x78, 0xaf, 0x6a, 0xd0, 0xd1, 0x5d, 0x93, 0x1a, - 0x87, 0xc4, 0xbb, 0xeb, 0x1f, 0xeb, 0xde, 0xe8, 0xd0, 0x0a, 0xee, 0xea, 0xae, 0x75, 0x37, 0x98, - 0xb8, 0xc4, 0xaf, 0x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0x7a, 0xad, 0xf1, 0x44, 0x49, 0xab, 0x55, 0x28, 0xc6, 0xb4, - 0xa1, 0x25, 0x80, 0xfe, 0xa0, 0xdb, 0xd3, 0x36, 0xdb, 0xb8, 0x3f, 0x10, 0x91, 0x69, 0x7f, 0x50, - 0xc3, 0x03, 0x49, 0x48, 0xa9, 0xff, 0x99, 0x0e, 0x57, 0x54, 0x06, 0xa3, 0xf5, 0x8b, 0xc1, 0xe8, - 0x15, 0x83, 0x97, 0xe1, 0xe8, 0xb4, 0x11, 0x05, 0xa5, 0xef, 0x01, 0xf0, 0x8d, 0x43, 0x4c, 0x4d, - 0x0f, 0xe4, 0xc2, 0x97, 0x5f, 0x30, 0xf2, 0x20, 0xac, 0x04, 0xe2, 0x82, 0x44, 0xd7, 0x02, 0xf4, - 0x21, 0x94, 0x0c, 0x3a, 0x72, 0x6d, 0x22, 0x85, 0xe7, 0xaf, 0x15, 0x2e, 0x46, 0xf8, 0x5a, 0x10, - 0x0f, 0x87, 0x33, 0x17, 0x03, 0xf6, 0xdf, 0x4c, 0x85, 0x96, 0x49, 0x88, 0x80, 0x4b, 0x90, 0xdf, - 0xed, 0x35, 0x6b, 0x83, 0x76, 0xe7, 0xb1, 0x92, 0x42, 0x00, 0x39, 0x6e, 0xea, 0xa6, 0x92, 0x66, - 0x91, 0x7b, 0xa3, 0xbb, 0xd3, 0xdb, 0x6e, 0x71, 0x8f, 0x85, 0x56, 0x41, 0x09, 0x8d, 0xad, 0x71, - 0x43, 0xb6, 0x9a, 0x4a, 0x06, 0xdd, 0x80, 0xe5, 0x88, 0x2a, 0x25, 0xb3, 0xe8, 0x26, 0xa0, 0x88, - 0x38, 0x55, 0x91, 0x53, 0x7f, 0x1d, 0x96, 0x1b, 0xd4, 0x09, 0x74, 0xcb, 0x89, 0xb2, 0x9a, 0x07, - 0x6c, 0xd2, 0x92, 0xa4, 0x59, 0xb2, 0x42, 0x56, 0x5f, 0x3e, 0x3f, 0xdb, 0x28, 0x46, 0xd0,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0x26, 0xb2, 0xc9, 0xd1, 0x44, 0x5c, 0x67, 0xb5, 0x16, 0x8a, 0xe0, 0xa9, 0x74, 0x18, 0x1a, 0x88, - 0xcf, 0x22, 0x78, 0x68, 0xf0, 0x2a, 0x94, 0x6c, 0x7d, 0xc4, 0xeb, 0x4f, 0x81, 0x35, 0x22, 0xe1, - 0x61, 0x90, 0xb4, 0x81, 0x35, 0x22, 0xaa, 0x0a, 0x85, 0x48, 0x19, 0x5a, 0x86, 0x62, 0xad, 0xd5, - 0xd7, 0xee, 0x3f, 0x78, 0xa4, 0x3d, 0x6e, 0xec, 0x28, 0x73, 0x32, 0x7c, 0xfd, 0xd3, 0x14, 0x2c, - 0x4a, 0x8f, 0x25, 0x53, 0x82, 0xd7, 0x60, 0xc1, 0xd3, 0xf7, 0x83, 0x30, 0x69, 0xc9, 0x88, 0x5d, - 0xcd, 0x2e, 0x01, 0x96, 0xb4, 0x30, 0x56, 0x72, 0xd2, 0x12, 0xfb, 0x06, 0x63, 0xfe, 0xca, 0x6f, - 0x30, 0x32, 0xff, 0x2f, 0xdf, 0x60, 0xa8, 0xbf, 0x01, 0xb0, 0x69, 0xd9, 0x64, 0x20, 0x4a, 0x55, - 0x49, 0x29, 0x28, 0x0b, 0xf3, 0x64, 0x29, 0x34, 0x0c, 0xf3, 0xda, 0x4d, 0xcc, 0x68, 0x8c, 0x35, - 0xb4, 0x4c, 0x79, 0x18, 0x39, 0xeb, 0x31, 0x63, 0x0d, 0x2d, 0x33, 0x7a, 0xf6, 0xcb, 0x5c, 0xf3, - 0xec, 0xa7, 0x2e, 0xc3, 0x22, 0x16, 0x35, 0x36, 0x31, 0x06, 0xf5, 0x34, 0x05, 0xcb, 0x32, 0xde, - 0x8d, 0x5c, 0xf6, 0xd7, 0xa0, 0x20, 0x42, 0xdf, 0x69, 0x12, 0xc8, 0x3f, 0x44, 0x10, 0xb8, 0x76, - 0x13, 0xe7, 0x05, 0xbb, 0x6d, 0xa2, 0x0d, 0x28, 0x4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0x18, 0x58, 0x34, 0xee, 0xdc, 0x83, 0x52, 0xf8, - 0xa9, 0x28, 0xff, 0x66, 0x24, 0x0f, 0x99, 0x41, 0xad, 0xff, 0x44, 0x99, 0x43, 0x00, 0x39, 0xb1, - 0xc7, 0xc5, 0x23, 0x64, 0xa3, 0xdb, 0xd9, 0x6c, 0x3f, 0x56, 0xd2, 0x77, 0x7e, 0x37, 0x03, 0x85, - 0xe8, 0x19, 0x8c, 0xdd, 0x69, 0x9d, 0xd6, 0xb3, 0xf0, 0x90, 0x44, 0xf4, 0x0e, 0x39, 0x46, 0xaf, - 0x4e, 0x0b, 0x68, 0x1f, 0x8b, 0x77, 0xff, 0x88, 0x1d, 0x16, 0xcf, 0x5e, 0x87, 0x7c, 0xad, 0xdf, - 0x6f, 0x3f, 0xee, 0xb4, 0x9a, 0xca, 0x67, 0xa9, 0xf2, 0x57, 0x4e, 0x4e, 0x2b, 0x2b, 0x11, 0xa8, - 0xe6, 0x8b, 0x6d, 0xc9, 0x51, 0x8d, 0x46, 0xab, 0x37, 0x68, 0x35, 0x95, 0x4f, 0xd3, 0xb3, 0x28, - 0x5e, 0x10, 0xe2, 0xdf, 0x33, 0x15, 0x7a, 0xb8, 0xd5, 0xab, 0x61, 0xd6, 0xe1, 0x67, 0x69, 0x51, - 0xd7, 0x9b, 0xf6, 0xe8, 0x11, 0x57, 0xf7, 0x58, 0x9f, 0xeb, 0xe1, 0x67, 0x85, 0x9f, 0xce, 0x8b, - 0x0f, 0x5b, 0xa6, 0x6f, 0x7a, 0x44, 0x37, 0x27, 0xac, 0x37, 0xfe, 0x98, 0xca, 0xd5, 0xcc, 0xcf, - 0xf4, 0xd6, 0x67, 0x3e, 0x8c, 0x69, 0x51, 0x61, 0x01, 0xef, 0x76, 0x3a, 0x0c, 0xf4, 0x69, 0x66, - 0x66, 0x76, 0x78, 0xec, 0xb0, 0x64, 0x1f, 0xbd, 0x01, 0xf9, 0xf0, 0xad, 0x55, 0xf9, 0x2c, 0x33, -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6, 0x47, 0x4c, 0x21, 0x34, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/watch.pb.go b/vendor/github.com/docker/swarmkit/api/watch.pb.go index 9d152514cc..c3b7b75c4b 100644 --- a/vendor/github.com/docker/swarmkit/api/watch.pb.go +++ b/vendor/github.com/docker/swarmkit/api/watch.pb.go @@ -3,34 +3,37 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // WatchActionKind distinguishes between creations, updates, and removals. It // is structured as a bitmap so multiple kinds of events can be requested with // a mask. @@ -49,6 +52,7 @@ var WatchActionKind_name = map[int32]string{ 2: "WATCH_ACTION_UPDATE", 4: "WATCH_ACTION_REMOVE", } + var WatchActionKind_value = map[string]int32{ "WATCH_ACTION_UNKNOWN": 0, "WATCH_ACTION_CREATE": 1, @@ -59,7 +63,10 @@ var WatchActionKind_value = map[string]int32{ func (x WatchActionKind) String() string { return proto.EnumName(WatchActionKind_name, int32(x)) } -func (WatchActionKind) EnumDescriptor() ([]byte, []int) { return fileDescriptorWatch, []int{0} } + +func (WatchActionKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{0} +} type Object struct { // Types that are valid to be assigned to Object: @@ -75,9 +82,37 @@ type Object struct { Object isObject_Object `protobuf_oneof:"Object"` } -func (m *Object) Reset() { *m = Object{} } -func (*Object) ProtoMessage() {} -func (*Object) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{0} } +func (m *Object) Reset() { *m = Object{} } +func (*Object) ProtoMessage() {} +func (*Object) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{0} +} +func (m *Object) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Object.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Object) XXX_Merge(src proto.Message) { + xxx_messageInfo_Object.Merge(m, src) +} +func (m *Object) XXX_Size() int { + return m.Size() +} +func (m *Object) XXX_DiscardUnknown() { + xxx_messageInfo_Object.DiscardUnknown(m) +} + +var xxx_messageInfo_Object proto.InternalMessageInfo type isObject_Object interface { isObject_Object() @@ -86,31 +121,31 @@ type isObject_Object interface { } type Object_Node struct { - Node *Node `protobuf:"bytes,1,opt,name=node,oneof"` + Node *Node `protobuf:"bytes,1,opt,name=node,proto3,oneof"` } type Object_Service struct { - Service *Service `protobuf:"bytes,2,opt,name=service,oneof"` + Service *Service `protobuf:"bytes,2,opt,name=service,proto3,oneof"` } type Object_Network struct { - Network *Network `protobuf:"bytes,3,opt,name=network,oneof"` + Network *Network `protobuf:"bytes,3,opt,name=network,proto3,oneof"` } type Object_Task struct { - Task *Task `protobuf:"bytes,4,opt,name=task,oneof"` + Task *Task `protobuf:"bytes,4,opt,name=task,proto3,oneof"` } type Object_Cluster struct { - Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,oneof"` + Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,proto3,oneof"` } type Object_Secret struct { - Secret *Secret `protobuf:"bytes,6,opt,name=secret,oneof"` + Secret *Secret `protobuf:"bytes,6,opt,name=secret,proto3,oneof"` } type Object_Resource struct { - Resource *Resource `protobuf:"bytes,7,opt,name=resource,oneof"` + Resource *Resource `protobuf:"bytes,7,opt,name=resource,proto3,oneof"` } type Object_Extension struct { - Extension *Extension `protobuf:"bytes,8,opt,name=extension,oneof"` + Extension *Extension `protobuf:"bytes,8,opt,name=extension,proto3,oneof"` } type Object_Config struct { - Config *Config `protobuf:"bytes,9,opt,name=config,oneof"` + Config *Config `protobuf:"bytes,9,opt,name=config,proto3,oneof"` } func (*Object_Node) isObject_Object() {} @@ -350,47 +385,47 @@ func _Object_OneofSizer(msg proto.Message) (n int) { switch x := m.Object.(type) { case *Object_Node: s := proto.Size(x.Node) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Service: s := proto.Size(x.Service) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Network: s := proto.Size(x.Network) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Task: s := proto.Size(x.Task) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Cluster: s := proto.Size(x.Cluster) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Secret: s := proto.Size(x.Secret) - n += proto.SizeVarint(6<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Resource: s := proto.Size(x.Resource) - n += proto.SizeVarint(7<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Extension: s := proto.Size(x.Extension) - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Config: s := proto.Size(x.Config) - n += proto.SizeVarint(9<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -407,9 +442,37 @@ type SelectBySlot struct { Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"` } -func (m *SelectBySlot) Reset() { *m = SelectBySlot{} } -func (*SelectBySlot) ProtoMessage() {} -func (*SelectBySlot) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{1} } +func (m *SelectBySlot) Reset() { *m = SelectBySlot{} } +func (*SelectBySlot) ProtoMessage() {} +func (*SelectBySlot) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{1} +} +func (m *SelectBySlot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SelectBySlot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SelectBySlot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SelectBySlot) XXX_Merge(src proto.Message) { + xxx_messageInfo_SelectBySlot.Merge(m, src) +} +func (m *SelectBySlot) XXX_Size() int { + return m.Size() +} +func (m *SelectBySlot) XXX_DiscardUnknown() { + xxx_messageInfo_SelectBySlot.DiscardUnknown(m) +} + +var xxx_messageInfo_SelectBySlot proto.InternalMessageInfo type SelectByCustom struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` @@ -417,9 +480,37 @@ type SelectByCustom struct { Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` } -func (m *SelectByCustom) Reset() { *m = SelectByCustom{} } -func (*SelectByCustom) ProtoMessage() {} -func (*SelectByCustom) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{2} } +func (m *SelectByCustom) Reset() { *m = SelectByCustom{} } +func (*SelectByCustom) ProtoMessage() {} +func (*SelectByCustom) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{2} +} +func (m *SelectByCustom) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SelectByCustom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SelectByCustom.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SelectByCustom) XXX_Merge(src proto.Message) { + xxx_messageInfo_SelectByCustom.Merge(m, src) +} +func (m *SelectByCustom) XXX_Size() int { + return m.Size() +} +func (m *SelectByCustom) XXX_DiscardUnknown() { + xxx_messageInfo_SelectByCustom.DiscardUnknown(m) +} + +var xxx_messageInfo_SelectByCustom proto.InternalMessageInfo type SelectBy struct { // TODO(aaronl): Are all of these things we want to expose in @@ -446,9 +537,37 @@ type SelectBy struct { By isSelectBy_By `protobuf_oneof:"By"` } -func (m *SelectBy) Reset() { *m = SelectBy{} } -func (*SelectBy) ProtoMessage() {} -func (*SelectBy) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{3} } +func (m *SelectBy) Reset() { *m = SelectBy{} } +func (*SelectBy) ProtoMessage() {} +func (*SelectBy) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{3} +} +func (m *SelectBy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SelectBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SelectBy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SelectBy) XXX_Merge(src proto.Message) { + xxx_messageInfo_SelectBy.Merge(m, src) +} +func (m *SelectBy) XXX_Size() int { + return m.Size() +} +func (m *SelectBy) XXX_DiscardUnknown() { + xxx_messageInfo_SelectBy.DiscardUnknown(m) +} + +var xxx_messageInfo_SelectBy proto.InternalMessageInfo type isSelectBy_By interface { isSelectBy_By() @@ -469,10 +588,10 @@ type SelectBy_NamePrefix struct { NamePrefix string `protobuf:"bytes,4,opt,name=name_prefix,json=namePrefix,proto3,oneof"` } type SelectBy_Custom struct { - Custom *SelectByCustom `protobuf:"bytes,5,opt,name=custom,oneof"` + Custom *SelectByCustom `protobuf:"bytes,5,opt,name=custom,proto3,oneof"` } type SelectBy_CustomPrefix struct { - CustomPrefix *SelectByCustom `protobuf:"bytes,6,opt,name=custom_prefix,json=customPrefix,oneof"` + CustomPrefix *SelectByCustom `protobuf:"bytes,6,opt,name=custom_prefix,json=customPrefix,proto3,oneof"` } type SelectBy_ServiceID struct { ServiceID string `protobuf:"bytes,7,opt,name=service_id,json=serviceId,proto3,oneof"` @@ -481,7 +600,7 @@ type SelectBy_NodeID struct { NodeID string `protobuf:"bytes,8,opt,name=node_id,json=nodeId,proto3,oneof"` } type SelectBy_Slot struct { - Slot *SelectBySlot `protobuf:"bytes,9,opt,name=slot,oneof"` + Slot *SelectBySlot `protobuf:"bytes,9,opt,name=slot,proto3,oneof"` } type SelectBy_DesiredState struct { DesiredState TaskState `protobuf:"varint,10,opt,name=desired_state,json=desiredState,proto3,enum=docker.swarmkit.v1.TaskState,oneof"` @@ -856,67 +975,67 @@ func _SelectBy_OneofSizer(msg proto.Message) (n int) { // By switch x := m.By.(type) { case *SelectBy_ID: - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ID))) n += len(x.ID) case *SelectBy_IDPrefix: - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.IDPrefix))) n += len(x.IDPrefix) case *SelectBy_Name: - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Name))) n += len(x.Name) case *SelectBy_NamePrefix: - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.NamePrefix))) n += len(x.NamePrefix) case *SelectBy_Custom: s := proto.Size(x.Custom) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *SelectBy_CustomPrefix: s := proto.Size(x.CustomPrefix) - n += proto.SizeVarint(6<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *SelectBy_ServiceID: - n += proto.SizeVarint(7<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ServiceID))) n += len(x.ServiceID) case *SelectBy_NodeID: - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.NodeID))) n += len(x.NodeID) case *SelectBy_Slot: s := proto.Size(x.Slot) - n += proto.SizeVarint(9<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *SelectBy_DesiredState: - n += proto.SizeVarint(10<<3 | proto.WireVarint) + n += 1 // tag and wire n += proto.SizeVarint(uint64(x.DesiredState)) case *SelectBy_Role: - n += proto.SizeVarint(11<<3 | proto.WireVarint) + n += 1 // tag and wire n += proto.SizeVarint(uint64(x.Role)) case *SelectBy_Membership: - n += proto.SizeVarint(12<<3 | proto.WireVarint) + n += 1 // tag and wire n += proto.SizeVarint(uint64(x.Membership)) case *SelectBy_ReferencedNetworkID: - n += proto.SizeVarint(13<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ReferencedNetworkID))) n += len(x.ReferencedNetworkID) case *SelectBy_ReferencedSecretID: - n += proto.SizeVarint(14<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ReferencedSecretID))) n += len(x.ReferencedSecretID) case *SelectBy_ReferencedConfigID: - n += proto.SizeVarint(16<<3 | proto.WireBytes) + n += 2 // tag and wire n += proto.SizeVarint(uint64(len(x.ReferencedConfigID))) n += len(x.ReferencedConfigID) case *SelectBy_Kind: - n += proto.SizeVarint(15<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Kind))) n += len(x.Kind) case nil: @@ -930,13 +1049,13 @@ type WatchRequest struct { // Multiple entries are combined using OR logic - i.e. if an event // matches all of the selectors specified in any single watch entry, // the event will be sent to the client. - Entries []*WatchRequest_WatchEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` + Entries []*WatchRequest_WatchEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // ResumeFrom provides an version to resume the watch from, if non-nil. // The watch will return changes since this version, and continue to // return new changes afterwards. Watch will return an error if the // server has compacted its log and no longer has complete history to // this point. - ResumeFrom *Version `protobuf:"bytes,2,opt,name=resume_from,json=resumeFrom" json:"resume_from,omitempty"` + ResumeFrom *Version `protobuf:"bytes,2,opt,name=resume_from,json=resumeFrom,proto3" json:"resume_from,omitempty"` // IncludeOldObject causes WatchMessages to include a copy of the // previous version of the object on updates. Note that only live // changes will include the old object (not historical changes @@ -944,9 +1063,37 @@ type WatchRequest struct { IncludeOldObject bool `protobuf:"varint,3,opt,name=include_old_object,json=includeOldObject,proto3" json:"include_old_object,omitempty"` } -func (m *WatchRequest) Reset() { *m = WatchRequest{} } -func (*WatchRequest) ProtoMessage() {} -func (*WatchRequest) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{4} } +func (m *WatchRequest) Reset() { *m = WatchRequest{} } +func (*WatchRequest) ProtoMessage() {} +func (*WatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{4} +} +func (m *WatchRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchRequest.Merge(m, src) +} +func (m *WatchRequest) XXX_Size() int { + return m.Size() +} +func (m *WatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchRequest proto.InternalMessageInfo type WatchRequest_WatchEntry struct { // Kind can contain a builtin type such as "node", "secret", etc. or @@ -957,26 +1104,82 @@ type WatchRequest_WatchEntry struct { Action WatchActionKind `protobuf:"varint,2,opt,name=action,proto3,enum=docker.swarmkit.v1.WatchActionKind" json:"action,omitempty"` // Filters are combined using AND logic - an event must match // all of them to pass the filter. - Filters []*SelectBy `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"` + Filters []*SelectBy `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` } -func (m *WatchRequest_WatchEntry) Reset() { *m = WatchRequest_WatchEntry{} } -func (*WatchRequest_WatchEntry) ProtoMessage() {} -func (*WatchRequest_WatchEntry) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{4, 0} } +func (m *WatchRequest_WatchEntry) Reset() { *m = WatchRequest_WatchEntry{} } +func (*WatchRequest_WatchEntry) ProtoMessage() {} +func (*WatchRequest_WatchEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{4, 0} +} +func (m *WatchRequest_WatchEntry) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchRequest_WatchEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchRequest_WatchEntry.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchRequest_WatchEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchRequest_WatchEntry.Merge(m, src) +} +func (m *WatchRequest_WatchEntry) XXX_Size() int { + return m.Size() +} +func (m *WatchRequest_WatchEntry) XXX_DiscardUnknown() { + xxx_messageInfo_WatchRequest_WatchEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchRequest_WatchEntry proto.InternalMessageInfo // WatchMessage is the type of the stream that's returned to the client by // Watch. Note that the first item of this stream will always be a WatchMessage // with a nil Object, to signal that the stream has started. type WatchMessage struct { - Events []*WatchMessage_Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` + Events []*WatchMessage_Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // Index versions this change to the data store. It can be used to // resume the watch from this point. - Version *Version `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` } -func (m *WatchMessage) Reset() { *m = WatchMessage{} } -func (*WatchMessage) ProtoMessage() {} -func (*WatchMessage) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{5} } +func (m *WatchMessage) Reset() { *m = WatchMessage{} } +func (*WatchMessage) ProtoMessage() {} +func (*WatchMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{5} +} +func (m *WatchMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchMessage.Merge(m, src) +} +func (m *WatchMessage) XXX_Size() int { + return m.Size() +} +func (m *WatchMessage) XXX_DiscardUnknown() { + xxx_messageInfo_WatchMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchMessage proto.InternalMessageInfo type WatchMessage_Event struct { // Action (create/update/delete) @@ -984,18 +1187,47 @@ type WatchMessage_Event struct { // mark transaction boundaries. Action WatchActionKind `protobuf:"varint,1,opt,name=action,proto3,enum=docker.swarmkit.v1.WatchActionKind" json:"action,omitempty"` // Matched object - Object *Object `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"` + Object *Object `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // For updates, OldObject will optionally be included in the // watch message, containing the previous version of the // object, if IncludeOldObject was set in WatchRequest. - OldObject *Object `protobuf:"bytes,3,opt,name=old_object,json=oldObject" json:"old_object,omitempty"` + OldObject *Object `protobuf:"bytes,3,opt,name=old_object,json=oldObject,proto3" json:"old_object,omitempty"` } -func (m *WatchMessage_Event) Reset() { *m = WatchMessage_Event{} } -func (*WatchMessage_Event) ProtoMessage() {} -func (*WatchMessage_Event) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{5, 0} } +func (m *WatchMessage_Event) Reset() { *m = WatchMessage_Event{} } +func (*WatchMessage_Event) ProtoMessage() {} +func (*WatchMessage_Event) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{5, 0} +} +func (m *WatchMessage_Event) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchMessage_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchMessage_Event.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchMessage_Event) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchMessage_Event.Merge(m, src) +} +func (m *WatchMessage_Event) XXX_Size() int { + return m.Size() +} +func (m *WatchMessage_Event) XXX_DiscardUnknown() { + xxx_messageInfo_WatchMessage_Event.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchMessage_Event proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.WatchActionKind", WatchActionKind_name, WatchActionKind_value) proto.RegisterType((*Object)(nil), "docker.swarmkit.v1.Object") proto.RegisterType((*SelectBySlot)(nil), "docker.swarmkit.v1.SelectBySlot") proto.RegisterType((*SelectByCustom)(nil), "docker.swarmkit.v1.SelectByCustom") @@ -1004,7 +1236,89 @@ func init() { proto.RegisterType((*WatchRequest_WatchEntry)(nil), "docker.swarmkit.v1.WatchRequest.WatchEntry") proto.RegisterType((*WatchMessage)(nil), "docker.swarmkit.v1.WatchMessage") proto.RegisterType((*WatchMessage_Event)(nil), "docker.swarmkit.v1.WatchMessage.Event") - proto.RegisterEnum("docker.swarmkit.v1.WatchActionKind", WatchActionKind_name, WatchActionKind_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/watch.proto", fileDescriptor_da25266013800cd9) +} + +var fileDescriptor_da25266013800cd9 = []byte{ + // 1199 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xbd, 0x73, 0x1b, 0xc5, + 0x1b, 0xc7, 0xef, 0x14, 0xf9, 0x24, 0x3d, 0xb6, 0x13, 0xcf, 0xc6, 0x49, 0xee, 0xa7, 0x5f, 0x90, + 0x85, 0x78, 0xcb, 0x24, 0x41, 0x06, 0x13, 0x92, 0x01, 0x02, 0x33, 0x96, 0x2c, 0x46, 0x22, 0xe3, + 0x97, 0x59, 0xdb, 0x49, 0xa9, 0x39, 0xdf, 0x3d, 0x56, 0x0e, 0xdf, 0xdd, 0x8a, 0xbd, 0x93, 0x1d, + 0x77, 0x14, 0x14,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0x1e, 0x56, 0xcc, 0x27, 0xc3, 0x8a, 0xf9, 0xe7, 0xb0, 0x62, 0x7e, + 0xf7, 0xbc, 0x62, 0x3c, 0x79, 0x5e, 0x31, 0x9e, 0x3e, 0xaf, 0x18, 0x5b, 0x96, 0xfc, 0x33, 0xf9, + 0xc1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x96, 0x4e, 0x58, 0x61, 0x63, 0x0b, 0x00, 0x00, } type authenticatedWrapperWatchServer struct { @@ -1046,55 +1360,55 @@ func (m *Object) CopyFrom(src interface{}) { v := Object_Node{ Node: &Node{}, } - deepcopy.Copy(v.Node, o.GetNode()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Node, o.GetNode()) m.Object = &v case *Object_Service: v := Object_Service{ Service: &Service{}, } - deepcopy.Copy(v.Service, o.GetService()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Service, o.GetService()) m.Object = &v case *Object_Network: v := Object_Network{ Network: &Network{}, } - deepcopy.Copy(v.Network, o.GetNetwork()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Network, o.GetNetwork()) m.Object = &v case *Object_Task: v := Object_Task{ Task: &Task{}, } - deepcopy.Copy(v.Task, o.GetTask()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Task, o.GetTask()) m.Object = &v case *Object_Cluster: v := Object_Cluster{ Cluster: &Cluster{}, } - deepcopy.Copy(v.Cluster, o.GetCluster()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Cluster, o.GetCluster()) m.Object = &v case *Object_Secret: v := Object_Secret{ Secret: &Secret{}, } - deepcopy.Copy(v.Secret, o.GetSecret()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Secret, o.GetSecret()) m.Object = &v case *Object_Resource: v := Object_Resource{ Resource: &Resource{}, } - deepcopy.Copy(v.Resource, o.GetResource()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Resource, o.GetResource()) m.Object = &v case *Object_Extension: v := Object_Extension{ Extension: &Extension{}, } - deepcopy.Copy(v.Extension, o.GetExtension()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Extension, o.GetExtension()) m.Object = &v case *Object_Config: v := Object_Config{ Config: &Config{}, } - deepcopy.Copy(v.Config, o.GetConfig()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Config, o.GetConfig()) m.Object = &v } } @@ -1170,13 +1484,13 @@ func (m *SelectBy) CopyFrom(src interface{}) { v := SelectBy_Custom{ Custom: &SelectByCustom{}, } - deepcopy.Copy(v.Custom, o.GetCustom()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Custom, o.GetCustom()) m.By = &v case *SelectBy_CustomPrefix: v := SelectBy_CustomPrefix{ CustomPrefix: &SelectByCustom{}, } - deepcopy.Copy(v.CustomPrefix, o.GetCustomPrefix()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.CustomPrefix, o.GetCustomPrefix()) m.By = &v case *SelectBy_ServiceID: v := SelectBy_ServiceID{ @@ -1192,7 +1506,7 @@ func (m *SelectBy) CopyFrom(src interface{}) { v := SelectBy_Slot{ Slot: &SelectBySlot{}, } - deepcopy.Copy(v.Slot, o.GetSlot()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Slot, o.GetSlot()) m.By = &v case *SelectBy_DesiredState: v := SelectBy_DesiredState{ @@ -1251,13 +1565,13 @@ func (m *WatchRequest) CopyFrom(src interface{}) { m.Entries = make([]*WatchRequest_WatchEntry, len(o.Entries)) for i := range m.Entries { m.Entries[i] = &WatchRequest_WatchEntry{} - deepcopy.Copy(m.Entries[i], o.Entries[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Entries[i], o.Entries[i]) } } if o.ResumeFrom != nil { m.ResumeFrom = &Version{} - deepcopy.Copy(m.ResumeFrom, o.ResumeFrom) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ResumeFrom, o.ResumeFrom) } } @@ -1278,7 +1592,7 @@ func (m *WatchRequest_WatchEntry) CopyFrom(src interface{}) { m.Filters = make([]*SelectBy, len(o.Filters)) for i := range m.Filters { m.Filters[i] = &SelectBy{} - deepcopy.Copy(m.Filters[i], o.Filters[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters[i], o.Filters[i]) } } @@ -1301,13 +1615,13 @@ func (m *WatchMessage) CopyFrom(src interface{}) { m.Events = make([]*WatchMessage_Event, len(o.Events)) for i := range m.Events { m.Events[i] = &WatchMessage_Event{} - deepcopy.Copy(m.Events[i], o.Events[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Events[i], o.Events[i]) } } if o.Version != nil { m.Version = &Version{} - deepcopy.Copy(m.Version, o.Version) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Version, o.Version) } } @@ -1326,11 +1640,11 @@ func (m *WatchMessage_Event) CopyFrom(src interface{}) { *m = *o if o.Object != nil { m.Object = &Object{} - deepcopy.Copy(m.Object, o.Object) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Object, o.Object) } if o.OldObject != nil { m.OldObject = &Object{} - deepcopy.Copy(m.OldObject, o.OldObject) + github_com_docker_swarmkit_api_deepcopy.Copy(m.OldObject, o.OldObject) } } @@ -1342,8 +1656,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Watch service - +// WatchClient is the client API for Watch service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type WatchClient interface { // Watch starts a stream that returns any changes to objects that match // the specified selectors. When the stream begins, it immediately sends @@ -1362,7 +1677,7 @@ func NewWatchClient(cc *grpc.ClientConn) WatchClient { } func (c *watchClient) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Watch_WatchClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Watch_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Watch/Watch", opts...) + stream, err := c.cc.NewStream(ctx, &_Watch_serviceDesc.Streams[0], "/docker.swarmkit.v1.Watch/Watch", opts...) if err != nil { return nil, err } @@ -1393,8 +1708,7 @@ func (x *watchWatchClient) Recv() (*WatchMessage, error) { return m, nil } -// Server API for Watch service - +// WatchServer is the server API for Watch service. type WatchServer interface { // Watch starts a stream that returns any changes to objects that match // the specified selectors. When the stream begins, it immediately sends @@ -2137,6 +2451,9 @@ func (p *raftProxyWatchServer) Watch(r *WatchRequest, stream Watch_WatchServer) } func (m *Object) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Object != nil { @@ -2146,6 +2463,9 @@ func (m *Object) Size() (n int) { } func (m *Object_Node) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -2155,6 +2475,9 @@ func (m *Object_Node) Size() (n int) { return n } func (m *Object_Service) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -2164,6 +2487,9 @@ func (m *Object_Service) Size() (n int) { return n } func (m *Object_Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -2173,6 +2499,9 @@ func (m *Object_Network) Size() (n int) { return n } func (m *Object_Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -2182,6 +2511,9 @@ func (m *Object_Task) Size() (n int) { return n } func (m *Object_Cluster) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -2191,6 +2523,9 @@ func (m *Object_Cluster) Size() (n int) { return n } func (m *Object_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -2200,6 +2535,9 @@ func (m *Object_Secret) Size() (n int) { return n } func (m *Object_Resource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -2209,6 +2547,9 @@ func (m *Object_Resource) Size() (n int) { return n } func (m *Object_Extension) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -2218,6 +2559,9 @@ func (m *Object_Extension) Size() (n int) { return n } func (m *Object_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -2227,6 +2571,9 @@ func (m *Object_Config) Size() (n int) { return n } func (m *SelectBySlot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -2240,6 +2587,9 @@ func (m *SelectBySlot) Size() (n int) { } func (m *SelectByCustom) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2258,6 +2608,9 @@ func (m *SelectByCustom) Size() (n int) { } func (m *SelectBy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.By != nil { @@ -2267,6 +2620,9 @@ func (m *SelectBy) Size() (n int) { } func (m *SelectBy_ID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2274,6 +2630,9 @@ func (m *SelectBy_ID) Size() (n int) { return n } func (m *SelectBy_IDPrefix) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.IDPrefix) @@ -2281,6 +2640,9 @@ func (m *SelectBy_IDPrefix) Size() (n int) { return n } func (m *SelectBy_Name) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -2288,6 +2650,9 @@ func (m *SelectBy_Name) Size() (n int) { return n } func (m *SelectBy_NamePrefix) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NamePrefix) @@ -2295,6 +2660,9 @@ func (m *SelectBy_NamePrefix) Size() (n int) { return n } func (m *SelectBy_Custom) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Custom != nil { @@ -2304,6 +2672,9 @@ func (m *SelectBy_Custom) Size() (n int) { return n } func (m *SelectBy_CustomPrefix) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.CustomPrefix != nil { @@ -2313,6 +2684,9 @@ func (m *SelectBy_CustomPrefix) Size() (n int) { return n } func (m *SelectBy_ServiceID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -2320,6 +2694,9 @@ func (m *SelectBy_ServiceID) Size() (n int) { return n } func (m *SelectBy_NodeID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -2327,6 +2704,9 @@ func (m *SelectBy_NodeID) Size() (n int) { return n } func (m *SelectBy_Slot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Slot != nil { @@ -2336,24 +2716,36 @@ func (m *SelectBy_Slot) Size() (n int) { return n } func (m *SelectBy_DesiredState) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l n += 1 + sovWatch(uint64(m.DesiredState)) return n } func (m *SelectBy_Role) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l n += 1 + sovWatch(uint64(m.Role)) return n } func (m *SelectBy_Membership) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l n += 1 + sovWatch(uint64(m.Membership)) return n } func (m *SelectBy_ReferencedNetworkID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ReferencedNetworkID) @@ -2361,6 +2753,9 @@ func (m *SelectBy_ReferencedNetworkID) Size() (n int) { return n } func (m *SelectBy_ReferencedSecretID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ReferencedSecretID) @@ -2368,6 +2763,9 @@ func (m *SelectBy_ReferencedSecretID) Size() (n int) { return n } func (m *SelectBy_Kind) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2375,6 +2773,9 @@ func (m *SelectBy_Kind) Size() (n int) { return n } func (m *SelectBy_ReferencedConfigID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ReferencedConfigID) @@ -2382,6 +2783,9 @@ func (m *SelectBy_ReferencedConfigID) Size() (n int) { return n } func (m *WatchRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Entries) > 0 { @@ -2401,6 +2805,9 @@ func (m *WatchRequest) Size() (n int) { } func (m *WatchRequest_WatchEntry) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2420,6 +2827,9 @@ func (m *WatchRequest_WatchEntry) Size() (n int) { } func (m *WatchMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Events) > 0 { @@ -2436,6 +2846,9 @@ func (m *WatchMessage) Size() (n int) { } func (m *WatchMessage_Event) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Action != 0 { @@ -2828,7 +3241,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2856,7 +3269,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2865,6 +3278,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2888,7 +3304,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2897,6 +3313,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2920,7 +3339,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2929,6 +3348,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2952,7 +3374,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2961,6 +3383,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2984,7 +3409,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2993,6 +3418,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3016,7 +3444,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3025,6 +3453,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3048,7 +3479,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3057,6 +3488,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3080,7 +3514,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3089,6 +3523,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3112,7 +3549,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3121,6 +3558,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3139,6 +3579,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3166,7 +3609,7 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3194,7 +3637,7 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3204,6 +3647,9 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3223,7 +3669,7 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Slot |= (uint64(b) & 0x7F) << shift + m.Slot |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3237,6 +3683,9 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3264,7 +3713,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3292,7 +3741,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3302,6 +3751,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3321,7 +3773,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3331,6 +3783,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3350,7 +3805,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3360,6 +3815,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3374,6 +3832,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3401,7 +3862,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3429,7 +3890,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3439,6 +3900,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3458,7 +3922,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3468,6 +3932,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3487,7 +3954,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3497,6 +3964,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3516,7 +3986,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3526,6 +3996,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3545,7 +4018,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3554,6 +4027,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3577,7 +4053,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3586,6 +4062,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3609,7 +4088,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3619,6 +4098,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3638,7 +4120,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3648,6 +4130,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3667,7 +4152,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3676,6 +4161,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3699,7 +4187,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskState(b) & 0x7F) << shift + v |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -3719,7 +4207,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeRole(b) & 0x7F) << shift + v |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -3739,7 +4227,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeSpec_Membership(b) & 0x7F) << shift + v |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -3759,7 +4247,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3769,6 +4257,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3788,7 +4279,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3798,6 +4289,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3817,7 +4311,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3827,6 +4321,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3846,7 +4343,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3856,6 +4353,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3870,6 +4370,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3897,7 +4400,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3925,7 +4428,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3934,6 +4437,9 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3956,7 +4462,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3965,6 +4471,9 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3989,7 +4498,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4004,6 +4513,9 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4031,7 +4543,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4059,7 +4571,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4069,6 +4581,9 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4088,7 +4603,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (WatchActionKind(b) & 0x7F) << shift + m.Action |= WatchActionKind(b&0x7F) << shift if b < 0x80 { break } @@ -4107,7 +4622,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4116,6 +4631,9 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4133,6 +4651,9 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4160,7 +4681,7 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4188,7 +4709,7 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4197,6 +4718,9 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4219,7 +4743,7 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4228,6 +4752,9 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4247,6 +4774,9 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4274,7 +4804,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4302,7 +4832,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (WatchActionKind(b) & 0x7F) << shift + m.Action |= WatchActionKind(b&0x7F) << shift if b < 0x80 { break } @@ -4321,7 +4851,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4330,6 +4860,9 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4354,7 +4887,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4363,6 +4896,9 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4382,6 +4918,9 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4448,10 +4987,13 @@ func skipWatch(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthWatch } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthWatch + } return iNdEx, nil case 3: for { @@ -4480,6 +5022,9 @@ func skipWatch(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthWatch + } } return iNdEx, nil case 4: @@ -4498,84 +5043,3 @@ var ( ErrInvalidLengthWatch = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWatch = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/watch.proto", fileDescriptorWatch) } - -var fileDescriptorWatch = []byte{ - // 1186 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xbd, 0x73, 0x1b, 0xc5, - 0x1b, 0xc7, 0x75, 0x8a, 0x7c, 0x92, 0x1e, 0xdb, 0x89, 0x67, 0xe3, 0x24, 0xf7, 0xd3, 0x2f, 0xc8, - 0x42, 0x0c, 0x90, 0x49, 0x82, 0x0c, 0x26, 0x24, 0x03, 0x04, 0x66, 0x2c, 0x59, 0x8c, 0x44, 0xc6, - 0x2f, 0xb3, 0xb6, 0x93, 0x52, 0x73, 0xbe, 0x7b, 0xac, 0x1c, 0xba, 0xbb, 0x15, 0x7b, 0x27, 0x39, - 0xee, 0x28, 0x28, 0x98, 0xf4, 0xcc, 0xd0, 0xa4, 0x82, 0x9a, 0x86, 0x0e,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a8, 0xad, 0x51, 0xb9, 0x26, 0x8b, 0x30, - 0xe3, 0x85, 0x2e, 0x3e, 0x91, 0xd2, 0x22, 0x55, 0x0f, 0x62, 0x77, 0x68, 0xfb, 0x03, 0x94, 0xe5, - 0x51, 0xa4, 0xea, 0xa1, 0xfa, 0x97, 0x09, 0x85, 0xc4, 0x24, 0xb1, 0x20, 0x7b, 0xe4, 0x98, 0x39, - 0x1e, 0x2d, 0x65, 0xdb, 0x6b, 0xad, 0x0c, 0xcd, 0x7a, 0x2e, 0xb9, 0x05, 0x45, 0xcf, 0xed, 0xf4, - 0x39, 0xee, 0x7b, 0xda, 0x6c, 0x7d, 0x6e, 0x3c, 0x5a, 0x2a, 0xb4, 0xd7, 0xb6, 0xe4, 0x9e, 0x08, - 0xbb, 0xe7, 0xaa, 0x35, 0x59, 0x84, 0x5c, 0x68, 0x07, 0xfa, 0x20, 0x59, 0xd9, 0x76, 0x80, 0xe4, - 0x75, 0x98, 0x15, 0xbf, 0x89, 0x91, 0x9c, 0x7e, 0x09, 0x62, 0x53, 0x0b, 0xef, 0x83, 0xe9, 0xc8, - 0x6b, 0xe9, 0xca, 0xaa, 0xa6, 0x57, 0xc8, 0xc9, 0x00, 0xc8, 0xc0, 0xab, 0x50, 0xb4, 0x61, 0x5e, - 0xad, 0x92, 0x23, 0xcc, 0x57, 0x30, 0x32, 0xa7, 0xa4, 0xda, 0x91, 0xda, 0xa9, 0x4c, 0xe5, 0x53, - 0x32, 0x25, 0x2a, 0xe5, 0x38, 0x57, 0x6f, 0x42, 0x5e, 0x74, 0xaf, 0x80, 0x0b, 0x12, 0x86, 0xf1, - 0x68, 0xc9, 0x14, 0x8d, 0x2d, 0x49, 0x53, 0xbc, 0x6c, 0xbb, 0xe4, 0xae, 0x4e, 0xa9, 0x2a, 0xa7, - 0xca, 0x59, 0x8e, 0x89, 0x82, 0x11, 0xa1, 0x13, 0x3c, 0x59, 0x83, 0x79, 0x17, 0x23, 0x8f, 0xa3, - 0xdb, 0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, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x76, 0x89, 0xef, 0x57, 0x0b, - 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/manager/controlapi/node.go b/vendor/github.com/docker/swarmkit/manager/controlapi/node.go index 5308b7419e..6e8bdba5bd 100644 --- a/vendor/github.com/docker/swarmkit/manager/controlapi/node.go +++ b/vendor/github.com/docker/swarmkit/manager/controlapi/node.go @@ -265,12 +265,23 @@ func orphanNodeTasks(tx store.Tx, nodeID string) error { return err } for _, task := range tasks { - task.Status = api.TaskStatus{ - Timestamp: gogotypes.TimestampNow(), - State: api.TaskStateOrphaned, - Message: "Task belonged to a node that has been deleted", + // this operation must occur within the same transaction boundary. If + // we cannot accomplish this task orphaning in the same transaction, we + // could crash or die between transactions and not get a chance to do + // this. however, in cases were there is an exceptionally large number + // of tasks for a node, this may cause the transaction to exceed the + // max message size. + // + // therefore, we restrict updating to only tasks in a non-terminal + // state. Tasks in a terminal state do not need to be updated. + if task.Status.State < api.TaskStateCompleted { + task.Status = api.TaskStatus{ + Timestamp: gogotypes.TimestampNow(), + State: api.TaskStateOrphaned, + Message: "Task belonged to a node that has been deleted", + } + store.UpdateTask(tx, task) } - store.UpdateTask(tx, task) } return nil } diff --git a/vendor/github.com/docker/swarmkit/manager/manager.go b/vendor/github.com/docker/swarmkit/manager/manager.go index 9112fb2b40..cba72c232f 100644 --- a/vendor/github.com/docker/swarmkit/manager/manager.go +++ b/vendor/github.com/docker/swarmkit/manager/manager.go @@ -1224,12 +1224,8 @@ func newIngressNetwork() *api.Network { }, DriverConfig: &api.Driver{}, IPAM: &api.IPAMOptions{ - Driver: &api.Driver{}, - Configs: []*api.IPAMConfig{ - { - Subnet: "10.255.0.0/16", - }, - }, + Driver: &api.Driver{}, + Configs: []*api.IPAMConfig{}, }, }, } diff --git a/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go b/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go index 0d08eb6eb3..5923859722 100644 --- a/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go +++ b/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go @@ -1,30 +1,19 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: github.com/docker/swarmkit/protobuf/plugin/plugin.proto -/* - Package plugin is a generated protocol buffer package. - - It is generated from these files: - github.com/docker/swarmkit/protobuf/plugin/plugin.proto - - It has these top-level messages: - WatchSelectors - StoreObject - TLSAuthorization -*/ package plugin -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" + proto "github.com/gogo/protobuf/proto" + descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -54,22 +43,76 @@ type WatchSelectors struct { Role *bool `protobuf:"varint,11,opt,name=role" json:"role,omitempty"` Membership *bool `protobuf:"varint,12,opt,name=membership" json:"membership,omitempty"` // supported by: resource - Kind *bool `protobuf:"varint,13,opt,name=kind" json:"kind,omitempty"` - XXX_unrecognized []byte `json:"-"` + Kind *bool `protobuf:"varint,13,opt,name=kind" json:"kind,omitempty"` } -func (m *WatchSelectors) Reset() { *m = WatchSelectors{} } -func (*WatchSelectors) ProtoMessage() {} -func (*WatchSelectors) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{0} } +func (m *WatchSelectors) Reset() { *m = WatchSelectors{} } +func (*WatchSelectors) ProtoMessage() {} +func (*WatchSelectors) Descriptor() ([]byte, []int) { + return fileDescriptor_3708583e03e1c1e3, []int{0} +} +func (m *WatchSelectors) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchSelectors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchSelectors.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchSelectors) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchSelectors.Merge(m, src) +} +func (m *WatchSelectors) XXX_Size() int { + return m.Size() +} +func (m *WatchSelectors) XXX_DiscardUnknown() { + xxx_messageInfo_WatchSelectors.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchSelectors proto.InternalMessageInfo type StoreObject struct { - WatchSelectors *WatchSelectors `protobuf:"bytes,1,req,name=watch_selectors,json=watchSelectors" json:"watch_selectors,omitempty"` - XXX_unrecognized []byte `json:"-"` + WatchSelectors *WatchSelectors `protobuf:"bytes,1,req,name=watch_selectors,json=watchSelectors" json:"watch_selectors,omitempty"` } -func (m *StoreObject) Reset() { *m = StoreObject{} } -func (*StoreObject) ProtoMessage() {} -func (*StoreObject) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{1} } +func (m *StoreObject) Reset() { *m = StoreObject{} } +func (*StoreObject) ProtoMessage() {} +func (*StoreObject) Descriptor() ([]byte, []int) { + return fileDescriptor_3708583e03e1c1e3, []int{1} +} +func (m *StoreObject) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StoreObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StoreObject.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StoreObject) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoreObject.Merge(m, src) +} +func (m *StoreObject) XXX_Size() int { + return m.Size() +} +func (m *StoreObject) XXX_DiscardUnknown() { + xxx_messageInfo_StoreObject.DiscardUnknown(m) +} + +var xxx_messageInfo_StoreObject proto.InternalMessageInfo type TLSAuthorization struct { // Roles contains the acceptable TLS OU roles for the handler. @@ -77,16 +120,43 @@ type TLSAuthorization struct { // Insecure is set to true if this method does not require // authorization. NOTE: Specifying both "insecure" and a nonempty // list of roles is invalid. This would fail at codegen time. - Insecure *bool `protobuf:"varint,2,opt,name=insecure" json:"insecure,omitempty"` - XXX_unrecognized []byte `json:"-"` + Insecure *bool `protobuf:"varint,2,opt,name=insecure" json:"insecure,omitempty"` } -func (m *TLSAuthorization) Reset() { *m = TLSAuthorization{} } -func (*TLSAuthorization) ProtoMessage() {} -func (*TLSAuthorization) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{2} } +func (m *TLSAuthorization) Reset() { *m = TLSAuthorization{} } +func (*TLSAuthorization) ProtoMessage() {} +func (*TLSAuthorization) Descriptor() ([]byte, []int) { + return fileDescriptor_3708583e03e1c1e3, []int{2} +} +func (m *TLSAuthorization) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TLSAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TLSAuthorization.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TLSAuthorization) XXX_Merge(src proto.Message) { + xxx_messageInfo_TLSAuthorization.Merge(m, src) +} +func (m *TLSAuthorization) XXX_Size() int { + return m.Size() +} +func (m *TLSAuthorization) XXX_DiscardUnknown() { + xxx_messageInfo_TLSAuthorization.DiscardUnknown(m) +} + +var xxx_messageInfo_TLSAuthorization proto.InternalMessageInfo var E_Deepcopy = &proto.ExtensionDesc{ - ExtendedType: (*google_protobuf.MessageOptions)(nil), + ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 70000, Name: "docker.protobuf.plugin.deepcopy", @@ -95,20 +165,20 @@ var E_Deepcopy = &proto.ExtensionDesc{ } var E_StoreObject = &proto.ExtensionDesc{ - ExtendedType: (*google_protobuf.MessageOptions)(nil), + ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*StoreObject)(nil), Field: 70001, Name: "docker.protobuf.plugin.store_object", - Tag: "bytes,70001,opt,name=store_object,json=storeObject", + Tag: "bytes,70001,opt,name=store_object", Filename: "github.com/docker/swarmkit/protobuf/plugin/plugin.proto", } var E_TlsAuthorization = &proto.ExtensionDesc{ - ExtendedType: (*google_protobuf.MethodOptions)(nil), + ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*TLSAuthorization)(nil), Field: 73626345, Name: "docker.protobuf.plugin.tls_authorization", - Tag: "bytes,73626345,opt,name=tls_authorization,json=tlsAuthorization", + Tag: "bytes,73626345,opt,name=tls_authorization", Filename: "github.com/docker/swarmkit/protobuf/plugin/plugin.proto", } @@ -121,6 +191,51 @@ func init() { proto.RegisterExtension(E_TlsAuthorization) } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/protobuf/plugin/plugin.proto", fileDescriptor_3708583e03e1c1e3) +} + +var fileDescriptor_3708583e03e1c1e3 = []byte{ + // 588 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x41, 0x6f, 0xd3, 0x4c, + 0x10, 0x8d, 0xd3, 0x36, 0x4d, 0x26, 0x69, 0xbf, 0x7e, 0x2b, 0x54, 0x59, 0x3d, 0x38, 0x55, 0x83, + 0x50, 0x90, 0x90, 0x23, 0xf5, 0x82, 0x94, 0x1b, 0x25, 0x97, 0x48, 0x40, 0x91, 0x83, 0xc4, 0x8d, + 0xc8, 0xf1, 0x4e, 0x93, 0xa5, 0x8e, 0xd7, 0xda, 0x5d, 0xd3, 0xc2, 0x89, 0x3f, 0x80, 0xc4, 0x95, + 0x2b, 0xbf, 0xa6, 0xc7, 0x1e, 0x7b, 0x8a, 0xa8, 0x23, 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c, 0x32, 0x81, 0xf6, 0xf2, 0xc1, 0x4d, 0xde, 0x7d, 0x0a, 0x55, 0x8a, + 0x98, 0x46, 0x3c, 0x7d, 0x4f, 0x9a, 0xbe, 0xfd, 0xe1, 0x96, 0x9b, 0x3c, 0x47, 0x29, 0xc3, 0x31, + 0x1e, 0xa7, 0xba, 0xbb, 0x74, 0x7f, 0x7e, 0x35, 0x77, 0xef, 0xae, 0x2b, 0x91, 0x61, 0x70, 0x23, + 0xec, 0x32, 0x68, 0x48, 0x6d, 0x75, 0xc8, 0xad, 0xd7, 0x7f, 0x36, 0xfa, 0x65, 0x1a, 0xd5, 0x0f, + 0x5b, 0x77, 0x79, 0xff, 0xe3, 0xe5, 0x82, 0xba, 0x5c, 0x26, 0xdd, 0x73, 0xf8, 0x5f, 0xc5, 0x72, + 0x18, 0xae, 0xd8, 0xf6, 0x6e, 0x99, 0xa7, 0x26, 0x9c, 0x2e, 0xc6, 0xfd, 0xf8, 0xfe, 0xa9, 0x65, + 0xe6, 0xb5, 0xef, 0x9a, 0xf7, 0xf7, 0x4b, 0x06, 0x3b, 0x2a, 0x96, 0x2b, 0xc8, 0xd1, 0xfd, 0x8b, + 0x6b, 0xaf, 0x74, 0x75, 0xed, 0x95, 0x3e, 0xe6, 0x9e, 0x73, 0x91, 0x7b, 0xce, 0x65, 0xee, 0x39, + 0xdf, 0x72, 0xcf, 0xf9, 0x3c, 0xf7, 0x4a, 0x97, 0x73, 0xaf, 0x74, 0x35, 0xf7, 0x4a, 0xbf, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x0f, 0x50, 0xb9, 0xa3, 0x05, 0x04, 0x00, 0x00, +} + func (m *WatchSelectors) Copy() *WatchSelectors { if m == nil { return nil @@ -151,7 +266,7 @@ func (m *StoreObject) CopyFrom(src interface{}) { *m = *o if o.WatchSelectors != nil { m.WatchSelectors = &WatchSelectors{} - deepcopy.Copy(m.WatchSelectors, o.WatchSelectors) + github_com_docker_swarmkit_api_deepcopy.Copy(m.WatchSelectors, o.WatchSelectors) } } @@ -320,9 +435,6 @@ func (m *WatchSelectors) MarshalTo(dAtA []byte) (int, error) { } i++ } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } return i, nil } @@ -342,7 +454,7 @@ func (m *StoreObject) MarshalTo(dAtA []byte) (int, error) { var l int _ = l if m.WatchSelectors == nil { - return 0, proto.NewRequiredNotSetError("watch_selectors") + return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("watch_selectors") } else { dAtA[i] = 0xa i++ @@ -353,9 +465,6 @@ func (m *StoreObject) MarshalTo(dAtA []byte) (int, error) { } i += n1 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } return i, nil } @@ -399,9 +508,6 @@ func (m *TLSAuthorization) MarshalTo(dAtA []byte) (int, error) { } i++ } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } return i, nil } @@ -414,8 +520,10 @@ func encodeVarintPlugin(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *WatchSelectors) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.ID != nil { @@ -457,26 +565,26 @@ func (m *WatchSelectors) Size() (n int) { if m.Kind != nil { n += 2 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } func (m *StoreObject) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.WatchSelectors != nil { l = m.WatchSelectors.Size() n += 1 + l + sovPlugin(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } func (m *TLSAuthorization) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Roles) > 0 { @@ -488,9 +596,6 @@ func (m *TLSAuthorization) Size() (n int) { if m.Insecure != nil { n += 2 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } @@ -525,7 +630,6 @@ func (this *WatchSelectors) String() string { `Role:` + valueToStringPlugin(this.Role) + `,`, `Membership:` + valueToStringPlugin(this.Membership) + `,`, `Kind:` + valueToStringPlugin(this.Kind) + `,`, - `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s @@ -536,7 +640,6 @@ func (this *StoreObject) String() string { } s := strings.Join([]string{`&StoreObject{`, `WatchSelectors:` + strings.Replace(fmt.Sprintf("%v", this.WatchSelectors), "WatchSelectors", "WatchSelectors", 1) + `,`, - `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s @@ -548,7 +651,6 @@ func (this *TLSAuthorization) String() string { s := strings.Join([]string{`&TLSAuthorization{`, `Roles:` + fmt.Sprintf("%v", this.Roles) + `,`, `Insecure:` + valueToStringPlugin(this.Insecure) + `,`, - `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s @@ -576,7 +678,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -604,7 +706,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -625,7 +727,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -646,7 +748,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -667,7 +769,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -688,7 +790,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -709,7 +811,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -730,7 +832,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -751,7 +853,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -772,7 +874,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -793,7 +895,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -814,7 +916,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -835,7 +937,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -856,7 +958,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -872,10 +974,12 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthPlugin } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthPlugin + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } @@ -901,7 +1005,7 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -929,7 +1033,7 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -938,6 +1042,9 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { return ErrInvalidLengthPlugin } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPlugin + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -958,15 +1065,17 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthPlugin } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthPlugin + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if hasFields[0]&uint64(0x00000001) == 0 { - return proto.NewRequiredNotSetError("watch_selectors") + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("watch_selectors") } if iNdEx > l { @@ -989,7 +1098,7 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1017,7 +1126,7 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1027,6 +1136,9 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { return ErrInvalidLengthPlugin } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthPlugin + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1046,7 +1158,7 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1062,10 +1174,12 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthPlugin } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthPlugin + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } @@ -1129,10 +1243,13 @@ func skipPlugin(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthPlugin } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthPlugin + } return iNdEx, nil case 3: for { @@ -1161,6 +1278,9 @@ func skipPlugin(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthPlugin + } } return iNdEx, nil case 4: @@ -1179,47 +1299,3 @@ var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/protobuf/plugin/plugin.proto", fileDescriptorPlugin) -} - -var fileDescriptorPlugin = []byte{ - // 575 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xae, 0xd3, 0x36, 0x4d, 0x26, 0x69, 0xff, 0xfe, 0x2b, 0x54, 0xad, 0x7a, 0x70, 0xaa, 0x46, - 0x42, 0x41, 0x42, 0x8e, 0xd4, 0x0b, 0x52, 0x6e, 0x94, 0x5c, 0x22, 0x01, 0x45, 0x0e, 0x12, 0x37, - 0x22, 0xc7, 0x3b, 0x4d, 0x96, 0x3a, 0x5e, 0x6b, 0x77, 0x4d, 0x0a, 0x27, 0x5e, 0x80, 0x07, 0xe0, - 0xca, 0xd3, 0xf4, 0xc8, 0x91, 0x53, 0x44, 0x2d, 0x71, 0xe0, 0x06, 0x6f, 0x80, 0x76, 0xd7, 0x69, - 0x08, 0x6a, 0xc5, 0xc9, 0x33, 0xdf, 0x7c, 0xdf, 0xcc, 0x7c, 0x3b, 0x86, 0x47, 0x13, 0xae, 0xa7, - 0xf9, 0x38, 0x88, 0xc5, 0xac, 0xcb, 0x44, 0x7c, 0x81, 0xb2, 0xab, 0xe6, 0x91, 0x9c, 0x5d, 0x70, - 0xdd, 0xcd, 0xa4, 0xd0, 0x62, 0x9c, 0x9f, 0x77, 0xb3, 0x24, 0x9f, 0xf0, 0xb4, 0xfc, 0x04, 0x16, - 0x26, 0x07, 0x8e, 0x1d, 0x2c, 0x49, 0x81, 0xab, 0x1e, 0x1e, 0x4d, 0x84, 0x98, 0x24, 0xb8, 0x12, - 0x33, 0x54, 0xb1, 0xe4, 0x99, 0x16, 0x25, 0xf7, 0xf8, 0xd3, 0x26, 0xec, 0xbd, 0x8a, 0x74, 0x3c, - 0x1d, 0x62, 0x82, 0xb1, 0x16, 0x52, 0x91, 0x03, 0xa8, 0x70, 0x46, 0xbd, 0x23, 0xaf, 0x53, 0x3b, - 0xad, 0x16, 0x8b, 0x56, 0x65, 0xd0, 0x0f, 0x2b, 0x9c, 0x91, 0x07, 0x50, 0xe7, 0x6c, 0x94, 0x49, - 0x3c, 0xe7, 0x97, 0xb4, 0x62, 0xcb, 0xcd, 0x62, 0xd1, 0xaa, 0x0d, 0xfa, 0x2f, 0x2c, 0x16, 0xd6, - 0x38, 0x73, 0x11, 0x21, 0xb0, 0x95, 0x46, 0x33, 0xa4, 0x9b, 0x86, 0x15, 0xda, 0x98, 0xb4, 0xa0, - 0x61, 0xbe, 0xcb, 0x06, 0x5b, 0xb6, 0x04, 0x06, 0x2a, 0x45, 0x07, 0x50, 0x8d, 0x73, 0xa5, 0xc5, - 0x8c, 0x6e, 0xdb, 0x5a, 0x99, 0x91, 0x36, 0xec, 0xba, 0x68, 0x29, 0xad, 0xda, 0x72, 0xd3, 0x81, - 0xa5, 0xf8, 0x21, 0x80, 0x42, 0xf9, 0x96, 0xc7, 0x38, 0xe2, 0x8c, 0xee, 0xd8, 0xed, 0x76, 0x8b, - 0x45, 0xab, 0x3e, 0x74, 0xe8, 0xa0, 0x1f, 0xd6, 0x4b, 0xc2, 0x80, 0x91, 0x36, 0xec, 0xa4, 0x82, - 0x59, 0x6a, 0xcd, 0x52, 0xa1, 0x58, 0xb4, 0xaa, 0xcf, 0x05, 0x33, 0xbc, 0xaa, 0x29, 0x0d, 0x98, - 0x31, 0xa1, 0x12, 0xa1, 0x69, 0xdd, 0x99, 0x30, 0xb1, 0xd9, 0x85, 0xa1, 0xe2, 0x12, 0xd9, 0x48, - 0xe9, 0x48, 0x23, 0x05, 0xb7, 0x4b, 0x09, 0x0e, 0x0d, 0x66, 0x84, 0x52, 0x24, 0x48, 0x1b, 0x4e, - 0x68, 0x62, 0xe2, 0x03, 0xcc, 0x70, 0x36, 0x46, 0xa9, 0xa6, 0x3c, 0xa3, 0x4d, 0x67, 0x7e, 0x85, - 0x18, 0xcd, 0x05, 0x4f, 0x19, 0xdd, 0x75, 0x1a, 0x13, 0x1f, 0xbf, 0x86, 0xc6, 0x50, 0x0b, 0x89, - 0x67, 0xe3, 0x37, 0x18, 0x6b, 0x72, 0x06, 0xff, 0xcd, 0xcd, 0xa5, 0x46, 0x6a, 0x79, 0x2a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xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x99, 0x7d, 0xfb, 0xf9, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/vendor.conf b/vendor/github.com/docker/swarmkit/vendor.conf index 7bd653bc58..81dcfd4cf9 100644 --- a/vendor/github.com/docker/swarmkit/vendor.conf +++ b/vendor/github.com/docker/swarmkit/vendor.conf @@ -8,10 +8,10 @@ # In >=1.11, those errors were brought back but the string had changed again. # After updating GRPC, if integration test failures occur, verify that the # string matching there is correct. -google.golang.org/grpc 7a6a684ca69eb4cae85ad0a484f2e531598c047b # v1.12.2 -github.com/gogo/protobuf v1.0.0 -github.com/golang/protobuf v1.1.0 -github.com/matttproud/golang_protobuf_extensions v1.0.0 +google.golang.org/grpc 25c4f928eaa6d96443009bd842389fb4fa48664e # v1.20.1 +github.com/gogo/protobuf ba06b47c162d49f2af050fb4c75bcbc86a159d5c # v1.2.1 +github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5 # v1.2.0 +github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c # v1.0.1 google.golang.org/genproto 694d95ba50e67b2e363f3483057db5d4910c18f9 # metrics @@ -31,37 +31,37 @@ github.com/docker/distribution 0d3efadf0154c2b8a4e7b6621fff9809655cc580 github.com/docker/docker 827cb09f87964ed38b46502f22a585f2ed4a78e1 github.com/docker/go-connections 7395e3f8aa162843a74ed6d48e79627d9792ac55 # v0.4.0 github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9 -github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1 +github.com/docker/go-units 519db1ee28dcc9fd2474ae59fca29a810482bfb1 # v0.4.0 github.com/docker/libkv 458977154600b9f23984d9f4b82e79570b5ae12b -github.com/docker/libnetwork 1a06131fb8a047d919f7deaf02a4c414d7884b83 -github.com/opencontainers/runc 96ec2177ae841256168fcf76954f7177af9446eb +github.com/docker/libnetwork 09cdcc8c0eab3946c2d70e8f6225b05baf1e90d1 +github.com/opencontainers/runc 425e105d5a03fabd737a126ad93d62a9eeede87f # v1.0.0-rc8 github.com/opencontainers/go-digest v1.0.0-rc1 github.com/opencontainers/image-spec v1.0.1 -github.com/ishidawataru/sctp 07191f837fedd2f13d1ec7b5f885f0f3ec54b1cb +github.com/ishidawataru/sctp 6e2cb1366111dcf547c13531e3a263a067715847 -github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73 # v1.1.1 -github.com/Microsoft/go-winio v0.4.11 -github.com/sirupsen/logrus v1.0.6 -github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceaf +github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73 # v1.1.1 +github.com/Microsoft/go-winio 6c72808b55902eae4c5943626030429ff20f3b63 # v0.4.14 +github.com/sirupsen/logrus 8bdbc7bcc01dcbb8ec23dc8a28e332258d25251f # v1.4.1 +github.com/beorn7/perks 37c8de3658fcb183f997c4e13e8337516ab753e6 # v1.0.1 github.com/cloudflare/cfssl 1.3.2 -github.com/dustin/go-humanize 8929fe90cee4b2cb9deb468b51fb34eba64d1bf0 +github.com/dustin/go-humanize 9f541cc9db5d55bce703bd99987c9d5cb8eea45e # v1.0.0 github.com/fernet/fernet-go 9eac43b88a5efb8651d24de9b68e87567e029736 github.com/google/certificate-transparency-go v1.0.20 github.com/hashicorp/go-immutable-radix 826af9ccf0feeee615d546d69b11f8e98da8c8f1 git://github.com/tonistiigi/go-immutable-radix.git github.com/hashicorp/go-memdb cb9a474f84cc5e41b273b20c6927680b2a8776ad -github.com/hashicorp/golang-lru 0fb14efe8c47ae851c0034ed7a448854d3d34cf3 +github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c # v0.5.1 github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 github.com/phayes/permbits f7e3ac5e859d0b919c5068d581cc4c5d4f4f9bc5 code.cloudfoundry.org/clock 02e53af36e6c978af692887ed449b74026d76fec -github.com/pkg/errors 645ef00459ed84a119197bfb8d8205042c6df63d +github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4 # v0.8.1 github.com/pmezard/go-difflib 792786c7400a136282c1664665ae0a8db921c6c2 # v1.0.0 github.com/rcrowley/go-metrics 51425a2415d21afadfd55cd93432c0bc69e9598d github.com/spf13/cobra 8e91712f174ced10270cf66615e0a9127e7c4de5 github.com/spf13/pflag 7f60f83a2c81bc3c3c0d5297f61ddfa68da9d3b7 github.com/stretchr/testify ffdc059bfe9ce6a4e144ba849dbedead332c6053 # v1.3.0 -go.etcd.io/bbolt v1.3.1-etcd.8 -golang.org/x/crypto b7391e95e576cacdcdd422573063bc057239113d -golang.org/x/net a680a1efc54dd51c040b3b5ce4939ea3cf2ea0d1 -golang.org/x/sys 90868a75fefd03942536221d7c0e2f84ec62a668 +go.etcd.io/bbolt a0458a2b35708eef59eb5f620ceb3cd1c01a824d # v1.3.3 +golang.org/x/crypto 88737f569e3a9c7ab309cdc09a07fe7fc87233c3 +golang.org/x/net f3200d17e092c607f615320ecaad13d87ad9a2b3 +golang.org/x/sys 9eafafc0a87e0fd0aeeba439a4573537970c44c7 golang.org/x/text f21a4dfb5e38f5895301dc265a8def02365cc3d0 # v0.3.0 golang.org/x/time fbb02b2291d28baffd63558aa44b4b56f178d650