diff --git a/process/agent.pb.go b/process/agent.pb.go index 054988ae..8284360a 100644 --- a/process/agent.pb.go +++ b/process/agent.pb.go @@ -197,97 +197,100 @@ func (ConnectionType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{4} } -type K8SResource int32 +type OrchestratorResource int32 const ( - K8SResource_K8SRESOURCE_UNSPECIFIED K8SResource = 0 - K8SResource_POD K8SResource = 1 - K8SResource_REPLICASET K8SResource = 2 - K8SResource_SERVICE K8SResource = 3 - K8SResource_NODE K8SResource = 4 - K8SResource_CLUSTER K8SResource = 5 - K8SResource_JOB K8SResource = 6 - K8SResource_CRONJOB K8SResource = 7 - K8SResource_DAEMONSET K8SResource = 8 - K8SResource_STATEFULSET K8SResource = 9 - K8SResource_PERSISTENTVOLUME K8SResource = 10 - K8SResource_PERSISTENTVOLUMECLAIM K8SResource = 11 - K8SResource_ROLE K8SResource = 12 - K8SResource_ROLEBINDING K8SResource = 13 - K8SResource_CLUSTERROLE K8SResource = 14 - K8SResource_CLUSTERROLEBINDING K8SResource = 15 - K8SResource_SERVICEACCOUNT K8SResource = 16 - K8SResource_INGRESS K8SResource = 17 - K8SResource_DEPLOYMENT K8SResource = 18 - K8SResource_NAMESPACE K8SResource = 19 - K8SResource_CRD K8SResource = 20 - K8SResource_CR K8SResource = 21 - K8SResource_VERTICALPODAUTOSCALER K8SResource = 22 - K8SResource_HORIZONTALPODAUTOSCALER K8SResource = 23 - K8SResource_NETWORKPOLICY K8SResource = 24 + OrchestratorResource_OrchestratorResource_UNSPECIFIED OrchestratorResource = 0 + OrchestratorResource_POD OrchestratorResource = 1 + OrchestratorResource_REPLICASET OrchestratorResource = 2 + OrchestratorResource_SERVICE OrchestratorResource = 3 + OrchestratorResource_NODE OrchestratorResource = 4 + OrchestratorResource_CLUSTER OrchestratorResource = 5 + OrchestratorResource_JOB OrchestratorResource = 6 + OrchestratorResource_CRONJOB OrchestratorResource = 7 + OrchestratorResource_DAEMONSET OrchestratorResource = 8 + OrchestratorResource_STATEFULSET OrchestratorResource = 9 + OrchestratorResource_PERSISTENTVOLUME OrchestratorResource = 10 + OrchestratorResource_PERSISTENTVOLUMECLAIM OrchestratorResource = 11 + OrchestratorResource_ROLE OrchestratorResource = 12 + OrchestratorResource_ROLEBINDING OrchestratorResource = 13 + OrchestratorResource_CLUSTERROLE OrchestratorResource = 14 + OrchestratorResource_CLUSTERROLEBINDING OrchestratorResource = 15 + OrchestratorResource_SERVICEACCOUNT OrchestratorResource = 16 + OrchestratorResource_INGRESS OrchestratorResource = 17 + OrchestratorResource_DEPLOYMENT OrchestratorResource = 18 + OrchestratorResource_NAMESPACE OrchestratorResource = 19 + OrchestratorResource_CRD OrchestratorResource = 20 + OrchestratorResource_CR OrchestratorResource = 21 + OrchestratorResource_VERTICALPODAUTOSCALER OrchestratorResource = 22 + OrchestratorResource_HORIZONTALPODAUTOSCALER OrchestratorResource = 23 + OrchestratorResource_NETWORKPOLICY OrchestratorResource = 24 + OrchestratorResource_ECSTASK OrchestratorResource = 150 ) -var K8SResource_name = map[int32]string{ - 0: "K8SRESOURCE_UNSPECIFIED", - 1: "POD", - 2: "REPLICASET", - 3: "SERVICE", - 4: "NODE", - 5: "CLUSTER", - 6: "JOB", - 7: "CRONJOB", - 8: "DAEMONSET", - 9: "STATEFULSET", - 10: "PERSISTENTVOLUME", - 11: "PERSISTENTVOLUMECLAIM", - 12: "ROLE", - 13: "ROLEBINDING", - 14: "CLUSTERROLE", - 15: "CLUSTERROLEBINDING", - 16: "SERVICEACCOUNT", - 17: "INGRESS", - 18: "DEPLOYMENT", - 19: "NAMESPACE", - 20: "CRD", - 21: "CR", - 22: "VERTICALPODAUTOSCALER", - 23: "HORIZONTALPODAUTOSCALER", - 24: "NETWORKPOLICY", -} - -var K8SResource_value = map[string]int32{ - "K8SRESOURCE_UNSPECIFIED": 0, - "POD": 1, - "REPLICASET": 2, - "SERVICE": 3, - "NODE": 4, - "CLUSTER": 5, - "JOB": 6, - "CRONJOB": 7, - "DAEMONSET": 8, - "STATEFULSET": 9, - "PERSISTENTVOLUME": 10, - "PERSISTENTVOLUMECLAIM": 11, - "ROLE": 12, - "ROLEBINDING": 13, - "CLUSTERROLE": 14, - "CLUSTERROLEBINDING": 15, - "SERVICEACCOUNT": 16, - "INGRESS": 17, - "DEPLOYMENT": 18, - "NAMESPACE": 19, - "CRD": 20, - "CR": 21, - "VERTICALPODAUTOSCALER": 22, - "HORIZONTALPODAUTOSCALER": 23, - "NETWORKPOLICY": 24, -} - -func (x K8SResource) String() string { - return proto.EnumName(K8SResource_name, int32(x)) -} - -func (K8SResource) EnumDescriptor() ([]byte, []int) { +var OrchestratorResource_name = map[int32]string{ + 0: "OrchestratorResource_UNSPECIFIED", + 1: "POD", + 2: "REPLICASET", + 3: "SERVICE", + 4: "NODE", + 5: "CLUSTER", + 6: "JOB", + 7: "CRONJOB", + 8: "DAEMONSET", + 9: "STATEFULSET", + 10: "PERSISTENTVOLUME", + 11: "PERSISTENTVOLUMECLAIM", + 12: "ROLE", + 13: "ROLEBINDING", + 14: "CLUSTERROLE", + 15: "CLUSTERROLEBINDING", + 16: "SERVICEACCOUNT", + 17: "INGRESS", + 18: "DEPLOYMENT", + 19: "NAMESPACE", + 20: "CRD", + 21: "CR", + 22: "VERTICALPODAUTOSCALER", + 23: "HORIZONTALPODAUTOSCALER", + 24: "NETWORKPOLICY", + 150: "ECSTASK", +} + +var OrchestratorResource_value = map[string]int32{ + "OrchestratorResource_UNSPECIFIED": 0, + "POD": 1, + "REPLICASET": 2, + "SERVICE": 3, + "NODE": 4, + "CLUSTER": 5, + "JOB": 6, + "CRONJOB": 7, + "DAEMONSET": 8, + "STATEFULSET": 9, + "PERSISTENTVOLUME": 10, + "PERSISTENTVOLUMECLAIM": 11, + "ROLE": 12, + "ROLEBINDING": 13, + "CLUSTERROLE": 14, + "CLUSTERROLEBINDING": 15, + "SERVICEACCOUNT": 16, + "INGRESS": 17, + "DEPLOYMENT": 18, + "NAMESPACE": 19, + "CRD": 20, + "CR": 21, + "VERTICALPODAUTOSCALER": 22, + "HORIZONTALPODAUTOSCALER": 23, + "NETWORKPOLICY": 24, + "ECSTASK": 150, +} + +func (x OrchestratorResource) String() string { + return proto.EnumName(OrchestratorResource_name, int32(x)) +} + +func (OrchestratorResource) EnumDescriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{5} } @@ -1093,29 +1096,28 @@ func (m *CollectorReqStatus) GetHostName() string { return "" } -type CollectorPod struct { - HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"` - ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,4,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,5,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Pods []*Pod `protobuf:"bytes,6,rep,name=pods,proto3" json:"pods,omitempty"` - Host *Host `protobuf:"bytes,7,opt,name=host,proto3" json:"host,omitempty"` - Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorECSTask struct { + AwsAccountID int64 `protobuf:"varint,1,opt,name=awsAccountID,proto3" json:"awsAccountID,omitempty"` + ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + GroupId int32 `protobuf:"varint,5,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,6,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Tasks []*ECSTask `protobuf:"bytes,7,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *CollectorPod) Reset() { *m = CollectorPod{} } -func (m *CollectorPod) String() string { return proto.CompactTextString(m) } -func (*CollectorPod) ProtoMessage() {} -func (*CollectorPod) Descriptor() ([]byte, []int) { +func (m *CollectorECSTask) Reset() { *m = CollectorECSTask{} } +func (m *CollectorECSTask) String() string { return proto.CompactTextString(m) } +func (*CollectorECSTask) ProtoMessage() {} +func (*CollectorECSTask) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{7} } -func (m *CollectorPod) XXX_Unmarshal(b []byte) error { +func (m *CollectorECSTask) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorECSTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorPod.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorECSTask.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1125,95 +1127,101 @@ func (m *CollectorPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *CollectorPod) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPod.Merge(m, src) +func (m *CollectorECSTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorECSTask.Merge(m, src) } -func (m *CollectorPod) XXX_Size() int { +func (m *CollectorECSTask) XXX_Size() int { return m.Size() } -func (m *CollectorPod) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPod.DiscardUnknown(m) +func (m *CollectorECSTask) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorECSTask.DiscardUnknown(m) } -var xxx_messageInfo_CollectorPod proto.InternalMessageInfo +var xxx_messageInfo_CollectorECSTask proto.InternalMessageInfo -func (m *CollectorPod) GetHostName() string { +func (m *CollectorECSTask) GetAwsAccountID() int64 { if m != nil { - return m.HostName + return m.AwsAccountID } - return "" + return 0 } -func (m *CollectorPod) GetClusterName() string { +func (m *CollectorECSTask) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorPod) GetClusterId() string { +func (m *CollectorECSTask) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorPod) GetGroupId() int32 { +func (m *CollectorECSTask) GetRegion() string { if m != nil { - return m.GroupId + return m.Region } - return 0 + return "" } -func (m *CollectorPod) GetGroupSize() int32 { +func (m *CollectorECSTask) GetGroupId() int32 { if m != nil { - return m.GroupSize + return m.GroupId } return 0 } -func (m *CollectorPod) GetPods() []*Pod { - if m != nil { - return m.Pods - } - return nil -} - -func (m *CollectorPod) GetHost() *Host { +func (m *CollectorECSTask) GetGroupSize() int32 { if m != nil { - return m.Host + return m.GroupSize } - return nil + return 0 } -func (m *CollectorPod) GetTags() []string { +func (m *CollectorECSTask) GetTasks() []*ECSTask { if m != nil { - return m.Tags + return m.Tasks } return nil } -type CollectorReplicaSet struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - ReplicaSets []*ReplicaSet `protobuf:"bytes,5,rep,name=replicaSets,proto3" json:"replicaSets,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type ECSTask struct { + Arn string `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"` + ResourceVersion string `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` + LaunchType string `protobuf:"bytes,3,opt,name=launchType,proto3" json:"launchType,omitempty"` + DesiredStatus string `protobuf:"bytes,4,opt,name=desiredStatus,proto3" json:"desiredStatus,omitempty"` + KnownStatus string `protobuf:"bytes,5,opt,name=knownStatus,proto3" json:"knownStatus,omitempty"` + Family string `protobuf:"bytes,6,opt,name=family,proto3" json:"family,omitempty"` + Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` + AvailabilityZone string `protobuf:"bytes,8,opt,name=availabilityZone,proto3" json:"availabilityZone,omitempty"` + Limits map[string]float64 `protobuf:"bytes,9,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` + EphemeralStorageMetrics map[string]int64 `protobuf:"bytes,10,rep,name=ephemeralStorageMetrics,proto3" json:"ephemeralStorageMetrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ServiceName string `protobuf:"bytes,11,opt,name=serviceName,proto3" json:"serviceName,omitempty"` + VpcId string `protobuf:"bytes,12,opt,name=vpcId,proto3" json:"vpcId,omitempty"` + PullStartedAt int64 `protobuf:"varint,13,opt,name=pullStartedAt,proto3" json:"pullStartedAt,omitempty"` + PullStoppedAt int64 `protobuf:"varint,14,opt,name=pullStoppedAt,proto3" json:"pullStoppedAt,omitempty"` + ExecutionStoppedAt int64 `protobuf:"varint,15,opt,name=executionStoppedAt,proto3" json:"executionStoppedAt,omitempty"` + Containers []*ECSContainer `protobuf:"bytes,16,rep,name=containers,proto3" json:"containers,omitempty"` + Tags []string `protobuf:"bytes,17,rep,name=tags,proto3" json:"tags,omitempty"` + EcsTags []string `protobuf:"bytes,18,rep,name=ecsTags,proto3" json:"ecsTags,omitempty"` + ContainerInstanceTags []string `protobuf:"bytes,19,rep,name=containerInstanceTags,proto3" json:"containerInstanceTags,omitempty"` } -func (m *CollectorReplicaSet) Reset() { *m = CollectorReplicaSet{} } -func (m *CollectorReplicaSet) String() string { return proto.CompactTextString(m) } -func (*CollectorReplicaSet) ProtoMessage() {} -func (*CollectorReplicaSet) Descriptor() ([]byte, []int) { +func (m *ECSTask) Reset() { *m = ECSTask{} } +func (m *ECSTask) String() string { return proto.CompactTextString(m) } +func (*ECSTask) ProtoMessage() {} +func (*ECSTask) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{8} } -func (m *CollectorReplicaSet) XXX_Unmarshal(b []byte) error { +func (m *ECSTask) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorReplicaSet.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSTask.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1223,165 +1231,188 @@ func (m *CollectorReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *CollectorReplicaSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorReplicaSet.Merge(m, src) +func (m *ECSTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSTask.Merge(m, src) } -func (m *CollectorReplicaSet) XXX_Size() int { +func (m *ECSTask) XXX_Size() int { return m.Size() } -func (m *CollectorReplicaSet) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorReplicaSet.DiscardUnknown(m) +func (m *ECSTask) XXX_DiscardUnknown() { + xxx_messageInfo_ECSTask.DiscardUnknown(m) } -var xxx_messageInfo_CollectorReplicaSet proto.InternalMessageInfo +var xxx_messageInfo_ECSTask proto.InternalMessageInfo -func (m *CollectorReplicaSet) GetClusterName() string { +func (m *ECSTask) GetArn() string { if m != nil { - return m.ClusterName + return m.Arn } return "" } -func (m *CollectorReplicaSet) GetClusterId() string { +func (m *ECSTask) GetResourceVersion() string { if m != nil { - return m.ClusterId + return m.ResourceVersion } return "" } -func (m *CollectorReplicaSet) GetGroupId() int32 { +func (m *ECSTask) GetLaunchType() string { if m != nil { - return m.GroupId + return m.LaunchType } - return 0 + return "" } -func (m *CollectorReplicaSet) GetGroupSize() int32 { +func (m *ECSTask) GetDesiredStatus() string { if m != nil { - return m.GroupSize + return m.DesiredStatus } - return 0 + return "" } -func (m *CollectorReplicaSet) GetReplicaSets() []*ReplicaSet { +func (m *ECSTask) GetKnownStatus() string { if m != nil { - return m.ReplicaSets + return m.KnownStatus } - return nil + return "" } -func (m *CollectorReplicaSet) GetTags() []string { +func (m *ECSTask) GetFamily() string { if m != nil { - return m.Tags + return m.Family } - return nil + return "" } -type CollectorDeployment struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Deployments []*Deployment `protobuf:"bytes,5,rep,name=deployments,proto3" json:"deployments,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *ECSTask) GetVersion() string { + if m != nil { + return m.Version + } + return "" } -func (m *CollectorDeployment) Reset() { *m = CollectorDeployment{} } -func (m *CollectorDeployment) String() string { return proto.CompactTextString(m) } -func (*CollectorDeployment) ProtoMessage() {} -func (*CollectorDeployment) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{9} -} -func (m *CollectorDeployment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CollectorDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorDeployment.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *ECSTask) GetAvailabilityZone() string { + if m != nil { + return m.AvailabilityZone } + return "" } -func (m *CollectorDeployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorDeployment.Merge(m, src) -} -func (m *CollectorDeployment) XXX_Size() int { - return m.Size() -} -func (m *CollectorDeployment) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorDeployment.DiscardUnknown(m) + +func (m *ECSTask) GetLimits() map[string]float64 { + if m != nil { + return m.Limits + } + return nil } -var xxx_messageInfo_CollectorDeployment proto.InternalMessageInfo +func (m *ECSTask) GetEphemeralStorageMetrics() map[string]int64 { + if m != nil { + return m.EphemeralStorageMetrics + } + return nil +} -func (m *CollectorDeployment) GetClusterName() string { +func (m *ECSTask) GetServiceName() string { if m != nil { - return m.ClusterName + return m.ServiceName } return "" } -func (m *CollectorDeployment) GetClusterId() string { +func (m *ECSTask) GetVpcId() string { if m != nil { - return m.ClusterId + return m.VpcId } return "" } -func (m *CollectorDeployment) GetGroupId() int32 { +func (m *ECSTask) GetPullStartedAt() int64 { if m != nil { - return m.GroupId + return m.PullStartedAt } return 0 } -func (m *CollectorDeployment) GetGroupSize() int32 { +func (m *ECSTask) GetPullStoppedAt() int64 { if m != nil { - return m.GroupSize + return m.PullStoppedAt } return 0 } -func (m *CollectorDeployment) GetDeployments() []*Deployment { +func (m *ECSTask) GetExecutionStoppedAt() int64 { if m != nil { - return m.Deployments + return m.ExecutionStoppedAt + } + return 0 +} + +func (m *ECSTask) GetContainers() []*ECSContainer { + if m != nil { + return m.Containers } return nil } -func (m *CollectorDeployment) GetTags() []string { +func (m *ECSTask) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorService struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Services []*Service `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *ECSTask) GetEcsTags() []string { + if m != nil { + return m.EcsTags + } + return nil } -func (m *CollectorService) Reset() { *m = CollectorService{} } -func (m *CollectorService) String() string { return proto.CompactTextString(m) } -func (*CollectorService) ProtoMessage() {} -func (*CollectorService) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{10} +func (m *ECSTask) GetContainerInstanceTags() []string { + if m != nil { + return m.ContainerInstanceTags + } + return nil } -func (m *CollectorService) XXX_Unmarshal(b []byte) error { + +type ECSContainer struct { + DockerID string `protobuf:"bytes,1,opt,name=dockerID,proto3" json:"dockerID,omitempty"` + DockerName string `protobuf:"bytes,2,opt,name=dockerName,proto3" json:"dockerName,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` + ImageID string `protobuf:"bytes,5,opt,name=imageID,proto3" json:"imageID,omitempty"` + CreatedAt int64 `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + StartedAt int64 `protobuf:"varint,7,opt,name=startedAt,proto3" json:"startedAt,omitempty"` + FinishedAt int64 `protobuf:"varint,8,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"` + DesiredStatus string `protobuf:"bytes,9,opt,name=desiredStatus,proto3" json:"desiredStatus,omitempty"` + KnownStatus string `protobuf:"bytes,10,opt,name=knownStatus,proto3" json:"knownStatus,omitempty"` + ExitCode *ECSContainerExitCode `protobuf:"bytes,11,opt,name=exitCode,proto3" json:"exitCode,omitempty"` + Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"` + LogDriver string `protobuf:"bytes,13,opt,name=logDriver,proto3" json:"logDriver,omitempty"` + LogOptions map[string]string `protobuf:"bytes,14,rep,name=logOptions,proto3" json:"logOptions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ContainerArn string `protobuf:"bytes,15,opt,name=containerArn,proto3" json:"containerArn,omitempty"` + Ports []*ECSContainerPort `protobuf:"bytes,16,rep,name=ports,proto3" json:"ports,omitempty"` + Networks []*ECSContainerNetwork `protobuf:"bytes,17,rep,name=networks,proto3" json:"networks,omitempty"` + Volumes []*ECSContainerVolume `protobuf:"bytes,18,rep,name=volumes,proto3" json:"volumes,omitempty"` + Health *ECSContainerHealth `protobuf:"bytes,19,opt,name=health,proto3" json:"health,omitempty"` + Labels []string `protobuf:"bytes,20,rep,name=labels,proto3" json:"labels,omitempty"` + Limits map[string]float64 `protobuf:"bytes,21,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` + Snapshotter string `protobuf:"bytes,22,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` +} + +func (m *ECSContainer) Reset() { *m = ECSContainer{} } +func (m *ECSContainer) String() string { return proto.CompactTextString(m) } +func (*ECSContainer) ProtoMessage() {} +func (*ECSContainer) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{9} +} +func (m *ECSContainer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorService.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSContainer.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1391,173 +1422,190 @@ func (m *CollectorService) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *CollectorService) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorService.Merge(m, src) +func (m *ECSContainer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSContainer.Merge(m, src) } -func (m *CollectorService) XXX_Size() int { +func (m *ECSContainer) XXX_Size() int { return m.Size() } -func (m *CollectorService) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorService.DiscardUnknown(m) +func (m *ECSContainer) XXX_DiscardUnknown() { + xxx_messageInfo_ECSContainer.DiscardUnknown(m) } -var xxx_messageInfo_CollectorService proto.InternalMessageInfo +var xxx_messageInfo_ECSContainer proto.InternalMessageInfo -func (m *CollectorService) GetClusterName() string { +func (m *ECSContainer) GetDockerID() string { if m != nil { - return m.ClusterName + return m.DockerID } return "" } -func (m *CollectorService) GetClusterId() string { +func (m *ECSContainer) GetDockerName() string { if m != nil { - return m.ClusterId + return m.DockerName } return "" } -func (m *CollectorService) GetGroupId() int32 { +func (m *ECSContainer) GetName() string { if m != nil { - return m.GroupId + return m.Name } - return 0 + return "" } -func (m *CollectorService) GetGroupSize() int32 { +func (m *ECSContainer) GetImage() string { if m != nil { - return m.GroupSize + return m.Image } - return 0 + return "" } -func (m *CollectorService) GetServices() []*Service { +func (m *ECSContainer) GetImageID() string { if m != nil { - return m.Services + return m.ImageID } - return nil + return "" } -func (m *CollectorService) GetTags() []string { +func (m *ECSContainer) GetCreatedAt() int64 { if m != nil { - return m.Tags + return m.CreatedAt } - return nil + return 0 } -type CollectorNode struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Nodes []*Node `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` - HostAliasMapping map[string]*Host `protobuf:"bytes,7,rep,name=hostAliasMapping,proto3" json:"hostAliasMapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +func (m *ECSContainer) GetStartedAt() int64 { + if m != nil { + return m.StartedAt + } + return 0 } -func (m *CollectorNode) Reset() { *m = CollectorNode{} } -func (m *CollectorNode) String() string { return proto.CompactTextString(m) } -func (*CollectorNode) ProtoMessage() {} -func (*CollectorNode) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{11} +func (m *ECSContainer) GetFinishedAt() int64 { + if m != nil { + return m.FinishedAt + } + return 0 } -func (m *CollectorNode) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (m *ECSContainer) GetDesiredStatus() string { + if m != nil { + return m.DesiredStatus + } + return "" } -func (m *CollectorNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CollectorNode.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + +func (m *ECSContainer) GetKnownStatus() string { + if m != nil { + return m.KnownStatus } + return "" } -func (m *CollectorNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorNode.Merge(m, src) + +func (m *ECSContainer) GetExitCode() *ECSContainerExitCode { + if m != nil { + return m.ExitCode + } + return nil } -func (m *CollectorNode) XXX_Size() int { - return m.Size() + +func (m *ECSContainer) GetType() string { + if m != nil { + return m.Type + } + return "" } -func (m *CollectorNode) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorNode.DiscardUnknown(m) + +func (m *ECSContainer) GetLogDriver() string { + if m != nil { + return m.LogDriver + } + return "" } -var xxx_messageInfo_CollectorNode proto.InternalMessageInfo +func (m *ECSContainer) GetLogOptions() map[string]string { + if m != nil { + return m.LogOptions + } + return nil +} -func (m *CollectorNode) GetClusterName() string { +func (m *ECSContainer) GetContainerArn() string { if m != nil { - return m.ClusterName + return m.ContainerArn } return "" } -func (m *CollectorNode) GetClusterId() string { +func (m *ECSContainer) GetPorts() []*ECSContainerPort { if m != nil { - return m.ClusterId + return m.Ports } - return "" + return nil } -func (m *CollectorNode) GetGroupId() int32 { +func (m *ECSContainer) GetNetworks() []*ECSContainerNetwork { if m != nil { - return m.GroupId + return m.Networks } - return 0 + return nil } -func (m *CollectorNode) GetGroupSize() int32 { +func (m *ECSContainer) GetVolumes() []*ECSContainerVolume { if m != nil { - return m.GroupSize + return m.Volumes } - return 0 + return nil } -func (m *CollectorNode) GetNodes() []*Node { +func (m *ECSContainer) GetHealth() *ECSContainerHealth { if m != nil { - return m.Nodes + return m.Health } return nil } -func (m *CollectorNode) GetTags() []string { +func (m *ECSContainer) GetLabels() []string { if m != nil { - return m.Tags + return m.Labels } return nil } -func (m *CollectorNode) GetHostAliasMapping() map[string]*Host { +func (m *ECSContainer) GetLimits() map[string]float64 { if m != nil { - return m.HostAliasMapping + return m.Limits } return nil } -type CollectorCluster struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *ECSContainer) GetSnapshotter() string { + if m != nil { + return m.Snapshotter + } + return "" } -func (m *CollectorCluster) Reset() { *m = CollectorCluster{} } -func (m *CollectorCluster) String() string { return proto.CompactTextString(m) } -func (*CollectorCluster) ProtoMessage() {} -func (*CollectorCluster) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{12} +type ECSContainerNetwork struct { + NetworkMode string `protobuf:"bytes,1,opt,name=networkMode,proto3" json:"networkMode,omitempty"` + Ipv4Addresses []string `protobuf:"bytes,2,rep,name=ipv4Addresses,proto3" json:"ipv4Addresses,omitempty"` + Ipv6Addresses []string `protobuf:"bytes,3,rep,name=ipv6Addresses,proto3" json:"ipv6Addresses,omitempty"` } -func (m *CollectorCluster) XXX_Unmarshal(b []byte) error { + +func (m *ECSContainerNetwork) Reset() { *m = ECSContainerNetwork{} } +func (m *ECSContainerNetwork) String() string { return proto.CompactTextString(m) } +func (*ECSContainerNetwork) ProtoMessage() {} +func (*ECSContainerNetwork) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{10} +} +func (m *ECSContainerNetwork) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSContainerNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorCluster.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSContainerNetwork.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1567,81 +1615,58 @@ func (m *CollectorCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *CollectorCluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorCluster.Merge(m, src) +func (m *ECSContainerNetwork) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSContainerNetwork.Merge(m, src) } -func (m *CollectorCluster) XXX_Size() int { +func (m *ECSContainerNetwork) XXX_Size() int { return m.Size() } -func (m *CollectorCluster) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorCluster.DiscardUnknown(m) +func (m *ECSContainerNetwork) XXX_DiscardUnknown() { + xxx_messageInfo_ECSContainerNetwork.DiscardUnknown(m) } -var xxx_messageInfo_CollectorCluster proto.InternalMessageInfo - -func (m *CollectorCluster) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} +var xxx_messageInfo_ECSContainerNetwork proto.InternalMessageInfo -func (m *CollectorCluster) GetClusterId() string { +func (m *ECSContainerNetwork) GetNetworkMode() string { if m != nil { - return m.ClusterId + return m.NetworkMode } return "" } -func (m *CollectorCluster) GetGroupId() int32 { - if m != nil { - return m.GroupId - } - return 0 -} - -func (m *CollectorCluster) GetGroupSize() int32 { +func (m *ECSContainerNetwork) GetIpv4Addresses() []string { if m != nil { - return m.GroupSize - } - return 0 -} - -func (m *CollectorCluster) GetCluster() *Cluster { - if m != nil { - return m.Cluster + return m.Ipv4Addresses } return nil } -func (m *CollectorCluster) GetTags() []string { +func (m *ECSContainerNetwork) GetIpv6Addresses() []string { if m != nil { - return m.Tags + return m.Ipv6Addresses } return nil } -// CollectorManifest is the dedicated payload/pipeline for the yaml collection -type CollectorManifest struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Manifests []*Manifest `protobuf:"bytes,5,rep,name=manifests,proto3" json:"manifests,omitempty"` +type ECSContainerPort struct { + ContainerPort int32 `protobuf:"varint,1,opt,name=containerPort,proto3" json:"containerPort,omitempty"` + Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` + HostIp string `protobuf:"bytes,3,opt,name=hostIp,proto3" json:"hostIp,omitempty"` + HostPort int32 `protobuf:"varint,4,opt,name=hostPort,proto3" json:"hostPort,omitempty"` } -func (m *CollectorManifest) Reset() { *m = CollectorManifest{} } -func (m *CollectorManifest) String() string { return proto.CompactTextString(m) } -func (*CollectorManifest) ProtoMessage() {} -func (*CollectorManifest) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{13} +func (m *ECSContainerPort) Reset() { *m = ECSContainerPort{} } +func (m *ECSContainerPort) String() string { return proto.CompactTextString(m) } +func (*ECSContainerPort) ProtoMessage() {} +func (*ECSContainerPort) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{11} } -func (m *CollectorManifest) XXX_Unmarshal(b []byte) error { +func (m *ECSContainerPort) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSContainerPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorManifest.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSContainerPort.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1651,70 +1676,64 @@ func (m *CollectorManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *CollectorManifest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorManifest.Merge(m, src) +func (m *ECSContainerPort) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSContainerPort.Merge(m, src) } -func (m *CollectorManifest) XXX_Size() int { +func (m *ECSContainerPort) XXX_Size() int { return m.Size() } -func (m *CollectorManifest) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorManifest.DiscardUnknown(m) +func (m *ECSContainerPort) XXX_DiscardUnknown() { + xxx_messageInfo_ECSContainerPort.DiscardUnknown(m) } -var xxx_messageInfo_CollectorManifest proto.InternalMessageInfo +var xxx_messageInfo_ECSContainerPort proto.InternalMessageInfo -func (m *CollectorManifest) GetClusterName() string { +func (m *ECSContainerPort) GetContainerPort() int32 { if m != nil { - return m.ClusterName + return m.ContainerPort } - return "" + return 0 } -func (m *CollectorManifest) GetClusterId() string { +func (m *ECSContainerPort) GetProtocol() string { if m != nil { - return m.ClusterId + return m.Protocol } return "" } -func (m *CollectorManifest) GetGroupId() int32 { +func (m *ECSContainerPort) GetHostIp() string { if m != nil { - return m.GroupId + return m.HostIp } - return 0 + return "" } -func (m *CollectorManifest) GetGroupSize() int32 { +func (m *ECSContainerPort) GetHostPort() int32 { if m != nil { - return m.GroupSize + return m.HostPort } return 0 } -func (m *CollectorManifest) GetManifests() []*Manifest { - if m != nil { - return m.Manifests - } - return nil -} - -type CollectorManifestCRD struct { - Manifest *CollectorManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` - Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` +type ECSContainerVolume struct { + DockerName string `protobuf:"bytes,1,opt,name=dockerName,proto3" json:"dockerName,omitempty"` + Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` + Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *CollectorManifestCRD) Reset() { *m = CollectorManifestCRD{} } -func (m *CollectorManifestCRD) String() string { return proto.CompactTextString(m) } -func (*CollectorManifestCRD) ProtoMessage() {} -func (*CollectorManifestCRD) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{14} +func (m *ECSContainerVolume) Reset() { *m = ECSContainerVolume{} } +func (m *ECSContainerVolume) String() string { return proto.CompactTextString(m) } +func (*ECSContainerVolume) ProtoMessage() {} +func (*ECSContainerVolume) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{12} } -func (m *CollectorManifestCRD) XXX_Unmarshal(b []byte) error { +func (m *ECSContainerVolume) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorManifestCRD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSContainerVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorManifestCRD.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSContainerVolume.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1724,49 +1743,58 @@ func (m *CollectorManifestCRD) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CollectorManifestCRD) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorManifestCRD.Merge(m, src) +func (m *ECSContainerVolume) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSContainerVolume.Merge(m, src) } -func (m *CollectorManifestCRD) XXX_Size() int { +func (m *ECSContainerVolume) XXX_Size() int { return m.Size() } -func (m *CollectorManifestCRD) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorManifestCRD.DiscardUnknown(m) +func (m *ECSContainerVolume) XXX_DiscardUnknown() { + xxx_messageInfo_ECSContainerVolume.DiscardUnknown(m) } -var xxx_messageInfo_CollectorManifestCRD proto.InternalMessageInfo +var xxx_messageInfo_ECSContainerVolume proto.InternalMessageInfo -func (m *CollectorManifestCRD) GetManifest() *CollectorManifest { +func (m *ECSContainerVolume) GetDockerName() string { if m != nil { - return m.Manifest + return m.DockerName } - return nil + return "" } -func (m *CollectorManifestCRD) GetTags() []string { +func (m *ECSContainerVolume) GetSource() string { if m != nil { - return m.Tags + return m.Source } - return nil + return "" } -type CollectorManifestCR struct { - Manifest *CollectorManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` - Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *ECSContainerVolume) GetDestination() string { + if m != nil { + return m.Destination + } + return "" } -func (m *CollectorManifestCR) Reset() { *m = CollectorManifestCR{} } -func (m *CollectorManifestCR) String() string { return proto.CompactTextString(m) } -func (*CollectorManifestCR) ProtoMessage() {} -func (*CollectorManifestCR) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{15} +type ECSContainerHealth struct { + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Since int64 `protobuf:"varint,2,opt,name=since,proto3" json:"since,omitempty"` + ExitCode *ECSContainerExitCode `protobuf:"bytes,3,opt,name=exitCode,proto3" json:"exitCode,omitempty"` + Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` } -func (m *CollectorManifestCR) XXX_Unmarshal(b []byte) error { + +func (m *ECSContainerHealth) Reset() { *m = ECSContainerHealth{} } +func (m *ECSContainerHealth) String() string { return proto.CompactTextString(m) } +func (*ECSContainerHealth) ProtoMessage() {} +func (*ECSContainerHealth) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{13} +} +func (m *ECSContainerHealth) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorManifestCR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSContainerHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorManifestCR.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSContainerHealth.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1776,53 +1804,62 @@ func (m *CollectorManifestCR) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *CollectorManifestCR) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorManifestCR.Merge(m, src) +func (m *ECSContainerHealth) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSContainerHealth.Merge(m, src) } -func (m *CollectorManifestCR) XXX_Size() int { +func (m *ECSContainerHealth) XXX_Size() int { return m.Size() } -func (m *CollectorManifestCR) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorManifestCR.DiscardUnknown(m) +func (m *ECSContainerHealth) XXX_DiscardUnknown() { + xxx_messageInfo_ECSContainerHealth.DiscardUnknown(m) } -var xxx_messageInfo_CollectorManifestCR proto.InternalMessageInfo +var xxx_messageInfo_ECSContainerHealth proto.InternalMessageInfo -func (m *CollectorManifestCR) GetManifest() *CollectorManifest { +func (m *ECSContainerHealth) GetStatus() string { if m != nil { - return m.Manifest + return m.Status } - return nil + return "" } -func (m *CollectorManifestCR) GetTags() []string { +func (m *ECSContainerHealth) GetSince() int64 { if m != nil { - return m.Tags + return m.Since + } + return 0 +} + +func (m *ECSContainerHealth) GetExitCode() *ECSContainerExitCode { + if m != nil { + return m.ExitCode } return nil } -type CollectorNamespace struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Namespaces []*Namespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *ECSContainerHealth) GetOutput() string { + if m != nil { + return m.Output + } + return "" } -func (m *CollectorNamespace) Reset() { *m = CollectorNamespace{} } -func (m *CollectorNamespace) String() string { return proto.CompactTextString(m) } -func (*CollectorNamespace) ProtoMessage() {} -func (*CollectorNamespace) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{16} +type ECSContainerExitCode struct { + ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3" json:"exitCode,omitempty"` } -func (m *CollectorNamespace) XXX_Unmarshal(b []byte) error { + +func (m *ECSContainerExitCode) Reset() { *m = ECSContainerExitCode{} } +func (m *ECSContainerExitCode) String() string { return proto.CompactTextString(m) } +func (*ECSContainerExitCode) ProtoMessage() {} +func (*ECSContainerExitCode) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{14} +} +func (m *ECSContainerExitCode) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ECSContainerExitCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorNamespace.Marshal(b, m, deterministic) + return xxx_messageInfo_ECSContainerExitCode.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1832,81 +1869,48 @@ func (m *CollectorNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *CollectorNamespace) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorNamespace.Merge(m, src) +func (m *ECSContainerExitCode) XXX_Merge(src proto.Message) { + xxx_messageInfo_ECSContainerExitCode.Merge(m, src) } -func (m *CollectorNamespace) XXX_Size() int { +func (m *ECSContainerExitCode) XXX_Size() int { return m.Size() } -func (m *CollectorNamespace) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorNamespace.DiscardUnknown(m) +func (m *ECSContainerExitCode) XXX_DiscardUnknown() { + xxx_messageInfo_ECSContainerExitCode.DiscardUnknown(m) } -var xxx_messageInfo_CollectorNamespace proto.InternalMessageInfo +var xxx_messageInfo_ECSContainerExitCode proto.InternalMessageInfo -func (m *CollectorNamespace) GetClusterName() string { +func (m *ECSContainerExitCode) GetExitCode() int32 { if m != nil { - return m.ClusterName + return m.ExitCode } - return "" + return 0 } -func (m *CollectorNamespace) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" +type CollectorPod struct { + HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"` + ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,4,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,5,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Pods []*Pod `protobuf:"bytes,6,rep,name=pods,proto3" json:"pods,omitempty"` + Host *Host `protobuf:"bytes,7,opt,name=host,proto3" json:"host,omitempty"` + Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorNamespace) GetGroupId() int32 { - if m != nil { - return m.GroupId - } - return 0 +func (m *CollectorPod) Reset() { *m = CollectorPod{} } +func (m *CollectorPod) String() string { return proto.CompactTextString(m) } +func (*CollectorPod) ProtoMessage() {} +func (*CollectorPod) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{15} } - -func (m *CollectorNamespace) GetGroupSize() int32 { - if m != nil { - return m.GroupSize - } - return 0 -} - -func (m *CollectorNamespace) GetNamespaces() []*Namespace { - if m != nil { - return m.Namespaces - } - return nil -} - -func (m *CollectorNamespace) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -type CollectorJob struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Jobs []*Job `protobuf:"bytes,5,rep,name=jobs,proto3" json:"jobs,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` -} - -func (m *CollectorJob) Reset() { *m = CollectorJob{} } -func (m *CollectorJob) String() string { return proto.CompactTextString(m) } -func (*CollectorJob) ProtoMessage() {} -func (*CollectorJob) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{17} -} -func (m *CollectorJob) XXX_Unmarshal(b []byte) error { +func (m *CollectorPod) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorPod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorJob.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorPod.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1916,81 +1920,95 @@ func (m *CollectorJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *CollectorJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorJob.Merge(m, src) +func (m *CollectorPod) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorPod.Merge(m, src) } -func (m *CollectorJob) XXX_Size() int { +func (m *CollectorPod) XXX_Size() int { return m.Size() } -func (m *CollectorJob) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorJob.DiscardUnknown(m) +func (m *CollectorPod) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorPod.DiscardUnknown(m) } -var xxx_messageInfo_CollectorJob proto.InternalMessageInfo +var xxx_messageInfo_CollectorPod proto.InternalMessageInfo -func (m *CollectorJob) GetClusterName() string { +func (m *CollectorPod) GetHostName() string { + if m != nil { + return m.HostName + } + return "" +} + +func (m *CollectorPod) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorJob) GetClusterId() string { +func (m *CollectorPod) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorJob) GetGroupId() int32 { +func (m *CollectorPod) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorJob) GetGroupSize() int32 { +func (m *CollectorPod) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorJob) GetJobs() []*Job { +func (m *CollectorPod) GetPods() []*Pod { if m != nil { - return m.Jobs + return m.Pods } return nil } -func (m *CollectorJob) GetTags() []string { +func (m *CollectorPod) GetHost() *Host { + if m != nil { + return m.Host + } + return nil +} + +func (m *CollectorPod) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorCronJob struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - CronJobs []*CronJob `protobuf:"bytes,5,rep,name=cronJobs,proto3" json:"cronJobs,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorReplicaSet struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + ReplicaSets []*ReplicaSet `protobuf:"bytes,5,rep,name=replicaSets,proto3" json:"replicaSets,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorCronJob) Reset() { *m = CollectorCronJob{} } -func (m *CollectorCronJob) String() string { return proto.CompactTextString(m) } -func (*CollectorCronJob) ProtoMessage() {} -func (*CollectorCronJob) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{18} +func (m *CollectorReplicaSet) Reset() { *m = CollectorReplicaSet{} } +func (m *CollectorReplicaSet) String() string { return proto.CompactTextString(m) } +func (*CollectorReplicaSet) ProtoMessage() {} +func (*CollectorReplicaSet) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{16} } -func (m *CollectorCronJob) XXX_Unmarshal(b []byte) error { +func (m *CollectorReplicaSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorCronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorCronJob.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorReplicaSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2000,81 +2018,81 @@ func (m *CollectorCronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *CollectorCronJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorCronJob.Merge(m, src) +func (m *CollectorReplicaSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorReplicaSet.Merge(m, src) } -func (m *CollectorCronJob) XXX_Size() int { +func (m *CollectorReplicaSet) XXX_Size() int { return m.Size() } -func (m *CollectorCronJob) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorCronJob.DiscardUnknown(m) +func (m *CollectorReplicaSet) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorReplicaSet.DiscardUnknown(m) } -var xxx_messageInfo_CollectorCronJob proto.InternalMessageInfo +var xxx_messageInfo_CollectorReplicaSet proto.InternalMessageInfo -func (m *CollectorCronJob) GetClusterName() string { +func (m *CollectorReplicaSet) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorCronJob) GetClusterId() string { +func (m *CollectorReplicaSet) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorCronJob) GetGroupId() int32 { +func (m *CollectorReplicaSet) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorCronJob) GetGroupSize() int32 { +func (m *CollectorReplicaSet) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorCronJob) GetCronJobs() []*CronJob { +func (m *CollectorReplicaSet) GetReplicaSets() []*ReplicaSet { if m != nil { - return m.CronJobs + return m.ReplicaSets } return nil } -func (m *CollectorCronJob) GetTags() []string { +func (m *CollectorReplicaSet) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorDaemonSet struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - DaemonSets []*DaemonSet `protobuf:"bytes,5,rep,name=daemonSets,proto3" json:"daemonSets,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorDeployment struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Deployments []*Deployment `protobuf:"bytes,5,rep,name=deployments,proto3" json:"deployments,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorDaemonSet) Reset() { *m = CollectorDaemonSet{} } -func (m *CollectorDaemonSet) String() string { return proto.CompactTextString(m) } -func (*CollectorDaemonSet) ProtoMessage() {} -func (*CollectorDaemonSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{19} +func (m *CollectorDeployment) Reset() { *m = CollectorDeployment{} } +func (m *CollectorDeployment) String() string { return proto.CompactTextString(m) } +func (*CollectorDeployment) ProtoMessage() {} +func (*CollectorDeployment) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{17} } -func (m *CollectorDaemonSet) XXX_Unmarshal(b []byte) error { +func (m *CollectorDeployment) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorDaemonSet.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorDeployment.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2084,81 +2102,81 @@ func (m *CollectorDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *CollectorDaemonSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorDaemonSet.Merge(m, src) +func (m *CollectorDeployment) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorDeployment.Merge(m, src) } -func (m *CollectorDaemonSet) XXX_Size() int { +func (m *CollectorDeployment) XXX_Size() int { return m.Size() } -func (m *CollectorDaemonSet) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorDaemonSet.DiscardUnknown(m) +func (m *CollectorDeployment) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorDeployment.DiscardUnknown(m) } -var xxx_messageInfo_CollectorDaemonSet proto.InternalMessageInfo +var xxx_messageInfo_CollectorDeployment proto.InternalMessageInfo -func (m *CollectorDaemonSet) GetClusterName() string { +func (m *CollectorDeployment) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorDaemonSet) GetClusterId() string { +func (m *CollectorDeployment) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorDaemonSet) GetGroupId() int32 { +func (m *CollectorDeployment) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorDaemonSet) GetGroupSize() int32 { +func (m *CollectorDeployment) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorDaemonSet) GetDaemonSets() []*DaemonSet { +func (m *CollectorDeployment) GetDeployments() []*Deployment { if m != nil { - return m.DaemonSets + return m.Deployments } return nil } -func (m *CollectorDaemonSet) GetTags() []string { +func (m *CollectorDeployment) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorStatefulSet struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - StatefulSets []*StatefulSet `protobuf:"bytes,5,rep,name=statefulSets,proto3" json:"statefulSets,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorService struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Services []*Service `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorStatefulSet) Reset() { *m = CollectorStatefulSet{} } -func (m *CollectorStatefulSet) String() string { return proto.CompactTextString(m) } -func (*CollectorStatefulSet) ProtoMessage() {} -func (*CollectorStatefulSet) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{20} +func (m *CollectorService) Reset() { *m = CollectorService{} } +func (m *CollectorService) String() string { return proto.CompactTextString(m) } +func (*CollectorService) ProtoMessage() {} +func (*CollectorService) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{18} } -func (m *CollectorStatefulSet) XXX_Unmarshal(b []byte) error { +func (m *CollectorService) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorStatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorStatefulSet.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorService.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2168,81 +2186,82 @@ func (m *CollectorStatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CollectorStatefulSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorStatefulSet.Merge(m, src) +func (m *CollectorService) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorService.Merge(m, src) } -func (m *CollectorStatefulSet) XXX_Size() int { +func (m *CollectorService) XXX_Size() int { return m.Size() } -func (m *CollectorStatefulSet) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorStatefulSet.DiscardUnknown(m) +func (m *CollectorService) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorService.DiscardUnknown(m) } -var xxx_messageInfo_CollectorStatefulSet proto.InternalMessageInfo +var xxx_messageInfo_CollectorService proto.InternalMessageInfo -func (m *CollectorStatefulSet) GetClusterName() string { +func (m *CollectorService) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorStatefulSet) GetClusterId() string { +func (m *CollectorService) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorStatefulSet) GetGroupId() int32 { +func (m *CollectorService) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorStatefulSet) GetGroupSize() int32 { +func (m *CollectorService) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorStatefulSet) GetStatefulSets() []*StatefulSet { +func (m *CollectorService) GetServices() []*Service { if m != nil { - return m.StatefulSets + return m.Services } return nil } -func (m *CollectorStatefulSet) GetTags() []string { +func (m *CollectorService) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorPersistentVolume struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - PersistentVolumes []*PersistentVolume `protobuf:"bytes,5,rep,name=persistentVolumes,proto3" json:"persistentVolumes,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorNode struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Nodes []*Node `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` + HostAliasMapping map[string]*Host `protobuf:"bytes,7,rep,name=hostAliasMapping,proto3" json:"hostAliasMapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *CollectorPersistentVolume) Reset() { *m = CollectorPersistentVolume{} } -func (m *CollectorPersistentVolume) String() string { return proto.CompactTextString(m) } -func (*CollectorPersistentVolume) ProtoMessage() {} -func (*CollectorPersistentVolume) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{21} +func (m *CollectorNode) Reset() { *m = CollectorNode{} } +func (m *CollectorNode) String() string { return proto.CompactTextString(m) } +func (*CollectorNode) ProtoMessage() {} +func (*CollectorNode) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{19} } -func (m *CollectorPersistentVolume) XXX_Unmarshal(b []byte) error { +func (m *CollectorNode) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorPersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorPersistentVolume.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorNode.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2252,81 +2271,88 @@ func (m *CollectorPersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *CollectorPersistentVolume) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPersistentVolume.Merge(m, src) +func (m *CollectorNode) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorNode.Merge(m, src) } -func (m *CollectorPersistentVolume) XXX_Size() int { +func (m *CollectorNode) XXX_Size() int { return m.Size() } -func (m *CollectorPersistentVolume) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPersistentVolume.DiscardUnknown(m) +func (m *CollectorNode) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorNode.DiscardUnknown(m) } -var xxx_messageInfo_CollectorPersistentVolume proto.InternalMessageInfo +var xxx_messageInfo_CollectorNode proto.InternalMessageInfo -func (m *CollectorPersistentVolume) GetClusterName() string { +func (m *CollectorNode) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorPersistentVolume) GetClusterId() string { +func (m *CollectorNode) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorPersistentVolume) GetGroupId() int32 { +func (m *CollectorNode) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorPersistentVolume) GetGroupSize() int32 { +func (m *CollectorNode) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorPersistentVolume) GetPersistentVolumes() []*PersistentVolume { +func (m *CollectorNode) GetNodes() []*Node { if m != nil { - return m.PersistentVolumes + return m.Nodes } return nil } -func (m *CollectorPersistentVolume) GetTags() []string { +func (m *CollectorNode) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorPersistentVolumeClaim struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - PersistentVolumeClaims []*PersistentVolumeClaim `protobuf:"bytes,5,rep,name=persistentVolumeClaims,proto3" json:"persistentVolumeClaims,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *CollectorNode) GetHostAliasMapping() map[string]*Host { + if m != nil { + return m.HostAliasMapping + } + return nil } -func (m *CollectorPersistentVolumeClaim) Reset() { *m = CollectorPersistentVolumeClaim{} } -func (m *CollectorPersistentVolumeClaim) String() string { return proto.CompactTextString(m) } -func (*CollectorPersistentVolumeClaim) ProtoMessage() {} -func (*CollectorPersistentVolumeClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{22} +type CollectorCluster struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorPersistentVolumeClaim) XXX_Unmarshal(b []byte) error { + +func (m *CollectorCluster) Reset() { *m = CollectorCluster{} } +func (m *CollectorCluster) String() string { return proto.CompactTextString(m) } +func (*CollectorCluster) ProtoMessage() {} +func (*CollectorCluster) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{20} +} +func (m *CollectorCluster) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorPersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorPersistentVolumeClaim.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorCluster.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2336,81 +2362,81 @@ func (m *CollectorPersistentVolumeClaim) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *CollectorPersistentVolumeClaim) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorPersistentVolumeClaim.Merge(m, src) +func (m *CollectorCluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorCluster.Merge(m, src) } -func (m *CollectorPersistentVolumeClaim) XXX_Size() int { +func (m *CollectorCluster) XXX_Size() int { return m.Size() } -func (m *CollectorPersistentVolumeClaim) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorPersistentVolumeClaim.DiscardUnknown(m) +func (m *CollectorCluster) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorCluster.DiscardUnknown(m) } -var xxx_messageInfo_CollectorPersistentVolumeClaim proto.InternalMessageInfo +var xxx_messageInfo_CollectorCluster proto.InternalMessageInfo -func (m *CollectorPersistentVolumeClaim) GetClusterName() string { +func (m *CollectorCluster) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorPersistentVolumeClaim) GetClusterId() string { +func (m *CollectorCluster) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorPersistentVolumeClaim) GetGroupId() int32 { +func (m *CollectorCluster) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorPersistentVolumeClaim) GetGroupSize() int32 { +func (m *CollectorCluster) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorPersistentVolumeClaim) GetPersistentVolumeClaims() []*PersistentVolumeClaim { +func (m *CollectorCluster) GetCluster() *Cluster { if m != nil { - return m.PersistentVolumeClaims + return m.Cluster } return nil } -func (m *CollectorPersistentVolumeClaim) GetTags() []string { +func (m *CollectorCluster) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorRole struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Roles []*Role `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +// CollectorManifest is the dedicated payload/pipeline for the yaml collection +type CollectorManifest struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Manifests []*Manifest `protobuf:"bytes,5,rep,name=manifests,proto3" json:"manifests,omitempty"` } -func (m *CollectorRole) Reset() { *m = CollectorRole{} } -func (m *CollectorRole) String() string { return proto.CompactTextString(m) } -func (*CollectorRole) ProtoMessage() {} -func (*CollectorRole) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{23} +func (m *CollectorManifest) Reset() { *m = CollectorManifest{} } +func (m *CollectorManifest) String() string { return proto.CompactTextString(m) } +func (*CollectorManifest) ProtoMessage() {} +func (*CollectorManifest) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{21} } -func (m *CollectorRole) XXX_Unmarshal(b []byte) error { +func (m *CollectorManifest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorRole.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorManifest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2420,81 +2446,70 @@ func (m *CollectorRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *CollectorRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorRole.Merge(m, src) +func (m *CollectorManifest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorManifest.Merge(m, src) } -func (m *CollectorRole) XXX_Size() int { +func (m *CollectorManifest) XXX_Size() int { return m.Size() } -func (m *CollectorRole) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorRole.DiscardUnknown(m) +func (m *CollectorManifest) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorManifest.DiscardUnknown(m) } -var xxx_messageInfo_CollectorRole proto.InternalMessageInfo +var xxx_messageInfo_CollectorManifest proto.InternalMessageInfo -func (m *CollectorRole) GetClusterName() string { +func (m *CollectorManifest) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorRole) GetClusterId() string { +func (m *CollectorManifest) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorRole) GetGroupId() int32 { +func (m *CollectorManifest) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorRole) GetGroupSize() int32 { +func (m *CollectorManifest) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorRole) GetRoles() []*Role { - if m != nil { - return m.Roles - } - return nil -} - -func (m *CollectorRole) GetTags() []string { +func (m *CollectorManifest) GetManifests() []*Manifest { if m != nil { - return m.Tags + return m.Manifests } return nil } -type CollectorRoleBinding struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - RoleBindings []*RoleBinding `protobuf:"bytes,5,rep,name=roleBindings,proto3" json:"roleBindings,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorManifestCRD struct { + Manifest *CollectorManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` + Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorRoleBinding) Reset() { *m = CollectorRoleBinding{} } -func (m *CollectorRoleBinding) String() string { return proto.CompactTextString(m) } -func (*CollectorRoleBinding) ProtoMessage() {} -func (*CollectorRoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{24} +func (m *CollectorManifestCRD) Reset() { *m = CollectorManifestCRD{} } +func (m *CollectorManifestCRD) String() string { return proto.CompactTextString(m) } +func (*CollectorManifestCRD) ProtoMessage() {} +func (*CollectorManifestCRD) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{22} } -func (m *CollectorRoleBinding) XXX_Unmarshal(b []byte) error { +func (m *CollectorManifestCRD) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorManifestCRD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorRoleBinding.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorManifestCRD.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2504,81 +2519,105 @@ func (m *CollectorRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CollectorRoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorRoleBinding.Merge(m, src) +func (m *CollectorManifestCRD) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorManifestCRD.Merge(m, src) } -func (m *CollectorRoleBinding) XXX_Size() int { +func (m *CollectorManifestCRD) XXX_Size() int { return m.Size() } -func (m *CollectorRoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorRoleBinding.DiscardUnknown(m) +func (m *CollectorManifestCRD) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorManifestCRD.DiscardUnknown(m) } -var xxx_messageInfo_CollectorRoleBinding proto.InternalMessageInfo +var xxx_messageInfo_CollectorManifestCRD proto.InternalMessageInfo -func (m *CollectorRoleBinding) GetClusterName() string { +func (m *CollectorManifestCRD) GetManifest() *CollectorManifest { if m != nil { - return m.ClusterName + return m.Manifest } - return "" + return nil } -func (m *CollectorRoleBinding) GetClusterId() string { +func (m *CollectorManifestCRD) GetTags() []string { if m != nil { - return m.ClusterId + return m.Tags } - return "" + return nil } -func (m *CollectorRoleBinding) GetGroupId() int32 { - if m != nil { - return m.GroupId - } - return 0 +type CollectorManifestCR struct { + Manifest *CollectorManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` + Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorRoleBinding) GetGroupSize() int32 { - if m != nil { - return m.GroupSize - } - return 0 +func (m *CollectorManifestCR) Reset() { *m = CollectorManifestCR{} } +func (m *CollectorManifestCR) String() string { return proto.CompactTextString(m) } +func (*CollectorManifestCR) ProtoMessage() {} +func (*CollectorManifestCR) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{23} } - -func (m *CollectorRoleBinding) GetRoleBindings() []*RoleBinding { - if m != nil { - return m.RoleBindings - } - return nil +func (m *CollectorManifestCR) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *CollectorRoleBinding) GetTags() []string { - if m != nil { - return m.Tags +func (m *CollectorManifestCR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CollectorManifestCR.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CollectorManifestCR) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorManifestCR.Merge(m, src) +} +func (m *CollectorManifestCR) XXX_Size() int { + return m.Size() +} +func (m *CollectorManifestCR) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorManifestCR.DiscardUnknown(m) +} + +var xxx_messageInfo_CollectorManifestCR proto.InternalMessageInfo + +func (m *CollectorManifestCR) GetManifest() *CollectorManifest { + if m != nil { + return m.Manifest } return nil } -type CollectorClusterRole struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - ClusterRoles []*ClusterRole `protobuf:"bytes,5,rep,name=clusterRoles,proto3" json:"clusterRoles,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *CollectorManifestCR) GetTags() []string { + if m != nil { + return m.Tags + } + return nil } -func (m *CollectorClusterRole) Reset() { *m = CollectorClusterRole{} } -func (m *CollectorClusterRole) String() string { return proto.CompactTextString(m) } -func (*CollectorClusterRole) ProtoMessage() {} -func (*CollectorClusterRole) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{25} +type CollectorNamespace struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Namespaces []*Namespace `protobuf:"bytes,5,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorClusterRole) XXX_Unmarshal(b []byte) error { + +func (m *CollectorNamespace) Reset() { *m = CollectorNamespace{} } +func (m *CollectorNamespace) String() string { return proto.CompactTextString(m) } +func (*CollectorNamespace) ProtoMessage() {} +func (*CollectorNamespace) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{24} +} +func (m *CollectorNamespace) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorClusterRole.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorNamespace.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2588,81 +2627,81 @@ func (m *CollectorClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CollectorClusterRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorClusterRole.Merge(m, src) +func (m *CollectorNamespace) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorNamespace.Merge(m, src) } -func (m *CollectorClusterRole) XXX_Size() int { +func (m *CollectorNamespace) XXX_Size() int { return m.Size() } -func (m *CollectorClusterRole) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorClusterRole.DiscardUnknown(m) +func (m *CollectorNamespace) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorNamespace.DiscardUnknown(m) } -var xxx_messageInfo_CollectorClusterRole proto.InternalMessageInfo +var xxx_messageInfo_CollectorNamespace proto.InternalMessageInfo -func (m *CollectorClusterRole) GetClusterName() string { +func (m *CollectorNamespace) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorClusterRole) GetClusterId() string { +func (m *CollectorNamespace) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorClusterRole) GetGroupId() int32 { +func (m *CollectorNamespace) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorClusterRole) GetGroupSize() int32 { +func (m *CollectorNamespace) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorClusterRole) GetClusterRoles() []*ClusterRole { +func (m *CollectorNamespace) GetNamespaces() []*Namespace { if m != nil { - return m.ClusterRoles + return m.Namespaces } return nil } -func (m *CollectorClusterRole) GetTags() []string { +func (m *CollectorNamespace) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorClusterRoleBinding struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - ClusterRoleBindings []*ClusterRoleBinding `protobuf:"bytes,5,rep,name=clusterRoleBindings,proto3" json:"clusterRoleBindings,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorJob struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Jobs []*Job `protobuf:"bytes,5,rep,name=jobs,proto3" json:"jobs,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorClusterRoleBinding) Reset() { *m = CollectorClusterRoleBinding{} } -func (m *CollectorClusterRoleBinding) String() string { return proto.CompactTextString(m) } -func (*CollectorClusterRoleBinding) ProtoMessage() {} -func (*CollectorClusterRoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{26} +func (m *CollectorJob) Reset() { *m = CollectorJob{} } +func (m *CollectorJob) String() string { return proto.CompactTextString(m) } +func (*CollectorJob) ProtoMessage() {} +func (*CollectorJob) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{25} } -func (m *CollectorClusterRoleBinding) XXX_Unmarshal(b []byte) error { +func (m *CollectorJob) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorClusterRoleBinding.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorJob.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2672,81 +2711,81 @@ func (m *CollectorClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *CollectorClusterRoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorClusterRoleBinding.Merge(m, src) +func (m *CollectorJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorJob.Merge(m, src) } -func (m *CollectorClusterRoleBinding) XXX_Size() int { +func (m *CollectorJob) XXX_Size() int { return m.Size() } -func (m *CollectorClusterRoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorClusterRoleBinding.DiscardUnknown(m) +func (m *CollectorJob) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorJob.DiscardUnknown(m) } -var xxx_messageInfo_CollectorClusterRoleBinding proto.InternalMessageInfo +var xxx_messageInfo_CollectorJob proto.InternalMessageInfo -func (m *CollectorClusterRoleBinding) GetClusterName() string { +func (m *CollectorJob) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorClusterRoleBinding) GetClusterId() string { +func (m *CollectorJob) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorClusterRoleBinding) GetGroupId() int32 { +func (m *CollectorJob) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorClusterRoleBinding) GetGroupSize() int32 { +func (m *CollectorJob) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorClusterRoleBinding) GetClusterRoleBindings() []*ClusterRoleBinding { +func (m *CollectorJob) GetJobs() []*Job { if m != nil { - return m.ClusterRoleBindings + return m.Jobs } return nil } -func (m *CollectorClusterRoleBinding) GetTags() []string { +func (m *CollectorJob) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorServiceAccount struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - ServiceAccounts []*ServiceAccount `protobuf:"bytes,5,rep,name=serviceAccounts,proto3" json:"serviceAccounts,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorCronJob struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + CronJobs []*CronJob `protobuf:"bytes,5,rep,name=cronJobs,proto3" json:"cronJobs,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorServiceAccount) Reset() { *m = CollectorServiceAccount{} } -func (m *CollectorServiceAccount) String() string { return proto.CompactTextString(m) } -func (*CollectorServiceAccount) ProtoMessage() {} -func (*CollectorServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{27} +func (m *CollectorCronJob) Reset() { *m = CollectorCronJob{} } +func (m *CollectorCronJob) String() string { return proto.CompactTextString(m) } +func (*CollectorCronJob) ProtoMessage() {} +func (*CollectorCronJob) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{26} } -func (m *CollectorServiceAccount) XXX_Unmarshal(b []byte) error { +func (m *CollectorCronJob) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorCronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorServiceAccount.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorCronJob.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2756,81 +2795,81 @@ func (m *CollectorServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *CollectorServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorServiceAccount.Merge(m, src) +func (m *CollectorCronJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorCronJob.Merge(m, src) } -func (m *CollectorServiceAccount) XXX_Size() int { +func (m *CollectorCronJob) XXX_Size() int { return m.Size() } -func (m *CollectorServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorServiceAccount.DiscardUnknown(m) +func (m *CollectorCronJob) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorCronJob.DiscardUnknown(m) } -var xxx_messageInfo_CollectorServiceAccount proto.InternalMessageInfo +var xxx_messageInfo_CollectorCronJob proto.InternalMessageInfo -func (m *CollectorServiceAccount) GetClusterName() string { +func (m *CollectorCronJob) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorServiceAccount) GetClusterId() string { +func (m *CollectorCronJob) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorServiceAccount) GetGroupId() int32 { +func (m *CollectorCronJob) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorServiceAccount) GetGroupSize() int32 { +func (m *CollectorCronJob) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorServiceAccount) GetServiceAccounts() []*ServiceAccount { +func (m *CollectorCronJob) GetCronJobs() []*CronJob { if m != nil { - return m.ServiceAccounts + return m.CronJobs } return nil } -func (m *CollectorServiceAccount) GetTags() []string { +func (m *CollectorCronJob) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorIngress struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - Ingresses []*Ingress `protobuf:"bytes,5,rep,name=ingresses,proto3" json:"ingresses,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorDaemonSet struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + DaemonSets []*DaemonSet `protobuf:"bytes,5,rep,name=daemonSets,proto3" json:"daemonSets,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorIngress) Reset() { *m = CollectorIngress{} } -func (m *CollectorIngress) String() string { return proto.CompactTextString(m) } -func (*CollectorIngress) ProtoMessage() {} -func (*CollectorIngress) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{28} +func (m *CollectorDaemonSet) Reset() { *m = CollectorDaemonSet{} } +func (m *CollectorDaemonSet) String() string { return proto.CompactTextString(m) } +func (*CollectorDaemonSet) ProtoMessage() {} +func (*CollectorDaemonSet) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{27} } -func (m *CollectorIngress) XXX_Unmarshal(b []byte) error { +func (m *CollectorDaemonSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorIngress.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorDaemonSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2840,81 +2879,81 @@ func (m *CollectorIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *CollectorIngress) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorIngress.Merge(m, src) +func (m *CollectorDaemonSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorDaemonSet.Merge(m, src) } -func (m *CollectorIngress) XXX_Size() int { +func (m *CollectorDaemonSet) XXX_Size() int { return m.Size() } -func (m *CollectorIngress) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorIngress.DiscardUnknown(m) +func (m *CollectorDaemonSet) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorDaemonSet.DiscardUnknown(m) } -var xxx_messageInfo_CollectorIngress proto.InternalMessageInfo +var xxx_messageInfo_CollectorDaemonSet proto.InternalMessageInfo -func (m *CollectorIngress) GetClusterName() string { +func (m *CollectorDaemonSet) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorIngress) GetClusterId() string { +func (m *CollectorDaemonSet) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorIngress) GetGroupId() int32 { +func (m *CollectorDaemonSet) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorIngress) GetGroupSize() int32 { +func (m *CollectorDaemonSet) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorIngress) GetIngresses() []*Ingress { +func (m *CollectorDaemonSet) GetDaemonSets() []*DaemonSet { if m != nil { - return m.Ingresses + return m.DaemonSets } return nil } -func (m *CollectorIngress) GetTags() []string { +func (m *CollectorDaemonSet) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorVerticalPodAutoscaler struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - VerticalPodAutoscalers []*VerticalPodAutoscaler `protobuf:"bytes,5,rep,name=verticalPodAutoscalers,proto3" json:"verticalPodAutoscalers,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorStatefulSet struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + StatefulSets []*StatefulSet `protobuf:"bytes,5,rep,name=statefulSets,proto3" json:"statefulSets,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorVerticalPodAutoscaler) Reset() { *m = CollectorVerticalPodAutoscaler{} } -func (m *CollectorVerticalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*CollectorVerticalPodAutoscaler) ProtoMessage() {} -func (*CollectorVerticalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{29} +func (m *CollectorStatefulSet) Reset() { *m = CollectorStatefulSet{} } +func (m *CollectorStatefulSet) String() string { return proto.CompactTextString(m) } +func (*CollectorStatefulSet) ProtoMessage() {} +func (*CollectorStatefulSet) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{28} } -func (m *CollectorVerticalPodAutoscaler) XXX_Unmarshal(b []byte) error { +func (m *CollectorStatefulSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorVerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorStatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorVerticalPodAutoscaler.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorStatefulSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2924,81 +2963,81 @@ func (m *CollectorVerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *CollectorVerticalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorVerticalPodAutoscaler.Merge(m, src) +func (m *CollectorStatefulSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorStatefulSet.Merge(m, src) } -func (m *CollectorVerticalPodAutoscaler) XXX_Size() int { +func (m *CollectorStatefulSet) XXX_Size() int { return m.Size() } -func (m *CollectorVerticalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorVerticalPodAutoscaler.DiscardUnknown(m) +func (m *CollectorStatefulSet) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorStatefulSet.DiscardUnknown(m) } -var xxx_messageInfo_CollectorVerticalPodAutoscaler proto.InternalMessageInfo +var xxx_messageInfo_CollectorStatefulSet proto.InternalMessageInfo -func (m *CollectorVerticalPodAutoscaler) GetClusterName() string { +func (m *CollectorStatefulSet) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorVerticalPodAutoscaler) GetClusterId() string { +func (m *CollectorStatefulSet) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorVerticalPodAutoscaler) GetGroupId() int32 { +func (m *CollectorStatefulSet) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorVerticalPodAutoscaler) GetGroupSize() int32 { +func (m *CollectorStatefulSet) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorVerticalPodAutoscaler) GetVerticalPodAutoscalers() []*VerticalPodAutoscaler { +func (m *CollectorStatefulSet) GetStatefulSets() []*StatefulSet { if m != nil { - return m.VerticalPodAutoscalers + return m.StatefulSets } return nil } -func (m *CollectorVerticalPodAutoscaler) GetTags() []string { +func (m *CollectorStatefulSet) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorHorizontalPodAutoscaler struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - HorizontalPodAutoscalers []*HorizontalPodAutoscaler `protobuf:"bytes,5,rep,name=horizontalPodAutoscalers,proto3" json:"horizontalPodAutoscalers,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorPersistentVolume struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + PersistentVolumes []*PersistentVolume `protobuf:"bytes,5,rep,name=persistentVolumes,proto3" json:"persistentVolumes,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorHorizontalPodAutoscaler) Reset() { *m = CollectorHorizontalPodAutoscaler{} } -func (m *CollectorHorizontalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*CollectorHorizontalPodAutoscaler) ProtoMessage() {} -func (*CollectorHorizontalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{30} +func (m *CollectorPersistentVolume) Reset() { *m = CollectorPersistentVolume{} } +func (m *CollectorPersistentVolume) String() string { return proto.CompactTextString(m) } +func (*CollectorPersistentVolume) ProtoMessage() {} +func (*CollectorPersistentVolume) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{29} } -func (m *CollectorHorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error { +func (m *CollectorPersistentVolume) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorHorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorPersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorHorizontalPodAutoscaler.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorPersistentVolume.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3008,81 +3047,81 @@ func (m *CollectorHorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *CollectorHorizontalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorHorizontalPodAutoscaler.Merge(m, src) +func (m *CollectorPersistentVolume) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorPersistentVolume.Merge(m, src) } -func (m *CollectorHorizontalPodAutoscaler) XXX_Size() int { +func (m *CollectorPersistentVolume) XXX_Size() int { return m.Size() } -func (m *CollectorHorizontalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorHorizontalPodAutoscaler.DiscardUnknown(m) +func (m *CollectorPersistentVolume) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorPersistentVolume.DiscardUnknown(m) } -var xxx_messageInfo_CollectorHorizontalPodAutoscaler proto.InternalMessageInfo +var xxx_messageInfo_CollectorPersistentVolume proto.InternalMessageInfo -func (m *CollectorHorizontalPodAutoscaler) GetClusterName() string { +func (m *CollectorPersistentVolume) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorHorizontalPodAutoscaler) GetClusterId() string { +func (m *CollectorPersistentVolume) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorHorizontalPodAutoscaler) GetGroupId() int32 { +func (m *CollectorPersistentVolume) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorHorizontalPodAutoscaler) GetGroupSize() int32 { +func (m *CollectorPersistentVolume) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorHorizontalPodAutoscaler) GetHorizontalPodAutoscalers() []*HorizontalPodAutoscaler { +func (m *CollectorPersistentVolume) GetPersistentVolumes() []*PersistentVolume { if m != nil { - return m.HorizontalPodAutoscalers + return m.PersistentVolumes } return nil } -func (m *CollectorHorizontalPodAutoscaler) GetTags() []string { +func (m *CollectorPersistentVolume) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorNetworkPolicy struct { - ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` - GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - NetworkPolicies []*NetworkPolicy `protobuf:"bytes,5,rep,name=networkPolicies,proto3" json:"networkPolicies,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +type CollectorPersistentVolumeClaim struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + PersistentVolumeClaims []*PersistentVolumeClaim `protobuf:"bytes,5,rep,name=persistentVolumeClaims,proto3" json:"persistentVolumeClaims,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorNetworkPolicy) Reset() { *m = CollectorNetworkPolicy{} } -func (m *CollectorNetworkPolicy) String() string { return proto.CompactTextString(m) } -func (*CollectorNetworkPolicy) ProtoMessage() {} -func (*CollectorNetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{31} +func (m *CollectorPersistentVolumeClaim) Reset() { *m = CollectorPersistentVolumeClaim{} } +func (m *CollectorPersistentVolumeClaim) String() string { return proto.CompactTextString(m) } +func (*CollectorPersistentVolumeClaim) ProtoMessage() {} +func (*CollectorPersistentVolumeClaim) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{30} } -func (m *CollectorNetworkPolicy) XXX_Unmarshal(b []byte) error { +func (m *CollectorPersistentVolumeClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorPersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorNetworkPolicy.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorPersistentVolumeClaim.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3092,77 +3131,81 @@ func (m *CollectorNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *CollectorNetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorNetworkPolicy.Merge(m, src) +func (m *CollectorPersistentVolumeClaim) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorPersistentVolumeClaim.Merge(m, src) } -func (m *CollectorNetworkPolicy) XXX_Size() int { +func (m *CollectorPersistentVolumeClaim) XXX_Size() int { return m.Size() } -func (m *CollectorNetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorNetworkPolicy.DiscardUnknown(m) +func (m *CollectorPersistentVolumeClaim) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorPersistentVolumeClaim.DiscardUnknown(m) } -var xxx_messageInfo_CollectorNetworkPolicy proto.InternalMessageInfo +var xxx_messageInfo_CollectorPersistentVolumeClaim proto.InternalMessageInfo -func (m *CollectorNetworkPolicy) GetClusterName() string { +func (m *CollectorPersistentVolumeClaim) GetClusterName() string { if m != nil { return m.ClusterName } return "" } -func (m *CollectorNetworkPolicy) GetClusterId() string { +func (m *CollectorPersistentVolumeClaim) GetClusterId() string { if m != nil { return m.ClusterId } return "" } -func (m *CollectorNetworkPolicy) GetGroupId() int32 { +func (m *CollectorPersistentVolumeClaim) GetGroupId() int32 { if m != nil { return m.GroupId } return 0 } -func (m *CollectorNetworkPolicy) GetGroupSize() int32 { +func (m *CollectorPersistentVolumeClaim) GetGroupSize() int32 { if m != nil { return m.GroupSize } return 0 } -func (m *CollectorNetworkPolicy) GetNetworkPolicies() []*NetworkPolicy { +func (m *CollectorPersistentVolumeClaim) GetPersistentVolumeClaims() []*PersistentVolumeClaim { if m != nil { - return m.NetworkPolicies + return m.PersistentVolumeClaims } return nil } -func (m *CollectorNetworkPolicy) GetTags() []string { +func (m *CollectorPersistentVolumeClaim) GetTags() []string { if m != nil { return m.Tags } return nil } -type CollectorStatus struct { - ActiveClients int32 `protobuf:"varint,1,opt,name=activeClients,proto3" json:"activeClients,omitempty"` - Interval int32 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` +type CollectorRole struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Roles []*Role `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorStatus) Reset() { *m = CollectorStatus{} } -func (m *CollectorStatus) String() string { return proto.CompactTextString(m) } -func (*CollectorStatus) ProtoMessage() {} -func (*CollectorStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{32} +func (m *CollectorRole) Reset() { *m = CollectorRole{} } +func (m *CollectorRole) String() string { return proto.CompactTextString(m) } +func (*CollectorRole) ProtoMessage() {} +func (*CollectorRole) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{31} } -func (m *CollectorStatus) XXX_Unmarshal(b []byte) error { +func (m *CollectorRole) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CollectorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CollectorStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorRole.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3172,68 +3215,81 @@ func (m *CollectorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *CollectorStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectorStatus.Merge(m, src) +func (m *CollectorRole) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorRole.Merge(m, src) } -func (m *CollectorStatus) XXX_Size() int { +func (m *CollectorRole) XXX_Size() int { return m.Size() } -func (m *CollectorStatus) XXX_DiscardUnknown() { - xxx_messageInfo_CollectorStatus.DiscardUnknown(m) +func (m *CollectorRole) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorRole.DiscardUnknown(m) } -var xxx_messageInfo_CollectorStatus proto.InternalMessageInfo +var xxx_messageInfo_CollectorRole proto.InternalMessageInfo -func (m *CollectorStatus) GetActiveClients() int32 { +func (m *CollectorRole) GetClusterName() string { if m != nil { - return m.ActiveClients + return m.ClusterName } - return 0 + return "" } -func (m *CollectorStatus) GetInterval() int32 { +func (m *CollectorRole) GetClusterId() string { if m != nil { - return m.Interval + return m.ClusterId + } + return "" +} + +func (m *CollectorRole) GetGroupId() int32 { + if m != nil { + return m.GroupId } return 0 } -type Process struct { - Key uint32 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` - Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` - NsPid int32 `protobuf:"varint,20,opt,name=nsPid,proto3" json:"nsPid,omitempty"` - Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` - Command *Command `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` - User *ProcessUser `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - Memory *MemoryStat `protobuf:"bytes,7,opt,name=memory,proto3" json:"memory,omitempty"` - Cpu *CPUStat `protobuf:"bytes,8,opt,name=cpu,proto3" json:"cpu,omitempty"` - CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"` - Container *Container `protobuf:"bytes,10,opt,name=container,proto3" json:"container,omitempty"` - OpenFdCount int32 `protobuf:"varint,11,opt,name=openFdCount,proto3" json:"openFdCount,omitempty"` - State ProcessState `protobuf:"varint,12,opt,name=state,proto3,enum=datadog.process_agent.ProcessState" json:"state,omitempty"` - IoStat *IOStat `protobuf:"bytes,13,opt,name=ioStat,proto3" json:"ioStat,omitempty"` - ContainerId string `protobuf:"bytes,14,opt,name=containerId,proto3" json:"containerId,omitempty"` - ContainerKey uint32 `protobuf:"varint,15,opt,name=containerKey,proto3" json:"containerKey,omitempty"` - VoluntaryCtxSwitches uint64 `protobuf:"varint,16,opt,name=voluntaryCtxSwitches,proto3" json:"voluntaryCtxSwitches,omitempty"` - InvoluntaryCtxSwitches uint64 `protobuf:"varint,17,opt,name=involuntaryCtxSwitches,proto3" json:"involuntaryCtxSwitches,omitempty"` - ByteKey []byte `protobuf:"bytes,18,opt,name=byteKey,proto3" json:"byteKey,omitempty"` - ContainerByteKey []byte `protobuf:"bytes,19,opt,name=containerByteKey,proto3" json:"containerByteKey,omitempty"` - Networks *ProcessNetworks `protobuf:"bytes,21,opt,name=networks,proto3" json:"networks,omitempty"` - ProcessContext []string `protobuf:"bytes,22,rep,name=processContext,proto3" json:"processContext,omitempty"` +func (m *CollectorRole) GetGroupSize() int32 { + if m != nil { + return m.GroupSize + } + return 0 } -func (m *Process) Reset() { *m = Process{} } -func (m *Process) String() string { return proto.CompactTextString(m) } -func (*Process) ProtoMessage() {} -func (*Process) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{33} +func (m *CollectorRole) GetRoles() []*Role { + if m != nil { + return m.Roles + } + return nil } -func (m *Process) XXX_Unmarshal(b []byte) error { + +func (m *CollectorRole) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +type CollectorRoleBinding struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + RoleBindings []*RoleBinding `protobuf:"bytes,5,rep,name=roleBindings,proto3" json:"roleBindings,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +} + +func (m *CollectorRoleBinding) Reset() { *m = CollectorRoleBinding{} } +func (m *CollectorRoleBinding) String() string { return proto.CompactTextString(m) } +func (*CollectorRoleBinding) ProtoMessage() {} +func (*CollectorRoleBinding) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{32} +} +func (m *CollectorRoleBinding) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Process.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorRoleBinding.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3243,187 +3299,249 @@ func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Process) XXX_Merge(src proto.Message) { - xxx_messageInfo_Process.Merge(m, src) +func (m *CollectorRoleBinding) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorRoleBinding.Merge(m, src) } -func (m *Process) XXX_Size() int { +func (m *CollectorRoleBinding) XXX_Size() int { return m.Size() } -func (m *Process) XXX_DiscardUnknown() { - xxx_messageInfo_Process.DiscardUnknown(m) +func (m *CollectorRoleBinding) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorRoleBinding.DiscardUnknown(m) } -var xxx_messageInfo_Process proto.InternalMessageInfo +var xxx_messageInfo_CollectorRoleBinding proto.InternalMessageInfo -func (m *Process) GetKey() uint32 { +func (m *CollectorRoleBinding) GetClusterName() string { if m != nil { - return m.Key + return m.ClusterName } - return 0 + return "" } -func (m *Process) GetPid() int32 { +func (m *CollectorRoleBinding) GetClusterId() string { if m != nil { - return m.Pid + return m.ClusterId } - return 0 + return "" } -func (m *Process) GetNsPid() int32 { +func (m *CollectorRoleBinding) GetGroupId() int32 { if m != nil { - return m.NsPid + return m.GroupId } return 0 } -func (m *Process) GetHost() *Host { +func (m *CollectorRoleBinding) GetGroupSize() int32 { if m != nil { - return m.Host + return m.GroupSize } - return nil + return 0 } -func (m *Process) GetCommand() *Command { +func (m *CollectorRoleBinding) GetRoleBindings() []*RoleBinding { if m != nil { - return m.Command + return m.RoleBindings } return nil } -func (m *Process) GetUser() *ProcessUser { +func (m *CollectorRoleBinding) GetTags() []string { if m != nil { - return m.User + return m.Tags } return nil } -func (m *Process) GetMemory() *MemoryStat { - if m != nil { - return m.Memory - } - return nil +type CollectorClusterRole struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + ClusterRoles []*ClusterRole `protobuf:"bytes,5,rep,name=clusterRoles,proto3" json:"clusterRoles,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *Process) GetCpu() *CPUStat { - if m != nil { - return m.Cpu +func (m *CollectorClusterRole) Reset() { *m = CollectorClusterRole{} } +func (m *CollectorClusterRole) String() string { return proto.CompactTextString(m) } +func (*CollectorClusterRole) ProtoMessage() {} +func (*CollectorClusterRole) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{33} +} +func (m *CollectorClusterRole) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CollectorClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CollectorClusterRole.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil +} +func (m *CollectorClusterRole) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorClusterRole.Merge(m, src) +} +func (m *CollectorClusterRole) XXX_Size() int { + return m.Size() +} +func (m *CollectorClusterRole) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorClusterRole.DiscardUnknown(m) } -func (m *Process) GetCreateTime() int64 { +var xxx_messageInfo_CollectorClusterRole proto.InternalMessageInfo + +func (m *CollectorClusterRole) GetClusterName() string { if m != nil { - return m.CreateTime + return m.ClusterName } - return 0 + return "" } -func (m *Process) GetContainer() *Container { +func (m *CollectorClusterRole) GetClusterId() string { if m != nil { - return m.Container + return m.ClusterId } - return nil + return "" } -func (m *Process) GetOpenFdCount() int32 { +func (m *CollectorClusterRole) GetGroupId() int32 { if m != nil { - return m.OpenFdCount + return m.GroupId } return 0 } -func (m *Process) GetState() ProcessState { +func (m *CollectorClusterRole) GetGroupSize() int32 { if m != nil { - return m.State + return m.GroupSize } - return ProcessState_U + return 0 } -func (m *Process) GetIoStat() *IOStat { +func (m *CollectorClusterRole) GetClusterRoles() []*ClusterRole { if m != nil { - return m.IoStat + return m.ClusterRoles } return nil } -func (m *Process) GetContainerId() string { +func (m *CollectorClusterRole) GetTags() []string { if m != nil { - return m.ContainerId + return m.Tags } - return "" + return nil } -func (m *Process) GetContainerKey() uint32 { - if m != nil { - return m.ContainerKey +type CollectorClusterRoleBinding struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + ClusterRoleBindings []*ClusterRoleBinding `protobuf:"bytes,5,rep,name=clusterRoleBindings,proto3" json:"clusterRoleBindings,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +} + +func (m *CollectorClusterRoleBinding) Reset() { *m = CollectorClusterRoleBinding{} } +func (m *CollectorClusterRoleBinding) String() string { return proto.CompactTextString(m) } +func (*CollectorClusterRoleBinding) ProtoMessage() {} +func (*CollectorClusterRoleBinding) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{34} +} +func (m *CollectorClusterRoleBinding) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CollectorClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CollectorClusterRoleBinding.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 0 +} +func (m *CollectorClusterRoleBinding) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorClusterRoleBinding.Merge(m, src) +} +func (m *CollectorClusterRoleBinding) XXX_Size() int { + return m.Size() +} +func (m *CollectorClusterRoleBinding) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorClusterRoleBinding.DiscardUnknown(m) } -func (m *Process) GetVoluntaryCtxSwitches() uint64 { +var xxx_messageInfo_CollectorClusterRoleBinding proto.InternalMessageInfo + +func (m *CollectorClusterRoleBinding) GetClusterName() string { if m != nil { - return m.VoluntaryCtxSwitches + return m.ClusterName } - return 0 + return "" } -func (m *Process) GetInvoluntaryCtxSwitches() uint64 { +func (m *CollectorClusterRoleBinding) GetClusterId() string { if m != nil { - return m.InvoluntaryCtxSwitches + return m.ClusterId } - return 0 + return "" } -func (m *Process) GetByteKey() []byte { +func (m *CollectorClusterRoleBinding) GetGroupId() int32 { if m != nil { - return m.ByteKey + return m.GroupId } - return nil + return 0 } -func (m *Process) GetContainerByteKey() []byte { +func (m *CollectorClusterRoleBinding) GetGroupSize() int32 { if m != nil { - return m.ContainerByteKey + return m.GroupSize } - return nil + return 0 } -func (m *Process) GetNetworks() *ProcessNetworks { +func (m *CollectorClusterRoleBinding) GetClusterRoleBindings() []*ClusterRoleBinding { if m != nil { - return m.Networks + return m.ClusterRoleBindings } return nil } -func (m *Process) GetProcessContext() []string { +func (m *CollectorClusterRoleBinding) GetTags() []string { if m != nil { - return m.ProcessContext + return m.Tags } return nil } -type ProcessDiscovery struct { - Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` - NsPid int32 `protobuf:"varint,2,opt,name=nsPid,proto3" json:"nsPid,omitempty"` - Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` - Command *Command `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` - User *ProcessUser `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - CreateTime int64 `protobuf:"varint,6,opt,name=createTime,proto3" json:"createTime,omitempty"` - ByteKey []byte `protobuf:"bytes,7,opt,name=byteKey,proto3" json:"byteKey,omitempty"` +type CollectorServiceAccount struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + ServiceAccounts []*ServiceAccount `protobuf:"bytes,5,rep,name=serviceAccounts,proto3" json:"serviceAccounts,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ProcessDiscovery) Reset() { *m = ProcessDiscovery{} } -func (m *ProcessDiscovery) String() string { return proto.CompactTextString(m) } -func (*ProcessDiscovery) ProtoMessage() {} -func (*ProcessDiscovery) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{34} +func (m *CollectorServiceAccount) Reset() { *m = CollectorServiceAccount{} } +func (m *CollectorServiceAccount) String() string { return proto.CompactTextString(m) } +func (*CollectorServiceAccount) ProtoMessage() {} +func (*CollectorServiceAccount) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{35} } -func (m *ProcessDiscovery) XXX_Unmarshal(b []byte) error { +func (m *CollectorServiceAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ProcessDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ProcessDiscovery.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorServiceAccount.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3433,90 +3551,81 @@ func (m *ProcessDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *ProcessDiscovery) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessDiscovery.Merge(m, src) +func (m *CollectorServiceAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorServiceAccount.Merge(m, src) } -func (m *ProcessDiscovery) XXX_Size() int { +func (m *CollectorServiceAccount) XXX_Size() int { return m.Size() } -func (m *ProcessDiscovery) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessDiscovery.DiscardUnknown(m) +func (m *CollectorServiceAccount) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorServiceAccount.DiscardUnknown(m) } -var xxx_messageInfo_ProcessDiscovery proto.InternalMessageInfo +var xxx_messageInfo_CollectorServiceAccount proto.InternalMessageInfo -func (m *ProcessDiscovery) GetPid() int32 { +func (m *CollectorServiceAccount) GetClusterName() string { if m != nil { - return m.Pid + return m.ClusterName } - return 0 + return "" } -func (m *ProcessDiscovery) GetNsPid() int32 { +func (m *CollectorServiceAccount) GetClusterId() string { if m != nil { - return m.NsPid + return m.ClusterId } - return 0 + return "" } -func (m *ProcessDiscovery) GetHost() *Host { +func (m *CollectorServiceAccount) GetGroupId() int32 { if m != nil { - return m.Host + return m.GroupId } - return nil + return 0 } -func (m *ProcessDiscovery) GetCommand() *Command { +func (m *CollectorServiceAccount) GetGroupSize() int32 { if m != nil { - return m.Command + return m.GroupSize } - return nil + return 0 } -func (m *ProcessDiscovery) GetUser() *ProcessUser { +func (m *CollectorServiceAccount) GetServiceAccounts() []*ServiceAccount { if m != nil { - return m.User + return m.ServiceAccounts } return nil } -func (m *ProcessDiscovery) GetCreateTime() int64 { - if m != nil { - return m.CreateTime - } - return 0 -} - -func (m *ProcessDiscovery) GetByteKey() []byte { +func (m *CollectorServiceAccount) GetTags() []string { if m != nil { - return m.ByteKey + return m.Tags } return nil } -type Command struct { - Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` - Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"` - Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` - OnDisk bool `protobuf:"varint,5,opt,name=onDisk,proto3" json:"onDisk,omitempty"` - Ppid int32 `protobuf:"varint,6,opt,name=ppid,proto3" json:"ppid,omitempty"` - Pgroup int32 `protobuf:"varint,7,opt,name=pgroup,proto3" json:"pgroup,omitempty"` - Exe string `protobuf:"bytes,8,opt,name=exe,proto3" json:"exe,omitempty"` - Comm string `protobuf:"bytes,9,opt,name=comm,proto3" json:"comm,omitempty"` +type CollectorIngress struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + Ingresses []*Ingress `protobuf:"bytes,5,rep,name=ingresses,proto3" json:"ingresses,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *Command) Reset() { *m = Command{} } -func (m *Command) String() string { return proto.CompactTextString(m) } -func (*Command) ProtoMessage() {} -func (*Command) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{35} +func (m *CollectorIngress) Reset() { *m = CollectorIngress{} } +func (m *CollectorIngress) String() string { return proto.CompactTextString(m) } +func (*CollectorIngress) ProtoMessage() {} +func (*CollectorIngress) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{36} } -func (m *Command) XXX_Unmarshal(b []byte) error { +func (m *CollectorIngress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Command.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorIngress.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3526,96 +3635,81 @@ func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, src) +func (m *CollectorIngress) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorIngress.Merge(m, src) } -func (m *Command) XXX_Size() int { +func (m *CollectorIngress) XXX_Size() int { return m.Size() } -func (m *Command) XXX_DiscardUnknown() { - xxx_messageInfo_Command.DiscardUnknown(m) +func (m *CollectorIngress) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorIngress.DiscardUnknown(m) } -var xxx_messageInfo_Command proto.InternalMessageInfo - -func (m *Command) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} +var xxx_messageInfo_CollectorIngress proto.InternalMessageInfo -func (m *Command) GetCwd() string { +func (m *CollectorIngress) GetClusterName() string { if m != nil { - return m.Cwd + return m.ClusterName } return "" } -func (m *Command) GetRoot() string { +func (m *CollectorIngress) GetClusterId() string { if m != nil { - return m.Root + return m.ClusterId } return "" } -func (m *Command) GetOnDisk() bool { - if m != nil { - return m.OnDisk - } - return false -} - -func (m *Command) GetPpid() int32 { +func (m *CollectorIngress) GetGroupId() int32 { if m != nil { - return m.Ppid + return m.GroupId } return 0 } -func (m *Command) GetPgroup() int32 { +func (m *CollectorIngress) GetGroupSize() int32 { if m != nil { - return m.Pgroup + return m.GroupSize } return 0 } -func (m *Command) GetExe() string { +func (m *CollectorIngress) GetIngresses() []*Ingress { if m != nil { - return m.Exe + return m.Ingresses } - return "" + return nil } -func (m *Command) GetComm() string { +func (m *CollectorIngress) GetTags() []string { if m != nil { - return m.Comm + return m.Tags } - return "" + return nil } -type ProcessUser struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Uid int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` - Gid int32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"` - Euid int32 `protobuf:"varint,4,opt,name=euid,proto3" json:"euid,omitempty"` - Egid int32 `protobuf:"varint,5,opt,name=egid,proto3" json:"egid,omitempty"` - Suid int32 `protobuf:"varint,6,opt,name=suid,proto3" json:"suid,omitempty"` - Sgid int32 `protobuf:"varint,7,opt,name=sgid,proto3" json:"sgid,omitempty"` +type CollectorVerticalPodAutoscaler struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + VerticalPodAutoscalers []*VerticalPodAutoscaler `protobuf:"bytes,5,rep,name=verticalPodAutoscalers,proto3" json:"verticalPodAutoscalers,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ProcessUser) Reset() { *m = ProcessUser{} } -func (m *ProcessUser) String() string { return proto.CompactTextString(m) } -func (*ProcessUser) ProtoMessage() {} -func (*ProcessUser) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{36} +func (m *CollectorVerticalPodAutoscaler) Reset() { *m = CollectorVerticalPodAutoscaler{} } +func (m *CollectorVerticalPodAutoscaler) String() string { return proto.CompactTextString(m) } +func (*CollectorVerticalPodAutoscaler) ProtoMessage() {} +func (*CollectorVerticalPodAutoscaler) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{37} } -func (m *ProcessUser) XXX_Unmarshal(b []byte) error { +func (m *CollectorVerticalPodAutoscaler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ProcessUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorVerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ProcessUser.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorVerticalPodAutoscaler.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3625,85 +3719,81 @@ func (m *ProcessUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ProcessUser) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessUser.Merge(m, src) +func (m *CollectorVerticalPodAutoscaler) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorVerticalPodAutoscaler.Merge(m, src) } -func (m *ProcessUser) XXX_Size() int { +func (m *CollectorVerticalPodAutoscaler) XXX_Size() int { return m.Size() } -func (m *ProcessUser) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessUser.DiscardUnknown(m) +func (m *CollectorVerticalPodAutoscaler) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorVerticalPodAutoscaler.DiscardUnknown(m) } -var xxx_messageInfo_ProcessUser proto.InternalMessageInfo +var xxx_messageInfo_CollectorVerticalPodAutoscaler proto.InternalMessageInfo -func (m *ProcessUser) GetName() string { +func (m *CollectorVerticalPodAutoscaler) GetClusterName() string { if m != nil { - return m.Name + return m.ClusterName } return "" } -func (m *ProcessUser) GetUid() int32 { - if m != nil { - return m.Uid - } - return 0 -} - -func (m *ProcessUser) GetGid() int32 { +func (m *CollectorVerticalPodAutoscaler) GetClusterId() string { if m != nil { - return m.Gid + return m.ClusterId } - return 0 + return "" } -func (m *ProcessUser) GetEuid() int32 { +func (m *CollectorVerticalPodAutoscaler) GetGroupId() int32 { if m != nil { - return m.Euid + return m.GroupId } return 0 } -func (m *ProcessUser) GetEgid() int32 { +func (m *CollectorVerticalPodAutoscaler) GetGroupSize() int32 { if m != nil { - return m.Egid + return m.GroupSize } return 0 } -func (m *ProcessUser) GetSuid() int32 { +func (m *CollectorVerticalPodAutoscaler) GetVerticalPodAutoscalers() []*VerticalPodAutoscaler { if m != nil { - return m.Suid + return m.VerticalPodAutoscalers } - return 0 + return nil } -func (m *ProcessUser) GetSgid() int32 { +func (m *CollectorVerticalPodAutoscaler) GetTags() []string { if m != nil { - return m.Sgid + return m.Tags } - return 0 + return nil } -// ProcessNetworks is a structure that holds network related metrics for processes -type ProcessNetworks struct { - ConnectionRate float32 `protobuf:"fixed32,1,opt,name=connectionRate,proto3" json:"connectionRate,omitempty"` - BytesRate float32 `protobuf:"fixed32,2,opt,name=bytesRate,proto3" json:"bytesRate,omitempty"` +type CollectorHorizontalPodAutoscaler struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + HorizontalPodAutoscalers []*HorizontalPodAutoscaler `protobuf:"bytes,5,rep,name=horizontalPodAutoscalers,proto3" json:"horizontalPodAutoscalers,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ProcessNetworks) Reset() { *m = ProcessNetworks{} } -func (m *ProcessNetworks) String() string { return proto.CompactTextString(m) } -func (*ProcessNetworks) ProtoMessage() {} -func (*ProcessNetworks) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{37} +func (m *CollectorHorizontalPodAutoscaler) Reset() { *m = CollectorHorizontalPodAutoscaler{} } +func (m *CollectorHorizontalPodAutoscaler) String() string { return proto.CompactTextString(m) } +func (*CollectorHorizontalPodAutoscaler) ProtoMessage() {} +func (*CollectorHorizontalPodAutoscaler) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{38} } -func (m *ProcessNetworks) XXX_Unmarshal(b []byte) error { +func (m *CollectorHorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ProcessNetworks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorHorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ProcessNetworks.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorHorizontalPodAutoscaler.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3713,142 +3803,81 @@ func (m *ProcessNetworks) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *ProcessNetworks) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessNetworks.Merge(m, src) +func (m *CollectorHorizontalPodAutoscaler) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorHorizontalPodAutoscaler.Merge(m, src) } -func (m *ProcessNetworks) XXX_Size() int { +func (m *CollectorHorizontalPodAutoscaler) XXX_Size() int { return m.Size() } -func (m *ProcessNetworks) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessNetworks.DiscardUnknown(m) +func (m *CollectorHorizontalPodAutoscaler) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorHorizontalPodAutoscaler.DiscardUnknown(m) } -var xxx_messageInfo_ProcessNetworks proto.InternalMessageInfo +var xxx_messageInfo_CollectorHorizontalPodAutoscaler proto.InternalMessageInfo -func (m *ProcessNetworks) GetConnectionRate() float32 { +func (m *CollectorHorizontalPodAutoscaler) GetClusterName() string { if m != nil { - return m.ConnectionRate + return m.ClusterName } - return 0 + return "" } -func (m *ProcessNetworks) GetBytesRate() float32 { +func (m *CollectorHorizontalPodAutoscaler) GetClusterId() string { if m != nil { - return m.BytesRate + return m.ClusterId } - return 0 -} - -// ContainerAddr records the IPs, Ports and Protocols for each container -type ContainerAddr struct { - Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - Protocol ConnectionType `protobuf:"varint,3,opt,name=protocol,proto3,enum=datadog.process_agent.ConnectionType" json:"protocol,omitempty"` + return "" } -func (m *ContainerAddr) Reset() { *m = ContainerAddr{} } -func (m *ContainerAddr) String() string { return proto.CompactTextString(m) } -func (*ContainerAddr) ProtoMessage() {} -func (*ContainerAddr) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{38} -} -func (m *ContainerAddr) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ContainerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ContainerAddr.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *CollectorHorizontalPodAutoscaler) GetGroupId() int32 { + if m != nil { + return m.GroupId } -} -func (m *ContainerAddr) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerAddr.Merge(m, src) -} -func (m *ContainerAddr) XXX_Size() int { - return m.Size() -} -func (m *ContainerAddr) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerAddr.DiscardUnknown(m) + return 0 } -var xxx_messageInfo_ContainerAddr proto.InternalMessageInfo - -func (m *ContainerAddr) GetIp() string { +func (m *CollectorHorizontalPodAutoscaler) GetGroupSize() int32 { if m != nil { - return m.Ip + return m.GroupSize } - return "" + return 0 } -func (m *ContainerAddr) GetPort() int32 { +func (m *CollectorHorizontalPodAutoscaler) GetHorizontalPodAutoscalers() []*HorizontalPodAutoscaler { if m != nil { - return m.Port + return m.HorizontalPodAutoscalers } - return 0 + return nil } -func (m *ContainerAddr) GetProtocol() ConnectionType { +func (m *CollectorHorizontalPodAutoscaler) GetTags() []string { if m != nil { - return m.Protocol + return m.Tags } - return ConnectionType_tcp + return nil } -type Container struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - CpuLimit float32 `protobuf:"fixed32,5,opt,name=cpuLimit,proto3" json:"cpuLimit,omitempty"` - MemoryLimit uint64 `protobuf:"varint,6,opt,name=memoryLimit,proto3" json:"memoryLimit,omitempty"` - State ContainerState `protobuf:"varint,8,opt,name=state,proto3,enum=datadog.process_agent.ContainerState" json:"state,omitempty"` - Health ContainerHealth `protobuf:"varint,9,opt,name=health,proto3,enum=datadog.process_agent.ContainerHealth" json:"health,omitempty"` - Created int64 `protobuf:"varint,10,opt,name=created,proto3" json:"created,omitempty"` - Rbps float32 `protobuf:"fixed32,11,opt,name=rbps,proto3" json:"rbps,omitempty"` - Wbps float32 `protobuf:"fixed32,12,opt,name=wbps,proto3" json:"wbps,omitempty"` - Key uint32 `protobuf:"varint,13,opt,name=key,proto3" json:"key,omitempty"` - NetRcvdPs float32 `protobuf:"fixed32,14,opt,name=netRcvdPs,proto3" json:"netRcvdPs,omitempty"` - NetSentPs float32 `protobuf:"fixed32,15,opt,name=netSentPs,proto3" json:"netSentPs,omitempty"` - NetRcvdBps float32 `protobuf:"fixed32,16,opt,name=netRcvdBps,proto3" json:"netRcvdBps,omitempty"` - NetSentBps float32 `protobuf:"fixed32,17,opt,name=netSentBps,proto3" json:"netSentBps,omitempty"` - UserPct float32 `protobuf:"fixed32,18,opt,name=userPct,proto3" json:"userPct,omitempty"` - SystemPct float32 `protobuf:"fixed32,19,opt,name=systemPct,proto3" json:"systemPct,omitempty"` - TotalPct float32 `protobuf:"fixed32,20,opt,name=totalPct,proto3" json:"totalPct,omitempty"` - MemRss uint64 `protobuf:"varint,21,opt,name=memRss,proto3" json:"memRss,omitempty"` - MemCache uint64 `protobuf:"varint,22,opt,name=memCache,proto3" json:"memCache,omitempty"` - Host *Host `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty"` - Started int64 `protobuf:"varint,24,opt,name=started,proto3" json:"started,omitempty"` - ByteKey []byte `protobuf:"bytes,25,opt,name=byteKey,proto3" json:"byteKey,omitempty"` - Tags []string `protobuf:"bytes,26,rep,name=tags,proto3" json:"tags,omitempty"` - Addresses []*ContainerAddr `protobuf:"bytes,27,rep,name=addresses,proto3" json:"addresses,omitempty"` - ThreadCount uint64 `protobuf:"varint,28,opt,name=threadCount,proto3" json:"threadCount,omitempty"` - ThreadLimit uint64 `protobuf:"varint,29,opt,name=threadLimit,proto3" json:"threadLimit,omitempty"` - MemUsage uint64 `protobuf:"varint,30,opt,name=memUsage,proto3" json:"memUsage,omitempty"` - CpuUsageNs float32 `protobuf:"fixed32,31,opt,name=cpuUsageNs,proto3" json:"cpuUsageNs,omitempty"` - MemAccounted uint64 `protobuf:"varint,32,opt,name=memAccounted,proto3" json:"memAccounted,omitempty"` - CpuRequest float32 `protobuf:"fixed32,33,opt,name=cpuRequest,proto3" json:"cpuRequest,omitempty"` - MemoryRequest uint64 `protobuf:"varint,34,opt,name=memoryRequest,proto3" json:"memoryRequest,omitempty"` - RepoDigest string `protobuf:"bytes,35,opt,name=repoDigest,proto3" json:"repoDigest,omitempty"` +type CollectorNetworkPolicy struct { + ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` + ClusterId string `protobuf:"bytes,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + GroupId int32 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + GroupSize int32 `protobuf:"varint,4,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + NetworkPolicies []*NetworkPolicy `protobuf:"bytes,5,rep,name=networkPolicies,proto3" json:"networkPolicies,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *Container) Reset() { *m = Container{} } -func (m *Container) String() string { return proto.CompactTextString(m) } -func (*Container) ProtoMessage() {} -func (*Container) Descriptor() ([]byte, []int) { +func (m *CollectorNetworkPolicy) Reset() { *m = CollectorNetworkPolicy{} } +func (m *CollectorNetworkPolicy) String() string { return proto.CompactTextString(m) } +func (*CollectorNetworkPolicy) ProtoMessage() {} +func (*CollectorNetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{39} } -func (m *Container) XXX_Unmarshal(b []byte) error { +func (m *CollectorNetworkPolicy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CollectorNetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Container.Marshal(b, m, deterministic) + return xxx_messageInfo_CollectorNetworkPolicy.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3858,306 +3887,338 @@ func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Container) XXX_Merge(src proto.Message) { - xxx_messageInfo_Container.Merge(m, src) +func (m *CollectorNetworkPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorNetworkPolicy.Merge(m, src) } -func (m *Container) XXX_Size() int { +func (m *CollectorNetworkPolicy) XXX_Size() int { return m.Size() } -func (m *Container) XXX_DiscardUnknown() { - xxx_messageInfo_Container.DiscardUnknown(m) +func (m *CollectorNetworkPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorNetworkPolicy.DiscardUnknown(m) } -var xxx_messageInfo_Container proto.InternalMessageInfo +var xxx_messageInfo_CollectorNetworkPolicy proto.InternalMessageInfo -func (m *Container) GetType() string { +func (m *CollectorNetworkPolicy) GetClusterName() string { if m != nil { - return m.Type + return m.ClusterName } return "" } -func (m *Container) GetId() string { +func (m *CollectorNetworkPolicy) GetClusterId() string { if m != nil { - return m.Id + return m.ClusterId } return "" } -func (m *Container) GetName() string { +func (m *CollectorNetworkPolicy) GetGroupId() int32 { if m != nil { - return m.Name + return m.GroupId } - return "" + return 0 } -func (m *Container) GetImage() string { +func (m *CollectorNetworkPolicy) GetGroupSize() int32 { if m != nil { - return m.Image + return m.GroupSize } - return "" + return 0 } -func (m *Container) GetCpuLimit() float32 { +func (m *CollectorNetworkPolicy) GetNetworkPolicies() []*NetworkPolicy { if m != nil { - return m.CpuLimit + return m.NetworkPolicies } - return 0 + return nil } -func (m *Container) GetMemoryLimit() uint64 { +func (m *CollectorNetworkPolicy) GetTags() []string { if m != nil { - return m.MemoryLimit + return m.Tags } - return 0 + return nil } -func (m *Container) GetState() ContainerState { - if m != nil { - return m.State - } - return ContainerState_unknown +type CollectorStatus struct { + ActiveClients int32 `protobuf:"varint,1,opt,name=activeClients,proto3" json:"activeClients,omitempty"` + Interval int32 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` } -func (m *Container) GetHealth() ContainerHealth { - if m != nil { - return m.Health +func (m *CollectorStatus) Reset() { *m = CollectorStatus{} } +func (m *CollectorStatus) String() string { return proto.CompactTextString(m) } +func (*CollectorStatus) ProtoMessage() {} +func (*CollectorStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{40} +} +func (m *CollectorStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CollectorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CollectorStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return ContainerHealth_unknownHealth +} +func (m *CollectorStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectorStatus.Merge(m, src) +} +func (m *CollectorStatus) XXX_Size() int { + return m.Size() +} +func (m *CollectorStatus) XXX_DiscardUnknown() { + xxx_messageInfo_CollectorStatus.DiscardUnknown(m) } -func (m *Container) GetCreated() int64 { +var xxx_messageInfo_CollectorStatus proto.InternalMessageInfo + +func (m *CollectorStatus) GetActiveClients() int32 { if m != nil { - return m.Created + return m.ActiveClients } return 0 } -func (m *Container) GetRbps() float32 { +func (m *CollectorStatus) GetInterval() int32 { if m != nil { - return m.Rbps + return m.Interval } return 0 } -func (m *Container) GetWbps() float32 { - if m != nil { - return m.Wbps - } - return 0 +type Process struct { + Key uint32 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` + Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` + NsPid int32 `protobuf:"varint,20,opt,name=nsPid,proto3" json:"nsPid,omitempty"` + Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` + Command *Command `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` + User *ProcessUser `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` + Memory *MemoryStat `protobuf:"bytes,7,opt,name=memory,proto3" json:"memory,omitempty"` + Cpu *CPUStat `protobuf:"bytes,8,opt,name=cpu,proto3" json:"cpu,omitempty"` + CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"` + Container *Container `protobuf:"bytes,10,opt,name=container,proto3" json:"container,omitempty"` + OpenFdCount int32 `protobuf:"varint,11,opt,name=openFdCount,proto3" json:"openFdCount,omitempty"` + State ProcessState `protobuf:"varint,12,opt,name=state,proto3,enum=datadog.process_agent.ProcessState" json:"state,omitempty"` + IoStat *IOStat `protobuf:"bytes,13,opt,name=ioStat,proto3" json:"ioStat,omitempty"` + ContainerId string `protobuf:"bytes,14,opt,name=containerId,proto3" json:"containerId,omitempty"` + ContainerKey uint32 `protobuf:"varint,15,opt,name=containerKey,proto3" json:"containerKey,omitempty"` + VoluntaryCtxSwitches uint64 `protobuf:"varint,16,opt,name=voluntaryCtxSwitches,proto3" json:"voluntaryCtxSwitches,omitempty"` + InvoluntaryCtxSwitches uint64 `protobuf:"varint,17,opt,name=involuntaryCtxSwitches,proto3" json:"involuntaryCtxSwitches,omitempty"` + ByteKey []byte `protobuf:"bytes,18,opt,name=byteKey,proto3" json:"byteKey,omitempty"` + ContainerByteKey []byte `protobuf:"bytes,19,opt,name=containerByteKey,proto3" json:"containerByteKey,omitempty"` + Networks *ProcessNetworks `protobuf:"bytes,21,opt,name=networks,proto3" json:"networks,omitempty"` + ProcessContext []string `protobuf:"bytes,22,rep,name=processContext,proto3" json:"processContext,omitempty"` } -func (m *Container) GetKey() uint32 { - if m != nil { - return m.Key +func (m *Process) Reset() { *m = Process{} } +func (m *Process) String() string { return proto.CompactTextString(m) } +func (*Process) ProtoMessage() {} +func (*Process) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{41} +} +func (m *Process) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Process.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 0 +} +func (m *Process) XXX_Merge(src proto.Message) { + xxx_messageInfo_Process.Merge(m, src) +} +func (m *Process) XXX_Size() int { + return m.Size() +} +func (m *Process) XXX_DiscardUnknown() { + xxx_messageInfo_Process.DiscardUnknown(m) } -func (m *Container) GetNetRcvdPs() float32 { +var xxx_messageInfo_Process proto.InternalMessageInfo + +func (m *Process) GetKey() uint32 { if m != nil { - return m.NetRcvdPs + return m.Key } return 0 } -func (m *Container) GetNetSentPs() float32 { +func (m *Process) GetPid() int32 { if m != nil { - return m.NetSentPs + return m.Pid } return 0 } -func (m *Container) GetNetRcvdBps() float32 { +func (m *Process) GetNsPid() int32 { if m != nil { - return m.NetRcvdBps + return m.NsPid } return 0 } -func (m *Container) GetNetSentBps() float32 { +func (m *Process) GetHost() *Host { if m != nil { - return m.NetSentBps + return m.Host } - return 0 + return nil } -func (m *Container) GetUserPct() float32 { +func (m *Process) GetCommand() *Command { if m != nil { - return m.UserPct + return m.Command } - return 0 + return nil } -func (m *Container) GetSystemPct() float32 { +func (m *Process) GetUser() *ProcessUser { if m != nil { - return m.SystemPct + return m.User } - return 0 + return nil } -func (m *Container) GetTotalPct() float32 { +func (m *Process) GetMemory() *MemoryStat { if m != nil { - return m.TotalPct + return m.Memory } - return 0 + return nil } -func (m *Container) GetMemRss() uint64 { +func (m *Process) GetCpu() *CPUStat { if m != nil { - return m.MemRss + return m.Cpu } - return 0 + return nil } -func (m *Container) GetMemCache() uint64 { +func (m *Process) GetCreateTime() int64 { if m != nil { - return m.MemCache + return m.CreateTime } return 0 } -func (m *Container) GetHost() *Host { +func (m *Process) GetContainer() *Container { if m != nil { - return m.Host + return m.Container } return nil } -func (m *Container) GetStarted() int64 { +func (m *Process) GetOpenFdCount() int32 { if m != nil { - return m.Started + return m.OpenFdCount } return 0 } -func (m *Container) GetByteKey() []byte { - if m != nil { - return m.ByteKey - } - return nil -} - -func (m *Container) GetTags() []string { +func (m *Process) GetState() ProcessState { if m != nil { - return m.Tags + return m.State } - return nil + return ProcessState_U } -func (m *Container) GetAddresses() []*ContainerAddr { +func (m *Process) GetIoStat() *IOStat { if m != nil { - return m.Addresses + return m.IoStat } return nil } -func (m *Container) GetThreadCount() uint64 { +func (m *Process) GetContainerId() string { if m != nil { - return m.ThreadCount + return m.ContainerId } - return 0 + return "" } -func (m *Container) GetThreadLimit() uint64 { +func (m *Process) GetContainerKey() uint32 { if m != nil { - return m.ThreadLimit + return m.ContainerKey } return 0 } -func (m *Container) GetMemUsage() uint64 { +func (m *Process) GetVoluntaryCtxSwitches() uint64 { if m != nil { - return m.MemUsage + return m.VoluntaryCtxSwitches } return 0 } -func (m *Container) GetCpuUsageNs() float32 { +func (m *Process) GetInvoluntaryCtxSwitches() uint64 { if m != nil { - return m.CpuUsageNs + return m.InvoluntaryCtxSwitches } return 0 } -func (m *Container) GetMemAccounted() uint64 { +func (m *Process) GetByteKey() []byte { if m != nil { - return m.MemAccounted + return m.ByteKey } - return 0 + return nil } -func (m *Container) GetCpuRequest() float32 { +func (m *Process) GetContainerByteKey() []byte { if m != nil { - return m.CpuRequest + return m.ContainerByteKey } - return 0 + return nil } -func (m *Container) GetMemoryRequest() uint64 { +func (m *Process) GetNetworks() *ProcessNetworks { if m != nil { - return m.MemoryRequest + return m.Networks } - return 0 + return nil } -func (m *Container) GetRepoDigest() string { +func (m *Process) GetProcessContext() []string { if m != nil { - return m.RepoDigest + return m.ProcessContext } - return "" + return nil } -// ProcessStat is used for real-time process messages. It should only contain -// data that can change for a running process (and relevant information to -// generate a key). We will send a lot of these in the real-time messages so -// it's critical to keep this small. -type ProcessStat struct { - Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` - // In milliseconds - CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"` - Memory *MemoryStat `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` - Cpu *CPUStat `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"` - Nice int32 `protobuf:"varint,5,opt,name=nice,proto3" json:"nice,omitempty"` - Threads int32 `protobuf:"varint,7,opt,name=threads,proto3" json:"threads,omitempty"` - OpenFdCount int32 `protobuf:"varint,8,opt,name=openFdCount,proto3" json:"openFdCount,omitempty"` - Key uint32 `protobuf:"varint,9,opt,name=key,proto3" json:"key,omitempty"` - // we need container id because we need to do the scoring by container - ContainerId string `protobuf:"bytes,10,opt,name=containerId,proto3" json:"containerId,omitempty"` - ContainerState ContainerState `protobuf:"varint,11,opt,name=containerState,proto3,enum=datadog.process_agent.ContainerState" json:"containerState,omitempty"` - ProcessState ProcessState `protobuf:"varint,12,opt,name=processState,proto3,enum=datadog.process_agent.ProcessState" json:"processState,omitempty"` - IoStat *IOStat `protobuf:"bytes,19,opt,name=ioStat,proto3" json:"ioStat,omitempty"` - Networks *ProcessNetworks `protobuf:"bytes,28,opt,name=networks,proto3" json:"networks,omitempty"` - // DEPRECATED: All container-level stats (except ID) have moved into ContainerStat. - // These will be removed in the future. - // These stats are from the container level but are stored per-process - // because we don't send a container primitive yet. - ContainerHealth ContainerHealth `protobuf:"varint,15,opt,name=containerHealth,proto3,enum=datadog.process_agent.ContainerHealth" json:"containerHealth,omitempty"` - ContainerRbps float32 `protobuf:"fixed32,16,opt,name=containerRbps,proto3" json:"containerRbps,omitempty"` - ContainerWbps float32 `protobuf:"fixed32,17,opt,name=containerWbps,proto3" json:"containerWbps,omitempty"` - ContainerKey uint32 `protobuf:"varint,18,opt,name=containerKey,proto3" json:"containerKey,omitempty"` - ContainerNetRcvdPs float32 `protobuf:"fixed32,20,opt,name=containerNetRcvdPs,proto3" json:"containerNetRcvdPs,omitempty"` - ContainerNetSentPs float32 `protobuf:"fixed32,21,opt,name=containerNetSentPs,proto3" json:"containerNetSentPs,omitempty"` - ContainerNetRcvdBps float32 `protobuf:"fixed32,22,opt,name=containerNetRcvdBps,proto3" json:"containerNetRcvdBps,omitempty"` - ContainerNetSentBps float32 `protobuf:"fixed32,23,opt,name=containerNetSentBps,proto3" json:"containerNetSentBps,omitempty"` - VoluntaryCtxSwitches uint64 `protobuf:"varint,24,opt,name=voluntaryCtxSwitches,proto3" json:"voluntaryCtxSwitches,omitempty"` - InvoluntaryCtxSwitches uint64 `protobuf:"varint,25,opt,name=involuntaryCtxSwitches,proto3" json:"involuntaryCtxSwitches,omitempty"` - ByteKey []byte `protobuf:"bytes,26,opt,name=byteKey,proto3" json:"byteKey,omitempty"` - ContainerByteKey []byte `protobuf:"bytes,27,opt,name=containerByteKey,proto3" json:"containerByteKey,omitempty"` +type ProcessDiscovery struct { + Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` + NsPid int32 `protobuf:"varint,2,opt,name=nsPid,proto3" json:"nsPid,omitempty"` + Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` + Command *Command `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` + User *ProcessUser `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` + CreateTime int64 `protobuf:"varint,6,opt,name=createTime,proto3" json:"createTime,omitempty"` + ByteKey []byte `protobuf:"bytes,7,opt,name=byteKey,proto3" json:"byteKey,omitempty"` } -func (m *ProcessStat) Reset() { *m = ProcessStat{} } -func (m *ProcessStat) String() string { return proto.CompactTextString(m) } -func (*ProcessStat) ProtoMessage() {} -func (*ProcessStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{40} +func (m *ProcessDiscovery) Reset() { *m = ProcessDiscovery{} } +func (m *ProcessDiscovery) String() string { return proto.CompactTextString(m) } +func (*ProcessDiscovery) ProtoMessage() {} +func (*ProcessDiscovery) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{42} } -func (m *ProcessStat) XXX_Unmarshal(b []byte) error { +func (m *ProcessDiscovery) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ProcessStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ProcessDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ProcessStat.Marshal(b, m, deterministic) + return xxx_messageInfo_ProcessDiscovery.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -4167,215 +4228,277 @@ func (m *ProcessStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ProcessStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessStat.Merge(m, src) +func (m *ProcessDiscovery) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessDiscovery.Merge(m, src) } -func (m *ProcessStat) XXX_Size() int { +func (m *ProcessDiscovery) XXX_Size() int { return m.Size() } -func (m *ProcessStat) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessStat.DiscardUnknown(m) +func (m *ProcessDiscovery) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessDiscovery.DiscardUnknown(m) } -var xxx_messageInfo_ProcessStat proto.InternalMessageInfo +var xxx_messageInfo_ProcessDiscovery proto.InternalMessageInfo -func (m *ProcessStat) GetPid() int32 { +func (m *ProcessDiscovery) GetPid() int32 { if m != nil { return m.Pid } return 0 } -func (m *ProcessStat) GetCreateTime() int64 { +func (m *ProcessDiscovery) GetNsPid() int32 { if m != nil { - return m.CreateTime + return m.NsPid } return 0 } -func (m *ProcessStat) GetMemory() *MemoryStat { +func (m *ProcessDiscovery) GetHost() *Host { if m != nil { - return m.Memory + return m.Host } return nil } -func (m *ProcessStat) GetCpu() *CPUStat { +func (m *ProcessDiscovery) GetCommand() *Command { if m != nil { - return m.Cpu + return m.Command } return nil } -func (m *ProcessStat) GetNice() int32 { - if m != nil { - return m.Nice - } - return 0 -} - -func (m *ProcessStat) GetThreads() int32 { +func (m *ProcessDiscovery) GetUser() *ProcessUser { if m != nil { - return m.Threads + return m.User } - return 0 + return nil } -func (m *ProcessStat) GetOpenFdCount() int32 { +func (m *ProcessDiscovery) GetCreateTime() int64 { if m != nil { - return m.OpenFdCount + return m.CreateTime } return 0 } -func (m *ProcessStat) GetKey() uint32 { +func (m *ProcessDiscovery) GetByteKey() []byte { if m != nil { - return m.Key + return m.ByteKey } - return 0 + return nil } -func (m *ProcessStat) GetContainerId() string { - if m != nil { - return m.ContainerId - } - return "" +type Command struct { + Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` + Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"` + Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` + OnDisk bool `protobuf:"varint,5,opt,name=onDisk,proto3" json:"onDisk,omitempty"` + Ppid int32 `protobuf:"varint,6,opt,name=ppid,proto3" json:"ppid,omitempty"` + Pgroup int32 `protobuf:"varint,7,opt,name=pgroup,proto3" json:"pgroup,omitempty"` + Exe string `protobuf:"bytes,8,opt,name=exe,proto3" json:"exe,omitempty"` + Comm string `protobuf:"bytes,9,opt,name=comm,proto3" json:"comm,omitempty"` } -func (m *ProcessStat) GetContainerState() ContainerState { - if m != nil { - return m.ContainerState +func (m *Command) Reset() { *m = Command{} } +func (m *Command) String() string { return proto.CompactTextString(m) } +func (*Command) ProtoMessage() {} +func (*Command) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{43} +} +func (m *Command) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Command.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return ContainerState_unknown +} +func (m *Command) XXX_Merge(src proto.Message) { + xxx_messageInfo_Command.Merge(m, src) +} +func (m *Command) XXX_Size() int { + return m.Size() +} +func (m *Command) XXX_DiscardUnknown() { + xxx_messageInfo_Command.DiscardUnknown(m) } -func (m *ProcessStat) GetProcessState() ProcessState { +var xxx_messageInfo_Command proto.InternalMessageInfo + +func (m *Command) GetArgs() []string { if m != nil { - return m.ProcessState + return m.Args } - return ProcessState_U + return nil } -func (m *ProcessStat) GetIoStat() *IOStat { +func (m *Command) GetCwd() string { if m != nil { - return m.IoStat + return m.Cwd } - return nil + return "" } -func (m *ProcessStat) GetNetworks() *ProcessNetworks { +func (m *Command) GetRoot() string { if m != nil { - return m.Networks + return m.Root } - return nil + return "" } -func (m *ProcessStat) GetContainerHealth() ContainerHealth { +func (m *Command) GetOnDisk() bool { if m != nil { - return m.ContainerHealth + return m.OnDisk } - return ContainerHealth_unknownHealth + return false } -func (m *ProcessStat) GetContainerRbps() float32 { +func (m *Command) GetPpid() int32 { if m != nil { - return m.ContainerRbps + return m.Ppid } return 0 } -func (m *ProcessStat) GetContainerWbps() float32 { +func (m *Command) GetPgroup() int32 { if m != nil { - return m.ContainerWbps + return m.Pgroup } return 0 } -func (m *ProcessStat) GetContainerKey() uint32 { +func (m *Command) GetExe() string { if m != nil { - return m.ContainerKey + return m.Exe } - return 0 + return "" } -func (m *ProcessStat) GetContainerNetRcvdPs() float32 { +func (m *Command) GetComm() string { if m != nil { - return m.ContainerNetRcvdPs + return m.Comm } - return 0 + return "" } -func (m *ProcessStat) GetContainerNetSentPs() float32 { +type ProcessUser struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Uid int32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` + Gid int32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"` + Euid int32 `protobuf:"varint,4,opt,name=euid,proto3" json:"euid,omitempty"` + Egid int32 `protobuf:"varint,5,opt,name=egid,proto3" json:"egid,omitempty"` + Suid int32 `protobuf:"varint,6,opt,name=suid,proto3" json:"suid,omitempty"` + Sgid int32 `protobuf:"varint,7,opt,name=sgid,proto3" json:"sgid,omitempty"` +} + +func (m *ProcessUser) Reset() { *m = ProcessUser{} } +func (m *ProcessUser) String() string { return proto.CompactTextString(m) } +func (*ProcessUser) ProtoMessage() {} +func (*ProcessUser) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{44} +} +func (m *ProcessUser) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProcessUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProcessUser.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProcessUser) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessUser.Merge(m, src) +} +func (m *ProcessUser) XXX_Size() int { + return m.Size() +} +func (m *ProcessUser) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessUser.DiscardUnknown(m) +} + +var xxx_messageInfo_ProcessUser proto.InternalMessageInfo + +func (m *ProcessUser) GetName() string { if m != nil { - return m.ContainerNetSentPs + return m.Name } - return 0 + return "" } -func (m *ProcessStat) GetContainerNetRcvdBps() float32 { +func (m *ProcessUser) GetUid() int32 { if m != nil { - return m.ContainerNetRcvdBps + return m.Uid } return 0 } -func (m *ProcessStat) GetContainerNetSentBps() float32 { +func (m *ProcessUser) GetGid() int32 { if m != nil { - return m.ContainerNetSentBps + return m.Gid } return 0 } -func (m *ProcessStat) GetVoluntaryCtxSwitches() uint64 { +func (m *ProcessUser) GetEuid() int32 { if m != nil { - return m.VoluntaryCtxSwitches + return m.Euid } return 0 } -func (m *ProcessStat) GetInvoluntaryCtxSwitches() uint64 { +func (m *ProcessUser) GetEgid() int32 { if m != nil { - return m.InvoluntaryCtxSwitches + return m.Egid } return 0 } -func (m *ProcessStat) GetByteKey() []byte { +func (m *ProcessUser) GetSuid() int32 { if m != nil { - return m.ByteKey + return m.Suid } - return nil + return 0 } -func (m *ProcessStat) GetContainerByteKey() []byte { +func (m *ProcessUser) GetSgid() int32 { if m != nil { - return m.ContainerByteKey + return m.Sgid } - return nil + return 0 } -// ProcStatsWithPerm is holding attributes for processes that requires extra permission to collect. -// It is used to pass data between system-probe and process-agent -type ProcStatsWithPerm struct { - OpenFDCount int32 `protobuf:"varint,1,opt,name=openFDCount,proto3" json:"openFDCount,omitempty"` - ReadCount int64 `protobuf:"varint,2,opt,name=readCount,proto3" json:"readCount,omitempty"` - WriteCount int64 `protobuf:"varint,3,opt,name=writeCount,proto3" json:"writeCount,omitempty"` - ReadBytes int64 `protobuf:"varint,4,opt,name=readBytes,proto3" json:"readBytes,omitempty"` - WriteBytes int64 `protobuf:"varint,5,opt,name=writeBytes,proto3" json:"writeBytes,omitempty"` +// ProcessNetworks is a structure that holds network related metrics for processes +type ProcessNetworks struct { + ConnectionRate float32 `protobuf:"fixed32,1,opt,name=connectionRate,proto3" json:"connectionRate,omitempty"` + BytesRate float32 `protobuf:"fixed32,2,opt,name=bytesRate,proto3" json:"bytesRate,omitempty"` } -func (m *ProcStatsWithPerm) Reset() { *m = ProcStatsWithPerm{} } -func (m *ProcStatsWithPerm) String() string { return proto.CompactTextString(m) } -func (*ProcStatsWithPerm) ProtoMessage() {} -func (*ProcStatsWithPerm) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{41} +func (m *ProcessNetworks) Reset() { *m = ProcessNetworks{} } +func (m *ProcessNetworks) String() string { return proto.CompactTextString(m) } +func (*ProcessNetworks) ProtoMessage() {} +func (*ProcessNetworks) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{45} } -func (m *ProcStatsWithPerm) XXX_Unmarshal(b []byte) error { +func (m *ProcessNetworks) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ProcStatsWithPerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ProcessNetworks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ProcStatsWithPerm.Marshal(b, m, deterministic) + return xxx_messageInfo_ProcessNetworks.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -4385,70 +4508,51 @@ func (m *ProcStatsWithPerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *ProcStatsWithPerm) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcStatsWithPerm.Merge(m, src) +func (m *ProcessNetworks) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessNetworks.Merge(m, src) } -func (m *ProcStatsWithPerm) XXX_Size() int { +func (m *ProcessNetworks) XXX_Size() int { return m.Size() } -func (m *ProcStatsWithPerm) XXX_DiscardUnknown() { - xxx_messageInfo_ProcStatsWithPerm.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcStatsWithPerm proto.InternalMessageInfo - -func (m *ProcStatsWithPerm) GetOpenFDCount() int32 { - if m != nil { - return m.OpenFDCount - } - return 0 -} - -func (m *ProcStatsWithPerm) GetReadCount() int64 { - if m != nil { - return m.ReadCount - } - return 0 +func (m *ProcessNetworks) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessNetworks.DiscardUnknown(m) } -func (m *ProcStatsWithPerm) GetWriteCount() int64 { - if m != nil { - return m.WriteCount - } - return 0 -} +var xxx_messageInfo_ProcessNetworks proto.InternalMessageInfo -func (m *ProcStatsWithPerm) GetReadBytes() int64 { +func (m *ProcessNetworks) GetConnectionRate() float32 { if m != nil { - return m.ReadBytes + return m.ConnectionRate } return 0 } -func (m *ProcStatsWithPerm) GetWriteBytes() int64 { +func (m *ProcessNetworks) GetBytesRate() float32 { if m != nil { - return m.WriteBytes + return m.BytesRate } return 0 } -// ProcStatsWithPermByPID stores ProcStatsWithPerm in a map with key as PIDs -type ProcStatsWithPermByPID struct { - StatsByPID map[int32]*ProcStatsWithPerm `protobuf:"bytes,1,rep,name=statsByPID,proto3" json:"statsByPID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +// ContainerAddr records the IPs, Ports and Protocols for each container +type ContainerAddr struct { + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Protocol ConnectionType `protobuf:"varint,3,opt,name=protocol,proto3,enum=datadog.process_agent.ConnectionType" json:"protocol,omitempty"` } -func (m *ProcStatsWithPermByPID) Reset() { *m = ProcStatsWithPermByPID{} } -func (m *ProcStatsWithPermByPID) String() string { return proto.CompactTextString(m) } -func (*ProcStatsWithPermByPID) ProtoMessage() {} -func (*ProcStatsWithPermByPID) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{42} +func (m *ContainerAddr) Reset() { *m = ContainerAddr{} } +func (m *ContainerAddr) String() string { return proto.CompactTextString(m) } +func (*ContainerAddr) ProtoMessage() {} +func (*ContainerAddr) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{46} } -func (m *ProcStatsWithPermByPID) XXX_Unmarshal(b []byte) error { +func (m *ContainerAddr) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ProcStatsWithPermByPID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ProcStatsWithPermByPID.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerAddr.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -4458,71 +4562,88 @@ func (m *ProcStatsWithPermByPID) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *ProcStatsWithPermByPID) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcStatsWithPermByPID.Merge(m, src) +func (m *ContainerAddr) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerAddr.Merge(m, src) } -func (m *ProcStatsWithPermByPID) XXX_Size() int { +func (m *ContainerAddr) XXX_Size() int { return m.Size() } -func (m *ProcStatsWithPermByPID) XXX_DiscardUnknown() { - xxx_messageInfo_ProcStatsWithPermByPID.DiscardUnknown(m) +func (m *ContainerAddr) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerAddr.DiscardUnknown(m) } -var xxx_messageInfo_ProcStatsWithPermByPID proto.InternalMessageInfo +var xxx_messageInfo_ContainerAddr proto.InternalMessageInfo -func (m *ProcStatsWithPermByPID) GetStatsByPID() map[int32]*ProcStatsWithPerm { +func (m *ContainerAddr) GetIp() string { if m != nil { - return m.StatsByPID + return m.Ip } - return nil + return "" } -// ContainerStat is used for real-time container messages. It should only contain -// data that can change for a running container (and relevant information to -// generate a key). We will send a lot of these in the real-time messages so -// it's critical to keep this small (basically no strings except ID) -type ContainerStat struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - UserPct float32 `protobuf:"fixed32,2,opt,name=userPct,proto3" json:"userPct,omitempty"` - SystemPct float32 `protobuf:"fixed32,3,opt,name=systemPct,proto3" json:"systemPct,omitempty"` - TotalPct float32 `protobuf:"fixed32,4,opt,name=totalPct,proto3" json:"totalPct,omitempty"` - CpuLimit float32 `protobuf:"fixed32,5,opt,name=cpuLimit,proto3" json:"cpuLimit,omitempty"` - MemRss uint64 `protobuf:"varint,6,opt,name=memRss,proto3" json:"memRss,omitempty"` - MemCache uint64 `protobuf:"varint,7,opt,name=memCache,proto3" json:"memCache,omitempty"` - MemLimit uint64 `protobuf:"varint,8,opt,name=memLimit,proto3" json:"memLimit,omitempty"` - Rbps float32 `protobuf:"fixed32,9,opt,name=rbps,proto3" json:"rbps,omitempty"` - Wbps float32 `protobuf:"fixed32,10,opt,name=wbps,proto3" json:"wbps,omitempty"` - NetRcvdPs float32 `protobuf:"fixed32,11,opt,name=netRcvdPs,proto3" json:"netRcvdPs,omitempty"` - NetSentPs float32 `protobuf:"fixed32,12,opt,name=netSentPs,proto3" json:"netSentPs,omitempty"` - NetRcvdBps float32 `protobuf:"fixed32,13,opt,name=netRcvdBps,proto3" json:"netRcvdBps,omitempty"` - NetSentBps float32 `protobuf:"fixed32,14,opt,name=netSentBps,proto3" json:"netSentBps,omitempty"` - State ContainerState `protobuf:"varint,15,opt,name=state,proto3,enum=datadog.process_agent.ContainerState" json:"state,omitempty"` - Health ContainerHealth `protobuf:"varint,16,opt,name=health,proto3,enum=datadog.process_agent.ContainerHealth" json:"health,omitempty"` - // Post-resolved fields - Key uint32 `protobuf:"varint,17,opt,name=key,proto3" json:"key,omitempty"` - Started int64 `protobuf:"varint,18,opt,name=started,proto3" json:"started,omitempty"` - ByteKey []byte `protobuf:"bytes,19,opt,name=byteKey,proto3" json:"byteKey,omitempty"` - ThreadCount uint64 `protobuf:"varint,20,opt,name=threadCount,proto3" json:"threadCount,omitempty"` - ThreadLimit uint64 `protobuf:"varint,21,opt,name=threadLimit,proto3" json:"threadLimit,omitempty"` - MemUsage uint64 `protobuf:"varint,22,opt,name=memUsage,proto3" json:"memUsage,omitempty"` - CpuUsageNs float32 `protobuf:"fixed32,23,opt,name=cpuUsageNs,proto3" json:"cpuUsageNs,omitempty"` - MemAccounted uint64 `protobuf:"varint,24,opt,name=memAccounted,proto3" json:"memAccounted,omitempty"` - CpuRequest float32 `protobuf:"fixed32,25,opt,name=cpuRequest,proto3" json:"cpuRequest,omitempty"` - MemoryRequest uint64 `protobuf:"varint,26,opt,name=memoryRequest,proto3" json:"memoryRequest,omitempty"` +func (m *ContainerAddr) GetPort() int32 { + if m != nil { + return m.Port + } + return 0 } -func (m *ContainerStat) Reset() { *m = ContainerStat{} } -func (m *ContainerStat) String() string { return proto.CompactTextString(m) } -func (*ContainerStat) ProtoMessage() {} -func (*ContainerStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{43} +func (m *ContainerAddr) GetProtocol() ConnectionType { + if m != nil { + return m.Protocol + } + return ConnectionType_tcp } -func (m *ContainerStat) XXX_Unmarshal(b []byte) error { + +type Container struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` + CpuLimit float32 `protobuf:"fixed32,5,opt,name=cpuLimit,proto3" json:"cpuLimit,omitempty"` + MemoryLimit uint64 `protobuf:"varint,6,opt,name=memoryLimit,proto3" json:"memoryLimit,omitempty"` + State ContainerState `protobuf:"varint,8,opt,name=state,proto3,enum=datadog.process_agent.ContainerState" json:"state,omitempty"` + Health ContainerHealth `protobuf:"varint,9,opt,name=health,proto3,enum=datadog.process_agent.ContainerHealth" json:"health,omitempty"` + Created int64 `protobuf:"varint,10,opt,name=created,proto3" json:"created,omitempty"` + Rbps float32 `protobuf:"fixed32,11,opt,name=rbps,proto3" json:"rbps,omitempty"` + Wbps float32 `protobuf:"fixed32,12,opt,name=wbps,proto3" json:"wbps,omitempty"` + Key uint32 `protobuf:"varint,13,opt,name=key,proto3" json:"key,omitempty"` + NetRcvdPs float32 `protobuf:"fixed32,14,opt,name=netRcvdPs,proto3" json:"netRcvdPs,omitempty"` + NetSentPs float32 `protobuf:"fixed32,15,opt,name=netSentPs,proto3" json:"netSentPs,omitempty"` + NetRcvdBps float32 `protobuf:"fixed32,16,opt,name=netRcvdBps,proto3" json:"netRcvdBps,omitempty"` + NetSentBps float32 `protobuf:"fixed32,17,opt,name=netSentBps,proto3" json:"netSentBps,omitempty"` + UserPct float32 `protobuf:"fixed32,18,opt,name=userPct,proto3" json:"userPct,omitempty"` + SystemPct float32 `protobuf:"fixed32,19,opt,name=systemPct,proto3" json:"systemPct,omitempty"` + TotalPct float32 `protobuf:"fixed32,20,opt,name=totalPct,proto3" json:"totalPct,omitempty"` + MemRss uint64 `protobuf:"varint,21,opt,name=memRss,proto3" json:"memRss,omitempty"` + MemCache uint64 `protobuf:"varint,22,opt,name=memCache,proto3" json:"memCache,omitempty"` + Host *Host `protobuf:"bytes,23,opt,name=host,proto3" json:"host,omitempty"` + Started int64 `protobuf:"varint,24,opt,name=started,proto3" json:"started,omitempty"` + ByteKey []byte `protobuf:"bytes,25,opt,name=byteKey,proto3" json:"byteKey,omitempty"` + Tags []string `protobuf:"bytes,26,rep,name=tags,proto3" json:"tags,omitempty"` + Addresses []*ContainerAddr `protobuf:"bytes,27,rep,name=addresses,proto3" json:"addresses,omitempty"` + ThreadCount uint64 `protobuf:"varint,28,opt,name=threadCount,proto3" json:"threadCount,omitempty"` + ThreadLimit uint64 `protobuf:"varint,29,opt,name=threadLimit,proto3" json:"threadLimit,omitempty"` + MemUsage uint64 `protobuf:"varint,30,opt,name=memUsage,proto3" json:"memUsage,omitempty"` + CpuUsageNs float32 `protobuf:"fixed32,31,opt,name=cpuUsageNs,proto3" json:"cpuUsageNs,omitempty"` + MemAccounted uint64 `protobuf:"varint,32,opt,name=memAccounted,proto3" json:"memAccounted,omitempty"` + CpuRequest float32 `protobuf:"fixed32,33,opt,name=cpuRequest,proto3" json:"cpuRequest,omitempty"` + MemoryRequest uint64 `protobuf:"varint,34,opt,name=memoryRequest,proto3" json:"memoryRequest,omitempty"` + RepoDigest string `protobuf:"bytes,35,opt,name=repoDigest,proto3" json:"repoDigest,omitempty"` +} + +func (m *Container) Reset() { *m = Container{} } +func (m *Container) String() string { return proto.CompactTextString(m) } +func (*Container) ProtoMessage() {} +func (*Container) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{47} +} +func (m *Container) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerStat.Marshal(b, m, deterministic) + return xxx_messageInfo_Container.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -4532,288 +4653,306 @@ func (m *ContainerStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *ContainerStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerStat.Merge(m, src) +func (m *Container) XXX_Merge(src proto.Message) { + xxx_messageInfo_Container.Merge(m, src) } -func (m *ContainerStat) XXX_Size() int { +func (m *Container) XXX_Size() int { return m.Size() } -func (m *ContainerStat) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerStat.DiscardUnknown(m) +func (m *Container) XXX_DiscardUnknown() { + xxx_messageInfo_Container.DiscardUnknown(m) } -var xxx_messageInfo_ContainerStat proto.InternalMessageInfo +var xxx_messageInfo_Container proto.InternalMessageInfo -func (m *ContainerStat) GetId() string { +func (m *Container) GetType() string { if m != nil { - return m.Id + return m.Type } return "" } -func (m *ContainerStat) GetUserPct() float32 { +func (m *Container) GetId() string { if m != nil { - return m.UserPct + return m.Id } - return 0 + return "" } -func (m *ContainerStat) GetSystemPct() float32 { +func (m *Container) GetName() string { if m != nil { - return m.SystemPct + return m.Name } - return 0 + return "" } -func (m *ContainerStat) GetTotalPct() float32 { +func (m *Container) GetImage() string { if m != nil { - return m.TotalPct + return m.Image } - return 0 + return "" } -func (m *ContainerStat) GetCpuLimit() float32 { +func (m *Container) GetCpuLimit() float32 { if m != nil { return m.CpuLimit } return 0 } -func (m *ContainerStat) GetMemRss() uint64 { +func (m *Container) GetMemoryLimit() uint64 { if m != nil { - return m.MemRss + return m.MemoryLimit } return 0 } -func (m *ContainerStat) GetMemCache() uint64 { +func (m *Container) GetState() ContainerState { if m != nil { - return m.MemCache + return m.State } - return 0 + return ContainerState_unknown } -func (m *ContainerStat) GetMemLimit() uint64 { +func (m *Container) GetHealth() ContainerHealth { if m != nil { - return m.MemLimit + return m.Health + } + return ContainerHealth_unknownHealth +} + +func (m *Container) GetCreated() int64 { + if m != nil { + return m.Created } return 0 } -func (m *ContainerStat) GetRbps() float32 { +func (m *Container) GetRbps() float32 { if m != nil { return m.Rbps } return 0 } -func (m *ContainerStat) GetWbps() float32 { +func (m *Container) GetWbps() float32 { if m != nil { return m.Wbps } return 0 } -func (m *ContainerStat) GetNetRcvdPs() float32 { +func (m *Container) GetKey() uint32 { + if m != nil { + return m.Key + } + return 0 +} + +func (m *Container) GetNetRcvdPs() float32 { if m != nil { return m.NetRcvdPs } return 0 } -func (m *ContainerStat) GetNetSentPs() float32 { +func (m *Container) GetNetSentPs() float32 { if m != nil { return m.NetSentPs } return 0 } -func (m *ContainerStat) GetNetRcvdBps() float32 { +func (m *Container) GetNetRcvdBps() float32 { if m != nil { return m.NetRcvdBps } return 0 } -func (m *ContainerStat) GetNetSentBps() float32 { +func (m *Container) GetNetSentBps() float32 { if m != nil { return m.NetSentBps } return 0 } -func (m *ContainerStat) GetState() ContainerState { +func (m *Container) GetUserPct() float32 { if m != nil { - return m.State + return m.UserPct } - return ContainerState_unknown + return 0 } -func (m *ContainerStat) GetHealth() ContainerHealth { +func (m *Container) GetSystemPct() float32 { if m != nil { - return m.Health + return m.SystemPct } - return ContainerHealth_unknownHealth + return 0 } -func (m *ContainerStat) GetKey() uint32 { +func (m *Container) GetTotalPct() float32 { if m != nil { - return m.Key + return m.TotalPct } return 0 } -func (m *ContainerStat) GetStarted() int64 { +func (m *Container) GetMemRss() uint64 { if m != nil { - return m.Started + return m.MemRss } return 0 } -func (m *ContainerStat) GetByteKey() []byte { +func (m *Container) GetMemCache() uint64 { if m != nil { - return m.ByteKey + return m.MemCache } - return nil + return 0 } -func (m *ContainerStat) GetThreadCount() uint64 { +func (m *Container) GetHost() *Host { if m != nil { - return m.ThreadCount + return m.Host } - return 0 + return nil } -func (m *ContainerStat) GetThreadLimit() uint64 { +func (m *Container) GetStarted() int64 { if m != nil { - return m.ThreadLimit + return m.Started } return 0 } -func (m *ContainerStat) GetMemUsage() uint64 { +func (m *Container) GetByteKey() []byte { if m != nil { - return m.MemUsage + return m.ByteKey } - return 0 + return nil } -func (m *ContainerStat) GetCpuUsageNs() float32 { +func (m *Container) GetTags() []string { if m != nil { - return m.CpuUsageNs + return m.Tags } - return 0 + return nil } -func (m *ContainerStat) GetMemAccounted() uint64 { +func (m *Container) GetAddresses() []*ContainerAddr { if m != nil { - return m.MemAccounted + return m.Addresses } - return 0 + return nil } -func (m *ContainerStat) GetCpuRequest() float32 { +func (m *Container) GetThreadCount() uint64 { if m != nil { - return m.CpuRequest + return m.ThreadCount } return 0 } -func (m *ContainerStat) GetMemoryRequest() uint64 { +func (m *Container) GetThreadLimit() uint64 { if m != nil { - return m.MemoryRequest + return m.ThreadLimit } return 0 } -type SystemInfo struct { - Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - Os *OSInfo `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` - Cpus []*CPUInfo `protobuf:"bytes,3,rep,name=cpus,proto3" json:"cpus,omitempty"` - TotalMemory int64 `protobuf:"varint,5,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` +func (m *Container) GetMemUsage() uint64 { + if m != nil { + return m.MemUsage + } + return 0 } -func (m *SystemInfo) Reset() { *m = SystemInfo{} } -func (m *SystemInfo) String() string { return proto.CompactTextString(m) } -func (*SystemInfo) ProtoMessage() {} -func (*SystemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{44} -} -func (m *SystemInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SystemInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *Container) GetCpuUsageNs() float32 { + if m != nil { + return m.CpuUsageNs } + return 0 } -func (m *SystemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemInfo.Merge(m, src) -} -func (m *SystemInfo) XXX_Size() int { - return m.Size() -} -func (m *SystemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SystemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemInfo proto.InternalMessageInfo -func (m *SystemInfo) GetUuid() string { +func (m *Container) GetMemAccounted() uint64 { if m != nil { - return m.Uuid + return m.MemAccounted } - return "" + return 0 } -func (m *SystemInfo) GetOs() *OSInfo { +func (m *Container) GetCpuRequest() float32 { if m != nil { - return m.Os + return m.CpuRequest } - return nil + return 0 } -func (m *SystemInfo) GetCpus() []*CPUInfo { +func (m *Container) GetMemoryRequest() uint64 { if m != nil { - return m.Cpus + return m.MemoryRequest } - return nil + return 0 } -func (m *SystemInfo) GetTotalMemory() int64 { +func (m *Container) GetRepoDigest() string { if m != nil { - return m.TotalMemory + return m.RepoDigest } - return 0 + return "" } -type OSInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` - Family string `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - KernelVersion string `protobuf:"bytes,5,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` +// ProcessStat is used for real-time process messages. It should only contain +// data that can change for a running process (and relevant information to +// generate a key). We will send a lot of these in the real-time messages so +// it's critical to keep this small. +type ProcessStat struct { + Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` + // In milliseconds + CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"` + Memory *MemoryStat `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` + Cpu *CPUStat `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"` + Nice int32 `protobuf:"varint,5,opt,name=nice,proto3" json:"nice,omitempty"` + Threads int32 `protobuf:"varint,7,opt,name=threads,proto3" json:"threads,omitempty"` + OpenFdCount int32 `protobuf:"varint,8,opt,name=openFdCount,proto3" json:"openFdCount,omitempty"` + Key uint32 `protobuf:"varint,9,opt,name=key,proto3" json:"key,omitempty"` + // we need container id because we need to do the scoring by container + ContainerId string `protobuf:"bytes,10,opt,name=containerId,proto3" json:"containerId,omitempty"` + ContainerState ContainerState `protobuf:"varint,11,opt,name=containerState,proto3,enum=datadog.process_agent.ContainerState" json:"containerState,omitempty"` + ProcessState ProcessState `protobuf:"varint,12,opt,name=processState,proto3,enum=datadog.process_agent.ProcessState" json:"processState,omitempty"` + IoStat *IOStat `protobuf:"bytes,19,opt,name=ioStat,proto3" json:"ioStat,omitempty"` + Networks *ProcessNetworks `protobuf:"bytes,28,opt,name=networks,proto3" json:"networks,omitempty"` + // DEPRECATED: All container-level stats (except ID) have moved into ContainerStat. + // These will be removed in the future. + // These stats are from the container level but are stored per-process + // because we don't send a container primitive yet. + ContainerHealth ContainerHealth `protobuf:"varint,15,opt,name=containerHealth,proto3,enum=datadog.process_agent.ContainerHealth" json:"containerHealth,omitempty"` + ContainerRbps float32 `protobuf:"fixed32,16,opt,name=containerRbps,proto3" json:"containerRbps,omitempty"` + ContainerWbps float32 `protobuf:"fixed32,17,opt,name=containerWbps,proto3" json:"containerWbps,omitempty"` + ContainerKey uint32 `protobuf:"varint,18,opt,name=containerKey,proto3" json:"containerKey,omitempty"` + ContainerNetRcvdPs float32 `protobuf:"fixed32,20,opt,name=containerNetRcvdPs,proto3" json:"containerNetRcvdPs,omitempty"` + ContainerNetSentPs float32 `protobuf:"fixed32,21,opt,name=containerNetSentPs,proto3" json:"containerNetSentPs,omitempty"` + ContainerNetRcvdBps float32 `protobuf:"fixed32,22,opt,name=containerNetRcvdBps,proto3" json:"containerNetRcvdBps,omitempty"` + ContainerNetSentBps float32 `protobuf:"fixed32,23,opt,name=containerNetSentBps,proto3" json:"containerNetSentBps,omitempty"` + VoluntaryCtxSwitches uint64 `protobuf:"varint,24,opt,name=voluntaryCtxSwitches,proto3" json:"voluntaryCtxSwitches,omitempty"` + InvoluntaryCtxSwitches uint64 `protobuf:"varint,25,opt,name=involuntaryCtxSwitches,proto3" json:"involuntaryCtxSwitches,omitempty"` + ByteKey []byte `protobuf:"bytes,26,opt,name=byteKey,proto3" json:"byteKey,omitempty"` + ContainerByteKey []byte `protobuf:"bytes,27,opt,name=containerByteKey,proto3" json:"containerByteKey,omitempty"` } -func (m *OSInfo) Reset() { *m = OSInfo{} } -func (m *OSInfo) String() string { return proto.CompactTextString(m) } -func (*OSInfo) ProtoMessage() {} -func (*OSInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{45} +func (m *ProcessStat) Reset() { *m = ProcessStat{} } +func (m *ProcessStat) String() string { return proto.CompactTextString(m) } +func (*ProcessStat) ProtoMessage() {} +func (*ProcessStat) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{48} } -func (m *OSInfo) XXX_Unmarshal(b []byte) error { +func (m *ProcessStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *OSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ProcessStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_OSInfo.Marshal(b, m, deterministic) + return xxx_messageInfo_ProcessStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -4823,346 +4962,215 @@ func (m *OSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *OSInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OSInfo.Merge(m, src) +func (m *ProcessStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessStat.Merge(m, src) } -func (m *OSInfo) XXX_Size() int { +func (m *ProcessStat) XXX_Size() int { return m.Size() } -func (m *OSInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OSInfo.DiscardUnknown(m) +func (m *ProcessStat) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessStat.DiscardUnknown(m) } -var xxx_messageInfo_OSInfo proto.InternalMessageInfo - -func (m *OSInfo) GetName() string { - if m != nil { - return m.Name - } - return "" -} +var xxx_messageInfo_ProcessStat proto.InternalMessageInfo -func (m *OSInfo) GetPlatform() string { +func (m *ProcessStat) GetPid() int32 { if m != nil { - return m.Platform + return m.Pid } - return "" + return 0 } -func (m *OSInfo) GetFamily() string { +func (m *ProcessStat) GetCreateTime() int64 { if m != nil { - return m.Family + return m.CreateTime } - return "" + return 0 } -func (m *OSInfo) GetVersion() string { +func (m *ProcessStat) GetMemory() *MemoryStat { if m != nil { - return m.Version + return m.Memory } - return "" + return nil } -func (m *OSInfo) GetKernelVersion() string { +func (m *ProcessStat) GetCpu() *CPUStat { if m != nil { - return m.KernelVersion - } - return "" -} - -type IOStat struct { - ReadRate float32 `protobuf:"fixed32,1,opt,name=readRate,proto3" json:"readRate,omitempty"` - WriteRate float32 `protobuf:"fixed32,2,opt,name=writeRate,proto3" json:"writeRate,omitempty"` - ReadBytesRate float32 `protobuf:"fixed32,3,opt,name=readBytesRate,proto3" json:"readBytesRate,omitempty"` - WriteBytesRate float32 `protobuf:"fixed32,4,opt,name=writeBytesRate,proto3" json:"writeBytesRate,omitempty"` -} - -func (m *IOStat) Reset() { *m = IOStat{} } -func (m *IOStat) String() string { return proto.CompactTextString(m) } -func (*IOStat) ProtoMessage() {} -func (*IOStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{46} -} -func (m *IOStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IOStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IOStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + return m.Cpu } + return nil } -func (m *IOStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_IOStat.Merge(m, src) -} -func (m *IOStat) XXX_Size() int { - return m.Size() -} -func (m *IOStat) XXX_DiscardUnknown() { - xxx_messageInfo_IOStat.DiscardUnknown(m) -} - -var xxx_messageInfo_IOStat proto.InternalMessageInfo -func (m *IOStat) GetReadRate() float32 { +func (m *ProcessStat) GetNice() int32 { if m != nil { - return m.ReadRate + return m.Nice } return 0 } -func (m *IOStat) GetWriteRate() float32 { +func (m *ProcessStat) GetThreads() int32 { if m != nil { - return m.WriteRate + return m.Threads } return 0 } -func (m *IOStat) GetReadBytesRate() float32 { +func (m *ProcessStat) GetOpenFdCount() int32 { if m != nil { - return m.ReadBytesRate + return m.OpenFdCount } return 0 } -func (m *IOStat) GetWriteBytesRate() float32 { +func (m *ProcessStat) GetKey() uint32 { if m != nil { - return m.WriteBytesRate + return m.Key } return 0 } -type MemoryStat struct { - Rss uint64 `protobuf:"varint,1,opt,name=rss,proto3" json:"rss,omitempty"` - Vms uint64 `protobuf:"varint,2,opt,name=vms,proto3" json:"vms,omitempty"` - Swap uint64 `protobuf:"varint,3,opt,name=swap,proto3" json:"swap,omitempty"` - Shared uint64 `protobuf:"varint,4,opt,name=shared,proto3" json:"shared,omitempty"` - Text uint64 `protobuf:"varint,5,opt,name=text,proto3" json:"text,omitempty"` - Lib uint64 `protobuf:"varint,6,opt,name=lib,proto3" json:"lib,omitempty"` - Data uint64 `protobuf:"varint,7,opt,name=data,proto3" json:"data,omitempty"` - Dirty uint64 `protobuf:"varint,8,opt,name=dirty,proto3" json:"dirty,omitempty"` -} - -func (m *MemoryStat) Reset() { *m = MemoryStat{} } -func (m *MemoryStat) String() string { return proto.CompactTextString(m) } -func (*MemoryStat) ProtoMessage() {} -func (*MemoryStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{47} -} -func (m *MemoryStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MemoryStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MemoryStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MemoryStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_MemoryStat.Merge(m, src) -} -func (m *MemoryStat) XXX_Size() int { - return m.Size() -} -func (m *MemoryStat) XXX_DiscardUnknown() { - xxx_messageInfo_MemoryStat.DiscardUnknown(m) -} - -var xxx_messageInfo_MemoryStat proto.InternalMessageInfo - -func (m *MemoryStat) GetRss() uint64 { +func (m *ProcessStat) GetContainerId() string { if m != nil { - return m.Rss + return m.ContainerId } - return 0 + return "" } -func (m *MemoryStat) GetVms() uint64 { +func (m *ProcessStat) GetContainerState() ContainerState { if m != nil { - return m.Vms + return m.ContainerState } - return 0 + return ContainerState_unknown } -func (m *MemoryStat) GetSwap() uint64 { +func (m *ProcessStat) GetProcessState() ProcessState { if m != nil { - return m.Swap + return m.ProcessState } - return 0 + return ProcessState_U } -func (m *MemoryStat) GetShared() uint64 { +func (m *ProcessStat) GetIoStat() *IOStat { if m != nil { - return m.Shared + return m.IoStat } - return 0 + return nil } -func (m *MemoryStat) GetText() uint64 { +func (m *ProcessStat) GetNetworks() *ProcessNetworks { if m != nil { - return m.Text + return m.Networks } - return 0 + return nil } -func (m *MemoryStat) GetLib() uint64 { +func (m *ProcessStat) GetContainerHealth() ContainerHealth { if m != nil { - return m.Lib + return m.ContainerHealth } - return 0 + return ContainerHealth_unknownHealth } -func (m *MemoryStat) GetData() uint64 { +func (m *ProcessStat) GetContainerRbps() float32 { if m != nil { - return m.Data + return m.ContainerRbps } return 0 } -func (m *MemoryStat) GetDirty() uint64 { +func (m *ProcessStat) GetContainerWbps() float32 { if m != nil { - return m.Dirty + return m.ContainerWbps } return 0 } -type CPUStat struct { - LastCpu string `protobuf:"bytes,1,opt,name=lastCpu,proto3" json:"lastCpu,omitempty"` - TotalPct float32 `protobuf:"fixed32,2,opt,name=totalPct,proto3" json:"totalPct,omitempty"` - UserPct float32 `protobuf:"fixed32,3,opt,name=userPct,proto3" json:"userPct,omitempty"` - SystemPct float32 `protobuf:"fixed32,4,opt,name=systemPct,proto3" json:"systemPct,omitempty"` - NumThreads int32 `protobuf:"varint,5,opt,name=numThreads,proto3" json:"numThreads,omitempty"` - Cpus []*SingleCPUStat `protobuf:"bytes,6,rep,name=cpus,proto3" json:"cpus,omitempty"` - Nice int32 `protobuf:"varint,7,opt,name=nice,proto3" json:"nice,omitempty"` - UserTime int64 `protobuf:"varint,8,opt,name=userTime,proto3" json:"userTime,omitempty"` - SystemTime int64 `protobuf:"varint,9,opt,name=systemTime,proto3" json:"systemTime,omitempty"` -} - -func (m *CPUStat) Reset() { *m = CPUStat{} } -func (m *CPUStat) String() string { return proto.CompactTextString(m) } -func (*CPUStat) ProtoMessage() {} -func (*CPUStat) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{48} -} -func (m *CPUStat) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CPUStat.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *CPUStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_CPUStat.Merge(m, src) -} -func (m *CPUStat) XXX_Size() int { - return m.Size() -} -func (m *CPUStat) XXX_DiscardUnknown() { - xxx_messageInfo_CPUStat.DiscardUnknown(m) -} - -var xxx_messageInfo_CPUStat proto.InternalMessageInfo - -func (m *CPUStat) GetLastCpu() string { +func (m *ProcessStat) GetContainerKey() uint32 { if m != nil { - return m.LastCpu + return m.ContainerKey } - return "" + return 0 } -func (m *CPUStat) GetTotalPct() float32 { +func (m *ProcessStat) GetContainerNetRcvdPs() float32 { if m != nil { - return m.TotalPct + return m.ContainerNetRcvdPs } return 0 } -func (m *CPUStat) GetUserPct() float32 { +func (m *ProcessStat) GetContainerNetSentPs() float32 { if m != nil { - return m.UserPct + return m.ContainerNetSentPs } return 0 } -func (m *CPUStat) GetSystemPct() float32 { +func (m *ProcessStat) GetContainerNetRcvdBps() float32 { if m != nil { - return m.SystemPct + return m.ContainerNetRcvdBps } return 0 } -func (m *CPUStat) GetNumThreads() int32 { +func (m *ProcessStat) GetContainerNetSentBps() float32 { if m != nil { - return m.NumThreads + return m.ContainerNetSentBps } return 0 } -func (m *CPUStat) GetCpus() []*SingleCPUStat { +func (m *ProcessStat) GetVoluntaryCtxSwitches() uint64 { if m != nil { - return m.Cpus + return m.VoluntaryCtxSwitches } - return nil + return 0 } -func (m *CPUStat) GetNice() int32 { +func (m *ProcessStat) GetInvoluntaryCtxSwitches() uint64 { if m != nil { - return m.Nice + return m.InvoluntaryCtxSwitches } return 0 } -func (m *CPUStat) GetUserTime() int64 { +func (m *ProcessStat) GetByteKey() []byte { if m != nil { - return m.UserTime + return m.ByteKey } - return 0 + return nil } -func (m *CPUStat) GetSystemTime() int64 { +func (m *ProcessStat) GetContainerByteKey() []byte { if m != nil { - return m.SystemTime + return m.ContainerByteKey } - return 0 + return nil } -type SingleCPUStat struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - TotalPct float32 `protobuf:"fixed32,2,opt,name=totalPct,proto3" json:"totalPct,omitempty"` +// ProcStatsWithPerm is holding attributes for processes that requires extra permission to collect. +// It is used to pass data between system-probe and process-agent +type ProcStatsWithPerm struct { + OpenFDCount int32 `protobuf:"varint,1,opt,name=openFDCount,proto3" json:"openFDCount,omitempty"` + ReadCount int64 `protobuf:"varint,2,opt,name=readCount,proto3" json:"readCount,omitempty"` + WriteCount int64 `protobuf:"varint,3,opt,name=writeCount,proto3" json:"writeCount,omitempty"` + ReadBytes int64 `protobuf:"varint,4,opt,name=readBytes,proto3" json:"readBytes,omitempty"` + WriteBytes int64 `protobuf:"varint,5,opt,name=writeBytes,proto3" json:"writeBytes,omitempty"` } -func (m *SingleCPUStat) Reset() { *m = SingleCPUStat{} } -func (m *SingleCPUStat) String() string { return proto.CompactTextString(m) } -func (*SingleCPUStat) ProtoMessage() {} -func (*SingleCPUStat) Descriptor() ([]byte, []int) { +func (m *ProcStatsWithPerm) Reset() { *m = ProcStatsWithPerm{} } +func (m *ProcStatsWithPerm) String() string { return proto.CompactTextString(m) } +func (*ProcStatsWithPerm) ProtoMessage() {} +func (*ProcStatsWithPerm) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{49} } -func (m *SingleCPUStat) XXX_Unmarshal(b []byte) error { +func (m *ProcStatsWithPerm) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SingleCPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ProcStatsWithPerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SingleCPUStat.Marshal(b, m, deterministic) + return xxx_messageInfo_ProcStatsWithPerm.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5172,56 +5180,70 @@ func (m *SingleCPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *SingleCPUStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_SingleCPUStat.Merge(m, src) +func (m *ProcStatsWithPerm) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcStatsWithPerm.Merge(m, src) } -func (m *SingleCPUStat) XXX_Size() int { +func (m *ProcStatsWithPerm) XXX_Size() int { return m.Size() } -func (m *SingleCPUStat) XXX_DiscardUnknown() { - xxx_messageInfo_SingleCPUStat.DiscardUnknown(m) +func (m *ProcStatsWithPerm) XXX_DiscardUnknown() { + xxx_messageInfo_ProcStatsWithPerm.DiscardUnknown(m) } -var xxx_messageInfo_SingleCPUStat proto.InternalMessageInfo +var xxx_messageInfo_ProcStatsWithPerm proto.InternalMessageInfo -func (m *SingleCPUStat) GetName() string { +func (m *ProcStatsWithPerm) GetOpenFDCount() int32 { if m != nil { - return m.Name + return m.OpenFDCount } - return "" + return 0 } -func (m *SingleCPUStat) GetTotalPct() float32 { +func (m *ProcStatsWithPerm) GetReadCount() int64 { if m != nil { - return m.TotalPct + return m.ReadCount } return 0 } -type CPUInfo struct { - Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` - Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"` - Family string `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` - Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` - PhysicalId string `protobuf:"bytes,5,opt,name=physicalId,proto3" json:"physicalId,omitempty"` - CoreId string `protobuf:"bytes,6,opt,name=coreId,proto3" json:"coreId,omitempty"` - Cores int32 `protobuf:"varint,7,opt,name=cores,proto3" json:"cores,omitempty"` - Mhz int64 `protobuf:"varint,8,opt,name=mhz,proto3" json:"mhz,omitempty"` - CacheSize int32 `protobuf:"varint,9,opt,name=cacheSize,proto3" json:"cacheSize,omitempty"` +func (m *ProcStatsWithPerm) GetWriteCount() int64 { + if m != nil { + return m.WriteCount + } + return 0 } -func (m *CPUInfo) Reset() { *m = CPUInfo{} } -func (m *CPUInfo) String() string { return proto.CompactTextString(m) } -func (*CPUInfo) ProtoMessage() {} -func (*CPUInfo) Descriptor() ([]byte, []int) { +func (m *ProcStatsWithPerm) GetReadBytes() int64 { + if m != nil { + return m.ReadBytes + } + return 0 +} + +func (m *ProcStatsWithPerm) GetWriteBytes() int64 { + if m != nil { + return m.WriteBytes + } + return 0 +} + +// ProcStatsWithPermByPID stores ProcStatsWithPerm in a map with key as PIDs +type ProcStatsWithPermByPID struct { + StatsByPID map[int32]*ProcStatsWithPerm `protobuf:"bytes,1,rep,name=statsByPID,proto3" json:"statsByPID,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (m *ProcStatsWithPermByPID) Reset() { *m = ProcStatsWithPermByPID{} } +func (m *ProcStatsWithPermByPID) String() string { return proto.CompactTextString(m) } +func (*ProcStatsWithPermByPID) ProtoMessage() {} +func (*ProcStatsWithPermByPID) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{50} } -func (m *CPUInfo) XXX_Unmarshal(b []byte) error { +func (m *ProcStatsWithPermByPID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ProcStatsWithPermByPID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CPUInfo.Marshal(b, m, deterministic) + return xxx_messageInfo_ProcStatsWithPermByPID.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5231,104 +5253,71 @@ func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *CPUInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CPUInfo.Merge(m, src) +func (m *ProcStatsWithPermByPID) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcStatsWithPermByPID.Merge(m, src) } -func (m *CPUInfo) XXX_Size() int { +func (m *ProcStatsWithPermByPID) XXX_Size() int { return m.Size() } -func (m *CPUInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CPUInfo.DiscardUnknown(m) +func (m *ProcStatsWithPermByPID) XXX_DiscardUnknown() { + xxx_messageInfo_ProcStatsWithPermByPID.DiscardUnknown(m) } -var xxx_messageInfo_CPUInfo proto.InternalMessageInfo +var xxx_messageInfo_ProcStatsWithPermByPID proto.InternalMessageInfo -func (m *CPUInfo) GetNumber() int32 { +func (m *ProcStatsWithPermByPID) GetStatsByPID() map[int32]*ProcStatsWithPerm { if m != nil { - return m.Number - } - return 0 -} - -func (m *CPUInfo) GetVendor() string { - if m != nil { - return m.Vendor - } - return "" -} - -func (m *CPUInfo) GetFamily() string { - if m != nil { - return m.Family - } - return "" -} - -func (m *CPUInfo) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *CPUInfo) GetPhysicalId() string { - if m != nil { - return m.PhysicalId - } - return "" -} - -func (m *CPUInfo) GetCoreId() string { - if m != nil { - return m.CoreId - } - return "" -} - -func (m *CPUInfo) GetCores() int32 { - if m != nil { - return m.Cores - } - return 0 -} - -func (m *CPUInfo) GetMhz() int64 { - if m != nil { - return m.Mhz - } - return 0 -} - -func (m *CPUInfo) GetCacheSize() int32 { - if m != nil { - return m.CacheSize + return m.StatsByPID } - return 0 + return nil } -type Host struct { - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - OrgId int32 `protobuf:"varint,2,opt,name=orgId,proto3" json:"orgId,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - AllTags []string `protobuf:"bytes,6,rep,name=allTags,proto3" json:"allTags,omitempty"` - NumCpus int32 `protobuf:"varint,7,opt,name=numCpus,proto3" json:"numCpus,omitempty"` - TotalMemory int64 `protobuf:"varint,8,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` - TagIndex int32 `protobuf:"varint,9,opt,name=tagIndex,proto3" json:"tagIndex,omitempty"` - TagsModified int64 `protobuf:"varint,10,opt,name=tagsModified,proto3" json:"tagsModified,omitempty"` +// ContainerStat is used for real-time container messages. It should only contain +// data that can change for a running container (and relevant information to +// generate a key). We will send a lot of these in the real-time messages so +// it's critical to keep this small (basically no strings except ID) +type ContainerStat struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + UserPct float32 `protobuf:"fixed32,2,opt,name=userPct,proto3" json:"userPct,omitempty"` + SystemPct float32 `protobuf:"fixed32,3,opt,name=systemPct,proto3" json:"systemPct,omitempty"` + TotalPct float32 `protobuf:"fixed32,4,opt,name=totalPct,proto3" json:"totalPct,omitempty"` + CpuLimit float32 `protobuf:"fixed32,5,opt,name=cpuLimit,proto3" json:"cpuLimit,omitempty"` + MemRss uint64 `protobuf:"varint,6,opt,name=memRss,proto3" json:"memRss,omitempty"` + MemCache uint64 `protobuf:"varint,7,opt,name=memCache,proto3" json:"memCache,omitempty"` + MemLimit uint64 `protobuf:"varint,8,opt,name=memLimit,proto3" json:"memLimit,omitempty"` + Rbps float32 `protobuf:"fixed32,9,opt,name=rbps,proto3" json:"rbps,omitempty"` + Wbps float32 `protobuf:"fixed32,10,opt,name=wbps,proto3" json:"wbps,omitempty"` + NetRcvdPs float32 `protobuf:"fixed32,11,opt,name=netRcvdPs,proto3" json:"netRcvdPs,omitempty"` + NetSentPs float32 `protobuf:"fixed32,12,opt,name=netSentPs,proto3" json:"netSentPs,omitempty"` + NetRcvdBps float32 `protobuf:"fixed32,13,opt,name=netRcvdBps,proto3" json:"netRcvdBps,omitempty"` + NetSentBps float32 `protobuf:"fixed32,14,opt,name=netSentBps,proto3" json:"netSentBps,omitempty"` + State ContainerState `protobuf:"varint,15,opt,name=state,proto3,enum=datadog.process_agent.ContainerState" json:"state,omitempty"` + Health ContainerHealth `protobuf:"varint,16,opt,name=health,proto3,enum=datadog.process_agent.ContainerHealth" json:"health,omitempty"` + // Post-resolved fields + Key uint32 `protobuf:"varint,17,opt,name=key,proto3" json:"key,omitempty"` + Started int64 `protobuf:"varint,18,opt,name=started,proto3" json:"started,omitempty"` + ByteKey []byte `protobuf:"bytes,19,opt,name=byteKey,proto3" json:"byteKey,omitempty"` + ThreadCount uint64 `protobuf:"varint,20,opt,name=threadCount,proto3" json:"threadCount,omitempty"` + ThreadLimit uint64 `protobuf:"varint,21,opt,name=threadLimit,proto3" json:"threadLimit,omitempty"` + MemUsage uint64 `protobuf:"varint,22,opt,name=memUsage,proto3" json:"memUsage,omitempty"` + CpuUsageNs float32 `protobuf:"fixed32,23,opt,name=cpuUsageNs,proto3" json:"cpuUsageNs,omitempty"` + MemAccounted uint64 `protobuf:"varint,24,opt,name=memAccounted,proto3" json:"memAccounted,omitempty"` + CpuRequest float32 `protobuf:"fixed32,25,opt,name=cpuRequest,proto3" json:"cpuRequest,omitempty"` + MemoryRequest uint64 `protobuf:"varint,26,opt,name=memoryRequest,proto3" json:"memoryRequest,omitempty"` } -func (m *Host) Reset() { *m = Host{} } -func (m *Host) String() string { return proto.CompactTextString(m) } -func (*Host) ProtoMessage() {} -func (*Host) Descriptor() ([]byte, []int) { +func (m *ContainerStat) Reset() { *m = ContainerStat{} } +func (m *ContainerStat) String() string { return proto.CompactTextString(m) } +func (*ContainerStat) ProtoMessage() {} +func (*ContainerStat) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{51} } -func (m *Host) XXX_Unmarshal(b []byte) error { +func (m *ContainerStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Host.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5338,243 +5327,219 @@ func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Host) XXX_Merge(src proto.Message) { - xxx_messageInfo_Host.Merge(m, src) +func (m *ContainerStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerStat.Merge(m, src) } -func (m *Host) XXX_Size() int { +func (m *ContainerStat) XXX_Size() int { return m.Size() } -func (m *Host) XXX_DiscardUnknown() { - xxx_messageInfo_Host.DiscardUnknown(m) +func (m *ContainerStat) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerStat.DiscardUnknown(m) } -var xxx_messageInfo_Host proto.InternalMessageInfo +var xxx_messageInfo_ContainerStat proto.InternalMessageInfo -func (m *Host) GetId() int64 { +func (m *ContainerStat) GetId() string { if m != nil { return m.Id } - return 0 + return "" } -func (m *Host) GetOrgId() int32 { +func (m *ContainerStat) GetUserPct() float32 { if m != nil { - return m.OrgId + return m.UserPct } return 0 } -func (m *Host) GetName() string { +func (m *ContainerStat) GetSystemPct() float32 { if m != nil { - return m.Name + return m.SystemPct } - return "" + return 0 } -func (m *Host) GetAllTags() []string { +func (m *ContainerStat) GetTotalPct() float32 { if m != nil { - return m.AllTags + return m.TotalPct } - return nil + return 0 } -func (m *Host) GetNumCpus() int32 { +func (m *ContainerStat) GetCpuLimit() float32 { if m != nil { - return m.NumCpus + return m.CpuLimit } return 0 } -func (m *Host) GetTotalMemory() int64 { +func (m *ContainerStat) GetMemRss() uint64 { if m != nil { - return m.TotalMemory + return m.MemRss } return 0 } -func (m *Host) GetTagIndex() int32 { +func (m *ContainerStat) GetMemCache() uint64 { if m != nil { - return m.TagIndex + return m.MemCache } return 0 } -func (m *Host) GetTagsModified() int64 { +func (m *ContainerStat) GetMemLimit() uint64 { if m != nil { - return m.TagsModified + return m.MemLimit } return 0 } -type Cluster struct { - NodeCount int32 `protobuf:"varint,1,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` - KubeletVersions map[string]int32 `protobuf:"bytes,2,rep,name=kubeletVersions,proto3" json:"kubeletVersions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - ApiServerVersions map[string]int32 `protobuf:"bytes,3,rep,name=apiServerVersions,proto3" json:"apiServerVersions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // sum of all nodes capacities and allocatables. - // Using smallest possible quantity levels. - // For memory it is bytes, for CPU it is millicore. - PodCapacity uint32 `protobuf:"varint,4,opt,name=podCapacity,proto3" json:"podCapacity,omitempty"` - PodAllocatable uint32 `protobuf:"varint,5,opt,name=podAllocatable,proto3" json:"podAllocatable,omitempty"` - MemoryAllocatable uint64 `protobuf:"varint,6,opt,name=memoryAllocatable,proto3" json:"memoryAllocatable,omitempty"` - MemoryCapacity uint64 `protobuf:"varint,7,opt,name=memoryCapacity,proto3" json:"memoryCapacity,omitempty"` - CpuAllocatable uint64 `protobuf:"varint,8,opt,name=cpuAllocatable,proto3" json:"cpuAllocatable,omitempty"` - CpuCapacity uint64 `protobuf:"varint,9,opt,name=cpuCapacity,proto3" json:"cpuCapacity,omitempty"` - ResourceVersion string `protobuf:"bytes,10,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` - CreationTimestamp int64 `protobuf:"varint,11,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"` - Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,13,opt,name=metrics,proto3" json:"metrics,omitempty"` +func (m *ContainerStat) GetRbps() float32 { + if m != nil { + return m.Rbps + } + return 0 } -func (m *Cluster) Reset() { *m = Cluster{} } -func (m *Cluster) String() string { return proto.CompactTextString(m) } -func (*Cluster) ProtoMessage() {} -func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{52} -} -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.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *ContainerStat) GetWbps() float32 { + if m != nil { + return m.Wbps } + return 0 } -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 *ContainerStat) GetNetRcvdPs() float32 { + if m != nil { + return m.NetRcvdPs + } + return 0 } -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) + +func (m *ContainerStat) GetNetSentPs() float32 { + if m != nil { + return m.NetSentPs + } + return 0 } -var xxx_messageInfo_Cluster proto.InternalMessageInfo +func (m *ContainerStat) GetNetRcvdBps() float32 { + if m != nil { + return m.NetRcvdBps + } + return 0 +} -func (m *Cluster) GetNodeCount() int32 { +func (m *ContainerStat) GetNetSentBps() float32 { if m != nil { - return m.NodeCount + return m.NetSentBps } return 0 } -func (m *Cluster) GetKubeletVersions() map[string]int32 { +func (m *ContainerStat) GetState() ContainerState { if m != nil { - return m.KubeletVersions + return m.State } - return nil + return ContainerState_unknown } -func (m *Cluster) GetApiServerVersions() map[string]int32 { +func (m *ContainerStat) GetHealth() ContainerHealth { if m != nil { - return m.ApiServerVersions + return m.Health } - return nil + return ContainerHealth_unknownHealth } -func (m *Cluster) GetPodCapacity() uint32 { +func (m *ContainerStat) GetKey() uint32 { if m != nil { - return m.PodCapacity + return m.Key } return 0 } -func (m *Cluster) GetPodAllocatable() uint32 { +func (m *ContainerStat) GetStarted() int64 { if m != nil { - return m.PodAllocatable + return m.Started } return 0 } -func (m *Cluster) GetMemoryAllocatable() uint64 { +func (m *ContainerStat) GetByteKey() []byte { if m != nil { - return m.MemoryAllocatable + return m.ByteKey } - return 0 + return nil } -func (m *Cluster) GetMemoryCapacity() uint64 { +func (m *ContainerStat) GetThreadCount() uint64 { if m != nil { - return m.MemoryCapacity + return m.ThreadCount } return 0 } -func (m *Cluster) GetCpuAllocatable() uint64 { +func (m *ContainerStat) GetThreadLimit() uint64 { if m != nil { - return m.CpuAllocatable + return m.ThreadLimit } return 0 } -func (m *Cluster) GetCpuCapacity() uint64 { +func (m *ContainerStat) GetMemUsage() uint64 { if m != nil { - return m.CpuCapacity + return m.MemUsage } return 0 } -func (m *Cluster) GetResourceVersion() string { +func (m *ContainerStat) GetCpuUsageNs() float32 { if m != nil { - return m.ResourceVersion + return m.CpuUsageNs } - return "" + return 0 } -func (m *Cluster) GetCreationTimestamp() int64 { +func (m *ContainerStat) GetMemAccounted() uint64 { if m != nil { - return m.CreationTimestamp + return m.MemAccounted } return 0 } -func (m *Cluster) GetTags() []string { +func (m *ContainerStat) GetCpuRequest() float32 { if m != nil { - return m.Tags + return m.CpuRequest } - return nil + return 0 } -func (m *Cluster) GetMetrics() *ResourceMetrics { +func (m *ContainerStat) GetMemoryRequest() uint64 { if m != nil { - return m.Metrics + return m.MemoryRequest } - return nil + return 0 } -// reference https://github.com/kubernetes/apimachinery/blob/2373d029717c4d169463414a6127cd1d0d12680e/pkg/apis/meta/v1/generated.proto#L521 -type Metadata struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` - CreationTimestamp int64 `protobuf:"varint,4,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"` - DeletionTimestamp int64 `protobuf:"varint,5,opt,name=deletionTimestamp,proto3" json:"deletionTimestamp,omitempty"` - Labels []string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` - Annotations []string `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty"` - OwnerReferences []*OwnerReference `protobuf:"bytes,8,rep,name=ownerReferences,proto3" json:"ownerReferences,omitempty"` - ResourceVersion string `protobuf:"bytes,9,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` - Finalizers []string `protobuf:"bytes,10,rep,name=finalizers,proto3" json:"finalizers,omitempty"` +type SystemInfo struct { + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + Os *OSInfo `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` + Cpus []*CPUInfo `protobuf:"bytes,3,rep,name=cpus,proto3" json:"cpus,omitempty"` + TotalMemory int64 `protobuf:"varint,5,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` } -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} -func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{53} +func (m *SystemInfo) Reset() { *m = SystemInfo{} } +func (m *SystemInfo) String() string { return proto.CompactTextString(m) } +func (*SystemInfo) ProtoMessage() {} +func (*SystemInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{52} } -func (m *Metadata) XXX_Unmarshal(b []byte) error { +func (m *SystemInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) + return xxx_messageInfo_SystemInfo.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5584,106 +5549,66 @@ func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(m, src) +func (m *SystemInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SystemInfo.Merge(m, src) } -func (m *Metadata) XXX_Size() int { +func (m *SystemInfo) XXX_Size() int { return m.Size() } -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) -} - -var xxx_messageInfo_Metadata proto.InternalMessageInfo - -func (m *Metadata) GetName() string { - if m != nil { - return m.Name - } - return "" +func (m *SystemInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SystemInfo.DiscardUnknown(m) } -func (m *Metadata) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} +var xxx_messageInfo_SystemInfo proto.InternalMessageInfo -func (m *Metadata) GetUid() string { +func (m *SystemInfo) GetUuid() string { if m != nil { - return m.Uid + return m.Uuid } return "" } -func (m *Metadata) GetCreationTimestamp() int64 { - if m != nil { - return m.CreationTimestamp - } - return 0 -} - -func (m *Metadata) GetDeletionTimestamp() int64 { - if m != nil { - return m.DeletionTimestamp - } - return 0 -} - -func (m *Metadata) GetLabels() []string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Metadata) GetAnnotations() []string { +func (m *SystemInfo) GetOs() *OSInfo { if m != nil { - return m.Annotations + return m.Os } return nil } -func (m *Metadata) GetOwnerReferences() []*OwnerReference { +func (m *SystemInfo) GetCpus() []*CPUInfo { if m != nil { - return m.OwnerReferences + return m.Cpus } return nil } -func (m *Metadata) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion - } - return "" -} - -func (m *Metadata) GetFinalizers() []string { +func (m *SystemInfo) GetTotalMemory() int64 { if m != nil { - return m.Finalizers + return m.TotalMemory } - return nil + return 0 } -type OwnerReference struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` - Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` +type OSInfo struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` + Family string `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + KernelVersion string `protobuf:"bytes,5,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` } -func (m *OwnerReference) Reset() { *m = OwnerReference{} } -func (m *OwnerReference) String() string { return proto.CompactTextString(m) } -func (*OwnerReference) ProtoMessage() {} -func (*OwnerReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{54} +func (m *OSInfo) Reset() { *m = OSInfo{} } +func (m *OSInfo) String() string { return proto.CompactTextString(m) } +func (*OSInfo) ProtoMessage() {} +func (*OSInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{53} } -func (m *OwnerReference) XXX_Unmarshal(b []byte) error { +func (m *OSInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *OSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_OwnerReference.Marshal(b, m, deterministic) + return xxx_messageInfo_OSInfo.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5693,62 +5618,72 @@ func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *OwnerReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_OwnerReference.Merge(m, src) +func (m *OSInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_OSInfo.Merge(m, src) } -func (m *OwnerReference) XXX_Size() int { +func (m *OSInfo) XXX_Size() int { return m.Size() } -func (m *OwnerReference) XXX_DiscardUnknown() { - xxx_messageInfo_OwnerReference.DiscardUnknown(m) +func (m *OSInfo) XXX_DiscardUnknown() { + xxx_messageInfo_OSInfo.DiscardUnknown(m) } -var xxx_messageInfo_OwnerReference proto.InternalMessageInfo +var xxx_messageInfo_OSInfo proto.InternalMessageInfo -func (m *OwnerReference) GetName() string { +func (m *OSInfo) GetName() string { if m != nil { return m.Name } return "" } -func (m *OwnerReference) GetUid() string { +func (m *OSInfo) GetPlatform() string { if m != nil { - return m.Uid + return m.Platform } return "" } -func (m *OwnerReference) GetKind() string { +func (m *OSInfo) GetFamily() string { if m != nil { - return m.Kind + return m.Family } return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/pkg/apis/core/types.go#L4317 -type ObjectReference struct { - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` - ApiVersion string `protobuf:"bytes,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` - ResourceVersion string `protobuf:"bytes,6,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` - FieldPath string `protobuf:"bytes,7,opt,name=fieldPath,proto3" json:"fieldPath,omitempty"` +func (m *OSInfo) GetVersion() string { + if m != nil { + return m.Version + } + return "" } -func (m *ObjectReference) Reset() { *m = ObjectReference{} } -func (m *ObjectReference) String() string { return proto.CompactTextString(m) } -func (*ObjectReference) ProtoMessage() {} -func (*ObjectReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{55} +func (m *OSInfo) GetKernelVersion() string { + if m != nil { + return m.KernelVersion + } + return "" } -func (m *ObjectReference) XXX_Unmarshal(b []byte) error { + +type IOStat struct { + ReadRate float32 `protobuf:"fixed32,1,opt,name=readRate,proto3" json:"readRate,omitempty"` + WriteRate float32 `protobuf:"fixed32,2,opt,name=writeRate,proto3" json:"writeRate,omitempty"` + ReadBytesRate float32 `protobuf:"fixed32,3,opt,name=readBytesRate,proto3" json:"readBytesRate,omitempty"` + WriteBytesRate float32 `protobuf:"fixed32,4,opt,name=writeBytesRate,proto3" json:"writeBytesRate,omitempty"` +} + +func (m *IOStat) Reset() { *m = IOStat{} } +func (m *IOStat) String() string { return proto.CompactTextString(m) } +func (*IOStat) ProtoMessage() {} +func (*IOStat) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{54} +} +func (m *IOStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IOStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ObjectReference.Marshal(b, m, deterministic) + return xxx_messageInfo_IOStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5758,88 +5693,69 @@ func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *ObjectReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectReference.Merge(m, src) +func (m *IOStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_IOStat.Merge(m, src) } -func (m *ObjectReference) XXX_Size() int { +func (m *IOStat) XXX_Size() int { return m.Size() } -func (m *ObjectReference) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectReference.DiscardUnknown(m) +func (m *IOStat) XXX_DiscardUnknown() { + xxx_messageInfo_IOStat.DiscardUnknown(m) } -var xxx_messageInfo_ObjectReference proto.InternalMessageInfo +var xxx_messageInfo_IOStat proto.InternalMessageInfo -func (m *ObjectReference) GetKind() string { +func (m *IOStat) GetReadRate() float32 { if m != nil { - return m.Kind + return m.ReadRate } - return "" + return 0 } -func (m *ObjectReference) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - -func (m *ObjectReference) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ObjectReference) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *ObjectReference) GetApiVersion() string { +func (m *IOStat) GetWriteRate() float32 { if m != nil { - return m.ApiVersion + return m.WriteRate } - return "" + return 0 } -func (m *ObjectReference) GetResourceVersion() string { +func (m *IOStat) GetReadBytesRate() float32 { if m != nil { - return m.ResourceVersion + return m.ReadBytesRate } - return "" + return 0 } -func (m *ObjectReference) GetFieldPath() string { +func (m *IOStat) GetWriteBytesRate() float32 { if m != nil { - return m.FieldPath + return m.WriteBytesRate } - return "" + return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4571 -type ServicePort struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` - Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` - TargetPort string `protobuf:"bytes,4,opt,name=targetPort,proto3" json:"targetPort,omitempty"` - NodePort int32 `protobuf:"varint,5,opt,name=nodePort,proto3" json:"nodePort,omitempty"` +type MemoryStat struct { + Rss uint64 `protobuf:"varint,1,opt,name=rss,proto3" json:"rss,omitempty"` + Vms uint64 `protobuf:"varint,2,opt,name=vms,proto3" json:"vms,omitempty"` + Swap uint64 `protobuf:"varint,3,opt,name=swap,proto3" json:"swap,omitempty"` + Shared uint64 `protobuf:"varint,4,opt,name=shared,proto3" json:"shared,omitempty"` + Text uint64 `protobuf:"varint,5,opt,name=text,proto3" json:"text,omitempty"` + Lib uint64 `protobuf:"varint,6,opt,name=lib,proto3" json:"lib,omitempty"` + Data uint64 `protobuf:"varint,7,opt,name=data,proto3" json:"data,omitempty"` + Dirty uint64 `protobuf:"varint,8,opt,name=dirty,proto3" json:"dirty,omitempty"` } -func (m *ServicePort) Reset() { *m = ServicePort{} } -func (m *ServicePort) String() string { return proto.CompactTextString(m) } -func (*ServicePort) ProtoMessage() {} -func (*ServicePort) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{56} +func (m *MemoryStat) Reset() { *m = MemoryStat{} } +func (m *MemoryStat) String() string { return proto.CompactTextString(m) } +func (*MemoryStat) ProtoMessage() {} +func (*MemoryStat) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{55} } -func (m *ServicePort) XXX_Unmarshal(b []byte) error { +func (m *MemoryStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MemoryStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ServicePort.Marshal(b, m, deterministic) + return xxx_messageInfo_MemoryStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5849,128 +5765,98 @@ func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ServicePort) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServicePort.Merge(m, src) +func (m *MemoryStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_MemoryStat.Merge(m, src) } -func (m *ServicePort) XXX_Size() int { +func (m *MemoryStat) XXX_Size() int { return m.Size() } -func (m *ServicePort) XXX_DiscardUnknown() { - xxx_messageInfo_ServicePort.DiscardUnknown(m) +func (m *MemoryStat) XXX_DiscardUnknown() { + xxx_messageInfo_MemoryStat.DiscardUnknown(m) } -var xxx_messageInfo_ServicePort proto.InternalMessageInfo +var xxx_messageInfo_MemoryStat proto.InternalMessageInfo -func (m *ServicePort) GetName() string { +func (m *MemoryStat) GetRss() uint64 { if m != nil { - return m.Name + return m.Rss } - return "" + return 0 } -func (m *ServicePort) GetProtocol() string { +func (m *MemoryStat) GetVms() uint64 { if m != nil { - return m.Protocol + return m.Vms } - return "" + return 0 } -func (m *ServicePort) GetPort() int32 { +func (m *MemoryStat) GetSwap() uint64 { if m != nil { - return m.Port + return m.Swap } return 0 } -func (m *ServicePort) GetTargetPort() string { +func (m *MemoryStat) GetShared() uint64 { if m != nil { - return m.TargetPort + return m.Shared } - return "" + return 0 } -func (m *ServicePort) GetNodePort() int32 { +func (m *MemoryStat) GetText() uint64 { if m != nil { - return m.NodePort + return m.Text } return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4756 -type ServiceSessionAffinityConfig struct { - ClientIPTimeoutSeconds int32 `protobuf:"varint,1,opt,name=clientIPTimeoutSeconds,proto3" json:"clientIPTimeoutSeconds,omitempty"` +func (m *MemoryStat) GetLib() uint64 { + if m != nil { + return m.Lib + } + return 0 } -func (m *ServiceSessionAffinityConfig) Reset() { *m = ServiceSessionAffinityConfig{} } -func (m *ServiceSessionAffinityConfig) String() string { return proto.CompactTextString(m) } -func (*ServiceSessionAffinityConfig) ProtoMessage() {} -func (*ServiceSessionAffinityConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{57} -} -func (m *ServiceSessionAffinityConfig) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceSessionAffinityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceSessionAffinityConfig.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *MemoryStat) GetData() uint64 { + if m != nil { + return m.Data } + return 0 } -func (m *ServiceSessionAffinityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceSessionAffinityConfig.Merge(m, src) -} -func (m *ServiceSessionAffinityConfig) XXX_Size() int { - return m.Size() -} -func (m *ServiceSessionAffinityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceSessionAffinityConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceSessionAffinityConfig proto.InternalMessageInfo -func (m *ServiceSessionAffinityConfig) GetClientIPTimeoutSeconds() int32 { +func (m *MemoryStat) GetDirty() uint64 { if m != nil { - return m.ClientIPTimeoutSeconds + return m.Dirty } return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2107 -type Node struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // spec reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2312 - PodCIDR string `protobuf:"bytes,2,opt,name=podCIDR,proto3" json:"podCIDR,omitempty"` - PodCIDRs []string `protobuf:"bytes,3,rep,name=podCIDRs,proto3" json:"podCIDRs,omitempty"` - Unschedulable bool `protobuf:"varint,4,opt,name=unschedulable,proto3" json:"unschedulable,omitempty"` - Taints []*Taint `protobuf:"bytes,5,rep,name=taints,proto3" json:"taints,omitempty"` - Status *NodeStatus `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,7,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - // we parse it from the labels. Similar to upstream https://github.com/kubernetes/kubernetes/blob/1e12d92a5179dbfeb455c79dbf9120c8536e5f9c/pkg/printers/internalversion/printers.go#L1487 - Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"` - Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` - ProviderID string `protobuf:"bytes,10,opt,name=providerID,proto3" json:"providerID,omitempty"` - Host *Host `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,12,opt,name=metrics,proto3" json:"metrics,omitempty"` +type CPUStat struct { + LastCpu string `protobuf:"bytes,1,opt,name=lastCpu,proto3" json:"lastCpu,omitempty"` + TotalPct float32 `protobuf:"fixed32,2,opt,name=totalPct,proto3" json:"totalPct,omitempty"` + UserPct float32 `protobuf:"fixed32,3,opt,name=userPct,proto3" json:"userPct,omitempty"` + SystemPct float32 `protobuf:"fixed32,4,opt,name=systemPct,proto3" json:"systemPct,omitempty"` + NumThreads int32 `protobuf:"varint,5,opt,name=numThreads,proto3" json:"numThreads,omitempty"` + Cpus []*SingleCPUStat `protobuf:"bytes,6,rep,name=cpus,proto3" json:"cpus,omitempty"` + Nice int32 `protobuf:"varint,7,opt,name=nice,proto3" json:"nice,omitempty"` + UserTime int64 `protobuf:"varint,8,opt,name=userTime,proto3" json:"userTime,omitempty"` + SystemTime int64 `protobuf:"varint,9,opt,name=systemTime,proto3" json:"systemTime,omitempty"` } -func (m *Node) Reset() { *m = Node{} } -func (m *Node) String() string { return proto.CompactTextString(m) } -func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{58} +func (m *CPUStat) Reset() { *m = CPUStat{} } +func (m *CPUStat) String() string { return proto.CompactTextString(m) } +func (*CPUStat) ProtoMessage() {} +func (*CPUStat) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{56} } -func (m *Node) XXX_Unmarshal(b []byte) error { +func (m *CPUStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Node.Marshal(b, m, deterministic) + return xxx_messageInfo_CPUStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5980,140 +5866,98 @@ func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Node) XXX_Merge(src proto.Message) { - xxx_messageInfo_Node.Merge(m, src) +func (m *CPUStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_CPUStat.Merge(m, src) } -func (m *Node) XXX_Size() int { +func (m *CPUStat) XXX_Size() int { return m.Size() } -func (m *Node) XXX_DiscardUnknown() { - xxx_messageInfo_Node.DiscardUnknown(m) +func (m *CPUStat) XXX_DiscardUnknown() { + xxx_messageInfo_CPUStat.DiscardUnknown(m) } -var xxx_messageInfo_Node proto.InternalMessageInfo - -func (m *Node) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} +var xxx_messageInfo_CPUStat proto.InternalMessageInfo -func (m *Node) GetPodCIDR() string { +func (m *CPUStat) GetLastCpu() string { if m != nil { - return m.PodCIDR + return m.LastCpu } return "" } -func (m *Node) GetPodCIDRs() []string { - if m != nil { - return m.PodCIDRs - } - return nil -} - -func (m *Node) GetUnschedulable() bool { - if m != nil { - return m.Unschedulable - } - return false -} - -func (m *Node) GetTaints() []*Taint { +func (m *CPUStat) GetTotalPct() float32 { if m != nil { - return m.Taints + return m.TotalPct } - return nil + return 0 } -func (m *Node) GetStatus() *NodeStatus { +func (m *CPUStat) GetUserPct() float32 { if m != nil { - return m.Status + return m.UserPct } - return nil + return 0 } -// Deprecated: Do not use. -func (m *Node) GetYaml() []byte { +func (m *CPUStat) GetSystemPct() float32 { if m != nil { - return m.Yaml + return m.SystemPct } - return nil + return 0 } -func (m *Node) GetRoles() []string { +func (m *CPUStat) GetNumThreads() int32 { if m != nil { - return m.Roles + return m.NumThreads } - return nil + return 0 } -func (m *Node) GetTags() []string { +func (m *CPUStat) GetCpus() []*SingleCPUStat { if m != nil { - return m.Tags + return m.Cpus } return nil } -func (m *Node) GetProviderID() string { +func (m *CPUStat) GetNice() int32 { if m != nil { - return m.ProviderID + return m.Nice } - return "" + return 0 } -func (m *Node) GetHost() *Host { +func (m *CPUStat) GetUserTime() int64 { if m != nil { - return m.Host + return m.UserTime } - return nil + return 0 } -func (m *Node) GetMetrics() *ResourceMetrics { +func (m *CPUStat) GetSystemTime() int64 { if m != nil { - return m.Metrics + return m.SystemTime } - return nil + return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2348 -type NodeStatus struct { - // Key/Value of a resource type and a corresponding quantity as an int64. - Capacity map[string]int64 `protobuf:"bytes,1,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // Key/Value of a resource type and a corresponding quantity as an int64. - Allocatable map[string]int64 `protobuf:"bytes,2,rep,name=allocatable,proto3" json:"allocatable,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2127 - // these are valid types https://github.com/kubernetes/api/blob/master/core/v1/types.go#L4739-L4753 - NodeAddresses map[string]string `protobuf:"bytes,3,rep,name=nodeAddresses,proto3" json:"nodeAddresses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // node status displayed by "kubectl get node" - // mostly based on NodeCondition - // and https://github.com/kubernetes/kubernetes/blob/1e12d92a5179dbfeb455c79dbf9120c8536e5f9c/pkg/printers/internalversion/printers.go#L1410 - Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - KubeletVersion string `protobuf:"bytes,5,opt,name=kubeletVersion,proto3" json:"kubeletVersion,omitempty"` - Conditions []*NodeCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` - Images []*ContainerImage `protobuf:"bytes,7,rep,name=images,proto3" json:"images,omitempty"` - // node system info reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2411 - KubeProxyVersion string `protobuf:"bytes,8,opt,name=kubeProxyVersion,proto3" json:"kubeProxyVersion,omitempty"` - OperatingSystem string `protobuf:"bytes,9,opt,name=operatingSystem,proto3" json:"operatingSystem,omitempty"` - Architecture string `protobuf:"bytes,10,opt,name=architecture,proto3" json:"architecture,omitempty"` - KernelVersion string `protobuf:"bytes,11,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` - OsImage string `protobuf:"bytes,12,opt,name=osImage,proto3" json:"osImage,omitempty"` - ContainerRuntimeVersion string `protobuf:"bytes,13,opt,name=containerRuntimeVersion,proto3" json:"containerRuntimeVersion,omitempty"` +type SingleCPUStat struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + TotalPct float32 `protobuf:"fixed32,2,opt,name=totalPct,proto3" json:"totalPct,omitempty"` } -func (m *NodeStatus) Reset() { *m = NodeStatus{} } -func (m *NodeStatus) String() string { return proto.CompactTextString(m) } -func (*NodeStatus) ProtoMessage() {} -func (*NodeStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{59} +func (m *SingleCPUStat) Reset() { *m = SingleCPUStat{} } +func (m *SingleCPUStat) String() string { return proto.CompactTextString(m) } +func (*SingleCPUStat) ProtoMessage() {} +func (*SingleCPUStat) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{57} } -func (m *NodeStatus) XXX_Unmarshal(b []byte) error { +func (m *SingleCPUStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SingleCPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NodeStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_SingleCPUStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6123,130 +5967,163 @@ func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *NodeStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeStatus.Merge(m, src) +func (m *SingleCPUStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_SingleCPUStat.Merge(m, src) } -func (m *NodeStatus) XXX_Size() int { +func (m *SingleCPUStat) XXX_Size() int { return m.Size() } -func (m *NodeStatus) XXX_DiscardUnknown() { - xxx_messageInfo_NodeStatus.DiscardUnknown(m) +func (m *SingleCPUStat) XXX_DiscardUnknown() { + xxx_messageInfo_SingleCPUStat.DiscardUnknown(m) } -var xxx_messageInfo_NodeStatus proto.InternalMessageInfo +var xxx_messageInfo_SingleCPUStat proto.InternalMessageInfo -func (m *NodeStatus) GetCapacity() map[string]int64 { +func (m *SingleCPUStat) GetName() string { if m != nil { - return m.Capacity + return m.Name } - return nil + return "" } -func (m *NodeStatus) GetAllocatable() map[string]int64 { +func (m *SingleCPUStat) GetTotalPct() float32 { if m != nil { - return m.Allocatable + return m.TotalPct } - return nil + return 0 } -func (m *NodeStatus) GetNodeAddresses() map[string]string { - if m != nil { - return m.NodeAddresses - } - return nil +type CPUInfo struct { + Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` + Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"` + Family string `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` + Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` + PhysicalId string `protobuf:"bytes,5,opt,name=physicalId,proto3" json:"physicalId,omitempty"` + CoreId string `protobuf:"bytes,6,opt,name=coreId,proto3" json:"coreId,omitempty"` + Cores int32 `protobuf:"varint,7,opt,name=cores,proto3" json:"cores,omitempty"` + Mhz int64 `protobuf:"varint,8,opt,name=mhz,proto3" json:"mhz,omitempty"` + CacheSize int32 `protobuf:"varint,9,opt,name=cacheSize,proto3" json:"cacheSize,omitempty"` } -func (m *NodeStatus) GetStatus() string { - if m != nil { - return m.Status +func (m *CPUInfo) Reset() { *m = CPUInfo{} } +func (m *CPUInfo) String() string { return proto.CompactTextString(m) } +func (*CPUInfo) ProtoMessage() {} +func (*CPUInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{58} +} +func (m *CPUInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CPUInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return "" +} +func (m *CPUInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CPUInfo.Merge(m, src) +} +func (m *CPUInfo) XXX_Size() int { + return m.Size() +} +func (m *CPUInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CPUInfo.DiscardUnknown(m) } -func (m *NodeStatus) GetKubeletVersion() string { +var xxx_messageInfo_CPUInfo proto.InternalMessageInfo + +func (m *CPUInfo) GetNumber() int32 { if m != nil { - return m.KubeletVersion + return m.Number } - return "" + return 0 } -func (m *NodeStatus) GetConditions() []*NodeCondition { +func (m *CPUInfo) GetVendor() string { if m != nil { - return m.Conditions + return m.Vendor } - return nil + return "" } -func (m *NodeStatus) GetImages() []*ContainerImage { +func (m *CPUInfo) GetFamily() string { if m != nil { - return m.Images + return m.Family } - return nil + return "" } -func (m *NodeStatus) GetKubeProxyVersion() string { +func (m *CPUInfo) GetModel() string { if m != nil { - return m.KubeProxyVersion + return m.Model } return "" } -func (m *NodeStatus) GetOperatingSystem() string { +func (m *CPUInfo) GetPhysicalId() string { if m != nil { - return m.OperatingSystem + return m.PhysicalId } return "" } -func (m *NodeStatus) GetArchitecture() string { +func (m *CPUInfo) GetCoreId() string { if m != nil { - return m.Architecture + return m.CoreId } return "" } -func (m *NodeStatus) GetKernelVersion() string { +func (m *CPUInfo) GetCores() int32 { if m != nil { - return m.KernelVersion + return m.Cores } - return "" + return 0 } -func (m *NodeStatus) GetOsImage() string { +func (m *CPUInfo) GetMhz() int64 { if m != nil { - return m.OsImage + return m.Mhz } - return "" + return 0 } -func (m *NodeStatus) GetContainerRuntimeVersion() string { +func (m *CPUInfo) GetCacheSize() int32 { if m != nil { - return m.ContainerRuntimeVersion + return m.CacheSize } - return "" + return 0 } -// reference: https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2158 -type NodeCondition struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` +type Host struct { + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + OrgId int32 `protobuf:"varint,2,opt,name=orgId,proto3" json:"orgId,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + AllTags []string `protobuf:"bytes,6,rep,name=allTags,proto3" json:"allTags,omitempty"` + NumCpus int32 `protobuf:"varint,7,opt,name=numCpus,proto3" json:"numCpus,omitempty"` + TotalMemory int64 `protobuf:"varint,8,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` + TagIndex int32 `protobuf:"varint,9,opt,name=tagIndex,proto3" json:"tagIndex,omitempty"` + TagsModified int64 `protobuf:"varint,10,opt,name=tagsModified,proto3" json:"tagsModified,omitempty"` } -func (m *NodeCondition) Reset() { *m = NodeCondition{} } -func (m *NodeCondition) String() string { return proto.CompactTextString(m) } -func (*NodeCondition) ProtoMessage() {} -func (*NodeCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{60} +func (m *Host) Reset() { *m = Host{} } +func (m *Host) String() string { return proto.CompactTextString(m) } +func (*Host) ProtoMessage() {} +func (*Host) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{59} } -func (m *NodeCondition) XXX_Unmarshal(b []byte) error { +func (m *Host) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NodeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NodeCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_Host.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6256,71 +6133,105 @@ func (m *NodeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *NodeCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeCondition.Merge(m, src) +func (m *Host) XXX_Merge(src proto.Message) { + xxx_messageInfo_Host.Merge(m, src) } -func (m *NodeCondition) XXX_Size() int { +func (m *Host) XXX_Size() int { return m.Size() } -func (m *NodeCondition) XXX_DiscardUnknown() { - xxx_messageInfo_NodeCondition.DiscardUnknown(m) +func (m *Host) XXX_DiscardUnknown() { + xxx_messageInfo_Host.DiscardUnknown(m) } -var xxx_messageInfo_NodeCondition proto.InternalMessageInfo +var xxx_messageInfo_Host proto.InternalMessageInfo -func (m *NodeCondition) GetType() string { +func (m *Host) GetId() int64 { if m != nil { - return m.Type + return m.Id } - return "" + return 0 } -func (m *NodeCondition) GetStatus() string { +func (m *Host) GetOrgId() int32 { if m != nil { - return m.Status + return m.OrgId } - return "" + return 0 } -func (m *NodeCondition) GetLastTransitionTime() int64 { +func (m *Host) GetName() string { if m != nil { - return m.LastTransitionTime + return m.Name } - return 0 + return "" } -func (m *NodeCondition) GetReason() string { +func (m *Host) GetAllTags() []string { if m != nil { - return m.Reason + return m.AllTags } - return "" + return nil } -func (m *NodeCondition) GetMessage() string { +func (m *Host) GetNumCpus() int32 { if m != nil { - return m.Message + return m.NumCpus } - return "" + return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L777 -type ContainerImage struct { - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` - SizeBytes int64 `protobuf:"varint,2,opt,name=sizeBytes,proto3" json:"sizeBytes,omitempty"` +func (m *Host) GetTotalMemory() int64 { + if m != nil { + return m.TotalMemory + } + return 0 } -func (m *ContainerImage) Reset() { *m = ContainerImage{} } -func (m *ContainerImage) String() string { return proto.CompactTextString(m) } -func (*ContainerImage) ProtoMessage() {} -func (*ContainerImage) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{61} +func (m *Host) GetTagIndex() int32 { + if m != nil { + return m.TagIndex + } + return 0 } -func (m *ContainerImage) XXX_Unmarshal(b []byte) error { + +func (m *Host) GetTagsModified() int64 { + if m != nil { + return m.TagsModified + } + return 0 +} + +type Cluster struct { + NodeCount int32 `protobuf:"varint,1,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` + KubeletVersions map[string]int32 `protobuf:"bytes,2,rep,name=kubeletVersions,proto3" json:"kubeletVersions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ApiServerVersions map[string]int32 `protobuf:"bytes,3,rep,name=apiServerVersions,proto3" json:"apiServerVersions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // sum of all nodes capacities and allocatables. + // Using smallest possible quantity levels. + // For memory it is bytes, for CPU it is millicore. + PodCapacity uint32 `protobuf:"varint,4,opt,name=podCapacity,proto3" json:"podCapacity,omitempty"` + PodAllocatable uint32 `protobuf:"varint,5,opt,name=podAllocatable,proto3" json:"podAllocatable,omitempty"` + MemoryAllocatable uint64 `protobuf:"varint,6,opt,name=memoryAllocatable,proto3" json:"memoryAllocatable,omitempty"` + MemoryCapacity uint64 `protobuf:"varint,7,opt,name=memoryCapacity,proto3" json:"memoryCapacity,omitempty"` + CpuAllocatable uint64 `protobuf:"varint,8,opt,name=cpuAllocatable,proto3" json:"cpuAllocatable,omitempty"` + CpuCapacity uint64 `protobuf:"varint,9,opt,name=cpuCapacity,proto3" json:"cpuCapacity,omitempty"` + ResourceVersion string `protobuf:"bytes,10,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` + CreationTimestamp int64 `protobuf:"varint,11,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"` + Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,13,opt,name=metrics,proto3" json:"metrics,omitempty"` +} + +func (m *Cluster) Reset() { *m = Cluster{} } +func (m *Cluster) String() string { return proto.CompactTextString(m) } +func (*Cluster) ProtoMessage() {} +func (*Cluster) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{60} +} +func (m *Cluster) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerImage.Marshal(b, m, deterministic) + return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6330,131 +6241,135 @@ func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *ContainerImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerImage.Merge(m, src) +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) } -func (m *ContainerImage) XXX_Size() int { +func (m *Cluster) XXX_Size() int { return m.Size() } -func (m *ContainerImage) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerImage.DiscardUnknown(m) +func (m *Cluster) XXX_DiscardUnknown() { + xxx_messageInfo_Cluster.DiscardUnknown(m) } -var xxx_messageInfo_ContainerImage proto.InternalMessageInfo +var xxx_messageInfo_Cluster proto.InternalMessageInfo -func (m *ContainerImage) GetNames() []string { +func (m *Cluster) GetNodeCount() int32 { if m != nil { - return m.Names + return m.NodeCount } - return nil + return 0 } -func (m *ContainerImage) GetSizeBytes() int64 { +func (m *Cluster) GetKubeletVersions() map[string]int32 { if m != nil { - return m.SizeBytes + return m.KubeletVersions } - return 0 + return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4849 -type Taint struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - Effect string `protobuf:"bytes,3,opt,name=effect,proto3" json:"effect,omitempty"` - TimeAdded int64 `protobuf:"varint,4,opt,name=timeAdded,proto3" json:"timeAdded,omitempty"` +func (m *Cluster) GetApiServerVersions() map[string]int32 { + if m != nil { + return m.ApiServerVersions + } + return nil } -func (m *Taint) Reset() { *m = Taint{} } -func (m *Taint) String() string { return proto.CompactTextString(m) } -func (*Taint) ProtoMessage() {} -func (*Taint) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{62} -} -func (m *Taint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) +func (m *Cluster) GetPodCapacity() uint32 { + if m != nil { + return m.PodCapacity + } + return 0 } -func (m *Taint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Taint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + +func (m *Cluster) GetPodAllocatable() uint32 { + if m != nil { + return m.PodAllocatable } + return 0 } -func (m *Taint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Taint.Merge(m, src) + +func (m *Cluster) GetMemoryAllocatable() uint64 { + if m != nil { + return m.MemoryAllocatable + } + return 0 } -func (m *Taint) XXX_Size() int { - return m.Size() + +func (m *Cluster) GetMemoryCapacity() uint64 { + if m != nil { + return m.MemoryCapacity + } + return 0 } -func (m *Taint) XXX_DiscardUnknown() { - xxx_messageInfo_Taint.DiscardUnknown(m) + +func (m *Cluster) GetCpuAllocatable() uint64 { + if m != nil { + return m.CpuAllocatable + } + return 0 } -var xxx_messageInfo_Taint proto.InternalMessageInfo +func (m *Cluster) GetCpuCapacity() uint64 { + if m != nil { + return m.CpuCapacity + } + return 0 +} -func (m *Taint) GetKey() string { +func (m *Cluster) GetResourceVersion() string { if m != nil { - return m.Key + return m.ResourceVersion } return "" } -func (m *Taint) GetValue() string { +func (m *Cluster) GetCreationTimestamp() int64 { if m != nil { - return m.Value + return m.CreationTimestamp } - return "" + return 0 } -func (m *Taint) GetEffect() string { +func (m *Cluster) GetTags() []string { if m != nil { - return m.Effect + return m.Tags } - return "" + return nil } -func (m *Taint) GetTimeAdded() int64 { +func (m *Cluster) GetMetrics() *ResourceMetrics { if m != nil { - return m.TimeAdded + return m.Metrics } - return 0 + return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4620 -type ServiceSpec struct { - Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` - Selectors []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"` - ClusterIP string `protobuf:"bytes,3,opt,name=clusterIP,proto3" json:"clusterIP,omitempty"` - Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` - ExternalIPs []string `protobuf:"bytes,5,rep,name=externalIPs,proto3" json:"externalIPs,omitempty"` - SessionAffinity string `protobuf:"bytes,6,opt,name=sessionAffinity,proto3" json:"sessionAffinity,omitempty"` - LoadBalancerIP string `protobuf:"bytes,7,opt,name=loadBalancerIP,proto3" json:"loadBalancerIP,omitempty"` - LoadBalancerSourceRanges []string `protobuf:"bytes,8,rep,name=loadBalancerSourceRanges,proto3" json:"loadBalancerSourceRanges,omitempty"` - ExternalName string `protobuf:"bytes,9,opt,name=externalName,proto3" json:"externalName,omitempty"` - ExternalTrafficPolicy string `protobuf:"bytes,10,opt,name=externalTrafficPolicy,proto3" json:"externalTrafficPolicy,omitempty"` - HealthCheckNodePort int32 `protobuf:"varint,11,opt,name=healthCheckNodePort,proto3" json:"healthCheckNodePort,omitempty"` - PublishNotReadyAddresses bool `protobuf:"varint,12,opt,name=publishNotReadyAddresses,proto3" json:"publishNotReadyAddresses,omitempty"` - SessionAffinityConfig *ServiceSessionAffinityConfig `protobuf:"bytes,13,opt,name=sessionAffinityConfig,proto3" json:"sessionAffinityConfig,omitempty"` - IpFamily string `protobuf:"bytes,14,opt,name=ipFamily,proto3" json:"ipFamily,omitempty"` +// reference https://github.com/kubernetes/apimachinery/blob/2373d029717c4d169463414a6127cd1d0d12680e/pkg/apis/meta/v1/generated.proto#L521 +type Metadata struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` + CreationTimestamp int64 `protobuf:"varint,4,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"` + DeletionTimestamp int64 `protobuf:"varint,5,opt,name=deletionTimestamp,proto3" json:"deletionTimestamp,omitempty"` + Labels []string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` + Annotations []string `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty"` + OwnerReferences []*OwnerReference `protobuf:"bytes,8,rep,name=ownerReferences,proto3" json:"ownerReferences,omitempty"` + ResourceVersion string `protobuf:"bytes,9,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` + Finalizers []string `protobuf:"bytes,10,rep,name=finalizers,proto3" json:"finalizers,omitempty"` } -func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } -func (m *ServiceSpec) String() string { return proto.CompactTextString(m) } -func (*ServiceSpec) ProtoMessage() {} -func (*ServiceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{63} +func (m *Metadata) Reset() { *m = Metadata{} } +func (m *Metadata) String() string { return proto.CompactTextString(m) } +func (*Metadata) ProtoMessage() {} +func (*Metadata) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{61} } -func (m *ServiceSpec) XXX_Unmarshal(b []byte) error { +func (m *Metadata) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ServiceSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6464,133 +6379,106 @@ func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ServiceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceSpec.Merge(m, src) +func (m *Metadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_Metadata.Merge(m, src) } -func (m *ServiceSpec) XXX_Size() int { +func (m *Metadata) XXX_Size() int { return m.Size() } -func (m *ServiceSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceSpec.DiscardUnknown(m) +func (m *Metadata) XXX_DiscardUnknown() { + xxx_messageInfo_Metadata.DiscardUnknown(m) } -var xxx_messageInfo_ServiceSpec proto.InternalMessageInfo - -func (m *ServiceSpec) GetPorts() []*ServicePort { - if m != nil { - return m.Ports - } - return nil -} +var xxx_messageInfo_Metadata proto.InternalMessageInfo -func (m *ServiceSpec) GetSelectors() []*LabelSelectorRequirement { +func (m *Metadata) GetName() string { if m != nil { - return m.Selectors + return m.Name } - return nil + return "" } -func (m *ServiceSpec) GetClusterIP() string { +func (m *Metadata) GetNamespace() string { if m != nil { - return m.ClusterIP + return m.Namespace } return "" } -func (m *ServiceSpec) GetType() string { +func (m *Metadata) GetUid() string { if m != nil { - return m.Type + return m.Uid } return "" } -func (m *ServiceSpec) GetExternalIPs() []string { +func (m *Metadata) GetCreationTimestamp() int64 { if m != nil { - return m.ExternalIPs + return m.CreationTimestamp } - return nil + return 0 } -func (m *ServiceSpec) GetSessionAffinity() string { +func (m *Metadata) GetDeletionTimestamp() int64 { if m != nil { - return m.SessionAffinity + return m.DeletionTimestamp } - return "" + return 0 } -func (m *ServiceSpec) GetLoadBalancerIP() string { +func (m *Metadata) GetLabels() []string { if m != nil { - return m.LoadBalancerIP + return m.Labels } - return "" + return nil } -func (m *ServiceSpec) GetLoadBalancerSourceRanges() []string { +func (m *Metadata) GetAnnotations() []string { if m != nil { - return m.LoadBalancerSourceRanges + return m.Annotations } return nil } -func (m *ServiceSpec) GetExternalName() string { +func (m *Metadata) GetOwnerReferences() []*OwnerReference { if m != nil { - return m.ExternalName + return m.OwnerReferences } - return "" + return nil } -func (m *ServiceSpec) GetExternalTrafficPolicy() string { +func (m *Metadata) GetResourceVersion() string { if m != nil { - return m.ExternalTrafficPolicy + return m.ResourceVersion } return "" } -func (m *ServiceSpec) GetHealthCheckNodePort() int32 { - if m != nil { - return m.HealthCheckNodePort - } - return 0 -} - -func (m *ServiceSpec) GetPublishNotReadyAddresses() bool { - if m != nil { - return m.PublishNotReadyAddresses - } - return false -} - -func (m *ServiceSpec) GetSessionAffinityConfig() *ServiceSessionAffinityConfig { +func (m *Metadata) GetFinalizers() []string { if m != nil { - return m.SessionAffinityConfig + return m.Finalizers } return nil } -func (m *ServiceSpec) GetIpFamily() string { - if m != nil { - return m.IpFamily - } - return "" -} - -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4748 -type ServiceStatus struct { - LoadBalancerIngress []string `protobuf:"bytes,17,rep,name=loadBalancerIngress,proto3" json:"loadBalancerIngress,omitempty"` +type OwnerReference struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` } -func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } -func (m *ServiceStatus) String() string { return proto.CompactTextString(m) } -func (*ServiceStatus) ProtoMessage() {} -func (*ServiceStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{64} +func (m *OwnerReference) Reset() { *m = OwnerReference{} } +func (m *OwnerReference) String() string { return proto.CompactTextString(m) } +func (*OwnerReference) ProtoMessage() {} +func (*OwnerReference) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{62} } -func (m *ServiceStatus) XXX_Unmarshal(b []byte) error { +func (m *OwnerReference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ServiceStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_OwnerReference.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6600,47 +6488,62 @@ func (m *ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *ServiceStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStatus.Merge(m, src) +func (m *OwnerReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_OwnerReference.Merge(m, src) } -func (m *ServiceStatus) XXX_Size() int { +func (m *OwnerReference) XXX_Size() int { return m.Size() } -func (m *ServiceStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStatus.DiscardUnknown(m) +func (m *OwnerReference) XXX_DiscardUnknown() { + xxx_messageInfo_OwnerReference.DiscardUnknown(m) } -var xxx_messageInfo_ServiceStatus proto.InternalMessageInfo +var xxx_messageInfo_OwnerReference proto.InternalMessageInfo -func (m *ServiceStatus) GetLoadBalancerIngress() []string { +func (m *OwnerReference) GetName() string { if m != nil { - return m.LoadBalancerIngress + return m.Name } - return nil + return "" } -// reference https://github.com/kubernetes/kubernetes/blob/release-1.19/staging/src/k8s.io/api/core/v1/generated.proto -type Service struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *ServiceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` +func (m *OwnerReference) GetUid() string { + if m != nil { + return m.Uid + } + return "" } -func (m *Service) Reset() { *m = Service{} } -func (m *Service) String() string { return proto.CompactTextString(m) } -func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{65} +func (m *OwnerReference) GetKind() string { + if m != nil { + return m.Kind + } + return "" } -func (m *Service) XXX_Unmarshal(b []byte) error { + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/pkg/apis/core/types.go#L4317 +type ObjectReference struct { + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` + ApiVersion string `protobuf:"bytes,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` + ResourceVersion string `protobuf:"bytes,6,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` + FieldPath string `protobuf:"bytes,7,opt,name=fieldPath,proto3" json:"fieldPath,omitempty"` +} + +func (m *ObjectReference) Reset() { *m = ObjectReference{} } +func (m *ObjectReference) String() string { return proto.CompactTextString(m) } +func (*ObjectReference) ProtoMessage() {} +func (*ObjectReference) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{63} +} +func (m *ObjectReference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Service.Marshal(b, m, deterministic) + return xxx_messageInfo_ObjectReference.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6650,83 +6553,88 @@ func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(m, src) +func (m *ObjectReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectReference.Merge(m, src) } -func (m *Service) XXX_Size() int { +func (m *ObjectReference) XXX_Size() int { return m.Size() } -func (m *Service) XXX_DiscardUnknown() { - xxx_messageInfo_Service.DiscardUnknown(m) +func (m *ObjectReference) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectReference.DiscardUnknown(m) } -var xxx_messageInfo_Service proto.InternalMessageInfo +var xxx_messageInfo_ObjectReference proto.InternalMessageInfo -func (m *Service) GetMetadata() *Metadata { +func (m *ObjectReference) GetKind() string { if m != nil { - return m.Metadata + return m.Kind } - return nil + return "" } -func (m *Service) GetSpec() *ServiceSpec { +func (m *ObjectReference) GetNamespace() string { if m != nil { - return m.Spec + return m.Namespace } - return nil + return "" } -func (m *Service) GetStatus() *ServiceStatus { +func (m *ObjectReference) GetName() string { if m != nil { - return m.Status + return m.Name } - return nil + return "" } -// Deprecated: Do not use. -func (m *Service) GetYaml() []byte { +func (m *ObjectReference) GetUid() string { if m != nil { - return m.Yaml + return m.Uid } - return nil + return "" } -func (m *Service) GetTags() []string { +func (m *ObjectReference) GetApiVersion() string { if m != nil { - return m.Tags + return m.ApiVersion } - return nil + return "" } -func (m *Service) GetMetrics() *ResourceMetrics { +func (m *ObjectReference) GetResourceVersion() string { if m != nil { - return m.Metrics + return m.ResourceVersion } - return nil + return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L236 -type DeploymentCondition struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastUpdateTime int64 `protobuf:"varint,6,opt,name=lastUpdateTime,proto3" json:"lastUpdateTime,omitempty"` - LastTransitionTime int64 `protobuf:"varint,7,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` +func (m *ObjectReference) GetFieldPath() string { + if m != nil { + return m.FieldPath + } + return "" } -func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } -func (m *DeploymentCondition) String() string { return proto.CompactTextString(m) } -func (*DeploymentCondition) ProtoMessage() {} -func (*DeploymentCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{66} +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4571 +type ServicePort struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` + Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` + TargetPort string `protobuf:"bytes,4,opt,name=targetPort,proto3" json:"targetPort,omitempty"` + NodePort int32 `protobuf:"varint,5,opt,name=nodePort,proto3" json:"nodePort,omitempty"` } -func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error { + +func (m *ServicePort) Reset() { *m = ServicePort{} } +func (m *ServicePort) String() string { return proto.CompactTextString(m) } +func (*ServicePort) ProtoMessage() {} +func (*ServicePort) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{64} +} +func (m *ServicePort) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeploymentCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_ServicePort.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6736,96 +6644,128 @@ func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *DeploymentCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeploymentCondition.Merge(m, src) +func (m *ServicePort) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServicePort.Merge(m, src) } -func (m *DeploymentCondition) XXX_Size() int { +func (m *ServicePort) XXX_Size() int { return m.Size() } -func (m *DeploymentCondition) XXX_DiscardUnknown() { - xxx_messageInfo_DeploymentCondition.DiscardUnknown(m) +func (m *ServicePort) XXX_DiscardUnknown() { + xxx_messageInfo_ServicePort.DiscardUnknown(m) } -var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo +var xxx_messageInfo_ServicePort proto.InternalMessageInfo -func (m *DeploymentCondition) GetType() string { +func (m *ServicePort) GetName() string { if m != nil { - return m.Type + return m.Name } return "" } -func (m *DeploymentCondition) GetStatus() string { +func (m *ServicePort) GetProtocol() string { if m != nil { - return m.Status + return m.Protocol } return "" } -func (m *DeploymentCondition) GetLastUpdateTime() int64 { +func (m *ServicePort) GetPort() int32 { if m != nil { - return m.LastUpdateTime + return m.Port } return 0 } -func (m *DeploymentCondition) GetLastTransitionTime() int64 { +func (m *ServicePort) GetTargetPort() string { if m != nil { - return m.LastTransitionTime + return m.TargetPort } - return 0 + return "" } -func (m *DeploymentCondition) GetReason() string { +func (m *ServicePort) GetNodePort() int32 { if m != nil { - return m.Reason + return m.NodePort } - return "" + return 0 } -func (m *DeploymentCondition) GetMessage() string { +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4756 +type ServiceSessionAffinityConfig struct { + ClientIPTimeoutSeconds int32 `protobuf:"varint,1,opt,name=clientIPTimeoutSeconds,proto3" json:"clientIPTimeoutSeconds,omitempty"` +} + +func (m *ServiceSessionAffinityConfig) Reset() { *m = ServiceSessionAffinityConfig{} } +func (m *ServiceSessionAffinityConfig) String() string { return proto.CompactTextString(m) } +func (*ServiceSessionAffinityConfig) ProtoMessage() {} +func (*ServiceSessionAffinityConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{65} +} +func (m *ServiceSessionAffinityConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ServiceSessionAffinityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ServiceSessionAffinityConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ServiceSessionAffinityConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceSessionAffinityConfig.Merge(m, src) +} +func (m *ServiceSessionAffinityConfig) XXX_Size() int { + return m.Size() +} +func (m *ServiceSessionAffinityConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceSessionAffinityConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ServiceSessionAffinityConfig proto.InternalMessageInfo + +func (m *ServiceSessionAffinityConfig) GetClientIPTimeoutSeconds() int32 { if m != nil { - return m.Message + return m.ClientIPTimeoutSeconds } - return "" + return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L221 -type Deployment struct { +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2107 +type Node struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // spec - ReplicasDesired int32 `protobuf:"varint,2,opt,name=replicasDesired,proto3" json:"replicasDesired,omitempty"` - DeploymentStrategy string `protobuf:"bytes,3,opt,name=deploymentStrategy,proto3" json:"deploymentStrategy,omitempty"` - MaxUnavailable string `protobuf:"bytes,4,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` - MaxSurge string `protobuf:"bytes,5,opt,name=maxSurge,proto3" json:"maxSurge,omitempty"` - Paused bool `protobuf:"varint,6,opt,name=paused,proto3" json:"paused,omitempty"` - Selectors []*LabelSelectorRequirement `protobuf:"bytes,7,rep,name=selectors,proto3" json:"selectors,omitempty"` - // status - Replicas int32 `protobuf:"varint,8,opt,name=replicas,proto3" json:"replicas,omitempty"` - UpdatedReplicas int32 `protobuf:"varint,9,opt,name=updatedReplicas,proto3" json:"updatedReplicas,omitempty"` - ReadyReplicas int32 `protobuf:"varint,10,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` - AvailableReplicas int32 `protobuf:"varint,11,opt,name=availableReplicas,proto3" json:"availableReplicas,omitempty"` - UnavailableReplicas int32 `protobuf:"varint,12,opt,name=unavailableReplicas,proto3" json:"unavailableReplicas,omitempty"` - ConditionMessage string `protobuf:"bytes,13,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,16,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` - Yaml []byte `protobuf:"bytes,14,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` - Conditions []*DeploymentCondition `protobuf:"bytes,18,rep,name=conditions,proto3" json:"conditions,omitempty"` + // spec reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2312 + PodCIDR string `protobuf:"bytes,2,opt,name=podCIDR,proto3" json:"podCIDR,omitempty"` + PodCIDRs []string `protobuf:"bytes,3,rep,name=podCIDRs,proto3" json:"podCIDRs,omitempty"` + Unschedulable bool `protobuf:"varint,4,opt,name=unschedulable,proto3" json:"unschedulable,omitempty"` + Taints []*Taint `protobuf:"bytes,5,rep,name=taints,proto3" json:"taints,omitempty"` + Status *NodeStatus `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,7,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + // we parse it from the labels. Similar to upstream https://github.com/kubernetes/kubernetes/blob/1e12d92a5179dbfeb455c79dbf9120c8536e5f9c/pkg/printers/internalversion/printers.go#L1487 + Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"` + Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` + ProviderID string `protobuf:"bytes,10,opt,name=providerID,proto3" json:"providerID,omitempty"` + Host *Host `protobuf:"bytes,11,opt,name=host,proto3" json:"host,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,12,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *Deployment) Reset() { *m = Deployment{} } -func (m *Deployment) String() string { return proto.CompactTextString(m) } -func (*Deployment) ProtoMessage() {} -func (*Deployment) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{67} +func (m *Node) Reset() { *m = Node{} } +func (m *Node) String() string { return proto.CompactTextString(m) } +func (*Node) ProtoMessage() {} +func (*Node) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{66} } -func (m *Deployment) XXX_Unmarshal(b []byte) error { +func (m *Node) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Deployment.Marshal(b, m, deterministic) + return xxx_messageInfo_Node.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6835,147 +6775,254 @@ func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Deployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployment.Merge(m, src) +func (m *Node) XXX_Merge(src proto.Message) { + xxx_messageInfo_Node.Merge(m, src) } -func (m *Deployment) XXX_Size() int { +func (m *Node) XXX_Size() int { return m.Size() } -func (m *Deployment) XXX_DiscardUnknown() { - xxx_messageInfo_Deployment.DiscardUnknown(m) +func (m *Node) XXX_DiscardUnknown() { + xxx_messageInfo_Node.DiscardUnknown(m) } -var xxx_messageInfo_Deployment proto.InternalMessageInfo +var xxx_messageInfo_Node proto.InternalMessageInfo -func (m *Deployment) GetMetadata() *Metadata { +func (m *Node) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *Deployment) GetReplicasDesired() int32 { +func (m *Node) GetPodCIDR() string { if m != nil { - return m.ReplicasDesired + return m.PodCIDR } - return 0 + return "" } -func (m *Deployment) GetDeploymentStrategy() string { +func (m *Node) GetPodCIDRs() []string { if m != nil { - return m.DeploymentStrategy + return m.PodCIDRs } - return "" + return nil } -func (m *Deployment) GetMaxUnavailable() string { +func (m *Node) GetUnschedulable() bool { if m != nil { - return m.MaxUnavailable + return m.Unschedulable } - return "" + return false } -func (m *Deployment) GetMaxSurge() string { +func (m *Node) GetTaints() []*Taint { if m != nil { - return m.MaxSurge + return m.Taints } - return "" + return nil } -func (m *Deployment) GetPaused() bool { +func (m *Node) GetStatus() *NodeStatus { if m != nil { - return m.Paused + return m.Status } - return false + return nil } -func (m *Deployment) GetSelectors() []*LabelSelectorRequirement { +// Deprecated: Do not use. +func (m *Node) GetYaml() []byte { if m != nil { - return m.Selectors + return m.Yaml } return nil } -func (m *Deployment) GetReplicas() int32 { +func (m *Node) GetRoles() []string { if m != nil { - return m.Replicas + return m.Roles } - return 0 + return nil } -func (m *Deployment) GetUpdatedReplicas() int32 { +func (m *Node) GetTags() []string { if m != nil { - return m.UpdatedReplicas + return m.Tags } - return 0 + return nil } -func (m *Deployment) GetReadyReplicas() int32 { +func (m *Node) GetProviderID() string { if m != nil { - return m.ReadyReplicas + return m.ProviderID } - return 0 + return "" } -func (m *Deployment) GetAvailableReplicas() int32 { +func (m *Node) GetHost() *Host { if m != nil { - return m.AvailableReplicas + return m.Host } - return 0 + return nil } -func (m *Deployment) GetUnavailableReplicas() int32 { +func (m *Node) GetMetrics() *ResourceMetrics { if m != nil { - return m.UnavailableReplicas + return m.Metrics } - return 0 + return nil } -func (m *Deployment) GetConditionMessage() string { - if m != nil { - return m.ConditionMessage +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2348 +type NodeStatus struct { + // Key/Value of a resource type and a corresponding quantity as an int64. + Capacity map[string]int64 `protobuf:"bytes,1,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // Key/Value of a resource type and a corresponding quantity as an int64. + Allocatable map[string]int64 `protobuf:"bytes,2,rep,name=allocatable,proto3" json:"allocatable,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2127 + // these are valid types https://github.com/kubernetes/api/blob/master/core/v1/types.go#L4739-L4753 + NodeAddresses map[string]string `protobuf:"bytes,3,rep,name=nodeAddresses,proto3" json:"nodeAddresses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // node status displayed by "kubectl get node" + // mostly based on NodeCondition + // and https://github.com/kubernetes/kubernetes/blob/1e12d92a5179dbfeb455c79dbf9120c8536e5f9c/pkg/printers/internalversion/printers.go#L1410 + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` + KubeletVersion string `protobuf:"bytes,5,opt,name=kubeletVersion,proto3" json:"kubeletVersion,omitempty"` + Conditions []*NodeCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` + Images []*ContainerImage `protobuf:"bytes,7,rep,name=images,proto3" json:"images,omitempty"` + // node system info reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2411 + KubeProxyVersion string `protobuf:"bytes,8,opt,name=kubeProxyVersion,proto3" json:"kubeProxyVersion,omitempty"` + OperatingSystem string `protobuf:"bytes,9,opt,name=operatingSystem,proto3" json:"operatingSystem,omitempty"` + Architecture string `protobuf:"bytes,10,opt,name=architecture,proto3" json:"architecture,omitempty"` + KernelVersion string `protobuf:"bytes,11,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` + OsImage string `protobuf:"bytes,12,opt,name=osImage,proto3" json:"osImage,omitempty"` + ContainerRuntimeVersion string `protobuf:"bytes,13,opt,name=containerRuntimeVersion,proto3" json:"containerRuntimeVersion,omitempty"` +} + +func (m *NodeStatus) Reset() { *m = NodeStatus{} } +func (m *NodeStatus) String() string { return proto.CompactTextString(m) } +func (*NodeStatus) ProtoMessage() {} +func (*NodeStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{67} +} +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.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return "" +} +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) } -func (m *Deployment) GetResourceRequirements() []*ResourceRequirements { +var xxx_messageInfo_NodeStatus proto.InternalMessageInfo + +func (m *NodeStatus) GetCapacity() map[string]int64 { if m != nil { - return m.ResourceRequirements + return m.Capacity } return nil } -// Deprecated: Do not use. -func (m *Deployment) GetYaml() []byte { +func (m *NodeStatus) GetAllocatable() map[string]int64 { if m != nil { - return m.Yaml + return m.Allocatable } return nil } -func (m *Deployment) GetTags() []string { +func (m *NodeStatus) GetNodeAddresses() map[string]string { if m != nil { - return m.Tags + return m.NodeAddresses } return nil } -func (m *Deployment) GetMetrics() *ResourceMetrics { +func (m *NodeStatus) GetStatus() string { if m != nil { - return m.Metrics + return m.Status } - return nil + return "" } -func (m *Deployment) GetConditions() []*DeploymentCondition { +func (m *NodeStatus) GetKubeletVersion() string { + if m != nil { + return m.KubeletVersion + } + return "" +} + +func (m *NodeStatus) GetConditions() []*NodeCondition { if m != nil { return m.Conditions } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L388 -type ReplicaSetCondition struct { +func (m *NodeStatus) GetImages() []*ContainerImage { + if m != nil { + return m.Images + } + return nil +} + +func (m *NodeStatus) GetKubeProxyVersion() string { + if m != nil { + return m.KubeProxyVersion + } + return "" +} + +func (m *NodeStatus) GetOperatingSystem() string { + if m != nil { + return m.OperatingSystem + } + return "" +} + +func (m *NodeStatus) GetArchitecture() string { + if m != nil { + return m.Architecture + } + return "" +} + +func (m *NodeStatus) GetKernelVersion() string { + if m != nil { + return m.KernelVersion + } + return "" +} + +func (m *NodeStatus) GetOsImage() string { + if m != nil { + return m.OsImage + } + return "" +} + +func (m *NodeStatus) GetContainerRuntimeVersion() string { + if m != nil { + return m.ContainerRuntimeVersion + } + return "" +} + +// reference: https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2158 +type NodeCondition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -6983,18 +7030,18 @@ type ReplicaSetCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } -func (m *ReplicaSetCondition) String() string { return proto.CompactTextString(m) } -func (*ReplicaSetCondition) ProtoMessage() {} -func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { +func (m *NodeCondition) Reset() { *m = NodeCondition{} } +func (m *NodeCondition) String() string { return proto.CompactTextString(m) } +func (*NodeCondition) ProtoMessage() {} +func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{68} } -func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error { +func (m *NodeCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *NodeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ReplicaSetCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_NodeCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7004,83 +7051,71 @@ func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *ReplicaSetCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicaSetCondition.Merge(m, src) +func (m *NodeCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeCondition.Merge(m, src) } -func (m *ReplicaSetCondition) XXX_Size() int { +func (m *NodeCondition) XXX_Size() int { return m.Size() } -func (m *ReplicaSetCondition) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicaSetCondition.DiscardUnknown(m) +func (m *NodeCondition) XXX_DiscardUnknown() { + xxx_messageInfo_NodeCondition.DiscardUnknown(m) } -var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo +var xxx_messageInfo_NodeCondition proto.InternalMessageInfo -func (m *ReplicaSetCondition) GetType() string { +func (m *NodeCondition) GetType() string { if m != nil { return m.Type } return "" } -func (m *ReplicaSetCondition) GetStatus() string { +func (m *NodeCondition) GetStatus() string { if m != nil { return m.Status } return "" } -func (m *ReplicaSetCondition) GetLastTransitionTime() int64 { +func (m *NodeCondition) GetLastTransitionTime() int64 { if m != nil { return m.LastTransitionTime } return 0 } -func (m *ReplicaSetCondition) GetReason() string { +func (m *NodeCondition) GetReason() string { if m != nil { return m.Reason } return "" } -func (m *ReplicaSetCondition) GetMessage() string { +func (m *NodeCondition) GetMessage() string { if m != nil { return m.Message } return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L366 -type ReplicaSet struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // spec - ReplicasDesired int32 `protobuf:"varint,2,opt,name=replicasDesired,proto3" json:"replicasDesired,omitempty"` - Selectors []*LabelSelectorRequirement `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty"` - // status - Replicas int32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"` - FullyLabeledReplicas int32 `protobuf:"varint,5,opt,name=fullyLabeledReplicas,proto3" json:"fullyLabeledReplicas,omitempty"` - ReadyReplicas int32 `protobuf:"varint,6,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` - AvailableReplicas int32 `protobuf:"varint,7,opt,name=availableReplicas,proto3" json:"availableReplicas,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,10,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` - Yaml []byte `protobuf:"bytes,8,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,11,opt,name=metrics,proto3" json:"metrics,omitempty"` - Conditions []*ReplicaSetCondition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L777 +type ContainerImage struct { + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + SizeBytes int64 `protobuf:"varint,2,opt,name=sizeBytes,proto3" json:"sizeBytes,omitempty"` } -func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } -func (m *ReplicaSet) String() string { return proto.CompactTextString(m) } -func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { +func (m *ContainerImage) Reset() { *m = ContainerImage{} } +func (m *ContainerImage) String() string { return proto.CompactTextString(m) } +func (*ContainerImage) ProtoMessage() {} +func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{69} } -func (m *ReplicaSet) XXX_Unmarshal(b []byte) error { +func (m *ContainerImage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ReplicaSet.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerImage.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7090,122 +7125,131 @@ func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *ReplicaSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicaSet.Merge(m, src) +func (m *ContainerImage) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerImage.Merge(m, src) } -func (m *ReplicaSet) XXX_Size() int { +func (m *ContainerImage) XXX_Size() int { return m.Size() } -func (m *ReplicaSet) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicaSet.DiscardUnknown(m) +func (m *ContainerImage) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerImage.DiscardUnknown(m) } -var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo +var xxx_messageInfo_ContainerImage proto.InternalMessageInfo -func (m *ReplicaSet) GetMetadata() *Metadata { +func (m *ContainerImage) GetNames() []string { if m != nil { - return m.Metadata + return m.Names } return nil } -func (m *ReplicaSet) GetReplicasDesired() int32 { +func (m *ContainerImage) GetSizeBytes() int64 { if m != nil { - return m.ReplicasDesired + return m.SizeBytes } return 0 } -func (m *ReplicaSet) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors - } - return nil +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4849 +type Taint struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Effect string `protobuf:"bytes,3,opt,name=effect,proto3" json:"effect,omitempty"` + TimeAdded int64 `protobuf:"varint,4,opt,name=timeAdded,proto3" json:"timeAdded,omitempty"` } -func (m *ReplicaSet) GetReplicas() int32 { - if m != nil { - return m.Replicas - } - return 0 +func (m *Taint) Reset() { *m = Taint{} } +func (m *Taint) String() string { return proto.CompactTextString(m) } +func (*Taint) ProtoMessage() {} +func (*Taint) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{70} } - -func (m *ReplicaSet) GetFullyLabeledReplicas() int32 { - if m != nil { - return m.FullyLabeledReplicas - } - return 0 +func (m *Taint) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *ReplicaSet) GetReadyReplicas() int32 { - if m != nil { - return m.ReadyReplicas +func (m *Taint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Taint.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 0 } - -func (m *ReplicaSet) GetAvailableReplicas() int32 { - if m != nil { - return m.AvailableReplicas - } - return 0 +func (m *Taint) XXX_Merge(src proto.Message) { + xxx_messageInfo_Taint.Merge(m, src) } - -func (m *ReplicaSet) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements - } - return nil +func (m *Taint) XXX_Size() int { + return m.Size() +} +func (m *Taint) XXX_DiscardUnknown() { + xxx_messageInfo_Taint.DiscardUnknown(m) } -// Deprecated: Do not use. -func (m *ReplicaSet) GetYaml() []byte { +var xxx_messageInfo_Taint proto.InternalMessageInfo + +func (m *Taint) GetKey() string { if m != nil { - return m.Yaml + return m.Key } - return nil + return "" } -func (m *ReplicaSet) GetTags() []string { +func (m *Taint) GetValue() string { if m != nil { - return m.Tags + return m.Value } - return nil + return "" } -func (m *ReplicaSet) GetMetrics() *ResourceMetrics { +func (m *Taint) GetEffect() string { if m != nil { - return m.Metrics + return m.Effect } - return nil + return "" } -func (m *ReplicaSet) GetConditions() []*ReplicaSetCondition { +func (m *Taint) GetTimeAdded() int64 { if m != nil { - return m.Conditions + return m.TimeAdded } - return nil + return 0 } -type LabelSelectorRequirement struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Valid operators are In, NotIn, Exists and DoesNotExist. - Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` - Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4620 +type ServiceSpec struct { + Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` + Selectors []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"` + ClusterIP string `protobuf:"bytes,3,opt,name=clusterIP,proto3" json:"clusterIP,omitempty"` + Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` + ExternalIPs []string `protobuf:"bytes,5,rep,name=externalIPs,proto3" json:"externalIPs,omitempty"` + SessionAffinity string `protobuf:"bytes,6,opt,name=sessionAffinity,proto3" json:"sessionAffinity,omitempty"` + LoadBalancerIP string `protobuf:"bytes,7,opt,name=loadBalancerIP,proto3" json:"loadBalancerIP,omitempty"` + LoadBalancerSourceRanges []string `protobuf:"bytes,8,rep,name=loadBalancerSourceRanges,proto3" json:"loadBalancerSourceRanges,omitempty"` + ExternalName string `protobuf:"bytes,9,opt,name=externalName,proto3" json:"externalName,omitempty"` + ExternalTrafficPolicy string `protobuf:"bytes,10,opt,name=externalTrafficPolicy,proto3" json:"externalTrafficPolicy,omitempty"` + HealthCheckNodePort int32 `protobuf:"varint,11,opt,name=healthCheckNodePort,proto3" json:"healthCheckNodePort,omitempty"` + PublishNotReadyAddresses bool `protobuf:"varint,12,opt,name=publishNotReadyAddresses,proto3" json:"publishNotReadyAddresses,omitempty"` + SessionAffinityConfig *ServiceSessionAffinityConfig `protobuf:"bytes,13,opt,name=sessionAffinityConfig,proto3" json:"sessionAffinityConfig,omitempty"` + IpFamily string `protobuf:"bytes,14,opt,name=ipFamily,proto3" json:"ipFamily,omitempty"` } -func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } -func (m *LabelSelectorRequirement) String() string { return proto.CompactTextString(m) } -func (*LabelSelectorRequirement) ProtoMessage() {} -func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{70} +func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } +func (m *ServiceSpec) String() string { return proto.CompactTextString(m) } +func (*ServiceSpec) ProtoMessage() {} +func (*ServiceSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{71} } -func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error { +func (m *ServiceSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_LabelSelectorRequirement.Marshal(b, m, deterministic) + return xxx_messageInfo_ServiceSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7215,259 +7259,269 @@ func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSelectorRequirement.Merge(m, src) +func (m *ServiceSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceSpec.Merge(m, src) } -func (m *LabelSelectorRequirement) XXX_Size() int { +func (m *ServiceSpec) XXX_Size() int { return m.Size() } -func (m *LabelSelectorRequirement) XXX_DiscardUnknown() { - xxx_messageInfo_LabelSelectorRequirement.DiscardUnknown(m) +func (m *ServiceSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceSpec.DiscardUnknown(m) } -var xxx_messageInfo_LabelSelectorRequirement proto.InternalMessageInfo +var xxx_messageInfo_ServiceSpec proto.InternalMessageInfo -func (m *LabelSelectorRequirement) GetKey() string { +func (m *ServiceSpec) GetPorts() []*ServicePort { if m != nil { - return m.Key + return m.Ports } - return "" + return nil } -func (m *LabelSelectorRequirement) GetOperator() string { +func (m *ServiceSpec) GetSelectors() []*LabelSelectorRequirement { if m != nil { - return m.Operator + return m.Selectors } - return "" + return nil } -func (m *LabelSelectorRequirement) GetValues() []string { +func (m *ServiceSpec) GetClusterIP() string { if m != nil { - return m.Values + return m.ClusterIP } - return nil -} - -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto -type Pod struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // status - IP string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` - NominatedNodeName string `protobuf:"bytes,3,opt,name=nominatedNodeName,proto3" json:"nominatedNodeName,omitempty"` - NodeName string `protobuf:"bytes,4,opt,name=nodeName,proto3" json:"nodeName,omitempty"` - Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` - RestartCount int32 `protobuf:"varint,6,opt,name=restartCount,proto3" json:"restartCount,omitempty"` - ContainerStatuses []*ContainerStatus `protobuf:"bytes,7,rep,name=containerStatuses,proto3" json:"containerStatuses,omitempty"` - InitContainerStatuses []*ContainerStatus `protobuf:"bytes,14,rep,name=initContainerStatuses,proto3" json:"initContainerStatuses,omitempty"` - ConditionMessage string `protobuf:"bytes,8,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` - Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,10,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` - Host *Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,13,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` - QOSClass string `protobuf:"bytes,15,opt,name=QOSClass,proto3" json:"QOSClass,omitempty"` - PriorityClass string `protobuf:"bytes,16,opt,name=priorityClass,proto3" json:"priorityClass,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` - StartTime int64 `protobuf:"varint,18,opt,name=startTime,proto3" json:"startTime,omitempty"` - ScheduledTime int64 `protobuf:"varint,19,opt,name=scheduledTime,proto3" json:"scheduledTime,omitempty"` - Conditions []*PodCondition `protobuf:"bytes,20,rep,name=conditions,proto3" json:"conditions,omitempty"` + return "" } -func (m *Pod) Reset() { *m = Pod{} } -func (m *Pod) String() string { return proto.CompactTextString(m) } -func (*Pod) ProtoMessage() {} -func (*Pod) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{71} -} -func (m *Pod) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Pod.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *ServiceSpec) GetType() string { + if m != nil { + return m.Type } -} -func (m *Pod) XXX_Merge(src proto.Message) { - xxx_messageInfo_Pod.Merge(m, src) -} -func (m *Pod) XXX_Size() int { - return m.Size() -} -func (m *Pod) XXX_DiscardUnknown() { - xxx_messageInfo_Pod.DiscardUnknown(m) + return "" } -var xxx_messageInfo_Pod proto.InternalMessageInfo - -func (m *Pod) GetMetadata() *Metadata { +func (m *ServiceSpec) GetExternalIPs() []string { if m != nil { - return m.Metadata + return m.ExternalIPs } return nil } -func (m *Pod) GetIP() string { +func (m *ServiceSpec) GetSessionAffinity() string { if m != nil { - return m.IP + return m.SessionAffinity } return "" } -func (m *Pod) GetNominatedNodeName() string { +func (m *ServiceSpec) GetLoadBalancerIP() string { if m != nil { - return m.NominatedNodeName + return m.LoadBalancerIP } return "" } -func (m *Pod) GetNodeName() string { +func (m *ServiceSpec) GetLoadBalancerSourceRanges() []string { if m != nil { - return m.NodeName + return m.LoadBalancerSourceRanges + } + return nil +} + +func (m *ServiceSpec) GetExternalName() string { + if m != nil { + return m.ExternalName } return "" } -func (m *Pod) GetPhase() string { +func (m *ServiceSpec) GetExternalTrafficPolicy() string { if m != nil { - return m.Phase + return m.ExternalTrafficPolicy } return "" } -func (m *Pod) GetRestartCount() int32 { +func (m *ServiceSpec) GetHealthCheckNodePort() int32 { if m != nil { - return m.RestartCount + return m.HealthCheckNodePort } return 0 } -func (m *Pod) GetContainerStatuses() []*ContainerStatus { +func (m *ServiceSpec) GetPublishNotReadyAddresses() bool { if m != nil { - return m.ContainerStatuses + return m.PublishNotReadyAddresses } - return nil + return false } -func (m *Pod) GetInitContainerStatuses() []*ContainerStatus { +func (m *ServiceSpec) GetSessionAffinityConfig() *ServiceSessionAffinityConfig { if m != nil { - return m.InitContainerStatuses + return m.SessionAffinityConfig } return nil } -func (m *Pod) GetConditionMessage() string { +func (m *ServiceSpec) GetIpFamily() string { if m != nil { - return m.ConditionMessage + return m.IpFamily } return "" } -func (m *Pod) GetStatus() string { - if m != nil { - return m.Status - } - return "" +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4748 +type ServiceStatus struct { + LoadBalancerIngress []string `protobuf:"bytes,17,rep,name=loadBalancerIngress,proto3" json:"loadBalancerIngress,omitempty"` } -// Deprecated: Do not use. -func (m *Pod) GetYaml() []byte { - if m != nil { - return m.Yaml +func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } +func (m *ServiceStatus) String() string { return proto.CompactTextString(m) } +func (*ServiceStatus) ProtoMessage() {} +func (*ServiceStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{72} +} +func (m *ServiceStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ServiceStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil +} +func (m *ServiceStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceStatus.Merge(m, src) +} +func (m *ServiceStatus) XXX_Size() int { + return m.Size() +} +func (m *ServiceStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceStatus.DiscardUnknown(m) } -func (m *Pod) GetTags() []string { +var xxx_messageInfo_ServiceStatus proto.InternalMessageInfo + +func (m *ServiceStatus) GetLoadBalancerIngress() []string { if m != nil { - return m.Tags + return m.LoadBalancerIngress } return nil } -func (m *Pod) GetHost() *Host { - if m != nil { - return m.Host - } - return nil +// reference https://github.com/kubernetes/kubernetes/blob/release-1.19/staging/src/k8s.io/api/core/v1/generated.proto +type Service struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *ServiceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *Pod) GetResourceRequirements() []*ResourceRequirements { - if m != nil { - return m.ResourceRequirements +func (m *Service) Reset() { *m = Service{} } +func (m *Service) String() string { return proto.CompactTextString(m) } +func (*Service) ProtoMessage() {} +func (*Service) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{73} +} +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.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 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) } -func (m *Pod) GetQOSClass() string { +var xxx_messageInfo_Service proto.InternalMessageInfo + +func (m *Service) GetMetadata() *Metadata { if m != nil { - return m.QOSClass + return m.Metadata } - return "" + return nil } -func (m *Pod) GetPriorityClass() string { +func (m *Service) GetSpec() *ServiceSpec { if m != nil { - return m.PriorityClass + return m.Spec } - return "" + return nil } -func (m *Pod) GetMetrics() *ResourceMetrics { +func (m *Service) GetStatus() *ServiceStatus { if m != nil { - return m.Metrics + return m.Status } return nil } -func (m *Pod) GetStartTime() int64 { +// Deprecated: Do not use. +func (m *Service) GetYaml() []byte { if m != nil { - return m.StartTime + return m.Yaml } - return 0 + return nil } -func (m *Pod) GetScheduledTime() int64 { +func (m *Service) GetTags() []string { if m != nil { - return m.ScheduledTime + return m.Tags } - return 0 + return nil } -func (m *Pod) GetConditions() []*PodCondition { +func (m *Service) GetMetrics() *ResourceMetrics { if m != nil { - return m.Conditions + return m.Metrics } return nil } -type PodCondition struct { +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L236 +type DeploymentCondition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` - LastTransitionTime int64 `protobuf:"varint,4,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` + LastUpdateTime int64 `protobuf:"varint,6,opt,name=lastUpdateTime,proto3" json:"lastUpdateTime,omitempty"` + LastTransitionTime int64 `protobuf:"varint,7,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *PodCondition) Reset() { *m = PodCondition{} } -func (m *PodCondition) String() string { return proto.CompactTextString(m) } -func (*PodCondition) ProtoMessage() {} -func (*PodCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{72} +func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } +func (m *DeploymentCondition) String() string { return proto.CompactTextString(m) } +func (*DeploymentCondition) ProtoMessage() {} +func (*DeploymentCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{74} } -func (m *PodCondition) XXX_Unmarshal(b []byte) error { +func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PodCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PodCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_DeploymentCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7477,81 +7531,96 @@ func (m *PodCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *PodCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodCondition.Merge(m, src) +func (m *DeploymentCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeploymentCondition.Merge(m, src) } -func (m *PodCondition) XXX_Size() int { +func (m *DeploymentCondition) XXX_Size() int { return m.Size() } -func (m *PodCondition) XXX_DiscardUnknown() { - xxx_messageInfo_PodCondition.DiscardUnknown(m) +func (m *DeploymentCondition) XXX_DiscardUnknown() { + xxx_messageInfo_DeploymentCondition.DiscardUnknown(m) } -var xxx_messageInfo_PodCondition proto.InternalMessageInfo +var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo -func (m *PodCondition) GetType() string { +func (m *DeploymentCondition) GetType() string { if m != nil { return m.Type } return "" } -func (m *PodCondition) GetStatus() string { +func (m *DeploymentCondition) GetStatus() string { if m != nil { return m.Status } return "" } -func (m *PodCondition) GetLastProbeTime() int64 { +func (m *DeploymentCondition) GetLastUpdateTime() int64 { if m != nil { - return m.LastProbeTime + return m.LastUpdateTime } return 0 } -func (m *PodCondition) GetLastTransitionTime() int64 { +func (m *DeploymentCondition) GetLastTransitionTime() int64 { if m != nil { return m.LastTransitionTime } return 0 } -func (m *PodCondition) GetReason() string { +func (m *DeploymentCondition) GetReason() string { if m != nil { return m.Reason } return "" } -func (m *PodCondition) GetMessage() string { +func (m *DeploymentCondition) GetMessage() string { if m != nil { return m.Message } return "" } -type ContainerStatus struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ContainerID string `protobuf:"bytes,2,opt,name=containerID,proto3" json:"containerID,omitempty"` - Ready bool `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"` - RestartCount int32 `protobuf:"varint,4,opt,name=restartCount,proto3" json:"restartCount,omitempty"` - State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` - Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L221 +type Deployment struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + // spec + ReplicasDesired int32 `protobuf:"varint,2,opt,name=replicasDesired,proto3" json:"replicasDesired,omitempty"` + DeploymentStrategy string `protobuf:"bytes,3,opt,name=deploymentStrategy,proto3" json:"deploymentStrategy,omitempty"` + MaxUnavailable string `protobuf:"bytes,4,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` + MaxSurge string `protobuf:"bytes,5,opt,name=maxSurge,proto3" json:"maxSurge,omitempty"` + Paused bool `protobuf:"varint,6,opt,name=paused,proto3" json:"paused,omitempty"` + Selectors []*LabelSelectorRequirement `protobuf:"bytes,7,rep,name=selectors,proto3" json:"selectors,omitempty"` + // status + Replicas int32 `protobuf:"varint,8,opt,name=replicas,proto3" json:"replicas,omitempty"` + UpdatedReplicas int32 `protobuf:"varint,9,opt,name=updatedReplicas,proto3" json:"updatedReplicas,omitempty"` + ReadyReplicas int32 `protobuf:"varint,10,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` + AvailableReplicas int32 `protobuf:"varint,11,opt,name=availableReplicas,proto3" json:"availableReplicas,omitempty"` + UnavailableReplicas int32 `protobuf:"varint,12,opt,name=unavailableReplicas,proto3" json:"unavailableReplicas,omitempty"` + ConditionMessage string `protobuf:"bytes,13,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,16,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` + Yaml []byte `protobuf:"bytes,14,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` + Conditions []*DeploymentCondition `protobuf:"bytes,18,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } -func (m *ContainerStatus) String() string { return proto.CompactTextString(m) } -func (*ContainerStatus) ProtoMessage() {} -func (*ContainerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{73} +func (m *Deployment) Reset() { *m = Deployment{} } +func (m *Deployment) String() string { return proto.CompactTextString(m) } +func (*Deployment) ProtoMessage() {} +func (*Deployment) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{75} } -func (m *ContainerStatus) XXX_Unmarshal(b []byte) error { +func (m *Deployment) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_Deployment.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7561,146 +7630,147 @@ func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *ContainerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerStatus.Merge(m, src) +func (m *Deployment) XXX_Merge(src proto.Message) { + xxx_messageInfo_Deployment.Merge(m, src) } -func (m *ContainerStatus) XXX_Size() int { +func (m *Deployment) XXX_Size() int { return m.Size() } -func (m *ContainerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerStatus.DiscardUnknown(m) +func (m *Deployment) XXX_DiscardUnknown() { + xxx_messageInfo_Deployment.DiscardUnknown(m) } -var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo +var xxx_messageInfo_Deployment proto.InternalMessageInfo -func (m *ContainerStatus) GetName() string { +func (m *Deployment) GetMetadata() *Metadata { if m != nil { - return m.Name + return m.Metadata } - return "" + return nil } -func (m *ContainerStatus) GetContainerID() string { +func (m *Deployment) GetReplicasDesired() int32 { if m != nil { - return m.ContainerID + return m.ReplicasDesired } - return "" + return 0 } -func (m *ContainerStatus) GetReady() bool { +func (m *Deployment) GetDeploymentStrategy() string { if m != nil { - return m.Ready + return m.DeploymentStrategy } - return false + return "" } -func (m *ContainerStatus) GetRestartCount() int32 { +func (m *Deployment) GetMaxUnavailable() string { if m != nil { - return m.RestartCount + return m.MaxUnavailable } - return 0 + return "" } -func (m *ContainerStatus) GetState() string { +func (m *Deployment) GetMaxSurge() string { if m != nil { - return m.State + return m.MaxSurge } return "" } -func (m *ContainerStatus) GetMessage() string { +func (m *Deployment) GetPaused() bool { if m != nil { - return m.Message + return m.Paused } - return "" + return false } -type Manifest struct { - Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` - ResourceVersion string `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` - Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` - Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` - ContentType string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"` - Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` +func (m *Deployment) GetSelectors() []*LabelSelectorRequirement { + if m != nil { + return m.Selectors + } + return nil } -func (m *Manifest) Reset() { *m = Manifest{} } -func (m *Manifest) String() string { return proto.CompactTextString(m) } -func (*Manifest) ProtoMessage() {} -func (*Manifest) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{74} -} -func (m *Manifest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Manifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Manifest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *Deployment) GetReplicas() int32 { + if m != nil { + return m.Replicas } + return 0 } -func (m *Manifest) XXX_Merge(src proto.Message) { - xxx_messageInfo_Manifest.Merge(m, src) -} -func (m *Manifest) XXX_Size() int { - return m.Size() -} -func (m *Manifest) XXX_DiscardUnknown() { - xxx_messageInfo_Manifest.DiscardUnknown(m) -} - -var xxx_messageInfo_Manifest proto.InternalMessageInfo -func (m *Manifest) GetType() int32 { +func (m *Deployment) GetUpdatedReplicas() int32 { if m != nil { - return m.Type + return m.UpdatedReplicas } return 0 } -func (m *Manifest) GetResourceVersion() string { +func (m *Deployment) GetReadyReplicas() int32 { if m != nil { - return m.ResourceVersion + return m.ReadyReplicas } - return "" + return 0 } -func (m *Manifest) GetUid() string { +func (m *Deployment) GetAvailableReplicas() int32 { if m != nil { - return m.Uid + return m.AvailableReplicas } - return "" + return 0 } -func (m *Manifest) GetContent() []byte { +func (m *Deployment) GetUnavailableReplicas() int32 { if m != nil { - return m.Content + return m.UnavailableReplicas } - return nil + return 0 } -func (m *Manifest) GetContentType() string { +func (m *Deployment) GetConditionMessage() string { if m != nil { - return m.ContentType + return m.ConditionMessage } return "" } -func (m *Manifest) GetVersion() string { +func (m *Deployment) GetResourceRequirements() []*ResourceRequirements { if m != nil { - return m.Version + return m.ResourceRequirements } - return "" + return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2054 -type NamespaceCondition struct { +// Deprecated: Do not use. +func (m *Deployment) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil +} + +func (m *Deployment) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +func (m *Deployment) GetMetrics() *ResourceMetrics { + if m != nil { + return m.Metrics + } + return nil +} + +func (m *Deployment) GetConditions() []*DeploymentCondition { + if m != nil { + return m.Conditions + } + return nil +} + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L388 +type ReplicaSetCondition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` @@ -7708,18 +7778,18 @@ type NamespaceCondition struct { Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *NamespaceCondition) Reset() { *m = NamespaceCondition{} } -func (m *NamespaceCondition) String() string { return proto.CompactTextString(m) } -func (*NamespaceCondition) ProtoMessage() {} -func (*NamespaceCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{75} +func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } +func (m *ReplicaSetCondition) String() string { return proto.CompactTextString(m) } +func (*ReplicaSetCondition) ProtoMessage() {} +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{76} } -func (m *NamespaceCondition) XXX_Unmarshal(b []byte) error { +func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NamespaceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NamespaceCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_ReplicaSetCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7729,75 +7799,83 @@ func (m *NamespaceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *NamespaceCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceCondition.Merge(m, src) +func (m *ReplicaSetCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicaSetCondition.Merge(m, src) } -func (m *NamespaceCondition) XXX_Size() int { +func (m *ReplicaSetCondition) XXX_Size() int { return m.Size() } -func (m *NamespaceCondition) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceCondition.DiscardUnknown(m) +func (m *ReplicaSetCondition) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicaSetCondition.DiscardUnknown(m) } -var xxx_messageInfo_NamespaceCondition proto.InternalMessageInfo +var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo -func (m *NamespaceCondition) GetType() string { +func (m *ReplicaSetCondition) GetType() string { if m != nil { return m.Type } return "" } -func (m *NamespaceCondition) GetStatus() string { +func (m *ReplicaSetCondition) GetStatus() string { if m != nil { return m.Status } return "" } -func (m *NamespaceCondition) GetLastTransitionTime() int64 { +func (m *ReplicaSetCondition) GetLastTransitionTime() int64 { if m != nil { return m.LastTransitionTime } return 0 } -func (m *NamespaceCondition) GetReason() string { +func (m *ReplicaSetCondition) GetReason() string { if m != nil { return m.Reason } return "" } -func (m *NamespaceCondition) GetMessage() string { +func (m *ReplicaSetCondition) GetMessage() string { if m != nil { return m.Message } return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2036 -type Namespace struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - ConditionMessage string `protobuf:"bytes,3,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Conditions []*NamespaceCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L366 +type ReplicaSet struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + // spec + ReplicasDesired int32 `protobuf:"varint,2,opt,name=replicasDesired,proto3" json:"replicasDesired,omitempty"` + Selectors []*LabelSelectorRequirement `protobuf:"bytes,3,rep,name=selectors,proto3" json:"selectors,omitempty"` + // status + Replicas int32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"` + FullyLabeledReplicas int32 `protobuf:"varint,5,opt,name=fullyLabeledReplicas,proto3" json:"fullyLabeledReplicas,omitempty"` + ReadyReplicas int32 `protobuf:"varint,6,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` + AvailableReplicas int32 `protobuf:"varint,7,opt,name=availableReplicas,proto3" json:"availableReplicas,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,10,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` + Yaml []byte `protobuf:"bytes,8,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,11,opt,name=metrics,proto3" json:"metrics,omitempty"` + Conditions []*ReplicaSetCondition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *Namespace) Reset() { *m = Namespace{} } -func (m *Namespace) String() string { return proto.CompactTextString(m) } -func (*Namespace) ProtoMessage() {} -func (*Namespace) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{76} +func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } +func (m *ReplicaSet) String() string { return proto.CompactTextString(m) } +func (*ReplicaSet) ProtoMessage() {} +func (*ReplicaSet) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{77} } -func (m *Namespace) XXX_Unmarshal(b []byte) error { +func (m *ReplicaSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) + return xxx_messageInfo_ReplicaSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7807,155 +7885,122 @@ func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Namespace) XXX_Merge(src proto.Message) { - xxx_messageInfo_Namespace.Merge(m, src) +func (m *ReplicaSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicaSet.Merge(m, src) } -func (m *Namespace) XXX_Size() int { +func (m *ReplicaSet) XXX_Size() int { return m.Size() } -func (m *Namespace) XXX_DiscardUnknown() { - xxx_messageInfo_Namespace.DiscardUnknown(m) +func (m *ReplicaSet) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicaSet.DiscardUnknown(m) } -var xxx_messageInfo_Namespace proto.InternalMessageInfo +var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo -func (m *Namespace) GetMetadata() *Metadata { +func (m *ReplicaSet) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *Namespace) GetStatus() string { +func (m *ReplicaSet) GetReplicasDesired() int32 { if m != nil { - return m.Status + return m.ReplicasDesired } - return "" + return 0 } -func (m *Namespace) GetConditionMessage() string { +func (m *ReplicaSet) GetSelectors() []*LabelSelectorRequirement { if m != nil { - return m.ConditionMessage + return m.Selectors } - return "" + return nil } -// Deprecated: Do not use. -func (m *Namespace) GetYaml() []byte { +func (m *ReplicaSet) GetReplicas() int32 { if m != nil { - return m.Yaml + return m.Replicas } - return nil + return 0 } -func (m *Namespace) GetTags() []string { +func (m *ReplicaSet) GetFullyLabeledReplicas() int32 { if m != nil { - return m.Tags + return m.FullyLabeledReplicas } - return nil + return 0 } -func (m *Namespace) GetConditions() []*NamespaceCondition { +func (m *ReplicaSet) GetReadyReplicas() int32 { if m != nil { - return m.Conditions + return m.ReadyReplicas } - return nil + return 0 } -// https://github.com/kubernetes/kubernetes/blob/4112d8db20c5550cc27d30d3cee2723db0f8e1c4/staging/src/k8s.io/api/core/v1/types.go#L2097 -// Using smallest possible quantity levels. -// For memory it is bytes, for CPU it is millicore. -type ResourceRequirements struct { - // Limits describes the maximum amount of compute resources allowed. - // Key/Value of a resource type and a corresponding quantity as an int64. - Limits map[string]int64 `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // Requests describes the minimum amount of compute resources required. - // Key/Value of a resource type and a corresponding quantity as an int64. - Requests map[string]int64 `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // Name describes the name of the holder of the resource requirements (e.g. a container name). - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // ResourceRequirementsType describes the type which uses the ResourceRequirements. - Type ResourceRequirementsType `protobuf:"varint,4,opt,name=type,proto3,enum=datadog.process_agent.ResourceRequirementsType" json:"type,omitempty"` +func (m *ReplicaSet) GetAvailableReplicas() int32 { + if m != nil { + return m.AvailableReplicas + } + return 0 } -func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } -func (m *ResourceRequirements) String() string { return proto.CompactTextString(m) } -func (*ResourceRequirements) ProtoMessage() {} -func (*ResourceRequirements) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{77} -} -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.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *ReplicaSet) GetResourceRequirements() []*ResourceRequirements { + if m != nil { + return m.ResourceRequirements } + return 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 -func (m *ResourceRequirements) GetLimits() map[string]int64 { +// Deprecated: Do not use. +func (m *ReplicaSet) GetYaml() []byte { if m != nil { - return m.Limits + return m.Yaml } return nil } -func (m *ResourceRequirements) GetRequests() map[string]int64 { +func (m *ReplicaSet) GetTags() []string { if m != nil { - return m.Requests + return m.Tags } return nil } -func (m *ResourceRequirements) GetName() string { +func (m *ReplicaSet) GetMetrics() *ResourceMetrics { if m != nil { - return m.Name + return m.Metrics } - return "" + return nil } -func (m *ResourceRequirements) GetType() ResourceRequirementsType { +func (m *ReplicaSet) GetConditions() []*ReplicaSetCondition { if m != nil { - return m.Type + return m.Conditions } - return ResourceRequirementsType_unknownType + return nil } -// ResourceMetrics is used in backend enrichment. -type ResourceMetrics struct { - MetricValues map[string]float64 `protobuf:"bytes,1,rep,name=metricValues,proto3" json:"metricValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` +type LabelSelectorRequirement struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Valid operators are In, NotIn, Exists and DoesNotExist. + Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` + Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` } -func (m *ResourceMetrics) Reset() { *m = ResourceMetrics{} } -func (m *ResourceMetrics) String() string { return proto.CompactTextString(m) } -func (*ResourceMetrics) ProtoMessage() {} -func (*ResourceMetrics) Descriptor() ([]byte, []int) { +func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } +func (m *LabelSelectorRequirement) String() string { return proto.CompactTextString(m) } +func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{78} } -func (m *ResourceMetrics) XXX_Unmarshal(b []byte) error { +func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ResourceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ResourceMetrics.Marshal(b, m, deterministic) + return xxx_messageInfo_LabelSelectorRequirement.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7965,48 +8010,76 @@ func (m *ResourceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *ResourceMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetrics.Merge(m, src) +func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelSelectorRequirement.Merge(m, src) } -func (m *ResourceMetrics) XXX_Size() int { +func (m *LabelSelectorRequirement) XXX_Size() int { return m.Size() } -func (m *ResourceMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetrics.DiscardUnknown(m) +func (m *LabelSelectorRequirement) XXX_DiscardUnknown() { + xxx_messageInfo_LabelSelectorRequirement.DiscardUnknown(m) } -var xxx_messageInfo_ResourceMetrics proto.InternalMessageInfo +var xxx_messageInfo_LabelSelectorRequirement proto.InternalMessageInfo -func (m *ResourceMetrics) GetMetricValues() map[string]float64 { +func (m *LabelSelectorRequirement) GetKey() string { if m != nil { - return m.MetricValues + return m.Key + } + return "" +} + +func (m *LabelSelectorRequirement) GetOperator() string { + if m != nil { + return m.Operator + } + return "" +} + +func (m *LabelSelectorRequirement) GetValues() []string { + if m != nil { + return m.Values } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L61 -type JobSpec struct { - Parallelism int32 `protobuf:"varint,1,opt,name=parallelism,proto3" json:"parallelism,omitempty"` - Completions int32 `protobuf:"varint,2,opt,name=completions,proto3" json:"completions,omitempty"` - ActiveDeadlineSeconds int64 `protobuf:"varint,3,opt,name=activeDeadlineSeconds,proto3" json:"activeDeadlineSeconds,omitempty"` - BackoffLimit int32 `protobuf:"varint,4,opt,name=backoffLimit,proto3" json:"backoffLimit,omitempty"` - Selectors []*LabelSelectorRequirement `protobuf:"bytes,5,rep,name=selectors,proto3" json:"selectors,omitempty"` - ManualSelector bool `protobuf:"varint,6,opt,name=manualSelector,proto3" json:"manualSelector,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto +type Pod struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + // status + IP string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` + NominatedNodeName string `protobuf:"bytes,3,opt,name=nominatedNodeName,proto3" json:"nominatedNodeName,omitempty"` + NodeName string `protobuf:"bytes,4,opt,name=nodeName,proto3" json:"nodeName,omitempty"` + Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` + RestartCount int32 `protobuf:"varint,6,opt,name=restartCount,proto3" json:"restartCount,omitempty"` + ContainerStatuses []*ContainerStatus `protobuf:"bytes,7,rep,name=containerStatuses,proto3" json:"containerStatuses,omitempty"` + InitContainerStatuses []*ContainerStatus `protobuf:"bytes,14,rep,name=initContainerStatuses,proto3" json:"initContainerStatuses,omitempty"` + ConditionMessage string `protobuf:"bytes,8,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` + Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,10,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` + Host *Host `protobuf:"bytes,12,opt,name=host,proto3" json:"host,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,13,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` + QOSClass string `protobuf:"bytes,15,opt,name=QOSClass,proto3" json:"QOSClass,omitempty"` + PriorityClass string `protobuf:"bytes,16,opt,name=priorityClass,proto3" json:"priorityClass,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"` + StartTime int64 `protobuf:"varint,18,opt,name=startTime,proto3" json:"startTime,omitempty"` + ScheduledTime int64 `protobuf:"varint,19,opt,name=scheduledTime,proto3" json:"scheduledTime,omitempty"` + Conditions []*PodCondition `protobuf:"bytes,20,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *JobSpec) Reset() { *m = JobSpec{} } -func (m *JobSpec) String() string { return proto.CompactTextString(m) } -func (*JobSpec) ProtoMessage() {} -func (*JobSpec) Descriptor() ([]byte, []int) { +func (m *Pod) Reset() { *m = Pod{} } +func (m *Pod) String() string { return proto.CompactTextString(m) } +func (*Pod) ProtoMessage() {} +func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{79} } -func (m *JobSpec) XXX_Unmarshal(b []byte) error { +func (m *Pod) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *JobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_JobSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_Pod.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8016,154 +8089,160 @@ func (m *JobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *JobSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobSpec.Merge(m, src) +func (m *Pod) XXX_Merge(src proto.Message) { + xxx_messageInfo_Pod.Merge(m, src) } -func (m *JobSpec) XXX_Size() int { +func (m *Pod) XXX_Size() int { return m.Size() } -func (m *JobSpec) XXX_DiscardUnknown() { - xxx_messageInfo_JobSpec.DiscardUnknown(m) +func (m *Pod) XXX_DiscardUnknown() { + xxx_messageInfo_Pod.DiscardUnknown(m) } -var xxx_messageInfo_JobSpec proto.InternalMessageInfo +var xxx_messageInfo_Pod proto.InternalMessageInfo -func (m *JobSpec) GetParallelism() int32 { +func (m *Pod) GetMetadata() *Metadata { if m != nil { - return m.Parallelism + return m.Metadata } - return 0 + return nil } -func (m *JobSpec) GetCompletions() int32 { +func (m *Pod) GetIP() string { if m != nil { - return m.Completions + return m.IP } - return 0 + return "" } -func (m *JobSpec) GetActiveDeadlineSeconds() int64 { +func (m *Pod) GetNominatedNodeName() string { if m != nil { - return m.ActiveDeadlineSeconds + return m.NominatedNodeName } - return 0 + return "" } -func (m *JobSpec) GetBackoffLimit() int32 { +func (m *Pod) GetNodeName() string { if m != nil { - return m.BackoffLimit + return m.NodeName } - return 0 + return "" } -func (m *JobSpec) GetSelectors() []*LabelSelectorRequirement { +func (m *Pod) GetPhase() string { if m != nil { - return m.Selectors + return m.Phase } - return nil + return "" } -func (m *JobSpec) GetManualSelector() bool { +func (m *Pod) GetRestartCount() int32 { if m != nil { - return m.ManualSelector + return m.RestartCount } - return false + return 0 } -func (m *JobSpec) GetResourceRequirements() []*ResourceRequirements { +func (m *Pod) GetContainerStatuses() []*ContainerStatus { if m != nil { - return m.ResourceRequirements + return m.ContainerStatuses } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L132 -type JobStatus struct { - ConditionMessage string `protobuf:"bytes,1,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` - StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` - CompletionTime int64 `protobuf:"varint,3,opt,name=completionTime,proto3" json:"completionTime,omitempty"` - Active int32 `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"` - Succeeded int32 `protobuf:"varint,5,opt,name=succeeded,proto3" json:"succeeded,omitempty"` - Failed int32 `protobuf:"varint,6,opt,name=failed,proto3" json:"failed,omitempty"` +func (m *Pod) GetInitContainerStatuses() []*ContainerStatus { + if m != nil { + return m.InitContainerStatuses + } + return nil } -func (m *JobStatus) Reset() { *m = JobStatus{} } -func (m *JobStatus) String() string { return proto.CompactTextString(m) } -func (*JobStatus) ProtoMessage() {} -func (*JobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{80} -} -func (m *JobStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) +func (m *Pod) GetConditionMessage() string { + if m != nil { + return m.ConditionMessage + } + return "" } -func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + +func (m *Pod) GetStatus() string { + if m != nil { + return m.Status } + return "" } -func (m *JobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobStatus.Merge(m, src) + +// Deprecated: Do not use. +func (m *Pod) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil } -func (m *JobStatus) XXX_Size() int { - return m.Size() + +func (m *Pod) GetTags() []string { + if m != nil { + return m.Tags + } + return nil } -func (m *JobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_JobStatus.DiscardUnknown(m) + +func (m *Pod) GetHost() *Host { + if m != nil { + return m.Host + } + return nil } -var xxx_messageInfo_JobStatus proto.InternalMessageInfo +func (m *Pod) GetResourceRequirements() []*ResourceRequirements { + if m != nil { + return m.ResourceRequirements + } + return nil +} -func (m *JobStatus) GetConditionMessage() string { +func (m *Pod) GetQOSClass() string { if m != nil { - return m.ConditionMessage + return m.QOSClass } return "" } -func (m *JobStatus) GetStartTime() int64 { +func (m *Pod) GetPriorityClass() string { if m != nil { - return m.StartTime + return m.PriorityClass } - return 0 + return "" } -func (m *JobStatus) GetCompletionTime() int64 { +func (m *Pod) GetMetrics() *ResourceMetrics { if m != nil { - return m.CompletionTime + return m.Metrics } - return 0 + return nil } -func (m *JobStatus) GetActive() int32 { +func (m *Pod) GetStartTime() int64 { if m != nil { - return m.Active + return m.StartTime } return 0 } -func (m *JobStatus) GetSucceeded() int32 { +func (m *Pod) GetScheduledTime() int64 { if m != nil { - return m.Succeeded + return m.ScheduledTime } return 0 } -func (m *JobStatus) GetFailed() int32 { +func (m *Pod) GetConditions() []*PodCondition { if m != nil { - return m.Failed + return m.Conditions } - return 0 + return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/generated.proto#L51 -type JobCondition struct { +type PodCondition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` @@ -8172,18 +8251,18 @@ type JobCondition struct { Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` } -func (m *JobCondition) Reset() { *m = JobCondition{} } -func (m *JobCondition) String() string { return proto.CompactTextString(m) } -func (*JobCondition) ProtoMessage() {} -func (*JobCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{81} +func (m *PodCondition) Reset() { *m = PodCondition{} } +func (m *PodCondition) String() string { return proto.CompactTextString(m) } +func (*PodCondition) ProtoMessage() {} +func (*PodCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{80} } -func (m *JobCondition) XXX_Unmarshal(b []byte) error { +func (m *PodCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *JobCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PodCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_JobCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_PodCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8193,82 +8272,81 @@ func (m *JobCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *JobCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobCondition.Merge(m, src) +func (m *PodCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodCondition.Merge(m, src) } -func (m *JobCondition) XXX_Size() int { +func (m *PodCondition) XXX_Size() int { return m.Size() } -func (m *JobCondition) XXX_DiscardUnknown() { - xxx_messageInfo_JobCondition.DiscardUnknown(m) +func (m *PodCondition) XXX_DiscardUnknown() { + xxx_messageInfo_PodCondition.DiscardUnknown(m) } -var xxx_messageInfo_JobCondition proto.InternalMessageInfo +var xxx_messageInfo_PodCondition proto.InternalMessageInfo -func (m *JobCondition) GetType() string { +func (m *PodCondition) GetType() string { if m != nil { return m.Type } return "" } -func (m *JobCondition) GetStatus() string { +func (m *PodCondition) GetStatus() string { if m != nil { return m.Status } return "" } -func (m *JobCondition) GetLastProbeTime() int64 { +func (m *PodCondition) GetLastProbeTime() int64 { if m != nil { return m.LastProbeTime } return 0 } -func (m *JobCondition) GetLastTransitionTime() int64 { +func (m *PodCondition) GetLastTransitionTime() int64 { if m != nil { return m.LastTransitionTime } return 0 } -func (m *JobCondition) GetReason() string { +func (m *PodCondition) GetReason() string { if m != nil { return m.Reason } return "" } -func (m *JobCondition) GetMessage() string { +func (m *PodCondition) GetMessage() string { if m != nil { return m.Message } return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L28 -type Job struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *JobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Conditions []*JobCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` +type ContainerStatus struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ContainerID string `protobuf:"bytes,2,opt,name=containerID,proto3" json:"containerID,omitempty"` + Ready bool `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"` + RestartCount int32 `protobuf:"varint,4,opt,name=restartCount,proto3" json:"restartCount,omitempty"` + State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` } -func (m *Job) Reset() { *m = Job{} } -func (m *Job) String() string { return proto.CompactTextString(m) } -func (*Job) ProtoMessage() {} -func (*Job) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{82} +func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } +func (m *ContainerStatus) String() string { return proto.CompactTextString(m) } +func (*ContainerStatus) ProtoMessage() {} +func (*ContainerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{81} } -func (m *Job) XXX_Unmarshal(b []byte) error { +func (m *ContainerStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Job.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8278,84 +8356,81 @@ func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, src) +func (m *ContainerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerStatus.Merge(m, src) } -func (m *Job) XXX_Size() int { +func (m *ContainerStatus) XXX_Size() int { return m.Size() } -func (m *Job) XXX_DiscardUnknown() { - xxx_messageInfo_Job.DiscardUnknown(m) +func (m *ContainerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerStatus.DiscardUnknown(m) } -var xxx_messageInfo_Job proto.InternalMessageInfo +var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo -func (m *Job) GetMetadata() *Metadata { +func (m *ContainerStatus) GetName() string { if m != nil { - return m.Metadata + return m.Name } - return nil + return "" } -func (m *Job) GetSpec() *JobSpec { +func (m *ContainerStatus) GetContainerID() string { if m != nil { - return m.Spec + return m.ContainerID } - return nil + return "" } -func (m *Job) GetStatus() *JobStatus { +func (m *ContainerStatus) GetReady() bool { if m != nil { - return m.Status + return m.Ready } - return nil + return false } -// Deprecated: Do not use. -func (m *Job) GetYaml() []byte { +func (m *ContainerStatus) GetRestartCount() int32 { if m != nil { - return m.Yaml + return m.RestartCount } - return nil + return 0 } -func (m *Job) GetTags() []string { +func (m *ContainerStatus) GetState() string { if m != nil { - return m.Tags + return m.State } - return nil + return "" } -func (m *Job) GetConditions() []*JobCondition { +func (m *ContainerStatus) GetMessage() string { if m != nil { - return m.Conditions + return m.Message } - return nil + return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L92 -type CronJobSpec struct { - Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` - StartingDeadlineSeconds int64 `protobuf:"varint,2,opt,name=startingDeadlineSeconds,proto3" json:"startingDeadlineSeconds,omitempty"` - ConcurrencyPolicy string `protobuf:"bytes,3,opt,name=concurrencyPolicy,proto3" json:"concurrencyPolicy,omitempty"` - Suspend bool `protobuf:"varint,4,opt,name=suspend,proto3" json:"suspend,omitempty"` - SuccessfulJobsHistoryLimit int32 `protobuf:"varint,5,opt,name=successfulJobsHistoryLimit,proto3" json:"successfulJobsHistoryLimit,omitempty"` - FailedJobsHistoryLimit int32 `protobuf:"varint,6,opt,name=failedJobsHistoryLimit,proto3" json:"failedJobsHistoryLimit,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` +type Manifest struct { + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + ResourceVersion string `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` + Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` + Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` + ContentType string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"` + Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` } -func (m *CronJobSpec) Reset() { *m = CronJobSpec{} } -func (m *CronJobSpec) String() string { return proto.CompactTextString(m) } -func (*CronJobSpec) ProtoMessage() {} -func (*CronJobSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{83} +func (m *Manifest) Reset() { *m = Manifest{} } +func (m *Manifest) String() string { return proto.CompactTextString(m) } +func (*Manifest) ProtoMessage() {} +func (*Manifest) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{82} } -func (m *CronJobSpec) XXX_Unmarshal(b []byte) error { +func (m *Manifest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CronJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Manifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CronJobSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_Manifest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8365,85 +8440,81 @@ func (m *CronJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *CronJobSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobSpec.Merge(m, src) +func (m *Manifest) XXX_Merge(src proto.Message) { + xxx_messageInfo_Manifest.Merge(m, src) } -func (m *CronJobSpec) XXX_Size() int { +func (m *Manifest) XXX_Size() int { return m.Size() } -func (m *CronJobSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobSpec.DiscardUnknown(m) +func (m *Manifest) XXX_DiscardUnknown() { + xxx_messageInfo_Manifest.DiscardUnknown(m) } -var xxx_messageInfo_CronJobSpec proto.InternalMessageInfo - -func (m *CronJobSpec) GetSchedule() string { - if m != nil { - return m.Schedule - } - return "" -} +var xxx_messageInfo_Manifest proto.InternalMessageInfo -func (m *CronJobSpec) GetStartingDeadlineSeconds() int64 { +func (m *Manifest) GetType() int32 { if m != nil { - return m.StartingDeadlineSeconds + return m.Type } return 0 } -func (m *CronJobSpec) GetConcurrencyPolicy() string { +func (m *Manifest) GetResourceVersion() string { if m != nil { - return m.ConcurrencyPolicy + return m.ResourceVersion } return "" } -func (m *CronJobSpec) GetSuspend() bool { +func (m *Manifest) GetUid() string { if m != nil { - return m.Suspend + return m.Uid } - return false + return "" } -func (m *CronJobSpec) GetSuccessfulJobsHistoryLimit() int32 { +func (m *Manifest) GetContent() []byte { if m != nil { - return m.SuccessfulJobsHistoryLimit + return m.Content } - return 0 + return nil } -func (m *CronJobSpec) GetFailedJobsHistoryLimit() int32 { +func (m *Manifest) GetContentType() string { if m != nil { - return m.FailedJobsHistoryLimit + return m.ContentType } - return 0 + return "" } -func (m *CronJobSpec) GetResourceRequirements() []*ResourceRequirements { +func (m *Manifest) GetVersion() string { if m != nil { - return m.ResourceRequirements + return m.Version } - return nil + return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L150 -type CronJobStatus struct { - Active []*ObjectReference `protobuf:"bytes,1,rep,name=active,proto3" json:"active,omitempty"` - LastScheduleTime int64 `protobuf:"varint,2,opt,name=lastScheduleTime,proto3" json:"lastScheduleTime,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2054 +type NamespaceCondition struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *CronJobStatus) Reset() { *m = CronJobStatus{} } -func (m *CronJobStatus) String() string { return proto.CompactTextString(m) } -func (*CronJobStatus) ProtoMessage() {} -func (*CronJobStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{84} +func (m *NamespaceCondition) Reset() { *m = NamespaceCondition{} } +func (m *NamespaceCondition) String() string { return proto.CompactTextString(m) } +func (*NamespaceCondition) ProtoMessage() {} +func (*NamespaceCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{83} } -func (m *CronJobStatus) XXX_Unmarshal(b []byte) error { +func (m *NamespaceCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CronJobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *NamespaceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CronJobStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_NamespaceCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8453,53 +8524,75 @@ func (m *CronJobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *CronJobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJobStatus.Merge(m, src) +func (m *NamespaceCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceCondition.Merge(m, src) } -func (m *CronJobStatus) XXX_Size() int { +func (m *NamespaceCondition) XXX_Size() int { return m.Size() } -func (m *CronJobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_CronJobStatus.DiscardUnknown(m) +func (m *NamespaceCondition) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceCondition.DiscardUnknown(m) } -var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo +var xxx_messageInfo_NamespaceCondition proto.InternalMessageInfo -func (m *CronJobStatus) GetActive() []*ObjectReference { +func (m *NamespaceCondition) GetType() string { if m != nil { - return m.Active + return m.Type } - return nil + return "" } -func (m *CronJobStatus) GetLastScheduleTime() int64 { +func (m *NamespaceCondition) GetStatus() string { if m != nil { - return m.LastScheduleTime + return m.Status + } + return "" +} + +func (m *NamespaceCondition) GetLastTransitionTime() int64 { + if m != nil { + return m.LastTransitionTime } return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L58 -type CronJob struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *CronJobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *CronJobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` +func (m *NamespaceCondition) GetReason() string { + if m != nil { + return m.Reason + } + return "" } -func (m *CronJob) Reset() { *m = CronJob{} } -func (m *CronJob) String() string { return proto.CompactTextString(m) } -func (*CronJob) ProtoMessage() {} -func (*CronJob) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{85} +func (m *NamespaceCondition) GetMessage() string { + if m != nil { + return m.Message + } + return "" } -func (m *CronJob) XXX_Unmarshal(b []byte) error { + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L2036 +type Namespace struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + ConditionMessage string `protobuf:"bytes,3,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Conditions []*NamespaceCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` +} + +func (m *Namespace) Reset() { *m = Namespace{} } +func (m *Namespace) String() string { return proto.CompactTextString(m) } +func (*Namespace) ProtoMessage() {} +func (*Namespace) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{84} +} +func (m *Namespace) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CronJob.Marshal(b, m, deterministic) + return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8509,76 +8602,89 @@ func (m *CronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *CronJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_CronJob.Merge(m, src) +func (m *Namespace) XXX_Merge(src proto.Message) { + xxx_messageInfo_Namespace.Merge(m, src) } -func (m *CronJob) XXX_Size() int { +func (m *Namespace) XXX_Size() int { return m.Size() } -func (m *CronJob) XXX_DiscardUnknown() { - xxx_messageInfo_CronJob.DiscardUnknown(m) +func (m *Namespace) XXX_DiscardUnknown() { + xxx_messageInfo_Namespace.DiscardUnknown(m) } -var xxx_messageInfo_CronJob proto.InternalMessageInfo +var xxx_messageInfo_Namespace proto.InternalMessageInfo -func (m *CronJob) GetMetadata() *Metadata { +func (m *Namespace) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *CronJob) GetSpec() *CronJobSpec { +func (m *Namespace) GetStatus() string { if m != nil { - return m.Spec + return m.Status } - return nil + return "" } -func (m *CronJob) GetStatus() *CronJobStatus { +func (m *Namespace) GetConditionMessage() string { if m != nil { - return m.Status + return m.ConditionMessage } - return nil + return "" } // Deprecated: Do not use. -func (m *CronJob) GetYaml() []byte { +func (m *Namespace) GetYaml() []byte { if m != nil { return m.Yaml } return nil } -func (m *CronJob) GetTags() []string { +func (m *Namespace) GetTags() []string { if m != nil { return m.Tags } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L119 -type DaemonSetSpec struct { - Selectors []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` - DeploymentStrategy string `protobuf:"bytes,2,opt,name=deploymentStrategy,proto3" json:"deploymentStrategy,omitempty"` - MaxUnavailable string `protobuf:"bytes,3,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` - MinReadySeconds int32 `protobuf:"varint,4,opt,name=minReadySeconds,proto3" json:"minReadySeconds,omitempty"` - RevisionHistoryLimit int32 `protobuf:"varint,5,opt,name=revisionHistoryLimit,proto3" json:"revisionHistoryLimit,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,6,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` +func (m *Namespace) GetConditions() []*NamespaceCondition { + if m != nil { + return m.Conditions + } + return nil } -func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } -func (m *DaemonSetSpec) String() string { return proto.CompactTextString(m) } -func (*DaemonSetSpec) ProtoMessage() {} -func (*DaemonSetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{86} +// https://github.com/kubernetes/kubernetes/blob/4112d8db20c5550cc27d30d3cee2723db0f8e1c4/staging/src/k8s.io/api/core/v1/types.go#L2097 +// Using smallest possible quantity levels. +// For memory it is bytes, for CPU it is millicore. +type ResourceRequirements struct { + // Limits describes the maximum amount of compute resources allowed. + // Key/Value of a resource type and a corresponding quantity as an int64. + Limits map[string]int64 `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // Requests describes the minimum amount of compute resources required. + // Key/Value of a resource type and a corresponding quantity as an int64. + Requests map[string]int64 `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // Name describes the name of the holder of the resource requirements (e.g. a container name). + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // ResourceRequirementsType describes the type which uses the ResourceRequirements. + Type ResourceRequirementsType `protobuf:"varint,4,opt,name=type,proto3,enum=datadog.process_agent.ResourceRequirementsType" json:"type,omitempty"` } -func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error { + +func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } +func (m *ResourceRequirements) String() string { return proto.CompactTextString(m) } +func (*ResourceRequirements) ProtoMessage() {} +func (*ResourceRequirements) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{85} +} +func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaemonSetSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8588,83 +8694,114 @@ func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *DaemonSetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSetSpec.Merge(m, src) +func (m *ResourceRequirements) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceRequirements.Merge(m, src) } -func (m *DaemonSetSpec) XXX_Size() int { +func (m *ResourceRequirements) XXX_Size() int { return m.Size() } -func (m *DaemonSetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSetSpec.DiscardUnknown(m) +func (m *ResourceRequirements) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceRequirements.DiscardUnknown(m) } -var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo +var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo -func (m *DaemonSetSpec) GetSelectors() []*LabelSelectorRequirement { +func (m *ResourceRequirements) GetLimits() map[string]int64 { if m != nil { - return m.Selectors + return m.Limits } return nil } -func (m *DaemonSetSpec) GetDeploymentStrategy() string { +func (m *ResourceRequirements) GetRequests() map[string]int64 { if m != nil { - return m.DeploymentStrategy + return m.Requests } - return "" + return nil } -func (m *DaemonSetSpec) GetMaxUnavailable() string { +func (m *ResourceRequirements) GetName() string { if m != nil { - return m.MaxUnavailable + return m.Name } return "" } -func (m *DaemonSetSpec) GetMinReadySeconds() int32 { +func (m *ResourceRequirements) GetType() ResourceRequirementsType { if m != nil { - return m.MinReadySeconds + return m.Type } - return 0 + return ResourceRequirementsType_unknownType } -func (m *DaemonSetSpec) GetRevisionHistoryLimit() int32 { - if m != nil { - return m.RevisionHistoryLimit +// ResourceMetrics is used in backend enrichment. +type ResourceMetrics struct { + MetricValues map[string]float64 `protobuf:"bytes,1,rep,name=metricValues,proto3" json:"metricValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` +} + +func (m *ResourceMetrics) Reset() { *m = ResourceMetrics{} } +func (m *ResourceMetrics) String() string { return proto.CompactTextString(m) } +func (*ResourceMetrics) ProtoMessage() {} +func (*ResourceMetrics) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{86} +} +func (m *ResourceMetrics) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceMetrics.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 0 +} +func (m *ResourceMetrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceMetrics.Merge(m, src) +} +func (m *ResourceMetrics) XXX_Size() int { + return m.Size() +} +func (m *ResourceMetrics) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceMetrics.DiscardUnknown(m) } -func (m *DaemonSetSpec) GetResourceRequirements() []*ResourceRequirements { +var xxx_messageInfo_ResourceMetrics proto.InternalMessageInfo + +func (m *ResourceMetrics) GetMetricValues() map[string]float64 { if m != nil { - return m.ResourceRequirements + return m.MetricValues } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L152 -type DaemonSetStatus struct { - CurrentNumberScheduled int32 `protobuf:"varint,1,opt,name=currentNumberScheduled,proto3" json:"currentNumberScheduled,omitempty"` - NumberMisscheduled int32 `protobuf:"varint,2,opt,name=numberMisscheduled,proto3" json:"numberMisscheduled,omitempty"` - DesiredNumberScheduled int32 `protobuf:"varint,3,opt,name=desiredNumberScheduled,proto3" json:"desiredNumberScheduled,omitempty"` - NumberReady int32 `protobuf:"varint,4,opt,name=numberReady,proto3" json:"numberReady,omitempty"` - UpdatedNumberScheduled int32 `protobuf:"varint,6,opt,name=updatedNumberScheduled,proto3" json:"updatedNumberScheduled,omitempty"` - NumberAvailable int32 `protobuf:"varint,7,opt,name=numberAvailable,proto3" json:"numberAvailable,omitempty"` - NumberUnavailable int32 `protobuf:"varint,8,opt,name=numberUnavailable,proto3" json:"numberUnavailable,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L61 +type JobSpec struct { + Parallelism int32 `protobuf:"varint,1,opt,name=parallelism,proto3" json:"parallelism,omitempty"` + Completions int32 `protobuf:"varint,2,opt,name=completions,proto3" json:"completions,omitempty"` + ActiveDeadlineSeconds int64 `protobuf:"varint,3,opt,name=activeDeadlineSeconds,proto3" json:"activeDeadlineSeconds,omitempty"` + BackoffLimit int32 `protobuf:"varint,4,opt,name=backoffLimit,proto3" json:"backoffLimit,omitempty"` + Selectors []*LabelSelectorRequirement `protobuf:"bytes,5,rep,name=selectors,proto3" json:"selectors,omitempty"` + ManualSelector bool `protobuf:"varint,6,opt,name=manualSelector,proto3" json:"manualSelector,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } -func (m *DaemonSetStatus) String() string { return proto.CompactTextString(m) } -func (*DaemonSetStatus) ProtoMessage() {} -func (*DaemonSetStatus) Descriptor() ([]byte, []int) { +func (m *JobSpec) Reset() { *m = JobSpec{} } +func (m *JobSpec) String() string { return proto.CompactTextString(m) } +func (*JobSpec) ProtoMessage() {} +func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{87} } -func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error { +func (m *JobSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *JobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaemonSetStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_JobSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8674,88 +8811,89 @@ func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *DaemonSetStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSetStatus.Merge(m, src) +func (m *JobSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobSpec.Merge(m, src) } -func (m *DaemonSetStatus) XXX_Size() int { +func (m *JobSpec) XXX_Size() int { return m.Size() } -func (m *DaemonSetStatus) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSetStatus.DiscardUnknown(m) +func (m *JobSpec) XXX_DiscardUnknown() { + xxx_messageInfo_JobSpec.DiscardUnknown(m) } -var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo +var xxx_messageInfo_JobSpec proto.InternalMessageInfo -func (m *DaemonSetStatus) GetCurrentNumberScheduled() int32 { +func (m *JobSpec) GetParallelism() int32 { if m != nil { - return m.CurrentNumberScheduled + return m.Parallelism } return 0 } -func (m *DaemonSetStatus) GetNumberMisscheduled() int32 { +func (m *JobSpec) GetCompletions() int32 { if m != nil { - return m.NumberMisscheduled + return m.Completions } return 0 } -func (m *DaemonSetStatus) GetDesiredNumberScheduled() int32 { +func (m *JobSpec) GetActiveDeadlineSeconds() int64 { if m != nil { - return m.DesiredNumberScheduled + return m.ActiveDeadlineSeconds } return 0 } -func (m *DaemonSetStatus) GetNumberReady() int32 { +func (m *JobSpec) GetBackoffLimit() int32 { if m != nil { - return m.NumberReady + return m.BackoffLimit } return 0 } -func (m *DaemonSetStatus) GetUpdatedNumberScheduled() int32 { +func (m *JobSpec) GetSelectors() []*LabelSelectorRequirement { if m != nil { - return m.UpdatedNumberScheduled + return m.Selectors } - return 0 + return nil } -func (m *DaemonSetStatus) GetNumberAvailable() int32 { +func (m *JobSpec) GetManualSelector() bool { if m != nil { - return m.NumberAvailable + return m.ManualSelector } - return 0 + return false } -func (m *DaemonSetStatus) GetNumberUnavailable() int32 { +func (m *JobSpec) GetResourceRequirements() []*ResourceRequirements { if m != nil { - return m.NumberUnavailable + return m.ResourceRequirements } - return 0 + return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L87 -type DaemonSetCondition struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L132 +type JobStatus struct { + ConditionMessage string `protobuf:"bytes,1,opt,name=conditionMessage,proto3" json:"conditionMessage,omitempty"` + StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` + CompletionTime int64 `protobuf:"varint,3,opt,name=completionTime,proto3" json:"completionTime,omitempty"` + Active int32 `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"` + Succeeded int32 `protobuf:"varint,5,opt,name=succeeded,proto3" json:"succeeded,omitempty"` + Failed int32 `protobuf:"varint,6,opt,name=failed,proto3" json:"failed,omitempty"` } -func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} } -func (m *DaemonSetCondition) String() string { return proto.CompactTextString(m) } -func (*DaemonSetCondition) ProtoMessage() {} -func (*DaemonSetCondition) Descriptor() ([]byte, []int) { +func (m *JobStatus) Reset() { *m = JobStatus{} } +func (m *JobStatus) String() string { return proto.CompactTextString(m) } +func (*JobStatus) ProtoMessage() {} +func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{88} } -func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error { +func (m *JobStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaemonSetCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8765,76 +8903,82 @@ func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *DaemonSetCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSetCondition.Merge(m, src) +func (m *JobStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobStatus.Merge(m, src) } -func (m *DaemonSetCondition) XXX_Size() int { +func (m *JobStatus) XXX_Size() int { return m.Size() } -func (m *DaemonSetCondition) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSetCondition.DiscardUnknown(m) +func (m *JobStatus) XXX_DiscardUnknown() { + xxx_messageInfo_JobStatus.DiscardUnknown(m) } -var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo +var xxx_messageInfo_JobStatus proto.InternalMessageInfo -func (m *DaemonSetCondition) GetType() string { +func (m *JobStatus) GetConditionMessage() string { if m != nil { - return m.Type + return m.ConditionMessage } return "" } -func (m *DaemonSetCondition) GetStatus() string { +func (m *JobStatus) GetStartTime() int64 { if m != nil { - return m.Status + return m.StartTime } - return "" + return 0 } -func (m *DaemonSetCondition) GetLastTransitionTime() int64 { +func (m *JobStatus) GetCompletionTime() int64 { if m != nil { - return m.LastTransitionTime + return m.CompletionTime } return 0 } -func (m *DaemonSetCondition) GetReason() string { +func (m *JobStatus) GetActive() int32 { if m != nil { - return m.Reason + return m.Active } - return "" + return 0 } -func (m *DaemonSetCondition) GetMessage() string { +func (m *JobStatus) GetSucceeded() int32 { if m != nil { - return m.Message + return m.Succeeded } - return "" + return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L66 -type DaemonSet struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *DaemonSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *DaemonSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` - Conditions []*DaemonSetCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` +func (m *JobStatus) GetFailed() int32 { + if m != nil { + return m.Failed + } + return 0 } -func (m *DaemonSet) Reset() { *m = DaemonSet{} } -func (m *DaemonSet) String() string { return proto.CompactTextString(m) } -func (*DaemonSet) ProtoMessage() {} -func (*DaemonSet) Descriptor() ([]byte, []int) { +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/generated.proto#L51 +type JobCondition struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` + LastTransitionTime int64 `protobuf:"varint,4,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` +} + +func (m *JobCondition) Reset() { *m = JobCondition{} } +func (m *JobCondition) String() string { return proto.CompactTextString(m) } +func (*JobCondition) ProtoMessage() {} +func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{89} } -func (m *DaemonSet) XXX_Unmarshal(b []byte) error { +func (m *JobCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *JobCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaemonSet.Marshal(b, m, deterministic) + return xxx_messageInfo_JobCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8844,91 +8988,82 @@ func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DaemonSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaemonSet.Merge(m, src) +func (m *JobCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobCondition.Merge(m, src) } -func (m *DaemonSet) XXX_Size() int { +func (m *JobCondition) XXX_Size() int { return m.Size() } -func (m *DaemonSet) XXX_DiscardUnknown() { - xxx_messageInfo_DaemonSet.DiscardUnknown(m) +func (m *JobCondition) XXX_DiscardUnknown() { + xxx_messageInfo_JobCondition.DiscardUnknown(m) } -var xxx_messageInfo_DaemonSet proto.InternalMessageInfo - -func (m *DaemonSet) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} +var xxx_messageInfo_JobCondition proto.InternalMessageInfo -func (m *DaemonSet) GetSpec() *DaemonSetSpec { +func (m *JobCondition) GetType() string { if m != nil { - return m.Spec + return m.Type } - return nil + return "" } -func (m *DaemonSet) GetStatus() *DaemonSetStatus { +func (m *JobCondition) GetStatus() string { if m != nil { return m.Status } - return nil + return "" } -// Deprecated: Do not use. -func (m *DaemonSet) GetYaml() []byte { +func (m *JobCondition) GetLastProbeTime() int64 { if m != nil { - return m.Yaml + return m.LastProbeTime } - return nil + return 0 } -func (m *DaemonSet) GetTags() []string { +func (m *JobCondition) GetLastTransitionTime() int64 { if m != nil { - return m.Tags + return m.LastTransitionTime } - return nil + return 0 } -func (m *DaemonSet) GetMetrics() *ResourceMetrics { +func (m *JobCondition) GetReason() string { if m != nil { - return m.Metrics + return m.Reason } - return nil + return "" } -func (m *DaemonSet) GetConditions() []*DaemonSetCondition { +func (m *JobCondition) GetMessage() string { if m != nil { - return m.Conditions + return m.Message } - return nil + return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L586 -type StatefulSetSpec struct { - DesiredReplicas int32 `protobuf:"varint,1,opt,name=desiredReplicas,proto3" json:"desiredReplicas,omitempty"` - Selectors []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"` - ServiceName string `protobuf:"bytes,3,opt,name=serviceName,proto3" json:"serviceName,omitempty"` - PodManagementPolicy string `protobuf:"bytes,4,opt,name=podManagementPolicy,proto3" json:"podManagementPolicy,omitempty"` - UpdateStrategy string `protobuf:"bytes,5,opt,name=updateStrategy,proto3" json:"updateStrategy,omitempty"` - Partition int32 `protobuf:"varint,6,opt,name=partition,proto3" json:"partition,omitempty"` - ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1/types.go#L28 +type Job struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *JobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Conditions []*JobCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} } -func (m *StatefulSetSpec) String() string { return proto.CompactTextString(m) } -func (*StatefulSetSpec) ProtoMessage() {} -func (*StatefulSetSpec) Descriptor() ([]byte, []int) { +func (m *Job) Reset() { *m = Job{} } +func (m *Job) String() string { return proto.CompactTextString(m) } +func (*Job) ProtoMessage() {} +func (*Job) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{90} } -func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error { +func (m *Job) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StatefulSetSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_Job.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8938,87 +9073,84 @@ func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *StatefulSetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSetSpec.Merge(m, src) +func (m *Job) XXX_Merge(src proto.Message) { + xxx_messageInfo_Job.Merge(m, src) } -func (m *StatefulSetSpec) XXX_Size() int { +func (m *Job) XXX_Size() int { return m.Size() } -func (m *StatefulSetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSetSpec.DiscardUnknown(m) +func (m *Job) XXX_DiscardUnknown() { + xxx_messageInfo_Job.DiscardUnknown(m) } -var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo - -func (m *StatefulSetSpec) GetDesiredReplicas() int32 { - if m != nil { - return m.DesiredReplicas - } - return 0 -} +var xxx_messageInfo_Job proto.InternalMessageInfo -func (m *StatefulSetSpec) GetSelectors() []*LabelSelectorRequirement { +func (m *Job) GetMetadata() *Metadata { if m != nil { - return m.Selectors + return m.Metadata } return nil } -func (m *StatefulSetSpec) GetServiceName() string { +func (m *Job) GetSpec() *JobSpec { if m != nil { - return m.ServiceName + return m.Spec } - return "" + return nil } -func (m *StatefulSetSpec) GetPodManagementPolicy() string { +func (m *Job) GetStatus() *JobStatus { if m != nil { - return m.PodManagementPolicy + return m.Status } - return "" + return nil } -func (m *StatefulSetSpec) GetUpdateStrategy() string { +// Deprecated: Do not use. +func (m *Job) GetYaml() []byte { if m != nil { - return m.UpdateStrategy + return m.Yaml } - return "" + return nil } -func (m *StatefulSetSpec) GetPartition() int32 { +func (m *Job) GetTags() []string { if m != nil { - return m.Partition + return m.Tags } - return 0 + return nil } -func (m *StatefulSetSpec) GetResourceRequirements() []*ResourceRequirements { +func (m *Job) GetConditions() []*JobCondition { if m != nil { - return m.ResourceRequirements + return m.Conditions } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L647 -type StatefulSetStatus struct { - Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` - ReadyReplicas int32 `protobuf:"varint,2,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` - CurrentReplicas int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3" json:"currentReplicas,omitempty"` - UpdatedReplicas int32 `protobuf:"varint,4,opt,name=updatedReplicas,proto3" json:"updatedReplicas,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L92 +type CronJobSpec struct { + Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` + StartingDeadlineSeconds int64 `protobuf:"varint,2,opt,name=startingDeadlineSeconds,proto3" json:"startingDeadlineSeconds,omitempty"` + ConcurrencyPolicy string `protobuf:"bytes,3,opt,name=concurrencyPolicy,proto3" json:"concurrencyPolicy,omitempty"` + Suspend bool `protobuf:"varint,4,opt,name=suspend,proto3" json:"suspend,omitempty"` + SuccessfulJobsHistoryLimit int32 `protobuf:"varint,5,opt,name=successfulJobsHistoryLimit,proto3" json:"successfulJobsHistoryLimit,omitempty"` + FailedJobsHistoryLimit int32 `protobuf:"varint,6,opt,name=failedJobsHistoryLimit,proto3" json:"failedJobsHistoryLimit,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} } -func (m *StatefulSetStatus) String() string { return proto.CompactTextString(m) } -func (*StatefulSetStatus) ProtoMessage() {} -func (*StatefulSetStatus) Descriptor() ([]byte, []int) { +func (m *CronJobSpec) Reset() { *m = CronJobSpec{} } +func (m *CronJobSpec) String() string { return proto.CompactTextString(m) } +func (*CronJobSpec) ProtoMessage() {} +func (*CronJobSpec) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{91} } -func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error { +func (m *CronJobSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CronJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StatefulSetStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_CronJobSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9028,67 +9160,85 @@ func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *StatefulSetStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSetStatus.Merge(m, src) +func (m *CronJobSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_CronJobSpec.Merge(m, src) } -func (m *StatefulSetStatus) XXX_Size() int { +func (m *CronJobSpec) XXX_Size() int { return m.Size() } -func (m *StatefulSetStatus) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSetStatus.DiscardUnknown(m) +func (m *CronJobSpec) XXX_DiscardUnknown() { + xxx_messageInfo_CronJobSpec.DiscardUnknown(m) } -var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo +var xxx_messageInfo_CronJobSpec proto.InternalMessageInfo -func (m *StatefulSetStatus) GetReplicas() int32 { +func (m *CronJobSpec) GetSchedule() string { if m != nil { - return m.Replicas + return m.Schedule } - return 0 + return "" } -func (m *StatefulSetStatus) GetReadyReplicas() int32 { +func (m *CronJobSpec) GetStartingDeadlineSeconds() int64 { if m != nil { - return m.ReadyReplicas + return m.StartingDeadlineSeconds } return 0 } -func (m *StatefulSetStatus) GetCurrentReplicas() int32 { +func (m *CronJobSpec) GetConcurrencyPolicy() string { if m != nil { - return m.CurrentReplicas + return m.ConcurrencyPolicy + } + return "" +} + +func (m *CronJobSpec) GetSuspend() bool { + if m != nil { + return m.Suspend + } + return false +} + +func (m *CronJobSpec) GetSuccessfulJobsHistoryLimit() int32 { + if m != nil { + return m.SuccessfulJobsHistoryLimit } return 0 } -func (m *StatefulSetStatus) GetUpdatedReplicas() int32 { +func (m *CronJobSpec) GetFailedJobsHistoryLimit() int32 { if m != nil { - return m.UpdatedReplicas + return m.FailedJobsHistoryLimit } return 0 } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L557 -type StatefulSetCondition struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` +func (m *CronJobSpec) GetResourceRequirements() []*ResourceRequirements { + if m != nil { + return m.ResourceRequirements + } + return nil } -func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} } -func (m *StatefulSetCondition) String() string { return proto.CompactTextString(m) } -func (*StatefulSetCondition) ProtoMessage() {} -func (*StatefulSetCondition) Descriptor() ([]byte, []int) { +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L150 +type CronJobStatus struct { + Active []*ObjectReference `protobuf:"bytes,1,rep,name=active,proto3" json:"active,omitempty"` + LastScheduleTime int64 `protobuf:"varint,2,opt,name=lastScheduleTime,proto3" json:"lastScheduleTime,omitempty"` +} + +func (m *CronJobStatus) Reset() { *m = CronJobStatus{} } +func (m *CronJobStatus) String() string { return proto.CompactTextString(m) } +func (*CronJobStatus) ProtoMessage() {} +func (*CronJobStatus) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{92} } -func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error { +func (m *CronJobStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CronJobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StatefulSetCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_CronJobStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9098,76 +9248,53 @@ func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *StatefulSetCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSetCondition.Merge(m, src) +func (m *CronJobStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_CronJobStatus.Merge(m, src) } -func (m *StatefulSetCondition) XXX_Size() int { +func (m *CronJobStatus) XXX_Size() int { return m.Size() } -func (m *StatefulSetCondition) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSetCondition.DiscardUnknown(m) +func (m *CronJobStatus) XXX_DiscardUnknown() { + xxx_messageInfo_CronJobStatus.DiscardUnknown(m) } -var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo - -func (m *StatefulSetCondition) GetType() string { - if m != nil { - return m.Type - } - return "" -} +var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo -func (m *StatefulSetCondition) GetStatus() string { +func (m *CronJobStatus) GetActive() []*ObjectReference { if m != nil { - return m.Status + return m.Active } - return "" + return nil } -func (m *StatefulSetCondition) GetLastTransitionTime() int64 { +func (m *CronJobStatus) GetLastScheduleTime() int64 { if m != nil { - return m.LastTransitionTime + return m.LastScheduleTime } return 0 } -func (m *StatefulSetCondition) GetReason() string { - if m != nil { - return m.Reason - } - return "" -} - -func (m *StatefulSetCondition) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L542 -type StatefulSet struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *StatefulSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *StatefulSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` - Conditions []*StatefulSetCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/batch/v1beta1/types.go#L58 +type CronJob struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *CronJobSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *CronJobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *StatefulSet) Reset() { *m = StatefulSet{} } -func (m *StatefulSet) String() string { return proto.CompactTextString(m) } -func (*StatefulSet) ProtoMessage() {} -func (*StatefulSet) Descriptor() ([]byte, []int) { +func (m *CronJob) Reset() { *m = CronJob{} } +func (m *CronJob) String() string { return proto.CompactTextString(m) } +func (*CronJob) ProtoMessage() {} +func (*CronJob) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{93} } -func (m *StatefulSet) XXX_Unmarshal(b []byte) error { +func (m *CronJob) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StatefulSet.Marshal(b, m, deterministic) + return xxx_messageInfo_CronJob.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9177,33 +9304,33 @@ func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *StatefulSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulSet.Merge(m, src) +func (m *CronJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_CronJob.Merge(m, src) } -func (m *StatefulSet) XXX_Size() int { +func (m *CronJob) XXX_Size() int { return m.Size() } -func (m *StatefulSet) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulSet.DiscardUnknown(m) +func (m *CronJob) XXX_DiscardUnknown() { + xxx_messageInfo_CronJob.DiscardUnknown(m) } -var xxx_messageInfo_StatefulSet proto.InternalMessageInfo +var xxx_messageInfo_CronJob proto.InternalMessageInfo -func (m *StatefulSet) GetMetadata() *Metadata { +func (m *CronJob) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *StatefulSet) GetSpec() *StatefulSetSpec { +func (m *CronJob) GetSpec() *CronJobSpec { if m != nil { return m.Spec } return nil } -func (m *StatefulSet) GetStatus() *StatefulSetStatus { +func (m *CronJob) GetStatus() *CronJobStatus { if m != nil { return m.Status } @@ -9211,55 +9338,42 @@ func (m *StatefulSet) GetStatus() *StatefulSetStatus { } // Deprecated: Do not use. -func (m *StatefulSet) GetYaml() []byte { +func (m *CronJob) GetYaml() []byte { if m != nil { return m.Yaml } return nil } -func (m *StatefulSet) GetTags() []string { +func (m *CronJob) GetTags() []string { if m != nil { return m.Tags } return nil } -func (m *StatefulSet) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *StatefulSet) GetConditions() []*StatefulSetCondition { - if m != nil { - return m.Conditions - } - return nil -} - -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2576 -type PersistentVolume struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *PersistentVolumeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *PersistentVolumeStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L119 +type DaemonSetSpec struct { + Selectors []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` + DeploymentStrategy string `protobuf:"bytes,2,opt,name=deploymentStrategy,proto3" json:"deploymentStrategy,omitempty"` + MaxUnavailable string `protobuf:"bytes,3,opt,name=maxUnavailable,proto3" json:"maxUnavailable,omitempty"` + MinReadySeconds int32 `protobuf:"varint,4,opt,name=minReadySeconds,proto3" json:"minReadySeconds,omitempty"` + RevisionHistoryLimit int32 `protobuf:"varint,5,opt,name=revisionHistoryLimit,proto3" json:"revisionHistoryLimit,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,6,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` } -func (m *PersistentVolume) Reset() { *m = PersistentVolume{} } -func (m *PersistentVolume) String() string { return proto.CompactTextString(m) } -func (*PersistentVolume) ProtoMessage() {} -func (*PersistentVolume) Descriptor() ([]byte, []int) { +func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } +func (m *DaemonSetSpec) String() string { return proto.CompactTextString(m) } +func (*DaemonSetSpec) ProtoMessage() {} +func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{94} } -func (m *PersistentVolume) XXX_Unmarshal(b []byte) error { +func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolume.Marshal(b, m, deterministic) + return xxx_messageInfo_DaemonSetSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9269,83 +9383,83 @@ func (m *PersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *PersistentVolume) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolume.Merge(m, src) +func (m *DaemonSetSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DaemonSetSpec.Merge(m, src) } -func (m *PersistentVolume) XXX_Size() int { +func (m *DaemonSetSpec) XXX_Size() int { return m.Size() } -func (m *PersistentVolume) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolume.DiscardUnknown(m) +func (m *DaemonSetSpec) XXX_DiscardUnknown() { + xxx_messageInfo_DaemonSetSpec.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolume proto.InternalMessageInfo +var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo -func (m *PersistentVolume) GetMetadata() *Metadata { +func (m *DaemonSetSpec) GetSelectors() []*LabelSelectorRequirement { if m != nil { - return m.Metadata + return m.Selectors } return nil } -func (m *PersistentVolume) GetSpec() *PersistentVolumeSpec { +func (m *DaemonSetSpec) GetDeploymentStrategy() string { if m != nil { - return m.Spec + return m.DeploymentStrategy } - return nil + return "" } -func (m *PersistentVolume) GetStatus() *PersistentVolumeStatus { +func (m *DaemonSetSpec) GetMaxUnavailable() string { if m != nil { - return m.Status + return m.MaxUnavailable } - return nil + return "" } -// Deprecated: Do not use. -func (m *PersistentVolume) GetYaml() []byte { +func (m *DaemonSetSpec) GetMinReadySeconds() int32 { if m != nil { - return m.Yaml + return m.MinReadySeconds } - return nil + return 0 } -func (m *PersistentVolume) GetTags() []string { +func (m *DaemonSetSpec) GetRevisionHistoryLimit() int32 { if m != nil { - return m.Tags + return m.RevisionHistoryLimit + } + return 0 +} + +func (m *DaemonSetSpec) GetResourceRequirements() []*ResourceRequirements { + if m != nil { + return m.ResourceRequirements } return nil } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2889 -type PersistentVolumeSpec struct { - // Key/Value of a resource type and a corresponding quantity as an int64. - Capacity map[string]int64 `protobuf:"bytes,1,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // in kubernetes these are actually fields in a struct where only one can be set. - // For now we only set it to a string with the name. - PersistentVolumeType string `protobuf:"bytes,2,opt,name=persistentVolumeType,proto3" json:"persistentVolumeType,omitempty"` - AccessModes []string `protobuf:"bytes,3,rep,name=accessModes,proto3" json:"accessModes,omitempty"` - ClaimRef *ObjectReference `protobuf:"bytes,4,opt,name=claimRef,proto3" json:"claimRef,omitempty"` - PersistentVolumeReclaimPolicy string `protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,proto3" json:"persistentVolumeReclaimPolicy,omitempty"` - StorageClassName string `protobuf:"bytes,6,opt,name=storageClassName,proto3" json:"storageClassName,omitempty"` - MountOptions []string `protobuf:"bytes,7,rep,name=mountOptions,proto3" json:"mountOptions,omitempty"` - VolumeMode string `protobuf:"bytes,8,opt,name=volumeMode,proto3" json:"volumeMode,omitempty"` - NodeAffinity []*NodeSelectorTerm `protobuf:"bytes,9,rep,name=nodeAffinity,proto3" json:"nodeAffinity,omitempty"` - PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,10,opt,name=persistentVolumeSource,proto3" json:"persistentVolumeSource,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L152 +type DaemonSetStatus struct { + CurrentNumberScheduled int32 `protobuf:"varint,1,opt,name=currentNumberScheduled,proto3" json:"currentNumberScheduled,omitempty"` + NumberMisscheduled int32 `protobuf:"varint,2,opt,name=numberMisscheduled,proto3" json:"numberMisscheduled,omitempty"` + DesiredNumberScheduled int32 `protobuf:"varint,3,opt,name=desiredNumberScheduled,proto3" json:"desiredNumberScheduled,omitempty"` + NumberReady int32 `protobuf:"varint,4,opt,name=numberReady,proto3" json:"numberReady,omitempty"` + UpdatedNumberScheduled int32 `protobuf:"varint,6,opt,name=updatedNumberScheduled,proto3" json:"updatedNumberScheduled,omitempty"` + NumberAvailable int32 `protobuf:"varint,7,opt,name=numberAvailable,proto3" json:"numberAvailable,omitempty"` + NumberUnavailable int32 `protobuf:"varint,8,opt,name=numberUnavailable,proto3" json:"numberUnavailable,omitempty"` } -func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} } -func (m *PersistentVolumeSpec) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeSpec) ProtoMessage() {} -func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { +func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } +func (m *DaemonSetStatus) String() string { return proto.CompactTextString(m) } +func (*DaemonSetStatus) ProtoMessage() {} +func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{95} } -func (m *PersistentVolumeSpec) XXX_Unmarshal(b []byte) error { +func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_DaemonSetStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9355,109 +9469,88 @@ func (m *PersistentVolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *PersistentVolumeSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeSpec.Merge(m, src) +func (m *DaemonSetStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_DaemonSetStatus.Merge(m, src) } -func (m *PersistentVolumeSpec) XXX_Size() int { +func (m *DaemonSetStatus) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_PersistentVolumeSpec proto.InternalMessageInfo - -func (m *PersistentVolumeSpec) GetCapacity() map[string]int64 { - if m != nil { - return m.Capacity - } - return nil -} - -func (m *PersistentVolumeSpec) GetPersistentVolumeType() string { - if m != nil { - return m.PersistentVolumeType - } - return "" +func (m *DaemonSetStatus) XXX_DiscardUnknown() { + xxx_messageInfo_DaemonSetStatus.DiscardUnknown(m) } -func (m *PersistentVolumeSpec) GetAccessModes() []string { - if m != nil { - return m.AccessModes - } - return nil -} +var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo -func (m *PersistentVolumeSpec) GetClaimRef() *ObjectReference { +func (m *DaemonSetStatus) GetCurrentNumberScheduled() int32 { if m != nil { - return m.ClaimRef + return m.CurrentNumberScheduled } - return nil + return 0 } -func (m *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string { +func (m *DaemonSetStatus) GetNumberMisscheduled() int32 { if m != nil { - return m.PersistentVolumeReclaimPolicy + return m.NumberMisscheduled } - return "" + return 0 } -func (m *PersistentVolumeSpec) GetStorageClassName() string { +func (m *DaemonSetStatus) GetDesiredNumberScheduled() int32 { if m != nil { - return m.StorageClassName + return m.DesiredNumberScheduled } - return "" + return 0 } -func (m *PersistentVolumeSpec) GetMountOptions() []string { +func (m *DaemonSetStatus) GetNumberReady() int32 { if m != nil { - return m.MountOptions + return m.NumberReady } - return nil + return 0 } -func (m *PersistentVolumeSpec) GetVolumeMode() string { +func (m *DaemonSetStatus) GetUpdatedNumberScheduled() int32 { if m != nil { - return m.VolumeMode + return m.UpdatedNumberScheduled } - return "" + return 0 } -func (m *PersistentVolumeSpec) GetNodeAffinity() []*NodeSelectorTerm { +func (m *DaemonSetStatus) GetNumberAvailable() int32 { if m != nil { - return m.NodeAffinity + return m.NumberAvailable } - return nil + return 0 } -func (m *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource { +func (m *DaemonSetStatus) GetNumberUnavailable() int32 { if m != nil { - return m.PersistentVolumeSource + return m.NumberUnavailable } - return nil + return 0 } -// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L1722 -type PersistentVolumeSource struct { - GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,1,opt,name=gcePersistentDisk,proto3" json:"gcePersistentDisk,omitempty"` - AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,2,opt,name=awsElasticBlockStore,proto3" json:"awsElasticBlockStore,omitempty"` - AzureFile *AzureFilePersistentVolumeSource `protobuf:"bytes,3,opt,name=azureFile,proto3" json:"azureFile,omitempty"` - AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,4,opt,name=azureDisk,proto3" json:"azureDisk,omitempty"` - Csi *CSIVolumeSource `protobuf:"bytes,5,opt,name=csi,proto3" json:"csi,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L87 +type DaemonSetCondition struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} } -func (m *PersistentVolumeSource) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeSource) ProtoMessage() {} -func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { +func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} } +func (m *DaemonSetCondition) String() string { return proto.CompactTextString(m) } +func (*DaemonSetCondition) ProtoMessage() {} +func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{96} } -func (m *PersistentVolumeSource) XXX_Unmarshal(b []byte) error { +func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeSource.Marshal(b, m, deterministic) + return xxx_messageInfo_DaemonSetCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9467,73 +9560,76 @@ func (m *PersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *PersistentVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeSource.Merge(m, src) +func (m *DaemonSetCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_DaemonSetCondition.Merge(m, src) } -func (m *PersistentVolumeSource) XXX_Size() int { +func (m *DaemonSetCondition) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeSource.DiscardUnknown(m) +func (m *DaemonSetCondition) XXX_DiscardUnknown() { + xxx_messageInfo_DaemonSetCondition.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolumeSource proto.InternalMessageInfo +var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo -func (m *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource { +func (m *DaemonSetCondition) GetType() string { if m != nil { - return m.GcePersistentDisk + return m.Type } - return nil + return "" } -func (m *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource { +func (m *DaemonSetCondition) GetStatus() string { if m != nil { - return m.AwsElasticBlockStore + return m.Status } - return nil + return "" } -func (m *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource { +func (m *DaemonSetCondition) GetLastTransitionTime() int64 { if m != nil { - return m.AzureFile + return m.LastTransitionTime } - return nil + return 0 } -func (m *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource { +func (m *DaemonSetCondition) GetReason() string { if m != nil { - return m.AzureDisk + return m.Reason } - return nil + return "" } -func (m *PersistentVolumeSource) GetCsi() *CSIVolumeSource { +func (m *DaemonSetCondition) GetMessage() string { if m != nil { - return m.Csi + return m.Message } - return nil + return "" } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L1616 -type GCEPersistentDiskVolumeSource struct { - PdName string `protobuf:"bytes,1,opt,name=pdName,proto3" json:"pdName,omitempty"` - FsType string `protobuf:"bytes,2,opt,name=fsType,proto3" json:"fsType,omitempty"` - Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` - ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L66 +type DaemonSet struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *DaemonSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *DaemonSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` + Conditions []*DaemonSetCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} } -func (m *GCEPersistentDiskVolumeSource) String() string { return proto.CompactTextString(m) } -func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} -func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { +func (m *DaemonSet) Reset() { *m = DaemonSet{} } +func (m *DaemonSet) String() string { return proto.CompactTextString(m) } +func (*DaemonSet) ProtoMessage() {} +func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{97} } -func (m *GCEPersistentDiskVolumeSource) XXX_Unmarshal(b []byte) error { +func (m *DaemonSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GCEPersistentDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GCEPersistentDiskVolumeSource.Marshal(b, m, deterministic) + return xxx_messageInfo_DaemonSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9543,66 +9639,91 @@ func (m *GCEPersistentDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *GCEPersistentDiskVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GCEPersistentDiskVolumeSource.Merge(m, src) +func (m *DaemonSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_DaemonSet.Merge(m, src) } -func (m *GCEPersistentDiskVolumeSource) XXX_Size() int { +func (m *DaemonSet) XXX_Size() int { return m.Size() } -func (m *GCEPersistentDiskVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_GCEPersistentDiskVolumeSource.DiscardUnknown(m) +func (m *DaemonSet) XXX_DiscardUnknown() { + xxx_messageInfo_DaemonSet.DiscardUnknown(m) } -var xxx_messageInfo_GCEPersistentDiskVolumeSource proto.InternalMessageInfo +var xxx_messageInfo_DaemonSet proto.InternalMessageInfo -func (m *GCEPersistentDiskVolumeSource) GetPdName() string { +func (m *DaemonSet) GetMetadata() *Metadata { if m != nil { - return m.PdName + return m.Metadata } - return "" + return nil } -func (m *GCEPersistentDiskVolumeSource) GetFsType() string { +func (m *DaemonSet) GetSpec() *DaemonSetSpec { if m != nil { - return m.FsType + return m.Spec } - return "" + return nil } -func (m *GCEPersistentDiskVolumeSource) GetPartition() int32 { +func (m *DaemonSet) GetStatus() *DaemonSetStatus { if m != nil { - return m.Partition + return m.Status } - return 0 + return nil } -func (m *GCEPersistentDiskVolumeSource) GetReadOnly() bool { +// Deprecated: Do not use. +func (m *DaemonSet) GetYaml() []byte { if m != nil { - return m.ReadOnly + return m.Yaml } - return false + return nil } -// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L39 -type AWSElasticBlockStoreVolumeSource struct { - VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` - FsType string `protobuf:"bytes,2,opt,name=fsType,proto3" json:"fsType,omitempty"` - Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` - ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` +func (m *DaemonSet) GetTags() []string { + if m != nil { + return m.Tags + } + return nil } -func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} } -func (m *AWSElasticBlockStoreVolumeSource) String() string { return proto.CompactTextString(m) } -func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {} -func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) { +func (m *DaemonSet) GetMetrics() *ResourceMetrics { + if m != nil { + return m.Metrics + } + return nil +} + +func (m *DaemonSet) GetConditions() []*DaemonSetCondition { + if m != nil { + return m.Conditions + } + return nil +} + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L586 +type StatefulSetSpec struct { + DesiredReplicas int32 `protobuf:"varint,1,opt,name=desiredReplicas,proto3" json:"desiredReplicas,omitempty"` + Selectors []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=selectors,proto3" json:"selectors,omitempty"` + ServiceName string `protobuf:"bytes,3,opt,name=serviceName,proto3" json:"serviceName,omitempty"` + PodManagementPolicy string `protobuf:"bytes,4,opt,name=podManagementPolicy,proto3" json:"podManagementPolicy,omitempty"` + UpdateStrategy string `protobuf:"bytes,5,opt,name=updateStrategy,proto3" json:"updateStrategy,omitempty"` + Partition int32 `protobuf:"varint,6,opt,name=partition,proto3" json:"partition,omitempty"` + ResourceRequirements []*ResourceRequirements `protobuf:"bytes,7,rep,name=resourceRequirements,proto3" json:"resourceRequirements,omitempty"` +} + +func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} } +func (m *StatefulSetSpec) String() string { return proto.CompactTextString(m) } +func (*StatefulSetSpec) ProtoMessage() {} +func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{98} } -func (m *AWSElasticBlockStoreVolumeSource) XXX_Unmarshal(b []byte) error { +func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AWSElasticBlockStoreVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AWSElasticBlockStoreVolumeSource.Marshal(b, m, deterministic) + return xxx_messageInfo_StatefulSetSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9612,66 +9733,87 @@ func (m *AWSElasticBlockStoreVolumeSource) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *AWSElasticBlockStoreVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AWSElasticBlockStoreVolumeSource.Merge(m, src) +func (m *StatefulSetSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatefulSetSpec.Merge(m, src) } -func (m *AWSElasticBlockStoreVolumeSource) XXX_Size() int { +func (m *StatefulSetSpec) XXX_Size() int { return m.Size() } -func (m *AWSElasticBlockStoreVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_AWSElasticBlockStoreVolumeSource.DiscardUnknown(m) +func (m *StatefulSetSpec) XXX_DiscardUnknown() { + xxx_messageInfo_StatefulSetSpec.DiscardUnknown(m) } -var xxx_messageInfo_AWSElasticBlockStoreVolumeSource proto.InternalMessageInfo +var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo -func (m *AWSElasticBlockStoreVolumeSource) GetVolumeID() string { +func (m *StatefulSetSpec) GetDesiredReplicas() int32 { if m != nil { - return m.VolumeID + return m.DesiredReplicas + } + return 0 +} + +func (m *StatefulSetSpec) GetSelectors() []*LabelSelectorRequirement { + if m != nil { + return m.Selectors + } + return nil +} + +func (m *StatefulSetSpec) GetServiceName() string { + if m != nil { + return m.ServiceName } return "" } -func (m *AWSElasticBlockStoreVolumeSource) GetFsType() string { +func (m *StatefulSetSpec) GetPodManagementPolicy() string { if m != nil { - return m.FsType + return m.PodManagementPolicy } return "" } -func (m *AWSElasticBlockStoreVolumeSource) GetPartition() int32 { +func (m *StatefulSetSpec) GetUpdateStrategy() string { + if m != nil { + return m.UpdateStrategy + } + return "" +} + +func (m *StatefulSetSpec) GetPartition() int32 { if m != nil { return m.Partition } return 0 } -func (m *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool { +func (m *StatefulSetSpec) GetResourceRequirements() []*ResourceRequirements { if m != nil { - return m.ReadOnly + return m.ResourceRequirements } - return false + return nil } -// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L127 -type AzureFilePersistentVolumeSource struct { - SecretName string `protobuf:"bytes,1,opt,name=secretName,proto3" json:"secretName,omitempty"` - ShareName string `protobuf:"bytes,2,opt,name=shareName,proto3" json:"shareName,omitempty"` - ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` - SecretNamespace string `protobuf:"bytes,4,opt,name=secretNamespace,proto3" json:"secretNamespace,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L647 +type StatefulSetStatus struct { + Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` + ReadyReplicas int32 `protobuf:"varint,2,opt,name=readyReplicas,proto3" json:"readyReplicas,omitempty"` + CurrentReplicas int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3" json:"currentReplicas,omitempty"` + UpdatedReplicas int32 `protobuf:"varint,4,opt,name=updatedReplicas,proto3" json:"updatedReplicas,omitempty"` } -func (m *AzureFilePersistentVolumeSource) Reset() { *m = AzureFilePersistentVolumeSource{} } -func (m *AzureFilePersistentVolumeSource) String() string { return proto.CompactTextString(m) } -func (*AzureFilePersistentVolumeSource) ProtoMessage() {} -func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) { +func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} } +func (m *StatefulSetStatus) String() string { return proto.CompactTextString(m) } +func (*StatefulSetStatus) ProtoMessage() {} +func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{99} } -func (m *AzureFilePersistentVolumeSource) XXX_Unmarshal(b []byte) error { +func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AzureFilePersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AzureFilePersistentVolumeSource.Marshal(b, m, deterministic) + return xxx_messageInfo_StatefulSetStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9681,68 +9823,67 @@ func (m *AzureFilePersistentVolumeSource) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } -func (m *AzureFilePersistentVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AzureFilePersistentVolumeSource.Merge(m, src) +func (m *StatefulSetStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatefulSetStatus.Merge(m, src) } -func (m *AzureFilePersistentVolumeSource) XXX_Size() int { +func (m *StatefulSetStatus) XXX_Size() int { return m.Size() } -func (m *AzureFilePersistentVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_AzureFilePersistentVolumeSource.DiscardUnknown(m) +func (m *StatefulSetStatus) XXX_DiscardUnknown() { + xxx_messageInfo_StatefulSetStatus.DiscardUnknown(m) } -var xxx_messageInfo_AzureFilePersistentVolumeSource proto.InternalMessageInfo +var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo -func (m *AzureFilePersistentVolumeSource) GetSecretName() string { +func (m *StatefulSetStatus) GetReplicas() int32 { if m != nil { - return m.SecretName + return m.Replicas } - return "" + return 0 } -func (m *AzureFilePersistentVolumeSource) GetShareName() string { +func (m *StatefulSetStatus) GetReadyReplicas() int32 { if m != nil { - return m.ShareName + return m.ReadyReplicas } - return "" + return 0 } -func (m *AzureFilePersistentVolumeSource) GetReadOnly() bool { +func (m *StatefulSetStatus) GetCurrentReplicas() int32 { if m != nil { - return m.ReadOnly + return m.CurrentReplicas } - return false + return 0 } -func (m *AzureFilePersistentVolumeSource) GetSecretNamespace() string { +func (m *StatefulSetStatus) GetUpdatedReplicas() int32 { if m != nil { - return m.SecretNamespace + return m.UpdatedReplicas } - return "" + return 0 } -// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L100 -type AzureDiskVolumeSource struct { - DiskName string `protobuf:"bytes,1,opt,name=diskName,proto3" json:"diskName,omitempty"` - DiskURI string `protobuf:"bytes,2,opt,name=diskURI,proto3" json:"diskURI,omitempty"` - CachingMode string `protobuf:"bytes,3,opt,name=cachingMode,proto3" json:"cachingMode,omitempty"` - FsType string `protobuf:"bytes,4,opt,name=fsType,proto3" json:"fsType,omitempty"` - ReadOnly bool `protobuf:"varint,5,opt,name=readOnly,proto3" json:"readOnly,omitempty"` - Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L557 +type StatefulSetCondition struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} } -func (m *AzureDiskVolumeSource) String() string { return proto.CompactTextString(m) } -func (*AzureDiskVolumeSource) ProtoMessage() {} -func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { +func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} } +func (m *StatefulSetCondition) String() string { return proto.CompactTextString(m) } +func (*StatefulSetCondition) ProtoMessage() {} +func (*StatefulSetCondition) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{100} } -func (m *AzureDiskVolumeSource) XXX_Unmarshal(b []byte) error { +func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AzureDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AzureDiskVolumeSource.Marshal(b, m, deterministic) + return xxx_messageInfo_StatefulSetCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9752,86 +9893,76 @@ func (m *AzureDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *AzureDiskVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AzureDiskVolumeSource.Merge(m, src) +func (m *StatefulSetCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatefulSetCondition.Merge(m, src) } -func (m *AzureDiskVolumeSource) XXX_Size() int { +func (m *StatefulSetCondition) XXX_Size() int { return m.Size() } -func (m *AzureDiskVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_AzureDiskVolumeSource.DiscardUnknown(m) +func (m *StatefulSetCondition) XXX_DiscardUnknown() { + xxx_messageInfo_StatefulSetCondition.DiscardUnknown(m) } -var xxx_messageInfo_AzureDiskVolumeSource proto.InternalMessageInfo +var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo -func (m *AzureDiskVolumeSource) GetDiskName() string { +func (m *StatefulSetCondition) GetType() string { if m != nil { - return m.DiskName + return m.Type } return "" } -func (m *AzureDiskVolumeSource) GetDiskURI() string { +func (m *StatefulSetCondition) GetStatus() string { if m != nil { - return m.DiskURI + return m.Status } return "" } -func (m *AzureDiskVolumeSource) GetCachingMode() string { +func (m *StatefulSetCondition) GetLastTransitionTime() int64 { if m != nil { - return m.CachingMode + return m.LastTransitionTime } - return "" + return 0 } -func (m *AzureDiskVolumeSource) GetFsType() string { +func (m *StatefulSetCondition) GetReason() string { if m != nil { - return m.FsType + return m.Reason } return "" } -func (m *AzureDiskVolumeSource) GetReadOnly() bool { +func (m *StatefulSetCondition) GetMessage() string { if m != nil { - return m.ReadOnly + return m.Message } - return false + return "" } -func (m *AzureDiskVolumeSource) GetKind() string { - if m != nil { - return m.Kind - } - return "" +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/apps/v1/generated.proto#L542 +type StatefulSet struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *StatefulSetSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *StatefulSetStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` + Conditions []*StatefulSetCondition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` } -// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L172 -type CSIVolumeSource struct { - Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` - VolumeHandle string `protobuf:"bytes,2,opt,name=volumeHandle,proto3" json:"volumeHandle,omitempty"` - ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` - FsType string `protobuf:"bytes,4,opt,name=fsType,proto3" json:"fsType,omitempty"` - VolumeAttributes map[string]string `protobuf:"bytes,5,rep,name=volumeAttributes,proto3" json:"volumeAttributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ControllerPublishSecretRef *SecretReference `protobuf:"bytes,6,opt,name=controllerPublishSecretRef,proto3" json:"controllerPublishSecretRef,omitempty"` - NodeStageSecretRef *SecretReference `protobuf:"bytes,7,opt,name=nodeStageSecretRef,proto3" json:"nodeStageSecretRef,omitempty"` - NodePublishSecretRef *SecretReference `protobuf:"bytes,8,opt,name=nodePublishSecretRef,proto3" json:"nodePublishSecretRef,omitempty"` - ControllerExpandSecretRef *SecretReference `protobuf:"bytes,9,opt,name=controllerExpandSecretRef,proto3" json:"controllerExpandSecretRef,omitempty"` - NodeExpandSecretRef *SecretReference `protobuf:"bytes,10,opt,name=nodeExpandSecretRef,proto3" json:"nodeExpandSecretRef,omitempty"` -} - -func (m *CSIVolumeSource) Reset() { *m = CSIVolumeSource{} } -func (m *CSIVolumeSource) String() string { return proto.CompactTextString(m) } -func (*CSIVolumeSource) ProtoMessage() {} -func (*CSIVolumeSource) Descriptor() ([]byte, []int) { +func (m *StatefulSet) Reset() { *m = StatefulSet{} } +func (m *StatefulSet) String() string { return proto.CompactTextString(m) } +func (*StatefulSet) ProtoMessage() {} +func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{101} } -func (m *CSIVolumeSource) XXX_Unmarshal(b []byte) error { +func (m *StatefulSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CSIVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CSIVolumeSource.Marshal(b, m, deterministic) + return xxx_messageInfo_StatefulSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9841,106 +9972,89 @@ func (m *CSIVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *CSIVolumeSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_CSIVolumeSource.Merge(m, src) +func (m *StatefulSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatefulSet.Merge(m, src) } -func (m *CSIVolumeSource) XXX_Size() int { +func (m *StatefulSet) XXX_Size() int { return m.Size() } -func (m *CSIVolumeSource) XXX_DiscardUnknown() { - xxx_messageInfo_CSIVolumeSource.DiscardUnknown(m) -} - -var xxx_messageInfo_CSIVolumeSource proto.InternalMessageInfo - -func (m *CSIVolumeSource) GetDriver() string { - if m != nil { - return m.Driver - } - return "" -} - -func (m *CSIVolumeSource) GetVolumeHandle() string { - if m != nil { - return m.VolumeHandle - } - return "" +func (m *StatefulSet) XXX_DiscardUnknown() { + xxx_messageInfo_StatefulSet.DiscardUnknown(m) } -func (m *CSIVolumeSource) GetReadOnly() bool { - if m != nil { - return m.ReadOnly - } - return false -} +var xxx_messageInfo_StatefulSet proto.InternalMessageInfo -func (m *CSIVolumeSource) GetFsType() string { +func (m *StatefulSet) GetMetadata() *Metadata { if m != nil { - return m.FsType + return m.Metadata } - return "" + return nil } -func (m *CSIVolumeSource) GetVolumeAttributes() map[string]string { +func (m *StatefulSet) GetSpec() *StatefulSetSpec { if m != nil { - return m.VolumeAttributes + return m.Spec } return nil } -func (m *CSIVolumeSource) GetControllerPublishSecretRef() *SecretReference { +func (m *StatefulSet) GetStatus() *StatefulSetStatus { if m != nil { - return m.ControllerPublishSecretRef + return m.Status } return nil } -func (m *CSIVolumeSource) GetNodeStageSecretRef() *SecretReference { +// Deprecated: Do not use. +func (m *StatefulSet) GetYaml() []byte { if m != nil { - return m.NodeStageSecretRef + return m.Yaml } return nil } -func (m *CSIVolumeSource) GetNodePublishSecretRef() *SecretReference { +func (m *StatefulSet) GetTags() []string { if m != nil { - return m.NodePublishSecretRef + return m.Tags } return nil } -func (m *CSIVolumeSource) GetControllerExpandSecretRef() *SecretReference { +func (m *StatefulSet) GetMetrics() *ResourceMetrics { if m != nil { - return m.ControllerExpandSecretRef + return m.Metrics } return nil } -func (m *CSIVolumeSource) GetNodeExpandSecretRef() *SecretReference { +func (m *StatefulSet) GetConditions() []*StatefulSetCondition { if m != nil { - return m.NodeExpandSecretRef + return m.Conditions } return nil } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L4553 -type SecretReference struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2576 +type PersistentVolume struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *PersistentVolumeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *PersistentVolumeStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *SecretReference) Reset() { *m = SecretReference{} } -func (m *SecretReference) String() string { return proto.CompactTextString(m) } -func (*SecretReference) ProtoMessage() {} -func (*SecretReference) Descriptor() ([]byte, []int) { +func (m *PersistentVolume) Reset() { *m = PersistentVolume{} } +func (m *PersistentVolume) String() string { return proto.CompactTextString(m) } +func (*PersistentVolume) ProtoMessage() {} +func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{102} } -func (m *SecretReference) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolume) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SecretReference.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolume.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -9950,51 +10064,83 @@ func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *SecretReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecretReference.Merge(m, src) +func (m *PersistentVolume) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolume.Merge(m, src) } -func (m *SecretReference) XXX_Size() int { +func (m *PersistentVolume) XXX_Size() int { return m.Size() } -func (m *SecretReference) XXX_DiscardUnknown() { - xxx_messageInfo_SecretReference.DiscardUnknown(m) +func (m *PersistentVolume) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolume.DiscardUnknown(m) } -var xxx_messageInfo_SecretReference proto.InternalMessageInfo +var xxx_messageInfo_PersistentVolume proto.InternalMessageInfo -func (m *SecretReference) GetName() string { +func (m *PersistentVolume) GetMetadata() *Metadata { if m != nil { - return m.Name + return m.Metadata } - return "" + return nil } -func (m *SecretReference) GetNamespace() string { +func (m *PersistentVolume) GetSpec() *PersistentVolumeSpec { if m != nil { - return m.Namespace + return m.Spec } - return "" + return nil } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2940 -type PersistentVolumeStatus struct { - Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` +func (m *PersistentVolume) GetStatus() *PersistentVolumeStatus { + if m != nil { + return m.Status + } + return nil } -func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} } -func (m *PersistentVolumeStatus) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeStatus) ProtoMessage() {} -func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { +// Deprecated: Do not use. +func (m *PersistentVolume) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil +} + +func (m *PersistentVolume) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2889 +type PersistentVolumeSpec struct { + // Key/Value of a resource type and a corresponding quantity as an int64. + Capacity map[string]int64 `protobuf:"bytes,1,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // in kubernetes these are actually fields in a struct where only one can be set. + // For now we only set it to a string with the name. + PersistentVolumeType string `protobuf:"bytes,2,opt,name=persistentVolumeType,proto3" json:"persistentVolumeType,omitempty"` + AccessModes []string `protobuf:"bytes,3,rep,name=accessModes,proto3" json:"accessModes,omitempty"` + ClaimRef *ObjectReference `protobuf:"bytes,4,opt,name=claimRef,proto3" json:"claimRef,omitempty"` + PersistentVolumeReclaimPolicy string `protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,proto3" json:"persistentVolumeReclaimPolicy,omitempty"` + StorageClassName string `protobuf:"bytes,6,opt,name=storageClassName,proto3" json:"storageClassName,omitempty"` + MountOptions []string `protobuf:"bytes,7,rep,name=mountOptions,proto3" json:"mountOptions,omitempty"` + VolumeMode string `protobuf:"bytes,8,opt,name=volumeMode,proto3" json:"volumeMode,omitempty"` + NodeAffinity []*NodeSelectorTerm `protobuf:"bytes,9,rep,name=nodeAffinity,proto3" json:"nodeAffinity,omitempty"` + PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,10,opt,name=persistentVolumeSource,proto3" json:"persistentVolumeSource,omitempty"` +} + +func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} } +func (m *PersistentVolumeSpec) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeSpec) ProtoMessage() {} +func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptor_69b34851fbf62631, []int{103} } -func (m *PersistentVolumeStatus) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10004,112 +10150,109 @@ func (m *PersistentVolumeStatus) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *PersistentVolumeStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeStatus.Merge(m, src) +func (m *PersistentVolumeSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeSpec.Merge(m, src) } -func (m *PersistentVolumeStatus) XXX_Size() int { +func (m *PersistentVolumeSpec) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeStatus.DiscardUnknown(m) +func (m *PersistentVolumeSpec) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeSpec.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolumeStatus proto.InternalMessageInfo +var xxx_messageInfo_PersistentVolumeSpec proto.InternalMessageInfo -func (m *PersistentVolumeStatus) GetPhase() string { +func (m *PersistentVolumeSpec) GetCapacity() map[string]int64 { if m != nil { - return m.Phase + return m.Capacity } - return "" + return nil } -func (m *PersistentVolumeStatus) GetMessage() string { +func (m *PersistentVolumeSpec) GetPersistentVolumeType() string { if m != nil { - return m.Message + return m.PersistentVolumeType } return "" } -func (m *PersistentVolumeStatus) GetReason() string { +func (m *PersistentVolumeSpec) GetAccessModes() []string { if m != nil { - return m.Reason + return m.AccessModes } - return "" + return nil } -type NodeSelectorTerm struct { - MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"` - MatchFields []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields,proto3" json:"matchFields,omitempty"` +func (m *PersistentVolumeSpec) GetClaimRef() *ObjectReference { + if m != nil { + return m.ClaimRef + } + return nil } -func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} } -func (m *NodeSelectorTerm) String() string { return proto.CompactTextString(m) } -func (*NodeSelectorTerm) ProtoMessage() {} -func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{104} -} -func (m *NodeSelectorTerm) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NodeSelectorTerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NodeSelectorTerm.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string { + if m != nil { + return m.PersistentVolumeReclaimPolicy } + return "" } -func (m *NodeSelectorTerm) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeSelectorTerm.Merge(m, src) -} -func (m *NodeSelectorTerm) XXX_Size() int { - return m.Size() + +func (m *PersistentVolumeSpec) GetStorageClassName() string { + if m != nil { + return m.StorageClassName + } + return "" } -func (m *NodeSelectorTerm) XXX_DiscardUnknown() { - xxx_messageInfo_NodeSelectorTerm.DiscardUnknown(m) + +func (m *PersistentVolumeSpec) GetMountOptions() []string { + if m != nil { + return m.MountOptions + } + return nil } -var xxx_messageInfo_NodeSelectorTerm proto.InternalMessageInfo +func (m *PersistentVolumeSpec) GetVolumeMode() string { + if m != nil { + return m.VolumeMode + } + return "" +} -func (m *NodeSelectorTerm) GetMatchExpressions() []*LabelSelectorRequirement { +func (m *PersistentVolumeSpec) GetNodeAffinity() []*NodeSelectorTerm { if m != nil { - return m.MatchExpressions + return m.NodeAffinity } return nil } -func (m *NodeSelectorTerm) GetMatchFields() []*LabelSelectorRequirement { +func (m *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource { if m != nil { - return m.MatchFields + return m.PersistentVolumeSource } return nil } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2597 -type PersistentVolumeClaim struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *PersistentVolumeClaimStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` +// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L1722 +type PersistentVolumeSource struct { + GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,1,opt,name=gcePersistentDisk,proto3" json:"gcePersistentDisk,omitempty"` + AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,2,opt,name=awsElasticBlockStore,proto3" json:"awsElasticBlockStore,omitempty"` + AzureFile *AzureFilePersistentVolumeSource `protobuf:"bytes,3,opt,name=azureFile,proto3" json:"azureFile,omitempty"` + AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,4,opt,name=azureDisk,proto3" json:"azureDisk,omitempty"` + Csi *CSIVolumeSource `protobuf:"bytes,5,opt,name=csi,proto3" json:"csi,omitempty"` } -func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} } -func (m *PersistentVolumeClaim) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaim) ProtoMessage() {} -func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{105} +func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} } +func (m *PersistentVolumeSource) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeSource) ProtoMessage() {} +func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{104} } -func (m *PersistentVolumeClaim) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeClaim.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10119,74 +10262,73 @@ func (m *PersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *PersistentVolumeClaim) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaim.Merge(m, src) +func (m *PersistentVolumeSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeSource.Merge(m, src) } -func (m *PersistentVolumeClaim) XXX_Size() int { +func (m *PersistentVolumeSource) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeClaim) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaim.DiscardUnknown(m) +func (m *PersistentVolumeSource) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeSource.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolumeClaim proto.InternalMessageInfo +var xxx_messageInfo_PersistentVolumeSource proto.InternalMessageInfo -func (m *PersistentVolumeClaim) GetMetadata() *Metadata { +func (m *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource { if m != nil { - return m.Metadata + return m.GcePersistentDisk } return nil } -func (m *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec { +func (m *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource { if m != nil { - return m.Spec + return m.AwsElasticBlockStore } return nil } -func (m *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus { +func (m *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource { if m != nil { - return m.Status + return m.AzureFile } return nil } -// Deprecated: Do not use. -func (m *PersistentVolumeClaim) GetYaml() []byte { +func (m *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource { if m != nil { - return m.Yaml + return m.AzureDisk } return nil } -func (m *PersistentVolumeClaim) GetTags() []string { +func (m *PersistentVolumeSource) GetCsi() *CSIVolumeSource { if m != nil { - return m.Tags + return m.Csi } return nil } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2715 -type PersistentVolumeClaimStatus struct { - Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` - AccessModes []string `protobuf:"bytes,2,rep,name=accessModes,proto3" json:"accessModes,omitempty"` - Capacity map[string]int64 `protobuf:"bytes,3,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - Conditions []*PersistentVolumeClaimCondition `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L1616 +type GCEPersistentDiskVolumeSource struct { + PdName string `protobuf:"bytes,1,opt,name=pdName,proto3" json:"pdName,omitempty"` + FsType string `protobuf:"bytes,2,opt,name=fsType,proto3" json:"fsType,omitempty"` + Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` + ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` } -func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} } -func (m *PersistentVolumeClaimStatus) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaimStatus) ProtoMessage() {} -func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{106} +func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} } +func (m *GCEPersistentDiskVolumeSource) String() string { return proto.CompactTextString(m) } +func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} +func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{105} } -func (m *PersistentVolumeClaimStatus) XXX_Unmarshal(b []byte) error { +func (m *GCEPersistentDiskVolumeSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GCEPersistentDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeClaimStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_GCEPersistentDiskVolumeSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10196,69 +10338,66 @@ func (m *PersistentVolumeClaimStatus) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *PersistentVolumeClaimStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaimStatus.Merge(m, src) +func (m *GCEPersistentDiskVolumeSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_GCEPersistentDiskVolumeSource.Merge(m, src) } -func (m *PersistentVolumeClaimStatus) XXX_Size() int { +func (m *GCEPersistentDiskVolumeSource) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeClaimStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaimStatus.DiscardUnknown(m) +func (m *GCEPersistentDiskVolumeSource) XXX_DiscardUnknown() { + xxx_messageInfo_GCEPersistentDiskVolumeSource.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolumeClaimStatus proto.InternalMessageInfo +var xxx_messageInfo_GCEPersistentDiskVolumeSource proto.InternalMessageInfo -func (m *PersistentVolumeClaimStatus) GetPhase() string { +func (m *GCEPersistentDiskVolumeSource) GetPdName() string { if m != nil { - return m.Phase + return m.PdName } return "" } -func (m *PersistentVolumeClaimStatus) GetAccessModes() []string { +func (m *GCEPersistentDiskVolumeSource) GetFsType() string { if m != nil { - return m.AccessModes + return m.FsType } - return nil + return "" } -func (m *PersistentVolumeClaimStatus) GetCapacity() map[string]int64 { +func (m *GCEPersistentDiskVolumeSource) GetPartition() int32 { if m != nil { - return m.Capacity + return m.Partition } - return nil + return 0 } -func (m *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition { +func (m *GCEPersistentDiskVolumeSource) GetReadOnly() bool { if m != nil { - return m.Conditions + return m.ReadOnly } - return nil + return false } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2654 -type PersistentVolumeClaimSpec struct { - AccessModes []string `protobuf:"bytes,1,rep,name=accessModes,proto3" json:"accessModes,omitempty"` - Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` - VolumeName string `protobuf:"bytes,3,opt,name=volumeName,proto3" json:"volumeName,omitempty"` - Selector []*LabelSelectorRequirement `protobuf:"bytes,4,rep,name=selector,proto3" json:"selector,omitempty"` - StorageClassName string `protobuf:"bytes,5,opt,name=storageClassName,proto3" json:"storageClassName,omitempty"` - VolumeMode string `protobuf:"bytes,6,opt,name=volumeMode,proto3" json:"volumeMode,omitempty"` - DataSource *TypedLocalObjectReference `protobuf:"bytes,7,opt,name=dataSource,proto3" json:"dataSource,omitempty"` +// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L39 +type AWSElasticBlockStoreVolumeSource struct { + VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"` + FsType string `protobuf:"bytes,2,opt,name=fsType,proto3" json:"fsType,omitempty"` + Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` + ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` } -func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} } -func (m *PersistentVolumeClaimSpec) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaimSpec) ProtoMessage() {} -func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{107} +func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} } +func (m *AWSElasticBlockStoreVolumeSource) String() string { return proto.CompactTextString(m) } +func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {} +func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{106} } -func (m *PersistentVolumeClaimSpec) XXX_Unmarshal(b []byte) error { +func (m *AWSElasticBlockStoreVolumeSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AWSElasticBlockStoreVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeClaimSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_AWSElasticBlockStoreVolumeSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10268,86 +10407,66 @@ func (m *PersistentVolumeClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *PersistentVolumeClaimSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaimSpec.Merge(m, src) +func (m *AWSElasticBlockStoreVolumeSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_AWSElasticBlockStoreVolumeSource.Merge(m, src) } -func (m *PersistentVolumeClaimSpec) XXX_Size() int { +func (m *AWSElasticBlockStoreVolumeSource) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeClaimSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaimSpec.DiscardUnknown(m) +func (m *AWSElasticBlockStoreVolumeSource) XXX_DiscardUnknown() { + xxx_messageInfo_AWSElasticBlockStoreVolumeSource.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolumeClaimSpec proto.InternalMessageInfo - -func (m *PersistentVolumeClaimSpec) GetAccessModes() []string { - if m != nil { - return m.AccessModes - } - return nil -} +var xxx_messageInfo_AWSElasticBlockStoreVolumeSource proto.InternalMessageInfo -func (m *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements { +func (m *AWSElasticBlockStoreVolumeSource) GetVolumeID() string { if m != nil { - return m.Resources + return m.VolumeID } - return nil + return "" } -func (m *PersistentVolumeClaimSpec) GetVolumeName() string { +func (m *AWSElasticBlockStoreVolumeSource) GetFsType() string { if m != nil { - return m.VolumeName + return m.FsType } return "" } -func (m *PersistentVolumeClaimSpec) GetSelector() []*LabelSelectorRequirement { +func (m *AWSElasticBlockStoreVolumeSource) GetPartition() int32 { if m != nil { - return m.Selector + return m.Partition } - return nil + return 0 } -func (m *PersistentVolumeClaimSpec) GetStorageClassName() string { +func (m *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool { if m != nil { - return m.StorageClassName + return m.ReadOnly } - return "" + return false } -func (m *PersistentVolumeClaimSpec) GetVolumeMode() string { - if m != nil { - return m.VolumeMode - } - return "" +// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L127 +type AzureFilePersistentVolumeSource struct { + SecretName string `protobuf:"bytes,1,opt,name=secretName,proto3" json:"secretName,omitempty"` + ShareName string `protobuf:"bytes,2,opt,name=shareName,proto3" json:"shareName,omitempty"` + ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` + SecretNamespace string `protobuf:"bytes,4,opt,name=secretNamespace,proto3" json:"secretNamespace,omitempty"` } -func (m *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference { - if m != nil { - return m.DataSource - } - return nil +func (m *AzureFilePersistentVolumeSource) Reset() { *m = AzureFilePersistentVolumeSource{} } +func (m *AzureFilePersistentVolumeSource) String() string { return proto.CompactTextString(m) } +func (*AzureFilePersistentVolumeSource) ProtoMessage() {} +func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{107} } - -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L5327 -type TypedLocalObjectReference struct { - ApiGroup string `protobuf:"bytes,1,opt,name=apiGroup,proto3" json:"apiGroup,omitempty"` - Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` +func (m *AzureFilePersistentVolumeSource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *TypedLocalObjectReference) Reset() { *m = TypedLocalObjectReference{} } -func (m *TypedLocalObjectReference) String() string { return proto.CompactTextString(m) } -func (*TypedLocalObjectReference) ProtoMessage() {} -func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{108} -} -func (m *TypedLocalObjectReference) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *TypedLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AzureFilePersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TypedLocalObjectReference.Marshal(b, m, deterministic) + return xxx_messageInfo_AzureFilePersistentVolumeSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10357,61 +10476,68 @@ func (m *TypedLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *TypedLocalObjectReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_TypedLocalObjectReference.Merge(m, src) +func (m *AzureFilePersistentVolumeSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_AzureFilePersistentVolumeSource.Merge(m, src) } -func (m *TypedLocalObjectReference) XXX_Size() int { +func (m *AzureFilePersistentVolumeSource) XXX_Size() int { return m.Size() } -func (m *TypedLocalObjectReference) XXX_DiscardUnknown() { - xxx_messageInfo_TypedLocalObjectReference.DiscardUnknown(m) +func (m *AzureFilePersistentVolumeSource) XXX_DiscardUnknown() { + xxx_messageInfo_AzureFilePersistentVolumeSource.DiscardUnknown(m) } -var xxx_messageInfo_TypedLocalObjectReference proto.InternalMessageInfo +var xxx_messageInfo_AzureFilePersistentVolumeSource proto.InternalMessageInfo -func (m *TypedLocalObjectReference) GetApiGroup() string { +func (m *AzureFilePersistentVolumeSource) GetSecretName() string { if m != nil { - return m.ApiGroup + return m.SecretName } return "" } -func (m *TypedLocalObjectReference) GetKind() string { +func (m *AzureFilePersistentVolumeSource) GetShareName() string { if m != nil { - return m.Kind + return m.ShareName } return "" } -func (m *TypedLocalObjectReference) GetName() string { +func (m *AzureFilePersistentVolumeSource) GetReadOnly() bool { if m != nil { - return m.Name + return m.ReadOnly + } + return false +} + +func (m *AzureFilePersistentVolumeSource) GetSecretNamespace() string { + if m != nil { + return m.SecretNamespace } return "" } -// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2616 -type PersistentVolumeClaimCondition struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` - LastTransitionTime int64 `protobuf:"varint,4,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` +// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L100 +type AzureDiskVolumeSource struct { + DiskName string `protobuf:"bytes,1,opt,name=diskName,proto3" json:"diskName,omitempty"` + DiskURI string `protobuf:"bytes,2,opt,name=diskURI,proto3" json:"diskURI,omitempty"` + CachingMode string `protobuf:"bytes,3,opt,name=cachingMode,proto3" json:"cachingMode,omitempty"` + FsType string `protobuf:"bytes,4,opt,name=fsType,proto3" json:"fsType,omitempty"` + ReadOnly bool `protobuf:"varint,5,opt,name=readOnly,proto3" json:"readOnly,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` } -func (m *PersistentVolumeClaimCondition) Reset() { *m = PersistentVolumeClaimCondition{} } -func (m *PersistentVolumeClaimCondition) String() string { return proto.CompactTextString(m) } -func (*PersistentVolumeClaimCondition) ProtoMessage() {} -func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{109} +func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} } +func (m *AzureDiskVolumeSource) String() string { return proto.CompactTextString(m) } +func (*AzureDiskVolumeSource) ProtoMessage() {} +func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{108} } -func (m *PersistentVolumeClaimCondition) XXX_Unmarshal(b []byte) error { +func (m *AzureDiskVolumeSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PersistentVolumeClaimCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AzureDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PersistentVolumeClaimCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_AzureDiskVolumeSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10421,81 +10547,86 @@ func (m *PersistentVolumeClaimCondition) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *PersistentVolumeClaimCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersistentVolumeClaimCondition.Merge(m, src) +func (m *AzureDiskVolumeSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_AzureDiskVolumeSource.Merge(m, src) } -func (m *PersistentVolumeClaimCondition) XXX_Size() int { +func (m *AzureDiskVolumeSource) XXX_Size() int { return m.Size() } -func (m *PersistentVolumeClaimCondition) XXX_DiscardUnknown() { - xxx_messageInfo_PersistentVolumeClaimCondition.DiscardUnknown(m) +func (m *AzureDiskVolumeSource) XXX_DiscardUnknown() { + xxx_messageInfo_AzureDiskVolumeSource.DiscardUnknown(m) } -var xxx_messageInfo_PersistentVolumeClaimCondition proto.InternalMessageInfo +var xxx_messageInfo_AzureDiskVolumeSource proto.InternalMessageInfo -func (m *PersistentVolumeClaimCondition) GetType() string { +func (m *AzureDiskVolumeSource) GetDiskName() string { if m != nil { - return m.Type + return m.DiskName } return "" } -func (m *PersistentVolumeClaimCondition) GetStatus() string { +func (m *AzureDiskVolumeSource) GetDiskURI() string { if m != nil { - return m.Status + return m.DiskURI } return "" } -func (m *PersistentVolumeClaimCondition) GetLastProbeTime() int64 { +func (m *AzureDiskVolumeSource) GetCachingMode() string { if m != nil { - return m.LastProbeTime + return m.CachingMode } - return 0 + return "" } -func (m *PersistentVolumeClaimCondition) GetLastTransitionTime() int64 { +func (m *AzureDiskVolumeSource) GetFsType() string { if m != nil { - return m.LastTransitionTime + return m.FsType } - return 0 + return "" } -func (m *PersistentVolumeClaimCondition) GetReason() string { +func (m *AzureDiskVolumeSource) GetReadOnly() bool { if m != nil { - return m.Reason + return m.ReadOnly } - return "" + return false } -func (m *PersistentVolumeClaimCondition) GetMessage() string { +func (m *AzureDiskVolumeSource) GetKind() string { if m != nil { - return m.Message + return m.Kind } return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L94 -type PolicyRule struct { - Verbs []string `protobuf:"bytes,1,rep,name=verbs,proto3" json:"verbs,omitempty"` - ApiGroups []string `protobuf:"bytes,2,rep,name=apiGroups,proto3" json:"apiGroups,omitempty"` - Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` - ResourceNames []string `protobuf:"bytes,4,rep,name=resourceNames,proto3" json:"resourceNames,omitempty"` - NonResourceURLs []string `protobuf:"bytes,5,rep,name=nonResourceURLs,proto3" json:"nonResourceURLs,omitempty"` +// reference https://github.com/kubernetes/api/blob/release-1.27/core/v1/generated.proto#L172 +type CSIVolumeSource struct { + Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` + VolumeHandle string `protobuf:"bytes,2,opt,name=volumeHandle,proto3" json:"volumeHandle,omitempty"` + ReadOnly bool `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"` + FsType string `protobuf:"bytes,4,opt,name=fsType,proto3" json:"fsType,omitempty"` + VolumeAttributes map[string]string `protobuf:"bytes,5,rep,name=volumeAttributes,proto3" json:"volumeAttributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ControllerPublishSecretRef *SecretReference `protobuf:"bytes,6,opt,name=controllerPublishSecretRef,proto3" json:"controllerPublishSecretRef,omitempty"` + NodeStageSecretRef *SecretReference `protobuf:"bytes,7,opt,name=nodeStageSecretRef,proto3" json:"nodeStageSecretRef,omitempty"` + NodePublishSecretRef *SecretReference `protobuf:"bytes,8,opt,name=nodePublishSecretRef,proto3" json:"nodePublishSecretRef,omitempty"` + ControllerExpandSecretRef *SecretReference `protobuf:"bytes,9,opt,name=controllerExpandSecretRef,proto3" json:"controllerExpandSecretRef,omitempty"` + NodeExpandSecretRef *SecretReference `protobuf:"bytes,10,opt,name=nodeExpandSecretRef,proto3" json:"nodeExpandSecretRef,omitempty"` } -func (m *PolicyRule) Reset() { *m = PolicyRule{} } -func (m *PolicyRule) String() string { return proto.CompactTextString(m) } -func (*PolicyRule) ProtoMessage() {} -func (*PolicyRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{110} +func (m *CSIVolumeSource) Reset() { *m = CSIVolumeSource{} } +func (m *CSIVolumeSource) String() string { return proto.CompactTextString(m) } +func (*CSIVolumeSource) ProtoMessage() {} +func (*CSIVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{109} } -func (m *PolicyRule) XXX_Unmarshal(b []byte) error { +func (m *CSIVolumeSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CSIVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PolicyRule.Marshal(b, m, deterministic) + return xxx_messageInfo_CSIVolumeSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10505,73 +10636,106 @@ func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *PolicyRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyRule.Merge(m, src) +func (m *CSIVolumeSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_CSIVolumeSource.Merge(m, src) } -func (m *PolicyRule) XXX_Size() int { +func (m *CSIVolumeSource) XXX_Size() int { return m.Size() } -func (m *PolicyRule) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyRule.DiscardUnknown(m) +func (m *CSIVolumeSource) XXX_DiscardUnknown() { + xxx_messageInfo_CSIVolumeSource.DiscardUnknown(m) } -var xxx_messageInfo_PolicyRule proto.InternalMessageInfo +var xxx_messageInfo_CSIVolumeSource proto.InternalMessageInfo -func (m *PolicyRule) GetVerbs() []string { +func (m *CSIVolumeSource) GetDriver() string { if m != nil { - return m.Verbs + return m.Driver + } + return "" +} + +func (m *CSIVolumeSource) GetVolumeHandle() string { + if m != nil { + return m.VolumeHandle + } + return "" +} + +func (m *CSIVolumeSource) GetReadOnly() bool { + if m != nil { + return m.ReadOnly + } + return false +} + +func (m *CSIVolumeSource) GetFsType() string { + if m != nil { + return m.FsType + } + return "" +} + +func (m *CSIVolumeSource) GetVolumeAttributes() map[string]string { + if m != nil { + return m.VolumeAttributes } return nil } -func (m *PolicyRule) GetApiGroups() []string { +func (m *CSIVolumeSource) GetControllerPublishSecretRef() *SecretReference { if m != nil { - return m.ApiGroups + return m.ControllerPublishSecretRef } return nil } -func (m *PolicyRule) GetResources() []string { +func (m *CSIVolumeSource) GetNodeStageSecretRef() *SecretReference { if m != nil { - return m.Resources + return m.NodeStageSecretRef } return nil } -func (m *PolicyRule) GetResourceNames() []string { +func (m *CSIVolumeSource) GetNodePublishSecretRef() *SecretReference { if m != nil { - return m.ResourceNames + return m.NodePublishSecretRef } return nil } -func (m *PolicyRule) GetNonResourceURLs() []string { +func (m *CSIVolumeSource) GetControllerExpandSecretRef() *SecretReference { if m != nil { - return m.NonResourceURLs + return m.ControllerExpandSecretRef } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L180 -type Subject struct { - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - ApiGroup string `protobuf:"bytes,2,opt,name=apiGroup,proto3" json:"apiGroup,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` +func (m *CSIVolumeSource) GetNodeExpandSecretRef() *SecretReference { + if m != nil { + return m.NodeExpandSecretRef + } + return nil } -func (m *Subject) Reset() { *m = Subject{} } -func (m *Subject) String() string { return proto.CompactTextString(m) } -func (*Subject) ProtoMessage() {} -func (*Subject) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{111} +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L4553 +type SecretReference struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *Subject) XXX_Unmarshal(b []byte) error { + +func (m *SecretReference) Reset() { *m = SecretReference{} } +func (m *SecretReference) String() string { return proto.CompactTextString(m) } +func (*SecretReference) ProtoMessage() {} +func (*SecretReference) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{110} +} +func (m *SecretReference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Subject.Marshal(b, m, deterministic) + return xxx_messageInfo_SecretReference.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10581,66 +10745,51 @@ func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Subject) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subject.Merge(m, src) +func (m *SecretReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretReference.Merge(m, src) } -func (m *Subject) XXX_Size() int { +func (m *SecretReference) XXX_Size() int { return m.Size() } -func (m *Subject) XXX_DiscardUnknown() { - xxx_messageInfo_Subject.DiscardUnknown(m) -} - -var xxx_messageInfo_Subject proto.InternalMessageInfo - -func (m *Subject) GetKind() string { - if m != nil { - return m.Kind - } - return "" +func (m *SecretReference) XXX_DiscardUnknown() { + xxx_messageInfo_SecretReference.DiscardUnknown(m) } -func (m *Subject) GetApiGroup() string { - if m != nil { - return m.ApiGroup - } - return "" -} +var xxx_messageInfo_SecretReference proto.InternalMessageInfo -func (m *Subject) GetName() string { +func (m *SecretReference) GetName() string { if m != nil { return m.Name } return "" } -func (m *Subject) GetNamespace() string { +func (m *SecretReference) GetNamespace() string { if m != nil { return m.Namespace } return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L119 -type Role struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Rules []*PolicyRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` - Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2940 +type PersistentVolumeStatus struct { + Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` } -func (m *Role) Reset() { *m = Role{} } -func (m *Role) String() string { return proto.CompactTextString(m) } -func (*Role) ProtoMessage() {} -func (*Role) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{112} +func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} } +func (m *PersistentVolumeStatus) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeStatus) ProtoMessage() {} +func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{111} } -func (m *Role) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Role.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10650,68 +10799,56 @@ func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Role) XXX_Merge(src proto.Message) { - xxx_messageInfo_Role.Merge(m, src) +func (m *PersistentVolumeStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeStatus.Merge(m, src) } -func (m *Role) XXX_Size() int { +func (m *PersistentVolumeStatus) XXX_Size() int { return m.Size() } -func (m *Role) XXX_DiscardUnknown() { - xxx_messageInfo_Role.DiscardUnknown(m) +func (m *PersistentVolumeStatus) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeStatus.DiscardUnknown(m) } -var xxx_messageInfo_Role proto.InternalMessageInfo - -func (m *Role) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} +var xxx_messageInfo_PersistentVolumeStatus proto.InternalMessageInfo -func (m *Role) GetRules() []*PolicyRule { +func (m *PersistentVolumeStatus) GetPhase() string { if m != nil { - return m.Rules + return m.Phase } - return nil + return "" } -// Deprecated: Do not use. -func (m *Role) GetYaml() []byte { +func (m *PersistentVolumeStatus) GetMessage() string { if m != nil { - return m.Yaml + return m.Message } - return nil + return "" } -func (m *Role) GetTags() []string { +func (m *PersistentVolumeStatus) GetReason() string { if m != nil { - return m.Tags + return m.Reason } - return nil + return "" } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L132 -type RoleBinding struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` - RoleRef *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=roleRef,proto3" json:"roleRef,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` +type NodeSelectorTerm struct { + MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"` + MatchFields []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields,proto3" json:"matchFields,omitempty"` } -func (m *RoleBinding) Reset() { *m = RoleBinding{} } -func (m *RoleBinding) String() string { return proto.CompactTextString(m) } -func (*RoleBinding) ProtoMessage() {} -func (*RoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{113} +func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} } +func (m *NodeSelectorTerm) String() string { return proto.CompactTextString(m) } +func (*NodeSelectorTerm) ProtoMessage() {} +func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{112} } -func (m *RoleBinding) XXX_Unmarshal(b []byte) error { +func (m *NodeSelectorTerm) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *RoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *NodeSelectorTerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_RoleBinding.Marshal(b, m, deterministic) + return xxx_messageInfo_NodeSelectorTerm.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10721,76 +10858,53 @@ func (m *RoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *RoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoleBinding.Merge(m, src) +func (m *NodeSelectorTerm) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeSelectorTerm.Merge(m, src) } -func (m *RoleBinding) XXX_Size() int { +func (m *NodeSelectorTerm) XXX_Size() int { return m.Size() } -func (m *RoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_RoleBinding.DiscardUnknown(m) -} - -var xxx_messageInfo_RoleBinding proto.InternalMessageInfo - -func (m *RoleBinding) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *RoleBinding) GetSubjects() []*Subject { - if m != nil { - return m.Subjects - } - return nil +func (m *NodeSelectorTerm) XXX_DiscardUnknown() { + xxx_messageInfo_NodeSelectorTerm.DiscardUnknown(m) } -func (m *RoleBinding) GetRoleRef() *TypedLocalObjectReference { - if m != nil { - return m.RoleRef - } - return nil -} +var xxx_messageInfo_NodeSelectorTerm proto.InternalMessageInfo -// Deprecated: Do not use. -func (m *RoleBinding) GetYaml() []byte { +func (m *NodeSelectorTerm) GetMatchExpressions() []*LabelSelectorRequirement { if m != nil { - return m.Yaml + return m.MatchExpressions } return nil } -func (m *RoleBinding) GetTags() []string { +func (m *NodeSelectorTerm) GetMatchFields() []*LabelSelectorRequirement { if m != nil { - return m.Tags + return m.MatchFields } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L40 -type ClusterRole struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Rules []*PolicyRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` - AggregationRules []*LabelSelectorRequirement `protobuf:"bytes,3,rep,name=aggregationRules,proto3" json:"aggregationRules,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2597 +type PersistentVolumeClaim struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *PersistentVolumeClaimStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *ClusterRole) Reset() { *m = ClusterRole{} } -func (m *ClusterRole) String() string { return proto.CompactTextString(m) } -func (*ClusterRole) ProtoMessage() {} -func (*ClusterRole) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{114} +func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} } +func (m *PersistentVolumeClaim) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeClaim) ProtoMessage() {} +func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{113} } -func (m *ClusterRole) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ClusterRole.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeClaim.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10800,82 +10914,74 @@ func (m *ClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ClusterRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterRole.Merge(m, src) +func (m *PersistentVolumeClaim) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeClaim.Merge(m, src) } -func (m *ClusterRole) XXX_Size() int { +func (m *PersistentVolumeClaim) XXX_Size() int { return m.Size() } -func (m *ClusterRole) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterRole.DiscardUnknown(m) +func (m *PersistentVolumeClaim) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeClaim.DiscardUnknown(m) } -var xxx_messageInfo_ClusterRole proto.InternalMessageInfo +var xxx_messageInfo_PersistentVolumeClaim proto.InternalMessageInfo -func (m *ClusterRole) GetMetadata() *Metadata { +func (m *PersistentVolumeClaim) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *ClusterRole) GetRules() []*PolicyRule { +func (m *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec { if m != nil { - return m.Rules + return m.Spec } return nil } -func (m *ClusterRole) GetAggregationRules() []*LabelSelectorRequirement { +func (m *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus { if m != nil { - return m.AggregationRules + return m.Status } return nil } // Deprecated: Do not use. -func (m *ClusterRole) GetYaml() []byte { +func (m *PersistentVolumeClaim) GetYaml() []byte { if m != nil { return m.Yaml } return nil } -func (m *ClusterRole) GetTags() []string { +func (m *PersistentVolumeClaim) GetTags() []string { if m != nil { return m.Tags } return nil } -func (m *ClusterRole) GetMetrics() *ResourceMetrics { - if m != nil { - return m.Metrics - } - return nil -} - -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L58 -type ClusterRoleBinding struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` - RoleRef *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=roleRef,proto3" json:"roleRef,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2715 +type PersistentVolumeClaimStatus struct { + Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` + AccessModes []string `protobuf:"bytes,2,rep,name=accessModes,proto3" json:"accessModes,omitempty"` + Capacity map[string]int64 `protobuf:"bytes,3,rep,name=capacity,proto3" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Conditions []*PersistentVolumeClaimCondition `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} } -func (m *ClusterRoleBinding) String() string { return proto.CompactTextString(m) } -func (*ClusterRoleBinding) ProtoMessage() {} -func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{115} +func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} } +func (m *PersistentVolumeClaimStatus) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeClaimStatus) ProtoMessage() {} +func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{114} } -func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeClaimStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ClusterRoleBinding.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeClaimStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10885,76 +10991,69 @@ func (m *ClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *ClusterRoleBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterRoleBinding.Merge(m, src) +func (m *PersistentVolumeClaimStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeClaimStatus.Merge(m, src) } -func (m *ClusterRoleBinding) XXX_Size() int { +func (m *PersistentVolumeClaimStatus) XXX_Size() int { return m.Size() } -func (m *ClusterRoleBinding) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterRoleBinding.DiscardUnknown(m) +func (m *PersistentVolumeClaimStatus) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeClaimStatus.DiscardUnknown(m) } -var xxx_messageInfo_ClusterRoleBinding proto.InternalMessageInfo - -func (m *ClusterRoleBinding) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} +var xxx_messageInfo_PersistentVolumeClaimStatus proto.InternalMessageInfo -func (m *ClusterRoleBinding) GetSubjects() []*Subject { +func (m *PersistentVolumeClaimStatus) GetPhase() string { if m != nil { - return m.Subjects + return m.Phase } - return nil + return "" } -func (m *ClusterRoleBinding) GetRoleRef() *TypedLocalObjectReference { +func (m *PersistentVolumeClaimStatus) GetAccessModes() []string { if m != nil { - return m.RoleRef + return m.AccessModes } return nil } -// Deprecated: Do not use. -func (m *ClusterRoleBinding) GetYaml() []byte { +func (m *PersistentVolumeClaimStatus) GetCapacity() map[string]int64 { if m != nil { - return m.Yaml + return m.Capacity } return nil } -func (m *ClusterRoleBinding) GetTags() []string { +func (m *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition { if m != nil { - return m.Tags + return m.Conditions } return nil } -// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4495 -type ServiceAccount struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Secrets []*ObjectReference `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` - ImagePullSecrets []*TypedLocalObjectReference `protobuf:"bytes,3,rep,name=imagePullSecrets,proto3" json:"imagePullSecrets,omitempty"` - AutomountServiceAccountToken bool `protobuf:"varint,4,opt,name=automountServiceAccountToken,proto3" json:"automountServiceAccountToken,omitempty"` - Yaml []byte `protobuf:"bytes,5,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2654 +type PersistentVolumeClaimSpec struct { + AccessModes []string `protobuf:"bytes,1,rep,name=accessModes,proto3" json:"accessModes,omitempty"` + Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + VolumeName string `protobuf:"bytes,3,opt,name=volumeName,proto3" json:"volumeName,omitempty"` + Selector []*LabelSelectorRequirement `protobuf:"bytes,4,rep,name=selector,proto3" json:"selector,omitempty"` + StorageClassName string `protobuf:"bytes,5,opt,name=storageClassName,proto3" json:"storageClassName,omitempty"` + VolumeMode string `protobuf:"bytes,6,opt,name=volumeMode,proto3" json:"volumeMode,omitempty"` + DataSource *TypedLocalObjectReference `protobuf:"bytes,7,opt,name=dataSource,proto3" json:"dataSource,omitempty"` } -func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } -func (m *ServiceAccount) String() string { return proto.CompactTextString(m) } -func (*ServiceAccount) ProtoMessage() {} -func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{116} +func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} } +func (m *PersistentVolumeClaimSpec) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeClaimSpec) ProtoMessage() {} +func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{115} } -func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeClaimSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeClaimSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -10964,81 +11063,86 @@ func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(m, src) +func (m *PersistentVolumeClaimSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeClaimSpec.Merge(m, src) } -func (m *ServiceAccount) XXX_Size() int { +func (m *PersistentVolumeClaimSpec) XXX_Size() int { return m.Size() } -func (m *ServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccount.DiscardUnknown(m) +func (m *PersistentVolumeClaimSpec) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeClaimSpec.DiscardUnknown(m) } -var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo +var xxx_messageInfo_PersistentVolumeClaimSpec proto.InternalMessageInfo -func (m *ServiceAccount) GetMetadata() *Metadata { +func (m *PersistentVolumeClaimSpec) GetAccessModes() []string { if m != nil { - return m.Metadata + return m.AccessModes } return nil } -func (m *ServiceAccount) GetSecrets() []*ObjectReference { +func (m *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements { if m != nil { - return m.Secrets + return m.Resources } return nil } -func (m *ServiceAccount) GetImagePullSecrets() []*TypedLocalObjectReference { +func (m *PersistentVolumeClaimSpec) GetVolumeName() string { if m != nil { - return m.ImagePullSecrets + return m.VolumeName + } + return "" +} + +func (m *PersistentVolumeClaimSpec) GetSelector() []*LabelSelectorRequirement { + if m != nil { + return m.Selector } return nil } -func (m *ServiceAccount) GetAutomountServiceAccountToken() bool { +func (m *PersistentVolumeClaimSpec) GetStorageClassName() string { if m != nil { - return m.AutomountServiceAccountToken + return m.StorageClassName } - return false + return "" } -// Deprecated: Do not use. -func (m *ServiceAccount) GetYaml() []byte { +func (m *PersistentVolumeClaimSpec) GetVolumeMode() string { if m != nil { - return m.Yaml + return m.VolumeMode } - return nil + return "" } -func (m *ServiceAccount) GetTags() []string { +func (m *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference { if m != nil { - return m.Tags + return m.DataSource } return nil } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L259 -// Note: ServiceBackendPort (contains port name and number) is flattened. -type IngressServiceBackend struct { - ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"` - PortName string `protobuf:"bytes,2,opt,name=portName,proto3" json:"portName,omitempty"` - PortNumber int32 `protobuf:"varint,3,opt,name=portNumber,proto3" json:"portNumber,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L5327 +type TypedLocalObjectReference struct { + ApiGroup string `protobuf:"bytes,1,opt,name=apiGroup,proto3" json:"apiGroup,omitempty"` + Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (m *IngressServiceBackend) Reset() { *m = IngressServiceBackend{} } -func (m *IngressServiceBackend) String() string { return proto.CompactTextString(m) } -func (*IngressServiceBackend) ProtoMessage() {} -func (*IngressServiceBackend) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{117} +func (m *TypedLocalObjectReference) Reset() { *m = TypedLocalObjectReference{} } +func (m *TypedLocalObjectReference) String() string { return proto.CompactTextString(m) } +func (*TypedLocalObjectReference) ProtoMessage() {} +func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{116} } -func (m *IngressServiceBackend) XXX_Unmarshal(b []byte) error { +func (m *TypedLocalObjectReference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *IngressServiceBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TypedLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_IngressServiceBackend.Marshal(b, m, deterministic) + return xxx_messageInfo_TypedLocalObjectReference.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11048,57 +11152,61 @@ func (m *IngressServiceBackend) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *IngressServiceBackend) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressServiceBackend.Merge(m, src) +func (m *TypedLocalObjectReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_TypedLocalObjectReference.Merge(m, src) } -func (m *IngressServiceBackend) XXX_Size() int { +func (m *TypedLocalObjectReference) XXX_Size() int { return m.Size() } -func (m *IngressServiceBackend) XXX_DiscardUnknown() { - xxx_messageInfo_IngressServiceBackend.DiscardUnknown(m) +func (m *TypedLocalObjectReference) XXX_DiscardUnknown() { + xxx_messageInfo_TypedLocalObjectReference.DiscardUnknown(m) } -var xxx_messageInfo_IngressServiceBackend proto.InternalMessageInfo +var xxx_messageInfo_TypedLocalObjectReference proto.InternalMessageInfo -func (m *IngressServiceBackend) GetServiceName() string { +func (m *TypedLocalObjectReference) GetApiGroup() string { if m != nil { - return m.ServiceName + return m.ApiGroup } return "" } -func (m *IngressServiceBackend) GetPortName() string { +func (m *TypedLocalObjectReference) GetKind() string { if m != nil { - return m.PortName + return m.Kind } return "" } -func (m *IngressServiceBackend) GetPortNumber() int32 { +func (m *TypedLocalObjectReference) GetName() string { if m != nil { - return m.PortNumber + return m.Name } - return 0 + return "" } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L112 -type IngressBackend struct { - Service *IngressServiceBackend `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - Resource *TypedLocalObjectReference `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` +// reference https://github.com/kubernetes/api/blob/4bdcbc60ffeee2c04231f11ff114314c1a93ce65/core/v1/generated.proto#L2616 +type PersistentVolumeClaimCondition struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + LastProbeTime int64 `protobuf:"varint,3,opt,name=lastProbeTime,proto3" json:"lastProbeTime,omitempty"` + LastTransitionTime int64 `protobuf:"varint,4,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` } -func (m *IngressBackend) Reset() { *m = IngressBackend{} } -func (m *IngressBackend) String() string { return proto.CompactTextString(m) } -func (*IngressBackend) ProtoMessage() {} -func (*IngressBackend) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{118} +func (m *PersistentVolumeClaimCondition) Reset() { *m = PersistentVolumeClaimCondition{} } +func (m *PersistentVolumeClaimCondition) String() string { return proto.CompactTextString(m) } +func (*PersistentVolumeClaimCondition) ProtoMessage() {} +func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{117} } -func (m *IngressBackend) XXX_Unmarshal(b []byte) error { +func (m *PersistentVolumeClaimCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PersistentVolumeClaimCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_IngressBackend.Marshal(b, m, deterministic) + return xxx_messageInfo_PersistentVolumeClaimCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11108,104 +11216,81 @@ func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *IngressBackend) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressBackend.Merge(m, src) +func (m *PersistentVolumeClaimCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_PersistentVolumeClaimCondition.Merge(m, src) } -func (m *IngressBackend) XXX_Size() int { +func (m *PersistentVolumeClaimCondition) XXX_Size() int { return m.Size() } -func (m *IngressBackend) XXX_DiscardUnknown() { - xxx_messageInfo_IngressBackend.DiscardUnknown(m) +func (m *PersistentVolumeClaimCondition) XXX_DiscardUnknown() { + xxx_messageInfo_PersistentVolumeClaimCondition.DiscardUnknown(m) } -var xxx_messageInfo_IngressBackend proto.InternalMessageInfo +var xxx_messageInfo_PersistentVolumeClaimCondition proto.InternalMessageInfo -func (m *IngressBackend) GetService() *IngressServiceBackend { +func (m *PersistentVolumeClaimCondition) GetType() string { if m != nil { - return m.Service + return m.Type } - return nil + return "" } -func (m *IngressBackend) GetResource() *TypedLocalObjectReference { +func (m *PersistentVolumeClaimCondition) GetStatus() string { if m != nil { - return m.Resource + return m.Status } - return nil + return "" } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L315 -type IngressTLS struct { - Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` - SecretName string `protobuf:"bytes,2,opt,name=secretName,proto3" json:"secretName,omitempty"` +func (m *PersistentVolumeClaimCondition) GetLastProbeTime() int64 { + if m != nil { + return m.LastProbeTime + } + return 0 } -func (m *IngressTLS) Reset() { *m = IngressTLS{} } -func (m *IngressTLS) String() string { return proto.CompactTextString(m) } -func (*IngressTLS) ProtoMessage() {} -func (*IngressTLS) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{119} -} -func (m *IngressTLS) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressTLS.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *PersistentVolumeClaimCondition) GetLastTransitionTime() int64 { + if m != nil { + return m.LastTransitionTime } + return 0 } -func (m *IngressTLS) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressTLS.Merge(m, src) -} -func (m *IngressTLS) XXX_Size() int { - return m.Size() -} -func (m *IngressTLS) XXX_DiscardUnknown() { - xxx_messageInfo_IngressTLS.DiscardUnknown(m) -} - -var xxx_messageInfo_IngressTLS proto.InternalMessageInfo -func (m *IngressTLS) GetHosts() []string { +func (m *PersistentVolumeClaimCondition) GetReason() string { if m != nil { - return m.Hosts + return m.Reason } - return nil + return "" } -func (m *IngressTLS) GetSecretName() string { +func (m *PersistentVolumeClaimCondition) GetMessage() string { if m != nil { - return m.SecretName + return m.Message } return "" } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L35 -type HTTPIngressPath struct { - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - PathType string `protobuf:"bytes,3,opt,name=pathType,proto3" json:"pathType,omitempty"` - Backend *IngressBackend `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L94 +type PolicyRule struct { + Verbs []string `protobuf:"bytes,1,rep,name=verbs,proto3" json:"verbs,omitempty"` + ApiGroups []string `protobuf:"bytes,2,rep,name=apiGroups,proto3" json:"apiGroups,omitempty"` + Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` + ResourceNames []string `protobuf:"bytes,4,rep,name=resourceNames,proto3" json:"resourceNames,omitempty"` + NonResourceURLs []string `protobuf:"bytes,5,rep,name=nonResourceURLs,proto3" json:"nonResourceURLs,omitempty"` } -func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } -func (m *HTTPIngressPath) String() string { return proto.CompactTextString(m) } -func (*HTTPIngressPath) ProtoMessage() {} -func (*HTTPIngressPath) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{120} +func (m *PolicyRule) Reset() { *m = PolicyRule{} } +func (m *PolicyRule) String() string { return proto.CompactTextString(m) } +func (*PolicyRule) ProtoMessage() {} +func (*PolicyRule) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{118} } -func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error { +func (m *PolicyRule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HTTPIngressPath.Marshal(b, m, deterministic) + return xxx_messageInfo_PolicyRule.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11215,58 +11300,73 @@ func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *HTTPIngressPath) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPIngressPath.Merge(m, src) +func (m *PolicyRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyRule.Merge(m, src) } -func (m *HTTPIngressPath) XXX_Size() int { +func (m *PolicyRule) XXX_Size() int { return m.Size() } -func (m *HTTPIngressPath) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPIngressPath.DiscardUnknown(m) +func (m *PolicyRule) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyRule.DiscardUnknown(m) } -var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo +var xxx_messageInfo_PolicyRule proto.InternalMessageInfo -func (m *HTTPIngressPath) GetPath() string { +func (m *PolicyRule) GetVerbs() []string { if m != nil { - return m.Path + return m.Verbs } - return "" + return nil } -func (m *HTTPIngressPath) GetPathType() string { +func (m *PolicyRule) GetApiGroups() []string { if m != nil { - return m.PathType + return m.ApiGroups } - return "" + return nil } -func (m *HTTPIngressPath) GetBackend() *IngressBackend { +func (m *PolicyRule) GetResources() []string { if m != nil { - return m.Backend + return m.Resources } return nil } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L214 -// Note: IngressRuleValue and HTTPIngressRuleValue are flattened -type IngressRule struct { - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - HttpPaths []*HTTPIngressPath `protobuf:"bytes,2,rep,name=httpPaths,proto3" json:"httpPaths,omitempty"` +func (m *PolicyRule) GetResourceNames() []string { + if m != nil { + return m.ResourceNames + } + return nil } -func (m *IngressRule) Reset() { *m = IngressRule{} } -func (m *IngressRule) String() string { return proto.CompactTextString(m) } -func (*IngressRule) ProtoMessage() {} -func (*IngressRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{121} +func (m *PolicyRule) GetNonResourceURLs() []string { + if m != nil { + return m.NonResourceURLs + } + return nil } -func (m *IngressRule) XXX_Unmarshal(b []byte) error { + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L180 +type Subject struct { + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + ApiGroup string `protobuf:"bytes,2,opt,name=apiGroup,proto3" json:"apiGroup,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` +} + +func (m *Subject) Reset() { *m = Subject{} } +func (m *Subject) String() string { return proto.CompactTextString(m) } +func (*Subject) ProtoMessage() {} +func (*Subject) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{119} +} +func (m *Subject) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_IngressRule.Marshal(b, m, deterministic) + return xxx_messageInfo_Subject.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11276,52 +11376,66 @@ func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *IngressRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressRule.Merge(m, src) +func (m *Subject) XXX_Merge(src proto.Message) { + xxx_messageInfo_Subject.Merge(m, src) } -func (m *IngressRule) XXX_Size() int { +func (m *Subject) XXX_Size() int { return m.Size() } -func (m *IngressRule) XXX_DiscardUnknown() { - xxx_messageInfo_IngressRule.DiscardUnknown(m) +func (m *Subject) XXX_DiscardUnknown() { + xxx_messageInfo_Subject.DiscardUnknown(m) } -var xxx_messageInfo_IngressRule proto.InternalMessageInfo +var xxx_messageInfo_Subject proto.InternalMessageInfo -func (m *IngressRule) GetHost() string { +func (m *Subject) GetKind() string { if m != nil { - return m.Host + return m.Kind } return "" } -func (m *IngressRule) GetHttpPaths() []*HTTPIngressPath { +func (m *Subject) GetApiGroup() string { if m != nil { - return m.HttpPaths + return m.ApiGroup } - return nil + return "" } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L270 -type IngressSpec struct { - DefaultBackend *IngressBackend `protobuf:"bytes,1,opt,name=defaultBackend,proto3" json:"defaultBackend,omitempty"` - Tls []*IngressTLS `protobuf:"bytes,2,rep,name=tls,proto3" json:"tls,omitempty"` - Rules []*IngressRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` - IngressClassName string `protobuf:"bytes,4,opt,name=ingressClassName,proto3" json:"ingressClassName,omitempty"` +func (m *Subject) GetName() string { + if m != nil { + return m.Name + } + return "" } -func (m *IngressSpec) Reset() { *m = IngressSpec{} } -func (m *IngressSpec) String() string { return proto.CompactTextString(m) } -func (*IngressSpec) ProtoMessage() {} -func (*IngressSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{122} +func (m *Subject) GetNamespace() string { + if m != nil { + return m.Namespace + } + return "" } -func (m *IngressSpec) XXX_Unmarshal(b []byte) error { + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L119 +type Role struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Rules []*PolicyRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` + Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` +} + +func (m *Role) Reset() { *m = Role{} } +func (m *Role) String() string { return proto.CompactTextString(m) } +func (*Role) ProtoMessage() {} +func (*Role) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{120} +} +func (m *Role) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_IngressSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_Role.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11331,65 +11445,68 @@ func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *IngressSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressSpec.Merge(m, src) +func (m *Role) XXX_Merge(src proto.Message) { + xxx_messageInfo_Role.Merge(m, src) } -func (m *IngressSpec) XXX_Size() int { +func (m *Role) XXX_Size() int { return m.Size() } -func (m *IngressSpec) XXX_DiscardUnknown() { - xxx_messageInfo_IngressSpec.DiscardUnknown(m) +func (m *Role) XXX_DiscardUnknown() { + xxx_messageInfo_Role.DiscardUnknown(m) } -var xxx_messageInfo_IngressSpec proto.InternalMessageInfo +var xxx_messageInfo_Role proto.InternalMessageInfo -func (m *IngressSpec) GetDefaultBackend() *IngressBackend { +func (m *Role) GetMetadata() *Metadata { if m != nil { - return m.DefaultBackend + return m.Metadata } return nil } -func (m *IngressSpec) GetTls() []*IngressTLS { +func (m *Role) GetRules() []*PolicyRule { if m != nil { - return m.Tls + return m.Rules } return nil } -func (m *IngressSpec) GetRules() []*IngressRule { +// Deprecated: Do not use. +func (m *Role) GetYaml() []byte { if m != nil { - return m.Rules + return m.Yaml } return nil } -func (m *IngressSpec) GetIngressClassName() string { +func (m *Role) GetTags() []string { if m != nil { - return m.IngressClassName + return m.Tags } - return "" + return nil } -// reference https://github.com/kubernetes/api/blob/v0.21.5/core/v1/generated.proto#L3781 -type PortStatus struct { - Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` - Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L132 +type RoleBinding struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` + RoleRef *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=roleRef,proto3" json:"roleRef,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *PortStatus) Reset() { *m = PortStatus{} } -func (m *PortStatus) String() string { return proto.CompactTextString(m) } -func (*PortStatus) ProtoMessage() {} -func (*PortStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{123} +func (m *RoleBinding) Reset() { *m = RoleBinding{} } +func (m *RoleBinding) String() string { return proto.CompactTextString(m) } +func (*RoleBinding) ProtoMessage() {} +func (*RoleBinding) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{121} } -func (m *PortStatus) XXX_Unmarshal(b []byte) error { +func (m *RoleBinding) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *RoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PortStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_RoleBinding.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11399,58 +11516,76 @@ func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *PortStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PortStatus.Merge(m, src) +func (m *RoleBinding) XXX_Merge(src proto.Message) { + xxx_messageInfo_RoleBinding.Merge(m, src) } -func (m *PortStatus) XXX_Size() int { +func (m *RoleBinding) XXX_Size() int { return m.Size() } -func (m *PortStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PortStatus.DiscardUnknown(m) +func (m *RoleBinding) XXX_DiscardUnknown() { + xxx_messageInfo_RoleBinding.DiscardUnknown(m) } -var xxx_messageInfo_PortStatus proto.InternalMessageInfo +var xxx_messageInfo_RoleBinding proto.InternalMessageInfo -func (m *PortStatus) GetPort() int32 { +func (m *RoleBinding) GetMetadata() *Metadata { if m != nil { - return m.Port + return m.Metadata } - return 0 + return nil } -func (m *PortStatus) GetProtocol() string { +func (m *RoleBinding) GetSubjects() []*Subject { if m != nil { - return m.Protocol + return m.Subjects } - return "" + return nil } -func (m *PortStatus) GetError() string { +func (m *RoleBinding) GetRoleRef() *TypedLocalObjectReference { if m != nil { - return m.Error + return m.RoleRef } - return "" + return nil } -// reference https://github.com/kubernetes/api/blob/v0.21.5/core/v1/generated.proto#L2024 -type LoadBalancerIngress struct { - Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` - Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` - Ports []*PortStatus `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"` +// Deprecated: Do not use. +func (m *RoleBinding) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil } -func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} } -func (m *LoadBalancerIngress) String() string { return proto.CompactTextString(m) } -func (*LoadBalancerIngress) ProtoMessage() {} -func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{124} +func (m *RoleBinding) GetTags() []string { + if m != nil { + return m.Tags + } + return nil } -func (m *LoadBalancerIngress) XXX_Unmarshal(b []byte) error { + +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L40 +type ClusterRole struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Rules []*PolicyRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` + AggregationRules []*LabelSelectorRequirement `protobuf:"bytes,3,rep,name=aggregationRules,proto3" json:"aggregationRules,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Metrics *ResourceMetrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` +} + +func (m *ClusterRole) Reset() { *m = ClusterRole{} } +func (m *ClusterRole) String() string { return proto.CompactTextString(m) } +func (*ClusterRole) ProtoMessage() {} +func (*ClusterRole) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{122} +} +func (m *ClusterRole) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *LoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ClusterRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_LoadBalancerIngress.Marshal(b, m, deterministic) + return xxx_messageInfo_ClusterRole.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11460,106 +11595,82 @@ func (m *LoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *LoadBalancerIngress) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadBalancerIngress.Merge(m, src) +func (m *ClusterRole) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterRole.Merge(m, src) } -func (m *LoadBalancerIngress) XXX_Size() int { +func (m *ClusterRole) XXX_Size() int { return m.Size() } -func (m *LoadBalancerIngress) XXX_DiscardUnknown() { - xxx_messageInfo_LoadBalancerIngress.DiscardUnknown(m) +func (m *ClusterRole) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterRole.DiscardUnknown(m) } -var xxx_messageInfo_LoadBalancerIngress proto.InternalMessageInfo +var xxx_messageInfo_ClusterRole proto.InternalMessageInfo -func (m *LoadBalancerIngress) GetIp() string { +func (m *ClusterRole) GetMetadata() *Metadata { if m != nil { - return m.Ip + return m.Metadata } - return "" + return nil } -func (m *LoadBalancerIngress) GetHostname() string { +func (m *ClusterRole) GetRules() []*PolicyRule { if m != nil { - return m.Hostname + return m.Rules } - return "" + return nil } -func (m *LoadBalancerIngress) GetPorts() []*PortStatus { +func (m *ClusterRole) GetAggregationRules() []*LabelSelectorRequirement { if m != nil { - return m.Ports + return m.AggregationRules } return nil } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L308 -// LoadBalancerStatus is flattened -type IngressStatus struct { - Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress,proto3" json:"ingress,omitempty"` +// Deprecated: Do not use. +func (m *ClusterRole) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil } -func (m *IngressStatus) Reset() { *m = IngressStatus{} } -func (m *IngressStatus) String() string { return proto.CompactTextString(m) } -func (*IngressStatus) ProtoMessage() {} -func (*IngressStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{125} -} -func (m *IngressStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IngressStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *ClusterRole) GetTags() []string { + if m != nil { + return m.Tags } + return nil } -func (m *IngressStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_IngressStatus.Merge(m, src) -} -func (m *IngressStatus) XXX_Size() int { - return m.Size() -} -func (m *IngressStatus) XXX_DiscardUnknown() { - xxx_messageInfo_IngressStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_IngressStatus proto.InternalMessageInfo -func (m *IngressStatus) GetIngress() []*LoadBalancerIngress { +func (m *ClusterRole) GetMetrics() *ResourceMetrics { if m != nil { - return m.Ingress + return m.Metrics } return nil } -// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L94 -type Ingress struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *IngressSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *IngressStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/rbac/v1/generated.proto#L58 +type ClusterRoleBinding struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Subjects []*Subject `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"` + RoleRef *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=roleRef,proto3" json:"roleRef,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *Ingress) Reset() { *m = Ingress{} } -func (m *Ingress) String() string { return proto.CompactTextString(m) } -func (*Ingress) ProtoMessage() {} -func (*Ingress) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{126} +func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} } +func (m *ClusterRoleBinding) String() string { return proto.CompactTextString(m) } +func (*ClusterRoleBinding) ProtoMessage() {} +func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{123} } -func (m *Ingress) XXX_Unmarshal(b []byte) error { +func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Ingress.Marshal(b, m, deterministic) + return xxx_messageInfo_ClusterRoleBinding.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11569,71 +11680,76 @@ func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Ingress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ingress.Merge(m, src) +func (m *ClusterRoleBinding) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterRoleBinding.Merge(m, src) } -func (m *Ingress) XXX_Size() int { +func (m *ClusterRoleBinding) XXX_Size() int { return m.Size() } -func (m *Ingress) XXX_DiscardUnknown() { - xxx_messageInfo_Ingress.DiscardUnknown(m) +func (m *ClusterRoleBinding) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterRoleBinding.DiscardUnknown(m) } -var xxx_messageInfo_Ingress proto.InternalMessageInfo +var xxx_messageInfo_ClusterRoleBinding proto.InternalMessageInfo -func (m *Ingress) GetMetadata() *Metadata { +func (m *ClusterRoleBinding) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *Ingress) GetSpec() *IngressSpec { +func (m *ClusterRoleBinding) GetSubjects() []*Subject { if m != nil { - return m.Spec + return m.Subjects } return nil } -func (m *Ingress) GetStatus() *IngressStatus { +func (m *ClusterRoleBinding) GetRoleRef() *TypedLocalObjectReference { if m != nil { - return m.Status + return m.RoleRef } return nil } // Deprecated: Do not use. -func (m *Ingress) GetYaml() []byte { +func (m *ClusterRoleBinding) GetYaml() []byte { if m != nil { return m.Yaml } return nil } -func (m *Ingress) GetTags() []string { +func (m *ClusterRoleBinding) GetTags() []string { if m != nil { return m.Tags } return nil } -type KafkaRequestHeader struct { - RequestType uint32 `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"` - RequestVersion uint32 `protobuf:"varint,2,opt,name=request_version,json=requestVersion,proto3" json:"request_version,omitempty"` +// reference https://github.com/kubernetes/kubernetes/blob/cb19b56831d54d1d31249949318ef0b07bf00df9/staging/src/k8s.io/api/core/v1/generated.proto#L4495 +type ServiceAccount struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Secrets []*ObjectReference `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` + ImagePullSecrets []*TypedLocalObjectReference `protobuf:"bytes,3,rep,name=imagePullSecrets,proto3" json:"imagePullSecrets,omitempty"` + AutomountServiceAccountToken bool `protobuf:"varint,4,opt,name=automountServiceAccountToken,proto3" json:"automountServiceAccountToken,omitempty"` + Yaml []byte `protobuf:"bytes,5,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *KafkaRequestHeader) Reset() { *m = KafkaRequestHeader{} } -func (m *KafkaRequestHeader) String() string { return proto.CompactTextString(m) } -func (*KafkaRequestHeader) ProtoMessage() {} -func (*KafkaRequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{127} +func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } +func (m *ServiceAccount) String() string { return proto.CompactTextString(m) } +func (*ServiceAccount) ProtoMessage() {} +func (*ServiceAccount) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{124} } -func (m *KafkaRequestHeader) XXX_Unmarshal(b []byte) error { +func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *KafkaRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_KafkaRequestHeader.Marshal(b, m, deterministic) + return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11643,50 +11759,81 @@ func (m *KafkaRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *KafkaRequestHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_KafkaRequestHeader.Merge(m, src) +func (m *ServiceAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceAccount.Merge(m, src) } -func (m *KafkaRequestHeader) XXX_Size() int { +func (m *ServiceAccount) XXX_Size() int { return m.Size() } -func (m *KafkaRequestHeader) XXX_DiscardUnknown() { - xxx_messageInfo_KafkaRequestHeader.DiscardUnknown(m) +func (m *ServiceAccount) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceAccount.DiscardUnknown(m) } -var xxx_messageInfo_KafkaRequestHeader proto.InternalMessageInfo +var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo -func (m *KafkaRequestHeader) GetRequestType() uint32 { +func (m *ServiceAccount) GetMetadata() *Metadata { if m != nil { - return m.RequestType + return m.Metadata } - return 0 + return nil } -func (m *KafkaRequestHeader) GetRequestVersion() uint32 { +func (m *ServiceAccount) GetSecrets() []*ObjectReference { if m != nil { - return m.RequestVersion + return m.Secrets } - return 0 + return nil } -type KafkaAggregation struct { - Header *KafkaRequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` - Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` +func (m *ServiceAccount) GetImagePullSecrets() []*TypedLocalObjectReference { + if m != nil { + return m.ImagePullSecrets + } + return nil } -func (m *KafkaAggregation) Reset() { *m = KafkaAggregation{} } -func (m *KafkaAggregation) String() string { return proto.CompactTextString(m) } -func (*KafkaAggregation) ProtoMessage() {} -func (*KafkaAggregation) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{128} +func (m *ServiceAccount) GetAutomountServiceAccountToken() bool { + if m != nil { + return m.AutomountServiceAccountToken + } + return false } -func (m *KafkaAggregation) XXX_Unmarshal(b []byte) error { + +// Deprecated: Do not use. +func (m *ServiceAccount) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil +} + +func (m *ServiceAccount) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L259 +// Note: ServiceBackendPort (contains port name and number) is flattened. +type IngressServiceBackend struct { + ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"` + PortName string `protobuf:"bytes,2,opt,name=portName,proto3" json:"portName,omitempty"` + PortNumber int32 `protobuf:"varint,3,opt,name=portNumber,proto3" json:"portNumber,omitempty"` +} + +func (m *IngressServiceBackend) Reset() { *m = IngressServiceBackend{} } +func (m *IngressServiceBackend) String() string { return proto.CompactTextString(m) } +func (*IngressServiceBackend) ProtoMessage() {} +func (*IngressServiceBackend) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{125} +} +func (m *IngressServiceBackend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *KafkaAggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IngressServiceBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_KafkaAggregation.Marshal(b, m, deterministic) + return xxx_messageInfo_IngressServiceBackend.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11696,57 +11843,57 @@ func (m *KafkaAggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *KafkaAggregation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KafkaAggregation.Merge(m, src) +func (m *IngressServiceBackend) XXX_Merge(src proto.Message) { + xxx_messageInfo_IngressServiceBackend.Merge(m, src) } -func (m *KafkaAggregation) XXX_Size() int { +func (m *IngressServiceBackend) XXX_Size() int { return m.Size() } -func (m *KafkaAggregation) XXX_DiscardUnknown() { - xxx_messageInfo_KafkaAggregation.DiscardUnknown(m) +func (m *IngressServiceBackend) XXX_DiscardUnknown() { + xxx_messageInfo_IngressServiceBackend.DiscardUnknown(m) } -var xxx_messageInfo_KafkaAggregation proto.InternalMessageInfo +var xxx_messageInfo_IngressServiceBackend proto.InternalMessageInfo -func (m *KafkaAggregation) GetHeader() *KafkaRequestHeader { +func (m *IngressServiceBackend) GetServiceName() string { if m != nil { - return m.Header + return m.ServiceName } - return nil + return "" } -func (m *KafkaAggregation) GetTopic() string { +func (m *IngressServiceBackend) GetPortName() string { if m != nil { - return m.Topic + return m.PortName } return "" } -func (m *KafkaAggregation) GetCount() uint32 { +func (m *IngressServiceBackend) GetPortNumber() int32 { if m != nil { - return m.Count + return m.PortNumber } return 0 } -type DataStreamsAggregations struct { - KafkaProduceAggregations *DataStreamsAggregations_KafkaProduceAggregations `protobuf:"bytes,1,opt,name=kafkaProduceAggregations,proto3" json:"kafkaProduceAggregations,omitempty"` - KafkaFetchAggregations *DataStreamsAggregations_KafkaFetchAggregations `protobuf:"bytes,2,opt,name=kafkaFetchAggregations,proto3" json:"kafkaFetchAggregations,omitempty"` - KafkaAggregations []*KafkaAggregation `protobuf:"bytes,3,rep,name=kafkaAggregations,proto3" json:"kafkaAggregations,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L112 +type IngressBackend struct { + Service *IngressServiceBackend `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` + Resource *TypedLocalObjectReference `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *DataStreamsAggregations) Reset() { *m = DataStreamsAggregations{} } -func (m *DataStreamsAggregations) String() string { return proto.CompactTextString(m) } -func (*DataStreamsAggregations) ProtoMessage() {} -func (*DataStreamsAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{129} +func (m *IngressBackend) Reset() { *m = IngressBackend{} } +func (m *IngressBackend) String() string { return proto.CompactTextString(m) } +func (*IngressBackend) ProtoMessage() {} +func (*IngressBackend) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{126} } -func (m *DataStreamsAggregations) XXX_Unmarshal(b []byte) error { +func (m *IngressBackend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DataStreamsAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DataStreamsAggregations.Marshal(b, m, deterministic) + return xxx_messageInfo_IngressBackend.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11756,57 +11903,50 @@ func (m *DataStreamsAggregations) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *DataStreamsAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataStreamsAggregations.Merge(m, src) +func (m *IngressBackend) XXX_Merge(src proto.Message) { + xxx_messageInfo_IngressBackend.Merge(m, src) } -func (m *DataStreamsAggregations) XXX_Size() int { +func (m *IngressBackend) XXX_Size() int { return m.Size() } -func (m *DataStreamsAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_DataStreamsAggregations.DiscardUnknown(m) +func (m *IngressBackend) XXX_DiscardUnknown() { + xxx_messageInfo_IngressBackend.DiscardUnknown(m) } -var xxx_messageInfo_DataStreamsAggregations proto.InternalMessageInfo - -func (m *DataStreamsAggregations) GetKafkaProduceAggregations() *DataStreamsAggregations_KafkaProduceAggregations { - if m != nil { - return m.KafkaProduceAggregations - } - return nil -} +var xxx_messageInfo_IngressBackend proto.InternalMessageInfo -func (m *DataStreamsAggregations) GetKafkaFetchAggregations() *DataStreamsAggregations_KafkaFetchAggregations { +func (m *IngressBackend) GetService() *IngressServiceBackend { if m != nil { - return m.KafkaFetchAggregations + return m.Service } return nil } -func (m *DataStreamsAggregations) GetKafkaAggregations() []*KafkaAggregation { +func (m *IngressBackend) GetResource() *TypedLocalObjectReference { if m != nil { - return m.KafkaAggregations + return m.Resource } return nil } -// TopicStats, KafkaProduceAggregations, and KafkaFetchAggregations should be deleted once we change dd-go to support the new DataStreamsAggregations format -type DataStreamsAggregations_TopicStats struct { - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L315 +type IngressTLS struct { + Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` + SecretName string `protobuf:"bytes,2,opt,name=secretName,proto3" json:"secretName,omitempty"` } -func (m *DataStreamsAggregations_TopicStats) Reset() { *m = DataStreamsAggregations_TopicStats{} } -func (m *DataStreamsAggregations_TopicStats) String() string { return proto.CompactTextString(m) } -func (*DataStreamsAggregations_TopicStats) ProtoMessage() {} -func (*DataStreamsAggregations_TopicStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{129, 0} +func (m *IngressTLS) Reset() { *m = IngressTLS{} } +func (m *IngressTLS) String() string { return proto.CompactTextString(m) } +func (*IngressTLS) ProtoMessage() {} +func (*IngressTLS) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{127} } -func (m *DataStreamsAggregations_TopicStats) XXX_Unmarshal(b []byte) error { +func (m *IngressTLS) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DataStreamsAggregations_TopicStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DataStreamsAggregations_TopicStats.Marshal(b, m, deterministic) + return xxx_messageInfo_IngressTLS.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11816,52 +11956,51 @@ func (m *DataStreamsAggregations_TopicStats) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *DataStreamsAggregations_TopicStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataStreamsAggregations_TopicStats.Merge(m, src) +func (m *IngressTLS) XXX_Merge(src proto.Message) { + xxx_messageInfo_IngressTLS.Merge(m, src) } -func (m *DataStreamsAggregations_TopicStats) XXX_Size() int { +func (m *IngressTLS) XXX_Size() int { return m.Size() } -func (m *DataStreamsAggregations_TopicStats) XXX_DiscardUnknown() { - xxx_messageInfo_DataStreamsAggregations_TopicStats.DiscardUnknown(m) +func (m *IngressTLS) XXX_DiscardUnknown() { + xxx_messageInfo_IngressTLS.DiscardUnknown(m) } -var xxx_messageInfo_DataStreamsAggregations_TopicStats proto.InternalMessageInfo +var xxx_messageInfo_IngressTLS proto.InternalMessageInfo -func (m *DataStreamsAggregations_TopicStats) GetTopic() string { +func (m *IngressTLS) GetHosts() []string { if m != nil { - return m.Topic + return m.Hosts } - return "" + return nil } -func (m *DataStreamsAggregations_TopicStats) GetCount() uint32 { +func (m *IngressTLS) GetSecretName() string { if m != nil { - return m.Count + return m.SecretName } - return 0 + return "" } -type DataStreamsAggregations_KafkaProduceAggregations struct { - Stats []*DataStreamsAggregations_TopicStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L35 +type HTTPIngressPath struct { + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + PathType string `protobuf:"bytes,3,opt,name=pathType,proto3" json:"pathType,omitempty"` + Backend *IngressBackend `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` } -func (m *DataStreamsAggregations_KafkaProduceAggregations) Reset() { - *m = DataStreamsAggregations_KafkaProduceAggregations{} -} -func (m *DataStreamsAggregations_KafkaProduceAggregations) String() string { - return proto.CompactTextString(m) -} -func (*DataStreamsAggregations_KafkaProduceAggregations) ProtoMessage() {} -func (*DataStreamsAggregations_KafkaProduceAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{129, 1} +func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } +func (m *HTTPIngressPath) String() string { return proto.CompactTextString(m) } +func (*HTTPIngressPath) ProtoMessage() {} +func (*HTTPIngressPath) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{128} } -func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Unmarshal(b []byte) error { +func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations.Marshal(b, m, deterministic) + return xxx_messageInfo_HTTPIngressPath.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11871,45 +12010,58 @@ func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Marshal(b []byte, return b[:n], nil } } -func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations.Merge(m, src) +func (m *HTTPIngressPath) XXX_Merge(src proto.Message) { + xxx_messageInfo_HTTPIngressPath.Merge(m, src) } -func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Size() int { +func (m *HTTPIngressPath) XXX_Size() int { return m.Size() } -func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations.DiscardUnknown(m) +func (m *HTTPIngressPath) XXX_DiscardUnknown() { + xxx_messageInfo_HTTPIngressPath.DiscardUnknown(m) } -var xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations proto.InternalMessageInfo +var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo -func (m *DataStreamsAggregations_KafkaProduceAggregations) GetStats() []*DataStreamsAggregations_TopicStats { +func (m *HTTPIngressPath) GetPath() string { if m != nil { - return m.Stats + return m.Path } - return nil + return "" } -type DataStreamsAggregations_KafkaFetchAggregations struct { - Stats []*DataStreamsAggregations_TopicStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` +func (m *HTTPIngressPath) GetPathType() string { + if m != nil { + return m.PathType + } + return "" } -func (m *DataStreamsAggregations_KafkaFetchAggregations) Reset() { - *m = DataStreamsAggregations_KafkaFetchAggregations{} +func (m *HTTPIngressPath) GetBackend() *IngressBackend { + if m != nil { + return m.Backend + } + return nil } -func (m *DataStreamsAggregations_KafkaFetchAggregations) String() string { - return proto.CompactTextString(m) + +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L214 +// Note: IngressRuleValue and HTTPIngressRuleValue are flattened +type IngressRule struct { + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + HttpPaths []*HTTPIngressPath `protobuf:"bytes,2,rep,name=httpPaths,proto3" json:"httpPaths,omitempty"` } -func (*DataStreamsAggregations_KafkaFetchAggregations) ProtoMessage() {} -func (*DataStreamsAggregations_KafkaFetchAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{129, 2} + +func (m *IngressRule) Reset() { *m = IngressRule{} } +func (m *IngressRule) String() string { return proto.CompactTextString(m) } +func (*IngressRule) ProtoMessage() {} +func (*IngressRule) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{129} } -func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Unmarshal(b []byte) error { +func (m *IngressRule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations.Marshal(b, m, deterministic) + return xxx_messageInfo_IngressRule.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -11919,87 +12071,52 @@ func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Marshal(b []byte, d return b[:n], nil } } -func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations.Merge(m, src) +func (m *IngressRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_IngressRule.Merge(m, src) } -func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Size() int { +func (m *IngressRule) XXX_Size() int { return m.Size() } -func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations.DiscardUnknown(m) +func (m *IngressRule) XXX_DiscardUnknown() { + xxx_messageInfo_IngressRule.DiscardUnknown(m) } -var xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations proto.InternalMessageInfo +var xxx_messageInfo_IngressRule proto.InternalMessageInfo -func (m *DataStreamsAggregations_KafkaFetchAggregations) GetStats() []*DataStreamsAggregations_TopicStats { +func (m *IngressRule) GetHost() string { if m != nil { - return m.Stats + return m.Host } - return nil -} - -type HTTPAggregations struct { - EndpointAggregations []*HTTPStats `protobuf:"bytes,2,rep,name=endpointAggregations,proto3" json:"endpointAggregations,omitempty"` + return "" } -func (m *HTTPAggregations) Reset() { *m = HTTPAggregations{} } -func (m *HTTPAggregations) String() string { return proto.CompactTextString(m) } -func (*HTTPAggregations) ProtoMessage() {} -func (*HTTPAggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{130} -} -func (m *HTTPAggregations) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTPAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTPAggregations.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *HTTPAggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPAggregations.Merge(m, src) -} -func (m *HTTPAggregations) XXX_Size() int { - return m.Size() -} -func (m *HTTPAggregations) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPAggregations.DiscardUnknown(m) -} - -var xxx_messageInfo_HTTPAggregations proto.InternalMessageInfo - -func (m *HTTPAggregations) GetEndpointAggregations() []*HTTPStats { +func (m *IngressRule) GetHttpPaths() []*HTTPIngressPath { if m != nil { - return m.EndpointAggregations + return m.HttpPaths } return nil } -// The current state of HTTP2Aggregations is identical to that of HTTPAggregations. -// However, there is a possibility that additional fields might be added to it in the future. -type HTTP2Aggregations struct { - EndpointAggregations []*HTTPStats `protobuf:"bytes,1,rep,name=endpointAggregations,proto3" json:"endpointAggregations,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L270 +type IngressSpec struct { + DefaultBackend *IngressBackend `protobuf:"bytes,1,opt,name=defaultBackend,proto3" json:"defaultBackend,omitempty"` + Tls []*IngressTLS `protobuf:"bytes,2,rep,name=tls,proto3" json:"tls,omitempty"` + Rules []*IngressRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` + IngressClassName string `protobuf:"bytes,4,opt,name=ingressClassName,proto3" json:"ingressClassName,omitempty"` } -func (m *HTTP2Aggregations) Reset() { *m = HTTP2Aggregations{} } -func (m *HTTP2Aggregations) String() string { return proto.CompactTextString(m) } -func (*HTTP2Aggregations) ProtoMessage() {} -func (*HTTP2Aggregations) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{131} +func (m *IngressSpec) Reset() { *m = IngressSpec{} } +func (m *IngressSpec) String() string { return proto.CompactTextString(m) } +func (*IngressSpec) ProtoMessage() {} +func (*IngressSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{130} } -func (m *HTTP2Aggregations) XXX_Unmarshal(b []byte) error { +func (m *IngressSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HTTP2Aggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HTTP2Aggregations.Marshal(b, m, deterministic) + return xxx_messageInfo_IngressSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12009,137 +12126,65 @@ func (m *HTTP2Aggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *HTTP2Aggregations) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTP2Aggregations.Merge(m, src) +func (m *IngressSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_IngressSpec.Merge(m, src) } -func (m *HTTP2Aggregations) XXX_Size() int { +func (m *IngressSpec) XXX_Size() int { return m.Size() } -func (m *HTTP2Aggregations) XXX_DiscardUnknown() { - xxx_messageInfo_HTTP2Aggregations.DiscardUnknown(m) +func (m *IngressSpec) XXX_DiscardUnknown() { + xxx_messageInfo_IngressSpec.DiscardUnknown(m) } -var xxx_messageInfo_HTTP2Aggregations proto.InternalMessageInfo +var xxx_messageInfo_IngressSpec proto.InternalMessageInfo -func (m *HTTP2Aggregations) GetEndpointAggregations() []*HTTPStats { +func (m *IngressSpec) GetDefaultBackend() *IngressBackend { if m != nil { - return m.EndpointAggregations + return m.DefaultBackend } return nil } -type HTTPStats struct { - Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - Method HTTPMethod `protobuf:"varint,5,opt,name=method,proto3,enum=datadog.process_agent.HTTPMethod" json:"method,omitempty"` - // The agent can only read a limited part of the http header because - // of cpu/memory contraints. It is thus possible that the path is not - // read entirely. - // In case we're sure we've read the http path entirely, fullPath will - // be set to true. In any other cases, it would be set to false. - FullPath bool `protobuf:"varint,6,opt,name=fullPath,proto3" json:"fullPath,omitempty"` - StatsByResponseStatus []*HTTPStats_Data `protobuf:"bytes,1,rep,name=statsByResponseStatus,proto3" json:"statsByResponseStatus,omitempty"` - // This is a temporary field, that might be removed (and the index to be reserved) in the near future. - // This is the new format of saving aggregations. We support any status code rather than just the status code families - // as used in statsByResponseStatus. - StatsByStatusCode map[int32]*HTTPStats_Data `protobuf:"bytes,2,rep,name=statsByStatusCode,proto3" json:"statsByStatusCode,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (m *HTTPStats) Reset() { *m = HTTPStats{} } -func (m *HTTPStats) String() string { return proto.CompactTextString(m) } -func (*HTTPStats) ProtoMessage() {} -func (*HTTPStats) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{132} -} -func (m *HTTPStats) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HTTPStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HTTPStats.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *HTTPStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPStats.Merge(m, src) -} -func (m *HTTPStats) XXX_Size() int { - return m.Size() -} -func (m *HTTPStats) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPStats.DiscardUnknown(m) -} - -var xxx_messageInfo_HTTPStats proto.InternalMessageInfo - -func (m *HTTPStats) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *HTTPStats) GetMethod() HTTPMethod { - if m != nil { - return m.Method - } - return HTTPMethod_Unknown -} - -func (m *HTTPStats) GetFullPath() bool { +func (m *IngressSpec) GetTls() []*IngressTLS { if m != nil { - return m.FullPath + return m.Tls } - return false + return nil } -func (m *HTTPStats) GetStatsByResponseStatus() []*HTTPStats_Data { +func (m *IngressSpec) GetRules() []*IngressRule { if m != nil { - return m.StatsByResponseStatus + return m.Rules } return nil } -func (m *HTTPStats) GetStatsByStatusCode() map[int32]*HTTPStats_Data { +func (m *IngressSpec) GetIngressClassName() string { if m != nil { - return m.StatsByStatusCode + return m.IngressClassName } - return nil + return "" } -type HTTPStats_Data struct { - Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // a protobuf encoded sketch of all the requests in this HTTPStats. In nanoseconds. - // this will be nil if count == 1 - // To decode: - // use a protobuf library to decode this into a github.com/DataDog/sketches-go/ddsketch/pb/sketchpb.DDSketch - // then call github.com/DataDog/sketches-go/ddsketch.FromProto - // To encode: - // create a github.com/DataDog/sketches-go/ddsketch.DDSketch - // call ToProto() and then run through a protobuf encoder - Latencies []byte `protobuf:"bytes,2,opt,name=latencies,proto3" json:"latencies,omitempty"` - // if the HTTPStats has a single sample, this field will be the latency (in nanoseconds) of the only sample. - // this is purely to avoid the overhead of having single entry sketches. - FirstLatencySample float64 `protobuf:"fixed64,4,opt,name=firstLatencySample,proto3" json:"firstLatencySample,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/core/v1/generated.proto#L3781 +type PortStatus struct { + Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` + Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` + Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` } -func (m *HTTPStats_Data) Reset() { *m = HTTPStats_Data{} } -func (m *HTTPStats_Data) String() string { return proto.CompactTextString(m) } -func (*HTTPStats_Data) ProtoMessage() {} -func (*HTTPStats_Data) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{132, 1} +func (m *PortStatus) Reset() { *m = PortStatus{} } +func (m *PortStatus) String() string { return proto.CompactTextString(m) } +func (*PortStatus) ProtoMessage() {} +func (*PortStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{131} } -func (m *HTTPStats_Data) XXX_Unmarshal(b []byte) error { +func (m *PortStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HTTPStats_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HTTPStats_Data.Marshal(b, m, deterministic) + return xxx_messageInfo_PortStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12149,57 +12194,58 @@ func (m *HTTPStats_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *HTTPStats_Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPStats_Data.Merge(m, src) +func (m *PortStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_PortStatus.Merge(m, src) } -func (m *HTTPStats_Data) XXX_Size() int { +func (m *PortStatus) XXX_Size() int { return m.Size() } -func (m *HTTPStats_Data) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPStats_Data.DiscardUnknown(m) +func (m *PortStatus) XXX_DiscardUnknown() { + xxx_messageInfo_PortStatus.DiscardUnknown(m) } -var xxx_messageInfo_HTTPStats_Data proto.InternalMessageInfo +var xxx_messageInfo_PortStatus proto.InternalMessageInfo -func (m *HTTPStats_Data) GetCount() uint32 { +func (m *PortStatus) GetPort() int32 { if m != nil { - return m.Count + return m.Port } return 0 } -func (m *HTTPStats_Data) GetLatencies() []byte { +func (m *PortStatus) GetProtocol() string { if m != nil { - return m.Latencies + return m.Protocol } - return nil + return "" } -func (m *HTTPStats_Data) GetFirstLatencySample() float64 { +func (m *PortStatus) GetError() string { if m != nil { - return m.FirstLatencySample + return m.Error } - return 0 + return "" } -// replaces DNSEntry. Is a list of DNS names that a given IP resolved to. -// List of offsets into the EncodedDomainDatabase. -type DNSDatabaseEntry struct { - NameOffsets []int32 `protobuf:"varint,1,rep,name=nameOffsets,proto3" json:"nameOffsets,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/core/v1/generated.proto#L2024 +type LoadBalancerIngress struct { + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` + Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` + Ports []*PortStatus `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *DNSDatabaseEntry) Reset() { *m = DNSDatabaseEntry{} } -func (m *DNSDatabaseEntry) String() string { return proto.CompactTextString(m) } -func (*DNSDatabaseEntry) ProtoMessage() {} -func (*DNSDatabaseEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{133} +func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} } +func (m *LoadBalancerIngress) String() string { return proto.CompactTextString(m) } +func (*LoadBalancerIngress) ProtoMessage() {} +func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{132} } -func (m *DNSDatabaseEntry) XXX_Unmarshal(b []byte) error { +func (m *LoadBalancerIngress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DNSDatabaseEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *LoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DNSDatabaseEntry.Marshal(b, m, deterministic) + return xxx_messageInfo_LoadBalancerIngress.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12209,43 +12255,57 @@ func (m *DNSDatabaseEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *DNSDatabaseEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_DNSDatabaseEntry.Merge(m, src) +func (m *LoadBalancerIngress) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadBalancerIngress.Merge(m, src) } -func (m *DNSDatabaseEntry) XXX_Size() int { +func (m *LoadBalancerIngress) XXX_Size() int { return m.Size() } -func (m *DNSDatabaseEntry) XXX_DiscardUnknown() { - xxx_messageInfo_DNSDatabaseEntry.DiscardUnknown(m) +func (m *LoadBalancerIngress) XXX_DiscardUnknown() { + xxx_messageInfo_LoadBalancerIngress.DiscardUnknown(m) } -var xxx_messageInfo_DNSDatabaseEntry proto.InternalMessageInfo +var xxx_messageInfo_LoadBalancerIngress proto.InternalMessageInfo -func (m *DNSDatabaseEntry) GetNameOffsets() []int32 { +func (m *LoadBalancerIngress) GetIp() string { if m != nil { - return m.NameOffsets + return m.Ip + } + return "" +} + +func (m *LoadBalancerIngress) GetHostname() string { + if m != nil { + return m.Hostname + } + return "" +} + +func (m *LoadBalancerIngress) GetPorts() []*PortStatus { + if m != nil { + return m.Ports } return nil } -// ResourceList is a set of (resource name, quantity) pairs -// https://pkg.go.dev/k8s.io/api/core/v1#ResourceList -type ResourceList struct { - MetricValues map[string]float64 `protobuf:"bytes,1,rep,name=metricValues,proto3" json:"metricValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L308 +// LoadBalancerStatus is flattened +type IngressStatus struct { + Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress,proto3" json:"ingress,omitempty"` } -func (m *ResourceList) Reset() { *m = ResourceList{} } -func (m *ResourceList) String() string { return proto.CompactTextString(m) } -func (*ResourceList) ProtoMessage() {} -func (*ResourceList) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{134} +func (m *IngressStatus) Reset() { *m = IngressStatus{} } +func (m *IngressStatus) String() string { return proto.CompactTextString(m) } +func (*IngressStatus) ProtoMessage() {} +func (*IngressStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{133} } -func (m *ResourceList) XXX_Unmarshal(b []byte) error { +func (m *IngressStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ResourceList.Marshal(b, m, deterministic) + return xxx_messageInfo_IngressStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12255,47 +12315,46 @@ func (m *ResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ResourceList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceList.Merge(m, src) +func (m *IngressStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_IngressStatus.Merge(m, src) } -func (m *ResourceList) XXX_Size() int { +func (m *IngressStatus) XXX_Size() int { return m.Size() } -func (m *ResourceList) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceList.DiscardUnknown(m) +func (m *IngressStatus) XXX_DiscardUnknown() { + xxx_messageInfo_IngressStatus.DiscardUnknown(m) } -var xxx_messageInfo_ResourceList proto.InternalMessageInfo +var xxx_messageInfo_IngressStatus proto.InternalMessageInfo -func (m *ResourceList) GetMetricValues() map[string]float64 { +func (m *IngressStatus) GetIngress() []*LoadBalancerIngress { if m != nil { - return m.MetricValues + return m.Ingress } return nil } -// https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go -type VerticalPodAutoscaler struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *VerticalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *VerticalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Conditions []*VerticalPodAutoscalerCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` +// reference https://github.com/kubernetes/api/blob/v0.21.5/networking/v1/generated.proto#L94 +type Ingress struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *IngressSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *IngressStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *VerticalPodAutoscaler) Reset() { *m = VerticalPodAutoscaler{} } -func (m *VerticalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscaler) ProtoMessage() {} -func (*VerticalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{135} +func (m *Ingress) Reset() { *m = Ingress{} } +func (m *Ingress) String() string { return proto.CompactTextString(m) } +func (*Ingress) ProtoMessage() {} +func (*Ingress) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{134} } -func (m *VerticalPodAutoscaler) XXX_Unmarshal(b []byte) error { +func (m *Ingress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *VerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_VerticalPodAutoscaler.Marshal(b, m, deterministic) + return xxx_messageInfo_Ingress.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12305,33 +12364,33 @@ func (m *VerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *VerticalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscaler.Merge(m, src) +func (m *Ingress) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ingress.Merge(m, src) } -func (m *VerticalPodAutoscaler) XXX_Size() int { +func (m *Ingress) XXX_Size() int { return m.Size() } -func (m *VerticalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscaler.DiscardUnknown(m) +func (m *Ingress) XXX_DiscardUnknown() { + xxx_messageInfo_Ingress.DiscardUnknown(m) } -var xxx_messageInfo_VerticalPodAutoscaler proto.InternalMessageInfo +var xxx_messageInfo_Ingress proto.InternalMessageInfo -func (m *VerticalPodAutoscaler) GetMetadata() *Metadata { +func (m *Ingress) GetMetadata() *Metadata { if m != nil { return m.Metadata } return nil } -func (m *VerticalPodAutoscaler) GetSpec() *VerticalPodAutoscalerSpec { +func (m *Ingress) GetSpec() *IngressSpec { if m != nil { return m.Spec } return nil } -func (m *VerticalPodAutoscaler) GetStatus() *VerticalPodAutoscalerStatus { +func (m *Ingress) GetStatus() *IngressStatus { if m != nil { return m.Status } @@ -12339,48 +12398,37 @@ func (m *VerticalPodAutoscaler) GetStatus() *VerticalPodAutoscalerStatus { } // Deprecated: Do not use. -func (m *VerticalPodAutoscaler) GetYaml() []byte { +func (m *Ingress) GetYaml() []byte { if m != nil { return m.Yaml } return nil } -func (m *VerticalPodAutoscaler) GetTags() []string { +func (m *Ingress) GetTags() []string { if m != nil { return m.Tags } return nil } -func (m *VerticalPodAutoscaler) GetConditions() []*VerticalPodAutoscalerCondition { - if m != nil { - return m.Conditions - } - return nil -} - -// reference https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L295 -type VerticalPodAutoscalerCondition struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` +type KafkaRequestHeader struct { + RequestType uint32 `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"` + RequestVersion uint32 `protobuf:"varint,2,opt,name=request_version,json=requestVersion,proto3" json:"request_version,omitempty"` } -func (m *VerticalPodAutoscalerCondition) Reset() { *m = VerticalPodAutoscalerCondition{} } -func (m *VerticalPodAutoscalerCondition) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerCondition) ProtoMessage() {} -func (*VerticalPodAutoscalerCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{136} +func (m *KafkaRequestHeader) Reset() { *m = KafkaRequestHeader{} } +func (m *KafkaRequestHeader) String() string { return proto.CompactTextString(m) } +func (*KafkaRequestHeader) ProtoMessage() {} +func (*KafkaRequestHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{135} } -func (m *VerticalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error { +func (m *KafkaRequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *VerticalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KafkaRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_KafkaRequestHeader.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12390,71 +12438,50 @@ func (m *VerticalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *VerticalPodAutoscalerCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerCondition.Merge(m, src) +func (m *KafkaRequestHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_KafkaRequestHeader.Merge(m, src) } -func (m *VerticalPodAutoscalerCondition) XXX_Size() int { +func (m *KafkaRequestHeader) XXX_Size() int { return m.Size() } -func (m *VerticalPodAutoscalerCondition) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerCondition.DiscardUnknown(m) -} - -var xxx_messageInfo_VerticalPodAutoscalerCondition proto.InternalMessageInfo - -func (m *VerticalPodAutoscalerCondition) GetType() string { - if m != nil { - return m.Type - } - return "" +func (m *KafkaRequestHeader) XXX_DiscardUnknown() { + xxx_messageInfo_KafkaRequestHeader.DiscardUnknown(m) } -func (m *VerticalPodAutoscalerCondition) GetStatus() string { - if m != nil { - return m.Status - } - return "" -} +var xxx_messageInfo_KafkaRequestHeader proto.InternalMessageInfo -func (m *VerticalPodAutoscalerCondition) GetLastTransitionTime() int64 { +func (m *KafkaRequestHeader) GetRequestType() uint32 { if m != nil { - return m.LastTransitionTime + return m.RequestType } return 0 } -func (m *VerticalPodAutoscalerCondition) GetReason() string { - if m != nil { - return m.Reason - } - return "" -} - -func (m *VerticalPodAutoscalerCondition) GetMessage() string { +func (m *KafkaRequestHeader) GetRequestVersion() uint32 { if m != nil { - return m.Message + return m.RequestVersion } - return "" + return 0 } -type VerticalPodAutoscalerSpec struct { - Target *VerticalPodAutoscalerTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - UpdateMode string `protobuf:"bytes,2,opt,name=updateMode,proto3" json:"updateMode,omitempty"` - ResourcePolicies []*ContainerResourcePolicy `protobuf:"bytes,3,rep,name=resourcePolicies,proto3" json:"resourcePolicies,omitempty"` +type KafkaAggregation struct { + Header *KafkaRequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` + Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` } -func (m *VerticalPodAutoscalerSpec) Reset() { *m = VerticalPodAutoscalerSpec{} } -func (m *VerticalPodAutoscalerSpec) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerSpec) ProtoMessage() {} -func (*VerticalPodAutoscalerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{137} +func (m *KafkaAggregation) Reset() { *m = KafkaAggregation{} } +func (m *KafkaAggregation) String() string { return proto.CompactTextString(m) } +func (*KafkaAggregation) ProtoMessage() {} +func (*KafkaAggregation) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{136} } -func (m *VerticalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error { +func (m *KafkaAggregation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *VerticalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KafkaAggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_KafkaAggregation.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12464,56 +12491,57 @@ func (m *VerticalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *VerticalPodAutoscalerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerSpec.Merge(m, src) +func (m *KafkaAggregation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KafkaAggregation.Merge(m, src) } -func (m *VerticalPodAutoscalerSpec) XXX_Size() int { +func (m *KafkaAggregation) XXX_Size() int { return m.Size() } -func (m *VerticalPodAutoscalerSpec) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerSpec.DiscardUnknown(m) +func (m *KafkaAggregation) XXX_DiscardUnknown() { + xxx_messageInfo_KafkaAggregation.DiscardUnknown(m) } -var xxx_messageInfo_VerticalPodAutoscalerSpec proto.InternalMessageInfo +var xxx_messageInfo_KafkaAggregation proto.InternalMessageInfo -func (m *VerticalPodAutoscalerSpec) GetTarget() *VerticalPodAutoscalerTarget { +func (m *KafkaAggregation) GetHeader() *KafkaRequestHeader { if m != nil { - return m.Target + return m.Header } return nil } -func (m *VerticalPodAutoscalerSpec) GetUpdateMode() string { +func (m *KafkaAggregation) GetTopic() string { if m != nil { - return m.UpdateMode + return m.Topic } return "" } -func (m *VerticalPodAutoscalerSpec) GetResourcePolicies() []*ContainerResourcePolicy { +func (m *KafkaAggregation) GetCount() uint32 { if m != nil { - return m.ResourcePolicies + return m.Count } - return nil + return 0 } -type VerticalPodAutoscalerTarget struct { - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +type DataStreamsAggregations struct { + KafkaProduceAggregations *DataStreamsAggregations_KafkaProduceAggregations `protobuf:"bytes,1,opt,name=kafkaProduceAggregations,proto3" json:"kafkaProduceAggregations,omitempty"` + KafkaFetchAggregations *DataStreamsAggregations_KafkaFetchAggregations `protobuf:"bytes,2,opt,name=kafkaFetchAggregations,proto3" json:"kafkaFetchAggregations,omitempty"` + KafkaAggregations []*KafkaAggregation `protobuf:"bytes,3,rep,name=kafkaAggregations,proto3" json:"kafkaAggregations,omitempty"` } -func (m *VerticalPodAutoscalerTarget) Reset() { *m = VerticalPodAutoscalerTarget{} } -func (m *VerticalPodAutoscalerTarget) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerTarget) ProtoMessage() {} -func (*VerticalPodAutoscalerTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{138} +func (m *DataStreamsAggregations) Reset() { *m = DataStreamsAggregations{} } +func (m *DataStreamsAggregations) String() string { return proto.CompactTextString(m) } +func (*DataStreamsAggregations) ProtoMessage() {} +func (*DataStreamsAggregations) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{137} } -func (m *VerticalPodAutoscalerTarget) XXX_Unmarshal(b []byte) error { +func (m *DataStreamsAggregations) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *VerticalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DataStreamsAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerTarget.Marshal(b, m, deterministic) + return xxx_messageInfo_DataStreamsAggregations.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12523,53 +12551,57 @@ func (m *VerticalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *VerticalPodAutoscalerTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerTarget.Merge(m, src) +func (m *DataStreamsAggregations) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataStreamsAggregations.Merge(m, src) } -func (m *VerticalPodAutoscalerTarget) XXX_Size() int { +func (m *DataStreamsAggregations) XXX_Size() int { return m.Size() } -func (m *VerticalPodAutoscalerTarget) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerTarget.DiscardUnknown(m) +func (m *DataStreamsAggregations) XXX_DiscardUnknown() { + xxx_messageInfo_DataStreamsAggregations.DiscardUnknown(m) } -var xxx_messageInfo_VerticalPodAutoscalerTarget proto.InternalMessageInfo +var xxx_messageInfo_DataStreamsAggregations proto.InternalMessageInfo -func (m *VerticalPodAutoscalerTarget) GetKind() string { +func (m *DataStreamsAggregations) GetKafkaProduceAggregations() *DataStreamsAggregations_KafkaProduceAggregations { if m != nil { - return m.Kind + return m.KafkaProduceAggregations } - return "" + return nil } -func (m *VerticalPodAutoscalerTarget) GetName() string { +func (m *DataStreamsAggregations) GetKafkaFetchAggregations() *DataStreamsAggregations_KafkaFetchAggregations { if m != nil { - return m.Name + return m.KafkaFetchAggregations } - return "" + return nil } -type ContainerResourcePolicy struct { - ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` - Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` - MinAllowed *ResourceList `protobuf:"bytes,3,opt,name=minAllowed,proto3" json:"minAllowed,omitempty"` - MaxAllowed *ResourceList `protobuf:"bytes,4,opt,name=maxAllowed,proto3" json:"maxAllowed,omitempty"` - ControlledResource []string `protobuf:"bytes,5,rep,name=controlledResource,proto3" json:"controlledResource,omitempty"` - ControlledValues string `protobuf:"bytes,6,opt,name=controlledValues,proto3" json:"controlledValues,omitempty"` +func (m *DataStreamsAggregations) GetKafkaAggregations() []*KafkaAggregation { + if m != nil { + return m.KafkaAggregations + } + return nil } -func (m *ContainerResourcePolicy) Reset() { *m = ContainerResourcePolicy{} } -func (m *ContainerResourcePolicy) String() string { return proto.CompactTextString(m) } -func (*ContainerResourcePolicy) ProtoMessage() {} -func (*ContainerResourcePolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{139} +// TopicStats, KafkaProduceAggregations, and KafkaFetchAggregations should be deleted once we change dd-go to support the new DataStreamsAggregations format +type DataStreamsAggregations_TopicStats struct { + Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` } -func (m *ContainerResourcePolicy) XXX_Unmarshal(b []byte) error { + +func (m *DataStreamsAggregations_TopicStats) Reset() { *m = DataStreamsAggregations_TopicStats{} } +func (m *DataStreamsAggregations_TopicStats) String() string { return proto.CompactTextString(m) } +func (*DataStreamsAggregations_TopicStats) ProtoMessage() {} +func (*DataStreamsAggregations_TopicStats) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{137, 0} +} +func (m *DataStreamsAggregations_TopicStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DataStreamsAggregations_TopicStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerResourcePolicy.Marshal(b, m, deterministic) + return xxx_messageInfo_DataStreamsAggregations_TopicStats.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12579,78 +12611,52 @@ func (m *ContainerResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *ContainerResourcePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerResourcePolicy.Merge(m, src) +func (m *DataStreamsAggregations_TopicStats) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataStreamsAggregations_TopicStats.Merge(m, src) } -func (m *ContainerResourcePolicy) XXX_Size() int { +func (m *DataStreamsAggregations_TopicStats) XXX_Size() int { return m.Size() } -func (m *ContainerResourcePolicy) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerResourcePolicy.DiscardUnknown(m) +func (m *DataStreamsAggregations_TopicStats) XXX_DiscardUnknown() { + xxx_messageInfo_DataStreamsAggregations_TopicStats.DiscardUnknown(m) } -var xxx_messageInfo_ContainerResourcePolicy proto.InternalMessageInfo - -func (m *ContainerResourcePolicy) GetContainerName() string { - if m != nil { - return m.ContainerName - } - return "" -} +var xxx_messageInfo_DataStreamsAggregations_TopicStats proto.InternalMessageInfo -func (m *ContainerResourcePolicy) GetMode() string { +func (m *DataStreamsAggregations_TopicStats) GetTopic() string { if m != nil { - return m.Mode + return m.Topic } return "" } -func (m *ContainerResourcePolicy) GetMinAllowed() *ResourceList { - if m != nil { - return m.MinAllowed - } - return nil -} - -func (m *ContainerResourcePolicy) GetMaxAllowed() *ResourceList { +func (m *DataStreamsAggregations_TopicStats) GetCount() uint32 { if m != nil { - return m.MaxAllowed + return m.Count } - return nil + return 0 } -func (m *ContainerResourcePolicy) GetControlledResource() []string { - if m != nil { - return m.ControlledResource - } - return nil +type DataStreamsAggregations_KafkaProduceAggregations struct { + Stats []*DataStreamsAggregations_TopicStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } -func (m *ContainerResourcePolicy) GetControlledValues() string { - if m != nil { - return m.ControlledValues - } - return "" +func (m *DataStreamsAggregations_KafkaProduceAggregations) Reset() { + *m = DataStreamsAggregations_KafkaProduceAggregations{} } - -type VerticalPodAutoscalerStatus struct { - LastRecommendedDate int64 `protobuf:"varint,1,opt,name=LastRecommendedDate,proto3" json:"LastRecommendedDate,omitempty"` - Recommendations []*ContainerRecommendation `protobuf:"bytes,2,rep,name=recommendations,proto3" json:"recommendations,omitempty"` - Conditions []*VPACondition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"` +func (m *DataStreamsAggregations_KafkaProduceAggregations) String() string { + return proto.CompactTextString(m) } - -func (m *VerticalPodAutoscalerStatus) Reset() { *m = VerticalPodAutoscalerStatus{} } -func (m *VerticalPodAutoscalerStatus) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscalerStatus) ProtoMessage() {} -func (*VerticalPodAutoscalerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{140} +func (*DataStreamsAggregations_KafkaProduceAggregations) ProtoMessage() {} +func (*DataStreamsAggregations_KafkaProduceAggregations) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{137, 1} } -func (m *VerticalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error { +func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *VerticalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_VerticalPodAutoscalerStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12660,59 +12666,45 @@ func (m *VerticalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *VerticalPodAutoscalerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscalerStatus.Merge(m, src) +func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations.Merge(m, src) } -func (m *VerticalPodAutoscalerStatus) XXX_Size() int { +func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_Size() int { return m.Size() } -func (m *VerticalPodAutoscalerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_VerticalPodAutoscalerStatus.DiscardUnknown(m) +func (m *DataStreamsAggregations_KafkaProduceAggregations) XXX_DiscardUnknown() { + xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations.DiscardUnknown(m) } -var xxx_messageInfo_VerticalPodAutoscalerStatus proto.InternalMessageInfo - -func (m *VerticalPodAutoscalerStatus) GetLastRecommendedDate() int64 { - if m != nil { - return m.LastRecommendedDate - } - return 0 -} +var xxx_messageInfo_DataStreamsAggregations_KafkaProduceAggregations proto.InternalMessageInfo -func (m *VerticalPodAutoscalerStatus) GetRecommendations() []*ContainerRecommendation { +func (m *DataStreamsAggregations_KafkaProduceAggregations) GetStats() []*DataStreamsAggregations_TopicStats { if m != nil { - return m.Recommendations + return m.Stats } return nil } -func (m *VerticalPodAutoscalerStatus) GetConditions() []*VPACondition { - if m != nil { - return m.Conditions - } - return nil +type DataStreamsAggregations_KafkaFetchAggregations struct { + Stats []*DataStreamsAggregations_TopicStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } -type ContainerRecommendation struct { - ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` - Target *ResourceList `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` - LowerBound *ResourceList `protobuf:"bytes,3,opt,name=lowerBound,proto3" json:"lowerBound,omitempty"` - UpperBound *ResourceList `protobuf:"bytes,4,opt,name=upperBound,proto3" json:"upperBound,omitempty"` - UncappedTarget *ResourceList `protobuf:"bytes,5,opt,name=uncappedTarget,proto3" json:"uncappedTarget,omitempty"` +func (m *DataStreamsAggregations_KafkaFetchAggregations) Reset() { + *m = DataStreamsAggregations_KafkaFetchAggregations{} } - -func (m *ContainerRecommendation) Reset() { *m = ContainerRecommendation{} } -func (m *ContainerRecommendation) String() string { return proto.CompactTextString(m) } -func (*ContainerRecommendation) ProtoMessage() {} -func (*ContainerRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{141} +func (m *DataStreamsAggregations_KafkaFetchAggregations) String() string { + return proto.CompactTextString(m) } -func (m *ContainerRecommendation) XXX_Unmarshal(b []byte) error { +func (*DataStreamsAggregations_KafkaFetchAggregations) ProtoMessage() {} +func (*DataStreamsAggregations_KafkaFetchAggregations) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{137, 2} +} +func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerRecommendation.Marshal(b, m, deterministic) + return xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12722,73 +12714,41 @@ func (m *ContainerRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *ContainerRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerRecommendation.Merge(m, src) +func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations.Merge(m, src) } -func (m *ContainerRecommendation) XXX_Size() int { +func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_Size() int { return m.Size() } -func (m *ContainerRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerRecommendation.DiscardUnknown(m) -} - -var xxx_messageInfo_ContainerRecommendation proto.InternalMessageInfo - -func (m *ContainerRecommendation) GetContainerName() string { - if m != nil { - return m.ContainerName - } - return "" -} - -func (m *ContainerRecommendation) GetTarget() *ResourceList { - if m != nil { - return m.Target - } - return nil -} - -func (m *ContainerRecommendation) GetLowerBound() *ResourceList { - if m != nil { - return m.LowerBound - } - return nil +func (m *DataStreamsAggregations_KafkaFetchAggregations) XXX_DiscardUnknown() { + xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations.DiscardUnknown(m) } -func (m *ContainerRecommendation) GetUpperBound() *ResourceList { - if m != nil { - return m.UpperBound - } - return nil -} +var xxx_messageInfo_DataStreamsAggregations_KafkaFetchAggregations proto.InternalMessageInfo -func (m *ContainerRecommendation) GetUncappedTarget() *ResourceList { +func (m *DataStreamsAggregations_KafkaFetchAggregations) GetStats() []*DataStreamsAggregations_TopicStats { if m != nil { - return m.UncappedTarget + return m.Stats } return nil } -type VPACondition struct { - ConditionType string `protobuf:"bytes,1,opt,name=ConditionType,proto3" json:"ConditionType,omitempty"` - ConditionStatus string `protobuf:"bytes,2,opt,name=ConditionStatus,proto3" json:"ConditionStatus,omitempty"` - LastTransitionTime int64 `protobuf:"varint,3,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=Reason,proto3" json:"Reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"` +type HTTPAggregations struct { + EndpointAggregations []*HTTPStats `protobuf:"bytes,2,rep,name=endpointAggregations,proto3" json:"endpointAggregations,omitempty"` } -func (m *VPACondition) Reset() { *m = VPACondition{} } -func (m *VPACondition) String() string { return proto.CompactTextString(m) } -func (*VPACondition) ProtoMessage() {} -func (*VPACondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{142} +func (m *HTTPAggregations) Reset() { *m = HTTPAggregations{} } +func (m *HTTPAggregations) String() string { return proto.CompactTextString(m) } +func (*HTTPAggregations) ProtoMessage() {} +func (*HTTPAggregations) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{138} } -func (m *VPACondition) XXX_Unmarshal(b []byte) error { +func (m *HTTPAggregations) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *VPACondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HTTPAggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_VPACondition.Marshal(b, m, deterministic) + return xxx_messageInfo_HTTPAggregations.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12798,75 +12758,99 @@ func (m *VPACondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *VPACondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_VPACondition.Merge(m, src) +func (m *HTTPAggregations) XXX_Merge(src proto.Message) { + xxx_messageInfo_HTTPAggregations.Merge(m, src) } -func (m *VPACondition) XXX_Size() int { +func (m *HTTPAggregations) XXX_Size() int { return m.Size() } -func (m *VPACondition) XXX_DiscardUnknown() { - xxx_messageInfo_VPACondition.DiscardUnknown(m) +func (m *HTTPAggregations) XXX_DiscardUnknown() { + xxx_messageInfo_HTTPAggregations.DiscardUnknown(m) } -var xxx_messageInfo_VPACondition proto.InternalMessageInfo +var xxx_messageInfo_HTTPAggregations proto.InternalMessageInfo -func (m *VPACondition) GetConditionType() string { +func (m *HTTPAggregations) GetEndpointAggregations() []*HTTPStats { if m != nil { - return m.ConditionType + return m.EndpointAggregations } - return "" + return nil } -func (m *VPACondition) GetConditionStatus() string { - if m != nil { - return m.ConditionStatus - } - return "" +// The current state of HTTP2Aggregations is identical to that of HTTPAggregations. +// However, there is a possibility that additional fields might be added to it in the future. +type HTTP2Aggregations struct { + EndpointAggregations []*HTTPStats `protobuf:"bytes,1,rep,name=endpointAggregations,proto3" json:"endpointAggregations,omitempty"` } -func (m *VPACondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime - } - return 0 +func (m *HTTP2Aggregations) Reset() { *m = HTTP2Aggregations{} } +func (m *HTTP2Aggregations) String() string { return proto.CompactTextString(m) } +func (*HTTP2Aggregations) ProtoMessage() {} +func (*HTTP2Aggregations) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{139} } - -func (m *VPACondition) GetReason() string { - if m != nil { - return m.Reason +func (m *HTTP2Aggregations) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HTTP2Aggregations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HTTP2Aggregations.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return "" +} +func (m *HTTP2Aggregations) XXX_Merge(src proto.Message) { + xxx_messageInfo_HTTP2Aggregations.Merge(m, src) +} +func (m *HTTP2Aggregations) XXX_Size() int { + return m.Size() +} +func (m *HTTP2Aggregations) XXX_DiscardUnknown() { + xxx_messageInfo_HTTP2Aggregations.DiscardUnknown(m) } -func (m *VPACondition) GetMessage() string { +var xxx_messageInfo_HTTP2Aggregations proto.InternalMessageInfo + +func (m *HTTP2Aggregations) GetEndpointAggregations() []*HTTPStats { if m != nil { - return m.Message + return m.EndpointAggregations } - return "" + return nil } -// https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.go -type HorizontalPodAutoscaler struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *HorizontalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Status *HorizontalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` - Conditions []*HorizontalPodAutoscalerCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` +type HTTPStats struct { + Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Method HTTPMethod `protobuf:"varint,5,opt,name=method,proto3,enum=datadog.process_agent.HTTPMethod" json:"method,omitempty"` + // The agent can only read a limited part of the http header because + // of cpu/memory contraints. It is thus possible that the path is not + // read entirely. + // In case we're sure we've read the http path entirely, fullPath will + // be set to true. In any other cases, it would be set to false. + FullPath bool `protobuf:"varint,6,opt,name=fullPath,proto3" json:"fullPath,omitempty"` + StatsByResponseStatus []*HTTPStats_Data `protobuf:"bytes,1,rep,name=statsByResponseStatus,proto3" json:"statsByResponseStatus,omitempty"` + // This is a temporary field, that might be removed (and the index to be reserved) in the near future. + // This is the new format of saving aggregations. We support any status code rather than just the status code families + // as used in statsByResponseStatus. + StatsByStatusCode map[int32]*HTTPStats_Data `protobuf:"bytes,2,rep,name=statsByStatusCode,proto3" json:"statsByStatusCode,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } -func (m *HorizontalPodAutoscaler) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscaler) ProtoMessage() {} -func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{143} +func (m *HTTPStats) Reset() { *m = HTTPStats{} } +func (m *HTTPStats) String() string { return proto.CompactTextString(m) } +func (*HTTPStats) ProtoMessage() {} +func (*HTTPStats) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{140} } -func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error { +func (m *HTTPStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HTTPStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscaler.Marshal(b, m, deterministic) + return xxx_messageInfo_HTTPStats.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12876,81 +12860,81 @@ func (m *HorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *HorizontalPodAutoscaler) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscaler.Merge(m, src) +func (m *HTTPStats) XXX_Merge(src proto.Message) { + xxx_messageInfo_HTTPStats.Merge(m, src) } -func (m *HorizontalPodAutoscaler) XXX_Size() int { +func (m *HTTPStats) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscaler) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscaler.DiscardUnknown(m) +func (m *HTTPStats) XXX_DiscardUnknown() { + xxx_messageInfo_HTTPStats.DiscardUnknown(m) } -var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo - -func (m *HorizontalPodAutoscaler) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} +var xxx_messageInfo_HTTPStats proto.InternalMessageInfo -func (m *HorizontalPodAutoscaler) GetSpec() *HorizontalPodAutoscalerSpec { +func (m *HTTPStats) GetPath() string { if m != nil { - return m.Spec + return m.Path } - return nil + return "" } -func (m *HorizontalPodAutoscaler) GetStatus() *HorizontalPodAutoscalerStatus { +func (m *HTTPStats) GetMethod() HTTPMethod { if m != nil { - return m.Status + return m.Method } - return nil + return HTTPMethod_Unknown } -// Deprecated: Do not use. -func (m *HorizontalPodAutoscaler) GetYaml() []byte { +func (m *HTTPStats) GetFullPath() bool { if m != nil { - return m.Yaml + return m.FullPath } - return nil + return false } -func (m *HorizontalPodAutoscaler) GetTags() []string { +func (m *HTTPStats) GetStatsByResponseStatus() []*HTTPStats_Data { if m != nil { - return m.Tags + return m.StatsByResponseStatus } return nil } -func (m *HorizontalPodAutoscaler) GetConditions() []*HorizontalPodAutoscalerCondition { +func (m *HTTPStats) GetStatsByStatusCode() map[int32]*HTTPStats_Data { if m != nil { - return m.Conditions + return m.StatsByStatusCode } return nil } -type HorizontalPodAutoscalerSpec struct { - Target *HorizontalPodAutoscalerTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - MinReplicas int32 `protobuf:"varint,2,opt,name=minReplicas,proto3" json:"minReplicas,omitempty"` - MaxReplicas int32 `protobuf:"varint,3,opt,name=maxReplicas,proto3" json:"maxReplicas,omitempty"` - Metrics []*HorizontalPodAutoscalerMetricSpec `protobuf:"bytes,4,rep,name=metrics,proto3" json:"metrics,omitempty"` - Behavior *HorizontalPodAutoscalerBehavior `protobuf:"bytes,5,opt,name=behavior,proto3" json:"behavior,omitempty"` +type HTTPStats_Data struct { + Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + // a protobuf encoded sketch of all the requests in this HTTPStats. In nanoseconds. + // this will be nil if count == 1 + // To decode: + // use a protobuf library to decode this into a github.com/DataDog/sketches-go/ddsketch/pb/sketchpb.DDSketch + // then call github.com/DataDog/sketches-go/ddsketch.FromProto + // To encode: + // create a github.com/DataDog/sketches-go/ddsketch.DDSketch + // call ToProto() and then run through a protobuf encoder + Latencies []byte `protobuf:"bytes,2,opt,name=latencies,proto3" json:"latencies,omitempty"` + // if the HTTPStats has a single sample, this field will be the latency (in nanoseconds) of the only sample. + // this is purely to avoid the overhead of having single entry sketches. + FirstLatencySample float64 `protobuf:"fixed64,4,opt,name=firstLatencySample,proto3" json:"firstLatencySample,omitempty"` } -func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } -func (m *HorizontalPodAutoscalerSpec) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} -func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{144} +func (m *HTTPStats_Data) Reset() { *m = HTTPStats_Data{} } +func (m *HTTPStats_Data) String() string { return proto.CompactTextString(m) } +func (*HTTPStats_Data) ProtoMessage() {} +func (*HTTPStats_Data) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{140, 1} } -func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error { +func (m *HTTPStats_Data) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HTTPStats_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_HTTPStats_Data.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -12960,70 +12944,57 @@ func (m *HorizontalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *HorizontalPodAutoscalerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerSpec.Merge(m, src) +func (m *HTTPStats_Data) XXX_Merge(src proto.Message) { + xxx_messageInfo_HTTPStats_Data.Merge(m, src) } -func (m *HorizontalPodAutoscalerSpec) XXX_Size() int { +func (m *HTTPStats_Data) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscalerSpec) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo - -func (m *HorizontalPodAutoscalerSpec) GetTarget() *HorizontalPodAutoscalerTarget { - if m != nil { - return m.Target - } - return nil +func (m *HTTPStats_Data) XXX_DiscardUnknown() { + xxx_messageInfo_HTTPStats_Data.DiscardUnknown(m) } -func (m *HorizontalPodAutoscalerSpec) GetMinReplicas() int32 { - if m != nil { - return m.MinReplicas - } - return 0 -} +var xxx_messageInfo_HTTPStats_Data proto.InternalMessageInfo -func (m *HorizontalPodAutoscalerSpec) GetMaxReplicas() int32 { +func (m *HTTPStats_Data) GetCount() uint32 { if m != nil { - return m.MaxReplicas + return m.Count } return 0 } -func (m *HorizontalPodAutoscalerSpec) GetMetrics() []*HorizontalPodAutoscalerMetricSpec { +func (m *HTTPStats_Data) GetLatencies() []byte { if m != nil { - return m.Metrics + return m.Latencies } return nil } -func (m *HorizontalPodAutoscalerSpec) GetBehavior() *HorizontalPodAutoscalerBehavior { +func (m *HTTPStats_Data) GetFirstLatencySample() float64 { if m != nil { - return m.Behavior + return m.FirstLatencySample } - return nil + return 0 } -type HorizontalPodAutoscalerTarget struct { - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +// replaces DNSEntry. Is a list of DNS names that a given IP resolved to. +// List of offsets into the EncodedDomainDatabase. +type DNSDatabaseEntry struct { + NameOffsets []int32 `protobuf:"varint,1,rep,name=nameOffsets,proto3" json:"nameOffsets,omitempty"` } -func (m *HorizontalPodAutoscalerTarget) Reset() { *m = HorizontalPodAutoscalerTarget{} } -func (m *HorizontalPodAutoscalerTarget) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerTarget) ProtoMessage() {} -func (*HorizontalPodAutoscalerTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{145} +func (m *DNSDatabaseEntry) Reset() { *m = DNSDatabaseEntry{} } +func (m *DNSDatabaseEntry) String() string { return proto.CompactTextString(m) } +func (*DNSDatabaseEntry) ProtoMessage() {} +func (*DNSDatabaseEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{141} } -func (m *HorizontalPodAutoscalerTarget) XXX_Unmarshal(b []byte) error { +func (m *DNSDatabaseEntry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DNSDatabaseEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerTarget.Marshal(b, m, deterministic) + return xxx_messageInfo_DNSDatabaseEntry.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13033,53 +13004,93 @@ func (m *HorizontalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *HorizontalPodAutoscalerTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerTarget.Merge(m, src) +func (m *DNSDatabaseEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_DNSDatabaseEntry.Merge(m, src) } -func (m *HorizontalPodAutoscalerTarget) XXX_Size() int { +func (m *DNSDatabaseEntry) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscalerTarget) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerTarget.DiscardUnknown(m) +func (m *DNSDatabaseEntry) XXX_DiscardUnknown() { + xxx_messageInfo_DNSDatabaseEntry.DiscardUnknown(m) } -var xxx_messageInfo_HorizontalPodAutoscalerTarget proto.InternalMessageInfo +var xxx_messageInfo_DNSDatabaseEntry proto.InternalMessageInfo -func (m *HorizontalPodAutoscalerTarget) GetKind() string { +func (m *DNSDatabaseEntry) GetNameOffsets() []int32 { if m != nil { - return m.Kind + return m.NameOffsets } - return "" + return nil } -func (m *HorizontalPodAutoscalerTarget) GetName() string { +// ResourceList is a set of (resource name, quantity) pairs +// https://pkg.go.dev/k8s.io/api/core/v1#ResourceList +type ResourceList struct { + MetricValues map[string]float64 `protobuf:"bytes,1,rep,name=metricValues,proto3" json:"metricValues,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` +} + +func (m *ResourceList) Reset() { *m = ResourceList{} } +func (m *ResourceList) String() string { return proto.CompactTextString(m) } +func (*ResourceList) ProtoMessage() {} +func (*ResourceList) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{142} +} +func (m *ResourceList) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceList.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResourceList) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceList.Merge(m, src) +} +func (m *ResourceList) XXX_Size() int { + return m.Size() +} +func (m *ResourceList) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceList.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourceList proto.InternalMessageInfo + +func (m *ResourceList) GetMetricValues() map[string]float64 { if m != nil { - return m.Name + return m.MetricValues } - return "" + return nil } -type HorizontalPodAutoscalerMetricSpec struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Object *ObjectMetricSource `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` - Pods *PodsMetricSource `protobuf:"bytes,3,opt,name=pods,proto3" json:"pods,omitempty"` - Resource *ResourceMetricSource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` - ContainerResource *ContainerResourceMetricSource `protobuf:"bytes,5,opt,name=containerResource,proto3" json:"containerResource,omitempty"` - External *ExternalMetricSource `protobuf:"bytes,6,opt,name=external,proto3" json:"external,omitempty"` +// https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go +type VerticalPodAutoscaler struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *VerticalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *VerticalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Conditions []*VerticalPodAutoscalerCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *HorizontalPodAutoscalerMetricSpec) Reset() { *m = HorizontalPodAutoscalerMetricSpec{} } -func (m *HorizontalPodAutoscalerMetricSpec) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerMetricSpec) ProtoMessage() {} -func (*HorizontalPodAutoscalerMetricSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{146} +func (m *VerticalPodAutoscaler) Reset() { *m = VerticalPodAutoscaler{} } +func (m *VerticalPodAutoscaler) String() string { return proto.CompactTextString(m) } +func (*VerticalPodAutoscaler) ProtoMessage() {} +func (*VerticalPodAutoscaler) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{143} } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Unmarshal(b []byte) error { +func (m *VerticalPodAutoscaler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *VerticalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.Marshal(b, m, deterministic) + return xxx_messageInfo_VerticalPodAutoscaler.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13089,78 +13100,82 @@ func (m *HorizontalPodAutoscalerMetricSpec) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.Merge(m, src) +func (m *VerticalPodAutoscaler) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerticalPodAutoscaler.Merge(m, src) } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_Size() int { +func (m *VerticalPodAutoscaler) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscalerMetricSpec) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.DiscardUnknown(m) +func (m *VerticalPodAutoscaler) XXX_DiscardUnknown() { + xxx_messageInfo_VerticalPodAutoscaler.DiscardUnknown(m) } -var xxx_messageInfo_HorizontalPodAutoscalerMetricSpec proto.InternalMessageInfo +var xxx_messageInfo_VerticalPodAutoscaler proto.InternalMessageInfo -func (m *HorizontalPodAutoscalerMetricSpec) GetType() string { +func (m *VerticalPodAutoscaler) GetMetadata() *Metadata { if m != nil { - return m.Type + return m.Metadata } - return "" + return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetObject() *ObjectMetricSource { +func (m *VerticalPodAutoscaler) GetSpec() *VerticalPodAutoscalerSpec { if m != nil { - return m.Object + return m.Spec } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetPods() *PodsMetricSource { +func (m *VerticalPodAutoscaler) GetStatus() *VerticalPodAutoscalerStatus { if m != nil { - return m.Pods + return m.Status } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetResource() *ResourceMetricSource { +// Deprecated: Do not use. +func (m *VerticalPodAutoscaler) GetYaml() []byte { if m != nil { - return m.Resource + return m.Yaml } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetContainerResource() *ContainerResourceMetricSource { +func (m *VerticalPodAutoscaler) GetTags() []string { if m != nil { - return m.ContainerResource + return m.Tags } return nil } -func (m *HorizontalPodAutoscalerMetricSpec) GetExternal() *ExternalMetricSource { +func (m *VerticalPodAutoscaler) GetConditions() []*VerticalPodAutoscalerCondition { if m != nil { - return m.External + return m.Conditions } return nil } -type ObjectMetricSource struct { - DescribedObject *ObjectReference `protobuf:"bytes,1,opt,name=describedObject,proto3" json:"describedObject,omitempty"` - Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` - Metric *MetricIdentifier `protobuf:"bytes,3,opt,name=metric,proto3" json:"metric,omitempty"` +// reference https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L295 +type VerticalPodAutoscalerCondition struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} } -func (m *ObjectMetricSource) String() string { return proto.CompactTextString(m) } -func (*ObjectMetricSource) ProtoMessage() {} -func (*ObjectMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{147} +func (m *VerticalPodAutoscalerCondition) Reset() { *m = VerticalPodAutoscalerCondition{} } +func (m *VerticalPodAutoscalerCondition) String() string { return proto.CompactTextString(m) } +func (*VerticalPodAutoscalerCondition) ProtoMessage() {} +func (*VerticalPodAutoscalerCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{144} } -func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error { +func (m *VerticalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ObjectMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *VerticalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ObjectMetricSource.Marshal(b, m, deterministic) + return xxx_messageInfo_VerticalPodAutoscalerCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13170,56 +13185,71 @@ func (m *ObjectMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *ObjectMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectMetricSource.Merge(m, src) +func (m *VerticalPodAutoscalerCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerticalPodAutoscalerCondition.Merge(m, src) } -func (m *ObjectMetricSource) XXX_Size() int { +func (m *VerticalPodAutoscalerCondition) XXX_Size() int { return m.Size() } -func (m *ObjectMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectMetricSource.DiscardUnknown(m) +func (m *VerticalPodAutoscalerCondition) XXX_DiscardUnknown() { + xxx_messageInfo_VerticalPodAutoscalerCondition.DiscardUnknown(m) } -var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo +var xxx_messageInfo_VerticalPodAutoscalerCondition proto.InternalMessageInfo -func (m *ObjectMetricSource) GetDescribedObject() *ObjectReference { +func (m *VerticalPodAutoscalerCondition) GetType() string { if m != nil { - return m.DescribedObject + return m.Type } - return nil + return "" } -func (m *ObjectMetricSource) GetTarget() *MetricTarget { +func (m *VerticalPodAutoscalerCondition) GetStatus() string { if m != nil { - return m.Target + return m.Status } - return nil + return "" } -func (m *ObjectMetricSource) GetMetric() *MetricIdentifier { +func (m *VerticalPodAutoscalerCondition) GetLastTransitionTime() int64 { if m != nil { - return m.Metric + return m.LastTransitionTime } - return nil + return 0 } -type MetricTarget struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` +func (m *VerticalPodAutoscalerCondition) GetReason() string { + if m != nil { + return m.Reason + } + return "" } -func (m *MetricTarget) Reset() { *m = MetricTarget{} } -func (m *MetricTarget) String() string { return proto.CompactTextString(m) } -func (*MetricTarget) ProtoMessage() {} -func (*MetricTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{148} +func (m *VerticalPodAutoscalerCondition) GetMessage() string { + if m != nil { + return m.Message + } + return "" } -func (m *MetricTarget) XXX_Unmarshal(b []byte) error { + +type VerticalPodAutoscalerSpec struct { + Target *VerticalPodAutoscalerTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + UpdateMode string `protobuf:"bytes,2,opt,name=updateMode,proto3" json:"updateMode,omitempty"` + ResourcePolicies []*ContainerResourcePolicy `protobuf:"bytes,3,rep,name=resourcePolicies,proto3" json:"resourcePolicies,omitempty"` +} + +func (m *VerticalPodAutoscalerSpec) Reset() { *m = VerticalPodAutoscalerSpec{} } +func (m *VerticalPodAutoscalerSpec) String() string { return proto.CompactTextString(m) } +func (*VerticalPodAutoscalerSpec) ProtoMessage() {} +func (*VerticalPodAutoscalerSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{145} +} +func (m *VerticalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MetricTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *VerticalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MetricTarget.Marshal(b, m, deterministic) + return xxx_messageInfo_VerticalPodAutoscalerSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13229,49 +13259,56 @@ func (m *MetricTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *MetricTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricTarget.Merge(m, src) +func (m *VerticalPodAutoscalerSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerticalPodAutoscalerSpec.Merge(m, src) } -func (m *MetricTarget) XXX_Size() int { +func (m *VerticalPodAutoscalerSpec) XXX_Size() int { return m.Size() } -func (m *MetricTarget) XXX_DiscardUnknown() { - xxx_messageInfo_MetricTarget.DiscardUnknown(m) +func (m *VerticalPodAutoscalerSpec) XXX_DiscardUnknown() { + xxx_messageInfo_VerticalPodAutoscalerSpec.DiscardUnknown(m) } -var xxx_messageInfo_MetricTarget proto.InternalMessageInfo +var xxx_messageInfo_VerticalPodAutoscalerSpec proto.InternalMessageInfo -func (m *MetricTarget) GetType() string { +func (m *VerticalPodAutoscalerSpec) GetTarget() *VerticalPodAutoscalerTarget { if m != nil { - return m.Type + return m.Target + } + return nil +} + +func (m *VerticalPodAutoscalerSpec) GetUpdateMode() string { + if m != nil { + return m.UpdateMode } return "" } -func (m *MetricTarget) GetValue() int64 { +func (m *VerticalPodAutoscalerSpec) GetResourcePolicies() []*ContainerResourcePolicy { if m != nil { - return m.Value + return m.ResourcePolicies } - return 0 + return nil } -type MetricIdentifier struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - LabelSelector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=labelSelector,proto3" json:"labelSelector,omitempty"` +type VerticalPodAutoscalerTarget struct { + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *MetricIdentifier) Reset() { *m = MetricIdentifier{} } -func (m *MetricIdentifier) String() string { return proto.CompactTextString(m) } -func (*MetricIdentifier) ProtoMessage() {} -func (*MetricIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{149} +func (m *VerticalPodAutoscalerTarget) Reset() { *m = VerticalPodAutoscalerTarget{} } +func (m *VerticalPodAutoscalerTarget) String() string { return proto.CompactTextString(m) } +func (*VerticalPodAutoscalerTarget) ProtoMessage() {} +func (*VerticalPodAutoscalerTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{146} } -func (m *MetricIdentifier) XXX_Unmarshal(b []byte) error { +func (m *VerticalPodAutoscalerTarget) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MetricIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *VerticalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MetricIdentifier.Marshal(b, m, deterministic) + return xxx_messageInfo_VerticalPodAutoscalerTarget.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13281,49 +13318,53 @@ func (m *MetricIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *MetricIdentifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricIdentifier.Merge(m, src) +func (m *VerticalPodAutoscalerTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerticalPodAutoscalerTarget.Merge(m, src) } -func (m *MetricIdentifier) XXX_Size() int { +func (m *VerticalPodAutoscalerTarget) XXX_Size() int { return m.Size() } -func (m *MetricIdentifier) XXX_DiscardUnknown() { - xxx_messageInfo_MetricIdentifier.DiscardUnknown(m) +func (m *VerticalPodAutoscalerTarget) XXX_DiscardUnknown() { + xxx_messageInfo_VerticalPodAutoscalerTarget.DiscardUnknown(m) } -var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo +var xxx_messageInfo_VerticalPodAutoscalerTarget proto.InternalMessageInfo -func (m *MetricIdentifier) GetName() string { +func (m *VerticalPodAutoscalerTarget) GetKind() string { if m != nil { - return m.Name + return m.Kind } return "" } -func (m *MetricIdentifier) GetLabelSelector() []*LabelSelectorRequirement { +func (m *VerticalPodAutoscalerTarget) GetName() string { if m != nil { - return m.LabelSelector + return m.Name } - return nil + return "" } -type PodsMetricSource struct { - Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +type ContainerResourcePolicy struct { + ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` + Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` + MinAllowed *ResourceList `protobuf:"bytes,3,opt,name=minAllowed,proto3" json:"minAllowed,omitempty"` + MaxAllowed *ResourceList `protobuf:"bytes,4,opt,name=maxAllowed,proto3" json:"maxAllowed,omitempty"` + ControlledResource []string `protobuf:"bytes,5,rep,name=controlledResource,proto3" json:"controlledResource,omitempty"` + ControlledValues string `protobuf:"bytes,6,opt,name=controlledValues,proto3" json:"controlledValues,omitempty"` } -func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} } -func (m *PodsMetricSource) String() string { return proto.CompactTextString(m) } -func (*PodsMetricSource) ProtoMessage() {} -func (*PodsMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{150} +func (m *ContainerResourcePolicy) Reset() { *m = ContainerResourcePolicy{} } +func (m *ContainerResourcePolicy) String() string { return proto.CompactTextString(m) } +func (*ContainerResourcePolicy) ProtoMessage() {} +func (*ContainerResourcePolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{147} } -func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error { +func (m *ContainerResourcePolicy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PodsMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerResourcePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PodsMetricSource.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerResourcePolicy.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13333,102 +13374,78 @@ func (m *PodsMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *PodsMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodsMetricSource.Merge(m, src) +func (m *ContainerResourcePolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerResourcePolicy.Merge(m, src) } -func (m *PodsMetricSource) XXX_Size() int { +func (m *ContainerResourcePolicy) XXX_Size() int { return m.Size() } -func (m *PodsMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_PodsMetricSource.DiscardUnknown(m) +func (m *ContainerResourcePolicy) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerResourcePolicy.DiscardUnknown(m) } -var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo +var xxx_messageInfo_ContainerResourcePolicy proto.InternalMessageInfo -func (m *PodsMetricSource) GetMetric() *MetricIdentifier { +func (m *ContainerResourcePolicy) GetContainerName() string { if m != nil { - return m.Metric + return m.ContainerName } - return nil + return "" } -func (m *PodsMetricSource) GetTarget() *MetricTarget { +func (m *ContainerResourcePolicy) GetMode() string { if m != nil { - return m.Target + return m.Mode } - return nil + return "" } -type ResourceMetricSource struct { - ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` - Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +func (m *ContainerResourcePolicy) GetMinAllowed() *ResourceList { + if m != nil { + return m.MinAllowed + } + return nil } -func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} } -func (m *ResourceMetricSource) String() string { return proto.CompactTextString(m) } -func (*ResourceMetricSource) ProtoMessage() {} -func (*ResourceMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{151} -} -func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResourceMetricSource.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *ContainerResourcePolicy) GetMaxAllowed() *ResourceList { + if m != nil { + return m.MaxAllowed } -} -func (m *ResourceMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetricSource.Merge(m, src) -} -func (m *ResourceMetricSource) XXX_Size() int { - return m.Size() -} -func (m *ResourceMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetricSource.DiscardUnknown(m) + return nil } -var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo - -func (m *ResourceMetricSource) GetResourceName() string { +func (m *ContainerResourcePolicy) GetControlledResource() []string { if m != nil { - return m.ResourceName + return m.ControlledResource } - return "" + return nil } -func (m *ResourceMetricSource) GetTarget() *MetricTarget { +func (m *ContainerResourcePolicy) GetControlledValues() string { if m != nil { - return m.Target + return m.ControlledValues } - return nil + return "" } -type ContainerResourceMetricSource struct { - ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` - Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` - Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` +type VerticalPodAutoscalerStatus struct { + LastRecommendedDate int64 `protobuf:"varint,1,opt,name=LastRecommendedDate,proto3" json:"LastRecommendedDate,omitempty"` + Recommendations []*ContainerRecommendation `protobuf:"bytes,2,rep,name=recommendations,proto3" json:"recommendations,omitempty"` + Conditions []*VPACondition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} } -func (m *ContainerResourceMetricSource) String() string { return proto.CompactTextString(m) } -func (*ContainerResourceMetricSource) ProtoMessage() {} -func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{152} +func (m *VerticalPodAutoscalerStatus) Reset() { *m = VerticalPodAutoscalerStatus{} } +func (m *VerticalPodAutoscalerStatus) String() string { return proto.CompactTextString(m) } +func (*VerticalPodAutoscalerStatus) ProtoMessage() {} +func (*VerticalPodAutoscalerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{148} } -func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error { +func (m *VerticalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *VerticalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerResourceMetricSource.Marshal(b, m, deterministic) + return xxx_messageInfo_VerticalPodAutoscalerStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13438,56 +13455,59 @@ func (m *ContainerResourceMetricSource) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *ContainerResourceMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerResourceMetricSource.Merge(m, src) +func (m *VerticalPodAutoscalerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerticalPodAutoscalerStatus.Merge(m, src) } -func (m *ContainerResourceMetricSource) XXX_Size() int { +func (m *VerticalPodAutoscalerStatus) XXX_Size() int { return m.Size() } -func (m *ContainerResourceMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerResourceMetricSource.DiscardUnknown(m) +func (m *VerticalPodAutoscalerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_VerticalPodAutoscalerStatus.DiscardUnknown(m) } -var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo +var xxx_messageInfo_VerticalPodAutoscalerStatus proto.InternalMessageInfo -func (m *ContainerResourceMetricSource) GetResourceName() string { +func (m *VerticalPodAutoscalerStatus) GetLastRecommendedDate() int64 { if m != nil { - return m.ResourceName + return m.LastRecommendedDate } - return "" + return 0 } -func (m *ContainerResourceMetricSource) GetTarget() *MetricTarget { +func (m *VerticalPodAutoscalerStatus) GetRecommendations() []*ContainerRecommendation { if m != nil { - return m.Target + return m.Recommendations } return nil } -func (m *ContainerResourceMetricSource) GetContainer() string { +func (m *VerticalPodAutoscalerStatus) GetConditions() []*VPACondition { if m != nil { - return m.Container + return m.Conditions } - return "" + return nil } -type ExternalMetricSource struct { - Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +type ContainerRecommendation struct { + ContainerName string `protobuf:"bytes,1,opt,name=containerName,proto3" json:"containerName,omitempty"` + Target *ResourceList `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` + LowerBound *ResourceList `protobuf:"bytes,3,opt,name=lowerBound,proto3" json:"lowerBound,omitempty"` + UpperBound *ResourceList `protobuf:"bytes,4,opt,name=upperBound,proto3" json:"upperBound,omitempty"` + UncappedTarget *ResourceList `protobuf:"bytes,5,opt,name=uncappedTarget,proto3" json:"uncappedTarget,omitempty"` } -func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} } -func (m *ExternalMetricSource) String() string { return proto.CompactTextString(m) } -func (*ExternalMetricSource) ProtoMessage() {} -func (*ExternalMetricSource) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{153} +func (m *ContainerRecommendation) Reset() { *m = ContainerRecommendation{} } +func (m *ContainerRecommendation) String() string { return proto.CompactTextString(m) } +func (*ContainerRecommendation) ProtoMessage() {} +func (*ContainerRecommendation) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{149} } -func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error { +func (m *ContainerRecommendation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ExternalMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ExternalMetricSource.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerRecommendation.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13497,102 +13517,73 @@ func (m *ExternalMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *ExternalMetricSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalMetricSource.Merge(m, src) +func (m *ContainerRecommendation) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerRecommendation.Merge(m, src) } -func (m *ExternalMetricSource) XXX_Size() int { +func (m *ContainerRecommendation) XXX_Size() int { return m.Size() } -func (m *ExternalMetricSource) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalMetricSource.DiscardUnknown(m) +func (m *ContainerRecommendation) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerRecommendation.DiscardUnknown(m) } -var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo +var xxx_messageInfo_ContainerRecommendation proto.InternalMessageInfo -func (m *ExternalMetricSource) GetMetric() *MetricIdentifier { +func (m *ContainerRecommendation) GetContainerName() string { if m != nil { - return m.Metric + return m.ContainerName } - return nil + return "" } -func (m *ExternalMetricSource) GetTarget() *MetricTarget { +func (m *ContainerRecommendation) GetTarget() *ResourceList { if m != nil { return m.Target } return nil } -type HorizontalPodAutoscalerBehavior struct { - ScaleUp *HPAScalingRules `protobuf:"bytes,1,opt,name=scaleUp,proto3" json:"scaleUp,omitempty"` - ScaleDown *HPAScalingRules `protobuf:"bytes,2,opt,name=scaleDown,proto3" json:"scaleDown,omitempty"` +func (m *ContainerRecommendation) GetLowerBound() *ResourceList { + if m != nil { + return m.LowerBound + } + return nil } -func (m *HorizontalPodAutoscalerBehavior) Reset() { *m = HorizontalPodAutoscalerBehavior{} } -func (m *HorizontalPodAutoscalerBehavior) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {} -func (*HorizontalPodAutoscalerBehavior) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{154} -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerBehavior.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerBehavior.Merge(m, src) -} -func (m *HorizontalPodAutoscalerBehavior) XXX_Size() int { - return m.Size() -} -func (m *HorizontalPodAutoscalerBehavior) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerBehavior.DiscardUnknown(m) -} - -var xxx_messageInfo_HorizontalPodAutoscalerBehavior proto.InternalMessageInfo - -func (m *HorizontalPodAutoscalerBehavior) GetScaleUp() *HPAScalingRules { +func (m *ContainerRecommendation) GetUpperBound() *ResourceList { if m != nil { - return m.ScaleUp + return m.UpperBound } return nil } -func (m *HorizontalPodAutoscalerBehavior) GetScaleDown() *HPAScalingRules { +func (m *ContainerRecommendation) GetUncappedTarget() *ResourceList { if m != nil { - return m.ScaleDown + return m.UncappedTarget } return nil } -type HPAScalingRules struct { - StabilizationWindowSeconds int32 `protobuf:"varint,1,opt,name=stabilizationWindowSeconds,proto3" json:"stabilizationWindowSeconds,omitempty"` - SelectPolicy string `protobuf:"bytes,2,opt,name=selectPolicy,proto3" json:"selectPolicy,omitempty"` - Policies []*HPAScalingPolicy `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"` +type VPACondition struct { + ConditionType string `protobuf:"bytes,1,opt,name=ConditionType,proto3" json:"ConditionType,omitempty"` + ConditionStatus string `protobuf:"bytes,2,opt,name=ConditionStatus,proto3" json:"ConditionStatus,omitempty"` + LastTransitionTime int64 `protobuf:"varint,3,opt,name=LastTransitionTime,proto3" json:"LastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=Reason,proto3" json:"Reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"` } -func (m *HPAScalingRules) Reset() { *m = HPAScalingRules{} } -func (m *HPAScalingRules) String() string { return proto.CompactTextString(m) } -func (*HPAScalingRules) ProtoMessage() {} -func (*HPAScalingRules) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{155} +func (m *VPACondition) Reset() { *m = VPACondition{} } +func (m *VPACondition) String() string { return proto.CompactTextString(m) } +func (*VPACondition) ProtoMessage() {} +func (*VPACondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{150} } -func (m *HPAScalingRules) XXX_Unmarshal(b []byte) error { +func (m *VPACondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HPAScalingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *VPACondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HPAScalingRules.Marshal(b, m, deterministic) + return xxx_messageInfo_VPACondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13602,57 +13593,75 @@ func (m *HPAScalingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *HPAScalingRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_HPAScalingRules.Merge(m, src) +func (m *VPACondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_VPACondition.Merge(m, src) } -func (m *HPAScalingRules) XXX_Size() int { +func (m *VPACondition) XXX_Size() int { return m.Size() } -func (m *HPAScalingRules) XXX_DiscardUnknown() { - xxx_messageInfo_HPAScalingRules.DiscardUnknown(m) +func (m *VPACondition) XXX_DiscardUnknown() { + xxx_messageInfo_VPACondition.DiscardUnknown(m) } -var xxx_messageInfo_HPAScalingRules proto.InternalMessageInfo +var xxx_messageInfo_VPACondition proto.InternalMessageInfo -func (m *HPAScalingRules) GetStabilizationWindowSeconds() int32 { +func (m *VPACondition) GetConditionType() string { if m != nil { - return m.StabilizationWindowSeconds + return m.ConditionType + } + return "" +} + +func (m *VPACondition) GetConditionStatus() string { + if m != nil { + return m.ConditionStatus + } + return "" +} + +func (m *VPACondition) GetLastTransitionTime() int64 { + if m != nil { + return m.LastTransitionTime } return 0 } -func (m *HPAScalingRules) GetSelectPolicy() string { +func (m *VPACondition) GetReason() string { if m != nil { - return m.SelectPolicy + return m.Reason } return "" } -func (m *HPAScalingRules) GetPolicies() []*HPAScalingPolicy { +func (m *VPACondition) GetMessage() string { if m != nil { - return m.Policies + return m.Message } - return nil + return "" } -type HPAScalingPolicy struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` - PeriodSeconds int32 `protobuf:"varint,3,opt,name=periodSeconds,proto3" json:"periodSeconds,omitempty"` +// https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.go +type HorizontalPodAutoscaler struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *HorizontalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Status *HorizontalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Yaml []byte `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` + Conditions []*HorizontalPodAutoscalerCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` } -func (m *HPAScalingPolicy) Reset() { *m = HPAScalingPolicy{} } -func (m *HPAScalingPolicy) String() string { return proto.CompactTextString(m) } -func (*HPAScalingPolicy) ProtoMessage() {} -func (*HPAScalingPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{156} +func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } +func (m *HorizontalPodAutoscaler) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscaler) ProtoMessage() {} +func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{151} } -func (m *HPAScalingPolicy) XXX_Unmarshal(b []byte) error { +func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HPAScalingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HPAScalingPolicy.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscaler.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13662,59 +13671,81 @@ func (m *HPAScalingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *HPAScalingPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_HPAScalingPolicy.Merge(m, src) +func (m *HorizontalPodAutoscaler) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscaler.Merge(m, src) } -func (m *HPAScalingPolicy) XXX_Size() int { +func (m *HorizontalPodAutoscaler) XXX_Size() int { return m.Size() } -func (m *HPAScalingPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_HPAScalingPolicy.DiscardUnknown(m) +func (m *HorizontalPodAutoscaler) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscaler.DiscardUnknown(m) } -var xxx_messageInfo_HPAScalingPolicy proto.InternalMessageInfo +var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo -func (m *HPAScalingPolicy) GetType() string { +func (m *HorizontalPodAutoscaler) GetMetadata() *Metadata { if m != nil { - return m.Type + return m.Metadata } - return "" + return nil } -func (m *HPAScalingPolicy) GetValue() int32 { +func (m *HorizontalPodAutoscaler) GetSpec() *HorizontalPodAutoscalerSpec { if m != nil { - return m.Value + return m.Spec } - return 0 + return nil } -func (m *HPAScalingPolicy) GetPeriodSeconds() int32 { +func (m *HorizontalPodAutoscaler) GetStatus() *HorizontalPodAutoscalerStatus { if m != nil { - return m.PeriodSeconds + return m.Status } - return 0 + return nil } -type HorizontalPodAutoscalerStatus struct { - ObservedGeneration int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3" json:"observedGeneration,omitempty"` - LastScaleTime int64 `protobuf:"varint,2,opt,name=lastScaleTime,proto3" json:"lastScaleTime,omitempty"` - CurrentReplicas int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3" json:"currentReplicas,omitempty"` - DesiredReplicas int32 `protobuf:"varint,4,opt,name=desiredReplicas,proto3" json:"desiredReplicas,omitempty"` - CurrentMetrics []*HorizontalPodAutoscalerMetricStatus `protobuf:"bytes,5,rep,name=currentMetrics,proto3" json:"currentMetrics,omitempty"` +// Deprecated: Do not use. +func (m *HorizontalPodAutoscaler) GetYaml() []byte { + if m != nil { + return m.Yaml + } + return nil } -func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } -func (m *HorizontalPodAutoscalerStatus) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} -func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{157} +func (m *HorizontalPodAutoscaler) GetTags() []string { + if m != nil { + return m.Tags + } + return nil } -func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error { + +func (m *HorizontalPodAutoscaler) GetConditions() []*HorizontalPodAutoscalerCondition { + if m != nil { + return m.Conditions + } + return nil +} + +type HorizontalPodAutoscalerSpec struct { + Target *HorizontalPodAutoscalerTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + MinReplicas int32 `protobuf:"varint,2,opt,name=minReplicas,proto3" json:"minReplicas,omitempty"` + MaxReplicas int32 `protobuf:"varint,3,opt,name=maxReplicas,proto3" json:"maxReplicas,omitempty"` + Metrics []*HorizontalPodAutoscalerMetricSpec `protobuf:"bytes,4,rep,name=metrics,proto3" json:"metrics,omitempty"` + Behavior *HorizontalPodAutoscalerBehavior `protobuf:"bytes,5,opt,name=behavior,proto3" json:"behavior,omitempty"` +} + +func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } +func (m *HorizontalPodAutoscalerSpec) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} +func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{152} +} +func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscalerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscalerSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13724,73 +13755,70 @@ func (m *HorizontalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *HorizontalPodAutoscalerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerStatus.Merge(m, src) +func (m *HorizontalPodAutoscalerSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerSpec.Merge(m, src) } -func (m *HorizontalPodAutoscalerStatus) XXX_Size() int { +func (m *HorizontalPodAutoscalerSpec) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscalerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerStatus.DiscardUnknown(m) +func (m *HorizontalPodAutoscalerSpec) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerSpec.DiscardUnknown(m) } -var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo +var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo -func (m *HorizontalPodAutoscalerStatus) GetObservedGeneration() int64 { +func (m *HorizontalPodAutoscalerSpec) GetTarget() *HorizontalPodAutoscalerTarget { if m != nil { - return m.ObservedGeneration + return m.Target } - return 0 + return nil } -func (m *HorizontalPodAutoscalerStatus) GetLastScaleTime() int64 { +func (m *HorizontalPodAutoscalerSpec) GetMinReplicas() int32 { if m != nil { - return m.LastScaleTime + return m.MinReplicas } return 0 } -func (m *HorizontalPodAutoscalerStatus) GetCurrentReplicas() int32 { +func (m *HorizontalPodAutoscalerSpec) GetMaxReplicas() int32 { if m != nil { - return m.CurrentReplicas + return m.MaxReplicas } return 0 } -func (m *HorizontalPodAutoscalerStatus) GetDesiredReplicas() int32 { +func (m *HorizontalPodAutoscalerSpec) GetMetrics() []*HorizontalPodAutoscalerMetricSpec { if m != nil { - return m.DesiredReplicas + return m.Metrics } - return 0 + return nil } -func (m *HorizontalPodAutoscalerStatus) GetCurrentMetrics() []*HorizontalPodAutoscalerMetricStatus { +func (m *HorizontalPodAutoscalerSpec) GetBehavior() *HorizontalPodAutoscalerBehavior { if m != nil { - return m.CurrentMetrics + return m.Behavior } return nil } -type HorizontalPodAutoscalerCondition struct { - ConditionType string `protobuf:"bytes,1,opt,name=conditionType,proto3" json:"conditionType,omitempty"` - ConditionStatus string `protobuf:"bytes,2,opt,name=conditionStatus,proto3" json:"conditionStatus,omitempty"` - LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` - Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` - Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` +type HorizontalPodAutoscalerTarget struct { + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} } -func (m *HorizontalPodAutoscalerCondition) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerCondition) ProtoMessage() {} -func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{158} +func (m *HorizontalPodAutoscalerTarget) Reset() { *m = HorizontalPodAutoscalerTarget{} } +func (m *HorizontalPodAutoscalerTarget) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerTarget) ProtoMessage() {} +func (*HorizontalPodAutoscalerTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{153} } -func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error { +func (m *HorizontalPodAutoscalerTarget) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscalerTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerCondition.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscalerTarget.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13800,74 +13828,53 @@ func (m *HorizontalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *HorizontalPodAutoscalerCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerCondition.Merge(m, src) +func (m *HorizontalPodAutoscalerTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerTarget.Merge(m, src) } -func (m *HorizontalPodAutoscalerCondition) XXX_Size() int { +func (m *HorizontalPodAutoscalerTarget) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscalerCondition) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerCondition.DiscardUnknown(m) -} - -var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo - -func (m *HorizontalPodAutoscalerCondition) GetConditionType() string { - if m != nil { - return m.ConditionType - } - return "" -} - -func (m *HorizontalPodAutoscalerCondition) GetConditionStatus() string { - if m != nil { - return m.ConditionStatus - } - return "" +func (m *HorizontalPodAutoscalerTarget) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerTarget.DiscardUnknown(m) } -func (m *HorizontalPodAutoscalerCondition) GetLastTransitionTime() int64 { - if m != nil { - return m.LastTransitionTime - } - return 0 -} +var xxx_messageInfo_HorizontalPodAutoscalerTarget proto.InternalMessageInfo -func (m *HorizontalPodAutoscalerCondition) GetReason() string { +func (m *HorizontalPodAutoscalerTarget) GetKind() string { if m != nil { - return m.Reason + return m.Kind } return "" } -func (m *HorizontalPodAutoscalerCondition) GetMessage() string { +func (m *HorizontalPodAutoscalerTarget) GetName() string { if m != nil { - return m.Message + return m.Name } return "" } -type HorizontalPodAutoscalerMetricStatus struct { +type HorizontalPodAutoscalerMetricSpec struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Object *ObjectMetricStatus `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` - Pods *PodsMetricStatus `protobuf:"bytes,3,opt,name=pods,proto3" json:"pods,omitempty"` - Resource *ResourceMetricStatus `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` - ContainerResource *ContainerResourceMetricStatus `protobuf:"bytes,5,opt,name=containerResource,proto3" json:"containerResource,omitempty"` - External *ExternalMetricStatus `protobuf:"bytes,6,opt,name=external,proto3" json:"external,omitempty"` + Object *ObjectMetricSource `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` + Pods *PodsMetricSource `protobuf:"bytes,3,opt,name=pods,proto3" json:"pods,omitempty"` + Resource *ResourceMetricSource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` + ContainerResource *ContainerResourceMetricSource `protobuf:"bytes,5,opt,name=containerResource,proto3" json:"containerResource,omitempty"` + External *ExternalMetricSource `protobuf:"bytes,6,opt,name=external,proto3" json:"external,omitempty"` } -func (m *HorizontalPodAutoscalerMetricStatus) Reset() { *m = HorizontalPodAutoscalerMetricStatus{} } -func (m *HorizontalPodAutoscalerMetricStatus) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscalerMetricStatus) ProtoMessage() {} -func (*HorizontalPodAutoscalerMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{159} +func (m *HorizontalPodAutoscalerMetricSpec) Reset() { *m = HorizontalPodAutoscalerMetricSpec{} } +func (m *HorizontalPodAutoscalerMetricSpec) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerMetricSpec) ProtoMessage() {} +func (*HorizontalPodAutoscalerMetricSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{154} } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Unmarshal(b []byte) error { +func (m *HorizontalPodAutoscalerMetricSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscalerMetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13877,78 +13884,78 @@ func (m *HorizontalPodAutoscalerMetricStatus) XXX_Marshal(b []byte, deterministi return b[:n], nil } } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.Merge(m, src) +func (m *HorizontalPodAutoscalerMetricSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.Merge(m, src) } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_Size() int { +func (m *HorizontalPodAutoscalerMetricSpec) XXX_Size() int { return m.Size() } -func (m *HorizontalPodAutoscalerMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.DiscardUnknown(m) +func (m *HorizontalPodAutoscalerMetricSpec) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerMetricSpec.DiscardUnknown(m) } -var xxx_messageInfo_HorizontalPodAutoscalerMetricStatus proto.InternalMessageInfo +var xxx_messageInfo_HorizontalPodAutoscalerMetricSpec proto.InternalMessageInfo -func (m *HorizontalPodAutoscalerMetricStatus) GetType() string { +func (m *HorizontalPodAutoscalerMetricSpec) GetType() string { if m != nil { return m.Type } return "" } -func (m *HorizontalPodAutoscalerMetricStatus) GetObject() *ObjectMetricStatus { +func (m *HorizontalPodAutoscalerMetricSpec) GetObject() *ObjectMetricSource { if m != nil { return m.Object } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetPods() *PodsMetricStatus { +func (m *HorizontalPodAutoscalerMetricSpec) GetPods() *PodsMetricSource { if m != nil { return m.Pods } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetResource() *ResourceMetricStatus { +func (m *HorizontalPodAutoscalerMetricSpec) GetResource() *ResourceMetricSource { if m != nil { return m.Resource } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetContainerResource() *ContainerResourceMetricStatus { +func (m *HorizontalPodAutoscalerMetricSpec) GetContainerResource() *ContainerResourceMetricSource { if m != nil { return m.ContainerResource } return nil } -func (m *HorizontalPodAutoscalerMetricStatus) GetExternal() *ExternalMetricStatus { +func (m *HorizontalPodAutoscalerMetricSpec) GetExternal() *ExternalMetricSource { if m != nil { return m.External } return nil } -type ObjectMetricStatus struct { +type ObjectMetricSource struct { DescribedObject *ObjectReference `protobuf:"bytes,1,opt,name=describedObject,proto3" json:"describedObject,omitempty"` - Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` + Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` Metric *MetricIdentifier `protobuf:"bytes,3,opt,name=metric,proto3" json:"metric,omitempty"` } -func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} } -func (m *ObjectMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ObjectMetricStatus) ProtoMessage() {} -func (*ObjectMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{160} +func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} } +func (m *ObjectMetricSource) String() string { return proto.CompactTextString(m) } +func (*ObjectMetricSource) ProtoMessage() {} +func (*ObjectMetricSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{155} } -func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error { +func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ObjectMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ObjectMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ObjectMetricStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_ObjectMetricSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -13958,56 +13965,56 @@ func (m *ObjectMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *ObjectMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectMetricStatus.Merge(m, src) +func (m *ObjectMetricSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectMetricSource.Merge(m, src) } -func (m *ObjectMetricStatus) XXX_Size() int { +func (m *ObjectMetricSource) XXX_Size() int { return m.Size() } -func (m *ObjectMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectMetricStatus.DiscardUnknown(m) +func (m *ObjectMetricSource) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectMetricSource.DiscardUnknown(m) } -var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo +var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo -func (m *ObjectMetricStatus) GetDescribedObject() *ObjectReference { +func (m *ObjectMetricSource) GetDescribedObject() *ObjectReference { if m != nil { return m.DescribedObject } return nil } -func (m *ObjectMetricStatus) GetCurrent() int64 { +func (m *ObjectMetricSource) GetTarget() *MetricTarget { if m != nil { - return m.Current + return m.Target } - return 0 + return nil } -func (m *ObjectMetricStatus) GetMetric() *MetricIdentifier { +func (m *ObjectMetricSource) GetMetric() *MetricIdentifier { if m != nil { return m.Metric } return nil } -type PodsMetricStatus struct { - Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` +type MetricTarget struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} } -func (m *PodsMetricStatus) String() string { return proto.CompactTextString(m) } -func (*PodsMetricStatus) ProtoMessage() {} -func (*PodsMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{161} +func (m *MetricTarget) Reset() { *m = MetricTarget{} } +func (m *MetricTarget) String() string { return proto.CompactTextString(m) } +func (*MetricTarget) ProtoMessage() {} +func (*MetricTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{156} } -func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error { +func (m *MetricTarget) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PodsMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MetricTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PodsMetricStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_MetricTarget.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14017,49 +14024,49 @@ func (m *PodsMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *PodsMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodsMetricStatus.Merge(m, src) +func (m *MetricTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetricTarget.Merge(m, src) } -func (m *PodsMetricStatus) XXX_Size() int { +func (m *MetricTarget) XXX_Size() int { return m.Size() } -func (m *PodsMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PodsMetricStatus.DiscardUnknown(m) +func (m *MetricTarget) XXX_DiscardUnknown() { + xxx_messageInfo_MetricTarget.DiscardUnknown(m) } -var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo +var xxx_messageInfo_MetricTarget proto.InternalMessageInfo -func (m *PodsMetricStatus) GetMetric() *MetricIdentifier { +func (m *MetricTarget) GetType() string { if m != nil { - return m.Metric + return m.Type } - return nil + return "" } -func (m *PodsMetricStatus) GetCurrent() int64 { +func (m *MetricTarget) GetValue() int64 { if m != nil { - return m.Current + return m.Value } return 0 } -type ResourceMetricStatus struct { - ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` - Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` +type MetricIdentifier struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + LabelSelector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=labelSelector,proto3" json:"labelSelector,omitempty"` } -func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} } -func (m *ResourceMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ResourceMetricStatus) ProtoMessage() {} -func (*ResourceMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{162} +func (m *MetricIdentifier) Reset() { *m = MetricIdentifier{} } +func (m *MetricIdentifier) String() string { return proto.CompactTextString(m) } +func (*MetricIdentifier) ProtoMessage() {} +func (*MetricIdentifier) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{157} } -func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error { +func (m *MetricIdentifier) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MetricIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ResourceMetricStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_MetricIdentifier.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14069,50 +14076,49 @@ func (m *ResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *ResourceMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceMetricStatus.Merge(m, src) +func (m *MetricIdentifier) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetricIdentifier.Merge(m, src) } -func (m *ResourceMetricStatus) XXX_Size() int { +func (m *MetricIdentifier) XXX_Size() int { return m.Size() } -func (m *ResourceMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceMetricStatus.DiscardUnknown(m) +func (m *MetricIdentifier) XXX_DiscardUnknown() { + xxx_messageInfo_MetricIdentifier.DiscardUnknown(m) } -var xxx_messageInfo_ResourceMetricStatus proto.InternalMessageInfo +var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo -func (m *ResourceMetricStatus) GetResourceName() string { +func (m *MetricIdentifier) GetName() string { if m != nil { - return m.ResourceName + return m.Name } return "" } -func (m *ResourceMetricStatus) GetCurrent() int64 { +func (m *MetricIdentifier) GetLabelSelector() []*LabelSelectorRequirement { if m != nil { - return m.Current + return m.LabelSelector } - return 0 + return nil } -type ContainerResourceMetricStatus struct { - ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` - Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` - Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` +type PodsMetricSource struct { + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` + Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} } -func (m *ContainerResourceMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ContainerResourceMetricStatus) ProtoMessage() {} -func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{163} +func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} } +func (m *PodsMetricSource) String() string { return proto.CompactTextString(m) } +func (*PodsMetricSource) ProtoMessage() {} +func (*PodsMetricSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{158} } -func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error { +func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContainerResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PodsMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContainerResourceMetricStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_PodsMetricSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14122,56 +14128,49 @@ func (m *ContainerResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *ContainerResourceMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerResourceMetricStatus.Merge(m, src) +func (m *PodsMetricSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodsMetricSource.Merge(m, src) } -func (m *ContainerResourceMetricStatus) XXX_Size() int { +func (m *PodsMetricSource) XXX_Size() int { return m.Size() } -func (m *ContainerResourceMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerResourceMetricStatus.DiscardUnknown(m) +func (m *PodsMetricSource) XXX_DiscardUnknown() { + xxx_messageInfo_PodsMetricSource.DiscardUnknown(m) } -var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo - -func (m *ContainerResourceMetricStatus) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} +var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo -func (m *ContainerResourceMetricStatus) GetCurrent() int64 { +func (m *PodsMetricSource) GetMetric() *MetricIdentifier { if m != nil { - return m.Current + return m.Metric } - return 0 + return nil } -func (m *ContainerResourceMetricStatus) GetContainer() string { +func (m *PodsMetricSource) GetTarget() *MetricTarget { if m != nil { - return m.Container + return m.Target } - return "" + return nil } -type ExternalMetricStatus struct { - Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` +type ResourceMetricSource struct { + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} } -func (m *ExternalMetricStatus) String() string { return proto.CompactTextString(m) } -func (*ExternalMetricStatus) ProtoMessage() {} -func (*ExternalMetricStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{164} +func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} } +func (m *ResourceMetricSource) String() string { return proto.CompactTextString(m) } +func (*ResourceMetricSource) ProtoMessage() {} +func (*ResourceMetricSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{159} } -func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error { +func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ExternalMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ExternalMetricStatus.Marshal(b, m, deterministic) + return xxx_messageInfo_ResourceMetricSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14181,52 +14180,50 @@ func (m *ExternalMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *ExternalMetricStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalMetricStatus.Merge(m, src) +func (m *ResourceMetricSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceMetricSource.Merge(m, src) } -func (m *ExternalMetricStatus) XXX_Size() int { +func (m *ResourceMetricSource) XXX_Size() int { return m.Size() } -func (m *ExternalMetricStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalMetricStatus.DiscardUnknown(m) +func (m *ResourceMetricSource) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceMetricSource.DiscardUnknown(m) } -var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo +var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo -func (m *ExternalMetricStatus) GetMetric() *MetricIdentifier { +func (m *ResourceMetricSource) GetResourceName() string { if m != nil { - return m.Metric + return m.ResourceName } - return nil + return "" } -func (m *ExternalMetricStatus) GetCurrent() int64 { +func (m *ResourceMetricSource) GetTarget() *MetricTarget { if m != nil { - return m.Current + return m.Target } - return 0 + return nil } -// https://github.com/kubernetes/api/blob/v0.23.15/networking/v1/generated.proto -type NetworkPolicy struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Spec *NetworkPolicySpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. - Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` +type ContainerResourceMetricSource struct { + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` + Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` } -func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } -func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicy) ProtoMessage() {} -func (*NetworkPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{165} +func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} } +func (m *ContainerResourceMetricSource) String() string { return proto.CompactTextString(m) } +func (*ContainerResourceMetricSource) ProtoMessage() {} +func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{160} } -func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { +func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ContainerResourceMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic) + return xxx_messageInfo_ContainerResourceMetricSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14236,66 +14233,56 @@ func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *NetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicy.Merge(m, src) +func (m *ContainerResourceMetricSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerResourceMetricSource.Merge(m, src) } -func (m *NetworkPolicy) XXX_Size() int { +func (m *ContainerResourceMetricSource) XXX_Size() int { return m.Size() } -func (m *NetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicy.DiscardUnknown(m) +func (m *ContainerResourceMetricSource) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerResourceMetricSource.DiscardUnknown(m) } -var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo - -func (m *NetworkPolicy) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} +var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo -func (m *NetworkPolicy) GetSpec() *NetworkPolicySpec { +func (m *ContainerResourceMetricSource) GetResourceName() string { if m != nil { - return m.Spec + return m.ResourceName } - return nil + return "" } -// Deprecated: Do not use. -func (m *NetworkPolicy) GetYaml() []byte { +func (m *ContainerResourceMetricSource) GetTarget() *MetricTarget { if m != nil { - return m.Yaml + return m.Target } return nil } -func (m *NetworkPolicy) GetTags() []string { +func (m *ContainerResourceMetricSource) GetContainer() string { if m != nil { - return m.Tags + return m.Container } - return nil + return "" } -type NetworkPolicySpec struct { - Selectors []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` - Ingress []*NetworkPolicyIngressRule `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"` - Egress []*NetworkPolicyEgressRule `protobuf:"bytes,3,rep,name=egress,proto3" json:"egress,omitempty"` - PolicyTypes []string `protobuf:"bytes,4,rep,name=policyTypes,proto3" json:"policyTypes,omitempty"` +type ExternalMetricSource struct { + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` + Target *MetricTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } -func (m *NetworkPolicySpec) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{166} +func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} } +func (m *ExternalMetricSource) String() string { return proto.CompactTextString(m) } +func (*ExternalMetricSource) ProtoMessage() {} +func (*ExternalMetricSource) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{161} } -func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error { +func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ExternalMetricSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicySpec.Marshal(b, m, deterministic) + return xxx_messageInfo_ExternalMetricSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14305,63 +14292,49 @@ func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *NetworkPolicySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicySpec.Merge(m, src) +func (m *ExternalMetricSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalMetricSource.Merge(m, src) } -func (m *NetworkPolicySpec) XXX_Size() int { +func (m *ExternalMetricSource) XXX_Size() int { return m.Size() } -func (m *NetworkPolicySpec) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicySpec.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicySpec proto.InternalMessageInfo - -func (m *NetworkPolicySpec) GetSelectors() []*LabelSelectorRequirement { - if m != nil { - return m.Selectors - } - return nil +func (m *ExternalMetricSource) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalMetricSource.DiscardUnknown(m) } -func (m *NetworkPolicySpec) GetIngress() []*NetworkPolicyIngressRule { - if m != nil { - return m.Ingress - } - return nil -} +var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo -func (m *NetworkPolicySpec) GetEgress() []*NetworkPolicyEgressRule { +func (m *ExternalMetricSource) GetMetric() *MetricIdentifier { if m != nil { - return m.Egress + return m.Metric } return nil } -func (m *NetworkPolicySpec) GetPolicyTypes() []string { +func (m *ExternalMetricSource) GetTarget() *MetricTarget { if m != nil { - return m.PolicyTypes + return m.Target } return nil } -type NetworkPolicyIPBlock struct { - Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` - Except []string `protobuf:"bytes,2,rep,name=except,proto3" json:"except,omitempty"` +type HorizontalPodAutoscalerBehavior struct { + ScaleUp *HPAScalingRules `protobuf:"bytes,1,opt,name=scaleUp,proto3" json:"scaleUp,omitempty"` + ScaleDown *HPAScalingRules `protobuf:"bytes,2,opt,name=scaleDown,proto3" json:"scaleDown,omitempty"` } -func (m *NetworkPolicyIPBlock) Reset() { *m = NetworkPolicyIPBlock{} } -func (m *NetworkPolicyIPBlock) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyIPBlock) ProtoMessage() {} -func (*NetworkPolicyIPBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{167} +func (m *HorizontalPodAutoscalerBehavior) Reset() { *m = HorizontalPodAutoscalerBehavior{} } +func (m *HorizontalPodAutoscalerBehavior) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {} +func (*HorizontalPodAutoscalerBehavior) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{162} } -func (m *NetworkPolicyIPBlock) XXX_Unmarshal(b []byte) error { +func (m *HorizontalPodAutoscalerBehavior) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicyIPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscalerBehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicyIPBlock.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscalerBehavior.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14371,49 +14344,50 @@ func (m *NetworkPolicyIPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *NetworkPolicyIPBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyIPBlock.Merge(m, src) +func (m *HorizontalPodAutoscalerBehavior) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerBehavior.Merge(m, src) } -func (m *NetworkPolicyIPBlock) XXX_Size() int { +func (m *HorizontalPodAutoscalerBehavior) XXX_Size() int { return m.Size() } -func (m *NetworkPolicyIPBlock) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyIPBlock.DiscardUnknown(m) +func (m *HorizontalPodAutoscalerBehavior) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerBehavior.DiscardUnknown(m) } -var xxx_messageInfo_NetworkPolicyIPBlock proto.InternalMessageInfo +var xxx_messageInfo_HorizontalPodAutoscalerBehavior proto.InternalMessageInfo -func (m *NetworkPolicyIPBlock) GetCidr() string { +func (m *HorizontalPodAutoscalerBehavior) GetScaleUp() *HPAScalingRules { if m != nil { - return m.Cidr + return m.ScaleUp } - return "" + return nil } -func (m *NetworkPolicyIPBlock) GetExcept() []string { +func (m *HorizontalPodAutoscalerBehavior) GetScaleDown() *HPAScalingRules { if m != nil { - return m.Except + return m.ScaleDown } return nil } -type NetworkPolicyIngressRule struct { - Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` - From []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=from,proto3" json:"from,omitempty"` +type HPAScalingRules struct { + StabilizationWindowSeconds int32 `protobuf:"varint,1,opt,name=stabilizationWindowSeconds,proto3" json:"stabilizationWindowSeconds,omitempty"` + SelectPolicy string `protobuf:"bytes,2,opt,name=selectPolicy,proto3" json:"selectPolicy,omitempty"` + Policies []*HPAScalingPolicy `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"` } -func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } -func (m *NetworkPolicyIngressRule) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyIngressRule) ProtoMessage() {} -func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{168} +func (m *HPAScalingRules) Reset() { *m = HPAScalingRules{} } +func (m *HPAScalingRules) String() string { return proto.CompactTextString(m) } +func (*HPAScalingRules) ProtoMessage() {} +func (*HPAScalingRules) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{163} } -func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error { +func (m *HPAScalingRules) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HPAScalingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicyIngressRule.Marshal(b, m, deterministic) + return xxx_messageInfo_HPAScalingRules.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14423,49 +14397,57 @@ func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyIngressRule.Merge(m, src) +func (m *HPAScalingRules) XXX_Merge(src proto.Message) { + xxx_messageInfo_HPAScalingRules.Merge(m, src) } -func (m *NetworkPolicyIngressRule) XXX_Size() int { +func (m *HPAScalingRules) XXX_Size() int { return m.Size() } -func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyIngressRule.DiscardUnknown(m) +func (m *HPAScalingRules) XXX_DiscardUnknown() { + xxx_messageInfo_HPAScalingRules.DiscardUnknown(m) } -var xxx_messageInfo_NetworkPolicyIngressRule proto.InternalMessageInfo +var xxx_messageInfo_HPAScalingRules proto.InternalMessageInfo -func (m *NetworkPolicyIngressRule) GetPorts() []*NetworkPolicyPort { +func (m *HPAScalingRules) GetStabilizationWindowSeconds() int32 { if m != nil { - return m.Ports + return m.StabilizationWindowSeconds } - return nil + return 0 } -func (m *NetworkPolicyIngressRule) GetFrom() []*NetworkPolicyPeer { +func (m *HPAScalingRules) GetSelectPolicy() string { if m != nil { - return m.From + return m.SelectPolicy + } + return "" +} + +func (m *HPAScalingRules) GetPolicies() []*HPAScalingPolicy { + if m != nil { + return m.Policies } return nil } -type NetworkPolicyEgressRule struct { - Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` - To []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` +type HPAScalingPolicy struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + PeriodSeconds int32 `protobuf:"varint,3,opt,name=periodSeconds,proto3" json:"periodSeconds,omitempty"` } -func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} } -func (m *NetworkPolicyEgressRule) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyEgressRule) ProtoMessage() {} -func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{169} +func (m *HPAScalingPolicy) Reset() { *m = HPAScalingPolicy{} } +func (m *HPAScalingPolicy) String() string { return proto.CompactTextString(m) } +func (*HPAScalingPolicy) ProtoMessage() {} +func (*HPAScalingPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{164} } -func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error { +func (m *HPAScalingPolicy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HPAScalingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicyEgressRule.Marshal(b, m, deterministic) + return xxx_messageInfo_HPAScalingPolicy.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14475,50 +14457,59 @@ func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyEgressRule.Merge(m, src) +func (m *HPAScalingPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_HPAScalingPolicy.Merge(m, src) } -func (m *NetworkPolicyEgressRule) XXX_Size() int { +func (m *HPAScalingPolicy) XXX_Size() int { return m.Size() } -func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyEgressRule.DiscardUnknown(m) +func (m *HPAScalingPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_HPAScalingPolicy.DiscardUnknown(m) } -var xxx_messageInfo_NetworkPolicyEgressRule proto.InternalMessageInfo +var xxx_messageInfo_HPAScalingPolicy proto.InternalMessageInfo -func (m *NetworkPolicyEgressRule) GetPorts() []*NetworkPolicyPort { +func (m *HPAScalingPolicy) GetType() string { if m != nil { - return m.Ports + return m.Type } - return nil + return "" } -func (m *NetworkPolicyEgressRule) GetTo() []*NetworkPolicyPeer { +func (m *HPAScalingPolicy) GetValue() int32 { if m != nil { - return m.To + return m.Value } - return nil + return 0 } -type NetworkPolicyPeer struct { - PodSelector []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=podSelector,proto3" json:"podSelector,omitempty"` - NamespaceSelector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=namespaceSelector,proto3" json:"namespaceSelector,omitempty"` - IpBlock *NetworkPolicyIPBlock `protobuf:"bytes,3,opt,name=ipBlock,proto3" json:"ipBlock,omitempty"` +func (m *HPAScalingPolicy) GetPeriodSeconds() int32 { + if m != nil { + return m.PeriodSeconds + } + return 0 } -func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } -func (m *NetworkPolicyPeer) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{170} +type HorizontalPodAutoscalerStatus struct { + ObservedGeneration int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3" json:"observedGeneration,omitempty"` + LastScaleTime int64 `protobuf:"varint,2,opt,name=lastScaleTime,proto3" json:"lastScaleTime,omitempty"` + CurrentReplicas int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3" json:"currentReplicas,omitempty"` + DesiredReplicas int32 `protobuf:"varint,4,opt,name=desiredReplicas,proto3" json:"desiredReplicas,omitempty"` + CurrentMetrics []*HorizontalPodAutoscalerMetricStatus `protobuf:"bytes,5,rep,name=currentMetrics,proto3" json:"currentMetrics,omitempty"` } -func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error { + +func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } +func (m *HorizontalPodAutoscalerStatus) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} +func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{165} +} +func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscalerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicyPeer.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscalerStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14528,57 +14519,73 @@ func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyPeer.Merge(m, src) +func (m *HorizontalPodAutoscalerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerStatus.Merge(m, src) } -func (m *NetworkPolicyPeer) XXX_Size() int { +func (m *HorizontalPodAutoscalerStatus) XXX_Size() int { return m.Size() } -func (m *NetworkPolicyPeer) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyPeer.DiscardUnknown(m) +func (m *HorizontalPodAutoscalerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerStatus.DiscardUnknown(m) } -var xxx_messageInfo_NetworkPolicyPeer proto.InternalMessageInfo +var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo -func (m *NetworkPolicyPeer) GetPodSelector() []*LabelSelectorRequirement { +func (m *HorizontalPodAutoscalerStatus) GetObservedGeneration() int64 { if m != nil { - return m.PodSelector + return m.ObservedGeneration } - return nil + return 0 } -func (m *NetworkPolicyPeer) GetNamespaceSelector() []*LabelSelectorRequirement { +func (m *HorizontalPodAutoscalerStatus) GetLastScaleTime() int64 { if m != nil { - return m.NamespaceSelector + return m.LastScaleTime } - return nil + return 0 } -func (m *NetworkPolicyPeer) GetIpBlock() *NetworkPolicyIPBlock { +func (m *HorizontalPodAutoscalerStatus) GetCurrentReplicas() int32 { if m != nil { - return m.IpBlock + return m.CurrentReplicas + } + return 0 +} + +func (m *HorizontalPodAutoscalerStatus) GetDesiredReplicas() int32 { + if m != nil { + return m.DesiredReplicas + } + return 0 +} + +func (m *HorizontalPodAutoscalerStatus) GetCurrentMetrics() []*HorizontalPodAutoscalerMetricStatus { + if m != nil { + return m.CurrentMetrics } return nil } -type NetworkPolicyPort struct { - Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - EndPort int32 `protobuf:"varint,3,opt,name=endPort,proto3" json:"endPort,omitempty"` +type HorizontalPodAutoscalerCondition struct { + ConditionType string `protobuf:"bytes,1,opt,name=conditionType,proto3" json:"conditionType,omitempty"` + ConditionStatus string `protobuf:"bytes,2,opt,name=conditionStatus,proto3" json:"conditionStatus,omitempty"` + LastTransitionTime int64 `protobuf:"varint,3,opt,name=lastTransitionTime,proto3" json:"lastTransitionTime,omitempty"` + Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` + Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` } -func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } -func (m *NetworkPolicyPort) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { - return fileDescriptor_69b34851fbf62631, []int{171} +func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} } +func (m *HorizontalPodAutoscalerCondition) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerCondition) ProtoMessage() {} +func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{166} } -func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error { +func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HorizontalPodAutoscalerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_NetworkPolicyPort.Marshal(b, m, deterministic) + return xxx_messageInfo_HorizontalPodAutoscalerCondition.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -14588,1983 +14595,1748 @@ func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *NetworkPolicyPort) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyPort.Merge(m, src) +func (m *HorizontalPodAutoscalerCondition) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerCondition.Merge(m, src) } -func (m *NetworkPolicyPort) XXX_Size() int { +func (m *HorizontalPodAutoscalerCondition) XXX_Size() int { return m.Size() } -func (m *NetworkPolicyPort) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyPort.DiscardUnknown(m) +func (m *HorizontalPodAutoscalerCondition) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerCondition.DiscardUnknown(m) } -var xxx_messageInfo_NetworkPolicyPort proto.InternalMessageInfo +var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo -func (m *NetworkPolicyPort) GetProtocol() string { +func (m *HorizontalPodAutoscalerCondition) GetConditionType() string { if m != nil { - return m.Protocol + return m.ConditionType } return "" } -func (m *NetworkPolicyPort) GetPort() int32 { +func (m *HorizontalPodAutoscalerCondition) GetConditionStatus() string { if m != nil { - return m.Port + return m.ConditionStatus } - return 0 + return "" } -func (m *NetworkPolicyPort) GetEndPort() int32 { +func (m *HorizontalPodAutoscalerCondition) GetLastTransitionTime() int64 { if m != nil { - return m.EndPort + return m.LastTransitionTime } return 0 } -func init() { - proto.RegisterEnum("datadog.process_agent.ContainerHostType", ContainerHostType_name, ContainerHostType_value) - proto.RegisterEnum("datadog.process_agent.ContainerState", ContainerState_name, ContainerState_value) - proto.RegisterEnum("datadog.process_agent.ContainerHealth", ContainerHealth_name, ContainerHealth_value) - proto.RegisterEnum("datadog.process_agent.ProcessState", ProcessState_name, ProcessState_value) - proto.RegisterEnum("datadog.process_agent.ConnectionType", ConnectionType_name, ConnectionType_value) - proto.RegisterEnum("datadog.process_agent.K8SResource", K8SResource_name, K8SResource_value) - proto.RegisterEnum("datadog.process_agent.ResourceRequirementsType", ResourceRequirementsType_name, ResourceRequirementsType_value) - proto.RegisterEnum("datadog.process_agent.HTTPResponseStatus", HTTPResponseStatus_name, HTTPResponseStatus_value) - proto.RegisterEnum("datadog.process_agent.HTTPMethod", HTTPMethod_name, HTTPMethod_value) - proto.RegisterType((*ResCollector)(nil), "datadog.process_agent.ResCollector") - proto.RegisterType((*ResCollector_Header)(nil), "datadog.process_agent.ResCollector.Header") - proto.RegisterType((*CollectorProc)(nil), "datadog.process_agent.CollectorProc") - proto.RegisterType((*CollectorProcDiscovery)(nil), "datadog.process_agent.CollectorProcDiscovery") - proto.RegisterType((*CollectorRealTime)(nil), "datadog.process_agent.CollectorRealTime") - proto.RegisterType((*CollectorContainer)(nil), "datadog.process_agent.CollectorContainer") - proto.RegisterType((*CollectorContainerRealTime)(nil), "datadog.process_agent.CollectorContainerRealTime") - proto.RegisterType((*CollectorReqStatus)(nil), "datadog.process_agent.CollectorReqStatus") - proto.RegisterType((*CollectorPod)(nil), "datadog.process_agent.CollectorPod") - proto.RegisterType((*CollectorReplicaSet)(nil), "datadog.process_agent.CollectorReplicaSet") - proto.RegisterType((*CollectorDeployment)(nil), "datadog.process_agent.CollectorDeployment") - proto.RegisterType((*CollectorService)(nil), "datadog.process_agent.CollectorService") - proto.RegisterType((*CollectorNode)(nil), "datadog.process_agent.CollectorNode") - proto.RegisterMapType((map[string]*Host)(nil), "datadog.process_agent.CollectorNode.HostAliasMappingEntry") - proto.RegisterType((*CollectorCluster)(nil), "datadog.process_agent.CollectorCluster") - proto.RegisterType((*CollectorManifest)(nil), "datadog.process_agent.CollectorManifest") - proto.RegisterType((*CollectorManifestCRD)(nil), "datadog.process_agent.CollectorManifestCRD") - proto.RegisterType((*CollectorManifestCR)(nil), "datadog.process_agent.CollectorManifestCR") - proto.RegisterType((*CollectorNamespace)(nil), "datadog.process_agent.CollectorNamespace") - proto.RegisterType((*CollectorJob)(nil), "datadog.process_agent.CollectorJob") - proto.RegisterType((*CollectorCronJob)(nil), "datadog.process_agent.CollectorCronJob") - proto.RegisterType((*CollectorDaemonSet)(nil), "datadog.process_agent.CollectorDaemonSet") - proto.RegisterType((*CollectorStatefulSet)(nil), "datadog.process_agent.CollectorStatefulSet") - proto.RegisterType((*CollectorPersistentVolume)(nil), "datadog.process_agent.CollectorPersistentVolume") - proto.RegisterType((*CollectorPersistentVolumeClaim)(nil), "datadog.process_agent.CollectorPersistentVolumeClaim") - proto.RegisterType((*CollectorRole)(nil), "datadog.process_agent.CollectorRole") - proto.RegisterType((*CollectorRoleBinding)(nil), "datadog.process_agent.CollectorRoleBinding") - proto.RegisterType((*CollectorClusterRole)(nil), "datadog.process_agent.CollectorClusterRole") - proto.RegisterType((*CollectorClusterRoleBinding)(nil), "datadog.process_agent.CollectorClusterRoleBinding") - proto.RegisterType((*CollectorServiceAccount)(nil), "datadog.process_agent.CollectorServiceAccount") - proto.RegisterType((*CollectorIngress)(nil), "datadog.process_agent.CollectorIngress") - proto.RegisterType((*CollectorVerticalPodAutoscaler)(nil), "datadog.process_agent.CollectorVerticalPodAutoscaler") - proto.RegisterType((*CollectorHorizontalPodAutoscaler)(nil), "datadog.process_agent.CollectorHorizontalPodAutoscaler") - proto.RegisterType((*CollectorNetworkPolicy)(nil), "datadog.process_agent.CollectorNetworkPolicy") - proto.RegisterType((*CollectorStatus)(nil), "datadog.process_agent.CollectorStatus") - proto.RegisterType((*Process)(nil), "datadog.process_agent.Process") - proto.RegisterType((*ProcessDiscovery)(nil), "datadog.process_agent.ProcessDiscovery") - proto.RegisterType((*Command)(nil), "datadog.process_agent.Command") - proto.RegisterType((*ProcessUser)(nil), "datadog.process_agent.ProcessUser") - proto.RegisterType((*ProcessNetworks)(nil), "datadog.process_agent.ProcessNetworks") - proto.RegisterType((*ContainerAddr)(nil), "datadog.process_agent.ContainerAddr") - proto.RegisterType((*Container)(nil), "datadog.process_agent.Container") - proto.RegisterType((*ProcessStat)(nil), "datadog.process_agent.ProcessStat") - proto.RegisterType((*ProcStatsWithPerm)(nil), "datadog.process_agent.ProcStatsWithPerm") - proto.RegisterType((*ProcStatsWithPermByPID)(nil), "datadog.process_agent.ProcStatsWithPermByPID") - proto.RegisterMapType((map[int32]*ProcStatsWithPerm)(nil), "datadog.process_agent.ProcStatsWithPermByPID.StatsByPIDEntry") - proto.RegisterType((*ContainerStat)(nil), "datadog.process_agent.ContainerStat") - proto.RegisterType((*SystemInfo)(nil), "datadog.process_agent.SystemInfo") - proto.RegisterType((*OSInfo)(nil), "datadog.process_agent.OSInfo") - proto.RegisterType((*IOStat)(nil), "datadog.process_agent.IOStat") - proto.RegisterType((*MemoryStat)(nil), "datadog.process_agent.MemoryStat") - proto.RegisterType((*CPUStat)(nil), "datadog.process_agent.CPUStat") - proto.RegisterType((*SingleCPUStat)(nil), "datadog.process_agent.SingleCPUStat") - proto.RegisterType((*CPUInfo)(nil), "datadog.process_agent.CPUInfo") - proto.RegisterType((*Host)(nil), "datadog.process_agent.Host") - proto.RegisterType((*Cluster)(nil), "datadog.process_agent.Cluster") - proto.RegisterMapType((map[string]int32)(nil), "datadog.process_agent.Cluster.ApiServerVersionsEntry") - proto.RegisterMapType((map[string]int32)(nil), "datadog.process_agent.Cluster.KubeletVersionsEntry") - proto.RegisterType((*Metadata)(nil), "datadog.process_agent.Metadata") - proto.RegisterType((*OwnerReference)(nil), "datadog.process_agent.OwnerReference") - proto.RegisterType((*ObjectReference)(nil), "datadog.process_agent.ObjectReference") - proto.RegisterType((*ServicePort)(nil), "datadog.process_agent.ServicePort") - proto.RegisterType((*ServiceSessionAffinityConfig)(nil), "datadog.process_agent.ServiceSessionAffinityConfig") - proto.RegisterType((*Node)(nil), "datadog.process_agent.Node") - proto.RegisterType((*NodeStatus)(nil), "datadog.process_agent.NodeStatus") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.NodeStatus.AllocatableEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.NodeStatus.CapacityEntry") - proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.NodeStatus.NodeAddressesEntry") - proto.RegisterType((*NodeCondition)(nil), "datadog.process_agent.NodeCondition") - proto.RegisterType((*ContainerImage)(nil), "datadog.process_agent.ContainerImage") - proto.RegisterType((*Taint)(nil), "datadog.process_agent.Taint") - proto.RegisterType((*ServiceSpec)(nil), "datadog.process_agent.ServiceSpec") - proto.RegisterType((*ServiceStatus)(nil), "datadog.process_agent.ServiceStatus") - proto.RegisterType((*Service)(nil), "datadog.process_agent.Service") - proto.RegisterType((*DeploymentCondition)(nil), "datadog.process_agent.DeploymentCondition") - proto.RegisterType((*Deployment)(nil), "datadog.process_agent.Deployment") - proto.RegisterType((*ReplicaSetCondition)(nil), "datadog.process_agent.ReplicaSetCondition") - proto.RegisterType((*ReplicaSet)(nil), "datadog.process_agent.ReplicaSet") - proto.RegisterType((*LabelSelectorRequirement)(nil), "datadog.process_agent.LabelSelectorRequirement") - proto.RegisterType((*Pod)(nil), "datadog.process_agent.Pod") - proto.RegisterType((*PodCondition)(nil), "datadog.process_agent.PodCondition") - proto.RegisterType((*ContainerStatus)(nil), "datadog.process_agent.ContainerStatus") - proto.RegisterType((*Manifest)(nil), "datadog.process_agent.Manifest") - proto.RegisterType((*NamespaceCondition)(nil), "datadog.process_agent.NamespaceCondition") - proto.RegisterType((*Namespace)(nil), "datadog.process_agent.Namespace") - proto.RegisterType((*ResourceRequirements)(nil), "datadog.process_agent.ResourceRequirements") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ResourceRequirements.LimitsEntry") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ResourceRequirements.RequestsEntry") - proto.RegisterType((*ResourceMetrics)(nil), "datadog.process_agent.ResourceMetrics") - proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ResourceMetrics.MetricValuesEntry") - proto.RegisterType((*JobSpec)(nil), "datadog.process_agent.JobSpec") - proto.RegisterType((*JobStatus)(nil), "datadog.process_agent.JobStatus") - proto.RegisterType((*JobCondition)(nil), "datadog.process_agent.JobCondition") - proto.RegisterType((*Job)(nil), "datadog.process_agent.Job") - proto.RegisterType((*CronJobSpec)(nil), "datadog.process_agent.CronJobSpec") - proto.RegisterType((*CronJobStatus)(nil), "datadog.process_agent.CronJobStatus") - proto.RegisterType((*CronJob)(nil), "datadog.process_agent.CronJob") - proto.RegisterType((*DaemonSetSpec)(nil), "datadog.process_agent.DaemonSetSpec") - proto.RegisterType((*DaemonSetStatus)(nil), "datadog.process_agent.DaemonSetStatus") - proto.RegisterType((*DaemonSetCondition)(nil), "datadog.process_agent.DaemonSetCondition") - proto.RegisterType((*DaemonSet)(nil), "datadog.process_agent.DaemonSet") - proto.RegisterType((*StatefulSetSpec)(nil), "datadog.process_agent.StatefulSetSpec") - proto.RegisterType((*StatefulSetStatus)(nil), "datadog.process_agent.StatefulSetStatus") - proto.RegisterType((*StatefulSetCondition)(nil), "datadog.process_agent.StatefulSetCondition") - proto.RegisterType((*StatefulSet)(nil), "datadog.process_agent.StatefulSet") - proto.RegisterType((*PersistentVolume)(nil), "datadog.process_agent.PersistentVolume") - proto.RegisterType((*PersistentVolumeSpec)(nil), "datadog.process_agent.PersistentVolumeSpec") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PersistentVolumeSpec.CapacityEntry") - proto.RegisterType((*PersistentVolumeSource)(nil), "datadog.process_agent.PersistentVolumeSource") - proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "datadog.process_agent.GCEPersistentDiskVolumeSource") - proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "datadog.process_agent.AWSElasticBlockStoreVolumeSource") - proto.RegisterType((*AzureFilePersistentVolumeSource)(nil), "datadog.process_agent.AzureFilePersistentVolumeSource") - proto.RegisterType((*AzureDiskVolumeSource)(nil), "datadog.process_agent.AzureDiskVolumeSource") - proto.RegisterType((*CSIVolumeSource)(nil), "datadog.process_agent.CSIVolumeSource") - proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.CSIVolumeSource.VolumeAttributesEntry") - proto.RegisterType((*SecretReference)(nil), "datadog.process_agent.SecretReference") - proto.RegisterType((*PersistentVolumeStatus)(nil), "datadog.process_agent.PersistentVolumeStatus") - proto.RegisterType((*NodeSelectorTerm)(nil), "datadog.process_agent.NodeSelectorTerm") - proto.RegisterType((*PersistentVolumeClaim)(nil), "datadog.process_agent.PersistentVolumeClaim") - proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "datadog.process_agent.PersistentVolumeClaimStatus") - proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PersistentVolumeClaimStatus.CapacityEntry") - proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "datadog.process_agent.PersistentVolumeClaimSpec") - proto.RegisterType((*TypedLocalObjectReference)(nil), "datadog.process_agent.TypedLocalObjectReference") - proto.RegisterType((*PersistentVolumeClaimCondition)(nil), "datadog.process_agent.PersistentVolumeClaimCondition") - proto.RegisterType((*PolicyRule)(nil), "datadog.process_agent.PolicyRule") - proto.RegisterType((*Subject)(nil), "datadog.process_agent.Subject") - proto.RegisterType((*Role)(nil), "datadog.process_agent.Role") - proto.RegisterType((*RoleBinding)(nil), "datadog.process_agent.RoleBinding") - proto.RegisterType((*ClusterRole)(nil), "datadog.process_agent.ClusterRole") - proto.RegisterType((*ClusterRoleBinding)(nil), "datadog.process_agent.ClusterRoleBinding") - proto.RegisterType((*ServiceAccount)(nil), "datadog.process_agent.ServiceAccount") - proto.RegisterType((*IngressServiceBackend)(nil), "datadog.process_agent.IngressServiceBackend") - proto.RegisterType((*IngressBackend)(nil), "datadog.process_agent.IngressBackend") - proto.RegisterType((*IngressTLS)(nil), "datadog.process_agent.IngressTLS") - proto.RegisterType((*HTTPIngressPath)(nil), "datadog.process_agent.HTTPIngressPath") - proto.RegisterType((*IngressRule)(nil), "datadog.process_agent.IngressRule") - proto.RegisterType((*IngressSpec)(nil), "datadog.process_agent.IngressSpec") - proto.RegisterType((*PortStatus)(nil), "datadog.process_agent.PortStatus") - proto.RegisterType((*LoadBalancerIngress)(nil), "datadog.process_agent.LoadBalancerIngress") - proto.RegisterType((*IngressStatus)(nil), "datadog.process_agent.IngressStatus") - proto.RegisterType((*Ingress)(nil), "datadog.process_agent.Ingress") - proto.RegisterType((*KafkaRequestHeader)(nil), "datadog.process_agent.KafkaRequestHeader") - proto.RegisterType((*KafkaAggregation)(nil), "datadog.process_agent.KafkaAggregation") - proto.RegisterType((*DataStreamsAggregations)(nil), "datadog.process_agent.DataStreamsAggregations") - proto.RegisterType((*DataStreamsAggregations_TopicStats)(nil), "datadog.process_agent.DataStreamsAggregations.TopicStats") - proto.RegisterType((*DataStreamsAggregations_KafkaProduceAggregations)(nil), "datadog.process_agent.DataStreamsAggregations.KafkaProduceAggregations") - proto.RegisterType((*DataStreamsAggregations_KafkaFetchAggregations)(nil), "datadog.process_agent.DataStreamsAggregations.KafkaFetchAggregations") - proto.RegisterType((*HTTPAggregations)(nil), "datadog.process_agent.HTTPAggregations") - proto.RegisterType((*HTTP2Aggregations)(nil), "datadog.process_agent.HTTP2Aggregations") - proto.RegisterType((*HTTPStats)(nil), "datadog.process_agent.HTTPStats") - proto.RegisterMapType((map[int32]*HTTPStats_Data)(nil), "datadog.process_agent.HTTPStats.StatsByStatusCodeEntry") - proto.RegisterType((*HTTPStats_Data)(nil), "datadog.process_agent.HTTPStats.Data") - proto.RegisterType((*DNSDatabaseEntry)(nil), "datadog.process_agent.DNSDatabaseEntry") - proto.RegisterType((*ResourceList)(nil), "datadog.process_agent.ResourceList") - proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ResourceList.MetricValuesEntry") - proto.RegisterType((*VerticalPodAutoscaler)(nil), "datadog.process_agent.VerticalPodAutoscaler") - proto.RegisterType((*VerticalPodAutoscalerCondition)(nil), "datadog.process_agent.VerticalPodAutoscalerCondition") - proto.RegisterType((*VerticalPodAutoscalerSpec)(nil), "datadog.process_agent.VerticalPodAutoscalerSpec") - proto.RegisterType((*VerticalPodAutoscalerTarget)(nil), "datadog.process_agent.VerticalPodAutoscalerTarget") - proto.RegisterType((*ContainerResourcePolicy)(nil), "datadog.process_agent.ContainerResourcePolicy") - proto.RegisterType((*VerticalPodAutoscalerStatus)(nil), "datadog.process_agent.VerticalPodAutoscalerStatus") - proto.RegisterType((*ContainerRecommendation)(nil), "datadog.process_agent.ContainerRecommendation") - proto.RegisterType((*VPACondition)(nil), "datadog.process_agent.VPACondition") - proto.RegisterType((*HorizontalPodAutoscaler)(nil), "datadog.process_agent.HorizontalPodAutoscaler") - proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "datadog.process_agent.HorizontalPodAutoscalerSpec") - proto.RegisterType((*HorizontalPodAutoscalerTarget)(nil), "datadog.process_agent.HorizontalPodAutoscalerTarget") - proto.RegisterType((*HorizontalPodAutoscalerMetricSpec)(nil), "datadog.process_agent.HorizontalPodAutoscalerMetricSpec") - proto.RegisterType((*ObjectMetricSource)(nil), "datadog.process_agent.ObjectMetricSource") - proto.RegisterType((*MetricTarget)(nil), "datadog.process_agent.MetricTarget") - proto.RegisterType((*MetricIdentifier)(nil), "datadog.process_agent.MetricIdentifier") - proto.RegisterType((*PodsMetricSource)(nil), "datadog.process_agent.PodsMetricSource") - proto.RegisterType((*ResourceMetricSource)(nil), "datadog.process_agent.ResourceMetricSource") - proto.RegisterType((*ContainerResourceMetricSource)(nil), "datadog.process_agent.ContainerResourceMetricSource") - proto.RegisterType((*ExternalMetricSource)(nil), "datadog.process_agent.ExternalMetricSource") - proto.RegisterType((*HorizontalPodAutoscalerBehavior)(nil), "datadog.process_agent.HorizontalPodAutoscalerBehavior") - proto.RegisterType((*HPAScalingRules)(nil), "datadog.process_agent.HPAScalingRules") - proto.RegisterType((*HPAScalingPolicy)(nil), "datadog.process_agent.HPAScalingPolicy") - proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "datadog.process_agent.HorizontalPodAutoscalerStatus") - proto.RegisterType((*HorizontalPodAutoscalerCondition)(nil), "datadog.process_agent.HorizontalPodAutoscalerCondition") - proto.RegisterType((*HorizontalPodAutoscalerMetricStatus)(nil), "datadog.process_agent.HorizontalPodAutoscalerMetricStatus") - proto.RegisterType((*ObjectMetricStatus)(nil), "datadog.process_agent.ObjectMetricStatus") - proto.RegisterType((*PodsMetricStatus)(nil), "datadog.process_agent.PodsMetricStatus") - proto.RegisterType((*ResourceMetricStatus)(nil), "datadog.process_agent.ResourceMetricStatus") - proto.RegisterType((*ContainerResourceMetricStatus)(nil), "datadog.process_agent.ContainerResourceMetricStatus") - proto.RegisterType((*ExternalMetricStatus)(nil), "datadog.process_agent.ExternalMetricStatus") - proto.RegisterType((*NetworkPolicy)(nil), "datadog.process_agent.NetworkPolicy") - proto.RegisterType((*NetworkPolicySpec)(nil), "datadog.process_agent.NetworkPolicySpec") - proto.RegisterType((*NetworkPolicyIPBlock)(nil), "datadog.process_agent.NetworkPolicyIPBlock") - proto.RegisterType((*NetworkPolicyIngressRule)(nil), "datadog.process_agent.NetworkPolicyIngressRule") - proto.RegisterType((*NetworkPolicyEgressRule)(nil), "datadog.process_agent.NetworkPolicyEgressRule") - proto.RegisterType((*NetworkPolicyPeer)(nil), "datadog.process_agent.NetworkPolicyPeer") - proto.RegisterType((*NetworkPolicyPort)(nil), "datadog.process_agent.NetworkPolicyPort") -} - -func init() { proto.RegisterFile("proto/process/agent.proto", fileDescriptor_69b34851fbf62631) } - -var fileDescriptor_69b34851fbf62631 = []byte{ - // 10380 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x7d, 0x6d, 0x6c, 0x24, 0xc9, - 0x75, 0xd8, 0xf6, 0x7c, 0xcf, 0xe3, 0x57, 0xb3, 0x96, 0xcb, 0x9d, 0xe3, 0xdd, 0xad, 0xf6, 0x5a, - 0xa7, 0xd3, 0x6a, 0x75, 0xda, 0xbb, 0xac, 0x74, 0xa7, 0xbd, 0x0f, 0x9d, 0x8e, 0x1c, 0x72, 0x77, - 0xc9, 0xe5, 0xc7, 0xa8, 0x86, 0xdc, 0x95, 0x4e, 0x12, 0xa4, 0x66, 0x77, 0x91, 0x6c, 0x71, 0xa6, - 0x7b, 0xd4, 0xdd, 0xc3,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6, 0x4f, 0x07, 0xa2, 0xc1, 0x07, 0x42, 0x24, 0x55, 0x63, 0xf7, 0x4c, 0x72, - 0x92, 0x92, 0x3e, 0xe2, 0x92, 0x72, 0x48, 0xb9, 0x02, 0x75, 0xd3, 0xb6, 0xc5, 0xf2, 0xec, 0xd9, - 0xf1, 0x82, 0x52, 0xa8, 0x1e, 0xe2, 0x18, 0x8d, 0x85, 0x9f, 0x1c, 0xf9, 0xc4, 0x14, 0xce, 0xc5, - 0x73, 0x5c, 0x66, 0x15, 0x50, 0x5c, 0x82, 0x4b, 0xf5, 0xf3, 0x6a, 0x09, 0x2e, 0xd5, 0x9c, 0x39, - 0x7b, 0x2c, 0x1a, 0xf4, 0x5a, 0xc4, 0x1c, 0x96, 0x66, 0xe6, 0xbd, 0xd7, 0x67, 0xff, 0xb7, 0x83, - 0xc6, 0xc7, 0xf8, 0x20, 0xc6, 0x10, 0xea, 0x26, 0x74, 0x49, 0x57, 0x2c, 0x89, 0x89, 0xdd, 0xb8, - 0xce, 0xf0, 0x13, 0x30, 0x41, 0x03, 0x93, 0x6f, 0xf7, 0x49, 0x10, 0x36, 0x5e, 0x88, 0x68, 0x08, - 0x08, 0x75, 0x8c, 0xb9, 0x92, 0xc9, 0x22, 0x06, 0x23, 0x92, 0x04, 0x52, 0x2a, 0x3e, 0xe9, 0x79, - 0xab, 0xce, 0x21, 0x2d, 0xf2, 0x71, 0xa6, 0xd4, 0x0a, 0x44, 0xc4, 0x07, 0xfd, 0x59, 0x2d, 0x32, - 0xd2, 0xcc, 0xd1, 0x19, 0x9c, 0x69, 0x93, 0x13, 0x56, 0x61, 0x60, 0xc2, 0x8a, 0x7d, 0xcf, 0xe2, - 0x19, 0x7d, 0xcf, 0xd2, 0xf8, 0xbe, 0x27, 0x35, 0x5c, 0x8e, 0x25, 0xa3, 0x56, 0xd8, 0x7f, 0x2a, - 0x44, 0x7c, 0x74, 0x02, 0x61, 0xe6, 0x65, 0x32, 0xed, 0x49, 0xd6, 0x06,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, 0x7a, 0x4b, 0x06, 0x2a, 0xaf, 0xb7, 0xe8, 0xf8, 0xbb, 0x5e, 0xd7, 0x71, - 0xa9, 0x09, 0xa7, 0xae, 0xe5, 0x76, 0xbc, 0x15, 0x39, 0x98, 0x21, 0x77, 0xea, 0x58, 0x21, 0xae, - 0x9c, 0x51, 0x9a, 0x2e, 0x71, 0x7a, 0x47, 0x66, 0x20, 0x95, 0x93, 0x27, 0xa8, 0xc7, 0xec, 0x13, - 0x16, 0xc7, 0xc0, 0x0f, 0x7e, 0xb8, 0x10, 0x26, 0x60, 0x68, 0x57, 0x79, 0x3f, 0x8c, 0xfb, 0x47, - 0xd1, 0xd6, 0xc0, 0x4b, 0xe3, 0xc4, 0x64, 0xf4, 0x03, 0x3c, 0x48, 0x00, 0x7d, 0x0d, 0xae, 0x50, - 0x3f, 0xb4, 0x39, 0x40, 0x79, 0x76, 0x22, 0xca, 0xd9, 0x44, 0x32, 0xe7, 0x97, 0x5a, 0xce, 0xfc, - 0x12, 0x1b, 0xc6, 0x7a, 0xc2, 0x30, 0x4a, 0x61, 0x87, 0x1c, 0x61, 0x9f, 0x52, 0x84, 0x5d, 0x6e, - 0x9d, 0x4d, 0x8f, 0xbb, 0x75, 0x96, 0xa7, 0xaa, 0x33, 0x4f, 0x4b, 0x55, 0x97, 0xa0, 0xf6, 0xa5, - 0x9d, 0x76, 0xb3, 0x63, 0x06, 0x3c, 0x14, 0xbb, 0x8e, 0xa3, 0x34, 0xb5, 0x3d, 0x3d, 0xdf, 0xf1, - 0x7c, 0xba, 0x0c, 0x60, 0x05, 0x74, 0xbe, 0x51, 0x92, 0x00, 0x3e, 0x85, 0xa9, 0x8e, 0xae, 0xc7, - 0xa9, 0x1c, 0xb1, 0x19, 0x05, 0x89, 0xf5, 0xb8, 0x04, 0xd0, 0x56, 0x88, 0x0d, 0x55, 0x62, 0xb3, - 0x12, 0x97, 0x59, 0x89, 0x24, 0x10, 0x35, 0x13, 0x46, 0x60, 0x81, 0xb1, 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0x10, - 0xa9, 0x10, 0x8f, 0x89, 0x46, 0x67, 0x97, 0x61, 0x62, 0x41, 0x81, 0x2e, 0xf7, 0x78, 0x74, 0xe6, - 0x16, 0x37, 0x56, 0x6c, 0xb9, 0x17, 0x43, 0xd0, 0x7b, 0xa0, 0xcb, 0xe5, 0x63, 0xf4, 0x99, 0xd7, - 0xe2, 0xd0, 0x0f, 0xde, 0xc6, 0x5f, 0xef, 0x54, 0xf1, 0x4e, 0xf1, 0x00, 0x1d, 0x63, 0x0d, 0x9e, - 0x1d, 0xd2, 0xc4, 0xcc, 0x4d, 0x59, 0xb9, 0xf1, 0x5a, 0x50, 0xf6, 0xd3, 0x7f, 0xbb, 0x00, 0x57, - 0x73, 0x2a, 0x4d, 0x7c, 0x0a, 0x48, 0x59, 0xfa, 0x27, 0x81, 0x94, 0x6a, 0x37, 0xee, 0x3e, 0xfb, - 0x8f, 0x9a, 0x00, 0x5d, 0xc7, 0x5d, 0xee, 0x74, 0xbc, 0xc7, 0x22, 0xb0, 0x3f, 0xff, 0x32, 0x94, - 0x6a, 0x39, 0xb0, 0x82, 0xc6, 0x88, 0x98, 0x4f, 0x24, 0x91, 0xd2, 0x24, 0x44, 0x22, 0x34, 0xf9, - 0x51, 0x21, 0x76, 0x5a, 0x6d, 0xcb, 0x52, 0x42, 0x6d, 0x32, 0x72, 0xe4, 0xa7, 0x76, 0x38, 0x54, - 0x58, 0xbe, 0x4a, 0x74, 0x55, 0x30, 0x01, 0x37, 0xfe, 0xbb, 0x96, 0x33, 0x06, 0xf1, 0xdb, 0x66, - 0x9b, 0x66, 0x10, 0x62, 0x62, 0x79, 0xdd, 0x2e, 0x71, 0x6d, 0x62, 0xaf, 0xca, 0xef, 0x2f, 0x14, - 0x71, 0x56, 0x16, 0xfa, 0x32, 0x75, 0xf6, 0x05, 0x28, 0xe1, 0x9c, 0x8c, 0x21, 0x2f, 0x2a, 0x1a, - 0x4e, 0x93, 0x49, 0x5d, 0x4f, 0x2b, 0x0e, 0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 0x54, 0x10, - 0x2b, 0x61, 0x3e, 0x49, 0xdd, 0x73, 0x50, 0x41, 0x08, 0xc7, 0x67, 0x21, 0xa5, 0xa1, 0x17, 0xf6, - 0x73, 0x9a, 0xc4, 0x7d, 0x46, 0x36, 0xaa, 0x51, 0xb4, 0x3c, 0x86, 0xda, 0x3e, 0x39, 0x32, 0x4f, - 0x1c, 0x4f, 0x7e, 0x37, 0xf8, 0xf5, 0xc9, 0x88, 0xae, 0x08, 0x6c, 0x1c, 0xd1, 0x31, 0xee, 0xc1, - 0xf3, 0x43, 0x99, 0x32, 0xf6, 0xe4, 0xfa, 0xfd, 0x22, 0xbc, 0x30, 0xb2, 0x2f, 0x99, 0xde, 0xd3, - 0x32, 0x54, 0x3c, 0xb6, 0x13, 0x2d, 0x24, 0xff, 0x53, 0x43, 0xcf, 0x26, 0x04, 0x31, 0x1e, 0xa4, - 0x20, 0x10, 0xd1, 0x5b, 0x50, 0xea, 0x79, 0xb6, 0x14, 0xf8, 0x4f, 0xe6, 0xbf, 0x6f, 0x13, 0x24, - 0xd0, 0x19, 0x12, 0xba, 0xa7, 0x6c, 0x9d, 0x97, 0xc6, 0x0a, 0x8e, 0x48, 0x10, 0x89, 0x90, 0xd1, - 0xbe, 0xf2, 0xd2, 0x93, 0x32, 0xfd, 0x0e, 0x13, 0xc8, 0x01, 0x77, 0x24, 0x41, 0x7a, 0x90, 0x1c, - 0x6d, 0xac, 0x7c, 0x62, 0x55, 0x1c, 0xb2, 0xe5, 0x35, 0x76, 0x4d, 0x14, 0x4b, 0x36, 0x56, 0x22, - 0x1b, 0xff, 0x49, 0x03, 0x34, 0xc8, 0x51, 0xd4, 0x62, 0x37, 0xb2, 0x2c, 0xdf, 0xd9, 0x27, 0x36, - 0xcf, 0x16, 0x2a, 0x35, 0xee, 0x89, 0x51, 0x1a, 0x7d, 0xec, 0x69, 0x90, 0x37, 0x23, 0xa5, 0x8a, - 0x5f, 0x64, 0xab, 0x7b, 0xdf, 0xb1, 0x46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 0xf3, 0xca, 0x14, 0x5d, - 0xbc, 0xab, 0xa1, 0x57, 0x50, 0x1d, 0xca, 0x2d, 0x33, 0xb4, 0x8e, 0xf4, 0x2a, 0xfd, 0xbb, 0xeb, - 0x9b, 0x16, 0xd1, 0x6b, 0x2b, 0x6b, 0xff, 0xea, 0xc7, 0xd7, 0xb4, 0x3f, 0xfc, 0xf1, 0x35, 0xed, - 0x8f, 0x7f, 0x7c, 0x4d, 0xfb, 0xee, 0x4f, 0xae, 0x5d, 0xfa, 0xc3, 0x9f, 0x5c, 0xbb, 0xf4, 0xa3, - 0x9f, 0x5c, 0xbb, 0xf4, 0xde, 0xa7, 0x0f, 0x9d, 0xf0, 0xa8, 0xbf, 0x7f, 0xcb, 0xf2, 0xba, 0xaf, - 0xac, 0x9a, 0xa1, 0xb9, 0xea, 0x1d, 0xbe, 0xc2, 0xec, 0xdf, 0x67, 0x7a, 0xe6, 0x69, 0xc7, 0x33, - 0xed, 0x57, 0x4e, 0x5e, 0x7b, 0x45, 0x18, 0xc6, 0xfd, 0x0a, 0xb3, 0x66, 0x9f, 0xfd, 0xff, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x22, 0x97, 0xc0, 0x28, 0x51, 0xb4, 0x00, 0x00, +func (m *HorizontalPodAutoscalerCondition) GetReason() string { + if m != nil { + return m.Reason + } + return "" } -func (m *ResCollector) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *HorizontalPodAutoscalerCondition) GetMessage() string { + if m != nil { + return m.Message } - return dAtA[:n], nil + return "" } -func (m *ResCollector) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type HorizontalPodAutoscalerMetricStatus struct { + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Object *ObjectMetricStatus `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` + Pods *PodsMetricStatus `protobuf:"bytes,3,opt,name=pods,proto3" json:"pods,omitempty"` + Resource *ResourceMetricStatus `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` + ContainerResource *ContainerResourceMetricStatus `protobuf:"bytes,5,opt,name=containerResource,proto3" json:"containerResource,omitempty"` + External *ExternalMetricStatus `protobuf:"bytes,6,opt,name=external,proto3" json:"external,omitempty"` } -func (m *ResCollector) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) +func (m *HorizontalPodAutoscalerMetricStatus) Reset() { *m = HorizontalPodAutoscalerMetricStatus{} } +func (m *HorizontalPodAutoscalerMetricStatus) String() string { return proto.CompactTextString(m) } +func (*HorizontalPodAutoscalerMetricStatus) ProtoMessage() {} +func (*HorizontalPodAutoscalerMetricStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{167} +} +func (m *HorizontalPodAutoscalerMetricStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HorizontalPodAutoscalerMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x1a + return b[:n], nil } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x12 +} +func (m *HorizontalPodAutoscalerMetricStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.Merge(m, src) +} +func (m *HorizontalPodAutoscalerMetricStatus) XXX_Size() int { + return m.Size() +} +func (m *HorizontalPodAutoscalerMetricStatus) XXX_DiscardUnknown() { + xxx_messageInfo_HorizontalPodAutoscalerMetricStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_HorizontalPodAutoscalerMetricStatus proto.InternalMessageInfo + +func (m *HorizontalPodAutoscalerMetricStatus) GetType() string { + if m != nil { + return m.Type } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + return "" +} + +func (m *HorizontalPodAutoscalerMetricStatus) GetObject() *ObjectMetricStatus { + if m != nil { + return m.Object } - return len(dAtA) - i, nil + return nil } -func (m *ResCollector_Header) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *HorizontalPodAutoscalerMetricStatus) GetPods() *PodsMetricStatus { + if m != nil { + return m.Pods } - return dAtA[:n], nil + return nil } -func (m *ResCollector_Header) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *HorizontalPodAutoscalerMetricStatus) GetResource() *ResourceMetricStatus { + if m != nil { + return m.Resource + } + return nil } -func (m *ResCollector_Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x20 +func (m *HorizontalPodAutoscalerMetricStatus) GetContainerResource() *ContainerResourceMetricStatus { + if m != nil { + return m.ContainerResource } - return len(dAtA) - i, nil + return nil } -func (m *CollectorProc) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *HorizontalPodAutoscalerMetricStatus) GetExternal() *ExternalMetricStatus { + if m != nil { + return m.External } - return dAtA[:n], nil + return nil } -func (m *CollectorProc) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type ObjectMetricStatus struct { + DescribedObject *ObjectReference `protobuf:"bytes,1,opt,name=describedObject,proto3" json:"describedObject,omitempty"` + Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` + Metric *MetricIdentifier `protobuf:"bytes,3,opt,name=metric,proto3" json:"metric,omitempty"` } -func (m *CollectorProc) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Hints != nil { - { - size := m.Hints.Size() - i -= size - if _, err := m.Hints.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x60 - } - if len(m.NetworkId) > 0 { - i -= len(m.NetworkId) - copy(dAtA[i:], m.NetworkId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkId))) - i-- - dAtA[i] = 0x5a - } - if len(m.Containers) > 0 { - for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x38 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x30 - } - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) +func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} } +func (m *ObjectMetricStatus) String() string { return proto.CompactTextString(m) } +func (*ObjectMetricStatus) ProtoMessage() {} +func (*ObjectMetricStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{168} +} +func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ObjectMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ObjectMetricStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x2a + return b[:n], nil } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 +} +func (m *ObjectMetricStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectMetricStatus.Merge(m, src) +} +func (m *ObjectMetricStatus) XXX_Size() int { + return m.Size() +} +func (m *ObjectMetricStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectMetricStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo + +func (m *ObjectMetricStatus) GetDescribedObject() *ObjectReference { + if m != nil { + return m.DescribedObject } - if len(m.Processes) > 0 { - for iNdEx := len(m.Processes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Processes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } + return nil +} + +func (m *ObjectMetricStatus) GetCurrent() int64 { + if m != nil { + return m.Current } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 + return 0 +} + +func (m *ObjectMetricStatus) GetMetric() *MetricIdentifier { + if m != nil { + return m.Metric } - return len(dAtA) - i, nil + return nil } -func (m *CollectorProc_HintMask) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type PodsMetricStatus struct { + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` + Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` } -func (m *CollectorProc_HintMask) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i = encodeVarintAgent(dAtA, i, uint64(m.HintMask)) - i-- - dAtA[i] = 0x70 - return len(dAtA) - i, nil +func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} } +func (m *PodsMetricStatus) String() string { return proto.CompactTextString(m) } +func (*PodsMetricStatus) ProtoMessage() {} +func (*PodsMetricStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{169} } -func (m *CollectorProcDiscovery) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PodsMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PodsMetricStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return dAtA[:n], nil +} +func (m *PodsMetricStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodsMetricStatus.Merge(m, src) +} +func (m *PodsMetricStatus) XXX_Size() int { + return m.Size() +} +func (m *PodsMetricStatus) XXX_DiscardUnknown() { + xxx_messageInfo_PodsMetricStatus.DiscardUnknown(m) } -func (m *CollectorProcDiscovery) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo + +func (m *PodsMetricStatus) GetMetric() *MetricIdentifier { + if m != nil { + return m.Metric + } + return nil } -func (m *CollectorProcDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (m *PodsMetricStatus) GetCurrent() int64 { + if m != nil { + return m.Current } - if len(m.ProcessDiscoveries) > 0 { - for iNdEx := len(m.ProcessDiscoveries) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ProcessDiscoveries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 + return 0 +} + +type ResourceMetricStatus struct { + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` +} + +func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} } +func (m *ResourceMetricStatus) String() string { return proto.CompactTextString(m) } +func (*ResourceMetricStatus) ProtoMessage() {} +func (*ResourceMetricStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{170} +} +func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceMetricStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x18 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x10 - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa +} +func (m *ResourceMetricStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceMetricStatus.Merge(m, src) +} +func (m *ResourceMetricStatus) XXX_Size() int { + return m.Size() +} +func (m *ResourceMetricStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceMetricStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourceMetricStatus proto.InternalMessageInfo + +func (m *ResourceMetricStatus) GetResourceName() string { + if m != nil { + return m.ResourceName } - return len(dAtA) - i, nil + return "" } -func (m *CollectorRealTime) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *ResourceMetricStatus) GetCurrent() int64 { + if m != nil { + return m.Current } - return dAtA[:n], nil + return 0 } -func (m *CollectorRealTime) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type ContainerResourceMetricStatus struct { + ResourceName string `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` + Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` } -func (m *CollectorRealTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x58 - } - if len(m.ContainerStats) > 0 { - for iNdEx := len(m.ContainerStats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ContainerStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 +func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} } +func (m *ContainerResourceMetricStatus) String() string { return proto.CompactTextString(m) } +func (*ContainerResourceMetricStatus) ProtoMessage() {} +func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{171} +} +func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerResourceMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerResourceMetricStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x48 - } - if m.NumCpus != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) - i-- - dAtA[i] = 0x40 - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x38 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x30 - } - if m.OrgId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OrgId)) - i-- - dAtA[i] = 0x28 - } - if m.HostId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HostId)) - i-- - dAtA[i] = 0x20 - } - if len(m.Stats) > 0 { - for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } +} +func (m *ContainerResourceMetricStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerResourceMetricStatus.Merge(m, src) +} +func (m *ContainerResourceMetricStatus) XXX_Size() int { + return m.Size() +} +func (m *ContainerResourceMetricStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerResourceMetricStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo + +func (m *ContainerResourceMetricStatus) GetResourceName() string { + if m != nil { + return m.ResourceName } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 + return "" +} + +func (m *ContainerResourceMetricStatus) GetCurrent() int64 { + if m != nil { + return m.Current } - return len(dAtA) - i, nil + return 0 } -func (m *CollectorContainer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *ContainerResourceMetricStatus) GetContainer() string { + if m != nil { + return m.Container } - return dAtA[:n], nil + return "" } -func (m *CollectorContainer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type ExternalMetricStatus struct { + Metric *MetricIdentifier `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` + Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` } -func (m *CollectorContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NetworkId) > 0 { - i -= len(m.NetworkId) - copy(dAtA[i:], m.NetworkId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkId))) - i-- - dAtA[i] = 0x5a - } - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x48 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x28 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x20 - } - if len(m.Containers) > 0 { - for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) +func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} } +func (m *ExternalMetricStatus) String() string { return proto.CompactTextString(m) } +func (*ExternalMetricStatus) ProtoMessage() {} +func (*ExternalMetricStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{172} +} +func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExternalMetricStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExternalMetricStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x12 + return b[:n], nil } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa +} +func (m *ExternalMetricStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalMetricStatus.Merge(m, src) +} +func (m *ExternalMetricStatus) XXX_Size() int { + return m.Size() +} +func (m *ExternalMetricStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalMetricStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo + +func (m *ExternalMetricStatus) GetMetric() *MetricIdentifier { + if m != nil { + return m.Metric } - return len(dAtA) - i, nil + return nil } -func (m *CollectorContainerRealTime) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *ExternalMetricStatus) GetCurrent() int64 { + if m != nil { + return m.Current } - return dAtA[:n], nil + return 0 } -func (m *CollectorContainerRealTime) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// https://github.com/kubernetes/api/blob/v0.23.15/networking/v1/generated.proto +type NetworkPolicy struct { + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Spec *NetworkPolicySpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Yaml []byte `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"` // Deprecated: Do not use. + Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *CollectorContainerRealTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ContainerHostType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) - i-- - dAtA[i] = 0x40 - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x38 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x30 - } - if m.HostId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HostId)) - i-- - dAtA[i] = 0x28 - } - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x20 - } - if m.NumCpus != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) - i-- - dAtA[i] = 0x18 - } - if len(m.Stats) > 0 { - for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } +func (m *NetworkPolicy) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicy) ProtoMessage() {} +func (*NetworkPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{173} +} +func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +} +func (m *NetworkPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicy.Merge(m, src) +} +func (m *NetworkPolicy) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicy.DiscardUnknown(m) } -func (m *CollectorReqStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo + +func (m *NetworkPolicy) GetMetadata() *Metadata { + if m != nil { + return m.Metadata } - return dAtA[:n], nil + return nil } -func (m *CollectorReqStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *NetworkPolicy) GetSpec() *NetworkPolicySpec { + if m != nil { + return m.Spec + } + return nil } -func (m *CollectorReqStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0x12 +// Deprecated: Do not use. +func (m *NetworkPolicy) GetYaml() []byte { + if m != nil { + return m.Yaml } - return len(dAtA) - i, nil + return nil } -func (m *CollectorPod) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NetworkPolicy) GetTags() []string { + if m != nil { + return m.Tags } - return dAtA[:n], nil + return nil } -func (m *CollectorPod) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NetworkPolicySpec struct { + Selectors []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` + Ingress []*NetworkPolicyIngressRule `protobuf:"bytes,2,rep,name=ingress,proto3" json:"ingress,omitempty"` + Egress []*NetworkPolicyEgressRule `protobuf:"bytes,3,rep,name=egress,proto3" json:"egress,omitempty"` + PolicyTypes []string `protobuf:"bytes,4,rep,name=policyTypes,proto3" json:"policyTypes,omitempty"` } -func (m *CollectorPod) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.Pods) > 0 { - for iNdEx := len(m.Pods) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Pods[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 +func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } +func (m *NetworkPolicySpec) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicySpec) ProtoMessage() {} +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{174} +} +func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicySpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x28 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x20 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0x12 - } - if len(m.HostName) > 0 { - i -= len(m.HostName) - copy(dAtA[i:], m.HostName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +} +func (m *NetworkPolicySpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicySpec.Merge(m, src) +} +func (m *NetworkPolicySpec) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicySpec) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicySpec.DiscardUnknown(m) } -func (m *CollectorReplicaSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +var xxx_messageInfo_NetworkPolicySpec proto.InternalMessageInfo + +func (m *NetworkPolicySpec) GetSelectors() []*LabelSelectorRequirement { + if m != nil { + return m.Selectors } - return dAtA[:n], nil + return nil } -func (m *CollectorReplicaSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *NetworkPolicySpec) GetIngress() []*NetworkPolicyIngressRule { + if m != nil { + return m.Ingress + } + return nil } -func (m *CollectorReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.ReplicaSets) > 0 { - for iNdEx := len(m.ReplicaSets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ReplicaSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa +func (m *NetworkPolicySpec) GetEgress() []*NetworkPolicyEgressRule { + if m != nil { + return m.Egress } - return len(dAtA) - i, nil + return nil } -func (m *CollectorDeployment) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NetworkPolicySpec) GetPolicyTypes() []string { + if m != nil { + return m.PolicyTypes } - return dAtA[:n], nil + return nil } -func (m *CollectorDeployment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NetworkPolicyIPBlock struct { + Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` + Except []string `protobuf:"bytes,2,rep,name=except,proto3" json:"except,omitempty"` } -func (m *CollectorDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Deployments) > 0 { - for iNdEx := len(m.Deployments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Deployments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (m *NetworkPolicyIPBlock) Reset() { *m = NetworkPolicyIPBlock{} } +func (m *NetworkPolicyIPBlock) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicyIPBlock) ProtoMessage() {} +func (*NetworkPolicyIPBlock) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{175} +} +func (m *NetworkPolicyIPBlock) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicyIPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicyIPBlock.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa +} +func (m *NetworkPolicyIPBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicyIPBlock.Merge(m, src) +} +func (m *NetworkPolicyIPBlock) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicyIPBlock) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicyIPBlock.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkPolicyIPBlock proto.InternalMessageInfo + +func (m *NetworkPolicyIPBlock) GetCidr() string { + if m != nil { + return m.Cidr } - return len(dAtA) - i, nil + return "" } -func (m *CollectorService) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NetworkPolicyIPBlock) GetExcept() []string { + if m != nil { + return m.Except } - return dAtA[:n], nil + return nil } -func (m *CollectorService) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NetworkPolicyIngressRule struct { + Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` + From []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=from,proto3" json:"from,omitempty"` } -func (m *CollectorService) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Services) > 0 { - for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Services[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } +func (m *NetworkPolicyIngressRule) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicyIngressRule) ProtoMessage() {} +func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{176} +} +func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicyIngressRule.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa +} +func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicyIngressRule.Merge(m, src) +} +func (m *NetworkPolicyIngressRule) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicyIngressRule.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkPolicyIngressRule proto.InternalMessageInfo + +func (m *NetworkPolicyIngressRule) GetPorts() []*NetworkPolicyPort { + if m != nil { + return m.Ports } - return len(dAtA) - i, nil + return nil } -func (m *CollectorNode) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NetworkPolicyIngressRule) GetFrom() []*NetworkPolicyPeer { + if m != nil { + return m.From } - return dAtA[:n], nil + return nil } -func (m *CollectorNode) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NetworkPolicyEgressRule struct { + Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` + To []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` } -func (m *CollectorNode) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.HostAliasMapping) > 0 { - for k := range m.HostAliasMapping { - v := m.HostAliasMapping[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x3a - } - } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Nodes) > 0 { - for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} } +func (m *NetworkPolicyEgressRule) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicyEgressRule) ProtoMessage() {} +func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{177} +} +func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicyEgressRule.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa +} +func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicyEgressRule.Merge(m, src) +} +func (m *NetworkPolicyEgressRule) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicyEgressRule.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkPolicyEgressRule proto.InternalMessageInfo + +func (m *NetworkPolicyEgressRule) GetPorts() []*NetworkPolicyPort { + if m != nil { + return m.Ports } - return len(dAtA) - i, nil + return nil } -func (m *CollectorCluster) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NetworkPolicyEgressRule) GetTo() []*NetworkPolicyPeer { + if m != nil { + return m.To } - return dAtA[:n], nil + return nil } -func (m *CollectorCluster) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NetworkPolicyPeer struct { + PodSelector []*LabelSelectorRequirement `protobuf:"bytes,1,rep,name=podSelector,proto3" json:"podSelector,omitempty"` + NamespaceSelector []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=namespaceSelector,proto3" json:"namespaceSelector,omitempty"` + IpBlock *NetworkPolicyIPBlock `protobuf:"bytes,3,opt,name=ipBlock,proto3" json:"ipBlock,omitempty"` } -func (m *CollectorCluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if m.Cluster != nil { - { - size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) +func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } +func (m *NetworkPolicyPeer) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicyPeer) ProtoMessage() {} +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{178} +} +func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicyPeer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x2a - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 + return b[:n], nil } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 +} +func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicyPeer.Merge(m, src) +} +func (m *NetworkPolicyPeer) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicyPeer) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicyPeer.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkPolicyPeer proto.InternalMessageInfo + +func (m *NetworkPolicyPeer) GetPodSelector() []*LabelSelectorRequirement { + if m != nil { + return m.PodSelector } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa + return nil +} + +func (m *NetworkPolicyPeer) GetNamespaceSelector() []*LabelSelectorRequirement { + if m != nil { + return m.NamespaceSelector } - return len(dAtA) - i, nil + return nil } -func (m *CollectorManifest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NetworkPolicyPeer) GetIpBlock() *NetworkPolicyIPBlock { + if m != nil { + return m.IpBlock } - return dAtA[:n], nil + return nil } -func (m *CollectorManifest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NetworkPolicyPort struct { + Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + EndPort int32 `protobuf:"varint,3,opt,name=endPort,proto3" json:"endPort,omitempty"` } -func (m *CollectorManifest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Manifests) > 0 { - for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Manifests[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a +func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } +func (m *NetworkPolicyPort) String() string { return proto.CompactTextString(m) } +func (*NetworkPolicyPort) ProtoMessage() {} +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { + return fileDescriptor_69b34851fbf62631, []int{179} +} +func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkPolicyPort.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } + return b[:n], nil } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 +} +func (m *NetworkPolicyPort) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkPolicyPort.Merge(m, src) +} +func (m *NetworkPolicyPort) XXX_Size() int { + return m.Size() +} +func (m *NetworkPolicyPort) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkPolicyPort.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkPolicyPort proto.InternalMessageInfo + +func (m *NetworkPolicyPort) GetProtocol() string { + if m != nil { + return m.Protocol } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 + return "" +} + +func (m *NetworkPolicyPort) GetPort() int32 { + if m != nil { + return m.Port } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa + return 0 +} + +func (m *NetworkPolicyPort) GetEndPort() int32 { + if m != nil { + return m.EndPort } - return len(dAtA) - i, nil + return 0 } -func (m *CollectorManifestCRD) Marshal() (dAtA []byte, err error) { +func init() { + proto.RegisterEnum("datadog.process_agent.ContainerHostType", ContainerHostType_name, ContainerHostType_value) + proto.RegisterEnum("datadog.process_agent.ContainerState", ContainerState_name, ContainerState_value) + proto.RegisterEnum("datadog.process_agent.ContainerHealth", ContainerHealth_name, ContainerHealth_value) + proto.RegisterEnum("datadog.process_agent.ProcessState", ProcessState_name, ProcessState_value) + proto.RegisterEnum("datadog.process_agent.ConnectionType", ConnectionType_name, ConnectionType_value) + proto.RegisterEnum("datadog.process_agent.OrchestratorResource", OrchestratorResource_name, OrchestratorResource_value) + proto.RegisterEnum("datadog.process_agent.ResourceRequirementsType", ResourceRequirementsType_name, ResourceRequirementsType_value) + proto.RegisterEnum("datadog.process_agent.HTTPResponseStatus", HTTPResponseStatus_name, HTTPResponseStatus_value) + proto.RegisterEnum("datadog.process_agent.HTTPMethod", HTTPMethod_name, HTTPMethod_value) + proto.RegisterType((*ResCollector)(nil), "datadog.process_agent.ResCollector") + proto.RegisterType((*ResCollector_Header)(nil), "datadog.process_agent.ResCollector.Header") + proto.RegisterType((*CollectorProc)(nil), "datadog.process_agent.CollectorProc") + proto.RegisterType((*CollectorProcDiscovery)(nil), "datadog.process_agent.CollectorProcDiscovery") + proto.RegisterType((*CollectorRealTime)(nil), "datadog.process_agent.CollectorRealTime") + proto.RegisterType((*CollectorContainer)(nil), "datadog.process_agent.CollectorContainer") + proto.RegisterType((*CollectorContainerRealTime)(nil), "datadog.process_agent.CollectorContainerRealTime") + proto.RegisterType((*CollectorReqStatus)(nil), "datadog.process_agent.CollectorReqStatus") + proto.RegisterType((*CollectorECSTask)(nil), "datadog.process_agent.CollectorECSTask") + proto.RegisterType((*ECSTask)(nil), "datadog.process_agent.ECSTask") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ECSTask.EphemeralStorageMetricsEntry") + proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ECSTask.LimitsEntry") + proto.RegisterType((*ECSContainer)(nil), "datadog.process_agent.ECSContainer") + proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ECSContainer.LimitsEntry") + proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.ECSContainer.LogOptionsEntry") + proto.RegisterType((*ECSContainerNetwork)(nil), "datadog.process_agent.ECSContainerNetwork") + proto.RegisterType((*ECSContainerPort)(nil), "datadog.process_agent.ECSContainerPort") + proto.RegisterType((*ECSContainerVolume)(nil), "datadog.process_agent.ECSContainerVolume") + proto.RegisterType((*ECSContainerHealth)(nil), "datadog.process_agent.ECSContainerHealth") + proto.RegisterType((*ECSContainerExitCode)(nil), "datadog.process_agent.ECSContainerExitCode") + proto.RegisterType((*CollectorPod)(nil), "datadog.process_agent.CollectorPod") + proto.RegisterType((*CollectorReplicaSet)(nil), "datadog.process_agent.CollectorReplicaSet") + proto.RegisterType((*CollectorDeployment)(nil), "datadog.process_agent.CollectorDeployment") + proto.RegisterType((*CollectorService)(nil), "datadog.process_agent.CollectorService") + proto.RegisterType((*CollectorNode)(nil), "datadog.process_agent.CollectorNode") + proto.RegisterMapType((map[string]*Host)(nil), "datadog.process_agent.CollectorNode.HostAliasMappingEntry") + proto.RegisterType((*CollectorCluster)(nil), "datadog.process_agent.CollectorCluster") + proto.RegisterType((*CollectorManifest)(nil), "datadog.process_agent.CollectorManifest") + proto.RegisterType((*CollectorManifestCRD)(nil), "datadog.process_agent.CollectorManifestCRD") + proto.RegisterType((*CollectorManifestCR)(nil), "datadog.process_agent.CollectorManifestCR") + proto.RegisterType((*CollectorNamespace)(nil), "datadog.process_agent.CollectorNamespace") + proto.RegisterType((*CollectorJob)(nil), "datadog.process_agent.CollectorJob") + proto.RegisterType((*CollectorCronJob)(nil), "datadog.process_agent.CollectorCronJob") + proto.RegisterType((*CollectorDaemonSet)(nil), "datadog.process_agent.CollectorDaemonSet") + proto.RegisterType((*CollectorStatefulSet)(nil), "datadog.process_agent.CollectorStatefulSet") + proto.RegisterType((*CollectorPersistentVolume)(nil), "datadog.process_agent.CollectorPersistentVolume") + proto.RegisterType((*CollectorPersistentVolumeClaim)(nil), "datadog.process_agent.CollectorPersistentVolumeClaim") + proto.RegisterType((*CollectorRole)(nil), "datadog.process_agent.CollectorRole") + proto.RegisterType((*CollectorRoleBinding)(nil), "datadog.process_agent.CollectorRoleBinding") + proto.RegisterType((*CollectorClusterRole)(nil), "datadog.process_agent.CollectorClusterRole") + proto.RegisterType((*CollectorClusterRoleBinding)(nil), "datadog.process_agent.CollectorClusterRoleBinding") + proto.RegisterType((*CollectorServiceAccount)(nil), "datadog.process_agent.CollectorServiceAccount") + proto.RegisterType((*CollectorIngress)(nil), "datadog.process_agent.CollectorIngress") + proto.RegisterType((*CollectorVerticalPodAutoscaler)(nil), "datadog.process_agent.CollectorVerticalPodAutoscaler") + proto.RegisterType((*CollectorHorizontalPodAutoscaler)(nil), "datadog.process_agent.CollectorHorizontalPodAutoscaler") + proto.RegisterType((*CollectorNetworkPolicy)(nil), "datadog.process_agent.CollectorNetworkPolicy") + proto.RegisterType((*CollectorStatus)(nil), "datadog.process_agent.CollectorStatus") + proto.RegisterType((*Process)(nil), "datadog.process_agent.Process") + proto.RegisterType((*ProcessDiscovery)(nil), "datadog.process_agent.ProcessDiscovery") + proto.RegisterType((*Command)(nil), "datadog.process_agent.Command") + proto.RegisterType((*ProcessUser)(nil), "datadog.process_agent.ProcessUser") + proto.RegisterType((*ProcessNetworks)(nil), "datadog.process_agent.ProcessNetworks") + proto.RegisterType((*ContainerAddr)(nil), "datadog.process_agent.ContainerAddr") + proto.RegisterType((*Container)(nil), "datadog.process_agent.Container") + proto.RegisterType((*ProcessStat)(nil), "datadog.process_agent.ProcessStat") + proto.RegisterType((*ProcStatsWithPerm)(nil), "datadog.process_agent.ProcStatsWithPerm") + proto.RegisterType((*ProcStatsWithPermByPID)(nil), "datadog.process_agent.ProcStatsWithPermByPID") + proto.RegisterMapType((map[int32]*ProcStatsWithPerm)(nil), "datadog.process_agent.ProcStatsWithPermByPID.StatsByPIDEntry") + proto.RegisterType((*ContainerStat)(nil), "datadog.process_agent.ContainerStat") + proto.RegisterType((*SystemInfo)(nil), "datadog.process_agent.SystemInfo") + proto.RegisterType((*OSInfo)(nil), "datadog.process_agent.OSInfo") + proto.RegisterType((*IOStat)(nil), "datadog.process_agent.IOStat") + proto.RegisterType((*MemoryStat)(nil), "datadog.process_agent.MemoryStat") + proto.RegisterType((*CPUStat)(nil), "datadog.process_agent.CPUStat") + proto.RegisterType((*SingleCPUStat)(nil), "datadog.process_agent.SingleCPUStat") + proto.RegisterType((*CPUInfo)(nil), "datadog.process_agent.CPUInfo") + proto.RegisterType((*Host)(nil), "datadog.process_agent.Host") + proto.RegisterType((*Cluster)(nil), "datadog.process_agent.Cluster") + proto.RegisterMapType((map[string]int32)(nil), "datadog.process_agent.Cluster.ApiServerVersionsEntry") + proto.RegisterMapType((map[string]int32)(nil), "datadog.process_agent.Cluster.KubeletVersionsEntry") + proto.RegisterType((*Metadata)(nil), "datadog.process_agent.Metadata") + proto.RegisterType((*OwnerReference)(nil), "datadog.process_agent.OwnerReference") + proto.RegisterType((*ObjectReference)(nil), "datadog.process_agent.ObjectReference") + proto.RegisterType((*ServicePort)(nil), "datadog.process_agent.ServicePort") + proto.RegisterType((*ServiceSessionAffinityConfig)(nil), "datadog.process_agent.ServiceSessionAffinityConfig") + proto.RegisterType((*Node)(nil), "datadog.process_agent.Node") + proto.RegisterType((*NodeStatus)(nil), "datadog.process_agent.NodeStatus") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.NodeStatus.AllocatableEntry") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.NodeStatus.CapacityEntry") + proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.NodeStatus.NodeAddressesEntry") + proto.RegisterType((*NodeCondition)(nil), "datadog.process_agent.NodeCondition") + proto.RegisterType((*ContainerImage)(nil), "datadog.process_agent.ContainerImage") + proto.RegisterType((*Taint)(nil), "datadog.process_agent.Taint") + proto.RegisterType((*ServiceSpec)(nil), "datadog.process_agent.ServiceSpec") + proto.RegisterType((*ServiceStatus)(nil), "datadog.process_agent.ServiceStatus") + proto.RegisterType((*Service)(nil), "datadog.process_agent.Service") + proto.RegisterType((*DeploymentCondition)(nil), "datadog.process_agent.DeploymentCondition") + proto.RegisterType((*Deployment)(nil), "datadog.process_agent.Deployment") + proto.RegisterType((*ReplicaSetCondition)(nil), "datadog.process_agent.ReplicaSetCondition") + proto.RegisterType((*ReplicaSet)(nil), "datadog.process_agent.ReplicaSet") + proto.RegisterType((*LabelSelectorRequirement)(nil), "datadog.process_agent.LabelSelectorRequirement") + proto.RegisterType((*Pod)(nil), "datadog.process_agent.Pod") + proto.RegisterType((*PodCondition)(nil), "datadog.process_agent.PodCondition") + proto.RegisterType((*ContainerStatus)(nil), "datadog.process_agent.ContainerStatus") + proto.RegisterType((*Manifest)(nil), "datadog.process_agent.Manifest") + proto.RegisterType((*NamespaceCondition)(nil), "datadog.process_agent.NamespaceCondition") + proto.RegisterType((*Namespace)(nil), "datadog.process_agent.Namespace") + proto.RegisterType((*ResourceRequirements)(nil), "datadog.process_agent.ResourceRequirements") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ResourceRequirements.LimitsEntry") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.ResourceRequirements.RequestsEntry") + proto.RegisterType((*ResourceMetrics)(nil), "datadog.process_agent.ResourceMetrics") + proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ResourceMetrics.MetricValuesEntry") + proto.RegisterType((*JobSpec)(nil), "datadog.process_agent.JobSpec") + proto.RegisterType((*JobStatus)(nil), "datadog.process_agent.JobStatus") + proto.RegisterType((*JobCondition)(nil), "datadog.process_agent.JobCondition") + proto.RegisterType((*Job)(nil), "datadog.process_agent.Job") + proto.RegisterType((*CronJobSpec)(nil), "datadog.process_agent.CronJobSpec") + proto.RegisterType((*CronJobStatus)(nil), "datadog.process_agent.CronJobStatus") + proto.RegisterType((*CronJob)(nil), "datadog.process_agent.CronJob") + proto.RegisterType((*DaemonSetSpec)(nil), "datadog.process_agent.DaemonSetSpec") + proto.RegisterType((*DaemonSetStatus)(nil), "datadog.process_agent.DaemonSetStatus") + proto.RegisterType((*DaemonSetCondition)(nil), "datadog.process_agent.DaemonSetCondition") + proto.RegisterType((*DaemonSet)(nil), "datadog.process_agent.DaemonSet") + proto.RegisterType((*StatefulSetSpec)(nil), "datadog.process_agent.StatefulSetSpec") + proto.RegisterType((*StatefulSetStatus)(nil), "datadog.process_agent.StatefulSetStatus") + proto.RegisterType((*StatefulSetCondition)(nil), "datadog.process_agent.StatefulSetCondition") + proto.RegisterType((*StatefulSet)(nil), "datadog.process_agent.StatefulSet") + proto.RegisterType((*PersistentVolume)(nil), "datadog.process_agent.PersistentVolume") + proto.RegisterType((*PersistentVolumeSpec)(nil), "datadog.process_agent.PersistentVolumeSpec") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PersistentVolumeSpec.CapacityEntry") + proto.RegisterType((*PersistentVolumeSource)(nil), "datadog.process_agent.PersistentVolumeSource") + proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "datadog.process_agent.GCEPersistentDiskVolumeSource") + proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "datadog.process_agent.AWSElasticBlockStoreVolumeSource") + proto.RegisterType((*AzureFilePersistentVolumeSource)(nil), "datadog.process_agent.AzureFilePersistentVolumeSource") + proto.RegisterType((*AzureDiskVolumeSource)(nil), "datadog.process_agent.AzureDiskVolumeSource") + proto.RegisterType((*CSIVolumeSource)(nil), "datadog.process_agent.CSIVolumeSource") + proto.RegisterMapType((map[string]string)(nil), "datadog.process_agent.CSIVolumeSource.VolumeAttributesEntry") + proto.RegisterType((*SecretReference)(nil), "datadog.process_agent.SecretReference") + proto.RegisterType((*PersistentVolumeStatus)(nil), "datadog.process_agent.PersistentVolumeStatus") + proto.RegisterType((*NodeSelectorTerm)(nil), "datadog.process_agent.NodeSelectorTerm") + proto.RegisterType((*PersistentVolumeClaim)(nil), "datadog.process_agent.PersistentVolumeClaim") + proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "datadog.process_agent.PersistentVolumeClaimStatus") + proto.RegisterMapType((map[string]int64)(nil), "datadog.process_agent.PersistentVolumeClaimStatus.CapacityEntry") + proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "datadog.process_agent.PersistentVolumeClaimSpec") + proto.RegisterType((*TypedLocalObjectReference)(nil), "datadog.process_agent.TypedLocalObjectReference") + proto.RegisterType((*PersistentVolumeClaimCondition)(nil), "datadog.process_agent.PersistentVolumeClaimCondition") + proto.RegisterType((*PolicyRule)(nil), "datadog.process_agent.PolicyRule") + proto.RegisterType((*Subject)(nil), "datadog.process_agent.Subject") + proto.RegisterType((*Role)(nil), "datadog.process_agent.Role") + proto.RegisterType((*RoleBinding)(nil), "datadog.process_agent.RoleBinding") + proto.RegisterType((*ClusterRole)(nil), "datadog.process_agent.ClusterRole") + proto.RegisterType((*ClusterRoleBinding)(nil), "datadog.process_agent.ClusterRoleBinding") + proto.RegisterType((*ServiceAccount)(nil), "datadog.process_agent.ServiceAccount") + proto.RegisterType((*IngressServiceBackend)(nil), "datadog.process_agent.IngressServiceBackend") + proto.RegisterType((*IngressBackend)(nil), "datadog.process_agent.IngressBackend") + proto.RegisterType((*IngressTLS)(nil), "datadog.process_agent.IngressTLS") + proto.RegisterType((*HTTPIngressPath)(nil), "datadog.process_agent.HTTPIngressPath") + proto.RegisterType((*IngressRule)(nil), "datadog.process_agent.IngressRule") + proto.RegisterType((*IngressSpec)(nil), "datadog.process_agent.IngressSpec") + proto.RegisterType((*PortStatus)(nil), "datadog.process_agent.PortStatus") + proto.RegisterType((*LoadBalancerIngress)(nil), "datadog.process_agent.LoadBalancerIngress") + proto.RegisterType((*IngressStatus)(nil), "datadog.process_agent.IngressStatus") + proto.RegisterType((*Ingress)(nil), "datadog.process_agent.Ingress") + proto.RegisterType((*KafkaRequestHeader)(nil), "datadog.process_agent.KafkaRequestHeader") + proto.RegisterType((*KafkaAggregation)(nil), "datadog.process_agent.KafkaAggregation") + proto.RegisterType((*DataStreamsAggregations)(nil), "datadog.process_agent.DataStreamsAggregations") + proto.RegisterType((*DataStreamsAggregations_TopicStats)(nil), "datadog.process_agent.DataStreamsAggregations.TopicStats") + proto.RegisterType((*DataStreamsAggregations_KafkaProduceAggregations)(nil), "datadog.process_agent.DataStreamsAggregations.KafkaProduceAggregations") + proto.RegisterType((*DataStreamsAggregations_KafkaFetchAggregations)(nil), "datadog.process_agent.DataStreamsAggregations.KafkaFetchAggregations") + proto.RegisterType((*HTTPAggregations)(nil), "datadog.process_agent.HTTPAggregations") + proto.RegisterType((*HTTP2Aggregations)(nil), "datadog.process_agent.HTTP2Aggregations") + proto.RegisterType((*HTTPStats)(nil), "datadog.process_agent.HTTPStats") + proto.RegisterMapType((map[int32]*HTTPStats_Data)(nil), "datadog.process_agent.HTTPStats.StatsByStatusCodeEntry") + proto.RegisterType((*HTTPStats_Data)(nil), "datadog.process_agent.HTTPStats.Data") + proto.RegisterType((*DNSDatabaseEntry)(nil), "datadog.process_agent.DNSDatabaseEntry") + proto.RegisterType((*ResourceList)(nil), "datadog.process_agent.ResourceList") + proto.RegisterMapType((map[string]float64)(nil), "datadog.process_agent.ResourceList.MetricValuesEntry") + proto.RegisterType((*VerticalPodAutoscaler)(nil), "datadog.process_agent.VerticalPodAutoscaler") + proto.RegisterType((*VerticalPodAutoscalerCondition)(nil), "datadog.process_agent.VerticalPodAutoscalerCondition") + proto.RegisterType((*VerticalPodAutoscalerSpec)(nil), "datadog.process_agent.VerticalPodAutoscalerSpec") + proto.RegisterType((*VerticalPodAutoscalerTarget)(nil), "datadog.process_agent.VerticalPodAutoscalerTarget") + proto.RegisterType((*ContainerResourcePolicy)(nil), "datadog.process_agent.ContainerResourcePolicy") + proto.RegisterType((*VerticalPodAutoscalerStatus)(nil), "datadog.process_agent.VerticalPodAutoscalerStatus") + proto.RegisterType((*ContainerRecommendation)(nil), "datadog.process_agent.ContainerRecommendation") + proto.RegisterType((*VPACondition)(nil), "datadog.process_agent.VPACondition") + proto.RegisterType((*HorizontalPodAutoscaler)(nil), "datadog.process_agent.HorizontalPodAutoscaler") + proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "datadog.process_agent.HorizontalPodAutoscalerSpec") + proto.RegisterType((*HorizontalPodAutoscalerTarget)(nil), "datadog.process_agent.HorizontalPodAutoscalerTarget") + proto.RegisterType((*HorizontalPodAutoscalerMetricSpec)(nil), "datadog.process_agent.HorizontalPodAutoscalerMetricSpec") + proto.RegisterType((*ObjectMetricSource)(nil), "datadog.process_agent.ObjectMetricSource") + proto.RegisterType((*MetricTarget)(nil), "datadog.process_agent.MetricTarget") + proto.RegisterType((*MetricIdentifier)(nil), "datadog.process_agent.MetricIdentifier") + proto.RegisterType((*PodsMetricSource)(nil), "datadog.process_agent.PodsMetricSource") + proto.RegisterType((*ResourceMetricSource)(nil), "datadog.process_agent.ResourceMetricSource") + proto.RegisterType((*ContainerResourceMetricSource)(nil), "datadog.process_agent.ContainerResourceMetricSource") + proto.RegisterType((*ExternalMetricSource)(nil), "datadog.process_agent.ExternalMetricSource") + proto.RegisterType((*HorizontalPodAutoscalerBehavior)(nil), "datadog.process_agent.HorizontalPodAutoscalerBehavior") + proto.RegisterType((*HPAScalingRules)(nil), "datadog.process_agent.HPAScalingRules") + proto.RegisterType((*HPAScalingPolicy)(nil), "datadog.process_agent.HPAScalingPolicy") + proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "datadog.process_agent.HorizontalPodAutoscalerStatus") + proto.RegisterType((*HorizontalPodAutoscalerCondition)(nil), "datadog.process_agent.HorizontalPodAutoscalerCondition") + proto.RegisterType((*HorizontalPodAutoscalerMetricStatus)(nil), "datadog.process_agent.HorizontalPodAutoscalerMetricStatus") + proto.RegisterType((*ObjectMetricStatus)(nil), "datadog.process_agent.ObjectMetricStatus") + proto.RegisterType((*PodsMetricStatus)(nil), "datadog.process_agent.PodsMetricStatus") + proto.RegisterType((*ResourceMetricStatus)(nil), "datadog.process_agent.ResourceMetricStatus") + proto.RegisterType((*ContainerResourceMetricStatus)(nil), "datadog.process_agent.ContainerResourceMetricStatus") + proto.RegisterType((*ExternalMetricStatus)(nil), "datadog.process_agent.ExternalMetricStatus") + proto.RegisterType((*NetworkPolicy)(nil), "datadog.process_agent.NetworkPolicy") + proto.RegisterType((*NetworkPolicySpec)(nil), "datadog.process_agent.NetworkPolicySpec") + proto.RegisterType((*NetworkPolicyIPBlock)(nil), "datadog.process_agent.NetworkPolicyIPBlock") + proto.RegisterType((*NetworkPolicyIngressRule)(nil), "datadog.process_agent.NetworkPolicyIngressRule") + proto.RegisterType((*NetworkPolicyEgressRule)(nil), "datadog.process_agent.NetworkPolicyEgressRule") + proto.RegisterType((*NetworkPolicyPeer)(nil), "datadog.process_agent.NetworkPolicyPeer") + proto.RegisterType((*NetworkPolicyPort)(nil), "datadog.process_agent.NetworkPolicyPort") +} + +func init() { proto.RegisterFile("proto/process/agent.proto", fileDescriptor_69b34851fbf62631) } + +var fileDescriptor_69b34851fbf62631 = []byte{ + // 11156 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x7d, 0x6d, 0x6c, 0x24, 0xc9, + 0x75, 0xd8, 0xf5, 0x7c, 0xcf, 0xe3, 0xd7, 0xb0, 0x96, 0xcb, 0x9d, 0xe3, 0xdd, 0xad, 0x56, 0xad, + 0xd3, 0xdd, 0x6a, 0xef, 0xb4, 0x77, 0x5e, 0xdd, 0x9d, 0xf6, 0x3e, 0x74, 0x3a, 0x72, 0xc8, 0xdd, + 0x25, 0x97, 0x1f, 0xa3, 0x1a, 0x72, 0x4f, 0x3a, 0x49, 0x90, 0x9a, 0xdd, 0x45, 0xb2, 0xc5, 0x9e, + 0xee, 0x51, 0x77, 0x0f, 0x77, 0x79, 0x86, 0x7f, 0x38, 0x8a, 0xf3, 0x01, 0xd8, 0x88, 0x60, 0x3b, + 0x91, 0x1d, 0x20, 0x01, 0x1c, 0x27, 0x41, 0xac, 0x44, 0x8a, 0x94, 0x1f, 0x09, 0x9c, 0x5f, 0x89, + 0x81, 0xc0, 0x81, 0x0d, 0x08, 0x0e, 0x62, 0x20, 0x42, 0x90, 0x00, 0x8e, 0x14, 0x07, 0x49, 0x7e, + 0x04, 0x08, 0x90, 0x38, 0x40, 0x1c, 0xc4, 0x41, 0x7d, 0x75, 0x57, 0xf7, 0x74, 0xcf, 0x07, 0xb9, + 0x27, 0x9e, 0x90, 0x5f, 0x33, 0xf5, 0xaa, 0xde, 0xeb, 0xaa, 0x57, 0xf5, 0x5e, 0xbd, 0xaa, 0x7a, + 0xf5, 0x0a, 0x9e, 0xec, 0xf9, 0x5e, 0xe8, 0xbd, 0xd4, 0xf3, 0x3d, 0x93, 0x04, 0xc1, 0x4b, 0xc6, + 0x21, 0x71, 0xc3, 0x9b, 0x0c, 0x86, 0x2e, 0x5b, 0x46, 0x68, 0x58, 0xde, 0xe1, 0x4d, 0x91, 0xf9, + 0x15, 0x96, 0xa9, 0xff, 0x9e, 0x06, 0xd3, 0x98, 0x04, 0x2d, 0xcf, 0x71, 0x88, 0x19, 0x7a, 0x3e, + 0x5a, 0x81, 0xca, 0x11, 0x31, 0x2c, 0xe2, 0x37, 0xb5, 0x6b, 0xda, 0xf5, 0xa9, 0x5b, 0x37, 0x6e, + 0x66, 0x22, 0xde, 0x54, 0x91, 0x6e, 0xde, 0x63, 0x18, 0x58, 0x60, 0xa2, 0x26, 0x54, 0xbb, 0x24, + 0x08, 0x8c, 0x43, 0xd2, 0x2c, 0x5c, 0xd3, 0xae, 0xd7, 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79, + 0xd7, 0x72, 0xfb, 0x42, 0x14, 0xc4, 0x0a, 0x0e, 0x7a, 0x00, 0xf3, 0x51, 0x8a, 0xb6, 0x63, 0x97, + 0x76, 0xc6, 0xf4, 0x35, 0xed, 0xfa, 0xec, 0xad, 0xeb, 0xa3, 0x08, 0xc9, 0xf2, 0x78, 0x90, 0x04, + 0x7a, 0x1a, 0x6a, 0x47, 0xb6, 0x1b, 0x6e, 0x19, 0xc1, 0x71, 0x73, 0x96, 0x56, 0xfb, 0xde, 0x13, + 0x38, 0x82, 0xac, 0x54, 0xa1, 0x4c, 0xff, 0x07, 0x1b, 0xa5, 0xda, 0x4c, 0x63, 0x76, 0xa3, 0x54, + 0xab, 0x35, 0xea, 0x1b, 0xa5, 0x5a, 0xbd, 0x01, 0xfa, 0x9f, 0x68, 0xb0, 0x98, 0xe8, 0xfc, 0x55, + 0x3b, 0x30, 0xbd, 0x13, 0xe2, 0x9f, 0x26, 0x46, 0x81, 0x96, 0x1a, 0x05, 0x0a, 0x07, 0x0b, 0x43, + 0x38, 0x58, 0x4c, 0x73, 0xf0, 0x5d, 0x40, 0xa2, 0x75, 0xf2, 0x3b, 0x36, 0x09, 0x9a, 0x25, 0xc6, + 0xc9, 0xe7, 0x87, 0x0f, 0x94, 0xa8, 0x62, 0x38, 0x83, 0x44, 0x34, 0x74, 0xca, 0x63, 0x0e, 0x1d, + 0xfd, 0xfb, 0x45, 0x98, 0x8f, 0x1a, 0x8e, 0x89, 0xe1, 0xec, 0xda, 0x5d, 0x32, 0x74, 0xe4, 0xdf, + 0x86, 0x32, 0x95, 0x27, 0x39, 0xae, 0xf5, 0xe1, 0xd5, 0xa5, 0x22, 0x88, 0x39, 0x02, 0x5a, 0x84, + 0x0a, 0xa5, 0xb2, 0x6e, 0xb1, 0x91, 0x5d, 0xc4, 0x22, 0x85, 0x16, 0xa0, 0xec, 0xf9, 0x87, 0xeb, + 0x16, 0xab, 0x75, 0x19, 0xf3, 0xc4, 0x99, 0x47, 0x67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x8c, + 0x74, 0x98, 0x36, 0x1e, 0x06, 0xcb, 0xa6, 0xe9, 0xf5, 0xdd, 0x70, 0x7d, 0x95, 0x75, 0x43, 0x11, + 0x27, 0x60, 0x94, 0x69, 0xa6, 0xd3, 0x0f, 0x42, 0xe2, 0x2b, 0x74, 0x55, 0x10, 0x65, 0x81, 0x48, + 0xae, 0x5b, 0x8c, 0xe5, 0x75, 0x1c, 0x03, 0x28, 0x4b, 0x7d, 0x72, 0x68, 0x7b, 0x2e, 0xe3, 0x77, + 0x1d, 0x8b, 0x94, 0xca, 0xd2, 0xf2, 0x10, 0x96, 0x56, 0xd2, 0x2c, 0x7d, 0x05, 0xca, 0xa1, 0x11, + 0x1c, 0x07, 0xcd, 0xea, 0x50, 0x33, 0x42, 0x34, 0x11, 0xf3, 0xc2, 0xfa, 0xb7, 0xab, 0x50, 0x95, + 0xad, 0x6e, 0x40, 0xd1, 0xf0, 0x5d, 0x31, 0xe6, 0xe8, 0x5f, 0x74, 0x1d, 0xe6, 0x7c, 0x12, 0x78, + 0x7d, 0xdf, 0x24, 0x0f, 0x88, 0x1f, 0xd0, 0xca, 0xf2, 0x76, 0xa6, 0xc1, 0xe8, 0x2a, 0x80, 0x63, + 0xf4, 0x5d, 0xf3, 0x88, 0xf5, 0x24, 0x6f, 0xac, 0x02, 0x41, 0xcf, 0xc2, 0x8c, 0x45, 0x02, 0xdb, + 0x27, 0x16, 0xef, 0x13, 0xd1, 0xe8, 0x24, 0x90, 0xf2, 0xf4, 0xd8, 0xf5, 0x1e, 0xba, 0xa2, 0x4c, + 0x99, 0xf3, 0x54, 0x01, 0x51, 0xae, 0x1d, 0x18, 0x5d, 0xdb, 0x39, 0x65, 0x0c, 0xa8, 0x63, 0x91, + 0xa2, 0x5c, 0x3b, 0x11, 0x35, 0xac, 0x72, 0x63, 0x50, 0x24, 0xd1, 0x0d, 0x68, 0x18, 0x27, 0x86, + 0xed, 0x18, 0xfb, 0xb6, 0x63, 0x87, 0xa7, 0xef, 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xd6, 0x59, 0x74, 0xd4, + 0x16, 0x15, 0x0d, 0x4e, 0x4b, 0x05, 0x51, 0x09, 0xb4, 0x7b, 0x27, 0xaf, 0x2c, 0x5b, 0x96, 0xcf, + 0x37, 0x28, 0x0a, 0x8c, 0x7b, 0x49, 0xa0, 0x28, 0xf5, 0x5a, 0x5c, 0xaa, 0x18, 0x95, 0x8a, 0x81, + 0xfa, 0x5f, 0xd2, 0xa0, 0x91, 0x1e, 0x6e, 0x14, 0xd5, 0x54, 0x01, 0xac, 0x12, 0x65, 0x9c, 0x04, + 0x52, 0x25, 0xc7, 0x36, 0x97, 0x4c, 0xcf, 0x91, 0xd6, 0x9b, 0x4c, 0x47, 0x76, 0x69, 0x4f, 0xa8, + 0x31, 0x91, 0x92, 0x16, 0x1f, 0x23, 0xca, 0x17, 0x0c, 0x51, 0x5a, 0x77, 0x01, 0x0d, 0x8e, 0xb7, + 0x94, 0xba, 0xd4, 0x06, 0xd4, 0xe5, 0x22, 0x54, 0xb8, 0xc5, 0x23, 0xea, 0x20, 0x52, 0x94, 0x8d, + 0x16, 0x09, 0x42, 0xdb, 0x35, 0x68, 0xd7, 0x8a, 0x6a, 0xa8, 0x20, 0xfd, 0x37, 0xb5, 0xe4, 0x07, + 0xef, 0x45, 0x83, 0x52, 0x6c, 0x52, 0x69, 0x82, 0x20, 0xd7, 0x57, 0x0b, 0x50, 0x0e, 0x6c, 0xd7, + 0x8c, 0xd4, 0x3f, 0x4b, 0x24, 0xb4, 0x58, 0xf1, 0x3c, 0x5a, 0x6c, 0x11, 0x2a, 0x5e, 0x3f, 0xec, + 0xf5, 0x43, 0x69, 0x76, 0xf2, 0x94, 0x7e, 0x0b, 0x16, 0xb2, 0x30, 0x29, 0x27, 0x13, 0x1f, 0x2e, + 0xc7, 0xb4, 0xf4, 0x6f, 0x15, 0x60, 0x3a, 0xde, 0x0c, 0xf1, 0xac, 0xa1, 0x4b, 0x97, 0xf3, 0xda, + 0xcb, 0x67, 0x5d, 0x02, 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4, 0x36, 0x03, 0x77, 0xf7, 0xc6, 0xe6, 0x89, 0xd5, 0x0e, 0xd8, 0x2c, 0x50, + 0xc0, 0x31, 0x40, 0xe4, 0x76, 0x88, 0x1b, 0xb6, 0x03, 0x36, 0x01, 0xf0, 0x5c, 0x0e, 0xa0, 0x92, + 0x2f, 0x8a, 0xae, 0xf4, 0xb8, 0xce, 0x2f, 0x60, 0x05, 0x22, 0xf2, 0x69, 0x61, 0x9a, 0x3f, 0x1f, + 0xe5, 0x0b, 0x08, 0x6d, 0x0f, 0xd5, 0x20, 0x6d, 0x33, 0x64, 0x1a, 0xbd, 0x80, 0x65, 0x92, 0x39, + 0x8e, 0x31, 0x1f, 0x72, 0x9a, 0x77, 0x89, 0x7f, 0x37, 0x02, 0xd0, 0x2e, 0x64, 0xae, 0xc9, 0x34, + 0x73, 0x81, 0x77, 0xa1, 0x4c, 0x53, 0x09, 0xef, 0x92, 0x2e, 0x0e, 0xb8, 0x76, 0x2f, 0x61, 0x91, + 0xa2, 0x38, 0x5d, 0xd2, 0x6d, 0x19, 0xe6, 0x11, 0x61, 0xde, 0x39, 0x25, 0x1c, 0xa5, 0x23, 0x25, + 0x7b, 0x65, 0x5c, 0x25, 0xdb, 0x84, 0xaa, 0x70, 0x63, 0x6b, 0x36, 0x79, 0x47, 0x88, 0xa4, 0xaa, + 0xec, 0x9e, 0x4c, 0x4e, 0x52, 0xd2, 0x46, 0x5c, 0x52, 0x0e, 0x29, 0x57, 0xa0, 0x6e, 0x44, 0x5e, + 0x33, 0x4f, 0x8d, 0xe7, 0xd0, 0x4d, 0xe5, 0x10, 0xc7, 0x68, 0xcc, 0x75, 0xfb, 0xc8, 0x27, 0x86, + 0x30, 0x2e, 0x9e, 0xe6, 0x63, 0x56, 0x01, 0xc5, 0x25, 0xf8, 0xa8, 0x7e, 0x46, 0x2d, 0xc1, 0x47, + 0x35, 0x67, 0xce, 0x1e, 0xbb, 0x49, 0x75, 0x35, 0x62, 0x0e, 0x4b, 0x33, 0xf5, 0xde, 0xeb, 0xb3, + 0xff, 0xdb, 0x41, 0xf3, 0x23, 0xbc, 0x13, 0x63, 0x08, 0x35, 0x13, 0xba, 0xa4, 0x2b, 0x96, 0xc4, + 0xc4, 0x6a, 0x5e, 0x63, 0xf8, 0x09, 0x98, 0xa0, 0x81, 0xc9, 0xd7, 0xfb, 0x24, 0x08, 0x9b, 0x1f, + 0x8d, 0x68, 0x08, 0x08, 0x35, 0x8c, 0xb9, 0x90, 0xc9, 0x22, 0x3a, 0x23, 0x92, 0x04, 0x52, 0x2a, + 0x3e, 0xe9, 0x79, 0xab, 0xf6, 0x21, 0x2d, 0xf2, 0x31, 0xee, 0xa0, 0x13, 0x43, 0x84, 0x6f, 0xfd, + 0x9f, 0xd6, 0x22, 0x25, 0xcd, 0x0c, 0x9d, 0xc1, 0x99, 0x36, 0x39, 0x61, 0x15, 0x06, 0x26, 0xac, + 0xd8, 0xf6, 0x2c, 0x9e, 0xd1, 0xf6, 0x2c, 0x8d, 0x6f, 0x7b, 0x52, 0xc5, 0x65, 0x9b, 0xd2, 0x6b, + 0x85, 0xfd, 0xa7, 0x83, 0x88, 0xf7, 0x4e, 0x20, 0xd4, 0xbc, 0x4c, 0xa6, 0x2d, 0xc9, 0xda, 0xa0, + 0x25, 0x29, 0x24, 0xbc, 0x1e, 0x4b, 0x78, 0xca, 0xd2, 0x83, 0x41, 0x4b, 0x6f, 0x2b, 0x75, 0x97, + 0x45, 0x5e, 0x3d, 0x19, 0x53, 0xbb, 0xa5, 0x90, 0xd1, 0x5d, 0x98, 0xee, 0x29, 0x86, 0xea, 0x24, + 0x36, 0x6d, 0x02, 0x51, 0x31, 0x6d, 0x2f, 0x4d, 0x62, 0xda, 0xaa, 0x26, 0xde, 0xd3, 0x67, 0x34, + 0xf1, 0xda, 0x30, 0x67, 0x26, 0xb5, 0x30, 0x53, 0x7f, 0xe3, 0xeb, 0xec, 0x34, 0x7a, 0xc2, 0xd5, + 0x0d, 0xef, 0x47, 0xfa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x91, 0xb9, 0x8f, 0xf6, 0xee, 0xf0, 0x5d, 0x19, + 0xee, 0xd5, 0x17, 0xa5, 0xf5, 0x65, 0x98, 0x91, 0x24, 0xb9, 0xa4, 0xbf, 0x0c, 0x97, 0x12, 0xbd, + 0xc5, 0x5d, 0xbf, 0x45, 0x24, 0xa5, 0xac, 0x2c, 0xfd, 0xdb, 0x05, 0xa8, 0xca, 0xcb, 0xef, 0xe7, + 0x32, 0xe5, 0x5e, 0x83, 0x52, 0xd0, 0x23, 0xa6, 0xd8, 0x3e, 0x1e, 0x21, 0x44, 0x54, 0xee, 0x30, + 0x2b, 0x8f, 0xde, 0x4a, 0x85, 0x76, 0x7d, 0x76, 0x04, 0x66, 0xb6, 0xcd, 0x55, 0x4a, 0xd9, 0x5c, + 0xd2, 0xba, 0x2a, 0x67, 0x2f, 0x84, 0x2b, 0x67, 0x33, 0x86, 0x7e, 0x5f, 0x83, 0x4b, 0x71, 0x88, + 0x81, 0xb3, 0x29, 0x63, 0x2a, 0x66, 0x46, 0x10, 0xee, 0xf5, 0xac, 0xa4, 0x8b, 0x5d, 0x0a, 0x9a, + 0xa3, 0xb4, 0xab, 0x8f, 0x51, 0x69, 0xff, 0x87, 0x0a, 0x80, 0x12, 0xe0, 0xe1, 0x5c, 0xbd, 0xcf, + 0x96, 0x4f, 0x2c, 0xb0, 0x44, 0xb0, 0xca, 0xc3, 0x39, 0x89, 0xc5, 0x7b, 0x1a, 0x4c, 0xdb, 0x15, + 0x47, 0x66, 0xe8, 0x84, 0xbe, 0x11, 0x92, 0x43, 0xb9, 0xdf, 0x98, 0x91, 0xc3, 0x36, 0x67, 0x8c, + 0x47, 0x7b, 0xae, 0x08, 0xed, 0xe6, 0x48, 0x05, 0x98, 0x82, 0xb2, 0x53, 0x18, 0xe3, 0x51, 0xa7, + 0xef, 0x47, 0x0d, 0x8d, 0xd2, 0xcc, 0x4d, 0xd0, 0xe8, 0x07, 0x84, 0xef, 0x44, 0xd6, 0xb0, 0x48, + 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dc, 0x4e, 0xa7, 0xe5, 0x18, + 0x41, 0x20, 0x42, 0x3e, 0x46, 0x69, 0x16, 0x9d, 0xd5, 0xb7, 0x3d, 0x9f, 0x2e, 0x03, 0x58, 0x81, + 0x06, 0xdf, 0x28, 0x49, 0x00, 0x1f, 0xc3, 0x54, 0x27, 0x03, 0x7a, 0xb2, 0x19, 0x05, 0x29, 0x01, + 0x3d, 0xd9, 0x44, 0xf2, 0x2c, 0xcc, 0x88, 0x0d, 0x55, 0x62, 0xb1, 0x12, 0x97, 0x78, 0x8c, 0xd8, + 0x04, 0x50, 0xc4, 0x7c, 0x95, 0x4a, 0x60, 0x61, 0x68, 0xcc, 0xd7, 0xb6, 0x67, 0x65, 0x4b, 0xff, + 0xef, 0x68, 0x30, 0xad, 0x66, 0x4e, 0x34, 0x41, 0x3e, 0x0b, 0x33, 0x74, 0x1a, 0x6c, 0xfb, 0xde, + 0x3e, 0x51, 0xe6, 0xc6, 0x24, 0x30, 0x67, 0x1a, 0x2d, 0x8d, 0x31, 0x8d, 0x96, 0xf3, 0xa6, 0xd1, + 0x4a, 0x72, 0x1a, 0xfd, 0xbe, 0x06, 0x73, 0xa9, 0x91, 0x9e, 0xb9, 0xff, 0x9f, 0xf0, 0xe0, 0x5d, + 0x8d, 0x02, 0xe7, 0xc5, 0x20, 0xb6, 0x65, 0x4c, 0xa7, 0x19, 0xd6, 0x92, 0x1a, 0xe6, 0x89, 0x01, + 0x5d, 0x50, 0xca, 0xd0, 0x05, 0x0b, 0xd2, 0x27, 0x4b, 0x68, 0x11, 0xee, 0x6c, 0x95, 0x5f, 0xe7, + 0xef, 0x69, 0x50, 0xdb, 0x52, 0x63, 0x04, 0x49, 0xa6, 0x8b, 0xc7, 0x31, 0x26, 0x88, 0x18, 0x3d, + 0x78, 0xba, 0xd6, 0x84, 0x2a, 0x6d, 0x15, 0x11, 0x75, 0x9d, 0xc6, 0x32, 0x29, 0x59, 0x40, 0x5c, + 0x1e, 0x28, 0xbc, 0x1c,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x63, 0x2d, 0xd5, 0x1f, 0x9f, 0x1c, 0x97, 0xc4, 0xd9, 0xed, 0xcc, 0xef, 0x96, 0x61, 0x21, + 0xab, 0x46, 0x68, 0x6f, 0xc0, 0x39, 0xf8, 0xf5, 0x09, 0x1a, 0x94, 0xeb, 0x26, 0x7c, 0x0b, 0x16, + 0xd2, 0xc1, 0x85, 0xd9, 0xa6, 0x31, 0x97, 0xc1, 0xcc, 0x3c, 0x76, 0xc7, 0x82, 0xad, 0x94, 0xb6, + 0xd8, 0xdb, 0x13, 0x45, 0x71, 0xc7, 0x22, 0x06, 0xa1, 0x15, 0xa8, 0x99, 0x2c, 0x72, 0x31, 0x39, + 0x10, 0xf1, 0x3d, 0xc6, 0x5d, 0x86, 0x44, 0x78, 0x68, 0x15, 0x9e, 0x49, 0x7f, 0x1d, 0x13, 0x96, + 0x2b, 0x74, 0x39, 0x97, 0xe2, 0xe1, 0x85, 0xe8, 0x72, 0x26, 0xe0, 0xef, 0xc8, 0xb1, 0x63, 0x1d, + 0x36, 0x5d, 0xf0, 0xd5, 0xfe, 0x00, 0x9c, 0xdd, 0x17, 0xf6, 0xfa, 0x6e, 0x28, 0x9f, 0x20, 0xe3, + 0x97, 0x47, 0x12, 0x30, 0x74, 0x15, 0x80, 0x3f, 0xb5, 0xc5, 0x9e, 0x81, 0xe2, 0x87, 0x6a, 0x0a, + 0x04, 0xdd, 0x87, 0x69, 0xe6, 0xd5, 0x2c, 0xfd, 0x01, 0xeb, 0x43, 0x23, 0x5f, 0x33, 0xff, 0x68, + 0x31, 0xab, 0xed, 0x12, 0xbf, 0x8b, 0x13, 0xc8, 0x88, 0x0c, 0x46, 0x91, 0xe6, 0x1e, 0x7f, 0x22, + 0xb0, 0xde, 0xd8, 0xe3, 0x91, 0x4f, 0x23, 0x39, 0xc4, 0xce, 0xe5, 0xbf, 0xab, 0xff, 0x8b, 0x22, + 0x2c, 0x66, 0x7f, 0x0f, 0xed, 0xc3, 0xfc, 0xa1, 0x49, 0x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x11, 0x1e, 0xb1, 0xcd, 0x94, 0xa2, 0x60, 0xa8, 0x48, 0xa3, 0xcf, 0x42, 0x75, 0x9f, 0xb7, + 0x54, 0x34, 0xea, 0xe3, 0xc3, 0xb9, 0x13, 0xb1, 0x45, 0x60, 0xe9, 0x87, 0x30, 0x25, 0x9f, 0xda, + 0xa2, 0xb6, 0x06, 0x12, 0xf7, 0x4c, 0xc4, 0xf7, 0xd9, 0x55, 0x92, 0x55, 0xa8, 0x1f, 0x85, 0x61, + 0x8f, 0xd6, 0x6f, 0x94, 0x74, 0xa4, 0x9a, 0x83, 0x63, 0x44, 0xfd, 0x7f, 0x69, 0xd1, 0x97, 0x84, + 0x73, 0xcf, 0xac, 0x45, 0x0e, 0x8c, 0xbe, 0x13, 0x8a, 0x3a, 0x89, 0xee, 0x1d, 0xb3, 0x01, 0x29, + 0x64, 0xf4, 0x29, 0x28, 0x86, 0xce, 0xa8, 0xa9, 0x21, 0xee, 0x32, 0x4c, 0x4b, 0xa3, 0xdb, 0x72, + 0x46, 0x29, 0x0e, 0x0d, 0x9d, 0xa0, 0x30, 0x48, 0x4e, 0x29, 0x37, 0xa0, 0x21, 0x1e, 0x26, 0x8b, + 0x0d, 0x6f, 0x6e, 0xa9, 0x0c, 0xc0, 0x75, 0x4c, 0xad, 0x39, 0x3f, 0x8c, 0x6f, 0x54, 0xb0, 0x08, + 0x49, 0x9a, 0x12, 0x21, 0x69, 0x58, 0x44, 0xa5, 0x05, 0x28, 0x13, 0xdf, 0xf7, 0x7c, 0xd1, 0xf5, + 0x3c, 0xa1, 0xbf, 0x0f, 0x97, 0x36, 0x07, 0xaf, 0xc3, 0x0f, 0x3c, 0x88, 0xb1, 0x04, 0x35, 0xda, + 0x85, 0xae, 0x22, 0x8b, 0x32, 0x4d, 0xa7, 0x53, 0x1e, 0x37, 0xa2, 0x34, 0x62, 0x3a, 0x95, 0x55, + 0x17, 0x61, 0x23, 0xf4, 0x3d, 0x98, 0x91, 0x1d, 0xc9, 0x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b, 0x45, 0x9a, 0xe4, 0x0f, 0xcf, 0xd2, 0x64, 0xe9, 0x86, 0x0b, 0x10, + 0xbb, 0xea, 0x50, 0x32, 0x7b, 0x91, 0xcc, 0x56, 0xa1, 0x78, 0x97, 0x84, 0x0d, 0x8d, 0x7e, 0xa6, + 0xed, 0x05, 0x94, 0x16, 0x1d, 0x7f, 0xfd, 0x90, 0x4b, 0xe9, 0x2a, 0x71, 0x48, 0x48, 0x1a, 0x25, + 0x9a, 0x7d, 0x8f, 0x4a, 0x66, 0x99, 0xa2, 0x8b, 0xb8, 0x1b, 0x8d, 0x0a, 0xaa, 0x43, 0xb9, 0x6d, + 0x84, 0xe6, 0x51, 0xa3, 0x4a, 0xff, 0xee, 0xfa, 0x86, 0x49, 0x1a, 0xb5, 0x95, 0xb5, 0x7f, 0xf9, + 0xa3, 0xab, 0xda, 0x1f, 0xfc, 0xe8, 0xaa, 0xf6, 0x47, 0x3f, 0xba, 0xaa, 0x7d, 0xf3, 0xc7, 0x57, + 0x9f, 0xf8, 0x83, 0x1f, 0x5f, 0x7d, 0xe2, 0x87, 0x3f, 0xbe, 0xfa, 0xc4, 0x7b, 0x2f, 0x1c, 0xda, + 0xe1, 0x51, 0x7f, 0xff, 0xa6, 0xe9, 0x75, 0x5f, 0x5a, 0x35, 0x42, 0x63, 0xd5, 0x3b, 0x7c, 0x89, + 0xe9, 0xc7, 0x4f, 0xf6, 0x8c, 0x53, 0xc7, 0x33, 0xac, 0x97, 0x4e, 0x5e, 0x7d, 0x49, 0x28, 0xce, + 0xfd, 0x0a, 0xd3, 0x76, 0x9f, 0xfa, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xfb, 0x5b, 0x16, + 0xad, 0xbf, 0x00, 0x00, +} + +func (m *ResCollector) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -16574,28 +16346,38 @@ func (m *CollectorManifestCRD) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorManifestCRD) MarshalTo(dAtA []byte) (int, error) { +func (m *ResCollector) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorManifestCRD) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ResCollector) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x12 + if m.Status != nil { + { + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if m.Manifest != nil { + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + if m.Header != nil { { - size, err := m.Manifest.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -16608,7 +16390,7 @@ func (m *CollectorManifestCRD) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *CollectorManifestCR) Marshal() (dAtA []byte, err error) { +func (m *ResCollector_Header) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -16618,41 +16400,25 @@ func (m *CollectorManifestCR) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorManifestCR) MarshalTo(dAtA []byte) (int, error) { +func (m *ResCollector_Header) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorManifestCR) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ResCollector_Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if m.Manifest != nil { - { - size, err := m.Manifest.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Type != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Type)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x20 } return len(dAtA) - i, nil } -func (m *CollectorNamespace) Marshal() (dAtA []byte, err error) { +func (m *CollectorProc) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -16662,29 +16428,41 @@ func (m *CollectorNamespace) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorNamespace) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorProc) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorProc) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 + if m.Hints != nil { + { + size := m.Hints.Size() + i -= size + if _, err := m.Hints.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } } } - if len(m.Namespaces) > 0 { - for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { + if m.ContainerHostType != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) + i-- + dAtA[i] = 0x60 + } + if len(m.NetworkId) > 0 { + i -= len(m.NetworkId) + copy(dAtA[i:], m.NetworkId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkId))) + i-- + dAtA[i] = 0x5a + } + if len(m.Containers) > 0 { + for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -16692,69 +16470,47 @@ func (m *CollectorNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x52 } } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x38 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 + dAtA[i] = 0x30 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if m.Info != nil { + { + size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CollectorJob) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + dAtA[i] = 0x2a } - return dAtA[:n], nil -} - -func (m *CollectorJob) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CollectorJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x22 } - if len(m.Jobs) > 0 { - for iNdEx := len(m.Jobs) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Processes) > 0 { + for iNdEx := len(m.Processes) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Jobs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Processes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -16762,37 +16518,32 @@ func (m *CollectorJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1a } } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) i-- dAtA[i] = 0x12 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *CollectorCronJob) Marshal() (dAtA []byte, err error) { +func (m *CollectorProc_HintMask) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorProc_HintMask) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + i = encodeVarintAgent(dAtA, i, uint64(m.HintMask)) + i-- + dAtA[i] = 0x70 + return len(dAtA) - i, nil +} +func (m *CollectorProcDiscovery) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -16802,29 +16553,32 @@ func (m *CollectorCronJob) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorCronJob) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorProcDiscovery) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorCronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorProcDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x2a } - if len(m.CronJobs) > 0 { - for iNdEx := len(m.CronJobs) - 1; iNdEx >= 0; iNdEx-- { + if len(m.ProcessDiscoveries) > 0 { + for iNdEx := len(m.ProcessDiscoveries) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.CronJobs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ProcessDiscoveries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -16832,37 +16586,30 @@ func (m *CollectorCronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x18 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) - i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorDaemonSet) Marshal() (dAtA []byte, err error) { +func (m *CollectorRealTime) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -16872,29 +16619,25 @@ func (m *CollectorDaemonSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorDaemonSet) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorRealTime) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorRealTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } + if m.ContainerHostType != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) + i-- + dAtA[i] = 0x58 } - if len(m.DaemonSets) > 0 { - for iNdEx := len(m.DaemonSets) - 1; iNdEx >= 0; iNdEx-- { + if len(m.ContainerStats) > 0 { + for iNdEx := len(m.ContainerStats) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.DaemonSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ContainerStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -16902,37 +16645,64 @@ func (m *CollectorDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x52 } } + if m.TotalMemory != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) + i-- + dAtA[i] = 0x48 + } + if m.NumCpus != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) + i-- + dAtA[i] = 0x40 + } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x38 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x30 } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if m.OrgId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.OrgId)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x28 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if m.HostId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.HostId)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x20 + } + if len(m.Stats) > 0 { + for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) + i-- + dAtA[i] = 0x12 } return len(dAtA) - i, nil } -func (m *CollectorStatefulSet) Marshal() (dAtA []byte, err error) { +func (m *CollectorContainer) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -16942,67 +16712,87 @@ func (m *CollectorStatefulSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorStatefulSet) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorContainer) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorStatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } + if len(m.NetworkId) > 0 { + i -= len(m.NetworkId) + copy(dAtA[i:], m.NetworkId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkId))) + i-- + dAtA[i] = 0x5a } - if len(m.StatefulSets) > 0 { - for iNdEx := len(m.StatefulSets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.StatefulSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.ContainerHostType != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) + i-- + dAtA[i] = 0x48 + } + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x2a + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x42 } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x28 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x20 } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Containers) > 0 { + for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Info != nil { + { + size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorPersistentVolume) Marshal() (dAtA []byte, err error) { +func (m *CollectorContainerRealTime) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17012,67 +16802,71 @@ func (m *CollectorPersistentVolume) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorPersistentVolume) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorContainerRealTime) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorPersistentVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorContainerRealTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.PersistentVolumes) > 0 { - for iNdEx := len(m.PersistentVolumes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PersistentVolumes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } + if m.ContainerHostType != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHostType)) + i-- + dAtA[i] = 0x40 } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x38 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x30 } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if m.HostId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.HostId)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x28 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if m.TotalMemory != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) + i-- + dAtA[i] = 0x20 + } + if m.NumCpus != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) + i-- + dAtA[i] = 0x18 + } + if len(m.Stats) > 0 { + for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorPersistentVolumeClaim) Marshal() (dAtA []byte, err error) { +func (m *CollectorReqStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17082,67 +16876,27 @@ func (m *CollectorPersistentVolumeClaim) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorPersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorReqStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorPersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorReqStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.PersistentVolumeClaims) > 0 { - for iNdEx := len(m.PersistentVolumeClaims) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PersistentVolumeClaims[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) - i-- - dAtA[i] = 0x20 - } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) - i-- - dAtA[i] = 0x18 - } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) i-- dAtA[i] = 0x12 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *CollectorRole) Marshal() (dAtA []byte, err error) { +func (m *CollectorECSTask) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17152,29 +16906,20 @@ func (m *CollectorRole) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorRole) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorECSTask) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorECSTask) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Tasks) > 0 { + for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17182,37 +16927,49 @@ func (m *CollectorRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x3a } } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x30 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x28 + } + if len(m.Region) > 0 { + i -= len(m.Region) + copy(dAtA[i:], m.Region) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Region))) + i-- + dAtA[i] = 0x22 } if len(m.ClusterId) > 0 { i -= len(m.ClusterId) copy(dAtA[i:], m.ClusterId) i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } if len(m.ClusterName) > 0 { i -= len(m.ClusterName) copy(dAtA[i:], m.ClusterName) i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.AwsAccountID != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.AwsAccountID)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *CollectorRoleBinding) Marshal() (dAtA []byte, err error) { +func (m *ECSTask) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17222,29 +16979,53 @@ func (m *CollectorRoleBinding) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorRoleBinding) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSTask) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ECSTask) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.ContainerInstanceTags) > 0 { + for iNdEx := len(m.ContainerInstanceTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ContainerInstanceTags[iNdEx]) + copy(dAtA[i:], m.ContainerInstanceTags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerInstanceTags[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + } + if len(m.EcsTags) > 0 { + for iNdEx := len(m.EcsTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.EcsTags[iNdEx]) + copy(dAtA[i:], m.EcsTags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.EcsTags[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } } - if len(m.RoleBindings) > 0 { - for iNdEx := len(m.RoleBindings) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Containers) > 0 { + for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.RoleBindings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17252,37 +17033,135 @@ func (m *CollectorRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 } } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) + if m.ExecutionStoppedAt != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ExecutionStoppedAt)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x78 } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + if m.PullStoppedAt != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.PullStoppedAt)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x70 } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if m.PullStartedAt != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.PullStartedAt)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x68 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if len(m.VpcId) > 0 { + i -= len(m.VpcId) + copy(dAtA[i:], m.VpcId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.VpcId))) + i-- + dAtA[i] = 0x62 + } + if len(m.ServiceName) > 0 { + i -= len(m.ServiceName) + copy(dAtA[i:], m.ServiceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) + i-- + dAtA[i] = 0x5a + } + if len(m.EphemeralStorageMetrics) > 0 { + for k := range m.EphemeralStorageMetrics { + v := m.EphemeralStorageMetrics[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x52 + } + } + if len(m.Limits) > 0 { + for k := range m.Limits { + v := m.Limits[k] + baseI := i + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) + i-- + dAtA[i] = 0x11 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x4a + } + } + if len(m.AvailabilityZone) > 0 { + i -= len(m.AvailabilityZone) + copy(dAtA[i:], m.AvailabilityZone) + i = encodeVarintAgent(dAtA, i, uint64(len(m.AvailabilityZone))) + i-- + dAtA[i] = 0x42 + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0x3a + } + if len(m.Family) > 0 { + i -= len(m.Family) + copy(dAtA[i:], m.Family) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) + i-- + dAtA[i] = 0x32 + } + if len(m.KnownStatus) > 0 { + i -= len(m.KnownStatus) + copy(dAtA[i:], m.KnownStatus) + i = encodeVarintAgent(dAtA, i, uint64(len(m.KnownStatus))) + i-- + dAtA[i] = 0x2a + } + if len(m.DesiredStatus) > 0 { + i -= len(m.DesiredStatus) + copy(dAtA[i:], m.DesiredStatus) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DesiredStatus))) + i-- + dAtA[i] = 0x22 + } + if len(m.LaunchType) > 0 { + i -= len(m.LaunchType) + copy(dAtA[i:], m.LaunchType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.LaunchType))) + i-- + dAtA[i] = 0x1a + } + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) + i-- + dAtA[i] = 0x12 + } + if len(m.Arn) > 0 { + i -= len(m.Arn) + copy(dAtA[i:], m.Arn) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Arn))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorClusterRole) Marshal() (dAtA []byte, err error) { +func (m *ECSContainer) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17292,29 +17171,74 @@ func (m *CollectorClusterRole) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorClusterRole) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSContainer) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ECSContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + if len(m.Snapshotter) > 0 { + i -= len(m.Snapshotter) + copy(dAtA[i:], m.Snapshotter) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Snapshotter))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if len(m.Limits) > 0 { + for k := range m.Limits { + v := m.Limits[k] + baseI := i + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x11 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa } } - if len(m.ClusterRoles) > 0 { - for iNdEx := len(m.ClusterRoles) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Labels) > 0 { + for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Labels[iNdEx]) + copy(dAtA[i:], m.Labels[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Labels[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + } + if m.Health != nil { + { + size, err := m.Health.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + if len(m.Volumes) > 0 { + for iNdEx := len(m.Volumes) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.ClusterRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Volumes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17322,37 +17246,163 @@ func (m *CollectorClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 } } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) + if len(m.Networks) > 0 { + for iNdEx := len(m.Networks) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Networks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + } + if len(m.Ports) > 0 { + for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + } + if len(m.ContainerArn) > 0 { + i -= len(m.ContainerArn) + copy(dAtA[i:], m.ContainerArn) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerArn))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x7a } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + if len(m.LogOptions) > 0 { + for k := range m.LogOptions { + v := m.LogOptions[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintAgent(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x72 + } + } + if len(m.LogDriver) > 0 { + i -= len(m.LogDriver) + copy(dAtA[i:], m.LogDriver) + i = encodeVarintAgent(dAtA, i, uint64(len(m.LogDriver))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x6a } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0x62 + } + if m.ExitCode != nil { + { + size, err := m.ExitCode.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if len(m.KnownStatus) > 0 { + i -= len(m.KnownStatus) + copy(dAtA[i:], m.KnownStatus) + i = encodeVarintAgent(dAtA, i, uint64(len(m.KnownStatus))) + i-- + dAtA[i] = 0x52 + } + if len(m.DesiredStatus) > 0 { + i -= len(m.DesiredStatus) + copy(dAtA[i:], m.DesiredStatus) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DesiredStatus))) + i-- + dAtA[i] = 0x4a + } + if m.FinishedAt != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.FinishedAt)) + i-- + dAtA[i] = 0x40 + } + if m.StartedAt != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.StartedAt)) + i-- + dAtA[i] = 0x38 + } + if m.CreatedAt != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CreatedAt)) + i-- + dAtA[i] = 0x30 + } + if len(m.ImageID) > 0 { + i -= len(m.ImageID) + copy(dAtA[i:], m.ImageID) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ImageID))) + i-- + dAtA[i] = 0x2a + } + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Image))) + i-- + dAtA[i] = 0x22 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if len(m.DockerName) > 0 { + i -= len(m.DockerName) + copy(dAtA[i:], m.DockerName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DockerName))) i-- dAtA[i] = 0x12 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if len(m.DockerID) > 0 { + i -= len(m.DockerID) + copy(dAtA[i:], m.DockerID) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DockerID))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorClusterRoleBinding) Marshal() (dAtA []byte, err error) { +func (m *ECSContainerNetwork) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17362,67 +17412,136 @@ func (m *CollectorClusterRoleBinding) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSContainerNetwork) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ECSContainerNetwork) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + if len(m.Ipv6Addresses) > 0 { + for iNdEx := len(m.Ipv6Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Ipv6Addresses[iNdEx]) + copy(dAtA[i:], m.Ipv6Addresses[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Ipv6Addresses[iNdEx]))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1a } } - if len(m.ClusterRoleBindings) > 0 { - for iNdEx := len(m.ClusterRoleBindings) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ClusterRoleBindings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Ipv4Addresses) > 0 { + for iNdEx := len(m.Ipv4Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Ipv4Addresses[iNdEx]) + copy(dAtA[i:], m.Ipv4Addresses[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Ipv4Addresses[iNdEx]))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x12 } } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) + if len(m.NetworkMode) > 0 { + i -= len(m.NetworkMode) + copy(dAtA[i:], m.NetworkMode) + i = encodeVarintAgent(dAtA, i, uint64(len(m.NetworkMode))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ECSContainerPort) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ECSContainerPort) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ECSContainerPort) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.HostPort != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.HostPort)) i-- dAtA[i] = 0x20 } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + if len(m.HostIp) > 0 { + i -= len(m.HostIp) + copy(dAtA[i:], m.HostIp) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostIp))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Protocol) > 0 { + i -= len(m.Protocol) + copy(dAtA[i:], m.Protocol) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) i-- dAtA[i] = 0x12 } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + if m.ContainerPort != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerPort)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ECSContainerVolume) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ECSContainerVolume) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ECSContainerVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Destination) > 0 { + i -= len(m.Destination) + copy(dAtA[i:], m.Destination) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Destination))) + i-- + dAtA[i] = 0x1a + } + if len(m.Source) > 0 { + i -= len(m.Source) + copy(dAtA[i:], m.Source) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Source))) + i-- + dAtA[i] = 0x12 + } + if len(m.DockerName) > 0 { + i -= len(m.DockerName) + copy(dAtA[i:], m.DockerName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DockerName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorServiceAccount) Marshal() (dAtA []byte, err error) { +func (m *ECSContainerHealth) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17432,67 +17551,79 @@ func (m *CollectorServiceAccount) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorServiceAccount) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSContainerHealth) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ECSContainerHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } + if len(m.Output) > 0 { + i -= len(m.Output) + copy(dAtA[i:], m.Output) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Output))) + i-- + dAtA[i] = 0x22 } - if len(m.ServiceAccounts) > 0 { - for iNdEx := len(m.ServiceAccounts) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceAccounts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.ExitCode != nil { + { + size, err := m.ExitCode.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x2a + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - } - if m.GroupSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x1a } - if m.GroupId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + if m.Since != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Since)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x10 } - if len(m.ClusterId) > 0 { - i -= len(m.ClusterId) - copy(dAtA[i:], m.ClusterId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } - if len(m.ClusterName) > 0 { - i -= len(m.ClusterName) - copy(dAtA[i:], m.ClusterName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + return len(dAtA) - i, nil +} + +func (m *ECSContainerExitCode) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ECSContainerExitCode) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ECSContainerExitCode) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ExitCode != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ExitCode)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x18 } return len(dAtA) - i, nil } -func (m *CollectorIngress) Marshal() (dAtA []byte, err error) { +func (m *CollectorPod) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17502,12 +17633,12 @@ func (m *CollectorIngress) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorIngress) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorPod) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorPod) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -17518,13 +17649,25 @@ func (m *CollectorIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x42 } } - if len(m.Ingresses) > 0 { - for iNdEx := len(m.Ingresses) - 1; iNdEx >= 0; iNdEx-- { + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if len(m.Pods) > 0 { + for iNdEx := len(m.Pods) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Ingresses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Pods[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17532,37 +17675,44 @@ func (m *CollectorIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x32 } } if m.GroupSize != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x28 } if m.GroupId != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x20 } if len(m.ClusterId) > 0 { i -= len(m.ClusterId) copy(dAtA[i:], m.ClusterId) i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } if len(m.ClusterName) > 0 { i -= len(m.ClusterName) copy(dAtA[i:], m.ClusterName) i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- + dAtA[i] = 0x12 + } + if len(m.HostName) > 0 { + i -= len(m.HostName) + copy(dAtA[i:], m.HostName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.HostName))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CollectorVerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { +func (m *CollectorReplicaSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17572,12 +17722,12 @@ func (m *CollectorVerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorVerticalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorReplicaSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorVerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -17591,10 +17741,10 @@ func (m *CollectorVerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, dAtA[i] = 0x32 } } - if len(m.VerticalPodAutoscalers) > 0 { - for iNdEx := len(m.VerticalPodAutoscalers) - 1; iNdEx >= 0; iNdEx-- { + if len(m.ReplicaSets) > 0 { + for iNdEx := len(m.ReplicaSets) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.VerticalPodAutoscalers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ReplicaSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17632,7 +17782,7 @@ func (m *CollectorVerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *CollectorHorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { +func (m *CollectorDeployment) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17642,12 +17792,12 @@ func (m *CollectorHorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorHorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorDeployment) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorHorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -17661,10 +17811,10 @@ func (m *CollectorHorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (in dAtA[i] = 0x32 } } - if len(m.HorizontalPodAutoscalers) > 0 { - for iNdEx := len(m.HorizontalPodAutoscalers) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Deployments) > 0 { + for iNdEx := len(m.Deployments) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.HorizontalPodAutoscalers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Deployments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17702,7 +17852,7 @@ func (m *CollectorHorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *CollectorNetworkPolicy) Marshal() (dAtA []byte, err error) { +func (m *CollectorService) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17712,12 +17862,12 @@ func (m *CollectorNetworkPolicy) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorNetworkPolicy) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorService) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorNetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorService) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -17731,10 +17881,10 @@ func (m *CollectorNetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) dAtA[i] = 0x32 } } - if len(m.NetworkPolicies) > 0 { - for iNdEx := len(m.NetworkPolicies) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Services) > 0 { + for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.NetworkPolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Services[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -17772,7 +17922,7 @@ func (m *CollectorNetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *CollectorStatus) Marshal() (dAtA []byte, err error) { +func (m *CollectorNode) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -17782,238 +17932,93 @@ func (m *CollectorStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CollectorStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorNode) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CollectorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorNode) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Interval != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Interval)) - i-- - dAtA[i] = 0x10 - } - if m.ActiveClients != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ActiveClients)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Process) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Process) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Process) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProcessContext) > 0 { - for iNdEx := len(m.ProcessContext) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ProcessContext[iNdEx]) - copy(dAtA[i:], m.ProcessContext[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ProcessContext[iNdEx]))) + if len(m.HostAliasMapping) > 0 { + for k := range m.HostAliasMapping { + v := m.HostAliasMapping[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) i-- - dAtA[i] = 0x1 + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0xb2 - } - } - if m.Networks != nil { - { - size, err := m.Networks.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - if m.NsPid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NsPid)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if len(m.ContainerByteKey) > 0 { - i -= len(m.ContainerByteKey) - copy(dAtA[i:], m.ContainerByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - if m.InvoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.InvoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.VoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.VoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if m.ContainerKey != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerKey)) - i-- - dAtA[i] = 0x78 - } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x72 - } - if m.IoStat != nil { - { - size, err := m.IoStat.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x6a - } - if m.State != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x60 - } - if m.OpenFdCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OpenFdCount)) - i-- - dAtA[i] = 0x58 - } - if m.Container != nil { - { - size, err := m.Container.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.CreateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) - i-- - dAtA[i] = 0x48 - } - if m.Cpu != nil { - { - size, err := m.Cpu.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + dAtA[i] = 0x3a } - i-- - dAtA[i] = 0x42 } - if m.Memory != nil { - { - size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 } - i-- - dAtA[i] = 0x3a } - if m.User != nil { - { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Nodes) > 0 { + for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a } - i-- - dAtA[i] = 0x2a } - if m.Command != nil { - { - size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if m.Pid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcessDiscovery) Marshal() (dAtA []byte, err error) { +func (m *CollectorCluster) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18023,31 +18028,28 @@ func (m *ProcessDiscovery) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessDiscovery) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorCluster) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProcessDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorCluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x3a - } - if m.CreateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) - i-- - dAtA[i] = 0x30 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.User != nil { + if m.Cluster != nil { { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -18057,44 +18059,34 @@ func (m *ProcessDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x2a } - if m.Command != nil { - { - size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if m.NsPid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NsPid)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.Pid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Command) Marshal() (dAtA []byte, err error) { +func (m *CollectorManifest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18104,77 +18096,58 @@ func (m *Command) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Command) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorManifest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorManifest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Comm) > 0 { - i -= len(m.Comm) - copy(dAtA[i:], m.Comm) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Comm))) - i-- - dAtA[i] = 0x4a - } - if len(m.Exe) > 0 { - i -= len(m.Exe) - copy(dAtA[i:], m.Exe) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Exe))) - i-- - dAtA[i] = 0x42 - } - if m.Pgroup != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pgroup)) - i-- - dAtA[i] = 0x38 + if len(m.Manifests) > 0 { + for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Manifests[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.Ppid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Ppid)) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x20 } - if m.OnDisk { - i-- - if m.OnDisk { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x18 } - if len(m.Root) > 0 { - i -= len(m.Root) - copy(dAtA[i:], m.Root) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Root))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x12 } - if len(m.Cwd) > 0 { - i -= len(m.Cwd) - copy(dAtA[i:], m.Cwd) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Cwd))) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x1a - } - if len(m.Args) > 0 { - for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Args[iNdEx]) - copy(dAtA[i:], m.Args[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Args[iNdEx]))) - i-- - dAtA[i] = 0xa - } + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcessUser) Marshal() (dAtA []byte, err error) { +func (m *CollectorManifestCRD) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18184,57 +18157,41 @@ func (m *ProcessUser) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessUser) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorManifestCRD) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProcessUser) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorManifestCRD) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Sgid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Sgid)) - i-- - dAtA[i] = 0x38 - } - if m.Suid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Suid)) - i-- - dAtA[i] = 0x30 - } - if m.Egid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Egid)) - i-- - dAtA[i] = 0x28 - } - if m.Euid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Euid)) - i-- - dAtA[i] = 0x20 - } - if m.Gid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Gid)) - i-- - dAtA[i] = 0x18 - } - if m.Uid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Uid)) - i-- - dAtA[i] = 0x10 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if m.Manifest != nil { + { + size, err := m.Manifest.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcessNetworks) Marshal() (dAtA []byte, err error) { +func (m *CollectorManifestCR) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18244,32 +18201,41 @@ func (m *ProcessNetworks) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessNetworks) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorManifestCR) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProcessNetworks) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorManifestCR) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.BytesRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BytesRate)))) - i-- - dAtA[i] = 0x15 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if m.ConnectionRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ConnectionRate)))) + if m.Manifest != nil { + { + size, err := m.Manifest.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0xd + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ContainerAddr) Marshal() (dAtA []byte, err error) { +func (m *CollectorNamespace) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18279,37 +18245,67 @@ func (m *ContainerAddr) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerAddr) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorNamespace) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Protocol != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Protocol)) - i-- - dAtA[i] = 0x18 - } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) - i-- - dAtA[i] = 0x10 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Ip))) - i-- - dAtA[i] = 0xa + if len(m.Namespaces) > 0 { + for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) + i-- + dAtA[i] = 0x20 + } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + i-- + dAtA[i] = 0x18 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Container) Marshal() (dAtA []byte, err error) { +func (m *CollectorJob) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18319,80 +18315,99 @@ func (m *Container) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Container) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorJob) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.RepoDigest) > 0 { - i -= len(m.RepoDigest) - copy(dAtA[i:], m.RepoDigest) - i = encodeVarintAgent(dAtA, i, uint64(len(m.RepoDigest))) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x9a + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.MemoryRequest != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryRequest)) - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0x90 + if len(m.Jobs) > 0 { + for iNdEx := len(m.Jobs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Jobs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.CpuRequest != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuRequest)))) - i-- - dAtA[i] = 0x2 + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x8d + dAtA[i] = 0x20 } - if m.MemAccounted != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemAccounted)) - i-- - dAtA[i] = 0x2 + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x80 + dAtA[i] = 0x18 } - if m.CpuUsageNs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuUsageNs)))) - i-- - dAtA[i] = 0x1 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0xfd + dAtA[i] = 0x12 } - if m.MemUsage != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemUsage)) - i-- - dAtA[i] = 0x1 + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0xf0 + dAtA[i] = 0xa } - if m.ThreadLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadLimit)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe8 + return len(dAtA) - i, nil +} + +func (m *CollectorCronJob) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.ThreadCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadCount)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe0 + return dAtA[:n], nil +} + +func (m *CollectorCronJob) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorCronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.Addresses) > 0 { - for iNdEx := len(m.Addresses) - 1; iNdEx >= 0; iNdEx-- { + if len(m.CronJobs) > 0 { + for iNdEx := len(m.CronJobs) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Addresses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CronJobs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -18400,193 +18415,247 @@ func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xda + dAtA[i] = 0x2a } } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) + i-- + dAtA[i] = 0x20 + } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + i-- + dAtA[i] = 0x18 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CollectorDaemonSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CollectorDaemonSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd2 + dAtA[i] = 0x32 } } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xca - } - if m.Started != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Started)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.DaemonSets) > 0 { + for iNdEx := len(m.DaemonSets) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DaemonSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xba - } - if m.MemCache != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemCache)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 - } - if m.MemRss != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemRss)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa8 - } - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa5 } - if m.SystemPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) - i-- - dAtA[i] = 0x1 + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x9d + dAtA[i] = 0x20 } - if m.UserPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) - i-- - dAtA[i] = 0x1 + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x95 + dAtA[i] = 0x18 } - if m.NetSentBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentBps)))) - i-- - dAtA[i] = 0x1 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x8d + dAtA[i] = 0x12 } - if m.NetRcvdBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdBps)))) - i-- - dAtA[i] = 0x1 + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x85 + dAtA[i] = 0xa } - if m.NetSentPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentPs)))) - i-- - dAtA[i] = 0x7d + return len(dAtA) - i, nil +} + +func (m *CollectorStatefulSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.NetRcvdPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdPs)))) - i-- - dAtA[i] = 0x75 + return dAtA[:n], nil +} + +func (m *CollectorStatefulSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorStatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x68 + if len(m.StatefulSets) > 0 { + for iNdEx := len(m.StatefulSets) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.StatefulSets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.Wbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Wbps)))) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x65 + dAtA[i] = 0x20 } - if m.Rbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Rbps)))) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x5d + dAtA[i] = 0x18 } - if m.Created != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Created)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x50 + dAtA[i] = 0x12 } - if m.Health != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Health)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x48 + dAtA[i] = 0xa } - if m.State != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x40 + return len(dAtA) - i, nil +} + +func (m *CollectorPersistentVolume) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.MemoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryLimit)) - i-- - dAtA[i] = 0x30 + return dAtA[:n], nil +} + +func (m *CollectorPersistentVolume) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorPersistentVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.CpuLimit != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuLimit)))) - i-- - dAtA[i] = 0x2d + if len(m.PersistentVolumes) > 0 { + for iNdEx := len(m.PersistentVolumes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PersistentVolumes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if len(m.Image) > 0 { - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Image))) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Id))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0x12 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcessStat) Marshal() (dAtA []byte, err error) { +func (m *CollectorPersistentVolumeClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18596,211 +18665,277 @@ func (m *ProcessStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessStat) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorPersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProcessStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorPersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Networks != nil { - { - size, err := m.Networks.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe2 - } - if len(m.ContainerByteKey) > 0 { - i -= len(m.ContainerByteKey) - copy(dAtA[i:], m.ContainerByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xda + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd2 + if len(m.PersistentVolumeClaims) > 0 { + for iNdEx := len(m.PersistentVolumeClaims) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PersistentVolumeClaims[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.InvoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.InvoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0xc8 + dAtA[i] = 0x20 } - if m.VoluntaryCtxSwitches != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.VoluntaryCtxSwitches)) - i-- - dAtA[i] = 0x1 + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0xc0 + dAtA[i] = 0x18 } - if m.ContainerNetSentBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetSentBps)))) - i-- - dAtA[i] = 0x1 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0xbd + dAtA[i] = 0x12 } - if m.ContainerNetRcvdBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetRcvdBps)))) - i-- - dAtA[i] = 0x1 + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0xb5 + dAtA[i] = 0xa } - if m.ContainerNetSentPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetSentPs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xad + return len(dAtA) - i, nil +} + +func (m *CollectorRole) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.ContainerNetRcvdPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetRcvdPs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa5 + return dAtA[:n], nil +} + +func (m *CollectorRole) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.IoStat != nil { - { - size, err := m.IoStat.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Roles) > 0 { + for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a } - if m.ContainerKey != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerKey)) - i-- - dAtA[i] = 0x1 + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x90 + dAtA[i] = 0x20 } - if m.ContainerWbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerWbps)))) - i-- - dAtA[i] = 0x1 + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x8d + dAtA[i] = 0x18 } - if m.ContainerRbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerRbps)))) - i-- - dAtA[i] = 0x1 + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x85 + dAtA[i] = 0x12 } - if m.ContainerHealth != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHealth)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x78 + dAtA[i] = 0xa } - if m.ProcessState != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ProcessState)) - i-- - dAtA[i] = 0x60 + return len(dAtA) - i, nil +} + +func (m *CollectorRoleBinding) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.ContainerState != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ContainerState)) - i-- - dAtA[i] = 0x58 + return dAtA[:n], nil +} + +func (m *CollectorRoleBinding) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.ContainerId) > 0 { - i -= len(m.ContainerId) - copy(dAtA[i:], m.ContainerId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerId))) - i-- - dAtA[i] = 0x52 + if len(m.RoleBindings) > 0 { + for iNdEx := len(m.RoleBindings) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.RoleBindings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x48 + dAtA[i] = 0x20 } - if m.OpenFdCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OpenFdCount)) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x40 + dAtA[i] = 0x18 } - if m.Threads != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Threads)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x12 } - if m.Nice != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Nice)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x28 + dAtA[i] = 0xa } - if m.Cpu != nil { - { - size, err := m.Cpu.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + return len(dAtA) - i, nil +} + +func (m *CollectorClusterRole) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CollectorClusterRole) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CollectorClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 } - i-- - dAtA[i] = 0x22 } - if m.Memory != nil { - { - size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.ClusterRoles) > 0 { + for iNdEx := len(m.ClusterRoles) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ClusterRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a } + } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x20 } - if m.CreateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x18 } - if m.Pid != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0x12 + } + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcStatsWithPerm) Marshal() (dAtA []byte, err error) { +func (m *CollectorClusterRoleBinding) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18810,45 +18945,67 @@ func (m *ProcStatsWithPerm) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcStatsWithPerm) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProcStatsWithPerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.WriteBytes != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.WriteBytes)) - i-- - dAtA[i] = 0x28 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.ReadBytes != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadBytes)) + if len(m.ClusterRoleBindings) > 0 { + for iNdEx := len(m.ClusterRoleBindings) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ClusterRoleBindings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- dAtA[i] = 0x20 } - if m.WriteCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.WriteCount)) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- dAtA[i] = 0x18 } - if m.ReadCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadCount)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.OpenFDCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OpenFDCount)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProcStatsWithPermByPID) Marshal() (dAtA []byte, err error) { +func (m *CollectorServiceAccount) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18858,44 +19015,67 @@ func (m *ProcStatsWithPermByPID) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcStatsWithPermByPID) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorServiceAccount) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProcStatsWithPermByPID) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.StatsByPID) > 0 { - for k := range m.StatsByPID { - v := m.StatsByPID[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + if len(m.ServiceAccounts) > 0 { + for iNdEx := len(m.ServiceAccounts) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ServiceAccounts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i = encodeVarintAgent(dAtA, i, uint64(k)) - i-- - dAtA[i] = 0x8 - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x2a } } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) + i-- + dAtA[i] = 0x20 + } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) + i-- + dAtA[i] = 0x18 + } + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) + i-- + dAtA[i] = 0x12 + } + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *ContainerStat) Marshal() (dAtA []byte, err error) { +func (m *CollectorIngress) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -18905,188 +19085,67 @@ func (m *ContainerStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerStat) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorIngress) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.MemoryRequest != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryRequest)) + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } + } + if len(m.Ingresses) > 0 { + for iNdEx := len(m.Ingresses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ingresses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x1 + dAtA[i] = 0x20 + } + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0xd0 + dAtA[i] = 0x18 } - if m.CpuRequest != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuRequest)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xcd - } - if m.MemAccounted != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemAccounted)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.CpuUsageNs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuUsageNs)))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xbd - } - if m.MemUsage != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemUsage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 - } - if m.ThreadLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadLimit)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa8 - } - if m.ThreadCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ThreadCount)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if len(m.ByteKey) > 0 { - i -= len(m.ByteKey) - copy(dAtA[i:], m.ByteKey) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - if m.Started != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Started)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.Key != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.Health != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Health)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if m.State != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x78 - } - if m.NetSentBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentBps)))) - i-- - dAtA[i] = 0x75 - } - if m.NetRcvdBps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdBps)))) - i-- - dAtA[i] = 0x6d - } - if m.NetSentPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentPs)))) - i-- - dAtA[i] = 0x65 - } - if m.NetRcvdPs != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdPs)))) - i-- - dAtA[i] = 0x5d - } - if m.Wbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Wbps)))) - i-- - dAtA[i] = 0x55 - } - if m.Rbps != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Rbps)))) - i-- - dAtA[i] = 0x4d - } - if m.MemLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemLimit)) - i-- - dAtA[i] = 0x40 - } - if m.MemCache != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemCache)) - i-- - dAtA[i] = 0x38 - } - if m.MemRss != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemRss)) - i-- - dAtA[i] = 0x30 - } - if m.CpuLimit != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuLimit)))) - i-- - dAtA[i] = 0x2d - } - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) - i-- - dAtA[i] = 0x25 - } - if m.SystemPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) - i-- - dAtA[i] = 0x1d - } - if m.UserPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x15 + dAtA[i] = 0x12 } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Id))) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SystemInfo) Marshal() (dAtA []byte, err error) { +func (m *CollectorVerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19096,25 +19155,29 @@ func (m *SystemInfo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SystemInfo) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorVerticalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SystemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorVerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) - i-- - dAtA[i] = 0x28 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.Cpus) > 0 { - for iNdEx := len(m.Cpus) - 1; iNdEx >= 0; iNdEx-- { + if len(m.VerticalPodAutoscalers) > 0 { + for iNdEx := len(m.VerticalPodAutoscalers) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Cpus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.VerticalPodAutoscalers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -19122,137 +19185,37 @@ func (m *SystemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - } - if m.Os != nil { - { - size, err := m.Os.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + dAtA[i] = 0x2a } - i-- - dAtA[i] = 0x12 - } - if len(m.Uuid) > 0 { - i -= len(m.Uuid) - copy(dAtA[i:], m.Uuid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uuid))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *OSInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *OSInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *OSInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.KernelVersion) > 0 { - i -= len(m.KernelVersion) - copy(dAtA[i:], m.KernelVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KernelVersion))) - i-- - dAtA[i] = 0x2a } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if len(m.Family) > 0 { - i -= len(m.Family) - copy(dAtA[i:], m.Family) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.Platform) > 0 { - i -= len(m.Platform) - copy(dAtA[i:], m.Platform) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Platform))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- dAtA[i] = 0x12 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *IOStat) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IOStat) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IOStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.WriteBytesRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.WriteBytesRate)))) - i-- - dAtA[i] = 0x25 - } - if m.ReadBytesRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ReadBytesRate)))) - i-- - dAtA[i] = 0x1d - } - if m.WriteRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.WriteRate)))) - i-- - dAtA[i] = 0x15 - } - if m.ReadRate != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ReadRate)))) - i-- - dAtA[i] = 0xd - } - return len(dAtA) - i, nil -} - -func (m *MemoryStat) Marshal() (dAtA []byte, err error) { +func (m *CollectorHorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19262,60 +19225,67 @@ func (m *MemoryStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MemoryStat) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorHorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MemoryStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorHorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Dirty != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Dirty)) - i-- - dAtA[i] = 0x40 - } - if m.Data != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Data)) - i-- - dAtA[i] = 0x38 - } - if m.Lib != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Lib)) - i-- - dAtA[i] = 0x30 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if m.Text != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Text)) - i-- - dAtA[i] = 0x28 + if len(m.HorizontalPodAutoscalers) > 0 { + for iNdEx := len(m.HorizontalPodAutoscalers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.HorizontalPodAutoscalers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.Shared != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Shared)) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- dAtA[i] = 0x20 } - if m.Swap != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Swap)) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- dAtA[i] = 0x18 } - if m.Vms != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Vms)) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.Rss != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Rss)) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CPUStat) Marshal() (dAtA []byte, err error) { +func (m *CollectorNetworkPolicy) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19325,35 +19295,29 @@ func (m *CPUStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CPUStat) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorNetworkPolicy) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorNetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SystemTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.SystemTime)) - i-- - dAtA[i] = 0x48 - } - if m.UserTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UserTime)) - i-- - dAtA[i] = 0x40 - } - if m.Nice != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Nice)) - i-- - dAtA[i] = 0x38 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.Cpus) > 0 { - for iNdEx := len(m.Cpus) - 1; iNdEx >= 0; iNdEx-- { + if len(m.NetworkPolicies) > 0 { + for iNdEx := len(m.NetworkPolicies) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Cpus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.NetworkPolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -19361,43 +19325,37 @@ func (m *CPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x2a } } - if m.NumThreads != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumThreads)) - i-- - dAtA[i] = 0x28 - } - if m.SystemPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) + if m.GroupSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupSize)) i-- - dAtA[i] = 0x25 + dAtA[i] = 0x20 } - if m.UserPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) + if m.GroupId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.GroupId)) i-- - dAtA[i] = 0x1d + dAtA[i] = 0x18 } - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) + if len(m.ClusterId) > 0 { + i -= len(m.ClusterId) + copy(dAtA[i:], m.ClusterId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterId))) i-- - dAtA[i] = 0x15 + dAtA[i] = 0x12 } - if len(m.LastCpu) > 0 { - i -= len(m.LastCpu) - copy(dAtA[i:], m.LastCpu) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LastCpu))) + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SingleCPUStat) Marshal() (dAtA []byte, err error) { +func (m *CollectorStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19407,33 +19365,30 @@ func (m *SingleCPUStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SingleCPUStat) MarshalTo(dAtA []byte) (int, error) { +func (m *CollectorStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SingleCPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CollectorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TotalPct != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) + if m.Interval != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Interval)) i-- - dAtA[i] = 0x15 + dAtA[i] = 0x10 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if m.ActiveClients != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ActiveClients)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *CPUInfo) Marshal() (dAtA []byte, err error) { +func (m *Process) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19443,75 +19398,205 @@ func (m *CPUInfo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CPUInfo) MarshalTo(dAtA []byte) (int, error) { +func (m *Process) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CPUInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Process) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.CacheSize != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CacheSize)) - i-- - dAtA[i] = 0x48 + if len(m.ProcessContext) > 0 { + for iNdEx := len(m.ProcessContext) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ProcessContext[iNdEx]) + copy(dAtA[i:], m.ProcessContext[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ProcessContext[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } } - if m.Mhz != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Mhz)) + if m.Networks != nil { + { + size, err := m.Networks.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x40 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa } - if m.Cores != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Cores)) + if m.NsPid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NsPid)) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 } - if len(m.CoreId) > 0 { - i -= len(m.CoreId) - copy(dAtA[i:], m.CoreId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.CoreId))) + if len(m.ContainerByteKey) > 0 { + i -= len(m.ContainerByteKey) + copy(dAtA[i:], m.ContainerByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerByteKey))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a } - if len(m.PhysicalId) > 0 { - i -= len(m.PhysicalId) - copy(dAtA[i:], m.PhysicalId) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PhysicalId))) + if len(m.ByteKey) > 0 { + i -= len(m.ByteKey) + copy(dAtA[i:], m.ByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if m.InvoluntaryCtxSwitches != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.InvoluntaryCtxSwitches)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.VoluntaryCtxSwitches != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.VoluntaryCtxSwitches)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.ContainerKey != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerKey)) + i-- + dAtA[i] = 0x78 + } + if len(m.ContainerId) > 0 { + i -= len(m.ContainerId) + copy(dAtA[i:], m.ContainerId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerId))) + i-- + dAtA[i] = 0x72 + } + if m.IoStat != nil { + { + size, err := m.IoStat.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.State != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x60 + } + if m.OpenFdCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.OpenFdCount)) + i-- + dAtA[i] = 0x58 + } + if m.Container != nil { + { + size, err := m.Container.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.CreateTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) + i-- + dAtA[i] = 0x48 + } + if m.Cpu != nil { + { + size, err := m.Cpu.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.Memory != nil { + { + size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.User != nil { + { + size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x2a } - if len(m.Model) > 0 { - i -= len(m.Model) - copy(dAtA[i:], m.Model) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Model))) + if m.Command != nil { + { + size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x22 } - if len(m.Family) > 0 { - i -= len(m.Family) - copy(dAtA[i:], m.Family) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x1a } - if len(m.Vendor) > 0 { - i -= len(m.Vendor) - copy(dAtA[i:], m.Vendor) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Vendor))) + if m.Pid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if m.Number != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Number)) + if m.Key != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Key)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Host) Marshal() (dAtA []byte, err error) { +func (m *ProcessDiscovery) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19521,66 +19606,78 @@ func (m *Host) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Host) MarshalTo(dAtA []byte) (int, error) { +func (m *ProcessDiscovery) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Host) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProcessDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TagsModified != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TagsModified)) + if len(m.ByteKey) > 0 { + i -= len(m.ByteKey) + copy(dAtA[i:], m.ByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) i-- - dAtA[i] = 0x50 + dAtA[i] = 0x3a } - if m.TagIndex != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TagIndex)) + if m.CreateTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) i-- - dAtA[i] = 0x48 + dAtA[i] = 0x30 } - if m.TotalMemory != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) + if m.User != nil { + { + size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x40 + dAtA[i] = 0x2a } - if m.NumCpus != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) + if m.Command != nil { + { + size, err := m.Command.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x38 + dAtA[i] = 0x22 } - if len(m.AllTags) > 0 { - for iNdEx := len(m.AllTags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AllTags[iNdEx]) - copy(dAtA[i:], m.AllTags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AllTags[iNdEx]))) - i-- - dAtA[i] = 0x32 + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0x1a } - if m.OrgId != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.OrgId)) + if m.NsPid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NsPid)) i-- dAtA[i] = 0x10 } - if m.Id != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Id)) + if m.Pid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Cluster) Marshal() (dAtA []byte, err error) { +func (m *Command) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19590,122 +19687,77 @@ func (m *Cluster) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Cluster) MarshalTo(dAtA []byte) (int, error) { +func (m *Command) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x6a - } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x62 - } - } - if m.CreationTimestamp != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreationTimestamp)) - i-- - dAtA[i] = 0x58 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x52 - } - if m.CpuCapacity != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CpuCapacity)) + if len(m.Comm) > 0 { + i -= len(m.Comm) + copy(dAtA[i:], m.Comm) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Comm))) i-- - dAtA[i] = 0x48 + dAtA[i] = 0x4a } - if m.CpuAllocatable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CpuAllocatable)) + if len(m.Exe) > 0 { + i -= len(m.Exe) + copy(dAtA[i:], m.Exe) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Exe))) i-- - dAtA[i] = 0x40 + dAtA[i] = 0x42 } - if m.MemoryCapacity != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryCapacity)) + if m.Pgroup != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Pgroup)) i-- dAtA[i] = 0x38 } - if m.MemoryAllocatable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MemoryAllocatable)) + if m.Ppid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Ppid)) i-- dAtA[i] = 0x30 } - if m.PodAllocatable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PodAllocatable)) + if m.OnDisk { + i-- + if m.OnDisk { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- dAtA[i] = 0x28 } - if m.PodCapacity != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PodCapacity)) + if len(m.Root) > 0 { + i -= len(m.Root) + copy(dAtA[i:], m.Root) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Root))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } - if len(m.ApiServerVersions) > 0 { - for k := range m.ApiServerVersions { - v := m.ApiServerVersions[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } + if len(m.Cwd) > 0 { + i -= len(m.Cwd) + copy(dAtA[i:], m.Cwd) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Cwd))) + i-- + dAtA[i] = 0x1a } - if len(m.KubeletVersions) > 0 { - for k := range m.KubeletVersions { - v := m.KubeletVersions[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) + if len(m.Args) > 0 { + for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Args[iNdEx]) + copy(dAtA[i:], m.Args[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Args[iNdEx]))) i-- dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 } } - if m.NodeCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NodeCount)) - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *Metadata) Marshal() (dAtA []byte, err error) { +func (m *ProcessUser) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19715,87 +19767,45 @@ func (m *Metadata) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Metadata) MarshalTo(dAtA []byte) (int, error) { +func (m *ProcessUser) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProcessUser) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Finalizers) > 0 { - for iNdEx := len(m.Finalizers) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Finalizers[iNdEx]) - copy(dAtA[i:], m.Finalizers[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Finalizers[iNdEx]))) - i-- - dAtA[i] = 0x52 - } - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) + if m.Sgid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Sgid)) i-- - dAtA[i] = 0x4a - } - if len(m.OwnerReferences) > 0 { - for iNdEx := len(m.OwnerReferences) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.OwnerReferences[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - } - if len(m.Annotations) > 0 { - for iNdEx := len(m.Annotations) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Annotations[iNdEx]) - copy(dAtA[i:], m.Annotations[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Annotations[iNdEx]))) - i-- - dAtA[i] = 0x3a - } + dAtA[i] = 0x38 } - if len(m.Labels) > 0 { - for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Labels[iNdEx]) - copy(dAtA[i:], m.Labels[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Labels[iNdEx]))) - i-- - dAtA[i] = 0x32 - } + if m.Suid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Suid)) + i-- + dAtA[i] = 0x30 } - if m.DeletionTimestamp != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DeletionTimestamp)) + if m.Egid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Egid)) i-- dAtA[i] = 0x28 } - if m.CreationTimestamp != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CreationTimestamp)) + if m.Euid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Euid)) i-- dAtA[i] = 0x20 } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) + if m.Gid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Gid)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) + if m.Uid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Uid)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if len(m.Name) > 0 { i -= len(m.Name) @@ -19807,7 +19817,7 @@ func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *OwnerReference) Marshal() (dAtA []byte, err error) { +func (m *ProcessNetworks) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19817,41 +19827,32 @@ func (m *OwnerReference) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) { +func (m *ProcessNetworks) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProcessNetworks) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x1a - } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) + if m.BytesRate != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BytesRate)))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x15 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if m.ConnectionRate != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ConnectionRate)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0xd } return len(dAtA) - i, nil } -func (m *ObjectReference) Marshal() (dAtA []byte, err error) { +func (m *ContainerAddr) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19861,69 +19862,37 @@ func (m *ObjectReference) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error) { +func (m *ContainerAddr) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ContainerAddr) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.FieldPath) > 0 { - i -= len(m.FieldPath) - copy(dAtA[i:], m.FieldPath) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FieldPath))) + if m.Protocol != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Protocol)) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x18 } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) + if m.Port != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Port)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x10 } - if len(m.ApiVersion) > 0 { - i -= len(m.ApiVersion) - copy(dAtA[i:], m.ApiVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiVersion))) - i-- - dAtA[i] = 0x2a - } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) + if len(m.Ip) > 0 { + i -= len(m.Ip) + copy(dAtA[i:], m.Ip) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Ip))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ServicePort) Marshal() (dAtA []byte, err error) { +func (m *Container) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -19933,128 +19902,91 @@ func (m *ServicePort) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ServicePort) MarshalTo(dAtA []byte) (int, error) { +func (m *Container) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ServicePort) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NodePort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NodePort)) + if len(m.RepoDigest) > 0 { + i -= len(m.RepoDigest) + copy(dAtA[i:], m.RepoDigest) + i = encodeVarintAgent(dAtA, i, uint64(len(m.RepoDigest))) i-- - dAtA[i] = 0x28 - } - if len(m.TargetPort) > 0 { - i -= len(m.TargetPort) - copy(dAtA[i:], m.TargetPort) - i = encodeVarintAgent(dAtA, i, uint64(len(m.TargetPort))) + dAtA[i] = 0x2 i-- - dAtA[i] = 0x22 + dAtA[i] = 0x9a } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) + if m.MemoryRequest != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemoryRequest)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x90 } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) + if m.CpuRequest != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuRequest)))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8d } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if m.MemAccounted != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemAccounted)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x80 } - return len(dAtA) - i, nil -} - -func (m *ServiceSessionAffinityConfig) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.CpuUsageNs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuUsageNs)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfd } - return dAtA[:n], nil -} - -func (m *ServiceSessionAffinityConfig) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceSessionAffinityConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ClientIPTimeoutSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ClientIPTimeoutSeconds)) + if m.MemUsage != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemUsage)) i-- - dAtA[i] = 0x8 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf0 } - return len(dAtA) - i, nil -} - -func (m *Node) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.ThreadLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ThreadLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 } - return dAtA[:n], nil -} - -func (m *Node) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.ThreadCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ThreadCount)) i-- - dAtA[i] = 0x62 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe0 } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Addresses) > 0 { + for iNdEx := len(m.Addresses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Addresses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xda } - i-- - dAtA[i] = 0x5a - } - if len(m.ProviderID) > 0 { - i -= len(m.ProviderID) - copy(dAtA[i:], m.ProviderID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ProviderID))) - i-- - dAtA[i] = 0x52 } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { @@ -20062,28 +19994,30 @@ func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x4a - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Roles[iNdEx]) - copy(dAtA[i:], m.Roles[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Roles[iNdEx]))) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x42 + dAtA[i] = 0xd2 } } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + if len(m.ByteKey) > 0 { + i -= len(m.ByteKey) + copy(dAtA[i:], m.ByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca } - if m.Status != nil { + if m.Started != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Started)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if m.Host != nil { { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -20091,64 +20025,151 @@ func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba } - if len(m.Taints) > 0 { - for iNdEx := len(m.Taints) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Taints[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } + if m.MemCache != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemCache)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 } - if m.Unschedulable { + if m.MemRss != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemRss)) i-- - if m.Unschedulable { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + dAtA[i] = 0x1 i-- - dAtA[i] = 0x20 + dAtA[i] = 0xa8 } - if len(m.PodCIDRs) > 0 { - for iNdEx := len(m.PodCIDRs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PodCIDRs[iNdEx]) - copy(dAtA[i:], m.PodCIDRs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PodCIDRs[iNdEx]))) - i-- - dAtA[i] = 0x1a - } + if m.TotalPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa5 } - if len(m.PodCIDR) > 0 { - i -= len(m.PodCIDR) - copy(dAtA[i:], m.PodCIDR) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PodCIDR))) + if m.SystemPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9d + } + if m.UserPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x95 + } + if m.NetSentBps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentBps)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8d + } + if m.NetRcvdBps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdBps)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x85 + } + if m.NetSentPs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentPs)))) + i-- + dAtA[i] = 0x7d + } + if m.NetRcvdPs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdPs)))) + i-- + dAtA[i] = 0x75 + } + if m.Key != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Key)) + i-- + dAtA[i] = 0x68 + } + if m.Wbps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Wbps)))) + i-- + dAtA[i] = 0x65 + } + if m.Rbps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Rbps)))) + i-- + dAtA[i] = 0x5d + } + if m.Created != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Created)) + i-- + dAtA[i] = 0x50 + } + if m.Health != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Health)) + i-- + dAtA[i] = 0x48 + } + if m.State != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x40 + } + if m.MemoryLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemoryLimit)) + i-- + dAtA[i] = 0x30 + } + if m.CpuLimit != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuLimit)))) + i-- + dAtA[i] = 0x2d + } + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Image))) + i-- + dAtA[i] = 0x22 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Id))) i-- dAtA[i] = 0x12 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NodeStatus) Marshal() (dAtA []byte, err error) { +func (m *ProcessStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20158,157 +20179,211 @@ func (m *NodeStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *ProcessStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProcessStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ContainerRuntimeVersion) > 0 { - i -= len(m.ContainerRuntimeVersion) - copy(dAtA[i:], m.ContainerRuntimeVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerRuntimeVersion))) + if m.Networks != nil { + { + size, err := m.Networks.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x6a - } - if len(m.OsImage) > 0 { - i -= len(m.OsImage) - copy(dAtA[i:], m.OsImage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.OsImage))) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x62 + dAtA[i] = 0xe2 } - if len(m.KernelVersion) > 0 { - i -= len(m.KernelVersion) - copy(dAtA[i:], m.KernelVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KernelVersion))) + if len(m.ContainerByteKey) > 0 { + i -= len(m.ContainerByteKey) + copy(dAtA[i:], m.ContainerByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerByteKey))) i-- - dAtA[i] = 0x5a - } - if len(m.Architecture) > 0 { - i -= len(m.Architecture) - copy(dAtA[i:], m.Architecture) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Architecture))) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x52 + dAtA[i] = 0xda } - if len(m.OperatingSystem) > 0 { - i -= len(m.OperatingSystem) - copy(dAtA[i:], m.OperatingSystem) - i = encodeVarintAgent(dAtA, i, uint64(len(m.OperatingSystem))) + if len(m.ByteKey) > 0 { + i -= len(m.ByteKey) + copy(dAtA[i:], m.ByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) i-- - dAtA[i] = 0x4a - } - if len(m.KubeProxyVersion) > 0 { - i -= len(m.KubeProxyVersion) - copy(dAtA[i:], m.KubeProxyVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KubeProxyVersion))) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x42 - } - if len(m.Images) > 0 { - for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Images[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } + dAtA[i] = 0xd2 } - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } + if m.InvoluntaryCtxSwitches != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.InvoluntaryCtxSwitches)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 } - if len(m.KubeletVersion) > 0 { - i -= len(m.KubeletVersion) - copy(dAtA[i:], m.KubeletVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.KubeletVersion))) + if m.VoluntaryCtxSwitches != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.VoluntaryCtxSwitches)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if m.ContainerNetSentBps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetSentBps)))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xbd } - if len(m.NodeAddresses) > 0 { - for k := range m.NodeAddresses { - v := m.NodeAddresses[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintAgent(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a + if m.ContainerNetRcvdBps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetRcvdBps)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb5 + } + if m.ContainerNetSentPs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetSentPs)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xad + } + if m.ContainerNetRcvdPs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerNetRcvdPs)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa5 + } + if m.IoStat != nil { + { + size, err := m.IoStat.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a } - if len(m.Allocatable) > 0 { - for k := range m.Allocatable { - v := m.Allocatable[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 + if m.ContainerKey != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerKey)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.ContainerWbps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerWbps)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8d + } + if m.ContainerRbps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ContainerRbps)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x85 + } + if m.ContainerHealth != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerHealth)) + i-- + dAtA[i] = 0x78 + } + if m.ProcessState != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ProcessState)) + i-- + dAtA[i] = 0x60 + } + if m.ContainerState != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerState)) + i-- + dAtA[i] = 0x58 + } + if len(m.ContainerId) > 0 { + i -= len(m.ContainerId) + copy(dAtA[i:], m.ContainerId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerId))) + i-- + dAtA[i] = 0x52 + } + if m.Key != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Key)) + i-- + dAtA[i] = 0x48 + } + if m.OpenFdCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.OpenFdCount)) + i-- + dAtA[i] = 0x40 + } + if m.Threads != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Threads)) + i-- + dAtA[i] = 0x38 + } + if m.Nice != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Nice)) + i-- + dAtA[i] = 0x28 + } + if m.Cpu != nil { + { + size, err := m.Cpu.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x22 } - if len(m.Capacity) > 0 { - for k := range m.Capacity { - v := m.Capacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa + if m.Memory != nil { + { + size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a + } + if m.CreateTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CreateTime)) + i-- + dAtA[i] = 0x10 + } + if m.Pid != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Pid)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *NodeCondition) Marshal() (dAtA []byte, err error) { +func (m *ProcStatsWithPerm) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20318,53 +20393,45 @@ func (m *NodeCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *ProcStatsWithPerm) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NodeCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProcStatsWithPerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + if m.WriteBytes != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.WriteBytes)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x28 } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + if m.ReadBytes != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReadBytes)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + if m.WriteCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.WriteCount)) i-- dAtA[i] = 0x18 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if m.ReadCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReadCount)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if m.OpenFDCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.OpenFDCount)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ContainerImage) Marshal() (dAtA []byte, err error) { +func (m *ProcStatsWithPermByPID) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20374,26 +20441,36 @@ func (m *ContainerImage) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error) { +func (m *ProcStatsWithPermByPID) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerImage) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProcStatsWithPermByPID) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SizeBytes != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.SizeBytes)) - i-- - dAtA[i] = 0x10 - } - if len(m.Names) > 0 { - for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Names[iNdEx]) - copy(dAtA[i:], m.Names[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Names[iNdEx]))) + if len(m.StatsByPID) > 0 { + for k := range m.StatsByPID { + v := m.StatsByPID[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i = encodeVarintAgent(dAtA, i, uint64(k)) + i-- + dAtA[i] = 0x8 + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) i-- dAtA[i] = 0xa } @@ -20401,7 +20478,7 @@ func (m *ContainerImage) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Taint) Marshal() (dAtA []byte, err error) { +func (m *ContainerStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20411,46 +20488,188 @@ func (m *Taint) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Taint) MarshalTo(dAtA []byte) (int, error) { +func (m *ContainerStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Taint) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ContainerStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TimeAdded != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.TimeAdded)) + if m.MemoryRequest != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemoryRequest)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 } - if len(m.Effect) > 0 { - i -= len(m.Effect) - copy(dAtA[i:], m.Effect) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Effect))) + if m.CpuRequest != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuRequest)))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xcd } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Value))) + if m.MemAccounted != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemAccounted)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) + if m.CpuUsageNs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuUsageNs)))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xbd + } + if m.MemUsage != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemUsage)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.ThreadLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ThreadLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.ThreadCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ThreadCount)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if len(m.ByteKey) > 0 { + i -= len(m.ByteKey) + copy(dAtA[i:], m.ByteKey) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ByteKey))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + if m.Started != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Started)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.Key != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Key)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.Health != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Health)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.State != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x78 + } + if m.NetSentBps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentBps)))) + i-- + dAtA[i] = 0x75 + } + if m.NetRcvdBps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdBps)))) + i-- + dAtA[i] = 0x6d + } + if m.NetSentPs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetSentPs)))) + i-- + dAtA[i] = 0x65 + } + if m.NetRcvdPs != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.NetRcvdPs)))) + i-- + dAtA[i] = 0x5d + } + if m.Wbps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Wbps)))) + i-- + dAtA[i] = 0x55 + } + if m.Rbps != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Rbps)))) + i-- + dAtA[i] = 0x4d + } + if m.MemLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemLimit)) + i-- + dAtA[i] = 0x40 + } + if m.MemCache != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemCache)) + i-- + dAtA[i] = 0x38 + } + if m.MemRss != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemRss)) + i-- + dAtA[i] = 0x30 + } + if m.CpuLimit != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CpuLimit)))) + i-- + dAtA[i] = 0x2d + } + if m.TotalPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) + i-- + dAtA[i] = 0x25 + } + if m.SystemPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) + i-- + dAtA[i] = 0x1d + } + if m.UserPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) + i-- + dAtA[i] = 0x15 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Id))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ServiceSpec) Marshal() (dAtA []byte, err error) { +func (m *SystemInfo) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20460,26 +20679,38 @@ func (m *ServiceSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *SystemInfo) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SystemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.IpFamily) > 0 { - i -= len(m.IpFamily) - copy(dAtA[i:], m.IpFamily) - i = encodeVarintAgent(dAtA, i, uint64(len(m.IpFamily))) + if m.TotalMemory != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) i-- - dAtA[i] = 0x72 + dAtA[i] = 0x28 } - if m.SessionAffinityConfig != nil { + if len(m.Cpus) > 0 { + for iNdEx := len(m.Cpus) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Cpus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Os != nil { { - size, err := m.SessionAffinityConfig.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Os.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -20487,149 +20718,77 @@ func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x6a - } - if m.PublishNotReadyAddresses { - i-- - if m.PublishNotReadyAddresses { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x60 - } - if m.HealthCheckNodePort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.HealthCheckNodePort)) - i-- - dAtA[i] = 0x58 + dAtA[i] = 0x12 } - if len(m.ExternalTrafficPolicy) > 0 { - i -= len(m.ExternalTrafficPolicy) - copy(dAtA[i:], m.ExternalTrafficPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalTrafficPolicy))) + if len(m.Uuid) > 0 { + i -= len(m.Uuid) + copy(dAtA[i:], m.Uuid) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Uuid))) i-- - dAtA[i] = 0x52 + dAtA[i] = 0xa } - if len(m.ExternalName) > 0 { - i -= len(m.ExternalName) - copy(dAtA[i:], m.ExternalName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalName))) - i-- - dAtA[i] = 0x4a - } - if len(m.LoadBalancerSourceRanges) > 0 { - for iNdEx := len(m.LoadBalancerSourceRanges) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.LoadBalancerSourceRanges[iNdEx]) - copy(dAtA[i:], m.LoadBalancerSourceRanges[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerSourceRanges[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.LoadBalancerIP) > 0 { - i -= len(m.LoadBalancerIP) - copy(dAtA[i:], m.LoadBalancerIP) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerIP))) - i-- - dAtA[i] = 0x3a - } - if len(m.SessionAffinity) > 0 { - i -= len(m.SessionAffinity) - copy(dAtA[i:], m.SessionAffinity) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SessionAffinity))) - i-- - dAtA[i] = 0x32 - } - if len(m.ExternalIPs) > 0 { - for iNdEx := len(m.ExternalIPs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ExternalIPs[iNdEx]) - copy(dAtA[i:], m.ExternalIPs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalIPs[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0x22 - } - if len(m.ClusterIP) > 0 { - i -= len(m.ClusterIP) - copy(dAtA[i:], m.ClusterIP) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterIP))) - i-- - dAtA[i] = 0x1a - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ServiceStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + return len(dAtA) - i, nil +} + +func (m *OSInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } return dAtA[:n], nil } -func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *OSInfo) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ServiceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *OSInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.LoadBalancerIngress) > 0 { - for iNdEx := len(m.LoadBalancerIngress) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.LoadBalancerIngress[iNdEx]) - copy(dAtA[i:], m.LoadBalancerIngress[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerIngress[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } + if len(m.KernelVersion) > 0 { + i -= len(m.KernelVersion) + copy(dAtA[i:], m.KernelVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.KernelVersion))) + i-- + dAtA[i] = 0x2a + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0x22 + } + if len(m.Family) > 0 { + i -= len(m.Family) + copy(dAtA[i:], m.Family) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) + i-- + dAtA[i] = 0x1a + } + if len(m.Platform) > 0 { + i -= len(m.Platform) + copy(dAtA[i:], m.Platform) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Platform))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Service) Marshal() (dAtA []byte, err error) { +func (m *IOStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20639,84 +20798,44 @@ func (m *Service) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Service) MarshalTo(dAtA []byte) (int, error) { +func (m *IOStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IOStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + if m.WriteBytesRate != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.WriteBytesRate)))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x25 } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.ReadBytesRate != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ReadBytesRate)))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x1d } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.WriteRate != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.WriteRate)))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x15 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.ReadRate != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.ReadRate)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0xd } return len(dAtA) - i, nil } -func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) { +func (m *MemoryStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20726,58 +20845,60 @@ func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *MemoryStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MemoryStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + if m.Dirty != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Dirty)) + i-- + dAtA[i] = 0x40 + } + if m.Data != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Data)) i-- dAtA[i] = 0x38 } - if m.LastUpdateTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastUpdateTime)) + if m.Lib != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Lib)) i-- dAtA[i] = 0x30 } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + if m.Text != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Text)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x28 } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + if m.Shared != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Shared)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if m.Swap != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Swap)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x18 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if m.Vms != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Vms)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if m.Rss != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Rss)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Deployment) Marshal() (dAtA []byte, err error) { +func (m *CPUStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20787,114 +20908,35 @@ func (m *Deployment) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Deployment) MarshalTo(dAtA []byte) (int, error) { +func (m *CPUStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x7a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x72 - } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) - i-- - dAtA[i] = 0x6a - } - if m.UnavailableReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UnavailableReplicas)) - i-- - dAtA[i] = 0x60 - } - if m.AvailableReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.AvailableReplicas)) - i-- - dAtA[i] = 0x58 - } - if m.ReadyReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) - i-- - dAtA[i] = 0x50 - } - if m.UpdatedReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedReplicas)) + if m.SystemTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.SystemTime)) i-- dAtA[i] = 0x48 } - if m.Replicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) + if m.UserTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.UserTime)) i-- dAtA[i] = 0x40 } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { + if m.Nice != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Nice)) + i-- + dAtA[i] = 0x38 + } + if len(m.Cpus) > 0 { + for iNdEx := len(m.Cpus) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Cpus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -20902,61 +20944,43 @@ func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a - } - } - if m.Paused { - i-- - if m.Paused { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + dAtA[i] = 0x32 } - i-- - dAtA[i] = 0x30 } - if len(m.MaxSurge) > 0 { - i -= len(m.MaxSurge) - copy(dAtA[i:], m.MaxSurge) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxSurge))) + if m.NumThreads != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumThreads)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x28 } - if len(m.MaxUnavailable) > 0 { - i -= len(m.MaxUnavailable) - copy(dAtA[i:], m.MaxUnavailable) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxUnavailable))) + if m.SystemPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.SystemPct)))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x25 } - if len(m.DeploymentStrategy) > 0 { - i -= len(m.DeploymentStrategy) - copy(dAtA[i:], m.DeploymentStrategy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DeploymentStrategy))) + if m.UserPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.UserPct)))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x1d } - if m.ReplicasDesired != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReplicasDesired)) + if m.TotalPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x15 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.LastCpu) > 0 { + i -= len(m.LastCpu) + copy(dAtA[i:], m.LastCpu) + i = encodeVarintAgent(dAtA, i, uint64(len(m.LastCpu))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) { +func (m *SingleCPUStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -20966,53 +20990,33 @@ func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *SingleCPUStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SingleCPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if m.TotalPct != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TotalPct)))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x15 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ReplicaSet) Marshal() (dAtA []byte, err error) { +func (m *CPUInfo) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21022,127 +21026,75 @@ func (m *ReplicaSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) { +func (m *CPUInfo) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CPUInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } + if m.CacheSize != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CacheSize)) + i-- + dAtA[i] = 0x48 } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Mhz != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Mhz)) i-- - dAtA[i] = 0x5a + dAtA[i] = 0x40 } - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x42 - } - if m.AvailableReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.AvailableReplicas)) + if m.Cores != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Cores)) i-- dAtA[i] = 0x38 } - if m.ReadyReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) + if len(m.CoreId) > 0 { + i -= len(m.CoreId) + copy(dAtA[i:], m.CoreId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.CoreId))) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x32 } - if m.FullyLabeledReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.FullyLabeledReplicas)) + if len(m.PhysicalId) > 0 { + i -= len(m.PhysicalId) + copy(dAtA[i:], m.PhysicalId) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PhysicalId))) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x2a } - if m.Replicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) + if len(m.Model) > 0 { + i -= len(m.Model) + copy(dAtA[i:], m.Model) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Model))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } + if len(m.Family) > 0 { + i -= len(m.Family) + copy(dAtA[i:], m.Family) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Family))) + i-- + dAtA[i] = 0x1a } - if m.ReplicasDesired != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReplicasDesired)) + if len(m.Vendor) > 0 { + i -= len(m.Vendor) + copy(dAtA[i:], m.Vendor) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Vendor))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Number != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Number)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { +func (m *Host) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21152,43 +21104,66 @@ func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { +func (m *Host) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Host) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Values) > 0 { - for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Values[iNdEx]) - copy(dAtA[i:], m.Values[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Values[iNdEx]))) + if m.TagsModified != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TagsModified)) + i-- + dAtA[i] = 0x50 + } + if m.TagIndex != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TagIndex)) + i-- + dAtA[i] = 0x48 + } + if m.TotalMemory != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TotalMemory)) + i-- + dAtA[i] = 0x40 + } + if m.NumCpus != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumCpus)) + i-- + dAtA[i] = 0x38 + } + if len(m.AllTags) > 0 { + for iNdEx := len(m.AllTags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AllTags[iNdEx]) + copy(dAtA[i:], m.AllTags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.AllTags[iNdEx]))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x32 } } - if len(m.Operator) > 0 { - i -= len(m.Operator) - copy(dAtA[i:], m.Operator) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Operator))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) + if m.OrgId != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.OrgId)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if m.Id != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Pod) Marshal() (dAtA []byte, err error) { +func (m *Cluster) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21198,46 +21173,16 @@ func (m *Pod) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Pod) MarshalTo(dAtA []byte) (int, error) { +func (m *Cluster) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } - } - if m.ScheduledTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ScheduledTime)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x98 - } - if m.StartTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartTime)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } if m.Metrics != nil { { size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) @@ -21248,100 +21193,141 @@ func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 + dAtA[i] = 0x6a + } + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x62 + } + } + if m.CreationTimestamp != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CreationTimestamp)) i-- - dAtA[i] = 0x8a + dAtA[i] = 0x58 } - if len(m.PriorityClass) > 0 { - i -= len(m.PriorityClass) - copy(dAtA[i:], m.PriorityClass) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PriorityClass))) + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) i-- - dAtA[i] = 0x1 + dAtA[i] = 0x52 + } + if m.CpuCapacity != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CpuCapacity)) i-- - dAtA[i] = 0x82 + dAtA[i] = 0x48 } - if len(m.QOSClass) > 0 { - i -= len(m.QOSClass) - copy(dAtA[i:], m.QOSClass) - i = encodeVarintAgent(dAtA, i, uint64(len(m.QOSClass))) + if m.CpuAllocatable != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CpuAllocatable)) i-- - dAtA[i] = 0x7a + dAtA[i] = 0x40 } - if len(m.InitContainerStatuses) > 0 { - for iNdEx := len(m.InitContainerStatuses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.InitContainerStatuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.MemoryCapacity != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemoryCapacity)) + i-- + dAtA[i] = 0x38 + } + if m.MemoryAllocatable != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MemoryAllocatable)) + i-- + dAtA[i] = 0x30 + } + if m.PodAllocatable != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.PodAllocatable)) + i-- + dAtA[i] = 0x28 + } + if m.PodCapacity != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.PodCapacity)) + i-- + dAtA[i] = 0x20 + } + if len(m.ApiServerVersions) > 0 { + for k := range m.ApiServerVersions { + v := m.ApiServerVersions[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) i-- - dAtA[i] = 0x72 + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a } } - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.KubeletVersions) > 0 { + for k := range m.KubeletVersions { + v := m.KubeletVersions[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) i-- - dAtA[i] = 0x6a + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 } } - if m.Host != nil { - { - size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.NodeCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NodeCount)) i-- - dAtA[i] = 0x62 + dAtA[i] = 0x8 } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + return len(dAtA) - i, nil +} + +func (m *Metadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Metadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Finalizers) > 0 { + for iNdEx := len(m.Finalizers) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Finalizers[iNdEx]) + copy(dAtA[i:], m.Finalizers[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Finalizers[iNdEx]))) i-- - dAtA[i] = 0x5a + dAtA[i] = 0x52 } } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x52 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) i-- dAtA[i] = 0x4a } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) - i-- - dAtA[i] = 0x42 - } - if len(m.ContainerStatuses) > 0 { - for iNdEx := len(m.ContainerStatuses) - 1; iNdEx >= 0; iNdEx-- { + if len(m.OwnerReferences) > 0 { + for iNdEx := len(m.OwnerReferences) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.ContainerStatuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OwnerReferences[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -21349,58 +21335,62 @@ func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x42 + } + } + if len(m.Annotations) > 0 { + for iNdEx := len(m.Annotations) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Annotations[iNdEx]) + copy(dAtA[i:], m.Annotations[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Annotations[iNdEx]))) + i-- dAtA[i] = 0x3a } } - if m.RestartCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RestartCount)) - i-- - dAtA[i] = 0x30 + if len(m.Labels) > 0 { + for iNdEx := len(m.Labels) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Labels[iNdEx]) + copy(dAtA[i:], m.Labels[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Labels[iNdEx]))) + i-- + dAtA[i] = 0x32 + } } - if len(m.Phase) > 0 { - i -= len(m.Phase) - copy(dAtA[i:], m.Phase) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) + if m.DeletionTimestamp != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.DeletionTimestamp)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x28 } - if len(m.NodeName) > 0 { - i -= len(m.NodeName) - copy(dAtA[i:], m.NodeName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NodeName))) + if m.CreationTimestamp != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CreationTimestamp)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if len(m.NominatedNodeName) > 0 { - i -= len(m.NominatedNodeName) - copy(dAtA[i:], m.NominatedNodeName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NominatedNodeName))) + if len(m.Uid) > 0 { + i -= len(m.Uid) + copy(dAtA[i:], m.Uid) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) i-- dAtA[i] = 0x1a } - if len(m.IP) > 0 { - i -= len(m.IP) - copy(dAtA[i:], m.IP) - i = encodeVarintAgent(dAtA, i, uint64(len(m.IP))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PodCondition) Marshal() (dAtA []byte, err error) { +func (m *OwnerReference) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21410,58 +21400,41 @@ func (m *PodCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PodCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PodCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x32 - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x2a - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x20 - } - if m.LastProbeTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if len(m.Uid) > 0 { + i -= len(m.Uid) + copy(dAtA[i:], m.Uid) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) i-- dAtA[i] = 0x12 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ContainerStatus) Marshal() (dAtA []byte, err error) { +func (m *ObjectReference) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21471,63 +21444,69 @@ func (m *ContainerStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + if len(m.FieldPath) > 0 { + i -= len(m.FieldPath) + copy(dAtA[i:], m.FieldPath) + i = encodeVarintAgent(dAtA, i, uint64(len(m.FieldPath))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x3a } - if len(m.State) > 0 { - i -= len(m.State) - copy(dAtA[i:], m.State) - i = encodeVarintAgent(dAtA, i, uint64(len(m.State))) - i-- - dAtA[i] = 0x2a - } - if m.RestartCount != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RestartCount)) + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x32 } - if m.Ready { - i-- - if m.Ready { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.ApiVersion) > 0 { + i -= len(m.ApiVersion) + copy(dAtA[i:], m.ApiVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiVersion))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x2a } - if len(m.ContainerID) > 0 { - i -= len(m.ContainerID) - copy(dAtA[i:], m.ContainerID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerID))) + if len(m.Uid) > 0 { + i -= len(m.Uid) + copy(dAtA[i:], m.Uid) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } if len(m.Name) > 0 { i -= len(m.Name) copy(dAtA[i:], m.Name) i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- + dAtA[i] = 0x1a + } + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) + i-- + dAtA[i] = 0x12 + } + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Manifest) Marshal() (dAtA []byte, err error) { +func (m *ServicePort) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21537,60 +21516,51 @@ func (m *Manifest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Manifest) MarshalTo(dAtA []byte) (int, error) { +func (m *ServicePort) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Manifest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ServicePort) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0x32 - } - if len(m.ContentType) > 0 { - i -= len(m.ContentType) - copy(dAtA[i:], m.ContentType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContentType))) + if m.NodePort != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NodePort)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x28 } - if len(m.Content) > 0 { - i -= len(m.Content) - copy(dAtA[i:], m.Content) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Content))) + if len(m.TargetPort) > 0 { + i -= len(m.TargetPort) + copy(dAtA[i:], m.TargetPort) + i = encodeVarintAgent(dAtA, i, uint64(len(m.TargetPort))) i-- dAtA[i] = 0x22 } - if len(m.Uid) > 0 { - i -= len(m.Uid) - copy(dAtA[i:], m.Uid) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) + if m.Port != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Port)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) + if len(m.Protocol) > 0 { + i -= len(m.Protocol) + copy(dAtA[i:], m.Protocol) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) i-- dAtA[i] = 0x12 } - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NamespaceCondition) Marshal() (dAtA []byte, err error) { +func (m *ServiceSessionAffinityConfig) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21600,53 +21570,25 @@ func (m *NamespaceCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NamespaceCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *ServiceSessionAffinityConfig) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NamespaceCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ServiceSessionAffinityConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if m.ClientIPTimeoutSeconds != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ClientIPTimeoutSeconds)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Namespace) Marshal() (dAtA []byte, err error) { +func (m *Node) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21656,29 +21598,46 @@ func (m *Namespace) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Namespace) MarshalTo(dAtA []byte) (int, error) { +func (m *Node) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Metrics != nil { + { + size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x32 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x5a + } + if len(m.ProviderID) > 0 { + i -= len(m.ProviderID) + copy(dAtA[i:], m.ProviderID) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ProviderID))) + i-- + dAtA[i] = 0x52 } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { @@ -21686,7 +21645,16 @@ func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x4a + } + } + if len(m.Roles) > 0 { + for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Roles[iNdEx]) + copy(dAtA[i:], m.Roles[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Roles[iNdEx]))) + i-- + dAtA[i] = 0x42 } } if len(m.Yaml) > 0 { @@ -21694,19 +21662,57 @@ func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Yaml) i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x3a } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) + if m.Status != nil { + { + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x32 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if len(m.Taints) > 0 { + for iNdEx := len(m.Taints) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Taints[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.Unschedulable { + i-- + if m.Unschedulable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.PodCIDRs) > 0 { + for iNdEx := len(m.PodCIDRs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PodCIDRs[iNdEx]) + copy(dAtA[i:], m.PodCIDRs[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PodCIDRs[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.PodCIDR) > 0 { + i -= len(m.PodCIDR) + copy(dAtA[i:], m.PodCIDR) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PodCIDR))) i-- dAtA[i] = 0x12 } @@ -21725,7 +21731,7 @@ func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) { +func (m *NodeStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21735,31 +21741,122 @@ func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error) { +func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ResourceRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Type != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Type)) + if len(m.ContainerRuntimeVersion) > 0 { + i -= len(m.ContainerRuntimeVersion) + copy(dAtA[i:], m.ContainerRuntimeVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerRuntimeVersion))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x6a } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if len(m.OsImage) > 0 { + i -= len(m.OsImage) + copy(dAtA[i:], m.OsImage) + i = encodeVarintAgent(dAtA, i, uint64(len(m.OsImage))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x62 } - if len(m.Requests) > 0 { - for k := range m.Requests { - v := m.Requests[k] + if len(m.KernelVersion) > 0 { + i -= len(m.KernelVersion) + copy(dAtA[i:], m.KernelVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.KernelVersion))) + i-- + dAtA[i] = 0x5a + } + if len(m.Architecture) > 0 { + i -= len(m.Architecture) + copy(dAtA[i:], m.Architecture) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Architecture))) + i-- + dAtA[i] = 0x52 + } + if len(m.OperatingSystem) > 0 { + i -= len(m.OperatingSystem) + copy(dAtA[i:], m.OperatingSystem) + i = encodeVarintAgent(dAtA, i, uint64(len(m.OperatingSystem))) + i-- + dAtA[i] = 0x4a + } + if len(m.KubeProxyVersion) > 0 { + i -= len(m.KubeProxyVersion) + copy(dAtA[i:], m.KubeProxyVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.KubeProxyVersion))) + i-- + dAtA[i] = 0x42 + } + if len(m.Images) > 0 { + for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Images[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + if len(m.KubeletVersion) > 0 { + i -= len(m.KubeletVersion) + copy(dAtA[i:], m.KubeletVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.KubeletVersion))) + i-- + dAtA[i] = 0x2a + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x22 + } + if len(m.NodeAddresses) > 0 { + for k := range m.NodeAddresses { + v := m.NodeAddresses[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintAgent(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Allocatable) > 0 { + for k := range m.Allocatable { + v := m.Allocatable[k] baseI := i i = encodeVarintAgent(dAtA, i, uint64(v)) i-- @@ -21774,9 +21871,9 @@ func (m *ResourceRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } - if len(m.Limits) > 0 { - for k := range m.Limits { - v := m.Limits[k] + if len(m.Capacity) > 0 { + for k := range m.Capacity { + v := m.Capacity[k] baseI := i i = encodeVarintAgent(dAtA, i, uint64(v)) i-- @@ -21794,7 +21891,7 @@ func (m *ResourceRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ResourceMetrics) Marshal() (dAtA []byte, err error) { +func (m *NodeCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21804,38 +21901,53 @@ func (m *ResourceMetrics) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResourceMetrics) MarshalTo(dAtA []byte) (int, error) { +func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ResourceMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NodeCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.MetricValues) > 0 { - for k := range m.MetricValues { - v := m.MetricValues[k] - baseI := i - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) - i-- - dAtA[i] = 0x11 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x2a + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x22 + } + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + i-- + dAtA[i] = 0x18 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x12 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *JobSpec) Marshal() (dAtA []byte, err error) { +func (m *ContainerImage) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21845,78 +21957,34 @@ func (m *JobSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *JobSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *JobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ContainerImage) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - } - if m.ManualSelector { - i-- - if m.ManualSelector { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if m.SizeBytes != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.SizeBytes)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x10 } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Names[iNdEx]))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0xa } } - if m.BackoffLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.BackoffLimit)) - i-- - dAtA[i] = 0x20 - } - if m.ActiveDeadlineSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ActiveDeadlineSeconds)) - i-- - dAtA[i] = 0x18 - } - if m.Completions != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Completions)) - i-- - dAtA[i] = 0x10 - } - if m.Parallelism != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Parallelism)) - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *JobStatus) Marshal() (dAtA []byte, err error) { +func (m *Taint) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21926,52 +21994,46 @@ func (m *JobStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *JobStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *Taint) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *JobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Taint) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Failed != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Failed)) - i-- - dAtA[i] = 0x30 - } - if m.Succeeded != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Succeeded)) - i-- - dAtA[i] = 0x28 - } - if m.Active != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Active)) + if m.TimeAdded != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.TimeAdded)) i-- dAtA[i] = 0x20 } - if m.CompletionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CompletionTime)) + if len(m.Effect) > 0 { + i -= len(m.Effect) + copy(dAtA[i:], m.Effect) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Effect))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.StartTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartTime)) + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Value))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.ConditionMessage) > 0 { - i -= len(m.ConditionMessage) - copy(dAtA[i:], m.ConditionMessage) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *JobCondition) Marshal() (dAtA []byte, err error) { +func (m *ServiceSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -21981,170 +22043,128 @@ func (m *JobCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *JobCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *JobCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + if len(m.IpFamily) > 0 { + i -= len(m.IpFamily) + copy(dAtA[i:], m.IpFamily) + i = encodeVarintAgent(dAtA, i, uint64(len(m.IpFamily))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x72 } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + if m.SessionAffinityConfig != nil { + { + size, err := m.SessionAffinityConfig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x6a } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + if m.PublishNotReadyAddresses { i-- - dAtA[i] = 0x20 - } - if m.LastProbeTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) + if m.PublishNotReadyAddresses { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- - dAtA[i] = 0x18 + dAtA[i] = 0x60 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if m.HealthCheckNodePort != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.HealthCheckNodePort)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x58 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if len(m.ExternalTrafficPolicy) > 0 { + i -= len(m.ExternalTrafficPolicy) + copy(dAtA[i:], m.ExternalTrafficPolicy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalTrafficPolicy))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x52 } - return len(dAtA) - i, nil -} - -func (m *Job) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.ExternalName) > 0 { + i -= len(m.ExternalName) + copy(dAtA[i:], m.ExternalName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalName))) + i-- + dAtA[i] = 0x4a } - return dAtA[:n], nil -} - -func (m *Job) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Job) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.LoadBalancerSourceRanges) > 0 { + for iNdEx := len(m.LoadBalancerSourceRanges) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.LoadBalancerSourceRanges[iNdEx]) + copy(dAtA[i:], m.LoadBalancerSourceRanges[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerSourceRanges[iNdEx]))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x42 } } - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + if len(m.LoadBalancerIP) > 0 { + i -= len(m.LoadBalancerIP) + copy(dAtA[i:], m.LoadBalancerIP) + i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerIP))) + i-- + dAtA[i] = 0x3a + } + if len(m.SessionAffinity) > 0 { + i -= len(m.SessionAffinity) + copy(dAtA[i:], m.SessionAffinity) + i = encodeVarintAgent(dAtA, i, uint64(len(m.SessionAffinity))) + i-- + dAtA[i] = 0x32 + } + if len(m.ExternalIPs) > 0 { + for iNdEx := len(m.ExternalIPs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ExternalIPs[iNdEx]) + copy(dAtA[i:], m.ExternalIPs[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ExternalIPs[iNdEx]))) i-- dAtA[i] = 0x2a } } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0x22 } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.ClusterIP) > 0 { + i -= len(m.ClusterIP) + copy(dAtA[i:], m.ClusterIP) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ClusterIP))) i-- dAtA[i] = 0x1a } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Selectors) > 0 { + for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CronJobSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err } - return dAtA[:n], nil -} - -func (m *CronJobSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CronJobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Ports) > 0 { + for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -22152,52 +22172,13 @@ func (m *CronJobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a - } - } - if m.FailedJobsHistoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.FailedJobsHistoryLimit)) - i-- - dAtA[i] = 0x30 - } - if m.SuccessfulJobsHistoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.SuccessfulJobsHistoryLimit)) - i-- - dAtA[i] = 0x28 - } - if m.Suspend { - i-- - if m.Suspend { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + dAtA[i] = 0xa } - i-- - dAtA[i] = 0x20 - } - if len(m.ConcurrencyPolicy) > 0 { - i -= len(m.ConcurrencyPolicy) - copy(dAtA[i:], m.ConcurrencyPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConcurrencyPolicy))) - i-- - dAtA[i] = 0x1a - } - if m.StartingDeadlineSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StartingDeadlineSeconds)) - i-- - dAtA[i] = 0x10 - } - if len(m.Schedule) > 0 { - i -= len(m.Schedule) - copy(dAtA[i:], m.Schedule) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Schedule))) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CronJobStatus) Marshal() (dAtA []byte, err error) { +func (m *ServiceStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22207,39 +22188,31 @@ func (m *CronJobStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CronJobStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CronJobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ServiceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.LastScheduleTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastScheduleTime)) - i-- - dAtA[i] = 0x10 - } - if len(m.Active) > 0 { - for iNdEx := len(m.Active) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Active[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.LoadBalancerIngress) > 0 { + for iNdEx := len(m.LoadBalancerIngress) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.LoadBalancerIngress[iNdEx]) + copy(dAtA[i:], m.LoadBalancerIngress[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.LoadBalancerIngress[iNdEx]))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } } return len(dAtA) - i, nil } -func (m *CronJob) Marshal() (dAtA []byte, err error) { +func (m *Service) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22249,16 +22222,28 @@ func (m *CronJob) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CronJob) MarshalTo(dAtA []byte) (int, error) { +func (m *Service) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Metrics != nil { + { + size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) @@ -22314,82 +22299,7 @@ func (m *CronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if m.RevisionHistoryLimit != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RevisionHistoryLimit)) - i-- - dAtA[i] = 0x28 - } - if m.MinReadySeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MinReadySeconds)) - i-- - dAtA[i] = 0x20 - } - if len(m.MaxUnavailable) > 0 { - i -= len(m.MaxUnavailable) - copy(dAtA[i:], m.MaxUnavailable) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxUnavailable))) - i-- - dAtA[i] = 0x1a - } - if len(m.DeploymentStrategy) > 0 { - i -= len(m.DeploymentStrategy) - copy(dAtA[i:], m.DeploymentStrategy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DeploymentStrategy))) - i-- - dAtA[i] = 0x12 - } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) { +func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22399,74 +22309,26 @@ func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NumberUnavailable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberUnavailable)) - i-- - dAtA[i] = 0x40 - } - if m.NumberAvailable != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberAvailable)) + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) i-- dAtA[i] = 0x38 } - if m.UpdatedNumberScheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedNumberScheduled)) + if m.LastUpdateTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastUpdateTime)) i-- dAtA[i] = 0x30 } - if m.NumberReady != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberReady)) - i-- - dAtA[i] = 0x20 - } - if m.DesiredNumberScheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredNumberScheduled)) - i-- - dAtA[i] = 0x18 - } - if m.NumberMisscheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.NumberMisscheduled)) - i-- - dAtA[i] = 0x10 - } - if m.CurrentNumberScheduled != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentNumberScheduled)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l if len(m.Message) > 0 { i -= len(m.Message) copy(dAtA[i:], m.Message) @@ -22481,11 +22343,6 @@ func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) - i-- - dAtA[i] = 0x18 - } if len(m.Status) > 0 { i -= len(m.Status) copy(dAtA[i:], m.Status) @@ -22503,7 +22360,7 @@ func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaemonSet) Marshal() (dAtA []byte, err error) { +func (m *Deployment) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22513,12 +22370,12 @@ func (m *DaemonSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) { +func (m *Deployment) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -22534,7 +22391,9 @@ func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 } } if m.Metrics != nil { @@ -22547,7 +22406,25 @@ func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { @@ -22555,7 +22432,7 @@ func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x7a } } if len(m.Yaml) > 0 { @@ -22563,106 +22440,39 @@ func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Yaml) i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a + dAtA[i] = 0x72 } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.ConditionMessage) > 0 { + i -= len(m.ConditionMessage) + copy(dAtA[i:], m.ConditionMessage) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x6a } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.UnavailableReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.UnavailableReplicas)) i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceRequirements) > 0 { - for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } + dAtA[i] = 0x60 } - if m.Partition != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) + if m.AvailableReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.AvailableReplicas)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x58 } - if len(m.UpdateStrategy) > 0 { - i -= len(m.UpdateStrategy) - copy(dAtA[i:], m.UpdateStrategy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.UpdateStrategy))) + if m.ReadyReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x50 } - if len(m.PodManagementPolicy) > 0 { - i -= len(m.PodManagementPolicy) - copy(dAtA[i:], m.PodManagementPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PodManagementPolicy))) + if m.UpdatedReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedReplicas)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x48 } - if len(m.ServiceName) > 0 { - i -= len(m.ServiceName) - copy(dAtA[i:], m.ServiceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) + if m.Replicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x40 } if len(m.Selectors) > 0 { for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { @@ -22675,61 +22485,61 @@ func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x3a } } - if m.DesiredReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredReplicas)) + if m.Paused { i-- - dAtA[i] = 0x8 + if m.Paused { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 } - return len(dAtA) - i, nil -} - -func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.MaxSurge) > 0 { + i -= len(m.MaxSurge) + copy(dAtA[i:], m.MaxSurge) + i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxSurge))) + i-- + dAtA[i] = 0x2a } - return dAtA[:n], nil -} - -func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StatefulSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.UpdatedReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedReplicas)) + if len(m.MaxUnavailable) > 0 { + i -= len(m.MaxUnavailable) + copy(dAtA[i:], m.MaxUnavailable) + i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxUnavailable))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } - if m.CurrentReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentReplicas)) + if len(m.DeploymentStrategy) > 0 { + i -= len(m.DeploymentStrategy) + copy(dAtA[i:], m.DeploymentStrategy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DeploymentStrategy))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.ReadyReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) + if m.ReplicasDesired != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReplicasDesired)) i-- dAtA[i] = 0x10 } - if m.Replicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) { +func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22739,12 +22549,12 @@ func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -22785,7 +22595,7 @@ func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *StatefulSet) Marshal() (dAtA []byte, err error) { +func (m *ReplicaSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22795,12 +22605,12 @@ func (m *StatefulSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) { +func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -22816,7 +22626,7 @@ func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x62 } } if m.Metrics != nil { @@ -22829,7 +22639,21 @@ func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x5a + } + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { @@ -22837,7 +22661,7 @@ func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x4a } } if len(m.Yaml) > 0 { @@ -22845,31 +22669,46 @@ func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Yaml) i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x42 } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.AvailableReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.AvailableReplicas)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x38 } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if m.ReadyReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) + i-- + dAtA[i] = 0x30 + } + if m.FullyLabeledReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.FullyLabeledReplicas)) + i-- + dAtA[i] = 0x28 + } + if m.Replicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) + i-- + dAtA[i] = 0x20 + } + if len(m.Selectors) > 0 { + for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a } + } + if m.ReplicasDesired != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReplicasDesired)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if m.Metadata != nil { { @@ -22886,7 +22725,7 @@ func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PersistentVolume) Marshal() (dAtA []byte, err error) { +func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22896,72 +22735,43 @@ func (m *PersistentVolume) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolume) MarshalTo(dAtA []byte) (int, error) { +func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + if len(m.Values) > 0 { + for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Values[iNdEx]) + copy(dAtA[i:], m.Values[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Values[iNdEx]))) i-- - dAtA[i] = 0x2a - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x22 - } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + dAtA[i] = 0x1a } - i-- - dAtA[i] = 0x1a } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Operator))) i-- dAtA[i] = 0x12 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Key))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error) { +func (m *Pod) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -22971,32 +22781,20 @@ func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *Pod) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PersistentVolumeSource != nil { - { - size, err := m.PersistentVolumeSource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if len(m.NodeAffinity) > 0 { - for iNdEx := len(m.NodeAffinity) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.NodeAffinity[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23004,42 +22802,28 @@ func (m *PersistentVolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x4a - } - } - if len(m.VolumeMode) > 0 { - i -= len(m.VolumeMode) - copy(dAtA[i:], m.VolumeMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeMode))) - i-- - dAtA[i] = 0x42 - } - if len(m.MountOptions) > 0 { - for iNdEx := len(m.MountOptions) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.MountOptions[iNdEx]) - copy(dAtA[i:], m.MountOptions[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.MountOptions[iNdEx]))) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x3a + dAtA[i] = 0xa2 } } - if len(m.StorageClassName) > 0 { - i -= len(m.StorageClassName) - copy(dAtA[i:], m.StorageClassName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.StorageClassName))) + if m.ScheduledTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ScheduledTime)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 } - if len(m.PersistentVolumeReclaimPolicy) > 0 { - i -= len(m.PersistentVolumeReclaimPolicy) - copy(dAtA[i:], m.PersistentVolumeReclaimPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PersistentVolumeReclaimPolicy))) + if m.StartTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.StartTime)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 } - if m.ClaimRef != nil { + if m.Metrics != nil { { - size, err := m.ClaimRef.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23047,79 +22831,57 @@ func (m *PersistentVolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } - if len(m.AccessModes) > 0 { - for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccessModes[iNdEx]) - copy(dAtA[i:], m.AccessModes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) - i-- - dAtA[i] = 0x1a - } + if len(m.PriorityClass) > 0 { + i -= len(m.PriorityClass) + copy(dAtA[i:], m.PriorityClass) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PriorityClass))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 } - if len(m.PersistentVolumeType) > 0 { - i -= len(m.PersistentVolumeType) - copy(dAtA[i:], m.PersistentVolumeType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PersistentVolumeType))) + if len(m.QOSClass) > 0 { + i -= len(m.QOSClass) + copy(dAtA[i:], m.QOSClass) + i = encodeVarintAgent(dAtA, i, uint64(len(m.QOSClass))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x7a } - if len(m.Capacity) > 0 { - for k := range m.Capacity { - v := m.Capacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + if len(m.InitContainerStatuses) > 0 { + for iNdEx := len(m.InitContainerStatuses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.InitContainerStatuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0xa + dAtA[i] = 0x72 } } - return len(dAtA) - i, nil -} - -func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Csi != nil { - { - size, err := m.Csi.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x6a } - i-- - dAtA[i] = 0x2a } - if m.AzureDisk != nil { + if m.Host != nil { { - size, err := m.AzureDisk.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23127,35 +22889,88 @@ func (m *PersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x62 } - if m.AzureFile != nil { - { - size, err := m.AzureFile.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x5a + } } - if m.AwsElasticBlockStore != nil { - { - size, err := m.AwsElasticBlockStore.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + i-- + dAtA[i] = 0x52 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x4a + } + if len(m.ConditionMessage) > 0 { + i -= len(m.ConditionMessage) + copy(dAtA[i:], m.ConditionMessage) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) + i-- + dAtA[i] = 0x42 + } + if len(m.ContainerStatuses) > 0 { + for iNdEx := len(m.ContainerStatuses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ContainerStatuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3a } + } + if m.RestartCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.RestartCount)) + i-- + dAtA[i] = 0x30 + } + if len(m.Phase) > 0 { + i -= len(m.Phase) + copy(dAtA[i:], m.Phase) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) + i-- + dAtA[i] = 0x2a + } + if len(m.NodeName) > 0 { + i -= len(m.NodeName) + copy(dAtA[i:], m.NodeName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.NodeName))) + i-- + dAtA[i] = 0x22 + } + if len(m.NominatedNodeName) > 0 { + i -= len(m.NominatedNodeName) + copy(dAtA[i:], m.NominatedNodeName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.NominatedNodeName))) + i-- + dAtA[i] = 0x1a + } + if len(m.IP) > 0 { + i -= len(m.IP) + copy(dAtA[i:], m.IP) + i = encodeVarintAgent(dAtA, i, uint64(len(m.IP))) i-- dAtA[i] = 0x12 } - if m.GcePersistentDisk != nil { + if m.Metadata != nil { { - size, err := m.GcePersistentDisk.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23168,7 +22983,7 @@ func (m *PersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) { +func (m *PodCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23178,49 +22993,58 @@ func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) { +func (m *PodCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GCEPersistentDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PodCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ReadOnly { + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + dAtA[i] = 0x32 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x2a + } + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) i-- dAtA[i] = 0x20 } - if m.Partition != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) + if m.LastProbeTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) i-- dAtA[i] = 0x18 } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) i-- dAtA[i] = 0x12 } - if len(m.PdName) > 0 { - i -= len(m.PdName) - copy(dAtA[i:], m.PdName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PdName))) + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) { +func (m *ContainerStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23230,49 +23054,63 @@ func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error) { +func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AWSElasticBlockStoreVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ReadOnly { + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) i-- - if m.ReadOnly { + dAtA[i] = 0x32 + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarintAgent(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0x2a + } + if m.RestartCount != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.RestartCount)) + i-- + dAtA[i] = 0x20 + } + if m.Ready { + i-- + if m.Ready { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x20 - } - if m.Partition != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) - i-- dAtA[i] = 0x18 } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) + if len(m.ContainerID) > 0 { + i -= len(m.ContainerID) + copy(dAtA[i:], m.ContainerID) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerID))) i-- dAtA[i] = 0x12 } - if len(m.VolumeID) > 0 { - i -= len(m.VolumeID) - copy(dAtA[i:], m.VolumeID) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeID))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error) { +func (m *Manifest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23282,51 +23120,60 @@ func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) { +func (m *Manifest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AzureFilePersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Manifest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.SecretNamespace) > 0 { - i -= len(m.SecretNamespace) - copy(dAtA[i:], m.SecretNamespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretNamespace))) + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Version))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x32 } - if m.ReadOnly { + if len(m.ContentType) > 0 { + i -= len(m.ContentType) + copy(dAtA[i:], m.ContentType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContentType))) i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + dAtA[i] = 0x2a + } + if len(m.Content) > 0 { + i -= len(m.Content) + copy(dAtA[i:], m.Content) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Content))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x22 } - if len(m.ShareName) > 0 { - i -= len(m.ShareName) - copy(dAtA[i:], m.ShareName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ShareName))) + if len(m.Uid) > 0 { + i -= len(m.Uid) + copy(dAtA[i:], m.Uid) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Uid))) + i-- + dAtA[i] = 0x1a + } + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceVersion))) i-- dAtA[i] = 0x12 } - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretName))) + if m.Type != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Type)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error) { +func (m *NamespaceCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23336,65 +23183,53 @@ func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) { +func (m *NamespaceCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AzureDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NamespaceCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x32 - } - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x2a } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) i-- dAtA[i] = 0x22 } - if len(m.CachingMode) > 0 { - i -= len(m.CachingMode) - copy(dAtA[i:], m.CachingMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.CachingMode))) + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.DiskURI) > 0 { - i -= len(m.DiskURI) - copy(dAtA[i:], m.DiskURI) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DiskURI))) + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) i-- dAtA[i] = 0x12 } - if len(m.DiskName) > 0 { - i -= len(m.DiskName) - copy(dAtA[i:], m.DiskName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.DiskName))) + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error) { +func (m *Namespace) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23404,67 +23239,63 @@ func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CSIVolumeSource) MarshalTo(dAtA []byte) (int, error) { +func (m *Namespace) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CSIVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NodeExpandSecretRef != nil { - { - size, err := m.NodeExpandSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 } - i-- - dAtA[i] = 0x52 } - if m.ControllerExpandSecretRef != nil { - { - size, err := m.ControllerExpandSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x2a } + } + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x4a + dAtA[i] = 0x22 } - if m.NodePublishSecretRef != nil { - { - size, err := m.NodePublishSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.ConditionMessage) > 0 { + i -= len(m.ConditionMessage) + copy(dAtA[i:], m.ConditionMessage) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x1a } - if m.NodeStageSecretRef != nil { - { - size, err := m.NodeStageSecretRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x12 } - if m.ControllerPublishSecretRef != nil { + if m.Metadata != nil { { - size, err := m.ControllerPublishSecretRef.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23472,62 +23303,12 @@ func (m *CSIVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 - } - if len(m.VolumeAttributes) > 0 { - for k := range m.VolumeAttributes { - v := m.VolumeAttributes[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintAgent(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2a - } - } - if len(m.FsType) > 0 { - i -= len(m.FsType) - copy(dAtA[i:], m.FsType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) - i-- - dAtA[i] = 0x22 - } - if m.ReadOnly { - i-- - if m.ReadOnly { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.VolumeHandle) > 0 { - i -= len(m.VolumeHandle) - copy(dAtA[i:], m.VolumeHandle) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeHandle))) - i-- - dAtA[i] = 0x12 - } - if len(m.Driver) > 0 { - i -= len(m.Driver) - copy(dAtA[i:], m.Driver) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Driver))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SecretReference) Marshal() (dAtA []byte, err error) { +func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23537,34 +23318,66 @@ func (m *SecretReference) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SecretReference) MarshalTo(dAtA []byte) (int, error) { +func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SecretReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ResourceRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) + if m.Type != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Type)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x20 } if len(m.Name) > 0 { i -= len(m.Name) copy(dAtA[i:], m.Name) i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if len(m.Requests) > 0 { + for k := range m.Requests { + v := m.Requests[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Limits) > 0 { + for k := range m.Limits { + v := m.Limits[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error) { +func (m *ResourceMetrics) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23574,41 +23387,38 @@ func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *ResourceMetrics) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolumeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ResourceMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x1a - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x12 - } - if len(m.Phase) > 0 { - i -= len(m.Phase) - copy(dAtA[i:], m.Phase) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) - i-- - dAtA[i] = 0xa + if len(m.MetricValues) > 0 { + for k := range m.MetricValues { + v := m.MetricValues[k] + baseI := i + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) + i-- + dAtA[i] = 0x11 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error) { +func (m *JobSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23618,20 +23428,20 @@ func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NodeSelectorTerm) MarshalTo(dAtA []byte) (int, error) { +func (m *JobSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NodeSelectorTerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *JobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.MatchFields) > 0 { - for iNdEx := len(m.MatchFields) - 1; iNdEx >= 0; iNdEx-- { + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.MatchFields[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23639,13 +23449,23 @@ func (m *NodeSelectorTerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x3a } } - if len(m.MatchExpressions) > 0 { - for iNdEx := len(m.MatchExpressions) - 1; iNdEx >= 0; iNdEx-- { + if m.ManualSelector { + i-- + if m.ManualSelector { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.Selectors) > 0 { + for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.MatchExpressions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23653,13 +23473,33 @@ func (m *NodeSelectorTerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x2a } } + if m.BackoffLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.BackoffLimit)) + i-- + dAtA[i] = 0x20 + } + if m.ActiveDeadlineSeconds != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ActiveDeadlineSeconds)) + i-- + dAtA[i] = 0x18 + } + if m.Completions != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Completions)) + i-- + dAtA[i] = 0x10 + } + if m.Parallelism != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Parallelism)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error) { +func (m *JobStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23669,16 +23509,146 @@ func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) { +func (m *JobStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *JobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Failed != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Failed)) + i-- + dAtA[i] = 0x30 + } + if m.Succeeded != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Succeeded)) + i-- + dAtA[i] = 0x28 + } + if m.Active != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Active)) + i-- + dAtA[i] = 0x20 + } + if m.CompletionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CompletionTime)) + i-- + dAtA[i] = 0x18 + } + if m.StartTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.StartTime)) + i-- + dAtA[i] = 0x10 + } + if len(m.ConditionMessage) > 0 { + i -= len(m.ConditionMessage) + copy(dAtA[i:], m.ConditionMessage) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionMessage))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *JobCondition) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *JobCondition) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *JobCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x32 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x2a + } + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + i-- + dAtA[i] = 0x20 + } + if m.LastProbeTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) + i-- + dAtA[i] = 0x18 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x12 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Job) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Job) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Job) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) @@ -23734,7 +23704,7 @@ func (m *PersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error) { +func (m *CronJobSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23744,20 +23714,20 @@ func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *CronJobSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolumeClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CronJobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23765,46 +23735,52 @@ func (m *PersistentVolumeClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, er i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x3a } } - if len(m.Capacity) > 0 { - for k := range m.Capacity { - v := m.Capacity[k] - baseI := i - i = encodeVarintAgent(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } + if m.FailedJobsHistoryLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.FailedJobsHistoryLimit)) + i-- + dAtA[i] = 0x30 } - if len(m.AccessModes) > 0 { - for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccessModes[iNdEx]) - copy(dAtA[i:], m.AccessModes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) - i-- - dAtA[i] = 0x12 + if m.SuccessfulJobsHistoryLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.SuccessfulJobsHistoryLimit)) + i-- + dAtA[i] = 0x28 + } + if m.Suspend { + i-- + if m.Suspend { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x20 } - if len(m.Phase) > 0 { - i -= len(m.Phase) - copy(dAtA[i:], m.Phase) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) + if len(m.ConcurrencyPolicy) > 0 { + i -= len(m.ConcurrencyPolicy) + copy(dAtA[i:], m.ConcurrencyPolicy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConcurrencyPolicy))) + i-- + dAtA[i] = 0x1a + } + if m.StartingDeadlineSeconds != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.StartingDeadlineSeconds)) + i-- + dAtA[i] = 0x10 + } + if len(m.Schedule) > 0 { + i -= len(m.Schedule) + copy(dAtA[i:], m.Schedule) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Schedule))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error) { +func (m *CronJobStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23814,19 +23790,77 @@ func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *CronJobStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolumeClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CronJobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.DataSource != nil { + if m.LastScheduleTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastScheduleTime)) + i-- + dAtA[i] = 0x10 + } + if len(m.Active) > 0 { + for iNdEx := len(m.Active) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Active[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CronJob) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CronJob) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CronJob) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + i-- + dAtA[i] = 0x22 + } + if m.Status != nil { { - size, err := m.DataSource.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23834,26 +23868,59 @@ func (m *PersistentVolumeClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, erro i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x1a } - if len(m.VolumeMode) > 0 { - i -= len(m.VolumeMode) - copy(dAtA[i:], m.VolumeMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeMode))) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x12 } - if len(m.StorageClassName) > 0 { - i -= len(m.StorageClassName) - copy(dAtA[i:], m.StorageClassName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.StorageClassName))) + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x2a + dAtA[i] = 0xa } - if len(m.Selector) > 0 { - for iNdEx := len(m.Selector) - 1; iNdEx >= 0; iNdEx-- { + return len(dAtA) - i, nil +} + +func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Selector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -23861,33 +23928,43 @@ func (m *PersistentVolumeClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, erro i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x32 } } - if len(m.VolumeName) > 0 { - i -= len(m.VolumeName) - copy(dAtA[i:], m.VolumeName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeName))) + if m.RevisionHistoryLimit != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.RevisionHistoryLimit)) + i-- + dAtA[i] = 0x28 + } + if m.MinReadySeconds != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MinReadySeconds)) + i-- + dAtA[i] = 0x20 + } + if len(m.MaxUnavailable) > 0 { + i -= len(m.MaxUnavailable) + copy(dAtA[i:], m.MaxUnavailable) + i = encodeVarintAgent(dAtA, i, uint64(len(m.MaxUnavailable))) i-- dAtA[i] = 0x1a } - if m.Resources != nil { - { - size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.DeploymentStrategy) > 0 { + i -= len(m.DeploymentStrategy) + copy(dAtA[i:], m.DeploymentStrategy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DeploymentStrategy))) i-- dAtA[i] = 0x12 } - if len(m.AccessModes) > 0 { - for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccessModes[iNdEx]) - copy(dAtA[i:], m.AccessModes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) + if len(m.Selectors) > 0 { + for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } @@ -23895,7 +23972,7 @@ func (m *PersistentVolumeClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error) { +func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23905,41 +23982,55 @@ func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error) { +func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TypedLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if m.NumberUnavailable != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumberUnavailable)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x40 } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) + if m.NumberAvailable != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumberAvailable)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x38 } - if len(m.ApiGroup) > 0 { - i -= len(m.ApiGroup) - copy(dAtA[i:], m.ApiGroup) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroup))) + if m.UpdatedNumberScheduled != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedNumberScheduled)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x30 + } + if m.NumberReady != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumberReady)) + i-- + dAtA[i] = 0x20 + } + if m.DesiredNumberScheduled != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.DesiredNumberScheduled)) + i-- + dAtA[i] = 0x18 + } + if m.NumberMisscheduled != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.NumberMisscheduled)) + i-- + dAtA[i] = 0x10 + } + if m.CurrentNumberScheduled != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CurrentNumberScheduled)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error) { +func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -23949,12 +24040,12 @@ func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PersistentVolumeClaimCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -23964,23 +24055,18 @@ func (m *PersistentVolumeClaimCondition) MarshalToSizedBuffer(dAtA []byte) (int, copy(dAtA[i:], m.Message) i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x2a } if len(m.Reason) > 0 { i -= len(m.Reason) copy(dAtA[i:], m.Reason) i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } if m.LastTransitionTime != 0 { i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) i-- - dAtA[i] = 0x20 - } - if m.LastProbeTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) - i-- dAtA[i] = 0x18 } if len(m.Status) > 0 { @@ -24000,7 +24086,7 @@ func (m *PersistentVolumeClaimCondition) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *PolicyRule) Marshal() (dAtA []byte, err error) { +func (m *DaemonSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24010,65 +24096,98 @@ func (m *PolicyRule) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PolicyRule) MarshalTo(dAtA []byte) (int, error) { +func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.NonResourceURLs) > 0 { - for iNdEx := len(m.NonResourceURLs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.NonResourceURLs[iNdEx]) - copy(dAtA[i:], m.NonResourceURLs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.NonResourceURLs[iNdEx]))) + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x3a } } - if len(m.ResourceNames) > 0 { - for iNdEx := len(m.ResourceNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ResourceNames[iNdEx]) - copy(dAtA[i:], m.ResourceNames[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceNames[iNdEx]))) - i-- - dAtA[i] = 0x22 + if m.Metrics != nil { + { + size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x32 } - if len(m.Resources) > 0 { - for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Resources[iNdEx]) - copy(dAtA[i:], m.Resources[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Resources[iNdEx]))) + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x2a } } - if len(m.ApiGroups) > 0 { - for iNdEx := len(m.ApiGroups) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ApiGroups[iNdEx]) - copy(dAtA[i:], m.ApiGroups[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroups[iNdEx]))) - i-- - dAtA[i] = 0x12 + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + i-- + dAtA[i] = 0x22 + } + if m.Status != nil { + { + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if len(m.Verbs) > 0 { - for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Verbs[iNdEx]) - copy(dAtA[i:], m.Verbs[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Verbs[iNdEx]))) - i-- - dAtA[i] = 0xa + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Subject) Marshal() (dAtA []byte, err error) { +func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24078,48 +24197,79 @@ func (m *Subject) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Subject) MarshalTo(dAtA []byte) (int, error) { +func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Subject) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) + if len(m.ResourceRequirements) > 0 { + for iNdEx := len(m.ResourceRequirements) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ResourceRequirements[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } + if m.Partition != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) + i-- + dAtA[i] = 0x30 + } + if len(m.UpdateStrategy) > 0 { + i -= len(m.UpdateStrategy) + copy(dAtA[i:], m.UpdateStrategy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.UpdateStrategy))) + i-- + dAtA[i] = 0x2a + } + if len(m.PodManagementPolicy) > 0 { + i -= len(m.PodManagementPolicy) + copy(dAtA[i:], m.PodManagementPolicy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PodManagementPolicy))) i-- dAtA[i] = 0x22 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if len(m.ServiceName) > 0 { + i -= len(m.ServiceName) + copy(dAtA[i:], m.ServiceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) i-- dAtA[i] = 0x1a } - if len(m.ApiGroup) > 0 { - i -= len(m.ApiGroup) - copy(dAtA[i:], m.ApiGroup) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroup))) - i-- - dAtA[i] = 0x12 + if len(m.Selectors) > 0 { + for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) + if m.DesiredReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.DesiredReplicas)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Role) Marshal() (dAtA []byte, err error) { +func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24129,62 +24279,40 @@ func (m *Role) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Role) MarshalTo(dAtA []byte) (int, error) { +func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StatefulSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x22 - } + if m.UpdatedReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.UpdatedReplicas)) + i-- + dAtA[i] = 0x20 } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + if m.CurrentReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CurrentReplicas)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.Rules) > 0 { - for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + if m.ReadyReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ReadyReplicas)) + i-- + dAtA[i] = 0x10 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Replicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Replicas)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *RoleBinding) Marshal() (dAtA []byte, err error) { +func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24194,74 +24322,53 @@ func (m *RoleBinding) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RoleBinding) MarshalTo(dAtA []byte) (int, error) { +func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x2a - } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x2a } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) i-- dAtA[i] = 0x22 } - if m.RoleRef != nil { - { - size, err := m.RoleRef.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(m.Subjects) > 0 { - for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x12 } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ClusterRole) Marshal() (dAtA []byte, err error) { +func (m *StatefulSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24271,16 +24378,30 @@ func (m *ClusterRole) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ClusterRole) MarshalTo(dAtA []byte) (int, error) { +func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } if m.Metrics != nil { { size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) @@ -24309,33 +24430,29 @@ func (m *ClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if len(m.AggregationRules) > 0 { - for iNdEx := len(m.AggregationRules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.AggregationRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Status != nil { + { + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x1a + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if len(m.Rules) > 0 { - for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } if m.Metadata != nil { { @@ -24352,7 +24469,7 @@ func (m *ClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ClusterRoleBinding) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolume) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24362,12 +24479,12 @@ func (m *ClusterRoleBinding) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolume) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -24388,9 +24505,9 @@ func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if m.RoleRef != nil { + if m.Status != nil { { - size, err := m.RoleRef.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -24400,19 +24517,17 @@ func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.Subjects) > 0 { - for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } if m.Metadata != nil { { @@ -24429,7 +24544,7 @@ func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ServiceAccount) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24439,46 +24554,32 @@ func (m *ServiceAccount) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolumeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { - for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Tags[iNdEx]) - copy(dAtA[i:], m.Tags[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if len(m.Yaml) > 0 { - i -= len(m.Yaml) - copy(dAtA[i:], m.Yaml) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) - i-- - dAtA[i] = 0x2a - } - if m.AutomountServiceAccountToken { - i-- - if m.AutomountServiceAccountToken { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.PersistentVolumeSource != nil { + { + size, err := m.PersistentVolumeSource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x20 + dAtA[i] = 0x52 } - if len(m.ImagePullSecrets) > 0 { - for iNdEx := len(m.ImagePullSecrets) - 1; iNdEx >= 0; iNdEx-- { + if len(m.NodeAffinity) > 0 { + for iNdEx := len(m.NodeAffinity) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.ImagePullSecrets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.NodeAffinity[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -24486,26 +24587,42 @@ func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x4a } } - if len(m.Secrets) > 0 { - for iNdEx := len(m.Secrets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Secrets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.VolumeMode) > 0 { + i -= len(m.VolumeMode) + copy(dAtA[i:], m.VolumeMode) + i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeMode))) + i-- + dAtA[i] = 0x42 + } + if len(m.MountOptions) > 0 { + for iNdEx := len(m.MountOptions) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.MountOptions[iNdEx]) + copy(dAtA[i:], m.MountOptions[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.MountOptions[iNdEx]))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x3a } } - if m.Metadata != nil { + if len(m.StorageClassName) > 0 { + i -= len(m.StorageClassName) + copy(dAtA[i:], m.StorageClassName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.StorageClassName))) + i-- + dAtA[i] = 0x32 + } + if len(m.PersistentVolumeReclaimPolicy) > 0 { + i -= len(m.PersistentVolumeReclaimPolicy) + copy(dAtA[i:], m.PersistentVolumeReclaimPolicy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PersistentVolumeReclaimPolicy))) + i-- + dAtA[i] = 0x2a + } + if m.ClaimRef != nil { { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ClaimRef.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -24513,54 +24630,45 @@ func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x22 } - return len(dAtA) - i, nil -} - -func (m *IngressServiceBackend) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.AccessModes) > 0 { + for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AccessModes[iNdEx]) + copy(dAtA[i:], m.AccessModes[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) + i-- + dAtA[i] = 0x1a + } } - return dAtA[:n], nil -} - -func (m *IngressServiceBackend) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IngressServiceBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PortNumber != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PortNumber)) - i-- - dAtA[i] = 0x18 - } - if len(m.PortName) > 0 { - i -= len(m.PortName) - copy(dAtA[i:], m.PortName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PortName))) + if len(m.PersistentVolumeType) > 0 { + i -= len(m.PersistentVolumeType) + copy(dAtA[i:], m.PersistentVolumeType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PersistentVolumeType))) i-- dAtA[i] = 0x12 } - if len(m.ServiceName) > 0 { - i -= len(m.ServiceName) - copy(dAtA[i:], m.ServiceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) - i-- - dAtA[i] = 0xa + if len(m.Capacity) > 0 { + for k := range m.Capacity { + v := m.Capacity[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *IngressBackend) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24570,19 +24678,55 @@ func (m *IngressBackend) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Resource != nil { + if m.Csi != nil { { - size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Csi.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.AzureDisk != nil { + { + size, err := m.AzureDisk.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.AzureFile != nil { + { + size, err := m.AzureFile.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.AwsElasticBlockStore != nil { + { + size, err := m.AwsElasticBlockStore.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -24592,9 +24736,9 @@ func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Service != nil { + if m.GcePersistentDisk != nil { { - size, err := m.Service.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GcePersistentDisk.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -24607,7 +24751,7 @@ func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *IngressTLS) Marshal() (dAtA []byte, err error) { +func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24617,36 +24761,49 @@ func (m *IngressTLS) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) { +func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GCEPersistentDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.SecretName) > 0 { - i -= len(m.SecretName) - copy(dAtA[i:], m.SecretName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretName))) + if m.ReadOnly { + i-- + if m.ReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.Partition != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) + i-- + dAtA[i] = 0x18 + } + if len(m.FsType) > 0 { + i -= len(m.FsType) + copy(dAtA[i:], m.FsType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) i-- dAtA[i] = 0x12 } - if len(m.Hosts) > 0 { - for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Hosts[iNdEx]) - copy(dAtA[i:], m.Hosts[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Hosts[iNdEx]))) - i-- - dAtA[i] = 0xa - } + if len(m.PdName) > 0 { + i -= len(m.PdName) + copy(dAtA[i:], m.PdName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PdName))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) { +func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24656,46 +24813,49 @@ func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) { +func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AWSElasticBlockStoreVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.PathType) > 0 { - i -= len(m.PathType) - copy(dAtA[i:], m.PathType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PathType))) + if m.ReadOnly { i-- - dAtA[i] = 0x1a - } - if m.Backend != nil { - { - size, err := m.Backend.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.ReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- + dAtA[i] = 0x20 + } + if m.Partition != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Partition)) + i-- + dAtA[i] = 0x18 + } + if len(m.FsType) > 0 { + i -= len(m.FsType) + copy(dAtA[i:], m.FsType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) + i-- dAtA[i] = 0x12 } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Path))) + if len(m.VolumeID) > 0 { + i -= len(m.VolumeID) + copy(dAtA[i:], m.VolumeID) + i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeID))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *IngressRule) Marshal() (dAtA []byte, err error) { +func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24705,41 +24865,51 @@ func (m *IngressRule) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) { +func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AzureFilePersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.HttpPaths) > 0 { - for iNdEx := len(m.HttpPaths) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.HttpPaths[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + if len(m.SecretNamespace) > 0 { + i -= len(m.SecretNamespace) + copy(dAtA[i:], m.SecretNamespace) + i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretNamespace))) + i-- + dAtA[i] = 0x22 + } + if m.ReadOnly { + i-- + if m.ReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x18 } - if len(m.Host) > 0 { - i -= len(m.Host) - copy(dAtA[i:], m.Host) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Host))) + if len(m.ShareName) > 0 { + i -= len(m.ShareName) + copy(dAtA[i:], m.ShareName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ShareName))) + i-- + dAtA[i] = 0x12 + } + if len(m.SecretName) > 0 { + i -= len(m.SecretName) + copy(dAtA[i:], m.SecretName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *IngressSpec) Marshal() (dAtA []byte, err error) { +func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24749,67 +24919,65 @@ func (m *IngressSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AzureDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.IngressClassName) > 0 { - i -= len(m.IngressClassName) - copy(dAtA[i:], m.IngressClassName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.IngressClassName))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x32 } - if len(m.Rules) > 0 { - for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a + if m.ReadOnly { + i-- + if m.ReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x28 } - if len(m.Tls) > 0 { - for iNdEx := len(m.Tls) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Tls[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + if len(m.FsType) > 0 { + i -= len(m.FsType) + copy(dAtA[i:], m.FsType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) + i-- + dAtA[i] = 0x22 } - if m.DefaultBackend != nil { - { - size, err := m.DefaultBackend.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.CachingMode) > 0 { + i -= len(m.CachingMode) + copy(dAtA[i:], m.CachingMode) + i = encodeVarintAgent(dAtA, i, uint64(len(m.CachingMode))) + i-- + dAtA[i] = 0x1a + } + if len(m.DiskURI) > 0 { + i -= len(m.DiskURI) + copy(dAtA[i:], m.DiskURI) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DiskURI))) + i-- + dAtA[i] = 0x12 + } + if len(m.DiskName) > 0 { + i -= len(m.DiskName) + copy(dAtA[i:], m.DiskName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.DiskName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PortStatus) Marshal() (dAtA []byte, err error) { +func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24819,39 +24987,130 @@ func (m *PortStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PortStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *CSIVolumeSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PortStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CSIVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Error) > 0 { - i -= len(m.Error) - copy(dAtA[i:], m.Error) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Error))) + if m.NodeExpandSecretRef != nil { + { + size, err := m.NodeExpandSecretRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x52 } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) + if m.ControllerExpandSecretRef != nil { + { + size, err := m.ControllerExpandSecretRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.NodePublishSecretRef != nil { + { + size, err := m.NodePublishSecretRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.NodeStageSecretRef != nil { + { + size, err := m.NodeStageSecretRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.ControllerPublishSecretRef != nil { + { + size, err := m.ControllerPublishSecretRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if len(m.VolumeAttributes) > 0 { + for k := range m.VolumeAttributes { + v := m.VolumeAttributes[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintAgent(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.FsType) > 0 { + i -= len(m.FsType) + copy(dAtA[i:], m.FsType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.FsType))) + i-- + dAtA[i] = 0x22 + } + if m.ReadOnly { + i-- + if m.ReadOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.VolumeHandle) > 0 { + i -= len(m.VolumeHandle) + copy(dAtA[i:], m.VolumeHandle) + i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeHandle))) i-- dAtA[i] = 0x12 } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) + if len(m.Driver) > 0 { + i -= len(m.Driver) + copy(dAtA[i:], m.Driver) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Driver))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error) { +func (m *SecretReference) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24861,48 +25120,34 @@ func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error) { +func (m *SecretReference) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LoadBalancerIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SecretReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.Hostname) > 0 { - i -= len(m.Hostname) - copy(dAtA[i:], m.Hostname) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Hostname))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if len(m.Ip) > 0 { - i -= len(m.Ip) - copy(dAtA[i:], m.Ip) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Ip))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *IngressStatus) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24912,34 +25157,41 @@ func (m *IngressStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolumeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Ingress) > 0 { - for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x1a + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + if len(m.Phase) > 0 { + i -= len(m.Phase) + copy(dAtA[i:], m.Phase) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Ingress) Marshal() (dAtA []byte, err error) { +func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -24949,17 +25201,68 @@ func (m *Ingress) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Ingress) MarshalTo(dAtA []byte) (int, error) { +func (m *NodeSelectorTerm) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NodeSelectorTerm) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Tags) > 0 { + if len(m.MatchFields) > 0 { + for iNdEx := len(m.MatchFields) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MatchFields[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.MatchExpressions) > 0 { + for iNdEx := len(m.MatchExpressions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MatchExpressions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) copy(dAtA[i:], m.Tags[iNdEx]) @@ -25014,7 +25317,7 @@ func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *KafkaRequestHeader) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25024,30 +25327,67 @@ func (m *KafkaRequestHeader) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KafkaRequestHeader) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KafkaRequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolumeClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.RequestVersion != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RequestVersion)) - i-- - dAtA[i] = 0x10 + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } } - if m.RequestType != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.RequestType)) + if len(m.Capacity) > 0 { + for k := range m.Capacity { + v := m.Capacity[k] + baseI := i + i = encodeVarintAgent(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.AccessModes) > 0 { + for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AccessModes[iNdEx]) + copy(dAtA[i:], m.AccessModes[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Phase) > 0 { + i -= len(m.Phase) + copy(dAtA[i:], m.Phase) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Phase))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *KafkaAggregation) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25057,31 +25397,66 @@ func (m *KafkaAggregation) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KafkaAggregation) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KafkaAggregation) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolumeClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) + if m.DataSource != nil { + { + size, err := m.DataSource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x18 + dAtA[i] = 0x3a } - if len(m.Topic) > 0 { - i -= len(m.Topic) - copy(dAtA[i:], m.Topic) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Topic))) + if len(m.VolumeMode) > 0 { + i -= len(m.VolumeMode) + copy(dAtA[i:], m.VolumeMode) + i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeMode))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x32 } - if m.Header != nil { + if len(m.StorageClassName) > 0 { + i -= len(m.StorageClassName) + copy(dAtA[i:], m.StorageClassName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.StorageClassName))) + i-- + dAtA[i] = 0x2a + } + if len(m.Selector) > 0 { + for iNdEx := len(m.Selector) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Selector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.VolumeName) > 0 { + i -= len(m.VolumeName) + copy(dAtA[i:], m.VolumeName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.VolumeName))) + i-- + dAtA[i] = 0x1a + } + if m.Resources != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25089,12 +25464,21 @@ func (m *KafkaAggregation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(m.AccessModes) > 0 { + for iNdEx := len(m.AccessModes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AccessModes[iNdEx]) + copy(dAtA[i:], m.AccessModes[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.AccessModes[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *DataStreamsAggregations) Marshal() (dAtA []byte, err error) { +func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25104,58 +25488,41 @@ func (m *DataStreamsAggregations) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DataStreamsAggregations) MarshalTo(dAtA []byte) (int, error) { +func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DataStreamsAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TypedLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.KafkaAggregations) > 0 { - for iNdEx := len(m.KafkaAggregations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.KafkaAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a } - if m.KafkaFetchAggregations != nil { - { - size, err := m.KafkaFetchAggregations.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x12 } - if m.KafkaProduceAggregations != nil { - { - size, err := m.KafkaProduceAggregations.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.ApiGroup) > 0 { + i -= len(m.ApiGroup) + copy(dAtA[i:], m.ApiGroup) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroup))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *DataStreamsAggregations_TopicStats) Marshal() (dAtA []byte, err error) { +func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25165,32 +25532,58 @@ func (m *DataStreamsAggregations_TopicStats) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *DataStreamsAggregations_TopicStats) MarshalTo(dAtA []byte) (int, error) { +func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DataStreamsAggregations_TopicStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PersistentVolumeClaimCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x32 } - if len(m.Topic) > 0 { - i -= len(m.Topic) - copy(dAtA[i:], m.Topic) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Topic))) + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x2a + } + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + i-- + dAtA[i] = 0x20 + } + if m.LastProbeTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastProbeTime)) + i-- + dAtA[i] = 0x18 + } + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x12 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *DataStreamsAggregations_KafkaProduceAggregations) Marshal() (dAtA []byte, err error) { +func (m *PolicyRule) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25200,26 +25593,57 @@ func (m *DataStreamsAggregations_KafkaProduceAggregations) Marshal() (dAtA []byt return dAtA[:n], nil } -func (m *DataStreamsAggregations_KafkaProduceAggregations) MarshalTo(dAtA []byte) (int, error) { +func (m *PolicyRule) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DataStreamsAggregations_KafkaProduceAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Stats) > 0 { - for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.NonResourceURLs) > 0 { + for iNdEx := len(m.NonResourceURLs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.NonResourceURLs[iNdEx]) + copy(dAtA[i:], m.NonResourceURLs[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.NonResourceURLs[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.ResourceNames) > 0 { + for iNdEx := len(m.ResourceNames) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ResourceNames[iNdEx]) + copy(dAtA[i:], m.ResourceNames[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceNames[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Resources) > 0 { + for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Resources[iNdEx]) + copy(dAtA[i:], m.Resources[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Resources[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ApiGroups) > 0 { + for iNdEx := len(m.ApiGroups) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ApiGroups[iNdEx]) + copy(dAtA[i:], m.ApiGroups[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroups[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Verbs) > 0 { + for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Verbs[iNdEx]) + copy(dAtA[i:], m.Verbs[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Verbs[iNdEx]))) i-- dAtA[i] = 0xa } @@ -25227,7 +25651,7 @@ func (m *DataStreamsAggregations_KafkaProduceAggregations) MarshalToSizedBuffer( return len(dAtA) - i, nil } -func (m *DataStreamsAggregations_KafkaFetchAggregations) Marshal() (dAtA []byte, err error) { +func (m *Subject) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25237,34 +25661,48 @@ func (m *DataStreamsAggregations_KafkaFetchAggregations) Marshal() (dAtA []byte, return dAtA[:n], nil } -func (m *DataStreamsAggregations_KafkaFetchAggregations) MarshalTo(dAtA []byte) (int, error) { +func (m *Subject) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DataStreamsAggregations_KafkaFetchAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Subject) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Stats) > 0 { - for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Namespace))) + i-- + dAtA[i] = 0x22 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if len(m.ApiGroup) > 0 { + i -= len(m.ApiGroup) + copy(dAtA[i:], m.ApiGroup) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ApiGroup))) + i-- + dAtA[i] = 0x12 + } + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HTTPAggregations) Marshal() (dAtA []byte, err error) { +func (m *Role) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25274,20 +25712,36 @@ func (m *HTTPAggregations) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HTTPAggregations) MarshalTo(dAtA []byte) (int, error) { +func (m *Role) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HTTPAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EndpointAggregations) > 0 { - for iNdEx := len(m.EndpointAggregations) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + i-- + dAtA[i] = 0x1a + } + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.EndpointAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25298,10 +25752,22 @@ func (m *HTTPAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *HTTP2Aggregations) Marshal() (dAtA []byte, err error) { +func (m *RoleBinding) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25311,20 +25777,48 @@ func (m *HTTP2Aggregations) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HTTP2Aggregations) MarshalTo(dAtA []byte) (int, error) { +func (m *RoleBinding) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HTTP2Aggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EndpointAggregations) > 0 { - for iNdEx := len(m.EndpointAggregations) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + i-- + dAtA[i] = 0x22 + } + if m.RoleRef != nil { + { + size, err := m.RoleRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Subjects) > 0 { + for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.EndpointAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25332,13 +25826,25 @@ func (m *HTTP2Aggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + } + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HTTPStats) Marshal() (dAtA []byte, err error) { +func (m *ClusterRole) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25348,66 +25854,62 @@ func (m *HTTPStats) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HTTPStats) MarshalTo(dAtA []byte) (int, error) { +func (m *ClusterRole) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HTTPStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ClusterRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.FullPath { - i-- - if m.FullPath { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.Metrics != nil { + { + size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x30 + dAtA[i] = 0x32 } - if m.Method != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Method)) - i-- - dAtA[i] = 0x28 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x2a + } } - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Path))) + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- dAtA[i] = 0x22 } - if len(m.StatsByStatusCode) > 0 { - for k := range m.StatsByStatusCode { - v := m.StatsByStatusCode[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if len(m.AggregationRules) > 0 { + for iNdEx := len(m.AggregationRules) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AggregationRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i = encodeVarintAgent(dAtA, i, uint64(k)) i-- - dAtA[i] = 0x8 - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } } - if len(m.StatsByResponseStatus) > 0 { - for iNdEx := len(m.StatsByResponseStatus) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.StatsByResponseStatus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25415,13 +25917,25 @@ func (m *HTTPStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + } + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HTTPStats_Data) Marshal() (dAtA []byte, err error) { +func (m *ClusterRoleBinding) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25431,109 +25945,74 @@ func (m *HTTPStats_Data) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HTTPStats_Data) MarshalTo(dAtA []byte) (int, error) { +func (m *ClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HTTPStats_Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.FirstLatencySample != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FirstLatencySample)))) - i-- - dAtA[i] = 0x21 + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x2a + } } - if len(m.Latencies) > 0 { - i -= len(m.Latencies) - copy(dAtA[i:], m.Latencies) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Latencies))) + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } - if m.Count != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Count)) + if m.RoleRef != nil { + { + size, err := m.RoleRef.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DNSDatabaseEntry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + dAtA[i] = 0x1a } - return dAtA[:n], nil -} - -func (m *DNSDatabaseEntry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DNSDatabaseEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NameOffsets) > 0 { - for iNdEx := len(m.NameOffsets) - 1; iNdEx >= 0; iNdEx-- { - i = encodeVarintAgent(dAtA, i, uint64(m.NameOffsets[iNdEx])) + if len(m.Subjects) > 0 { + for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0x12 } } - return len(dAtA) - i, nil -} - -func (m *ResourceList) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResourceList) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MetricValues) > 0 { - for k := range m.MetricValues { - v := m.MetricValues[k] - baseI := i - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) - i-- - dAtA[i] = 0x11 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintAgent(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { +func (m *ServiceAccount) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25543,37 +26022,23 @@ func (m *VerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VerticalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { +func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *VerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x32 } } if len(m.Yaml) > 0 { @@ -25581,31 +26046,45 @@ func (m *VerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Yaml) i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x2a } - if m.Status != nil { - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.AutomountServiceAccountToken { + i-- + if m.AutomountServiceAccountToken { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x20 } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.ImagePullSecrets) > 0 { + for iNdEx := len(m.ImagePullSecrets) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ImagePullSecrets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + } + if len(m.Secrets) > 0 { + for iNdEx := len(m.Secrets) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Secrets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x12 } if m.Metadata != nil { { @@ -25622,7 +26101,7 @@ func (m *VerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *VerticalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { +func (m *IngressServiceBackend) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25632,53 +26111,39 @@ func (m *VerticalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VerticalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *IngressServiceBackend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *VerticalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IngressServiceBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x2a - } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x22 - } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + if m.PortNumber != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.PortNumber)) i-- dAtA[i] = 0x18 } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) + if len(m.PortName) > 0 { + i -= len(m.PortName) + copy(dAtA[i:], m.PortName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PortName))) i-- dAtA[i] = 0x12 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if len(m.ServiceName) > 0 { + i -= len(m.ServiceName) + copy(dAtA[i:], m.ServiceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ServiceName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VerticalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { +func (m *IngressBackend) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25688,40 +26153,31 @@ func (m *VerticalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VerticalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *VerticalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ResourcePolicies) > 0 { - for iNdEx := len(m.ResourcePolicies) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ResourcePolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Resource != nil { + { + size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x1a + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - } - if len(m.UpdateMode) > 0 { - i -= len(m.UpdateMode) - copy(dAtA[i:], m.UpdateMode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.UpdateMode))) i-- dAtA[i] = 0x12 } - if m.Target != nil { + if m.Service != nil { { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Service.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25734,7 +26190,7 @@ func (m *VerticalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *VerticalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { +func (m *IngressTLS) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25744,34 +26200,36 @@ func (m *VerticalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VerticalPodAutoscalerTarget) MarshalTo(dAtA []byte) (int, error) { +func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *VerticalPodAutoscalerTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + if len(m.SecretName) > 0 { + i -= len(m.SecretName) + copy(dAtA[i:], m.SecretName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.SecretName))) i-- dAtA[i] = 0x12 } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0xa + if len(m.Hosts) > 0 { + for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Hosts[iNdEx]) + copy(dAtA[i:], m.Hosts[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Hosts[iNdEx]))) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *ContainerResourcePolicy) Marshal() (dAtA []byte, err error) { +func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25781,47 +26239,26 @@ func (m *ContainerResourcePolicy) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerResourcePolicy) MarshalTo(dAtA []byte) (int, error) { +func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ControlledValues) > 0 { - i -= len(m.ControlledValues) - copy(dAtA[i:], m.ControlledValues) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ControlledValues))) - i-- - dAtA[i] = 0x32 - } - if len(m.ControlledResource) > 0 { - for iNdEx := len(m.ControlledResource) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ControlledResource[iNdEx]) - copy(dAtA[i:], m.ControlledResource[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ControlledResource[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if m.MaxAllowed != nil { - { - size, err := m.MaxAllowed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.PathType) > 0 { + i -= len(m.PathType) + copy(dAtA[i:], m.PathType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PathType))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } - if m.MinAllowed != nil { + if m.Backend != nil { { - size, err := m.MinAllowed.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Backend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25829,26 +26266,19 @@ func (m *ContainerResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - if len(m.Mode) > 0 { - i -= len(m.Mode) - copy(dAtA[i:], m.Mode) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Mode))) - i-- dAtA[i] = 0x12 } - if len(m.ContainerName) > 0 { - i -= len(m.ContainerName) - copy(dAtA[i:], m.ContainerName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerName))) + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Path))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VerticalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { +func (m *IngressRule) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25858,34 +26288,20 @@ func (m *VerticalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VerticalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *VerticalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Recommendations) > 0 { - for iNdEx := len(m.Recommendations) - 1; iNdEx >= 0; iNdEx-- { + if len(m.HttpPaths) > 0 { + for iNdEx := len(m.HttpPaths) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Recommendations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.HttpPaths[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25896,15 +26312,17 @@ func (m *VerticalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, er dAtA[i] = 0x12 } } - if m.LastRecommendedDate != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastRecommendedDate)) + if len(m.Host) > 0 { + i -= len(m.Host) + copy(dAtA[i:], m.Host) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Host))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ContainerRecommendation) Marshal() (dAtA []byte, err error) { +func (m *IngressSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25914,55 +26332,54 @@ func (m *ContainerRecommendation) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerRecommendation) MarshalTo(dAtA []byte) (int, error) { +func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerRecommendation) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.UncappedTarget != nil { - { - size, err := m.UncappedTarget.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.IngressClassName) > 0 { + i -= len(m.IngressClassName) + copy(dAtA[i:], m.IngressClassName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.IngressClassName))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } - if m.UpperBound != nil { - { - size, err := m.UpperBound.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a } - i-- - dAtA[i] = 0x22 } - if m.LowerBound != nil { - { - size, err := m.LowerBound.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Tls) > 0 { + for iNdEx := len(m.Tls) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Tls[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x1a } - if m.Target != nil { + if m.DefaultBackend != nil { { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DefaultBackend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -25970,19 +26387,12 @@ func (m *ContainerRecommendation) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.ContainerName) > 0 { - i -= len(m.ContainerName) - copy(dAtA[i:], m.ContainerName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerName))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *VPACondition) Marshal() (dAtA []byte, err error) { +func (m *PortStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -25992,53 +26402,90 @@ func (m *VPACondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *VPACondition) MarshalTo(dAtA []byte) (int, error) { +func (m *PortStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *VPACondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PortStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + if len(m.Error) > 0 { + i -= len(m.Error) + copy(dAtA[i:], m.Error) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Error))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1a } - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + if len(m.Protocol) > 0 { + i -= len(m.Protocol) + copy(dAtA[i:], m.Protocol) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x12 } - if m.LastTransitionTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + if m.Port != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Port)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x8 } - if len(m.ConditionStatus) > 0 { - i -= len(m.ConditionStatus) - copy(dAtA[i:], m.ConditionStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionStatus))) + return len(dAtA) - i, nil +} + +func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LoadBalancerIngress) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Ports) > 0 { + for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.Hostname) > 0 { + i -= len(m.Hostname) + copy(dAtA[i:], m.Hostname) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Hostname))) i-- dAtA[i] = 0x12 } - if len(m.ConditionType) > 0 { - i -= len(m.ConditionType) - copy(dAtA[i:], m.ConditionType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionType))) + if len(m.Ip) > 0 { + i -= len(m.Ip) + copy(dAtA[i:], m.Ip) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Ip))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { +func (m *IngressStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26048,20 +26495,20 @@ func (m *HorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { +func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Conditions) > 0 { - for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Ingress) > 0 { + for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26069,9 +26516,32 @@ func (m *HorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0xa } } + return len(dAtA) - i, nil +} + +func (m *Ingress) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Ingress) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) @@ -26127,7 +26597,7 @@ func (m *HorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *HorizontalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { +func (m *KafkaRequestHeader) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26137,105 +26607,30 @@ func (m *HorizontalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HorizontalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *KafkaRequestHeader) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KafkaRequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Behavior != nil { - { - size, err := m.Behavior.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.Metrics) > 0 { - for iNdEx := len(m.Metrics) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Metrics[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.MaxReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MaxReplicas)) - i-- - dAtA[i] = 0x18 - } - if m.MinReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.MinReplicas)) + if m.RequestVersion != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.RequestVersion)) i-- dAtA[i] = 0x10 } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HorizontalPodAutoscalerTarget) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HorizontalPodAutoscalerTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) + if m.RequestType != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.RequestType)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *HorizontalPodAutoscalerMetricSpec) Marshal() (dAtA []byte, err error) { +func (m *KafkaAggregation) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26245,67 +26640,31 @@ func (m *HorizontalPodAutoscalerMetricSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HorizontalPodAutoscalerMetricSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *KafkaAggregation) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscalerMetricSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KafkaAggregation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.External != nil { - { - size, err := m.External.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.ContainerResource != nil { - { - size, err := m.ContainerResource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Resource != nil { - { - size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Count != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Count)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x18 } - if m.Pods != nil { - { - size, err := m.Pods.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Topic) > 0 { + i -= len(m.Topic) + copy(dAtA[i:], m.Topic) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Topic))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } - if m.Object != nil { + if m.Header != nil { { - size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26313,19 +26672,12 @@ func (m *HorizontalPodAutoscalerMetricSpec) MarshalToSizedBuffer(dAtA []byte) (i i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ObjectMetricSource) Marshal() (dAtA []byte, err error) { +func (m *DataStreamsAggregations) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26335,31 +26687,33 @@ func (m *ObjectMetricSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ObjectMetricSource) MarshalTo(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ObjectMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.KafkaAggregations) > 0 { + for iNdEx := len(m.KafkaAggregations) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.KafkaAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a } - i-- - dAtA[i] = 0x1a } - if m.Target != nil { + if m.KafkaFetchAggregations != nil { { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.KafkaFetchAggregations.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26369,9 +26723,9 @@ func (m *ObjectMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.DescribedObject != nil { + if m.KafkaProduceAggregations != nil { { - size, err := m.DescribedObject.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.KafkaProduceAggregations.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26384,7 +26738,7 @@ func (m *ObjectMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MetricTarget) Marshal() (dAtA []byte, err error) { +func (m *DataStreamsAggregations_TopicStats) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26394,32 +26748,32 @@ func (m *MetricTarget) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MetricTarget) MarshalTo(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations_TopicStats) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MetricTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations_TopicStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Value != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Value)) + if m.Count != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Count)) i-- dAtA[i] = 0x10 } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + if len(m.Topic) > 0 { + i -= len(m.Topic) + copy(dAtA[i:], m.Topic) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Topic))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *MetricIdentifier) Marshal() (dAtA []byte, err error) { +func (m *DataStreamsAggregations_KafkaProduceAggregations) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26429,20 +26783,20 @@ func (m *MetricIdentifier) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MetricIdentifier) MarshalTo(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations_KafkaProduceAggregations) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MetricIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations_KafkaProduceAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.LabelSelector) > 0 { - for iNdEx := len(m.LabelSelector) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Stats) > 0 { + for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.LabelSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26450,20 +26804,13 @@ func (m *MetricIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *PodsMetricSource) Marshal() (dAtA []byte, err error) { +func (m *DataStreamsAggregations_KafkaFetchAggregations) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26473,44 +26820,34 @@ func (m *PodsMetricSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PodsMetricSource) MarshalTo(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations_KafkaFetchAggregations) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PodsMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DataStreamsAggregations_KafkaFetchAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Stats) > 0 { + for iNdEx := len(m.Stats) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Stats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ResourceMetricSource) Marshal() (dAtA []byte, err error) { +func (m *HTTPAggregations) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26520,39 +26857,34 @@ func (m *ResourceMetricSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResourceMetricSource) MarshalTo(dAtA []byte) (int, error) { +func (m *HTTPAggregations) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HTTPAggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.EndpointAggregations) > 0 { + for iNdEx := len(m.EndpointAggregations) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.EndpointAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x12 - } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) { +func (m *HTTP2Aggregations) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26562,46 +26894,34 @@ func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerResourceMetricSource) MarshalTo(dAtA []byte) (int, error) { +func (m *HTTP2Aggregations) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HTTP2Aggregations) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Container) > 0 { - i -= len(m.Container) - copy(dAtA[i:], m.Container) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Container))) - i-- - dAtA[i] = 0x1a - } - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.EndpointAggregations) > 0 { + for iNdEx := len(m.EndpointAggregations) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.EndpointAggregations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0x12 - } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ExternalMetricSource) Marshal() (dAtA []byte, err error) { +func (m *HTTPStats) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26611,44 +26931,80 @@ func (m *ExternalMetricSource) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ExternalMetricSource) MarshalTo(dAtA []byte) (int, error) { +func (m *HTTPStats) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ExternalMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HTTPStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Target != nil { - { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.FullPath { + i-- + if m.FullPath { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x30 } - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Method != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Method)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x28 } - return len(dAtA) - i, nil -} - -func (m *HorizontalPodAutoscalerBehavior) Marshal() (dAtA []byte, err error) { + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0x22 + } + if len(m.StatsByStatusCode) > 0 { + for k := range m.StatsByStatusCode { + v := m.StatsByStatusCode[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i = encodeVarintAgent(dAtA, i, uint64(k)) + i-- + dAtA[i] = 0x8 + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.StatsByResponseStatus) > 0 { + for iNdEx := len(m.StatsByResponseStatus) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.StatsByResponseStatus[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *HTTPStats_Data) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26658,44 +27014,38 @@ func (m *HorizontalPodAutoscalerBehavior) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HorizontalPodAutoscalerBehavior) MarshalTo(dAtA []byte) (int, error) { +func (m *HTTPStats_Data) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscalerBehavior) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HTTPStats_Data) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ScaleDown != nil { - { - size, err := m.ScaleDown.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.FirstLatencySample != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.FirstLatencySample)))) + i-- + dAtA[i] = 0x21 + } + if len(m.Latencies) > 0 { + i -= len(m.Latencies) + copy(dAtA[i:], m.Latencies) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Latencies))) i-- dAtA[i] = 0x12 } - if m.ScaleUp != nil { - { - size, err := m.ScaleUp.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Count != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Count)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *HPAScalingRules) Marshal() (dAtA []byte, err error) { +func (m *DNSDatabaseEntry) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26705,46 +27055,27 @@ func (m *HPAScalingRules) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HPAScalingRules) MarshalTo(dAtA []byte) (int, error) { +func (m *DNSDatabaseEntry) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HPAScalingRules) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DNSDatabaseEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Policies) > 0 { - for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Policies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.NameOffsets) > 0 { + for iNdEx := len(m.NameOffsets) - 1; iNdEx >= 0; iNdEx-- { + i = encodeVarintAgent(dAtA, i, uint64(m.NameOffsets[iNdEx])) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x8 } } - if len(m.SelectPolicy) > 0 { - i -= len(m.SelectPolicy) - copy(dAtA[i:], m.SelectPolicy) - i = encodeVarintAgent(dAtA, i, uint64(len(m.SelectPolicy))) - i-- - dAtA[i] = 0x12 - } - if m.StabilizationWindowSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.StabilizationWindowSeconds)) - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *HPAScalingPolicy) Marshal() (dAtA []byte, err error) { +func (m *ResourceList) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26754,37 +27085,38 @@ func (m *HPAScalingPolicy) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HPAScalingPolicy) MarshalTo(dAtA []byte) (int, error) { +func (m *ResourceList) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HPAScalingPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PeriodSeconds != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.PeriodSeconds)) - i-- - dAtA[i] = 0x18 - } - if m.Value != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Value)) - i-- - dAtA[i] = 0x10 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa + if len(m.MetricValues) > 0 { + for k := range m.MetricValues { + v := m.MetricValues[k] + baseI := i + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v)))) + i-- + dAtA[i] = 0x11 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintAgent(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintAgent(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *HorizontalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { +func (m *VerticalPodAutoscaler) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26794,20 +27126,20 @@ func (m *HorizontalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HorizontalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.CurrentMetrics) > 0 { - for iNdEx := len(m.CurrentMetrics) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.CurrentMetrics[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26815,33 +27147,65 @@ func (m *HorizontalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x32 + } + } + if len(m.Tags) > 0 { + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- dAtA[i] = 0x2a } } - if m.DesiredReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.DesiredReplicas)) + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } - if m.CurrentReplicas != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.CurrentReplicas)) + if m.Status != nil { + { + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.LastScaleTime != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.LastScaleTime)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.ObservedGeneration != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.ObservedGeneration)) + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HorizontalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { +func (m *VerticalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26851,12 +27215,12 @@ func (m *HorizontalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *HorizontalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -26880,24 +27244,24 @@ func (m *HorizontalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (in i-- dAtA[i] = 0x18 } - if len(m.ConditionStatus) > 0 { - i -= len(m.ConditionStatus) - copy(dAtA[i:], m.ConditionStatus) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionStatus))) + if len(m.Status) > 0 { + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Status))) i-- dAtA[i] = 0x12 } - if len(m.ConditionType) > 0 { - i -= len(m.ConditionType) - copy(dAtA[i:], m.ConditionType) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionType))) + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *HorizontalPodAutoscalerMetricStatus) Marshal() (dAtA []byte, err error) { +func (m *VerticalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26907,67 +27271,40 @@ func (m *HorizontalPodAutoscalerMetricStatus) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *HorizontalPodAutoscalerMetricStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *HorizontalPodAutoscalerMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.External != nil { - { - size, err := m.External.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.ContainerResource != nil { - { - size, err := m.ContainerResource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Resource != nil { - { - size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.ResourcePolicies) > 0 { + for iNdEx := len(m.ResourcePolicies) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ResourcePolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a } - i-- - dAtA[i] = 0x22 } - if m.Pods != nil { - { - size, err := m.Pods.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.UpdateMode) > 0 { + i -= len(m.UpdateMode) + copy(dAtA[i:], m.UpdateMode) + i = encodeVarintAgent(dAtA, i, uint64(len(m.UpdateMode))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } - if m.Object != nil { + if m.Target != nil { { - size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -26975,19 +27312,12 @@ func (m *HorizontalPodAutoscalerMetricStatus) MarshalToSizedBuffer(dAtA []byte) i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ObjectMetricStatus) Marshal() (dAtA []byte, err error) { +func (m *VerticalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -26997,49 +27327,34 @@ func (m *ObjectMetricStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ObjectMetricStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerTarget) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ObjectMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Metric != nil { - { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.DescribedObject != nil { - { - size, err := m.DescribedObject.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PodsMetricStatus) Marshal() (dAtA []byte, err error) { +func (m *ContainerResourcePolicy) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27049,24 +27364,35 @@ func (m *PodsMetricStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PodsMetricStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *ContainerResourcePolicy) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PodsMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ContainerResourcePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + if len(m.ControlledValues) > 0 { + i -= len(m.ControlledValues) + copy(dAtA[i:], m.ControlledValues) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ControlledValues))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x32 } - if m.Metric != nil { + if len(m.ControlledResource) > 0 { + for iNdEx := len(m.ControlledResource) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ControlledResource[iNdEx]) + copy(dAtA[i:], m.ControlledResource[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ControlledResource[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.MaxAllowed != nil { { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.MaxAllowed.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -27074,47 +27400,38 @@ func (m *PodsMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x22 } - return len(dAtA) - i, nil -} - -func (m *ResourceMetricStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.MinAllowed != nil { + { + size, err := m.MinAllowed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - return dAtA[:n], nil -} - -func (m *ResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResourceMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + if len(m.Mode) > 0 { + i -= len(m.Mode) + copy(dAtA[i:], m.Mode) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Mode))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) + if len(m.ContainerName) > 0 { + i -= len(m.ContainerName) + copy(dAtA[i:], m.ContainerName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerName))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ContainerResourceMetricStatus) Marshal() (dAtA []byte, err error) { +func (m *VerticalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27124,39 +27441,53 @@ func (m *ContainerResourceMetricStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContainerResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContainerResourceMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *VerticalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Container) > 0 { - i -= len(m.Container) - copy(dAtA[i:], m.Container) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Container))) - i-- - dAtA[i] = 0x1a + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } } - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 + if len(m.Recommendations) > 0 { + for iNdEx := len(m.Recommendations) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Recommendations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } - if len(m.ResourceName) > 0 { - i -= len(m.ResourceName) - copy(dAtA[i:], m.ResourceName) - i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) + if m.LastRecommendedDate != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastRecommendedDate)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ExternalMetricStatus) Marshal() (dAtA []byte, err error) { +func (m *ContainerRecommendation) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27166,24 +27497,19 @@ func (m *ExternalMetricStatus) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ExternalMetricStatus) MarshalTo(dAtA []byte) (int, error) { +func (m *ContainerRecommendation) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ExternalMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ContainerRecommendation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Current != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Current)) - i-- - dAtA[i] = 0x10 - } - if m.Metric != nil { + if m.UncappedTarget != nil { { - size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.UncappedTarget.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -27191,13 +27517,56 @@ func (m *ExternalMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x2a } - return len(dAtA) - i, nil -} - -func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) { - size := m.Size() + if m.UpperBound != nil { + { + size, err := m.UpperBound.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.LowerBound != nil { + { + size, err := m.LowerBound.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ContainerName) > 0 { + i -= len(m.ContainerName) + copy(dAtA[i:], m.ContainerName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ContainerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *VPACondition) Marshal() (dAtA []byte, err error) { + size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { @@ -27206,23 +27575,93 @@ func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) { +func (m *VPACondition) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *VPACondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x2a + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x22 + } + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + i-- + dAtA[i] = 0x18 + } + if len(m.ConditionStatus) > 0 { + i -= len(m.ConditionStatus) + copy(dAtA[i:], m.ConditionStatus) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionStatus))) + i-- + dAtA[i] = 0x12 + } + if len(m.ConditionType) > 0 { + i -= len(m.ConditionType) + copy(dAtA[i:], m.ConditionType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *HorizontalPodAutoscaler) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HorizontalPodAutoscaler) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HorizontalPodAutoscaler) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Conditions) > 0 { + for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } if len(m.Tags) > 0 { for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Tags[iNdEx]) copy(dAtA[i:], m.Tags[iNdEx]) i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x2a } } if len(m.Yaml) > 0 { @@ -27230,6 +27669,18 @@ func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Yaml) i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) i-- + dAtA[i] = 0x22 + } + if m.Status != nil { + { + size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- dAtA[i] = 0x1a } if m.Spec != nil { @@ -27259,7 +27710,7 @@ func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) { +func (m *HorizontalPodAutoscalerSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27269,43 +27720,32 @@ func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) { +func (m *HorizontalPodAutoscalerSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HorizontalPodAutoscalerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.PolicyTypes) > 0 { - for iNdEx := len(m.PolicyTypes) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PolicyTypes[iNdEx]) - copy(dAtA[i:], m.PolicyTypes[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.PolicyTypes[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Egress) > 0 { - for iNdEx := len(m.Egress) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Egress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Behavior != nil { + { + size, err := m.Behavior.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x1a + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x2a } - if len(m.Ingress) > 0 { - for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Metrics) > 0 { + for iNdEx := len(m.Metrics) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Metrics[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -27313,27 +27753,35 @@ func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintAgent(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } } - if len(m.Selectors) > 0 { - for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.MaxReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MaxReplicas)) + i-- + dAtA[i] = 0x18 + } + if m.MinReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.MinReplicas)) + i-- + dAtA[i] = 0x10 + } + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NetworkPolicyIPBlock) Marshal() (dAtA []byte, err error) { +func (m *HorizontalPodAutoscalerTarget) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27343,36 +27791,34 @@ func (m *NetworkPolicyIPBlock) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicyIPBlock) MarshalTo(dAtA []byte) (int, error) { +func (m *HorizontalPodAutoscalerTarget) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicyIPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HorizontalPodAutoscalerTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Except) > 0 { - for iNdEx := len(m.Except) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Except[iNdEx]) - copy(dAtA[i:], m.Except[iNdEx]) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Except[iNdEx]))) - i-- - dAtA[i] = 0x12 - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 } - if len(m.Cidr) > 0 { - i -= len(m.Cidr) - copy(dAtA[i:], m.Cidr) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Cidr))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) { +func (m *HorizontalPodAutoscalerMetricSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27382,48 +27828,87 @@ func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) { +func (m *HorizontalPodAutoscalerMetricSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *HorizontalPodAutoscalerMetricSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.From) > 0 { - for iNdEx := len(m.From) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.From[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.External != nil { + { + size, err := m.External.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x32 } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.ContainerResource != nil { + { + size, err := m.ContainerResource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Resource != nil { + { + size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.Pods != nil { + { + size, err := m.Pods.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Object != nil { + { + size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 + } + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) { +func (m *ObjectMetricSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27433,48 +27918,56 @@ func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) { +func (m *ObjectMetricSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ObjectMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.To) > 0 { - for iNdEx := len(m.To) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.To[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.Metric != nil { + { + size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if len(m.Ports) > 0 { - for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) + if m.DescribedObject != nil { + { + size, err := m.DescribedObject.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) { +func (m *MetricTarget) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27484,32 +27977,55 @@ func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) { +func (m *MetricTarget) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MetricTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.IpBlock != nil { - { - size, err := m.IpBlock.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } + if m.Value != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Value)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x10 } - if len(m.NamespaceSelector) > 0 { - for iNdEx := len(m.NamespaceSelector) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MetricIdentifier) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MetricIdentifier) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MetricIdentifier) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.LabelSelector) > 0 { + for iNdEx := len(m.LabelSelector) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.NamespaceSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.LabelSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -27520,24 +28036,17 @@ func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } - if len(m.PodSelector) > 0 { - for iNdEx := len(m.PodSelector) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PodSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintAgent(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) { +func (m *PodsMetricSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -27547,786 +28056,1176 @@ func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) { +func (m *PodsMetricSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PodsMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EndPort != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.EndPort)) - i-- - dAtA[i] = 0x18 - } - if m.Port != 0 { - i = encodeVarintAgent(dAtA, i, uint64(m.Port)) + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.Protocol) > 0 { - i -= len(m.Protocol) - copy(dAtA[i:], m.Protocol) - i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) + if m.Metric != nil { + { + size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintAgent(dAtA []byte, offset int, v uint64) int { - offset -= sovAgent(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *ResourceMetricSource) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *ResCollector) Size() (n int) { - if m == nil { - return 0 - } + +func (m *ResourceMetricSource) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Header != nil { - l = m.Header.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *ResCollector_Header) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) +func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *CollectorProc) Size() (n int) { - if m == nil { - return 0 - } +func (m *ContainerResourceMetricSource) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContainerResourceMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Processes) > 0 { - for _, e := range m.Processes { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if len(m.Container) > 0 { + i -= len(m.Container) + copy(dAtA[i:], m.Container) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Container))) + i-- + dAtA[i] = 0x1a } - if len(m.Containers) > 0 { - for _, e := range m.Containers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - l = len(m.NetworkId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) - } - if m.Hints != nil { - n += m.Hints.Size() + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorProc_HintMask) Size() (n int) { - if m == nil { - return 0 +func (m *ExternalMetricSource) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - n += 1 + sovAgent(uint64(m.HintMask)) - return n + return dAtA[:n], nil } -func (m *CollectorProcDiscovery) Size() (n int) { - if m == nil { - return 0 - } + +func (m *ExternalMetricSource) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExternalMetricSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.ProcessDiscoveries) > 0 { - for _, e := range m.ProcessDiscoveries { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Target != nil { + { + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Metric != nil { + { + size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorRealTime) Size() (n int) { - if m == nil { - return 0 +func (m *HorizontalPodAutoscalerBehavior) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *HorizontalPodAutoscalerBehavior) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HorizontalPodAutoscalerBehavior) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Stats) > 0 { - for _, e := range m.Stats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.ScaleDown != nil { + { + size, err := m.ScaleDown.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.HostId != 0 { - n += 1 + sovAgent(uint64(m.HostId)) - } - if m.OrgId != 0 { - n += 1 + sovAgent(uint64(m.OrgId)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.NumCpus != 0 { - n += 1 + sovAgent(uint64(m.NumCpus)) - } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) - } - if len(m.ContainerStats) > 0 { - for _, e := range m.ContainerStats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.ScaleUp != nil { + { + size, err := m.ScaleUp.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) - } - return n + return len(dAtA) - i, nil } -func (m *CollectorContainer) Size() (n int) { - if m == nil { - return 0 +func (m *HPAScalingRules) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *HPAScalingRules) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HPAScalingRules) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Containers) > 0 { - for _, e := range m.Containers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Policies) > 0 { + for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Policies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) + if len(m.SelectPolicy) > 0 { + i -= len(m.SelectPolicy) + copy(dAtA[i:], m.SelectPolicy) + i = encodeVarintAgent(dAtA, i, uint64(len(m.SelectPolicy))) + i-- + dAtA[i] = 0x12 } - l = len(m.NetworkId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.StabilizationWindowSeconds != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.StabilizationWindowSeconds)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *CollectorContainerRealTime) Size() (n int) { - if m == nil { - return 0 +func (m *HPAScalingPolicy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *HPAScalingPolicy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HPAScalingPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Stats) > 0 { - for _, e := range m.Stats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.NumCpus != 0 { - n += 1 + sovAgent(uint64(m.NumCpus)) - } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) - } - if m.HostId != 0 { - n += 1 + sovAgent(uint64(m.HostId)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + if m.PeriodSeconds != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.PeriodSeconds)) + i-- + dAtA[i] = 0x18 } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if m.Value != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Value)) + i-- + dAtA[i] = 0x10 } - if m.ContainerHostType != 0 { - n += 1 + sovAgent(uint64(m.ContainerHostType)) + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorReqStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) +func (m *HorizontalPodAutoscalerStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *CollectorPod) Size() (n int) { - if m == nil { - return 0 - } +func (m *HorizontalPodAutoscalerStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HorizontalPodAutoscalerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.HostName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + if len(m.CurrentMetrics) > 0 { + for iNdEx := len(m.CurrentMetrics) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.CurrentMetrics[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if m.DesiredReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.DesiredReplicas)) + i-- + dAtA[i] = 0x20 } - if len(m.Pods) > 0 { - for _, e := range m.Pods { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.CurrentReplicas != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.CurrentReplicas)) + i-- + dAtA[i] = 0x18 } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.LastScaleTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastScaleTime)) + i-- + dAtA[i] = 0x10 } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.ObservedGeneration != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.ObservedGeneration)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *CollectorReplicaSet) Size() (n int) { - if m == nil { - return 0 +func (m *HorizontalPodAutoscalerCondition) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *HorizontalPodAutoscalerCondition) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HorizontalPodAutoscalerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x2a } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x22 } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if m.LastTransitionTime != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.LastTransitionTime)) + i-- + dAtA[i] = 0x18 } - if len(m.ReplicaSets) > 0 { - for _, e := range m.ReplicaSets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if len(m.ConditionStatus) > 0 { + i -= len(m.ConditionStatus) + copy(dAtA[i:], m.ConditionStatus) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionStatus))) + i-- + dAtA[i] = 0x12 } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if len(m.ConditionType) > 0 { + i -= len(m.ConditionType) + copy(dAtA[i:], m.ConditionType) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ConditionType))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorDeployment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Deployments) > 0 { - for _, e := range m.Deployments { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } +func (m *HorizontalPodAutoscalerMetricStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *CollectorService) Size() (n int) { - if m == nil { - return 0 - } +func (m *HorizontalPodAutoscalerMetricStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HorizontalPodAutoscalerMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.External != nil { + { + size, err := m.External.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + if m.ContainerResource != nil { + { + size, err := m.ContainerResource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if m.Resource != nil { + { + size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - if len(m.Services) > 0 { - for _, e := range m.Services { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Pods != nil { + { + size, err := m.Pods.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if m.Object != nil { + { + size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - return n + if len(m.Type) > 0 { + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *CollectorNode) Size() (n int) { - if m == nil { - return 0 +func (m *ObjectMetricStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *ObjectMetricStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ObjectMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Nodes) > 0 { - for _, e := range m.Nodes { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Metric != nil { + { + size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Current != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + i-- + dAtA[i] = 0x10 } - if len(m.HostAliasMapping) > 0 { - for k, v := range m.HostAliasMapping { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) + if m.DescribedObject != nil { + { + size, err := m.DescribedObject.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorCluster) Size() (n int) { - if m == nil { - return 0 +func (m *PodsMetricStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *PodsMetricStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PodsMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if m.Cluster != nil { - l = m.Cluster.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Current != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + i-- + dAtA[i] = 0x10 } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if m.Metric != nil { + { + size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorManifest) Size() (n int) { - if m == nil { - return 0 +func (m *ResourceMetricStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *ResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResourceMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if m.Current != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + i-- + dAtA[i] = 0x10 } - if len(m.Manifests) > 0 { - for _, e := range m.Manifests { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorManifestCRD) Size() (n int) { - if m == nil { - return 0 +func (m *ContainerResourceMetricStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *ContainerResourceMetricStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContainerResourceMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Manifest != nil { - l = m.Manifest.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Container) > 0 { + i -= len(m.Container) + copy(dAtA[i:], m.Container) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Container))) + i-- + dAtA[i] = 0x1a } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Current != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintAgent(dAtA, i, uint64(len(m.ResourceName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *CollectorManifestCR) Size() (n int) { - if m == nil { - return 0 +func (m *ExternalMetricStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *ExternalMetricStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExternalMetricStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Manifest != nil { - l = m.Manifest.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Current != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Current)) + i-- + dAtA[i] = 0x10 } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if m.Metric != nil { + { + size, err := m.Metric.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *CollectorNamespace) Size() (n int) { - if m == nil { - return 0 +func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) - } - if len(m.Namespaces) > 0 { - for _, e := range m.Namespaces { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + for iNdEx := len(m.Tags) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Tags[iNdEx]) + copy(dAtA[i:], m.Tags[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Tags[iNdEx]))) + i-- + dAtA[i] = 0x22 } } - return n -} - -func (m *CollectorJob) Size() (n int) { - if m == nil { - return 0 + if len(m.Yaml) > 0 { + i -= len(m.Yaml) + copy(dAtA[i:], m.Yaml) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Yaml))) + i-- + dAtA[i] = 0x1a } - var l int - _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Spec != nil { + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + return len(dAtA) - i, nil +} + +func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + return dAtA[:n], nil +} + +func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PolicyTypes) > 0 { + for iNdEx := len(m.PolicyTypes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PolicyTypes[iNdEx]) + copy(dAtA[i:], m.PolicyTypes[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.PolicyTypes[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } - if len(m.Jobs) > 0 { - for _, e := range m.Jobs { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Egress) > 0 { + for iNdEx := len(m.Egress) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Egress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if len(m.Ingress) > 0 { + for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } } - return n + if len(m.Selectors) > 0 { + for iNdEx := len(m.Selectors) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Selectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil } -func (m *CollectorCronJob) Size() (n int) { - if m == nil { - return 0 +func (m *NetworkPolicyIPBlock) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *NetworkPolicyIPBlock) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicyIPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Except) > 0 { + for iNdEx := len(m.Except) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Except[iNdEx]) + copy(dAtA[i:], m.Except[iNdEx]) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Except[iNdEx]))) + i-- + dAtA[i] = 0x12 + } } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + if len(m.Cidr) > 0 { + i -= len(m.Cidr) + copy(dAtA[i:], m.Cidr) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Cidr))) + i-- + dAtA[i] = 0xa } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + return len(dAtA) - i, nil +} + +func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.CronJobs) > 0 { - for _, e := range m.CronJobs { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + return dAtA[:n], nil +} + +func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.From) > 0 { + for iNdEx := len(m.From) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.From[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if len(m.Ports) > 0 { + for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } } - return n + return len(dAtA) - i, nil } -func (m *CollectorDaemonSet) Size() (n int) { - if m == nil { - return 0 +func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.To) > 0 { + for iNdEx := len(m.To) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.To[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Ports) > 0 { + for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) + return len(dAtA) - i, nil +} + +func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + return dAtA[:n], nil +} + +func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.IpBlock != nil { + { + size, err := m.IpBlock.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if len(m.DaemonSets) > 0 { - for _, e := range m.DaemonSets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.NamespaceSelector) > 0 { + for iNdEx := len(m.NamespaceSelector) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.NamespaceSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if len(m.PodSelector) > 0 { + for iNdEx := len(m.PodSelector) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PodSelector[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAgent(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } } - return n + return len(dAtA) - i, nil } -func (m *CollectorStatefulSet) Size() (n int) { +func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EndPort != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.EndPort)) + i-- + dAtA[i] = 0x18 + } + if m.Port != 0 { + i = encodeVarintAgent(dAtA, i, uint64(m.Port)) + i-- + dAtA[i] = 0x10 + } + if len(m.Protocol) > 0 { + i -= len(m.Protocol) + copy(dAtA[i:], m.Protocol) + i = encodeVarintAgent(dAtA, i, uint64(len(m.Protocol))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintAgent(dAtA []byte, offset int, v uint64) int { + offset -= sovAgent(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ResCollector) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterName) - if l > 0 { + if m.Header != nil { + l = m.Header.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ClusterId) + l = len(m.Message) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.GroupId != 0 { - n += 1 + sovAgent(uint64(m.GroupId)) - } - if m.GroupSize != 0 { - n += 1 + sovAgent(uint64(m.GroupSize)) + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.StatefulSets) > 0 { - for _, e := range m.StatefulSets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + return n +} + +func (m *ResCollector_Header) Size() (n int) { + if m == nil { + return 0 } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + var l int + _ = l + if m.Type != 0 { + n += 1 + sovAgent(uint64(m.Type)) } return n } -func (m *CollectorPersistentVolume) Size() (n int) { +func (m *CollectorProc) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterName) + l = len(m.HostName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ClusterId) - if l > 0 { + if len(m.Processes) > 0 { + for _, e := range m.Processes { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Info != nil { + l = m.Info.Size() n += 1 + l + sovAgent(uint64(l)) } if m.GroupId != 0 { @@ -28335,32 +29234,41 @@ func (m *CollectorPersistentVolume) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.PersistentVolumes) > 0 { - for _, e := range m.PersistentVolumes { + if len(m.Containers) > 0 { + for _, e := range m.Containers { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.NetworkId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.ContainerHostType != 0 { + n += 1 + sovAgent(uint64(m.ContainerHostType)) + } + if m.Hints != nil { + n += m.Hints.Size() } return n } -func (m *CollectorPersistentVolumeClaim) Size() (n int) { +func (m *CollectorProc_HintMask) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + n += 1 + sovAgent(uint64(m.HintMask)) + return n +} +func (m *CollectorProcDiscovery) Size() (n int) { + if m == nil { + return 0 } - l = len(m.ClusterId) + var l int + _ = l + l = len(m.HostName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } @@ -28370,34 +29278,40 @@ func (m *CollectorPersistentVolumeClaim) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.PersistentVolumeClaims) > 0 { - for _, e := range m.PersistentVolumeClaims { + if len(m.ProcessDiscoveries) > 0 { + for _, e := range m.ProcessDiscoveries { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *CollectorRole) Size() (n int) { +func (m *CollectorRealTime) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ClusterName) + l = len(m.HostName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ClusterId) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Stats) > 0 { + for _, e := range m.Stats { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.HostId != 0 { + n += 1 + sovAgent(uint64(m.HostId)) + } + if m.OrgId != 0 { + n += 1 + sovAgent(uint64(m.OrgId)) } if m.GroupId != 0 { n += 1 + sovAgent(uint64(m.GroupId)) @@ -28405,27 +29319,123 @@ func (m *CollectorRole) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.Roles) > 0 { - for _, e := range m.Roles { + if m.NumCpus != 0 { + n += 1 + sovAgent(uint64(m.NumCpus)) + } + if m.TotalMemory != 0 { + n += 1 + sovAgent(uint64(m.TotalMemory)) + } + if len(m.ContainerStats) > 0 { + for _, e := range m.ContainerStats { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) + if m.ContainerHostType != 0 { + n += 1 + sovAgent(uint64(m.ContainerHostType)) + } + return n +} + +func (m *CollectorContainer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.HostName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Info != nil { + l = m.Info.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Containers) > 0 { + for _, e := range m.Containers { + l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) + } + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.ContainerHostType != 0 { + n += 1 + sovAgent(uint64(m.ContainerHostType)) + } + l = len(m.NetworkId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *CollectorRoleBinding) Size() (n int) { +func (m *CollectorContainerRealTime) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.HostName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Stats) > 0 { + for _, e := range m.Stats { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.NumCpus != 0 { + n += 1 + sovAgent(uint64(m.NumCpus)) + } + if m.TotalMemory != 0 { + n += 1 + sovAgent(uint64(m.TotalMemory)) + } + if m.HostId != 0 { + n += 1 + sovAgent(uint64(m.HostId)) + } + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) + } + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if m.ContainerHostType != 0 { + n += 1 + sovAgent(uint64(m.ContainerHostType)) + } + return n +} + +func (m *CollectorReqStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.HostName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *CollectorECSTask) Size() (n int) { if m == nil { return 0 } var l int _ = l + if m.AwsAccountID != 0 { + n += 1 + sovAgent(uint64(m.AwsAccountID)) + } l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) @@ -28434,20 +29444,251 @@ func (m *CollectorRoleBinding) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + l = len(m.Region) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } if m.GroupId != 0 { n += 1 + sovAgent(uint64(m.GroupId)) } if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.RoleBindings) > 0 { - for _, e := range m.RoleBindings { + if len(m.Tasks) > 0 { + for _, e := range m.Tasks { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } + return n +} + +func (m *ECSTask) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Arn) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.LaunchType) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.DesiredStatus) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.KnownStatus) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Family) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Version) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.AvailabilityZone) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Limits) > 0 { + for k, v := range m.Limits { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + if len(m.EphemeralStorageMetrics) > 0 { + for k, v := range m.EphemeralStorageMetrics { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + l = len(m.ServiceName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.VpcId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.PullStartedAt != 0 { + n += 1 + sovAgent(uint64(m.PullStartedAt)) + } + if m.PullStoppedAt != 0 { + n += 1 + sovAgent(uint64(m.PullStoppedAt)) + } + if m.ExecutionStoppedAt != 0 { + n += 1 + sovAgent(uint64(m.ExecutionStoppedAt)) + } + if len(m.Containers) > 0 { + for _, e := range m.Containers { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } + } if len(m.Tags) > 0 { for _, s := range m.Tags { + l = len(s) + n += 2 + l + sovAgent(uint64(l)) + } + } + if len(m.EcsTags) > 0 { + for _, s := range m.EcsTags { + l = len(s) + n += 2 + l + sovAgent(uint64(l)) + } + } + if len(m.ContainerInstanceTags) > 0 { + for _, s := range m.ContainerInstanceTags { + l = len(s) + n += 2 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *ECSContainer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DockerID) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.DockerName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Image) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.ImageID) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.CreatedAt != 0 { + n += 1 + sovAgent(uint64(m.CreatedAt)) + } + if m.StartedAt != 0 { + n += 1 + sovAgent(uint64(m.StartedAt)) + } + if m.FinishedAt != 0 { + n += 1 + sovAgent(uint64(m.FinishedAt)) + } + l = len(m.DesiredStatus) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.KnownStatus) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.ExitCode != nil { + l = m.ExitCode.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.LogDriver) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.LogOptions) > 0 { + for k, v := range m.LogOptions { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + l = len(m.ContainerArn) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Ports) > 0 { + for _, e := range m.Ports { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } + } + if len(m.Networks) > 0 { + for _, e := range m.Networks { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } + } + if len(m.Volumes) > 0 { + for _, e := range m.Volumes { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } + } + if m.Health != nil { + l = m.Health.Size() + n += 2 + l + sovAgent(uint64(l)) + } + if len(m.Labels) > 0 { + for _, s := range m.Labels { + l = len(s) + n += 2 + l + sovAgent(uint64(l)) + } + } + if len(m.Limits) > 0 { + for k, v := range m.Limits { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 + n += mapEntrySize + 2 + sovAgent(uint64(mapEntrySize)) + } + } + l = len(m.Snapshotter) + if l > 0 { + n += 2 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ECSContainerNetwork) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.NetworkMode) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Ipv4Addresses) > 0 { + for _, s := range m.Ipv4Addresses { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Ipv6Addresses) > 0 { + for _, s := range m.Ipv6Addresses { l = len(s) n += 1 + l + sovAgent(uint64(l)) } @@ -28455,12 +29696,96 @@ func (m *CollectorRoleBinding) Size() (n int) { return n } -func (m *CollectorClusterRole) Size() (n int) { +func (m *ECSContainerPort) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ContainerPort != 0 { + n += 1 + sovAgent(uint64(m.ContainerPort)) + } + l = len(m.Protocol) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.HostIp) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.HostPort != 0 { + n += 1 + sovAgent(uint64(m.HostPort)) + } + return n +} + +func (m *ECSContainerVolume) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DockerName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Source) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Destination) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ECSContainerHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l + l = len(m.Status) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Since != 0 { + n += 1 + sovAgent(uint64(m.Since)) + } + if m.ExitCode != nil { + l = m.ExitCode.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Output) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ECSContainerExitCode) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExitCode != 0 { + n += 1 + sovAgent(uint64(m.ExitCode)) + } + return n +} + +func (m *CollectorPod) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.HostName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) @@ -28475,12 +29800,16 @@ func (m *CollectorClusterRole) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.ClusterRoles) > 0 { - for _, e := range m.ClusterRoles { + if len(m.Pods) > 0 { + for _, e := range m.Pods { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) + } if len(m.Tags) > 0 { for _, s := range m.Tags { l = len(s) @@ -28490,7 +29819,7 @@ func (m *CollectorClusterRole) Size() (n int) { return n } -func (m *CollectorClusterRoleBinding) Size() (n int) { +func (m *CollectorReplicaSet) Size() (n int) { if m == nil { return 0 } @@ -28510,8 +29839,8 @@ func (m *CollectorClusterRoleBinding) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.ClusterRoleBindings) > 0 { - for _, e := range m.ClusterRoleBindings { + if len(m.ReplicaSets) > 0 { + for _, e := range m.ReplicaSets { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -28525,7 +29854,7 @@ func (m *CollectorClusterRoleBinding) Size() (n int) { return n } -func (m *CollectorServiceAccount) Size() (n int) { +func (m *CollectorDeployment) Size() (n int) { if m == nil { return 0 } @@ -28545,8 +29874,8 @@ func (m *CollectorServiceAccount) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.ServiceAccounts) > 0 { - for _, e := range m.ServiceAccounts { + if len(m.Deployments) > 0 { + for _, e := range m.Deployments { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -28560,7 +29889,7 @@ func (m *CollectorServiceAccount) Size() (n int) { return n } -func (m *CollectorIngress) Size() (n int) { +func (m *CollectorService) Size() (n int) { if m == nil { return 0 } @@ -28580,8 +29909,8 @@ func (m *CollectorIngress) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.Ingresses) > 0 { - for _, e := range m.Ingresses { + if len(m.Services) > 0 { + for _, e := range m.Services { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -28595,7 +29924,7 @@ func (m *CollectorIngress) Size() (n int) { return n } -func (m *CollectorVerticalPodAutoscaler) Size() (n int) { +func (m *CollectorNode) Size() (n int) { if m == nil { return 0 } @@ -28615,8 +29944,8 @@ func (m *CollectorVerticalPodAutoscaler) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.VerticalPodAutoscalers) > 0 { - for _, e := range m.VerticalPodAutoscalers { + if len(m.Nodes) > 0 { + for _, e := range m.Nodes { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -28627,10 +29956,23 @@ func (m *CollectorVerticalPodAutoscaler) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } + if len(m.HostAliasMapping) > 0 { + for k, v := range m.HostAliasMapping { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovAgent(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + l + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } return n } -func (m *CollectorHorizontalPodAutoscaler) Size() (n int) { +func (m *CollectorCluster) Size() (n int) { if m == nil { return 0 } @@ -28650,11 +29992,9 @@ func (m *CollectorHorizontalPodAutoscaler) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.HorizontalPodAutoscalers) > 0 { - for _, e := range m.HorizontalPodAutoscalers { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Cluster != nil { + l = m.Cluster.Size() + n += 1 + l + sovAgent(uint64(l)) } if len(m.Tags) > 0 { for _, s := range m.Tags { @@ -28665,7 +30005,7 @@ func (m *CollectorHorizontalPodAutoscaler) Size() (n int) { return n } -func (m *CollectorNetworkPolicy) Size() (n int) { +func (m *CollectorManifest) Size() (n int) { if m == nil { return 0 } @@ -28685,12 +30025,25 @@ func (m *CollectorNetworkPolicy) Size() (n int) { if m.GroupSize != 0 { n += 1 + sovAgent(uint64(m.GroupSize)) } - if len(m.NetworkPolicies) > 0 { - for _, e := range m.NetworkPolicies { + if len(m.Manifests) > 0 { + for _, e := range m.Manifests { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } + return n +} + +func (m *CollectorManifestCRD) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Manifest != nil { + l = m.Manifest.Size() + n += 1 + l + sovAgent(uint64(l)) + } if len(m.Tags) > 0 { for _, s := range m.Tags { l = len(s) @@ -28700,903 +30053,761 @@ func (m *CollectorNetworkPolicy) Size() (n int) { return n } -func (m *CollectorStatus) Size() (n int) { +func (m *CollectorManifestCR) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.ActiveClients != 0 { - n += 1 + sovAgent(uint64(m.ActiveClients)) + if m.Manifest != nil { + l = m.Manifest.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.Interval != 0 { - n += 1 + sovAgent(uint64(m.Interval)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *Process) Size() (n int) { +func (m *CollectorNamespace) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Key != 0 { - n += 1 + sovAgent(uint64(m.Key)) - } - if m.Pid != 0 { - n += 1 + sovAgent(uint64(m.Pid)) - } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Command != nil { - l = m.Command.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.User != nil { - l = m.User.Size() + l = len(m.ClusterName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Memory != nil { - l = m.Memory.Size() + l = len(m.ClusterId) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Cpu != nil { - l = m.Cpu.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.CreateTime != 0 { - n += 1 + sovAgent(uint64(m.CreateTime)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - if m.Container != nil { - l = m.Container.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Namespaces) > 0 { + for _, e := range m.Namespaces { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.OpenFdCount != 0 { - n += 1 + sovAgent(uint64(m.OpenFdCount)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } - if m.State != 0 { - n += 1 + sovAgent(uint64(m.State)) + return n +} + +func (m *CollectorJob) Size() (n int) { + if m == nil { + return 0 } - if m.IoStat != nil { - l = m.IoStat.Size() + var l int + _ = l + l = len(m.ClusterName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ContainerId) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.ContainerKey != 0 { - n += 1 + sovAgent(uint64(m.ContainerKey)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.VoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.VoluntaryCtxSwitches)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - if m.InvoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.InvoluntaryCtxSwitches)) - } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - l = len(m.ContainerByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.NsPid != 0 { - n += 2 + sovAgent(uint64(m.NsPid)) - } - if m.Networks != nil { - l = m.Networks.Size() - n += 2 + l + sovAgent(uint64(l)) + if len(m.Jobs) > 0 { + for _, e := range m.Jobs { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if len(m.ProcessContext) > 0 { - for _, s := range m.ProcessContext { + if len(m.Tags) > 0 { + for _, s := range m.Tags { l = len(s) - n += 2 + l + sovAgent(uint64(l)) + n += 1 + l + sovAgent(uint64(l)) } } return n } -func (m *ProcessDiscovery) Size() (n int) { +func (m *CollectorCronJob) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Pid != 0 { - n += 1 + sovAgent(uint64(m.Pid)) - } - if m.NsPid != 0 { - n += 1 + sovAgent(uint64(m.NsPid)) - } - if m.Host != nil { - l = m.Host.Size() + l = len(m.ClusterName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Command != nil { - l = m.Command.Size() + l = len(m.ClusterId) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.CreateTime != 0 { - n += 1 + sovAgent(uint64(m.CreateTime)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - l = len(m.ByteKey) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.CronJobs) > 0 { + for _, e := range m.CronJobs { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *Command) Size() (n int) { +func (m *CollectorDaemonSet) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Args) > 0 { - for _, s := range m.Args { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.Cwd) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Root) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.OnDisk { - n += 2 - } - if m.Ppid != 0 { - n += 1 + sovAgent(uint64(m.Ppid)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.Pgroup != 0 { - n += 1 + sovAgent(uint64(m.Pgroup)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - l = len(m.Exe) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.DaemonSets) > 0 { + for _, e := range m.DaemonSets { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - l = len(m.Comm) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *ProcessUser) Size() (n int) { +func (m *CollectorStatefulSet) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Uid != 0 { - n += 1 + sovAgent(uint64(m.Uid)) - } - if m.Gid != 0 { - n += 1 + sovAgent(uint64(m.Gid)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.Euid != 0 { - n += 1 + sovAgent(uint64(m.Euid)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.Egid != 0 { - n += 1 + sovAgent(uint64(m.Egid)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - if m.Suid != 0 { - n += 1 + sovAgent(uint64(m.Suid)) + if len(m.StatefulSets) > 0 { + for _, e := range m.StatefulSets { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.Sgid != 0 { - n += 1 + sovAgent(uint64(m.Sgid)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *ProcessNetworks) Size() (n int) { +func (m *CollectorPersistentVolume) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.ConnectionRate != 0 { - n += 5 + l = len(m.ClusterName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.BytesRate != 0 { - n += 5 + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) + } + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if len(m.PersistentVolumes) > 0 { + for _, e := range m.PersistentVolumes { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *ContainerAddr) Size() (n int) { +func (m *CollectorPersistentVolumeClaim) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Ip) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.Protocol != 0 { - n += 1 + sovAgent(uint64(m.Protocol)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) + } + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if len(m.PersistentVolumeClaims) > 0 { + for _, e := range m.PersistentVolumeClaims { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *Container) Size() (n int) { +func (m *CollectorRole) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Id) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Name) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Image) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.CpuLimit != 0 { - n += 5 - } - if m.MemoryLimit != 0 { - n += 1 + sovAgent(uint64(m.MemoryLimit)) - } - if m.State != 0 { - n += 1 + sovAgent(uint64(m.State)) - } - if m.Health != 0 { - n += 1 + sovAgent(uint64(m.Health)) - } - if m.Created != 0 { - n += 1 + sovAgent(uint64(m.Created)) - } - if m.Rbps != 0 { - n += 5 - } - if m.Wbps != 0 { - n += 5 - } - if m.Key != 0 { - n += 1 + sovAgent(uint64(m.Key)) - } - if m.NetRcvdPs != 0 { - n += 5 - } - if m.NetSentPs != 0 { - n += 5 - } - if m.NetRcvdBps != 0 { - n += 6 - } - if m.NetSentBps != 0 { - n += 6 - } - if m.UserPct != 0 { - n += 6 - } - if m.SystemPct != 0 { - n += 6 - } - if m.TotalPct != 0 { - n += 6 - } - if m.MemRss != 0 { - n += 2 + sovAgent(uint64(m.MemRss)) - } - if m.MemCache != 0 { - n += 2 + sovAgent(uint64(m.MemCache)) - } - if m.Host != nil { - l = m.Host.Size() - n += 2 + l + sovAgent(uint64(l)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.Started != 0 { - n += 2 + sovAgent(uint64(m.Started)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) + if len(m.Roles) > 0 { + for _, e := range m.Roles { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } if len(m.Tags) > 0 { for _, s := range m.Tags { l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } - } - if len(m.Addresses) > 0 { - for _, e := range m.Addresses { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) + n += 1 + l + sovAgent(uint64(l)) } } - if m.ThreadCount != 0 { - n += 2 + sovAgent(uint64(m.ThreadCount)) - } - if m.ThreadLimit != 0 { - n += 2 + sovAgent(uint64(m.ThreadLimit)) - } - if m.MemUsage != 0 { - n += 2 + sovAgent(uint64(m.MemUsage)) - } - if m.CpuUsageNs != 0 { - n += 6 - } - if m.MemAccounted != 0 { - n += 2 + sovAgent(uint64(m.MemAccounted)) - } - if m.CpuRequest != 0 { - n += 6 - } - if m.MemoryRequest != 0 { - n += 2 + sovAgent(uint64(m.MemoryRequest)) - } - l = len(m.RepoDigest) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } return n } -func (m *ProcessStat) Size() (n int) { +func (m *CollectorRoleBinding) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Pid != 0 { - n += 1 + sovAgent(uint64(m.Pid)) - } - if m.CreateTime != 0 { - n += 1 + sovAgent(uint64(m.CreateTime)) - } - if m.Memory != nil { - l = m.Memory.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Cpu != nil { - l = m.Cpu.Size() + l = len(m.ClusterName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Nice != 0 { - n += 1 + sovAgent(uint64(m.Nice)) - } - if m.Threads != 0 { - n += 1 + sovAgent(uint64(m.Threads)) - } - if m.OpenFdCount != 0 { - n += 1 + sovAgent(uint64(m.OpenFdCount)) - } - if m.Key != 0 { - n += 1 + sovAgent(uint64(m.Key)) - } - l = len(m.ContainerId) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.ContainerState != 0 { - n += 1 + sovAgent(uint64(m.ContainerState)) - } - if m.ProcessState != 0 { - n += 1 + sovAgent(uint64(m.ProcessState)) - } - if m.ContainerHealth != 0 { - n += 1 + sovAgent(uint64(m.ContainerHealth)) - } - if m.ContainerRbps != 0 { - n += 6 - } - if m.ContainerWbps != 0 { - n += 6 - } - if m.ContainerKey != 0 { - n += 2 + sovAgent(uint64(m.ContainerKey)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.IoStat != nil { - l = m.IoStat.Size() - n += 2 + l + sovAgent(uint64(l)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - if m.ContainerNetRcvdPs != 0 { - n += 6 + if len(m.RoleBindings) > 0 { + for _, e := range m.RoleBindings { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.ContainerNetSentPs != 0 { - n += 6 + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } - if m.ContainerNetRcvdBps != 0 { - n += 6 + return n +} + +func (m *CollectorClusterRole) Size() (n int) { + if m == nil { + return 0 } - if m.ContainerNetSentBps != 0 { - n += 6 + var l int + _ = l + l = len(m.ClusterName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.VoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.VoluntaryCtxSwitches)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.InvoluntaryCtxSwitches != 0 { - n += 2 + sovAgent(uint64(m.InvoluntaryCtxSwitches)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - l = len(m.ContainerByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) + if len(m.ClusterRoles) > 0 { + for _, e := range m.ClusterRoles { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.Networks != nil { - l = m.Networks.Size() - n += 2 + l + sovAgent(uint64(l)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *ProcStatsWithPerm) Size() (n int) { +func (m *CollectorClusterRoleBinding) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.OpenFDCount != 0 { - n += 1 + sovAgent(uint64(m.OpenFDCount)) + l = len(m.ClusterName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.ReadCount != 0 { - n += 1 + sovAgent(uint64(m.ReadCount)) + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.WriteCount != 0 { - n += 1 + sovAgent(uint64(m.WriteCount)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.ReadBytes != 0 { - n += 1 + sovAgent(uint64(m.ReadBytes)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - if m.WriteBytes != 0 { - n += 1 + sovAgent(uint64(m.WriteBytes)) + if len(m.ClusterRoleBindings) > 0 { + for _, e := range m.ClusterRoleBindings { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *ProcStatsWithPermByPID) Size() (n int) { +func (m *CollectorServiceAccount) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.StatsByPID) > 0 { - for k, v := range m.StatsByPID { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) - } - mapEntrySize := 1 + sovAgent(uint64(k)) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + l = len(m.ClusterName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) + } + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if len(m.ServiceAccounts) > 0 { + for _, e := range m.ServiceAccounts { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) } } return n } -func (m *ContainerStat) Size() (n int) { +func (m *CollectorIngress) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Id) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.UserPct != 0 { - n += 5 - } - if m.SystemPct != 0 { - n += 5 + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.TotalPct != 0 { - n += 5 + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.CpuLimit != 0 { - n += 5 - } - if m.MemRss != 0 { - n += 1 + sovAgent(uint64(m.MemRss)) - } - if m.MemCache != 0 { - n += 1 + sovAgent(uint64(m.MemCache)) - } - if m.MemLimit != 0 { - n += 1 + sovAgent(uint64(m.MemLimit)) - } - if m.Rbps != 0 { - n += 5 - } - if m.Wbps != 0 { - n += 5 - } - if m.NetRcvdPs != 0 { - n += 5 - } - if m.NetSentPs != 0 { - n += 5 - } - if m.NetRcvdBps != 0 { - n += 5 - } - if m.NetSentBps != 0 { - n += 5 - } - if m.State != 0 { - n += 1 + sovAgent(uint64(m.State)) - } - if m.Health != 0 { - n += 2 + sovAgent(uint64(m.Health)) - } - if m.Key != 0 { - n += 2 + sovAgent(uint64(m.Key)) - } - if m.Started != 0 { - n += 2 + sovAgent(uint64(m.Started)) - } - l = len(m.ByteKey) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.ThreadCount != 0 { - n += 2 + sovAgent(uint64(m.ThreadCount)) - } - if m.ThreadLimit != 0 { - n += 2 + sovAgent(uint64(m.ThreadLimit)) - } - if m.MemUsage != 0 { - n += 2 + sovAgent(uint64(m.MemUsage)) - } - if m.CpuUsageNs != 0 { - n += 6 - } - if m.MemAccounted != 0 { - n += 2 + sovAgent(uint64(m.MemAccounted)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - if m.CpuRequest != 0 { - n += 6 + if len(m.Ingresses) > 0 { + for _, e := range m.Ingresses { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.MemoryRequest != 0 { - n += 2 + sovAgent(uint64(m.MemoryRequest)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *SystemInfo) Size() (n int) { +func (m *CollectorVerticalPodAutoscaler) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Uuid) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Os != nil { - l = m.Os.Size() + l = len(m.ClusterId) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Cpus) > 0 { - for _, e := range m.Cpus { + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) + } + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if len(m.VerticalPodAutoscalers) > 0 { + for _, e := range m.VerticalPodAutoscalers { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *OSInfo) Size() (n int) { +func (m *CollectorHorizontalPodAutoscaler) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) + l = len(m.ClusterName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Platform) + l = len(m.ClusterId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Family) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - l = len(m.Version) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) } - l = len(m.KernelVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.HorizontalPodAutoscalers) > 0 { + for _, e := range m.HorizontalPodAutoscalers { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *IOStat) Size() (n int) { +func (m *CollectorNetworkPolicy) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.ReadRate != 0 { - n += 5 + l = len(m.ClusterName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.WriteRate != 0 { - n += 5 + l = len(m.ClusterId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.ReadBytesRate != 0 { - n += 5 + if m.GroupId != 0 { + n += 1 + sovAgent(uint64(m.GroupId)) } - if m.WriteBytesRate != 0 { - n += 5 + if m.GroupSize != 0 { + n += 1 + sovAgent(uint64(m.GroupSize)) + } + if len(m.NetworkPolicies) > 0 { + for _, e := range m.NetworkPolicies { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *MemoryStat) Size() (n int) { +func (m *CollectorStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Rss != 0 { - n += 1 + sovAgent(uint64(m.Rss)) - } - if m.Vms != 0 { - n += 1 + sovAgent(uint64(m.Vms)) - } - if m.Swap != 0 { - n += 1 + sovAgent(uint64(m.Swap)) - } - if m.Shared != 0 { - n += 1 + sovAgent(uint64(m.Shared)) - } - if m.Text != 0 { - n += 1 + sovAgent(uint64(m.Text)) - } - if m.Lib != 0 { - n += 1 + sovAgent(uint64(m.Lib)) - } - if m.Data != 0 { - n += 1 + sovAgent(uint64(m.Data)) + if m.ActiveClients != 0 { + n += 1 + sovAgent(uint64(m.ActiveClients)) } - if m.Dirty != 0 { - n += 1 + sovAgent(uint64(m.Dirty)) + if m.Interval != 0 { + n += 1 + sovAgent(uint64(m.Interval)) } return n } -func (m *CPUStat) Size() (n int) { +func (m *Process) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.LastCpu) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.TotalPct != 0 { - n += 5 - } - if m.UserPct != 0 { - n += 5 + if m.Key != 0 { + n += 1 + sovAgent(uint64(m.Key)) } - if m.SystemPct != 0 { - n += 5 + if m.Pid != 0 { + n += 1 + sovAgent(uint64(m.Pid)) } - if m.NumThreads != 0 { - n += 1 + sovAgent(uint64(m.NumThreads)) + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Cpus) > 0 { - for _, e := range m.Cpus { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Command != nil { + l = m.Command.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.Nice != 0 { - n += 1 + sovAgent(uint64(m.Nice)) + if m.User != nil { + l = m.User.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.UserTime != 0 { - n += 1 + sovAgent(uint64(m.UserTime)) + if m.Memory != nil { + l = m.Memory.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.SystemTime != 0 { - n += 1 + sovAgent(uint64(m.SystemTime)) + if m.Cpu != nil { + l = m.Cpu.Size() + n += 1 + l + sovAgent(uint64(l)) } - return n -} - -func (m *SingleCPUStat) Size() (n int) { - if m == nil { - return 0 + if m.CreateTime != 0 { + n += 1 + sovAgent(uint64(m.CreateTime)) } - var l int - _ = l - l = len(m.Name) - if l > 0 { + if m.Container != nil { + l = m.Container.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.TotalPct != 0 { - n += 5 - } - return n -} - -func (m *CPUInfo) Size() (n int) { - if m == nil { - return 0 + if m.OpenFdCount != 0 { + n += 1 + sovAgent(uint64(m.OpenFdCount)) } - var l int - _ = l - if m.Number != 0 { - n += 1 + sovAgent(uint64(m.Number)) + if m.State != 0 { + n += 1 + sovAgent(uint64(m.State)) } - l = len(m.Vendor) - if l > 0 { + if m.IoStat != nil { + l = m.IoStat.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Family) + l = len(m.ContainerId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Model) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.ContainerKey != 0 { + n += 1 + sovAgent(uint64(m.ContainerKey)) } - l = len(m.PhysicalId) + if m.VoluntaryCtxSwitches != 0 { + n += 2 + sovAgent(uint64(m.VoluntaryCtxSwitches)) + } + if m.InvoluntaryCtxSwitches != 0 { + n += 2 + sovAgent(uint64(m.InvoluntaryCtxSwitches)) + } + l = len(m.ByteKey) if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + n += 2 + l + sovAgent(uint64(l)) } - l = len(m.CoreId) + l = len(m.ContainerByteKey) if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + n += 2 + l + sovAgent(uint64(l)) } - if m.Cores != 0 { - n += 1 + sovAgent(uint64(m.Cores)) + if m.NsPid != 0 { + n += 2 + sovAgent(uint64(m.NsPid)) } - if m.Mhz != 0 { - n += 1 + sovAgent(uint64(m.Mhz)) + if m.Networks != nil { + l = m.Networks.Size() + n += 2 + l + sovAgent(uint64(l)) } - if m.CacheSize != 0 { - n += 1 + sovAgent(uint64(m.CacheSize)) + if len(m.ProcessContext) > 0 { + for _, s := range m.ProcessContext { + l = len(s) + n += 2 + l + sovAgent(uint64(l)) + } } return n } -func (m *Host) Size() (n int) { +func (m *ProcessDiscovery) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Id != 0 { - n += 1 + sovAgent(uint64(m.Id)) + if m.Pid != 0 { + n += 1 + sovAgent(uint64(m.Pid)) } - if m.OrgId != 0 { - n += 1 + sovAgent(uint64(m.OrgId)) + if m.NsPid != 0 { + n += 1 + sovAgent(uint64(m.NsPid)) } - l = len(m.Name) - if l > 0 { + if m.Host != nil { + l = m.Host.Size() n += 1 + l + sovAgent(uint64(l)) } - if len(m.AllTags) > 0 { - for _, s := range m.AllTags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.NumCpus != 0 { - n += 1 + sovAgent(uint64(m.NumCpus)) + if m.Command != nil { + l = m.Command.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.TotalMemory != 0 { - n += 1 + sovAgent(uint64(m.TotalMemory)) + if m.User != nil { + l = m.User.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.TagIndex != 0 { - n += 1 + sovAgent(uint64(m.TagIndex)) + if m.CreateTime != 0 { + n += 1 + sovAgent(uint64(m.CreateTime)) } - if m.TagsModified != 0 { - n += 1 + sovAgent(uint64(m.TagsModified)) + l = len(m.ByteKey) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *Cluster) Size() (n int) { +func (m *Command) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.NodeCount != 0 { - n += 1 + sovAgent(uint64(m.NodeCount)) - } - if len(m.KubeletVersions) > 0 { - for k, v := range m.KubeletVersions { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.ApiServerVersions) > 0 { - for k, v := range m.ApiServerVersions { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + if len(m.Args) > 0 { + for _, s := range m.Args { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) } } - if m.PodCapacity != 0 { - n += 1 + sovAgent(uint64(m.PodCapacity)) - } - if m.PodAllocatable != 0 { - n += 1 + sovAgent(uint64(m.PodAllocatable)) + l = len(m.Cwd) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.MemoryAllocatable != 0 { - n += 1 + sovAgent(uint64(m.MemoryAllocatable)) + l = len(m.Root) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.MemoryCapacity != 0 { - n += 1 + sovAgent(uint64(m.MemoryCapacity)) + if m.OnDisk { + n += 2 } - if m.CpuAllocatable != 0 { - n += 1 + sovAgent(uint64(m.CpuAllocatable)) + if m.Ppid != 0 { + n += 1 + sovAgent(uint64(m.Ppid)) } - if m.CpuCapacity != 0 { - n += 1 + sovAgent(uint64(m.CpuCapacity)) + if m.Pgroup != 0 { + n += 1 + sovAgent(uint64(m.Pgroup)) } - l = len(m.ResourceVersion) + l = len(m.Exe) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.CreationTimestamp != 0 { - n += 1 + sovAgent(uint64(m.CreationTimestamp)) - } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() + l = len(m.Comm) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *Metadata) Size() (n int) { +func (m *ProcessUser) Size() (n int) { if m == nil { return 0 } @@ -29606,83 +30817,72 @@ func (m *Metadata) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Uid != 0 { + n += 1 + sovAgent(uint64(m.Uid)) } - l = len(m.Uid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Gid != 0 { + n += 1 + sovAgent(uint64(m.Gid)) } - if m.CreationTimestamp != 0 { - n += 1 + sovAgent(uint64(m.CreationTimestamp)) + if m.Euid != 0 { + n += 1 + sovAgent(uint64(m.Euid)) } - if m.DeletionTimestamp != 0 { - n += 1 + sovAgent(uint64(m.DeletionTimestamp)) + if m.Egid != 0 { + n += 1 + sovAgent(uint64(m.Egid)) } - if len(m.Labels) > 0 { - for _, s := range m.Labels { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Suid != 0 { + n += 1 + sovAgent(uint64(m.Suid)) } - if len(m.Annotations) > 0 { - for _, s := range m.Annotations { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Sgid != 0 { + n += 1 + sovAgent(uint64(m.Sgid)) } - if len(m.OwnerReferences) > 0 { - for _, e := range m.OwnerReferences { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + return n +} + +func (m *ProcessNetworks) Size() (n int) { + if m == nil { + return 0 } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + var l int + _ = l + if m.ConnectionRate != 0 { + n += 5 } - if len(m.Finalizers) > 0 { - for _, s := range m.Finalizers { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.BytesRate != 0 { + n += 5 } return n } -func (m *OwnerReference) Size() (n int) { +func (m *ContainerAddr) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) + l = len(m.Ip) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Uid) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Port != 0 { + n += 1 + sovAgent(uint64(m.Port)) } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Protocol != 0 { + n += 1 + sovAgent(uint64(m.Protocol)) } return n } -func (m *ObjectReference) Size() (n int) { +func (m *Container) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Kind) + l = len(m.Type) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Namespace) + l = len(m.Id) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } @@ -29690,839 +30890,797 @@ func (m *ObjectReference) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Uid) + l = len(m.Image) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ApiVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.CpuLimit != 0 { + n += 5 } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.MemoryLimit != 0 { + n += 1 + sovAgent(uint64(m.MemoryLimit)) } - l = len(m.FieldPath) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.State != 0 { + n += 1 + sovAgent(uint64(m.State)) } - return n -} - -func (m *ServicePort) Size() (n int) { - if m == nil { - return 0 + if m.Health != 0 { + n += 1 + sovAgent(uint64(m.Health)) } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Created != 0 { + n += 1 + sovAgent(uint64(m.Created)) } - l = len(m.Protocol) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Rbps != 0 { + n += 5 } - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) + if m.Wbps != 0 { + n += 5 } - l = len(m.TargetPort) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Key != 0 { + n += 1 + sovAgent(uint64(m.Key)) } - if m.NodePort != 0 { - n += 1 + sovAgent(uint64(m.NodePort)) + if m.NetRcvdPs != 0 { + n += 5 } - return n -} - -func (m *ServiceSessionAffinityConfig) Size() (n int) { - if m == nil { - return 0 + if m.NetSentPs != 0 { + n += 5 } - var l int - _ = l - if m.ClientIPTimeoutSeconds != 0 { - n += 1 + sovAgent(uint64(m.ClientIPTimeoutSeconds)) + if m.NetRcvdBps != 0 { + n += 6 } - return n -} - -func (m *Node) Size() (n int) { - if m == nil { - return 0 + if m.NetSentBps != 0 { + n += 6 } - var l int - _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.UserPct != 0 { + n += 6 } - l = len(m.PodCIDR) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.SystemPct != 0 { + n += 6 } - if len(m.PodCIDRs) > 0 { - for _, s := range m.PodCIDRs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.TotalPct != 0 { + n += 6 } - if m.Unschedulable { - n += 2 + if m.MemRss != 0 { + n += 2 + sovAgent(uint64(m.MemRss)) } - if len(m.Taints) > 0 { - for _, e := range m.Taints { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.MemCache != 0 { + n += 2 + sovAgent(uint64(m.MemCache)) } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Host != nil { + l = m.Host.Size() + n += 2 + l + sovAgent(uint64(l)) } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Started != 0 { + n += 2 + sovAgent(uint64(m.Started)) } - if len(m.Roles) > 0 { - for _, s := range m.Roles { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.ByteKey) + if l > 0 { + n += 2 + l + sovAgent(uint64(l)) } if len(m.Tags) > 0 { for _, s := range m.Tags { l = len(s) - n += 1 + l + sovAgent(uint64(l)) + n += 2 + l + sovAgent(uint64(l)) } } - l = len(m.ProviderID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Addresses) > 0 { + for _, e := range m.Addresses { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.ThreadCount != 0 { + n += 2 + sovAgent(uint64(m.ThreadCount)) } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.ThreadLimit != 0 { + n += 2 + sovAgent(uint64(m.ThreadLimit)) + } + if m.MemUsage != 0 { + n += 2 + sovAgent(uint64(m.MemUsage)) + } + if m.CpuUsageNs != 0 { + n += 6 + } + if m.MemAccounted != 0 { + n += 2 + sovAgent(uint64(m.MemAccounted)) + } + if m.CpuRequest != 0 { + n += 6 + } + if m.MemoryRequest != 0 { + n += 2 + sovAgent(uint64(m.MemoryRequest)) + } + l = len(m.RepoDigest) + if l > 0 { + n += 2 + l + sovAgent(uint64(l)) } return n } -func (m *NodeStatus) Size() (n int) { +func (m *ProcessStat) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Capacity) > 0 { - for k, v := range m.Capacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Allocatable) > 0 { - for k, v := range m.Allocatable { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } + if m.Pid != 0 { + n += 1 + sovAgent(uint64(m.Pid)) } - if len(m.NodeAddresses) > 0 { - for k, v := range m.NodeAddresses { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } + if m.CreateTime != 0 { + n += 1 + sovAgent(uint64(m.CreateTime)) } - l = len(m.Status) - if l > 0 { + if m.Memory != nil { + l = m.Memory.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.KubeletVersion) - if l > 0 { + if m.Cpu != nil { + l = m.Cpu.Size() n += 1 + l + sovAgent(uint64(l)) } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Nice != 0 { + n += 1 + sovAgent(uint64(m.Nice)) } - if len(m.Images) > 0 { - for _, e := range m.Images { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Threads != 0 { + n += 1 + sovAgent(uint64(m.Threads)) } - l = len(m.KubeProxyVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.OpenFdCount != 0 { + n += 1 + sovAgent(uint64(m.OpenFdCount)) } - l = len(m.OperatingSystem) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Key != 0 { + n += 1 + sovAgent(uint64(m.Key)) } - l = len(m.Architecture) + l = len(m.ContainerId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.KernelVersion) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.ContainerState != 0 { + n += 1 + sovAgent(uint64(m.ContainerState)) } - l = len(m.OsImage) + if m.ProcessState != 0 { + n += 1 + sovAgent(uint64(m.ProcessState)) + } + if m.ContainerHealth != 0 { + n += 1 + sovAgent(uint64(m.ContainerHealth)) + } + if m.ContainerRbps != 0 { + n += 6 + } + if m.ContainerWbps != 0 { + n += 6 + } + if m.ContainerKey != 0 { + n += 2 + sovAgent(uint64(m.ContainerKey)) + } + if m.IoStat != nil { + l = m.IoStat.Size() + n += 2 + l + sovAgent(uint64(l)) + } + if m.ContainerNetRcvdPs != 0 { + n += 6 + } + if m.ContainerNetSentPs != 0 { + n += 6 + } + if m.ContainerNetRcvdBps != 0 { + n += 6 + } + if m.ContainerNetSentBps != 0 { + n += 6 + } + if m.VoluntaryCtxSwitches != 0 { + n += 2 + sovAgent(uint64(m.VoluntaryCtxSwitches)) + } + if m.InvoluntaryCtxSwitches != 0 { + n += 2 + sovAgent(uint64(m.InvoluntaryCtxSwitches)) + } + l = len(m.ByteKey) if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + n += 2 + l + sovAgent(uint64(l)) } - l = len(m.ContainerRuntimeVersion) + l = len(m.ContainerByteKey) if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + n += 2 + l + sovAgent(uint64(l)) + } + if m.Networks != nil { + l = m.Networks.Size() + n += 2 + l + sovAgent(uint64(l)) } return n } -func (m *NodeCondition) Size() (n int) { +func (m *ProcStatsWithPerm) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.OpenFDCount != 0 { + n += 1 + sovAgent(uint64(m.OpenFDCount)) } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.ReadCount != 0 { + n += 1 + sovAgent(uint64(m.ReadCount)) } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) + if m.WriteCount != 0 { + n += 1 + sovAgent(uint64(m.WriteCount)) } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.ReadBytes != 0 { + n += 1 + sovAgent(uint64(m.ReadBytes)) } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.WriteBytes != 0 { + n += 1 + sovAgent(uint64(m.WriteBytes)) } return n } -func (m *ContainerImage) Size() (n int) { +func (m *ProcStatsWithPermByPID) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Names) > 0 { - for _, s := range m.Names { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) + if len(m.StatsByPID) > 0 { + for k, v := range m.StatsByPID { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovAgent(uint64(l)) + } + mapEntrySize := 1 + sovAgent(uint64(k)) + l + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) } } - if m.SizeBytes != 0 { - n += 1 + sovAgent(uint64(m.SizeBytes)) - } return n } -func (m *Taint) Size() (n int) { +func (m *ContainerStat) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Key) + l = len(m.Id) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.UserPct != 0 { + n += 5 } - l = len(m.Effect) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.SystemPct != 0 { + n += 5 } - if m.TimeAdded != 0 { - n += 1 + sovAgent(uint64(m.TimeAdded)) + if m.TotalPct != 0 { + n += 5 } - return n -} - -func (m *ServiceSpec) Size() (n int) { - if m == nil { - return 0 + if m.CpuLimit != 0 { + n += 5 } - var l int - _ = l - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.MemRss != 0 { + n += 1 + sovAgent(uint64(m.MemRss)) } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.MemCache != 0 { + n += 1 + sovAgent(uint64(m.MemCache)) } - l = len(m.ClusterIP) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.MemLimit != 0 { + n += 1 + sovAgent(uint64(m.MemLimit)) } - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Rbps != 0 { + n += 5 } - if len(m.ExternalIPs) > 0 { - for _, s := range m.ExternalIPs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Wbps != 0 { + n += 5 } - l = len(m.SessionAffinity) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.NetRcvdPs != 0 { + n += 5 } - l = len(m.LoadBalancerIP) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.NetSentPs != 0 { + n += 5 } - if len(m.LoadBalancerSourceRanges) > 0 { - for _, s := range m.LoadBalancerSourceRanges { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.NetRcvdBps != 0 { + n += 5 } - l = len(m.ExternalName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.NetSentBps != 0 { + n += 5 } - l = len(m.ExternalTrafficPolicy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.State != 0 { + n += 1 + sovAgent(uint64(m.State)) } - if m.HealthCheckNodePort != 0 { - n += 1 + sovAgent(uint64(m.HealthCheckNodePort)) + if m.Health != 0 { + n += 2 + sovAgent(uint64(m.Health)) } - if m.PublishNotReadyAddresses { - n += 2 + if m.Key != 0 { + n += 2 + sovAgent(uint64(m.Key)) } - if m.SessionAffinityConfig != nil { - l = m.SessionAffinityConfig.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Started != 0 { + n += 2 + sovAgent(uint64(m.Started)) } - l = len(m.IpFamily) + l = len(m.ByteKey) if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + n += 2 + l + sovAgent(uint64(l)) } - return n -} - -func (m *ServiceStatus) Size() (n int) { - if m == nil { - return 0 + if m.ThreadCount != 0 { + n += 2 + sovAgent(uint64(m.ThreadCount)) } - var l int - _ = l - if len(m.LoadBalancerIngress) > 0 { - for _, s := range m.LoadBalancerIngress { - l = len(s) - n += 2 + l + sovAgent(uint64(l)) - } + if m.ThreadLimit != 0 { + n += 2 + sovAgent(uint64(m.ThreadLimit)) + } + if m.MemUsage != 0 { + n += 2 + sovAgent(uint64(m.MemUsage)) + } + if m.CpuUsageNs != 0 { + n += 6 + } + if m.MemAccounted != 0 { + n += 2 + sovAgent(uint64(m.MemAccounted)) + } + if m.CpuRequest != 0 { + n += 6 + } + if m.MemoryRequest != 0 { + n += 2 + sovAgent(uint64(m.MemoryRequest)) } return n } -func (m *Service) Size() (n int) { +func (m *SystemInfo) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Status != nil { - l = m.Status.Size() + l = len(m.Uuid) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Yaml) - if l > 0 { + if m.Os != nil { + l = m.Os.Size() n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) + if len(m.Cpus) > 0 { + for _, e := range m.Cpus { + l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.TotalMemory != 0 { + n += 1 + sovAgent(uint64(m.TotalMemory)) } return n } -func (m *DeploymentCondition) Size() (n int) { +func (m *OSInfo) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Status) + l = len(m.Platform) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Reason) + l = len(m.Family) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Message) + l = len(m.Version) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.LastUpdateTime != 0 { - n += 1 + sovAgent(uint64(m.LastUpdateTime)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) + l = len(m.KernelVersion) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *Deployment) Size() (n int) { +func (m *IOStat) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.ReadRate != 0 { + n += 5 } - if m.ReplicasDesired != 0 { - n += 1 + sovAgent(uint64(m.ReplicasDesired)) + if m.WriteRate != 0 { + n += 5 } - l = len(m.DeploymentStrategy) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.ReadBytesRate != 0 { + n += 5 } - l = len(m.MaxUnavailable) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.WriteBytesRate != 0 { + n += 5 } - l = len(m.MaxSurge) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + return n +} + +func (m *MemoryStat) Size() (n int) { + if m == nil { + return 0 } - if m.Paused { - n += 2 + var l int + _ = l + if m.Rss != 0 { + n += 1 + sovAgent(uint64(m.Rss)) } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Vms != 0 { + n += 1 + sovAgent(uint64(m.Vms)) } - if m.Replicas != 0 { - n += 1 + sovAgent(uint64(m.Replicas)) + if m.Swap != 0 { + n += 1 + sovAgent(uint64(m.Swap)) } - if m.UpdatedReplicas != 0 { - n += 1 + sovAgent(uint64(m.UpdatedReplicas)) + if m.Shared != 0 { + n += 1 + sovAgent(uint64(m.Shared)) } - if m.ReadyReplicas != 0 { - n += 1 + sovAgent(uint64(m.ReadyReplicas)) + if m.Text != 0 { + n += 1 + sovAgent(uint64(m.Text)) } - if m.AvailableReplicas != 0 { - n += 1 + sovAgent(uint64(m.AvailableReplicas)) + if m.Lib != 0 { + n += 1 + sovAgent(uint64(m.Lib)) } - if m.UnavailableReplicas != 0 { - n += 1 + sovAgent(uint64(m.UnavailableReplicas)) + if m.Data != 0 { + n += 1 + sovAgent(uint64(m.Data)) } - l = len(m.ConditionMessage) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Dirty != 0 { + n += 1 + sovAgent(uint64(m.Dirty)) } - l = len(m.Yaml) + return n +} + +func (m *CPUStat) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.LastCpu) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.TotalPct != 0 { + n += 5 } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) - } + if m.UserPct != 0 { + n += 5 } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 2 + l + sovAgent(uint64(l)) + if m.SystemPct != 0 { + n += 5 } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { + if m.NumThreads != 0 { + n += 1 + sovAgent(uint64(m.NumThreads)) + } + if len(m.Cpus) > 0 { + for _, e := range m.Cpus { l = e.Size() - n += 2 + l + sovAgent(uint64(l)) + n += 1 + l + sovAgent(uint64(l)) } } + if m.Nice != 0 { + n += 1 + sovAgent(uint64(m.Nice)) + } + if m.UserTime != 0 { + n += 1 + sovAgent(uint64(m.UserTime)) + } + if m.SystemTime != 0 { + n += 1 + sovAgent(uint64(m.SystemTime)) + } return n } -func (m *ReplicaSetCondition) Size() (n int) { +func (m *SingleCPUStat) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Status) + if m.TotalPct != 0 { + n += 5 + } + return n +} + +func (m *CPUInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Number != 0 { + n += 1 + sovAgent(uint64(m.Number)) + } + l = len(m.Vendor) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) + l = len(m.Family) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Reason) + l = len(m.Model) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Message) + l = len(m.PhysicalId) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.CoreId) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.Cores != 0 { + n += 1 + sovAgent(uint64(m.Cores)) + } + if m.Mhz != 0 { + n += 1 + sovAgent(uint64(m.Mhz)) + } + if m.CacheSize != 0 { + n += 1 + sovAgent(uint64(m.CacheSize)) + } return n } -func (m *ReplicaSet) Size() (n int) { +func (m *Host) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ReplicasDesired != 0 { - n += 1 + sovAgent(uint64(m.ReplicasDesired)) - } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Replicas != 0 { - n += 1 + sovAgent(uint64(m.Replicas)) - } - if m.FullyLabeledReplicas != 0 { - n += 1 + sovAgent(uint64(m.FullyLabeledReplicas)) - } - if m.ReadyReplicas != 0 { - n += 1 + sovAgent(uint64(m.ReadyReplicas)) + if m.Id != 0 { + n += 1 + sovAgent(uint64(m.Id)) } - if m.AvailableReplicas != 0 { - n += 1 + sovAgent(uint64(m.AvailableReplicas)) + if m.OrgId != 0 { + n += 1 + sovAgent(uint64(m.OrgId)) } - l = len(m.Yaml) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { + if len(m.AllTags) > 0 { + for _, s := range m.AllTags { l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.NumCpus != 0 { + n += 1 + sovAgent(uint64(m.NumCpus)) } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.TotalMemory != 0 { + n += 1 + sovAgent(uint64(m.TotalMemory)) } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.TagIndex != 0 { + n += 1 + sovAgent(uint64(m.TagIndex)) + } + if m.TagsModified != 0 { + n += 1 + sovAgent(uint64(m.TagsModified)) } return n } -func (m *LabelSelectorRequirement) Size() (n int) { +func (m *Cluster) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.NodeCount != 0 { + n += 1 + sovAgent(uint64(m.NodeCount)) } - l = len(m.Operator) + if len(m.KubeletVersions) > 0 { + for k, v := range m.KubeletVersions { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + if len(m.ApiServerVersions) > 0 { + for k, v := range m.ApiServerVersions { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + if m.PodCapacity != 0 { + n += 1 + sovAgent(uint64(m.PodCapacity)) + } + if m.PodAllocatable != 0 { + n += 1 + sovAgent(uint64(m.PodAllocatable)) + } + if m.MemoryAllocatable != 0 { + n += 1 + sovAgent(uint64(m.MemoryAllocatable)) + } + if m.MemoryCapacity != 0 { + n += 1 + sovAgent(uint64(m.MemoryCapacity)) + } + if m.CpuAllocatable != 0 { + n += 1 + sovAgent(uint64(m.CpuAllocatable)) + } + if m.CpuCapacity != 0 { + n += 1 + sovAgent(uint64(m.CpuCapacity)) + } + l = len(m.ResourceVersion) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Values) > 0 { - for _, s := range m.Values { + if m.CreationTimestamp != 0 { + n += 1 + sovAgent(uint64(m.CreationTimestamp)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { l = len(s) n += 1 + l + sovAgent(uint64(l)) } } + if m.Metrics != nil { + l = m.Metrics.Size() + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *Pod) Size() (n int) { +func (m *Metadata) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.IP) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.NominatedNodeName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.NodeName) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Phase) + l = len(m.Namespace) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.RestartCount != 0 { - n += 1 + sovAgent(uint64(m.RestartCount)) - } - if len(m.ContainerStatuses) > 0 { - for _, e := range m.ContainerStatuses { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - l = len(m.ConditionMessage) + l = len(m.Uid) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.CreationTimestamp != 0 { + n += 1 + sovAgent(uint64(m.CreationTimestamp)) } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.DeletionTimestamp != 0 { + n += 1 + sovAgent(uint64(m.DeletionTimestamp)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { + if len(m.Labels) > 0 { + for _, s := range m.Labels { l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - if m.Host != nil { - l = m.Host.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() + if len(m.Annotations) > 0 { + for _, s := range m.Annotations { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - if len(m.InitContainerStatuses) > 0 { - for _, e := range m.InitContainerStatuses { + if len(m.OwnerReferences) > 0 { + for _, e := range m.OwnerReferences { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - l = len(m.QOSClass) + l = len(m.ResourceVersion) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.PriorityClass) - if l > 0 { - n += 2 + l + sovAgent(uint64(l)) - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 2 + l + sovAgent(uint64(l)) - } - if m.StartTime != 0 { - n += 2 + sovAgent(uint64(m.StartTime)) - } - if m.ScheduledTime != 0 { - n += 2 + sovAgent(uint64(m.ScheduledTime)) - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 2 + l + sovAgent(uint64(l)) + if len(m.Finalizers) > 0 { + for _, s := range m.Finalizers { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) } } return n } -func (m *PodCondition) Size() (n int) { +func (m *OwnerReference) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.LastProbeTime != 0 { - n += 1 + sovAgent(uint64(m.LastProbeTime)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) + l = len(m.Uid) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Message) + l = len(m.Kind) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *ContainerStatus) Size() (n int) { +func (m *ObjectReference) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) + l = len(m.Kind) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ContainerID) + l = len(m.Namespace) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Ready { - n += 2 + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.RestartCount != 0 { - n += 1 + sovAgent(uint64(m.RestartCount)) + l = len(m.Uid) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.State) + l = len(m.ApiVersion) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Message) + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.FieldPath) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *Manifest) Size() (n int) { +func (m *ServicePort) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) - } - l = len(m.ResourceVersion) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Uid) + l = len(m.Protocol) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Content) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Port != 0 { + n += 1 + sovAgent(uint64(m.Port)) } - l = len(m.ContentType) + l = len(m.TargetPort) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Version) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.NodePort != 0 { + n += 1 + sovAgent(uint64(m.NodePort)) } return n } -func (m *NamespaceCondition) Size() (n int) { +func (m *ServiceSessionAffinityConfig) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.ClientIPTimeoutSeconds != 0 { + n += 1 + sovAgent(uint64(m.ClientIPTimeoutSeconds)) } return n } -func (m *Namespace) Size() (n int) { +func (m *Node) Size() (n int) { if m == nil { return 0 } @@ -30532,147 +31690,138 @@ func (m *Namespace) Size() (n int) { l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Status) + l = len(m.PodCIDR) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ConditionMessage) - if l > 0 { + if len(m.PodCIDRs) > 0 { + for _, s := range m.PodCIDRs { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Unschedulable { + n += 2 + } + if len(m.Taints) > 0 { + for _, e := range m.Taints { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Status != nil { + l = m.Status.Size() n += 1 + l + sovAgent(uint64(l)) } l = len(m.Yaml) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { + if len(m.Roles) > 0 { + for _, s := range m.Roles { l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } + l = len(m.ProviderID) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Metrics != nil { + l = m.Metrics.Size() + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *ResourceRequirements) Size() (n int) { +func (m *NodeStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Limits) > 0 { - for k, v := range m.Limits { + if len(m.Capacity) > 0 { + for k, v := range m.Capacity { _ = k _ = v mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) } } - if len(m.Requests) > 0 { - for k, v := range m.Requests { + if len(m.Allocatable) > 0 { + for k, v := range m.Allocatable { _ = k _ = v mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) } } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Type != 0 { - n += 1 + sovAgent(uint64(m.Type)) - } - return n -} - -func (m *ResourceMetrics) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.MetricValues) > 0 { - for k, v := range m.MetricValues { + if len(m.NodeAddresses) > 0 { + for k, v := range m.NodeAddresses { _ = k _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) } } - return n -} - -func (m *JobSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Parallelism != 0 { - n += 1 + sovAgent(uint64(m.Parallelism)) - } - if m.Completions != 0 { - n += 1 + sovAgent(uint64(m.Completions)) - } - if m.ActiveDeadlineSeconds != 0 { - n += 1 + sovAgent(uint64(m.ActiveDeadlineSeconds)) + l = len(m.Status) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.BackoffLimit != 0 { - n += 1 + sovAgent(uint64(m.BackoffLimit)) + l = len(m.KubeletVersion) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if m.ManualSelector { - n += 2 - } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { + if len(m.Images) > 0 { + for _, e := range m.Images { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - return n -} - -func (m *JobStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConditionMessage) + l = len(m.KubeProxyVersion) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.StartTime != 0 { - n += 1 + sovAgent(uint64(m.StartTime)) + l = len(m.OperatingSystem) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.CompletionTime != 0 { - n += 1 + sovAgent(uint64(m.CompletionTime)) + l = len(m.Architecture) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.Active != 0 { - n += 1 + sovAgent(uint64(m.Active)) + l = len(m.KernelVersion) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.Succeeded != 0 { - n += 1 + sovAgent(uint64(m.Succeeded)) + l = len(m.OsImage) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.Failed != 0 { - n += 1 + sovAgent(uint64(m.Failed)) + l = len(m.ContainerRuntimeVersion) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *JobCondition) Size() (n int) { +func (m *NodeCondition) Size() (n int) { if m == nil { return 0 } @@ -30686,9 +31835,6 @@ func (m *JobCondition) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.LastProbeTime != 0 { - n += 1 + sovAgent(uint64(m.LastProbeTime)) - } if m.LastTransitionTime != 0 { n += 1 + sovAgent(uint64(m.LastTransitionTime)) } @@ -30703,97 +31849,135 @@ func (m *JobCondition) Size() (n int) { return n } -func (m *Job) Size() (n int) { +func (m *ContainerImage) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Names) > 0 { + for _, s := range m.Names { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.SizeBytes != 0 { + n += 1 + sovAgent(uint64(m.SizeBytes)) } - if m.Status != nil { - l = m.Status.Size() + return n +} + +func (m *Taint) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Yaml) + l = len(m.Value) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.Effect) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.TimeAdded != 0 { + n += 1 + sovAgent(uint64(m.TimeAdded)) } return n } -func (m *CronJobSpec) Size() (n int) { +func (m *ServiceSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Schedule) + if len(m.Ports) > 0 { + for _, e := range m.Ports { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Selectors) > 0 { + for _, e := range m.Selectors { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.ClusterIP) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.StartingDeadlineSeconds != 0 { - n += 1 + sovAgent(uint64(m.StartingDeadlineSeconds)) - } - l = len(m.ConcurrencyPolicy) + l = len(m.Type) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Suspend { - n += 2 + if len(m.ExternalIPs) > 0 { + for _, s := range m.ExternalIPs { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } - if m.SuccessfulJobsHistoryLimit != 0 { - n += 1 + sovAgent(uint64(m.SuccessfulJobsHistoryLimit)) + l = len(m.SessionAffinity) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.FailedJobsHistoryLimit != 0 { - n += 1 + sovAgent(uint64(m.FailedJobsHistoryLimit)) + l = len(m.LoadBalancerIP) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() + if len(m.LoadBalancerSourceRanges) > 0 { + for _, s := range m.LoadBalancerSourceRanges { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } + l = len(m.ExternalName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.ExternalTrafficPolicy) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.HealthCheckNodePort != 0 { + n += 1 + sovAgent(uint64(m.HealthCheckNodePort)) + } + if m.PublishNotReadyAddresses { + n += 2 + } + if m.SessionAffinityConfig != nil { + l = m.SessionAffinityConfig.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.IpFamily) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *CronJobStatus) Size() (n int) { +func (m *ServiceStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Active) > 0 { - for _, e := range m.Active { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.LoadBalancerIngress) > 0 { + for _, s := range m.LoadBalancerIngress { + l = len(s) + n += 2 + l + sovAgent(uint64(l)) } } - if m.LastScheduleTime != 0 { - n += 1 + sovAgent(uint64(m.LastScheduleTime)) - } return n } -func (m *CronJob) Size() (n int) { +func (m *Service) Size() (n int) { if m == nil { return 0 } @@ -30821,75 +32005,127 @@ func (m *CronJob) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } + if m.Metrics != nil { + l = m.Metrics.Size() + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *DaemonSetSpec) Size() (n int) { +func (m *DeploymentCondition) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.DeploymentStrategy) + l = len(m.Status) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.MaxUnavailable) + l = len(m.Reason) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.MinReadySeconds != 0 { - n += 1 + sovAgent(uint64(m.MinReadySeconds)) + l = len(m.Message) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.RevisionHistoryLimit != 0 { - n += 1 + sovAgent(uint64(m.RevisionHistoryLimit)) + if m.LastUpdateTime != 0 { + n += 1 + sovAgent(uint64(m.LastUpdateTime)) } - if len(m.ResourceRequirements) > 0 { - for _, e := range m.ResourceRequirements { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) } return n } -func (m *DaemonSetStatus) Size() (n int) { +func (m *Deployment) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.CurrentNumberScheduled != 0 { - n += 1 + sovAgent(uint64(m.CurrentNumberScheduled)) + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.NumberMisscheduled != 0 { - n += 1 + sovAgent(uint64(m.NumberMisscheduled)) + if m.ReplicasDesired != 0 { + n += 1 + sovAgent(uint64(m.ReplicasDesired)) } - if m.DesiredNumberScheduled != 0 { - n += 1 + sovAgent(uint64(m.DesiredNumberScheduled)) + l = len(m.DeploymentStrategy) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.NumberReady != 0 { - n += 1 + sovAgent(uint64(m.NumberReady)) + l = len(m.MaxUnavailable) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.UpdatedNumberScheduled != 0 { - n += 1 + sovAgent(uint64(m.UpdatedNumberScheduled)) + l = len(m.MaxSurge) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.NumberAvailable != 0 { - n += 1 + sovAgent(uint64(m.NumberAvailable)) + if m.Paused { + n += 2 } - if m.NumberUnavailable != 0 { - n += 1 + sovAgent(uint64(m.NumberUnavailable)) + if len(m.Selectors) > 0 { + for _, e := range m.Selectors { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Replicas != 0 { + n += 1 + sovAgent(uint64(m.Replicas)) + } + if m.UpdatedReplicas != 0 { + n += 1 + sovAgent(uint64(m.UpdatedReplicas)) + } + if m.ReadyReplicas != 0 { + n += 1 + sovAgent(uint64(m.ReadyReplicas)) + } + if m.AvailableReplicas != 0 { + n += 1 + sovAgent(uint64(m.AvailableReplicas)) + } + if m.UnavailableReplicas != 0 { + n += 1 + sovAgent(uint64(m.UnavailableReplicas)) + } + l = len(m.ConditionMessage) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Yaml) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.ResourceRequirements) > 0 { + for _, e := range m.ResourceRequirements { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } + } + if m.Metrics != nil { + l = m.Metrics.Size() + n += 2 + l + sovAgent(uint64(l)) + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } } return n } -func (m *DaemonSetCondition) Size() (n int) { +func (m *ReplicaSetCondition) Size() (n int) { if m == nil { return 0 } @@ -30917,7 +32153,7 @@ func (m *DaemonSetCondition) Size() (n int) { return n } -func (m *DaemonSet) Size() (n int) { +func (m *ReplicaSet) Size() (n int) { if m == nil { return 0 } @@ -30927,13 +32163,26 @@ func (m *DaemonSet) Size() (n int) { l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.ReplicasDesired != 0 { + n += 1 + sovAgent(uint64(m.ReplicasDesired)) } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Selectors) > 0 { + for _, e := range m.Selectors { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Replicas != 0 { + n += 1 + sovAgent(uint64(m.Replicas)) + } + if m.FullyLabeledReplicas != 0 { + n += 1 + sovAgent(uint64(m.FullyLabeledReplicas)) + } + if m.ReadyReplicas != 0 { + n += 1 + sovAgent(uint64(m.ReadyReplicas)) + } + if m.AvailableReplicas != 0 { + n += 1 + sovAgent(uint64(m.AvailableReplicas)) } l = len(m.Yaml) if l > 0 { @@ -30945,6 +32194,12 @@ func (m *DaemonSet) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } + if len(m.ResourceRequirements) > 0 { + for _, e := range m.ResourceRequirements { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } if m.Metrics != nil { l = m.Metrics.Size() n += 1 + l + sovAgent(uint64(l)) @@ -30958,35 +32213,85 @@ func (m *DaemonSet) Size() (n int) { return n } -func (m *StatefulSetSpec) Size() (n int) { +func (m *LabelSelectorRequirement) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DesiredReplicas != 0 { - n += 1 + sovAgent(uint64(m.DesiredReplicas)) + l = len(m.Key) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Selectors) > 0 { - for _, e := range m.Selectors { + l = len(m.Operator) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Values) > 0 { + for _, s := range m.Values { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *Pod) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.IP) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.NominatedNodeName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.NodeName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Phase) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.RestartCount != 0 { + n += 1 + sovAgent(uint64(m.RestartCount)) + } + if len(m.ContainerStatuses) > 0 { + for _, e := range m.ContainerStatuses { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - l = len(m.ServiceName) + l = len(m.ConditionMessage) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.PodManagementPolicy) + l = len(m.Status) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.UpdateStrategy) + l = len(m.Yaml) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Partition != 0 { - n += 1 + sovAgent(uint64(m.Partition)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Host != nil { + l = m.Host.Size() + n += 1 + l + sovAgent(uint64(l)) } if len(m.ResourceRequirements) > 0 { for _, e := range m.ResourceRequirements { @@ -30994,31 +32299,40 @@ func (m *StatefulSetSpec) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } - return n -} - -func (m *StatefulSetStatus) Size() (n int) { - if m == nil { - return 0 + if len(m.InitContainerStatuses) > 0 { + for _, e := range m.InitContainerStatuses { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - var l int - _ = l - if m.Replicas != 0 { - n += 1 + sovAgent(uint64(m.Replicas)) + l = len(m.QOSClass) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.ReadyReplicas != 0 { - n += 1 + sovAgent(uint64(m.ReadyReplicas)) + l = len(m.PriorityClass) + if l > 0 { + n += 2 + l + sovAgent(uint64(l)) } - if m.CurrentReplicas != 0 { - n += 1 + sovAgent(uint64(m.CurrentReplicas)) + if m.Metrics != nil { + l = m.Metrics.Size() + n += 2 + l + sovAgent(uint64(l)) } - if m.UpdatedReplicas != 0 { - n += 1 + sovAgent(uint64(m.UpdatedReplicas)) + if m.StartTime != 0 { + n += 2 + sovAgent(uint64(m.StartTime)) + } + if m.ScheduledTime != 0 { + n += 2 + sovAgent(uint64(m.ScheduledTime)) + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 2 + l + sovAgent(uint64(l)) + } } return n } -func (m *StatefulSetCondition) Size() (n int) { +func (m *PodCondition) Size() (n int) { if m == nil { return 0 } @@ -31032,6 +32346,9 @@ func (m *StatefulSetCondition) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.LastProbeTime != 0 { + n += 1 + sovAgent(uint64(m.LastProbeTime)) + } if m.LastTransitionTime != 0 { n += 1 + sovAgent(uint64(m.LastTransitionTime)) } @@ -31046,380 +32363,369 @@ func (m *StatefulSetCondition) Size() (n int) { return n } -func (m *StatefulSet) Size() (n int) { +func (m *ContainerStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() + l = len(m.Name) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Spec != nil { - l = m.Spec.Size() + l = len(m.ContainerID) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Status != nil { - l = m.Status.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Ready { + n += 2 } - l = len(m.Yaml) + if m.RestartCount != 0 { + n += 1 + sovAgent(uint64(m.RestartCount)) + } + l = len(m.State) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Metrics != nil { - l = m.Metrics.Size() + l = len(m.Message) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } return n } -func (m *PersistentVolume) Size() (n int) { +func (m *Manifest) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() + if m.Type != 0 { + n += 1 + sovAgent(uint64(m.Type)) + } + l = len(m.ResourceVersion) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Spec != nil { - l = m.Spec.Size() + l = len(m.Uid) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Status != nil { - l = m.Status.Size() + l = len(m.Content) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Yaml) + l = len(m.ContentType) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.Version) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *PersistentVolumeSpec) Size() (n int) { +func (m *NamespaceCondition) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Capacity) > 0 { - for k, v := range m.Capacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - l = len(m.PersistentVolumeType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.AccessModes) > 0 { - for _, s := range m.AccessModes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.ClaimRef != nil { - l = m.ClaimRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.PersistentVolumeReclaimPolicy) + l = len(m.Type) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.StorageClassName) + l = len(m.Status) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.MountOptions) > 0 { - for _, s := range m.MountOptions { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) } - l = len(m.VolumeMode) + l = len(m.Reason) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.NodeAffinity) > 0 { - for _, e := range m.NodeAffinity { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.PersistentVolumeSource != nil { - l = m.PersistentVolumeSource.Size() + l = len(m.Message) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *PersistentVolumeSource) Size() (n int) { +func (m *Namespace) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.GcePersistentDisk != nil { - l = m.GcePersistentDisk.Size() + if m.Metadata != nil { + l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.AwsElasticBlockStore != nil { - l = m.AwsElasticBlockStore.Size() + l = len(m.Status) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.AzureFile != nil { - l = m.AzureFile.Size() + l = len(m.ConditionMessage) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.AzureDisk != nil { - l = m.AzureDisk.Size() + l = len(m.Yaml) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Csi != nil { - l = m.Csi.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *GCEPersistentDiskVolumeSource) Size() (n int) { +func (m *ResourceRequirements) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.PdName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Limits) > 0 { + for k, v := range m.Limits { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } } - l = len(m.FsType) + if len(m.Requests) > 0 { + for k, v := range m.Requests { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Partition != 0 { - n += 1 + sovAgent(uint64(m.Partition)) - } - if m.ReadOnly { - n += 2 + if m.Type != 0 { + n += 1 + sovAgent(uint64(m.Type)) } return n } -func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) { +func (m *ResourceMetrics) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.VolumeID) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.FsType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Partition != 0 { - n += 1 + sovAgent(uint64(m.Partition)) - } - if m.ReadOnly { - n += 2 + if len(m.MetricValues) > 0 { + for k, v := range m.MetricValues { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } } return n } -func (m *AzureFilePersistentVolumeSource) Size() (n int) { +func (m *JobSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.SecretName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Parallelism != 0 { + n += 1 + sovAgent(uint64(m.Parallelism)) } - l = len(m.ShareName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Completions != 0 { + n += 1 + sovAgent(uint64(m.Completions)) } - if m.ReadOnly { + if m.ActiveDeadlineSeconds != 0 { + n += 1 + sovAgent(uint64(m.ActiveDeadlineSeconds)) + } + if m.BackoffLimit != 0 { + n += 1 + sovAgent(uint64(m.BackoffLimit)) + } + if len(m.Selectors) > 0 { + for _, e := range m.Selectors { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.ManualSelector { n += 2 } - l = len(m.SecretNamespace) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.ResourceRequirements) > 0 { + for _, e := range m.ResourceRequirements { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *AzureDiskVolumeSource) Size() (n int) { +func (m *JobStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.DiskName) + l = len(m.ConditionMessage) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.DiskURI) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.StartTime != 0 { + n += 1 + sovAgent(uint64(m.StartTime)) } - l = len(m.CachingMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.CompletionTime != 0 { + n += 1 + sovAgent(uint64(m.CompletionTime)) } - l = len(m.FsType) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Active != 0 { + n += 1 + sovAgent(uint64(m.Active)) } - if m.ReadOnly { - n += 2 + if m.Succeeded != 0 { + n += 1 + sovAgent(uint64(m.Succeeded)) } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.Failed != 0 { + n += 1 + sovAgent(uint64(m.Failed)) } return n } -func (m *CSIVolumeSource) Size() (n int) { +func (m *JobCondition) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Driver) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VolumeHandle) + l = len(m.Type) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.ReadOnly { - n += 2 - } - l = len(m.FsType) + l = len(m.Status) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.VolumeAttributes) > 0 { - for k, v := range m.VolumeAttributes { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if m.ControllerPublishSecretRef != nil { - l = m.ControllerPublishSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.NodeStageSecretRef != nil { - l = m.NodeStageSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.LastProbeTime != 0 { + n += 1 + sovAgent(uint64(m.LastProbeTime)) } - if m.NodePublishSecretRef != nil { - l = m.NodePublishSecretRef.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) } - if m.ControllerExpandSecretRef != nil { - l = m.ControllerExpandSecretRef.Size() + l = len(m.Reason) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.NodeExpandSecretRef != nil { - l = m.NodeExpandSecretRef.Size() + l = len(m.Message) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *SecretReference) Size() (n int) { +func (m *Job) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) - if l > 0 { + if m.Metadata != nil { + l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Namespace) + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Yaml) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } return n } -func (m *PersistentVolumeStatus) Size() (n int) { +func (m *CronJobSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Phase) + l = len(m.Schedule) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.StartingDeadlineSeconds != 0 { + n += 1 + sovAgent(uint64(m.StartingDeadlineSeconds)) } - l = len(m.Reason) + l = len(m.ConcurrencyPolicy) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.Suspend { + n += 2 + } + if m.SuccessfulJobsHistoryLimit != 0 { + n += 1 + sovAgent(uint64(m.SuccessfulJobsHistoryLimit)) + } + if m.FailedJobsHistoryLimit != 0 { + n += 1 + sovAgent(uint64(m.FailedJobsHistoryLimit)) + } + if len(m.ResourceRequirements) > 0 { + for _, e := range m.ResourceRequirements { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } return n } -func (m *NodeSelectorTerm) Size() (n int) { +func (m *CronJobStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.MatchExpressions) > 0 { - for _, e := range m.MatchExpressions { + if len(m.Active) > 0 { + for _, e := range m.Active { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if len(m.MatchFields) > 0 { - for _, e := range m.MatchFields { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.LastScheduleTime != 0 { + n += 1 + sovAgent(uint64(m.LastScheduleTime)) } return n } -func (m *PersistentVolumeClaim) Size() (n int) { +func (m *CronJob) Size() (n int) { if m == nil { return 0 } @@ -31450,102 +32756,72 @@ func (m *PersistentVolumeClaim) Size() (n int) { return n } -func (m *PersistentVolumeClaimStatus) Size() (n int) { +func (m *DaemonSetSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Phase) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.AccessModes) > 0 { - for _, s := range m.AccessModes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.Capacity) > 0 { - for k, v := range m.Capacity { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } - } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { + if len(m.Selectors) > 0 { + for _, e := range m.Selectors { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - return n -} - -func (m *PersistentVolumeClaimSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.AccessModes) > 0 { - for _, s := range m.AccessModes { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.Resources != nil { - l = m.Resources.Size() + l = len(m.DeploymentStrategy) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.VolumeName) + l = len(m.MaxUnavailable) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Selector) > 0 { - for _, e := range m.Selector { + if m.MinReadySeconds != 0 { + n += 1 + sovAgent(uint64(m.MinReadySeconds)) + } + if m.RevisionHistoryLimit != 0 { + n += 1 + sovAgent(uint64(m.RevisionHistoryLimit)) + } + if len(m.ResourceRequirements) > 0 { + for _, e := range m.ResourceRequirements { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - l = len(m.StorageClassName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - l = len(m.VolumeMode) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.DataSource != nil { - l = m.DataSource.Size() - n += 1 + l + sovAgent(uint64(l)) - } return n } -func (m *TypedLocalObjectReference) Size() (n int) { +func (m *DaemonSetStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ApiGroup) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.CurrentNumberScheduled != 0 { + n += 1 + sovAgent(uint64(m.CurrentNumberScheduled)) } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.NumberMisscheduled != 0 { + n += 1 + sovAgent(uint64(m.NumberMisscheduled)) } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.DesiredNumberScheduled != 0 { + n += 1 + sovAgent(uint64(m.DesiredNumberScheduled)) + } + if m.NumberReady != 0 { + n += 1 + sovAgent(uint64(m.NumberReady)) + } + if m.UpdatedNumberScheduled != 0 { + n += 1 + sovAgent(uint64(m.UpdatedNumberScheduled)) + } + if m.NumberAvailable != 0 { + n += 1 + sovAgent(uint64(m.NumberAvailable)) + } + if m.NumberUnavailable != 0 { + n += 1 + sovAgent(uint64(m.NumberUnavailable)) } return n } -func (m *PersistentVolumeClaimCondition) Size() (n int) { +func (m *DaemonSetCondition) Size() (n int) { if m == nil { return 0 } @@ -31559,9 +32835,6 @@ func (m *PersistentVolumeClaimCondition) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.LastProbeTime != 0 { - n += 1 + sovAgent(uint64(m.LastProbeTime)) - } if m.LastTransitionTime != 0 { n += 1 + sovAgent(uint64(m.LastTransitionTime)) } @@ -31576,133 +32849,136 @@ func (m *PersistentVolumeClaimCondition) Size() (n int) { return n } -func (m *PolicyRule) Size() (n int) { +func (m *DaemonSet) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Verbs) > 0 { - for _, s := range m.Verbs { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.ApiGroups) > 0 { - for _, s := range m.ApiGroups { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Resources) > 0 { - for _, s := range m.Resources { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.ResourceNames) > 0 { - for _, s := range m.ResourceNames { + l = len(m.Yaml) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - if len(m.NonResourceURLs) > 0 { - for _, s := range m.NonResourceURLs { - l = len(s) + if m.Metrics != nil { + l = m.Metrics.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } return n } -func (m *Subject) Size() (n int) { +func (m *StatefulSetSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.DesiredReplicas != 0 { + n += 1 + sovAgent(uint64(m.DesiredReplicas)) } - l = len(m.ApiGroup) + if len(m.Selectors) > 0 { + for _, e := range m.Selectors { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.ServiceName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Name) + l = len(m.PodManagementPolicy) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Namespace) + l = len(m.UpdateStrategy) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.Partition != 0 { + n += 1 + sovAgent(uint64(m.Partition)) + } + if len(m.ResourceRequirements) > 0 { + for _, e := range m.ResourceRequirements { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } return n } -func (m *Role) Size() (n int) { +func (m *StatefulSetStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Replicas != 0 { + n += 1 + sovAgent(uint64(m.Replicas)) } - if len(m.Rules) > 0 { - for _, e := range m.Rules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.ReadyReplicas != 0 { + n += 1 + sovAgent(uint64(m.ReadyReplicas)) } - l = len(m.Yaml) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.CurrentReplicas != 0 { + n += 1 + sovAgent(uint64(m.CurrentReplicas)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.UpdatedReplicas != 0 { + n += 1 + sovAgent(uint64(m.UpdatedReplicas)) } return n } -func (m *RoleBinding) Size() (n int) { +func (m *StatefulSetCondition) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.Subjects) > 0 { - for _, e := range m.Subjects { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if m.RoleRef != nil { - l = m.RoleRef.Size() + l = len(m.Type) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Yaml) + l = len(m.Status) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) + } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *ClusterRole) Size() (n int) { +func (m *StatefulSet) Size() (n int) { if m == nil { return 0 } @@ -31712,17 +32988,13 @@ func (m *ClusterRole) Size() (n int) { l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - if len(m.Rules) > 0 { - for _, e := range m.Rules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.AggregationRules) > 0 { - for _, e := range m.AggregationRules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovAgent(uint64(l)) } l = len(m.Yaml) if l > 0 { @@ -31738,10 +33010,16 @@ func (m *ClusterRole) Size() (n int) { l = m.Metrics.Size() n += 1 + l + sovAgent(uint64(l)) } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } return n } -func (m *ClusterRoleBinding) Size() (n int) { +func (m *PersistentVolume) Size() (n int) { if m == nil { return 0 } @@ -31751,14 +33029,12 @@ func (m *ClusterRoleBinding) Size() (n int) { l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - if len(m.Subjects) > 0 { - for _, e := range m.Subjects { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.RoleRef != nil { - l = m.RoleRef.Size() + if m.Status != nil { + l = m.Status.Size() n += 1 + l + sovAgent(uint64(l)) } l = len(m.Yaml) @@ -31774,220 +33050,300 @@ func (m *ClusterRoleBinding) Size() (n int) { return n } -func (m *ServiceAccount) Size() (n int) { +func (m *PersistentVolumeSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metadata != nil { - l = m.Metadata.Size() + if len(m.Capacity) > 0 { + for k, v := range m.Capacity { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + l = len(m.PersistentVolumeType) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Secrets) > 0 { - for _, e := range m.Secrets { - l = e.Size() + if len(m.AccessModes) > 0 { + for _, s := range m.AccessModes { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - if len(m.ImagePullSecrets) > 0 { - for _, e := range m.ImagePullSecrets { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.ClaimRef != nil { + l = m.ClaimRef.Size() + n += 1 + l + sovAgent(uint64(l)) } - if m.AutomountServiceAccountToken { - n += 2 + l = len(m.PersistentVolumeReclaimPolicy) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Yaml) + l = len(m.StorageClassName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tags) > 0 { - for _, s := range m.Tags { + if len(m.MountOptions) > 0 { + for _, s := range m.MountOptions { l = len(s) n += 1 + l + sovAgent(uint64(l)) } } + l = len(m.VolumeMode) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.NodeAffinity) > 0 { + for _, e := range m.NodeAffinity { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.PersistentVolumeSource != nil { + l = m.PersistentVolumeSource.Size() + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *IngressServiceBackend) Size() (n int) { +func (m *PersistentVolumeSource) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ServiceName) - if l > 0 { + if m.GcePersistentDisk != nil { + l = m.GcePersistentDisk.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.PortName) - if l > 0 { + if m.AwsElasticBlockStore != nil { + l = m.AwsElasticBlockStore.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.PortNumber != 0 { - n += 1 + sovAgent(uint64(m.PortNumber)) + if m.AzureFile != nil { + l = m.AzureFile.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.AzureDisk != nil { + l = m.AzureDisk.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Csi != nil { + l = m.Csi.Size() + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *IngressBackend) Size() (n int) { +func (m *GCEPersistentDiskVolumeSource) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Service != nil { - l = m.Service.Size() + l = len(m.PdName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Resource != nil { - l = m.Resource.Size() + l = len(m.FsType) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.Partition != 0 { + n += 1 + sovAgent(uint64(m.Partition)) + } + if m.ReadOnly { + n += 2 + } return n } -func (m *IngressTLS) Size() (n int) { +func (m *AWSElasticBlockStoreVolumeSource) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Hosts) > 0 { - for _, s := range m.Hosts { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.VolumeID) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.SecretName) + l = len(m.FsType) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.Partition != 0 { + n += 1 + sovAgent(uint64(m.Partition)) + } + if m.ReadOnly { + n += 2 + } return n } -func (m *HTTPIngressPath) Size() (n int) { +func (m *AzureFilePersistentVolumeSource) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Path) + l = len(m.SecretName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Backend != nil { - l = m.Backend.Size() + l = len(m.ShareName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.PathType) + if m.ReadOnly { + n += 2 + } + l = len(m.SecretNamespace) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *IngressRule) Size() (n int) { +func (m *AzureDiskVolumeSource) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Host) + l = len(m.DiskName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.HttpPaths) > 0 { - for _, e := range m.HttpPaths { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.DiskURI) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.CachingMode) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.FsType) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.ReadOnly { + n += 2 + } + l = len(m.Kind) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *IngressSpec) Size() (n int) { +func (m *CSIVolumeSource) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DefaultBackend != nil { - l = m.DefaultBackend.Size() + l = len(m.Driver) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Tls) > 0 { - for _, e := range m.Tls { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.VolumeHandle) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Rules) > 0 { - for _, e := range m.Rules { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.ReadOnly { + n += 2 } - l = len(m.IngressClassName) + l = len(m.FsType) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if len(m.VolumeAttributes) > 0 { + for k, v := range m.VolumeAttributes { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + len(v) + sovAgent(uint64(len(v))) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + if m.ControllerPublishSecretRef != nil { + l = m.ControllerPublishSecretRef.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.NodeStageSecretRef != nil { + l = m.NodeStageSecretRef.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.NodePublishSecretRef != nil { + l = m.NodePublishSecretRef.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.ControllerExpandSecretRef != nil { + l = m.ControllerExpandSecretRef.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.NodeExpandSecretRef != nil { + l = m.NodeExpandSecretRef.Size() + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *PortStatus) Size() (n int) { +func (m *SecretReference) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) - } - l = len(m.Protocol) + l = len(m.Name) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Error) + l = len(m.Namespace) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *LoadBalancerIngress) Size() (n int) { +func (m *PersistentVolumeStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Ip) + l = len(m.Phase) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Hostname) + l = len(m.Message) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Ports) > 0 { - for _, e := range m.Ports { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *IngressStatus) Size() (n int) { +func (m *NodeSelectorTerm) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Ingress) > 0 { - for _, e := range m.Ingress { + if len(m.MatchExpressions) > 0 { + for _, e := range m.MatchExpressions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.MatchFields) > 0 { + for _, e := range m.MatchFields { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -31995,7 +33351,7 @@ func (m *IngressStatus) Size() (n int) { return n } -func (m *Ingress) Size() (n int) { +func (m *PersistentVolumeClaim) Size() (n int) { if m == nil { return 0 } @@ -32026,229 +33382,298 @@ func (m *Ingress) Size() (n int) { return n } -func (m *KafkaRequestHeader) Size() (n int) { +func (m *PersistentVolumeClaimStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.RequestType != 0 { - n += 1 + sovAgent(uint64(m.RequestType)) + l = len(m.Phase) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.RequestVersion != 0 { - n += 1 + sovAgent(uint64(m.RequestVersion)) + if len(m.AccessModes) > 0 { + for _, s := range m.AccessModes { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Capacity) > 0 { + for k, v := range m.Capacity { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + sovAgent(uint64(v)) + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *KafkaAggregation) Size() (n int) { +func (m *PersistentVolumeClaimSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Header != nil { - l = m.Header.Size() + if len(m.AccessModes) > 0 { + for _, s := range m.AccessModes { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Resources != nil { + l = m.Resources.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Topic) + l = len(m.VolumeName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) + if len(m.Selector) > 0 { + for _, e := range m.Selector { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.StorageClassName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.VolumeMode) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.DataSource != nil { + l = m.DataSource.Size() + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *DataStreamsAggregations) Size() (n int) { +func (m *TypedLocalObjectReference) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.KafkaProduceAggregations != nil { - l = m.KafkaProduceAggregations.Size() + l = len(m.ApiGroup) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.KafkaFetchAggregations != nil { - l = m.KafkaFetchAggregations.Size() + l = len(m.Kind) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.KafkaAggregations) > 0 { - for _, e := range m.KafkaAggregations { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *DataStreamsAggregations_TopicStats) Size() (n int) { +func (m *PersistentVolumeClaimCondition) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Topic) + l = len(m.Type) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) + l = len(m.Status) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - return n -} - -func (m *DataStreamsAggregations_KafkaProduceAggregations) Size() (n int) { - if m == nil { - return 0 + if m.LastProbeTime != 0 { + n += 1 + sovAgent(uint64(m.LastProbeTime)) } - var l int - _ = l - if len(m.Stats) > 0 { - for _, e := range m.Stats { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) + } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *DataStreamsAggregations_KafkaFetchAggregations) Size() (n int) { +func (m *PolicyRule) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Stats) > 0 { - for _, e := range m.Stats { - l = e.Size() + if len(m.Verbs) > 0 { + for _, s := range m.Verbs { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - return n -} - -func (m *HTTPAggregations) Size() (n int) { - if m == nil { - return 0 + if len(m.ApiGroups) > 0 { + for _, s := range m.ApiGroups { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } - var l int - _ = l - if len(m.EndpointAggregations) > 0 { - for _, e := range m.EndpointAggregations { - l = e.Size() + if len(m.Resources) > 0 { + for _, s := range m.Resources { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } - return n -} - -func (m *HTTP2Aggregations) Size() (n int) { - if m == nil { - return 0 + if len(m.ResourceNames) > 0 { + for _, s := range m.ResourceNames { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } - var l int - _ = l - if len(m.EndpointAggregations) > 0 { - for _, e := range m.EndpointAggregations { - l = e.Size() + if len(m.NonResourceURLs) > 0 { + for _, s := range m.NonResourceURLs { + l = len(s) n += 1 + l + sovAgent(uint64(l)) } } return n } -func (m *HTTPStats) Size() (n int) { +func (m *Subject) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.StatsByResponseStatus) > 0 { - for _, e := range m.StatsByResponseStatus { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } - if len(m.StatsByStatusCode) > 0 { - for k, v := range m.StatsByStatusCode { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovAgent(uint64(l)) - } - mapEntrySize := 1 + sovAgent(uint64(k)) + l - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) - } + l = len(m.Kind) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Path) + l = len(m.ApiGroup) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Method != 0 { - n += 1 + sovAgent(uint64(m.Method)) + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.FullPath { - n += 2 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *HTTPStats_Data) Size() (n int) { +func (m *Role) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Count != 0 { - n += 1 + sovAgent(uint64(m.Count)) + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Latencies) + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.Yaml) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.FirstLatencySample != 0 { - n += 9 + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *DNSDatabaseEntry) Size() (n int) { +func (m *RoleBinding) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.NameOffsets) > 0 { - for _, e := range m.NameOffsets { - n += 1 + sovAgent(uint64(e)) + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Subjects) > 0 { + for _, e := range m.Subjects { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.RoleRef != nil { + l = m.RoleRef.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Yaml) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) } } return n } -func (m *ResourceList) Size() (n int) { +func (m *ClusterRole) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.MetricValues) > 0 { - for k, v := range m.MetricValues { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 - n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.AggregationRules) > 0 { + for _, e := range m.AggregationRules { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.Yaml) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) } } + if m.Metrics != nil { + l = m.Metrics.Size() + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *VerticalPodAutoscaler) Size() (n int) { +func (m *ClusterRoleBinding) Size() (n int) { if m == nil { return 0 } @@ -32258,12 +33683,14 @@ func (m *VerticalPodAutoscaler) Size() (n int) { l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Subjects) > 0 { + for _, e := range m.Subjects { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.Status != nil { - l = m.Status.Size() + if m.RoleRef != nil { + l = m.RoleRef.Size() n += 1 + l + sovAgent(uint64(l)) } l = len(m.Yaml) @@ -32276,200 +33703,231 @@ func (m *VerticalPodAutoscaler) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } return n } -func (m *VerticalPodAutoscalerCondition) Size() (n int) { +func (m *ServiceAccount) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { + if m.Metadata != nil { + l = m.Metadata.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if len(m.Secrets) > 0 { + for _, e := range m.Secrets { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) + if len(m.ImagePullSecrets) > 0 { + for _, e := range m.ImagePullSecrets { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + if m.AutomountServiceAccountToken { + n += 2 } - l = len(m.Message) + l = len(m.Yaml) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } return n } -func (m *VerticalPodAutoscalerSpec) Size() (n int) { +func (m *IngressServiceBackend) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Target != nil { - l = m.Target.Size() + l = len(m.ServiceName) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.UpdateMode) + l = len(m.PortName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.ResourcePolicies) > 0 { - for _, e := range m.ResourcePolicies { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.PortNumber != 0 { + n += 1 + sovAgent(uint64(m.PortNumber)) } return n } -func (m *VerticalPodAutoscalerTarget) Size() (n int) { +func (m *IngressBackend) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Kind) - if l > 0 { + if m.Service != nil { + l = m.Service.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Name) - if l > 0 { + if m.Resource != nil { + l = m.Resource.Size() n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *ContainerResourcePolicy) Size() (n int) { +func (m *IngressTLS) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ContainerName) + if len(m.Hosts) > 0 { + for _, s := range m.Hosts { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.SecretName) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Mode) + return n +} + +func (m *HTTPIngressPath) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Path) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.MinAllowed != nil { - l = m.MinAllowed.Size() + if m.Backend != nil { + l = m.Backend.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.MaxAllowed != nil { - l = m.MaxAllowed.Size() + l = len(m.PathType) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.ControlledResource) > 0 { - for _, s := range m.ControlledResource { - l = len(s) - n += 1 + l + sovAgent(uint64(l)) - } + return n +} + +func (m *IngressRule) Size() (n int) { + if m == nil { + return 0 } - l = len(m.ControlledValues) + var l int + _ = l + l = len(m.Host) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if len(m.HttpPaths) > 0 { + for _, e := range m.HttpPaths { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } return n } -func (m *VerticalPodAutoscalerStatus) Size() (n int) { +func (m *IngressSpec) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.LastRecommendedDate != 0 { - n += 1 + sovAgent(uint64(m.LastRecommendedDate)) + if m.DefaultBackend != nil { + l = m.DefaultBackend.Size() + n += 1 + l + sovAgent(uint64(l)) } - if len(m.Recommendations) > 0 { - for _, e := range m.Recommendations { + if len(m.Tls) > 0 { + for _, e := range m.Tls { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { + if len(m.Rules) > 0 { + for _, e := range m.Rules { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } } + l = len(m.IngressClassName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } return n } -func (m *ContainerRecommendation) Size() (n int) { +func (m *PortStatus) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ContainerName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.LowerBound != nil { - l = m.LowerBound.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Port != 0 { + n += 1 + sovAgent(uint64(m.Port)) } - if m.UpperBound != nil { - l = m.UpperBound.Size() + l = len(m.Protocol) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.UncappedTarget != nil { - l = m.UncappedTarget.Size() + l = len(m.Error) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } return n } -func (m *VPACondition) Size() (n int) { +func (m *LoadBalancerIngress) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ConditionType) + l = len(m.Ip) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - l = len(m.ConditionStatus) + l = len(m.Hostname) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.LastTransitionTime != 0 { - n += 1 + sovAgent(uint64(m.LastTransitionTime)) + if len(m.Ports) > 0 { + for _, e := range m.Ports { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + return n +} + +func (m *IngressStatus) Size() (n int) { + if m == nil { + return 0 } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) + var l int + _ = l + if len(m.Ingress) > 0 { + for _, e := range m.Ingress { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *HorizontalPodAutoscaler) Size() (n int) { +func (m *Ingress) Size() (n int) { if m == nil { return 0 } @@ -32497,143 +33955,121 @@ func (m *HorizontalPodAutoscaler) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } - if len(m.Conditions) > 0 { - for _, e := range m.Conditions { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } - } return n } -func (m *HorizontalPodAutoscalerSpec) Size() (n int) { +func (m *KafkaRequestHeader) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.MinReplicas != 0 { - n += 1 + sovAgent(uint64(m.MinReplicas)) - } - if m.MaxReplicas != 0 { - n += 1 + sovAgent(uint64(m.MaxReplicas)) - } - if len(m.Metrics) > 0 { - for _, e := range m.Metrics { - l = e.Size() - n += 1 + l + sovAgent(uint64(l)) - } + if m.RequestType != 0 { + n += 1 + sovAgent(uint64(m.RequestType)) } - if m.Behavior != nil { - l = m.Behavior.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.RequestVersion != 0 { + n += 1 + sovAgent(uint64(m.RequestVersion)) } return n } -func (m *HorizontalPodAutoscalerTarget) Size() (n int) { +func (m *KafkaAggregation) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Kind) - if l > 0 { + if m.Header != nil { + l = m.Header.Size() n += 1 + l + sovAgent(uint64(l)) } - l = len(m.Name) + l = len(m.Topic) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.Count != 0 { + n += 1 + sovAgent(uint64(m.Count)) + } return n } -func (m *HorizontalPodAutoscalerMetricSpec) Size() (n int) { +func (m *DataStreamsAggregations) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { + if m.KafkaProduceAggregations != nil { + l = m.KafkaProduceAggregations.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.Object != nil { - l = m.Object.Size() + if m.KafkaFetchAggregations != nil { + l = m.KafkaFetchAggregations.Size() n += 1 + l + sovAgent(uint64(l)) } - if m.Pods != nil { - l = m.Pods.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.KafkaAggregations) > 0 { + for _, e := range m.KafkaAggregations { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } - if m.Resource != nil { - l = m.Resource.Size() - n += 1 + l + sovAgent(uint64(l)) + return n +} + +func (m *DataStreamsAggregations_TopicStats) Size() (n int) { + if m == nil { + return 0 } - if m.ContainerResource != nil { - l = m.ContainerResource.Size() + var l int + _ = l + l = len(m.Topic) + if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.External != nil { - l = m.External.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Count != 0 { + n += 1 + sovAgent(uint64(m.Count)) } return n } -func (m *ObjectMetricSource) Size() (n int) { +func (m *DataStreamsAggregations_KafkaProduceAggregations) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DescribedObject != nil { - l = m.DescribedObject.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.Stats) > 0 { + for _, e := range m.Stats { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *MetricTarget) Size() (n int) { +func (m *DataStreamsAggregations_KafkaFetchAggregations) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Value != 0 { - n += 1 + sovAgent(uint64(m.Value)) + if len(m.Stats) > 0 { + for _, e := range m.Stats { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *MetricIdentifier) Size() (n int) { +func (m *HTTPAggregations) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if len(m.LabelSelector) > 0 { - for _, e := range m.LabelSelector { + if len(m.EndpointAggregations) > 0 { + for _, e := range m.EndpointAggregations { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -32641,110 +34077,139 @@ func (m *MetricIdentifier) Size() (n int) { return n } -func (m *PodsMetricSource) Size() (n int) { +func (m *HTTP2Aggregations) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.EndpointAggregations) > 0 { + for _, e := range m.EndpointAggregations { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } } return n } -func (m *ResourceMetricSource) Size() (n int) { +func (m *HTTPStats) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ResourceName) + if len(m.StatsByResponseStatus) > 0 { + for _, e := range m.StatsByResponseStatus { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.StatsByStatusCode) > 0 { + for k, v := range m.StatsByStatusCode { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovAgent(uint64(l)) + } + mapEntrySize := 1 + sovAgent(uint64(k)) + l + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } + } + l = len(m.Path) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Method != 0 { + n += 1 + sovAgent(uint64(m.Method)) + } + if m.FullPath { + n += 2 } return n } -func (m *ContainerResourceMetricSource) Size() (n int) { +func (m *HTTPStats_Data) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ResourceName) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) + if m.Count != 0 { + n += 1 + sovAgent(uint64(m.Count)) } - l = len(m.Container) + l = len(m.Latencies) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } + if m.FirstLatencySample != 0 { + n += 9 + } return n } -func (m *ExternalMetricSource) Size() (n int) { +func (m *DNSDatabaseEntry) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Metric != nil { - l = m.Metric.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.Target != nil { - l = m.Target.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.NameOffsets) > 0 { + for _, e := range m.NameOffsets { + n += 1 + sovAgent(uint64(e)) + } } return n } -func (m *HorizontalPodAutoscalerBehavior) Size() (n int) { +func (m *ResourceList) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.ScaleUp != nil { - l = m.ScaleUp.Size() - n += 1 + l + sovAgent(uint64(l)) - } - if m.ScaleDown != nil { - l = m.ScaleDown.Size() - n += 1 + l + sovAgent(uint64(l)) + if len(m.MetricValues) > 0 { + for k, v := range m.MetricValues { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovAgent(uint64(len(k))) + 1 + 8 + n += mapEntrySize + 1 + sovAgent(uint64(mapEntrySize)) + } } return n } -func (m *HPAScalingRules) Size() (n int) { +func (m *VerticalPodAutoscaler) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.StabilizationWindowSeconds != 0 { - n += 1 + sovAgent(uint64(m.StabilizationWindowSeconds)) + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) } - l = len(m.SelectPolicy) + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Yaml) if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if len(m.Policies) > 0 { - for _, e := range m.Policies { + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { l = e.Size() n += 1 + l + sovAgent(uint64(l)) } @@ -32752,7 +34217,7 @@ func (m *HPAScalingRules) Size() (n int) { return n } -func (m *HPAScalingPolicy) Size() (n int) { +func (m *VerticalPodAutoscalerCondition) Size() (n int) { if m == nil { return 0 } @@ -32762,13 +34227,480 @@ func (m *HPAScalingPolicy) Size() (n int) { if l > 0 { n += 1 + l + sovAgent(uint64(l)) } - if m.Value != 0 { - n += 1 + sovAgent(uint64(m.Value)) + l = len(m.Status) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) } - if m.PeriodSeconds != 0 { - n += 1 + sovAgent(uint64(m.PeriodSeconds)) + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) } - return n + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *VerticalPodAutoscalerSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.UpdateMode) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.ResourcePolicies) > 0 { + for _, e := range m.ResourcePolicies { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *VerticalPodAutoscalerTarget) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Kind) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ContainerResourcePolicy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ContainerName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Mode) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.MinAllowed != nil { + l = m.MinAllowed.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.MaxAllowed != nil { + l = m.MaxAllowed.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.ControlledResource) > 0 { + for _, s := range m.ControlledResource { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + l = len(m.ControlledValues) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *VerticalPodAutoscalerStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.LastRecommendedDate != 0 { + n += 1 + sovAgent(uint64(m.LastRecommendedDate)) + } + if len(m.Recommendations) > 0 { + for _, e := range m.Recommendations { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *ContainerRecommendation) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ContainerName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.LowerBound != nil { + l = m.LowerBound.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.UpperBound != nil { + l = m.UpperBound.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.UncappedTarget != nil { + l = m.UncappedTarget.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *VPACondition) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ConditionType) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.ConditionStatus) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.LastTransitionTime != 0 { + n += 1 + sovAgent(uint64(m.LastTransitionTime)) + } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *HorizontalPodAutoscaler) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Spec != nil { + l = m.Spec.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Yaml) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Tags) > 0 { + for _, s := range m.Tags { + l = len(s) + n += 1 + l + sovAgent(uint64(l)) + } + } + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *HorizontalPodAutoscalerSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.MinReplicas != 0 { + n += 1 + sovAgent(uint64(m.MinReplicas)) + } + if m.MaxReplicas != 0 { + n += 1 + sovAgent(uint64(m.MaxReplicas)) + } + if len(m.Metrics) > 0 { + for _, e := range m.Metrics { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + if m.Behavior != nil { + l = m.Behavior.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *HorizontalPodAutoscalerTarget) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Kind) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *HorizontalPodAutoscalerMetricSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Object != nil { + l = m.Object.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Pods != nil { + l = m.Pods.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Resource != nil { + l = m.Resource.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.ContainerResource != nil { + l = m.ContainerResource.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.External != nil { + l = m.External.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ObjectMetricSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DescribedObject != nil { + l = m.DescribedObject.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Metric != nil { + l = m.Metric.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *MetricTarget) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Value != 0 { + n += 1 + sovAgent(uint64(m.Value)) + } + return n +} + +func (m *MetricIdentifier) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.LabelSelector) > 0 { + for _, e := range m.LabelSelector { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *PodsMetricSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metric != nil { + l = m.Metric.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ResourceMetricSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ResourceName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ContainerResourceMetricSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ResourceName) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + l = len(m.Container) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *ExternalMetricSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Metric != nil { + l = m.Metric.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.Target != nil { + l = m.Target.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *HorizontalPodAutoscalerBehavior) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScaleUp != nil { + l = m.ScaleUp.Size() + n += 1 + l + sovAgent(uint64(l)) + } + if m.ScaleDown != nil { + l = m.ScaleDown.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *HPAScalingRules) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StabilizationWindowSeconds != 0 { + n += 1 + sovAgent(uint64(m.StabilizationWindowSeconds)) + } + l = len(m.SelectPolicy) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if len(m.Policies) > 0 { + for _, e := range m.Policies { + l = e.Size() + n += 1 + l + sovAgent(uint64(l)) + } + } + return n +} + +func (m *HPAScalingPolicy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Type) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Value != 0 { + n += 1 + sovAgent(uint64(m.Value)) + } + if m.PeriodSeconds != 0 { + n += 1 + sovAgent(uint64(m.PeriodSeconds)) + } + return n } func (m *HorizontalPodAutoscalerStatus) Size() (n int) { @@ -33086,39 +35018,2668 @@ func (m *NetworkPolicyPeer) Size() (n int) { n += 1 + l + sovAgent(uint64(l)) } } - if m.IpBlock != nil { - l = m.IpBlock.Size() - n += 1 + l + sovAgent(uint64(l)) - } - return n -} + if m.IpBlock != nil { + l = m.IpBlock.Size() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + +func (m *NetworkPolicyPort) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Protocol) + if l > 0 { + n += 1 + l + sovAgent(uint64(l)) + } + if m.Port != 0 { + n += 1 + sovAgent(uint64(m.Port)) + } + if m.EndPort != 0 { + n += 1 + sovAgent(uint64(m.EndPort)) + } + return n +} + +func sovAgent(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozAgent(x uint64) (n int) { + return sovAgent(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ResCollector) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResCollector: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResCollector: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResCollector_Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Status == nil { + m.Status = &CollectorStatus{} + } + if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResCollector_Header) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Header: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorProc) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorProc: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorProc: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Processes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Processes = append(m.Processes, &Process{}) + if err := m.Processes[len(m.Processes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Host == nil { + m.Host = &Host{} + } + if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Info == nil { + m.Info = &SystemInfo{} + } + if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + m.GroupId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + } + m.GroupSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Containers = append(m.Containers, &Container{}) + if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NetworkId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) + } + m.ContainerHostType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ContainerHostType |= ContainerHostType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HintMask", wireType) + } + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Hints = &CollectorProc_HintMask{v} + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorProcDiscovery) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorProcDiscovery: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorProcDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + m.GroupId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + } + m.GroupSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProcessDiscoveries", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProcessDiscoveries = append(m.ProcessDiscoveries, &ProcessDiscovery{}) + if err := m.ProcessDiscoveries[len(m.ProcessDiscoveries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Host == nil { + m.Host = &Host{} + } + if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorRealTime: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorRealTime: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stats = append(m.Stats, &ProcessStat{}) + if err := m.Stats[len(m.Stats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HostId", wireType) + } + m.HostId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HostId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OrgId", wireType) + } + m.OrgId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OrgId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + m.GroupId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + } + m.GroupSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) + } + m.NumCpus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NumCpus |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) + } + m.TotalMemory = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalMemory |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerStats", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContainerStats = append(m.ContainerStats, &ContainerStat{}) + if err := m.ContainerStats[len(m.ContainerStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) + } + m.ContainerHostType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ContainerHostType |= ContainerHostType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorContainer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorContainer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorContainer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Info == nil { + m.Info = &SystemInfo{} + } + if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Containers = append(m.Containers, &Container{}) + if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + m.GroupId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + } + m.GroupSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Host == nil { + m.Host = &Host{} + } + if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) + } + m.ContainerHostType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ContainerHostType |= ContainerHostType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NetworkId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorContainerRealTime: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorContainerRealTime: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Stats = append(m.Stats, &ContainerStat{}) + if err := m.Stats[len(m.Stats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) + } + m.NumCpus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NumCpus |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) + } + m.TotalMemory = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalMemory |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HostId", wireType) + } + m.HostId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HostId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + m.GroupId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + } + m.GroupSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) + } + m.ContainerHostType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ContainerHostType |= ContainerHostType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorReqStatus) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorReqStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorReqStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CollectorECSTask) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CollectorECSTask: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CollectorECSTask: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AwsAccountID", wireType) + } + m.AwsAccountID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AwsAccountID |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Region = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + } + m.GroupId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupId |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + } + m.GroupSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GroupSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tasks = append(m.Tasks, &ECSTask{}) + if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ECSTask) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ECSTask: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ECSTask: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Arn", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Arn = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LaunchType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LaunchType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DesiredStatus", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DesiredStatus = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KnownStatus", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.KnownStatus = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Family = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AvailabilityZone", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AvailabilityZone = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Limits == nil { + m.Limits = make(map[string]float64) + } + var mapkey string + var mapvalue float64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthAgent + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthAgent + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapvaluetemp uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + mapvalue = math.Float64frombits(mapvaluetemp) + } else { + iNdEx = entryPreIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Limits[mapkey] = mapvalue + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EphemeralStorageMetrics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.EphemeralStorageMetrics == nil { + m.EphemeralStorageMetrics = make(map[string]int64) + } + var mapkey string + var mapvalue int64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthAgent + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthAgent + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.EphemeralStorageMetrics[mapkey] = mapvalue + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServiceName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VpcId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VpcId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PullStartedAt", wireType) + } + m.PullStartedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PullStartedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PullStoppedAt", wireType) + } + m.PullStoppedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PullStoppedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStoppedAt", wireType) + } + m.ExecutionStoppedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ExecutionStoppedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Containers = append(m.Containers, &ECSContainer{}) + if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EcsTags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EcsTags = append(m.EcsTags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerInstanceTags", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContainerInstanceTags = append(m.ContainerInstanceTags, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } -func (m *NetworkPolicyPort) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Protocol) - if l > 0 { - n += 1 + l + sovAgent(uint64(l)) - } - if m.Port != 0 { - n += 1 + sovAgent(uint64(m.Port)) - } - if m.EndPort != 0 { - n += 1 + sovAgent(uint64(m.EndPort)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovAgent(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozAgent(x uint64) (n int) { - return sovAgent(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *ResCollector) Unmarshal(dAtA []byte) error { +func (m *ECSContainer) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33141,17 +37702,17 @@ func (m *ResCollector) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ResCollector: wiretype end group for non-group") + return fmt.Errorf("proto: ECSContainer: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ResCollector: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ECSContainer: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DockerID", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33161,31 +37722,244 @@ func (m *ResCollector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Header == nil { - m.Header = &ResCollector_Header{} + m.DockerID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DockerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DockerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Image = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImageID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ImageID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType) + } + m.CreatedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CreatedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType) + } + m.StartedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FinishedAt", wireType) + } + m.FinishedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FinishedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DesiredStatus", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if postIndex > l { + return io.ErrUnexpectedEOF } + m.DesiredStatus = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 10: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KnownStatus", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33213,11 +37987,11 @@ func (m *ResCollector) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Message = string(dAtA[iNdEx:postIndex]) + m.KnownStatus = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33244,68 +38018,18 @@ func (m *ResCollector) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Status == nil { - m.Status = &CollectorStatus{} + if m.ExitCode == nil { + m.ExitCode = &ECSContainerExitCode{} } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ExitCode.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthAgent - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResCollector_Header) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Header: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: - if wireType != 0 { + case 12: + if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) } - m.Type = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33315,64 +38039,27 @@ func (m *ResCollector_Header) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorProc) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CollectorProc: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorProc: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: + m.Type = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LogDriver", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33400,11 +38087,11 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.HostName = string(dAtA[iNdEx:postIndex]) + m.LogDriver = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 14: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Processes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LogOptions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33431,16 +38118,109 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Processes = append(m.Processes, &Process{}) - if err := m.Processes[len(m.Processes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.LogOptions == nil { + m.LogOptions = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthAgent + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthAgent + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthAgent + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthAgent + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } + m.LogOptions[mapkey] = mapvalue iNdEx = postIndex - case 4: + case 15: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ContainerArn", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33450,31 +38230,27 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ContainerArn = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 16: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33501,54 +38277,14 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Ports = append(m.Ports, &ECSContainerPort{}) + if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: + case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Networks", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33575,16 +38311,16 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Containers = append(m.Containers, &Container{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Networks = append(m.Networks, &ECSContainerNetwork{}) + if err := m.Networks[len(m.Networks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 11: + case 18: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33594,48 +38330,31 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - m.NetworkId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 12: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } + m.Volumes = append(m.Volumes, &ECSContainerVolume{}) + if err := m.Volumes[len(m.Volumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - case 14: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HintMask", wireType) + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType) } - var v int32 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33645,65 +38364,31 @@ func (m *CollectorProc) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.Hints = &CollectorProc_HintMask{v} - default: - iNdEx = preIndex - skippy, err := skipAgent(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLengthAgent } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthAgent } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CollectorProcDiscovery) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.Health == nil { + m.Health = &ECSContainerHealth{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.Health.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CollectorProcDiscovery: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorProcDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 20: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33731,49 +38416,11 @@ func (m *CollectorProcDiscovery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.HostName = string(dAtA[iNdEx:postIndex]) + m.Labels = append(m.Labels, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: + case 21: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProcessDiscoveries", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33800,16 +38447,88 @@ func (m *CollectorProcDiscovery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProcessDiscoveries = append(m.ProcessDiscoveries, &ProcessDiscovery{}) - if err := m.ProcessDiscoveries[len(m.ProcessDiscoveries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.Limits == nil { + m.Limits = make(map[string]float64) + } + var mapkey string + var mapvalue float64 + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthAgent + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthAgent + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapvaluetemp uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + mapvalue = math.Float64frombits(mapvaluetemp) + } else { + iNdEx = entryPreIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } + m.Limits[mapkey] = mapvalue iNdEx = postIndex - case 5: + case 22: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Snapshotter", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33819,27 +38538,23 @@ func (m *CollectorProcDiscovery) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Snapshotter = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -33862,7 +38577,7 @@ func (m *CollectorProcDiscovery) Unmarshal(dAtA []byte) error { } return nil } -func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { +func (m *ECSContainerNetwork) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33885,15 +38600,15 @@ func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CollectorRealTime: wiretype end group for non-group") + return fmt.Errorf("proto: ECSContainerNetwork: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorRealTime: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ECSContainerNetwork: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NetworkMode", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33921,13 +38636,13 @@ func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.HostName = string(dAtA[iNdEx:postIndex]) + m.NetworkMode = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ipv4Addresses", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -33937,145 +38652,29 @@ func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - m.Stats = append(m.Stats, &ProcessStat{}) - if err := m.Stats[len(m.Stats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Ipv4Addresses = append(m.Ipv4Addresses, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostId", wireType) - } - m.HostId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostId |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OrgId", wireType) - } - m.OrgId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OrgId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) - } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) - } - m.NumCpus = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.NumCpus |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) - } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerStats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ipv6Addresses", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34085,45 +38684,24 @@ func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - m.ContainerStats = append(m.ContainerStats, &ContainerStat{}) - if err := m.ContainerStats[len(m.ContainerStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Ipv6Addresses = append(m.Ipv6Addresses, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 11: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) - } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipAgent(dAtA[iNdEx:]) @@ -34145,7 +38723,7 @@ func (m *CollectorRealTime) Unmarshal(dAtA []byte) error { } return nil } -func (m *CollectorContainer) Unmarshal(dAtA []byte) error { +func (m *ECSContainerPort) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34168,17 +38746,17 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CollectorContainer: wiretype end group for non-group") + return fmt.Errorf("proto: ECSContainerPort: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorContainer: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ECSContainerPort: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerPort", wireType) } - var stringLen uint64 + m.ContainerPort = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34188,29 +38766,16 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.ContainerPort |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34220,33 +38785,29 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Info == nil { - m.Info = &SystemInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Protocol = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HostIp", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34256,31 +38817,29 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - m.Containers = append(m.Containers, &Container{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.HostIp = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HostPort", wireType) } - m.GroupId = 0 + m.HostPort = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34290,35 +38849,66 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GroupId |= int32(b&0x7F) << shift + m.HostPort |= int32(b&0x7F) << shift if b < 0x80 { break } } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err } - m.GroupSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgent } - case 8: + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ECSContainerVolume) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ECSContainerVolume: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ECSContainerVolume: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DockerName", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34328,33 +38918,29 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthAgent } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthAgent } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Host == nil { - m.Host = &Host{} - } - if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.DockerName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) } - m.ContainerHostType = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34364,14 +38950,27 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 11: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Source = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NetworkId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Destination", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34399,7 +38998,7 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NetworkId = string(dAtA[iNdEx:postIndex]) + m.Destination = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -34422,7 +39021,7 @@ func (m *CollectorContainer) Unmarshal(dAtA []byte) error { } return nil } -func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { +func (m *ECSContainerHealth) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34445,15 +39044,15 @@ func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CollectorContainerRealTime: wiretype end group for non-group") + return fmt.Errorf("proto: ECSContainerHealth: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorContainerRealTime: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ECSContainerHealth: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34481,13 +39080,13 @@ func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.HostName = string(dAtA[iNdEx:postIndex]) + m.Status = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Since", wireType) } - var msglen int + m.Since = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34497,31 +39096,16 @@ func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Since |= int64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Stats = append(m.Stats, &ContainerStat{}) - if err := m.Stats[len(m.Stats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) } - m.NumCpus = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34531,73 +39115,33 @@ func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NumCpus |= int32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) - } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + if msglen < 0 { + return ErrInvalidLengthAgent } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HostId", wireType) + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAgent } - m.HostId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HostId |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + if postIndex > l { + return io.ErrUnexpectedEOF } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + if m.ExitCode == nil { + m.ExitCode = &ECSContainerExitCode{} } - m.GroupId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.GroupId |= int32(b&0x7F) << shift - if b < 0x80 { - break - } + if err := m.ExitCode.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupSize", wireType) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) } - m.GroupSize = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34607,30 +39151,24 @@ func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GroupSize |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerHostType", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgent } - m.ContainerHostType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgent - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ContainerHostType |= ContainerHostType(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgent + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.Output = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipAgent(dAtA[iNdEx:]) @@ -34652,7 +39190,7 @@ func (m *CollectorContainerRealTime) Unmarshal(dAtA []byte) error { } return nil } -func (m *CollectorReqStatus) Unmarshal(dAtA []byte) error { +func (m *ECSContainerExitCode) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34675,17 +39213,17 @@ func (m *CollectorReqStatus) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CollectorReqStatus: wiretype end group for non-group") + return fmt.Errorf("proto: ECSContainerExitCode: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CollectorReqStatus: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ECSContainerExitCode: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostName", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType) } - var stringLen uint64 + m.ExitCode = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowAgent @@ -34695,24 +39233,11 @@ func (m *CollectorReqStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.ExitCode |= int32(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthAgent - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthAgent - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.HostName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipAgent(dAtA[iNdEx:]) diff --git a/process/agent.proto_builder.go b/process/agent.proto_builder.go index bd41ded4..bd89051d 100644 --- a/process/agent.proto_builder.go +++ b/process/agent.proto_builder.go @@ -487,6 +487,682 @@ func (x *CollectorReqStatusBuilder) SetHostName(v string) { x.writer.Write(x.scratch) } +type CollectorECSTaskBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte + eCSTaskBuilder ECSTaskBuilder +} + +func NewCollectorECSTaskBuilder(writer io.Writer) *CollectorECSTaskBuilder { + return &CollectorECSTaskBuilder{ + writer: writer, + } +} +func (x *CollectorECSTaskBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *CollectorECSTaskBuilder) SetAwsAccountID(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x8) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *CollectorECSTaskBuilder) SetClusterName(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *CollectorECSTaskBuilder) SetClusterId(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x1a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *CollectorECSTaskBuilder) SetRegion(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x22) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *CollectorECSTaskBuilder) SetGroupId(v int32) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x28) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *CollectorECSTaskBuilder) SetGroupSize(v int32) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x30) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *CollectorECSTaskBuilder) AddTasks(cb func(w *ECSTaskBuilder)) { + x.buf.Reset() + x.eCSTaskBuilder.writer = &x.buf + x.eCSTaskBuilder.scratch = x.scratch + cb(&x.eCSTaskBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x3a) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} + +type ECSTaskBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte + eCSTask_LimitsEntryBuilder ECSTask_LimitsEntryBuilder + eCSTask_EphemeralStorageMetricsEntryBuilder ECSTask_EphemeralStorageMetricsEntryBuilder + eCSContainerBuilder ECSContainerBuilder +} + +func NewECSTaskBuilder(writer io.Writer) *ECSTaskBuilder { + return &ECSTaskBuilder{ + writer: writer, + } +} +func (x *ECSTaskBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSTaskBuilder) SetArn(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetResourceVersion(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetLaunchType(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x1a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetDesiredStatus(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x22) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetKnownStatus(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x2a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetFamily(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x32) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetVersion(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x3a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetAvailabilityZone(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x42) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) AddLimits(cb func(w *ECSTask_LimitsEntryBuilder)) { + x.buf.Reset() + x.eCSTask_LimitsEntryBuilder.writer = &x.buf + x.eCSTask_LimitsEntryBuilder.scratch = x.scratch + cb(&x.eCSTask_LimitsEntryBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x4a) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSTaskBuilder) AddEphemeralStorageMetrics(cb func(w *ECSTask_EphemeralStorageMetricsEntryBuilder)) { + x.buf.Reset() + x.eCSTask_EphemeralStorageMetricsEntryBuilder.writer = &x.buf + x.eCSTask_EphemeralStorageMetricsEntryBuilder.scratch = x.scratch + cb(&x.eCSTask_EphemeralStorageMetricsEntryBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x52) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSTaskBuilder) SetServiceName(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x5a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetVpcId(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x62) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetPullStartedAt(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x68) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetPullStoppedAt(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x70) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) SetExecutionStoppedAt(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x78) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) AddContainers(cb func(w *ECSContainerBuilder)) { + x.buf.Reset() + x.eCSContainerBuilder.writer = &x.buf + x.eCSContainerBuilder.scratch = x.scratch + cb(&x.eCSContainerBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x82) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSTaskBuilder) AddTags(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x8a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) AddEcsTags(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x92) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTaskBuilder) AddContainerInstanceTags(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x9a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} + +type ECSTask_LimitsEntryBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSTask_LimitsEntryBuilder(writer io.Writer) *ECSTask_LimitsEntryBuilder { + return &ECSTask_LimitsEntryBuilder{ + writer: writer, + } +} +func (x *ECSTask_LimitsEntryBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSTask_LimitsEntryBuilder) SetKey(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTask_LimitsEntryBuilder) SetValue(v float64) { + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x11) + x.scratch = protowire.AppendFixed64(x.scratch, math.Float64bits(v)) + x.writer.Write(x.scratch) +} + +type ECSTask_EphemeralStorageMetricsEntryBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSTask_EphemeralStorageMetricsEntryBuilder(writer io.Writer) *ECSTask_EphemeralStorageMetricsEntryBuilder { + return &ECSTask_EphemeralStorageMetricsEntryBuilder{ + writer: writer, + } +} +func (x *ECSTask_EphemeralStorageMetricsEntryBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSTask_EphemeralStorageMetricsEntryBuilder) SetKey(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSTask_EphemeralStorageMetricsEntryBuilder) SetValue(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x10) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} + +type ECSContainerBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte + eCSContainerExitCodeBuilder ECSContainerExitCodeBuilder + eCSContainer_LogOptionsEntryBuilder ECSContainer_LogOptionsEntryBuilder + eCSContainerPortBuilder ECSContainerPortBuilder + eCSContainerNetworkBuilder ECSContainerNetworkBuilder + eCSContainerVolumeBuilder ECSContainerVolumeBuilder + eCSContainerHealthBuilder ECSContainerHealthBuilder + eCSContainer_LimitsEntryBuilder ECSContainer_LimitsEntryBuilder +} + +func NewECSContainerBuilder(writer io.Writer) *ECSContainerBuilder { + return &ECSContainerBuilder{ + writer: writer, + } +} +func (x *ECSContainerBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainerBuilder) SetDockerID(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetDockerName(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetName(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x1a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetImage(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x22) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetImageID(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x2a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetCreatedAt(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x30) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetStartedAt(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x38) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetFinishedAt(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x40) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetDesiredStatus(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x4a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetKnownStatus(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x52) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetExitCode(cb func(w *ECSContainerExitCodeBuilder)) { + x.buf.Reset() + x.eCSContainerExitCodeBuilder.writer = &x.buf + x.eCSContainerExitCodeBuilder.scratch = x.scratch + cb(&x.eCSContainerExitCodeBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x5a) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) SetType(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x62) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) SetLogDriver(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x6a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) AddLogOptions(cb func(w *ECSContainer_LogOptionsEntryBuilder)) { + x.buf.Reset() + x.eCSContainer_LogOptionsEntryBuilder.writer = &x.buf + x.eCSContainer_LogOptionsEntryBuilder.scratch = x.scratch + cb(&x.eCSContainer_LogOptionsEntryBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x72) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) SetContainerArn(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x7a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) AddPorts(cb func(w *ECSContainerPortBuilder)) { + x.buf.Reset() + x.eCSContainerPortBuilder.writer = &x.buf + x.eCSContainerPortBuilder.scratch = x.scratch + cb(&x.eCSContainerPortBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x82) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) AddNetworks(cb func(w *ECSContainerNetworkBuilder)) { + x.buf.Reset() + x.eCSContainerNetworkBuilder.writer = &x.buf + x.eCSContainerNetworkBuilder.scratch = x.scratch + cb(&x.eCSContainerNetworkBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x8a) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) AddVolumes(cb func(w *ECSContainerVolumeBuilder)) { + x.buf.Reset() + x.eCSContainerVolumeBuilder.writer = &x.buf + x.eCSContainerVolumeBuilder.scratch = x.scratch + cb(&x.eCSContainerVolumeBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x92) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) SetHealth(cb func(w *ECSContainerHealthBuilder)) { + x.buf.Reset() + x.eCSContainerHealthBuilder.writer = &x.buf + x.eCSContainerHealthBuilder.scratch = x.scratch + cb(&x.eCSContainerHealthBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x9a) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) AddLabels(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa2) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerBuilder) AddLimits(cb func(w *ECSContainer_LimitsEntryBuilder)) { + x.buf.Reset() + x.eCSContainer_LimitsEntryBuilder.writer = &x.buf + x.eCSContainer_LimitsEntryBuilder.scratch = x.scratch + cb(&x.eCSContainer_LimitsEntryBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0xaa) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerBuilder) SetSnapshotter(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xb2) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} + +type ECSContainer_LogOptionsEntryBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSContainer_LogOptionsEntryBuilder(writer io.Writer) *ECSContainer_LogOptionsEntryBuilder { + return &ECSContainer_LogOptionsEntryBuilder{ + writer: writer, + } +} +func (x *ECSContainer_LogOptionsEntryBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainer_LogOptionsEntryBuilder) SetKey(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainer_LogOptionsEntryBuilder) SetValue(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} + +type ECSContainer_LimitsEntryBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSContainer_LimitsEntryBuilder(writer io.Writer) *ECSContainer_LimitsEntryBuilder { + return &ECSContainer_LimitsEntryBuilder{ + writer: writer, + } +} +func (x *ECSContainer_LimitsEntryBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainer_LimitsEntryBuilder) SetKey(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainer_LimitsEntryBuilder) SetValue(v float64) { + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x11) + x.scratch = protowire.AppendFixed64(x.scratch, math.Float64bits(v)) + x.writer.Write(x.scratch) +} + +type ECSContainerNetworkBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSContainerNetworkBuilder(writer io.Writer) *ECSContainerNetworkBuilder { + return &ECSContainerNetworkBuilder{ + writer: writer, + } +} +func (x *ECSContainerNetworkBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainerNetworkBuilder) SetNetworkMode(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerNetworkBuilder) AddIpv4Addresses(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerNetworkBuilder) AddIpv6Addresses(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x1a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} + +type ECSContainerPortBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSContainerPortBuilder(writer io.Writer) *ECSContainerPortBuilder { + return &ECSContainerPortBuilder{ + writer: writer, + } +} +func (x *ECSContainerPortBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainerPortBuilder) SetContainerPort(v int32) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x8) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSContainerPortBuilder) SetProtocol(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerPortBuilder) SetHostIp(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x1a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerPortBuilder) SetHostPort(v int32) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x20) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} + +type ECSContainerVolumeBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSContainerVolumeBuilder(writer io.Writer) *ECSContainerVolumeBuilder { + return &ECSContainerVolumeBuilder{ + writer: writer, + } +} +func (x *ECSContainerVolumeBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainerVolumeBuilder) SetDockerName(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerVolumeBuilder) SetSource(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x12) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerVolumeBuilder) SetDestination(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x1a) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} + +type ECSContainerHealthBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte + eCSContainerExitCodeBuilder ECSContainerExitCodeBuilder +} + +func NewECSContainerHealthBuilder(writer io.Writer) *ECSContainerHealthBuilder { + return &ECSContainerHealthBuilder{ + writer: writer, + } +} +func (x *ECSContainerHealthBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainerHealthBuilder) SetStatus(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0xa) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} +func (x *ECSContainerHealthBuilder) SetSince(v int64) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x10) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} +func (x *ECSContainerHealthBuilder) SetExitCode(cb func(w *ECSContainerExitCodeBuilder)) { + x.buf.Reset() + x.eCSContainerExitCodeBuilder.writer = &x.buf + x.eCSContainerExitCodeBuilder.scratch = x.scratch + cb(&x.eCSContainerExitCodeBuilder) + x.scratch = protowire.AppendVarint(x.scratch[:0], 0x1a) + x.scratch = protowire.AppendVarint(x.scratch, uint64(x.buf.Len())) + x.writer.Write(x.scratch) + x.writer.Write(x.buf.Bytes()) +} +func (x *ECSContainerHealthBuilder) SetOutput(v string) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x22) + x.scratch = protowire.AppendString(x.scratch, v) + x.writer.Write(x.scratch) +} + +type ECSContainerExitCodeBuilder struct { + writer io.Writer + buf bytes.Buffer + scratch []byte +} + +func NewECSContainerExitCodeBuilder(writer io.Writer) *ECSContainerExitCodeBuilder { + return &ECSContainerExitCodeBuilder{ + writer: writer, + } +} +func (x *ECSContainerExitCodeBuilder) Reset(writer io.Writer) { + x.buf.Reset() + x.writer = writer +} +func (x *ECSContainerExitCodeBuilder) SetExitCode(v int32) { + x.scratch = x.scratch[:0] + x.scratch = protowire.AppendVarint(x.scratch, 0x18) + x.scratch = protowire.AppendVarint(x.scratch, uint64(v)) + x.writer.Write(x.scratch) +} + type CollectorPodBuilder struct { writer io.Writer buf bytes.Buffer diff --git a/proto/process/agent.proto b/proto/process/agent.proto index 029f5396..54c47d8e 100644 --- a/proto/process/agent.proto +++ b/proto/process/agent.proto @@ -110,6 +110,93 @@ message CollectorReqStatus { string hostName = 2; } +message CollectorECSTask { + int64 awsAccountID = 1; + string clusterName = 2; + string clusterId = 3; + string region = 4; + int32 groupId = 5; + int32 groupSize = 6; + repeated ECSTask tasks = 7; +} + +message ECSTask { + string arn = 1; + string resourceVersion = 2; // a custom field to track changes + string launchType = 3; + string desiredStatus = 4; + string knownStatus = 5; + string family = 6; + string version = 7; + string availabilityZone = 8; + map limits = 9; + map ephemeralStorageMetrics = 10; + string serviceName = 11; + string vpcId = 12; + int64 pullStartedAt = 13; + int64 pullStoppedAt = 14; + int64 executionStoppedAt = 15; + repeated ECSContainer containers = 16; + repeated string tags = 17; + repeated string ecsTags = 18; + repeated string containerInstanceTags = 19; +} + +message ECSContainer { + string dockerID = 1; + string dockerName = 2; + string name = 3; + string image = 4; + string imageID = 5; + int64 createdAt = 6; + int64 startedAt = 7; + int64 finishedAt = 8; + string desiredStatus = 9; + string knownStatus = 10; + ECSContainerExitCode exitCode = 11; + string type = 12; + string logDriver = 13; + map logOptions = 14; + string containerArn = 15; + repeated ECSContainerPort ports = 16; + repeated ECSContainerNetwork networks = 17; + repeated ECSContainerVolume volumes = 18; + ECSContainerHealth health = 19; + repeated string labels = 20; + map limits = 21; + string snapshotter = 22; +} + +message ECSContainerNetwork { + string networkMode = 1; + repeated string ipv4Addresses = 2; + repeated string ipv6Addresses = 3; +} + +message ECSContainerPort { + int32 containerPort = 1; + string protocol = 2; + string hostIp = 3; + int32 hostPort = 4; +} + +message ECSContainerVolume { + string dockerName = 1; + string source = 2; + string destination = 3; +} + +message ECSContainerHealth { + string status = 1; + int64 since = 2; + ECSContainerExitCode exitCode = 3; + string output = 4; +} + +message ECSContainerExitCode { + int32 exitCode = 3; +} + message CollectorPod { string hostName = 1; string clusterName = 2; @@ -655,8 +742,8 @@ message Host { } -enum K8sResource { - K8SRESOURCE_UNSPECIFIED = 0; +enum OrchestratorResource { + OrchestratorResource_UNSPECIFIED = 0; POD = 1; REPLICASET = 2; SERVICE = 3; @@ -681,6 +768,7 @@ enum K8sResource { VERTICALPODAUTOSCALER = 22; HORIZONTALPODAUTOSCALER = 23; NETWORKPOLICY = 24; + ECSTASK = 150; } message Cluster {