kubernetesv1

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_chalk_kubernetes_v1_nodes_proto protoreflect.FileDescriptor
View Source
var File_chalk_kubernetes_v1_pods_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KubernetesNodeData

type KubernetesNodeData struct {

	// The Chalk team name that incurred the usage.
	Team string `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"`
	// node.Name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// node.UID
	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// node.kubernetes.io/instance-type
	InstanceType string `protobuf:"bytes,4,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
	// topology.kubernetes.io/region
	Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
	// topology.kubernetes.io/zone
	Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
	// The time that the instance was created.
	// node.CreationTimestamp.Unix()
	CreationTimestamp int64 `protobuf:"varint,8,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
	// node.DeletionTimestamp.Unix()
	// The time that the instance was deleted. May be 0 if the instance is still running.
	DeletionTimestamp int64 `protobuf:"varint,9,opt,name=deletion_timestamp,json=deletionTimestamp,proto3" json:"deletion_timestamp,omitempty"`
	// The time that we polled the instance for usage.
	ObservedTimestamp int64 `protobuf:"varint,10,opt,name=observed_timestamp,json=observedTimestamp,proto3" json:"observed_timestamp,omitempty"`
	// node.Labels
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// node.Annotations
	Annotations   map[string]string `` /* 164-byte string literal not displayed */
	MachineId     string            `protobuf:"bytes,13,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
	SystemUuid    string            `protobuf:"bytes,14,opt,name=system_uuid,json=systemUuid,proto3" json:"system_uuid,omitempty"`
	BootId        string            `protobuf:"bytes,15,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
	Unschedulable bool              `protobuf:"varint,16,opt,name=unschedulable,proto3" json:"unschedulable,omitempty"`
	Namespace     string            `protobuf:"bytes,17,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// container.googleapis.com/instance_id
	InstanceId        string `protobuf:"bytes,18,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Cluster           string `protobuf:"bytes,19,opt,name=cluster,proto3" json:"cluster,omitempty"`
	TotalCpu          string `protobuf:"bytes,20,opt,name=total_cpu,json=totalCpu,proto3" json:"total_cpu,omitempty"`
	TotalMemory       string `protobuf:"bytes,21,opt,name=total_memory,json=totalMemory,proto3" json:"total_memory,omitempty"`
	AllocatableCpu    string `protobuf:"bytes,22,opt,name=allocatable_cpu,json=allocatableCpu,proto3" json:"allocatable_cpu,omitempty"`
	AllocatableMemory string `protobuf:"bytes,23,opt,name=allocatable_memory,json=allocatableMemory,proto3" json:"allocatable_memory,omitempty"`
	// contains filtered or unexported fields
}

InstanceUsage is a message that represents the usage of a single instance.

func (*KubernetesNodeData) Descriptor deprecated

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

Deprecated: Use KubernetesNodeData.ProtoReflect.Descriptor instead.

func (*KubernetesNodeData) GetAllocatableCpu

func (x *KubernetesNodeData) GetAllocatableCpu() string

func (*KubernetesNodeData) GetAllocatableMemory

func (x *KubernetesNodeData) GetAllocatableMemory() string

func (*KubernetesNodeData) GetAnnotations

func (x *KubernetesNodeData) GetAnnotations() map[string]string

func (*KubernetesNodeData) GetBootId

func (x *KubernetesNodeData) GetBootId() string

func (*KubernetesNodeData) GetCluster

func (x *KubernetesNodeData) GetCluster() string

func (*KubernetesNodeData) GetCreationTimestamp

func (x *KubernetesNodeData) GetCreationTimestamp() int64

func (*KubernetesNodeData) GetDeletionTimestamp

func (x *KubernetesNodeData) GetDeletionTimestamp() int64

func (*KubernetesNodeData) GetInstanceId

func (x *KubernetesNodeData) GetInstanceId() string

func (*KubernetesNodeData) GetInstanceType

func (x *KubernetesNodeData) GetInstanceType() string

func (*KubernetesNodeData) GetLabels

func (x *KubernetesNodeData) GetLabels() map[string]string

func (*KubernetesNodeData) GetMachineId

func (x *KubernetesNodeData) GetMachineId() string

func (*KubernetesNodeData) GetName

func (x *KubernetesNodeData) GetName() string

func (*KubernetesNodeData) GetNamespace

func (x *KubernetesNodeData) GetNamespace() string

func (*KubernetesNodeData) GetObservedTimestamp

func (x *KubernetesNodeData) GetObservedTimestamp() int64

func (*KubernetesNodeData) GetRegion

func (x *KubernetesNodeData) GetRegion() string

func (*KubernetesNodeData) GetSystemUuid

func (x *KubernetesNodeData) GetSystemUuid() string

func (*KubernetesNodeData) GetTeam

func (x *KubernetesNodeData) GetTeam() string

func (*KubernetesNodeData) GetTotalCpu

func (x *KubernetesNodeData) GetTotalCpu() string

func (*KubernetesNodeData) GetTotalMemory

func (x *KubernetesNodeData) GetTotalMemory() string

func (*KubernetesNodeData) GetUid

func (x *KubernetesNodeData) GetUid() string

func (*KubernetesNodeData) GetUnschedulable

func (x *KubernetesNodeData) GetUnschedulable() bool

func (*KubernetesNodeData) GetZone

func (x *KubernetesNodeData) GetZone() string

func (*KubernetesNodeData) ProtoMessage

func (*KubernetesNodeData) ProtoMessage()

func (*KubernetesNodeData) ProtoReflect

func (x *KubernetesNodeData) ProtoReflect() protoreflect.Message

func (*KubernetesNodeData) Reset

func (x *KubernetesNodeData) Reset()

func (*KubernetesNodeData) String

func (x *KubernetesNodeData) String() string

type KubernetesPodData

type KubernetesPodData struct {

	// The Chalk team name that incurred the usage.
	Team            string `protobuf:"bytes,1,opt,name=team,proto3" json:"team,omitempty"`
	App             string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	Component       string `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
	DatadogService  string `protobuf:"bytes,4,opt,name=datadog_service,json=datadogService,proto3" json:"datadog_service,omitempty"`
	DatadogVersion  string `protobuf:"bytes,5,opt,name=datadog_version,json=datadogVersion,proto3" json:"datadog_version,omitempty"`
	PodTemplateHash string `protobuf:"bytes,6,opt,name=pod_template_hash,json=podTemplateHash,proto3" json:"pod_template_hash,omitempty"`
	// string status = 7;
	Status *KubernetesPodData_PodStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	Spec   *KubernetesPodData_PodSpec   `protobuf:"bytes,8,opt,name=spec,proto3" json:"spec,omitempty"`
	// The time that the instance was created.
	// pod.CreationTimestamp.Unix()
	CreationTimestamp int64 `protobuf:"varint,18,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
	// pod.DeletionTimestamp.Unix()
	// The time that the instance was deleted. May be 0 if the instance is still running.
	DeletionTimestamp int64 `protobuf:"varint,19,opt,name=deletion_timestamp,json=deletionTimestamp,proto3" json:"deletion_timestamp,omitempty"`
	// The time that we polled the instance for usage.
	ObservedTimestamp int64 `protobuf:"varint,20,opt,name=observed_timestamp,json=observedTimestamp,proto3" json:"observed_timestamp,omitempty"`
	// pod.Labels
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// pod.Annotations
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	Cluster     string            `protobuf:"bytes,23,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// // node.UID
	Uid string `protobuf:"bytes,24,opt,name=uid,proto3" json:"uid,omitempty"`
	// // node.Name
	Name      string `protobuf:"bytes,25,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,26,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

PodStatusPubSub captures the state of a kubernetes pod.

func (*KubernetesPodData) Descriptor deprecated

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

Deprecated: Use KubernetesPodData.ProtoReflect.Descriptor instead.

func (*KubernetesPodData) GetAnnotations

func (x *KubernetesPodData) GetAnnotations() map[string]string

func (*KubernetesPodData) GetApp

func (x *KubernetesPodData) GetApp() string

func (*KubernetesPodData) GetCluster

func (x *KubernetesPodData) GetCluster() string

func (*KubernetesPodData) GetComponent

func (x *KubernetesPodData) GetComponent() string

func (*KubernetesPodData) GetCreationTimestamp

func (x *KubernetesPodData) GetCreationTimestamp() int64

func (*KubernetesPodData) GetDatadogService

func (x *KubernetesPodData) GetDatadogService() string

func (*KubernetesPodData) GetDatadogVersion

func (x *KubernetesPodData) GetDatadogVersion() string

func (*KubernetesPodData) GetDeletionTimestamp

func (x *KubernetesPodData) GetDeletionTimestamp() int64

func (*KubernetesPodData) GetLabels

func (x *KubernetesPodData) GetLabels() map[string]string

func (*KubernetesPodData) GetName

func (x *KubernetesPodData) GetName() string

func (*KubernetesPodData) GetNamespace

func (x *KubernetesPodData) GetNamespace() string

func (*KubernetesPodData) GetObservedTimestamp

func (x *KubernetesPodData) GetObservedTimestamp() int64

func (*KubernetesPodData) GetPodTemplateHash

func (x *KubernetesPodData) GetPodTemplateHash() string

func (*KubernetesPodData) GetSpec

func (*KubernetesPodData) GetStatus

func (*KubernetesPodData) GetTeam

func (x *KubernetesPodData) GetTeam() string

func (*KubernetesPodData) GetUid

func (x *KubernetesPodData) GetUid() string

func (*KubernetesPodData) ProtoMessage

func (*KubernetesPodData) ProtoMessage()

func (*KubernetesPodData) ProtoReflect

func (x *KubernetesPodData) ProtoReflect() protoreflect.Message

func (*KubernetesPodData) Reset

func (x *KubernetesPodData) Reset()

func (*KubernetesPodData) String

func (x *KubernetesPodData) String() string

type KubernetesPodData_ClaimSource

type KubernetesPodData_ClaimSource struct {

	// ResourceClaimName is the name of a ResourceClaim object in the same
	// namespace as this pod.
	ResourceClaimName *string `protobuf:"bytes,1,opt,name=resource_claim_name,json=resourceClaimName,proto3,oneof" json:"resource_claim_name,omitempty"`
	// ResourceClaimTemplateName is the name of a ResourceClaimTemplate
	// object in the same namespace as this pod.
	//
	// The template will be used to create a new ResourceClaim, which will
	// be bound to this pod. When this pod is deleted, the ResourceClaim
	// will also be deleted. The pod name and resource name, along with a
	// generated component, will be used to form a unique name for the
	// ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
	//
	// This field is immutable and no changes will be made to the
	// corresponding ResourceClaim by the control plane after creating the
	// ResourceClaim.
	ResourceClaimTemplateName *string `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

ClaimSource describes a reference to a ResourceClaim.

Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.

func (*KubernetesPodData_ClaimSource) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_ClaimSource.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ClaimSource) GetResourceClaimName

func (x *KubernetesPodData_ClaimSource) GetResourceClaimName() string

func (*KubernetesPodData_ClaimSource) GetResourceClaimTemplateName

func (x *KubernetesPodData_ClaimSource) GetResourceClaimTemplateName() string

func (*KubernetesPodData_ClaimSource) ProtoMessage

func (*KubernetesPodData_ClaimSource) ProtoMessage()

func (*KubernetesPodData_ClaimSource) ProtoReflect

func (*KubernetesPodData_ClaimSource) Reset

func (x *KubernetesPodData_ClaimSource) Reset()

func (*KubernetesPodData_ClaimSource) String

type KubernetesPodData_Container

type KubernetesPodData_Container struct {

	// Name of the container specified as a DNS_LABEL.
	// Each container in a pod must have a unique name (DNS_LABEL).
	// Cannot be updated.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Container image name.
	// More info: https://kubernetes.io/docs/concepts/containers/images
	// This field is optional to allow higher level config management to default or override
	// container images in workload controllers like Deployments and StatefulSets.
	// +optional
	Image *string `protobuf:"bytes,2,opt,name=image,proto3,oneof" json:"image,omitempty"`
	// Entrypoint array. Not executed within a shell.
	// The container image's ENTRYPOINT is used if this is not provided.
	// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
	// cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
	// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
	// produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
	// of whether the variable exists or not. Cannot be updated.
	// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	// +optional
	// +listType=atomic
	Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
	// Arguments to the entrypoint.
	// The container image's CMD is used if this is not provided.
	// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
	// cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
	// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
	// produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
	// of whether the variable exists or not. Cannot be updated.
	// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	// +optional
	// +listType=atomic
	Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	// Container's working directory.
	// If not specified, the container runtime's default will be used, which
	// might be configured in the container image.
	// Cannot be updated.
	// +optional
	WorkingDir *string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3,oneof" json:"working_dir,omitempty"`
	// List of environment variables to set in the container.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	Env []*KubernetesPodData_EnvVar `protobuf:"bytes,7,rep,name=env,proto3" json:"env,omitempty"`
	// Compute Resources required by this container.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// +optional
	Resources *KubernetesPodData_ResourceRequirements `protobuf:"bytes,8,opt,name=resources,proto3,oneof" json:"resources,omitempty"`
	// RestartPolicy defines the restart behavior of individual containers in a pod.
	// This field may only be set for init containers, and the only allowed value is "Always".
	// For non-init containers or when this field is not specified,
	// the restart behavior is defined by the Pod's restart policy and the container type.
	// Setting the RestartPolicy as "Always" for the init container will have the following effect:
	// this init container will be continually restarted on
	// exit until all regular containers have terminated. Once all regular
	// containers have completed, all init containers with restartPolicy "Always"
	// will be shut down. This lifecycle differs from normal init containers and
	// is often referred to as a "sidecar" container. Although this init
	// container still starts in the init container sequence, it does not wait
	// for the container to complete before proceeding to the next init
	// container. Instead, the next init container starts immediately after this
	// init container is started, or after any startupProbe has successfully
	// completed.
	// +featureGate=SidecarContainers
	// +optional
	RestartPolicy *string `protobuf:"bytes,24,opt,name=restart_policy,json=restartPolicy,proto3,oneof" json:"restart_policy,omitempty"`
	// Optional: Path at which the file to which the container's termination message
	// will be written is mounted into the container's filesystem.
	// Message written is intended to be brief final status, such as an assertion failure message.
	// Will be truncated by the node if greater than 4096 bytes. The total message length across
	// all containers will be limited to 12kb.
	// Defaults to /dev/termination-log.
	// Cannot be updated.
	// +optional
	TerminationMessagePath *string `` /* 136-byte string literal not displayed */
	// Indicate how the termination message should be populated. File will use the contents of
	// terminationMessagePath to populate the container status message on both success and failure.
	// FallbackToLogsOnError will use the last chunk of container log output if the termination
	// message file is empty and the container exited with an error.
	// The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
	// Defaults to File.
	// Cannot be updated.
	// +optional
	TerminationMessagePolicy *string `` /* 142-byte string literal not displayed */
	// Image pull policy.
	// One of Always, Never, IfNotPresent.
	// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	// +optional
	ImagePullPolicy *string `protobuf:"bytes,14,opt,name=image_pull_policy,json=imagePullPolicy,proto3,oneof" json:"image_pull_policy,omitempty"`
	// Whether this container should allocate a buffer for stdin in the container runtime. If this
	// is not set, reads from stdin in the container will always result in EOF.
	Stdin bool `protobuf:"varint,16,opt,name=stdin,proto3" json:"stdin,omitempty"`
	// Whether the container runtime should close the stdin channel after it has been opened by
	// a single attach. When stdin is true the stdin stream will remain open across multiple attach
	// sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
	// first client attaches to stdin, and then remains open and accepts data until the client disconnects,
	// at which time stdin is closed and remains closed until the container is restarted. If this
	// flag is false, a container processes that reads from stdin will never receive an EOF.
	StdinOnce bool `protobuf:"varint,17,opt,name=stdin_once,json=stdinOnce,proto3" json:"stdin_once,omitempty"`
	// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
	Tty bool `protobuf:"varint,18,opt,name=tty,proto3" json:"tty,omitempty"`
	// contains filtered or unexported fields
}

A single application container that you want to run within a pod.

func (*KubernetesPodData_Container) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_Container.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_Container) GetArgs

func (x *KubernetesPodData_Container) GetArgs() []string

func (*KubernetesPodData_Container) GetCommand

func (x *KubernetesPodData_Container) GetCommand() []string

func (*KubernetesPodData_Container) GetEnv

func (*KubernetesPodData_Container) GetImage

func (x *KubernetesPodData_Container) GetImage() string

func (*KubernetesPodData_Container) GetImagePullPolicy

func (x *KubernetesPodData_Container) GetImagePullPolicy() string

func (*KubernetesPodData_Container) GetName

func (x *KubernetesPodData_Container) GetName() string

func (*KubernetesPodData_Container) GetResources

func (*KubernetesPodData_Container) GetRestartPolicy

func (x *KubernetesPodData_Container) GetRestartPolicy() string

func (*KubernetesPodData_Container) GetStdin

func (x *KubernetesPodData_Container) GetStdin() bool

func (*KubernetesPodData_Container) GetStdinOnce

func (x *KubernetesPodData_Container) GetStdinOnce() bool

func (*KubernetesPodData_Container) GetTerminationMessagePath

func (x *KubernetesPodData_Container) GetTerminationMessagePath() string

func (*KubernetesPodData_Container) GetTerminationMessagePolicy

func (x *KubernetesPodData_Container) GetTerminationMessagePolicy() string

func (*KubernetesPodData_Container) GetTty

func (x *KubernetesPodData_Container) GetTty() bool

func (*KubernetesPodData_Container) GetWorkingDir

func (x *KubernetesPodData_Container) GetWorkingDir() string

func (*KubernetesPodData_Container) ProtoMessage

func (*KubernetesPodData_Container) ProtoMessage()

func (*KubernetesPodData_Container) ProtoReflect

func (*KubernetesPodData_Container) Reset

func (x *KubernetesPodData_Container) Reset()

func (*KubernetesPodData_Container) String

func (x *KubernetesPodData_Container) String() string

type KubernetesPodData_ContainerState

type KubernetesPodData_ContainerState struct {

	// Details about a waiting container
	// +optional
	Waiting *KubernetesPodData_ContainerStateWaiting `protobuf:"bytes,1,opt,name=waiting,proto3,oneof" json:"waiting,omitempty"`
	// Details about a running container
	// +optional
	Running *KubernetesPodData_ContainerStateRunning `protobuf:"bytes,2,opt,name=running,proto3,oneof" json:"running,omitempty"`
	// Details about a terminated container
	// +optional
	Terminated *KubernetesPodData_ContainerStateTerminated `protobuf:"bytes,3,opt,name=terminated,proto3,oneof" json:"terminated,omitempty"`
	// contains filtered or unexported fields
}

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

func (*KubernetesPodData_ContainerState) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_ContainerState.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ContainerState) GetRunning

func (*KubernetesPodData_ContainerState) GetTerminated

func (*KubernetesPodData_ContainerState) GetWaiting

func (*KubernetesPodData_ContainerState) ProtoMessage

func (*KubernetesPodData_ContainerState) ProtoMessage()

func (*KubernetesPodData_ContainerState) ProtoReflect

func (*KubernetesPodData_ContainerState) Reset

func (*KubernetesPodData_ContainerState) String

type KubernetesPodData_ContainerStateRunning

type KubernetesPodData_ContainerStateRunning struct {

	// Time at which the container was last (re-)started
	// +optional
	StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// contains filtered or unexported fields
}

ContainerStateRunning is a running state of a container.

func (*KubernetesPodData_ContainerStateRunning) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_ContainerStateRunning.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ContainerStateRunning) GetStartedAt

func (*KubernetesPodData_ContainerStateRunning) ProtoMessage

func (*KubernetesPodData_ContainerStateRunning) ProtoReflect

func (*KubernetesPodData_ContainerStateRunning) Reset

func (*KubernetesPodData_ContainerStateRunning) String

type KubernetesPodData_ContainerStateTerminated

type KubernetesPodData_ContainerStateTerminated struct {

	// Exit status from the last termination of the container
	ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// Signal from the last termination of the container
	// +optional
	Signal *int32 `protobuf:"varint,2,opt,name=signal,proto3,oneof" json:"signal,omitempty"`
	// (brief) reason from the last termination of the container
	// +optional
	Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	// Message regarding the last termination of the container
	// +optional
	Message *string `protobuf:"bytes,4,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// Time at which previous execution of the container started
	// +optional
	StartedAt *int64 `protobuf:"varint,5,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
	// Time at which the container last terminated
	// +optional
	FinishedAt *int64 `protobuf:"varint,6,opt,name=finished_at,json=finishedAt,proto3,oneof" json:"finished_at,omitempty"`
	// Container's ID in the format '<type>://<container_id>'
	// +optional
	ContainerId *string `protobuf:"bytes,7,opt,name=container_id,json=containerId,proto3,oneof" json:"container_id,omitempty"`
	// contains filtered or unexported fields
}

ContainerStateTerminated is a terminated state of a container.

func (*KubernetesPodData_ContainerStateTerminated) Descriptor deprecated

Deprecated: Use KubernetesPodData_ContainerStateTerminated.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ContainerStateTerminated) GetContainerId

func (*KubernetesPodData_ContainerStateTerminated) GetExitCode

func (*KubernetesPodData_ContainerStateTerminated) GetFinishedAt

func (*KubernetesPodData_ContainerStateTerminated) GetMessage

func (*KubernetesPodData_ContainerStateTerminated) GetReason

func (*KubernetesPodData_ContainerStateTerminated) GetSignal

func (*KubernetesPodData_ContainerStateTerminated) GetStartedAt

func (*KubernetesPodData_ContainerStateTerminated) ProtoMessage

func (*KubernetesPodData_ContainerStateTerminated) ProtoReflect

func (*KubernetesPodData_ContainerStateTerminated) Reset

func (*KubernetesPodData_ContainerStateTerminated) String

type KubernetesPodData_ContainerStateWaiting

type KubernetesPodData_ContainerStateWaiting struct {

	// (brief) reason the container is not yet running.
	// +optional
	Reason *string `protobuf:"bytes,1,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	// Message regarding why the container is not yet running.
	// +optional
	Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

ContainerStateWaiting is a waiting state of a container.

func (*KubernetesPodData_ContainerStateWaiting) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_ContainerStateWaiting.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ContainerStateWaiting) GetMessage

func (*KubernetesPodData_ContainerStateWaiting) GetReason

func (*KubernetesPodData_ContainerStateWaiting) ProtoMessage

func (*KubernetesPodData_ContainerStateWaiting) ProtoReflect

func (*KubernetesPodData_ContainerStateWaiting) Reset

func (*KubernetesPodData_ContainerStateWaiting) String

type KubernetesPodData_ContainerStatus

type KubernetesPodData_ContainerStatus struct {

	// Name is a DNS_LABEL representing the unique name of the container.
	// Each container in a pod must have a unique name across all container types.
	// Cannot be updated.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// State holds details about the container's current condition.
	// +optional
	State *KubernetesPodData_ContainerState `protobuf:"bytes,2,opt,name=state,proto3,oneof" json:"state,omitempty"`
	// LastTerminationState holds the last termination state of the container to
	// help debug container crashes and restarts. This field is not
	// populated if the container is still running and RestartCount is 0.
	// +optional
	LastState *KubernetesPodData_ContainerState `protobuf:"bytes,3,opt,name=last_state,json=lastState,proto3,oneof" json:"last_state,omitempty"`
	// Ready specifies whether the container is currently passing its readiness check.
	// The value will change as readiness probes keep executing. If no readiness
	// probes are specified, this field defaults to true once the container is
	// fully started (see Started field).
	//
	// The value is typically used to determine whether a container is ready to
	// accept traffic.
	Ready *bool `protobuf:"varint,4,opt,name=ready,proto3,oneof" json:"ready,omitempty"`
	// RestartCount holds the number of times the container has been restarted.
	// Kubelet makes an effort to always increment the value, but there
	// are cases when the state may be lost due to node restarts and then the value
	// may be reset to 0. The value is never negative.
	RestartCount int32 `protobuf:"varint,5,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	// Image is the name of container image that the container is running.
	// The container image may not match the image used in the PodSpec,
	// as it may have been resolved by the runtime.
	// More info: https://kubernetes.io/docs/concepts/containers/images.
	Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"`
	// ImageID is the image ID of the container's image. The image ID may not
	// match the image ID of the image used in the PodSpec, as it may have been
	// resolved by the runtime.
	ImageId string `protobuf:"bytes,7,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// ContainerID is the ID of the container in the format '<type>://<container_id>'.
	// Where type is a container runtime identifier, returned from Version call of CRI API
	// (for example "containerd").
	// +optional
	ContainerId string `protobuf:"bytes,8,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// Started indicates whether the container has finished its postStart lifecycle hook
	// and passed its startup probe.
	// Initialized as false, becomes true after startupProbe is considered
	// successful. Resets to false when the container is restarted, or if kubelet
	// loses state temporarily. In both cases, startup probes will run again.
	// Is always true when no startupProbe is defined and container is running and
	// has passed the postStart lifecycle hook.
	Started bool `protobuf:"varint,9,opt,name=started,proto3" json:"started,omitempty"`
	// contains filtered or unexported fields
}

ContainerStatus contains details for the current status of this container.

func (*KubernetesPodData_ContainerStatus) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_ContainerStatus.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ContainerStatus) GetContainerId

func (x *KubernetesPodData_ContainerStatus) GetContainerId() string

func (*KubernetesPodData_ContainerStatus) GetImage

func (*KubernetesPodData_ContainerStatus) GetImageId

func (x *KubernetesPodData_ContainerStatus) GetImageId() string

func (*KubernetesPodData_ContainerStatus) GetLastState

func (*KubernetesPodData_ContainerStatus) GetName

func (*KubernetesPodData_ContainerStatus) GetReady

func (*KubernetesPodData_ContainerStatus) GetRestartCount

func (x *KubernetesPodData_ContainerStatus) GetRestartCount() int32

func (*KubernetesPodData_ContainerStatus) GetStarted

func (x *KubernetesPodData_ContainerStatus) GetStarted() bool

func (*KubernetesPodData_ContainerStatus) GetState

func (*KubernetesPodData_ContainerStatus) ProtoMessage

func (*KubernetesPodData_ContainerStatus) ProtoMessage()

func (*KubernetesPodData_ContainerStatus) ProtoReflect

func (*KubernetesPodData_ContainerStatus) Reset

func (*KubernetesPodData_ContainerStatus) String

type KubernetesPodData_EnvVar

type KubernetesPodData_EnvVar struct {

	// Name of the environment variable. Must be a C_IDENTIFIER.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Variable references $(VAR_NAME) are expanded
	// using the previously defined environment variables in the container and
	// any service environment variables. If a variable cannot be resolved,
	// the reference in the input string will be unchanged. Double $$ are reduced
	// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
	// "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
	// Escaped references will never be expanded, regardless of whether the variable
	// exists or not.
	// Defaults to "".
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

EnvVar represents an environment variable present in a Container.

func (*KubernetesPodData_EnvVar) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_EnvVar.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_EnvVar) GetName

func (x *KubernetesPodData_EnvVar) GetName() string

func (*KubernetesPodData_EnvVar) GetValue

func (x *KubernetesPodData_EnvVar) GetValue() string

func (*KubernetesPodData_EnvVar) ProtoMessage

func (*KubernetesPodData_EnvVar) ProtoMessage()

func (*KubernetesPodData_EnvVar) ProtoReflect

func (x *KubernetesPodData_EnvVar) ProtoReflect() protoreflect.Message

func (*KubernetesPodData_EnvVar) Reset

func (x *KubernetesPodData_EnvVar) Reset()

func (*KubernetesPodData_EnvVar) String

func (x *KubernetesPodData_EnvVar) String() string

type KubernetesPodData_HostIP

type KubernetesPodData_HostIP struct {

	// IP is the IP address assigned to the host
	Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

HostIP represents a single IP address allocated to the host.

func (*KubernetesPodData_HostIP) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_HostIP.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_HostIP) GetIp

func (x *KubernetesPodData_HostIP) GetIp() string

func (*KubernetesPodData_HostIP) ProtoMessage

func (*KubernetesPodData_HostIP) ProtoMessage()

func (*KubernetesPodData_HostIP) ProtoReflect

func (x *KubernetesPodData_HostIP) ProtoReflect() protoreflect.Message

func (*KubernetesPodData_HostIP) Reset

func (x *KubernetesPodData_HostIP) Reset()

func (*KubernetesPodData_HostIP) String

func (x *KubernetesPodData_HostIP) String() string

type KubernetesPodData_PodCondition

type KubernetesPodData_PodCondition struct {

	// Type is the type of the condition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Status is the status of the condition.
	// Can be True, False, Unknown.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// Last time we probed the condition.
	// +optional
	LastProbeTime int64 `protobuf:"varint,3,opt,name=last_probe_time,json=lastProbeTime,proto3" json:"last_probe_time,omitempty"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime int64 `protobuf:"varint,4,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PodCondition contains details for the current condition of this pod.

func (*KubernetesPodData_PodCondition) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_PodCondition.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_PodCondition) GetLastProbeTime

func (x *KubernetesPodData_PodCondition) GetLastProbeTime() int64

func (*KubernetesPodData_PodCondition) GetLastTransitionTime

func (x *KubernetesPodData_PodCondition) GetLastTransitionTime() int64

func (*KubernetesPodData_PodCondition) GetMessage

func (x *KubernetesPodData_PodCondition) GetMessage() string

func (*KubernetesPodData_PodCondition) GetReason

func (x *KubernetesPodData_PodCondition) GetReason() string

func (*KubernetesPodData_PodCondition) GetStatus

func (x *KubernetesPodData_PodCondition) GetStatus() string

func (*KubernetesPodData_PodCondition) GetType

func (*KubernetesPodData_PodCondition) ProtoMessage

func (*KubernetesPodData_PodCondition) ProtoMessage()

func (*KubernetesPodData_PodCondition) ProtoReflect

func (*KubernetesPodData_PodCondition) Reset

func (x *KubernetesPodData_PodCondition) Reset()

func (*KubernetesPodData_PodCondition) String

type KubernetesPodData_PodResourceClaim

type KubernetesPodData_PodResourceClaim struct {

	// Name uniquely identifies this resource claim inside the pod.
	// This must be a DNS_LABEL.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Source describes where to find the ResourceClaim.
	Source *KubernetesPodData_ClaimSource `protobuf:"bytes,2,opt,name=source,proto3,oneof" json:"source,omitempty"`
	// contains filtered or unexported fields
}

PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.

func (*KubernetesPodData_PodResourceClaim) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_PodResourceClaim.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_PodResourceClaim) GetName

func (*KubernetesPodData_PodResourceClaim) GetSource

func (*KubernetesPodData_PodResourceClaim) ProtoMessage

func (*KubernetesPodData_PodResourceClaim) ProtoMessage()

func (*KubernetesPodData_PodResourceClaim) ProtoReflect

func (*KubernetesPodData_PodResourceClaim) Reset

func (*KubernetesPodData_PodResourceClaim) String

type KubernetesPodData_PodSpec

type KubernetesPodData_PodSpec struct {

	// List of volumes that can be mounted by containers belonging to the pod.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	// +listType=map
	// +listMapKey=name
	Volumes []*KubernetesPodData_Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// List of initialization containers belonging to the pod.
	// Init containers are executed in order prior to containers being started. If any
	// init container fails, the pod is considered to have failed and is handled according
	// to its restartPolicy. The name for an init container or normal container must be
	// unique among all containers.
	// Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
	// The resourceRequirements of an init container are taken into account during scheduling
	// by finding the highest request/limit for each resource type, and then using the max of
	// of that value or the sum of the normal containers. Limits are applied to init containers
	// in a similar fashion.
	// Init containers cannot currently be added or removed.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	InitContainers []*KubernetesPodData_Container `protobuf:"bytes,20,rep,name=init_containers,json=initContainers,proto3" json:"init_containers,omitempty"`
	// List of containers belonging to the pod.
	// Containers cannot currently be added or removed.
	// There must be at least one container in a Pod.
	// Cannot be updated.
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	Containers []*KubernetesPodData_Container `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"`
	// Restart policy for all containers within the pod.
	// One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
	// Default to Always.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
	// +optional
	RestartPolicy *string `protobuf:"bytes,3,opt,name=restart_policy,json=restartPolicy,proto3,oneof" json:"restart_policy,omitempty"`
	// Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
	// Value must be non-negative integer. The value zero indicates stop immediately via
	// the kill signal (no opportunity to shut down).
	// If this value is nil, the default grace period will be used instead.
	// The grace period is the duration in seconds after the processes running in the pod are sent
	// a termination signal and the time when the processes are forcibly halted with a kill signal.
	// Set this value longer than the expected cleanup time for your process.
	// Defaults to 30 seconds.
	// +optional
	TerminationGracePeriodSeconds *int64 `` /* 159-byte string literal not displayed */
	// Optional duration in seconds the pod may be active on the node relative to
	// start_time before the system will actively try to mark it failed and kill associated containers.
	// Value must be a positive integer.
	// +optional
	ActiveDeadlineSeconds *int64 `` /* 133-byte string literal not displayed */
	// Set DNS policy for the pod.
	// Defaults to "ClusterFirst".
	// Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
	// DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
	// To have DNS options set along with hostNetwork, you have to specify DNS policy
	// explicitly to 'ClusterFirstWithHostNet'.
	// +optional
	DnsPolicy *string `protobuf:"bytes,6,opt,name=dns_policy,json=dnsPolicy,proto3,oneof" json:"dns_policy,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that node.
	// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	// +optional
	// +mapType=atomic
	NodeSelector map[string]string `` /* 185-byte string literal not displayed */
	// ServiceAccountName is the name of the ServiceAccount to use to run this pod.
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
	// +optional
	ServiceAccountName *string `protobuf:"bytes,8,opt,name=service_account_name,json=serviceAccountName,proto3,oneof" json:"service_account_name,omitempty"`
	// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
	// +optional
	AutomountServiceAccountToken *bool `` /* 157-byte string literal not displayed */
	// NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
	// the scheduler simply schedules this pod onto that node, assuming that it fits resource
	// requirements.
	// +optional
	NodeName *string `protobuf:"bytes,10,opt,name=node_name,json=nodeName,proto3,oneof" json:"node_name,omitempty"`
	// Host networking requested for this pod. Use the host's network namespace.
	// If this option is set, the ports that will be used must be specified.
	// Default to false.
	// +k8s:conversion-gen=false
	// +optional
	HostNetwork bool `protobuf:"varint,11,opt,name=host_network,json=hostNetwork,proto3" json:"host_network,omitempty"`
	// Use the host's pid namespace.
	// Optional: Default to false.
	// +k8s:conversion-gen=false
	// +optional
	HostPid bool `protobuf:"varint,12,opt,name=host_pid,json=hostPid,proto3" json:"host_pid,omitempty"`
	// Use the host's ipc namespace.
	// Optional: Default to false.
	// +k8s:conversion-gen=false
	// +optional
	HostIpc bool `protobuf:"varint,13,opt,name=host_ipc,json=hostIpc,proto3" json:"host_ipc,omitempty"`
	// Share a single process namespace between all of the containers in a pod.
	// When this is set containers will be able to view and signal processes from other containers
	// in the same pod, and the first process in each container will not be assigned PID 1.
	// HostPID and ShareProcessNamespace cannot both be set.
	// Optional: Default to false.
	// +k8s:conversion-gen=false
	// +optional
	ShareProcessNamespace bool `` /* 128-byte string literal not displayed */
	// Specifies the hostname of the Pod
	// If not specified, the pod's hostname will be set to a system-defined value.
	// +optional
	Hostname *string `protobuf:"bytes,16,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
	// If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
	// If not specified, the pod will not have a domainname at all.
	// +optional
	Subdomain *string `protobuf:"bytes,17,opt,name=subdomain,proto3,oneof" json:"subdomain,omitempty"`
	// If specified, the pod will be dispatched by specified scheduler.
	// If not specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName *string `protobuf:"bytes,19,opt,name=scheduler_name,json=schedulerName,proto3,oneof" json:"scheduler_name,omitempty"`
	// If specified, indicates the pod's priority. "system-node-critical" and
	// "system-cluster-critical" are two special keywords which indicate the
	// highest priorities with the former being the highest priority. Any other
	// name must be defined by creating a PriorityClass object with that name.
	// If not specified, the pod priority will be default or zero if there is no
	// default.
	// +optional
	PriorityClassName *string `protobuf:"bytes,24,opt,name=priority_class_name,json=priorityClassName,proto3,oneof" json:"priority_class_name,omitempty"`
	// The priority value. Various system components use this field to find the
	// priority of the pod. When Priority Admission Controller is enabled, it
	// prevents users from setting this field. The admission controller populates
	// this field from priority_class_name.
	// The higher the value, the higher the priority.
	// +optional
	Priority *int32 `protobuf:"varint,25,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
	// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
	// to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run.
	// If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
	// empty definition that uses the default runtime handler.
	// More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
	// +optional
	RuntimeClassName *string `protobuf:"bytes,29,opt,name=runtime_class_name,json=runtimeClassName,proto3,oneof" json:"runtime_class_name,omitempty"`
	// EnableServiceLinks indicates whether information about services should be injected into pod's
	// environment variables, matching the syntax of Docker links.
	// Optional: Defaults to true.
	// +optional
	EnableServiceLinks *bool `protobuf:"varint,30,opt,name=enable_service_links,json=enableServiceLinks,proto3,oneof" json:"enable_service_links,omitempty"`
	// PreemptionPolicy is the Policy for preempting pods with lower priority.
	// One of Never, PreemptLowerPriority.
	// Defaults to PreemptLowerPriority if unset.
	// +optional
	PreemptionPolicy *string `protobuf:"bytes,31,opt,name=preemption_policy,json=preemptionPolicy,proto3,oneof" json:"preemption_policy,omitempty"`
	// Use the host's user namespace.
	// Optional: Default to true.
	// If set to true or not present, the pod will be run in the host user namespace, useful
	// for when the pod needs a feature only available to the host user namespace, such as
	// loading a kernel module with CAP_SYS_MODULE.
	// When set to false, a new userns is created for the pod. Setting false is useful for
	// mitigating container breakout vulnerabilities even allowing users to run their
	// containers as root without actually having root privileges on the host.
	// This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.
	// +k8s:conversion-gen=false
	// +optional
	HostUsers *bool `protobuf:"varint,37,opt,name=host_users,json=hostUsers,proto3,oneof" json:"host_users,omitempty"`
	// ResourceClaims defines which ResourceClaims must be allocated
	// and reserved before the Pod is allowed to start. The resources
	// will be made available to those containers which consume them
	// by name.
	//
	// This is an alpha field and requires enabling the
	// DynamicResourceAllocation feature gate.
	//
	// This field is immutable.
	//
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	// +listType=map
	// +listMapKey=name
	// +featureGate=DynamicResourceAllocation
	// +optional
	ResourceClaims []*KubernetesPodData_PodResourceClaim `protobuf:"bytes,39,rep,name=resource_claims,json=resourceClaims,proto3" json:"resource_claims,omitempty"`
	// contains filtered or unexported fields
}

PodSpec is a description of a pod.

func (*KubernetesPodData_PodSpec) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_PodSpec.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_PodSpec) GetActiveDeadlineSeconds

func (x *KubernetesPodData_PodSpec) GetActiveDeadlineSeconds() int64

func (*KubernetesPodData_PodSpec) GetAutomountServiceAccountToken

func (x *KubernetesPodData_PodSpec) GetAutomountServiceAccountToken() bool

func (*KubernetesPodData_PodSpec) GetContainers

func (*KubernetesPodData_PodSpec) GetDnsPolicy

func (x *KubernetesPodData_PodSpec) GetDnsPolicy() string
func (x *KubernetesPodData_PodSpec) GetEnableServiceLinks() bool

func (*KubernetesPodData_PodSpec) GetHostIpc

func (x *KubernetesPodData_PodSpec) GetHostIpc() bool

func (*KubernetesPodData_PodSpec) GetHostNetwork

func (x *KubernetesPodData_PodSpec) GetHostNetwork() bool

func (*KubernetesPodData_PodSpec) GetHostPid

func (x *KubernetesPodData_PodSpec) GetHostPid() bool

func (*KubernetesPodData_PodSpec) GetHostUsers

func (x *KubernetesPodData_PodSpec) GetHostUsers() bool

func (*KubernetesPodData_PodSpec) GetHostname

func (x *KubernetesPodData_PodSpec) GetHostname() string

func (*KubernetesPodData_PodSpec) GetInitContainers

func (x *KubernetesPodData_PodSpec) GetInitContainers() []*KubernetesPodData_Container

func (*KubernetesPodData_PodSpec) GetNodeName

func (x *KubernetesPodData_PodSpec) GetNodeName() string

func (*KubernetesPodData_PodSpec) GetNodeSelector

func (x *KubernetesPodData_PodSpec) GetNodeSelector() map[string]string

func (*KubernetesPodData_PodSpec) GetPreemptionPolicy

func (x *KubernetesPodData_PodSpec) GetPreemptionPolicy() string

func (*KubernetesPodData_PodSpec) GetPriority

func (x *KubernetesPodData_PodSpec) GetPriority() int32

func (*KubernetesPodData_PodSpec) GetPriorityClassName

func (x *KubernetesPodData_PodSpec) GetPriorityClassName() string

func (*KubernetesPodData_PodSpec) GetResourceClaims

func (*KubernetesPodData_PodSpec) GetRestartPolicy

func (x *KubernetesPodData_PodSpec) GetRestartPolicy() string

func (*KubernetesPodData_PodSpec) GetRuntimeClassName

func (x *KubernetesPodData_PodSpec) GetRuntimeClassName() string

func (*KubernetesPodData_PodSpec) GetSchedulerName

func (x *KubernetesPodData_PodSpec) GetSchedulerName() string

func (*KubernetesPodData_PodSpec) GetServiceAccountName

func (x *KubernetesPodData_PodSpec) GetServiceAccountName() string

func (*KubernetesPodData_PodSpec) GetShareProcessNamespace

func (x *KubernetesPodData_PodSpec) GetShareProcessNamespace() bool

func (*KubernetesPodData_PodSpec) GetSubdomain

func (x *KubernetesPodData_PodSpec) GetSubdomain() string

func (*KubernetesPodData_PodSpec) GetTerminationGracePeriodSeconds

func (x *KubernetesPodData_PodSpec) GetTerminationGracePeriodSeconds() int64

func (*KubernetesPodData_PodSpec) GetVolumes

func (*KubernetesPodData_PodSpec) ProtoMessage

func (*KubernetesPodData_PodSpec) ProtoMessage()

func (*KubernetesPodData_PodSpec) ProtoReflect

func (*KubernetesPodData_PodSpec) Reset

func (x *KubernetesPodData_PodSpec) Reset()

func (*KubernetesPodData_PodSpec) String

func (x *KubernetesPodData_PodSpec) String() string

type KubernetesPodData_PodStatus

type KubernetesPodData_PodStatus struct {

	// The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
	// The conditions array, the reason and message fields, and the individual container status
	// arrays contain more detail about the pod's status.
	// There are five possible phase values:
	//
	// Pending: The pod has been accepted by the Kubernetes system, but one or more of the
	// container images has not been created. This includes time before being scheduled as
	// well as time spent downloading images over the network, which could take a while.
	// Running: The pod has been bound to a node, and all of the containers have been created.
	// At least one container is still running, or is in the process of starting or restarting.
	// Succeeded: All containers in the pod have terminated in success, and will not be restarted.
	// Failed: All containers in the pod have terminated, and at least one container has
	// terminated in failure. The container either exited with non-zero status or was terminated
	// by the system.
	// Unknown: For some reason the state of the pod could not be obtained, typically due to an
	// error in communicating with the host of the pod.
	//
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
	// +optional
	Phase *string `protobuf:"bytes,1,opt,name=phase,proto3,oneof" json:"phase,omitempty"`
	// Current service state of pod.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []*KubernetesPodData_PodCondition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// A human readable message indicating details about why the pod is in this condition.
	// +optional
	Message *string `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// A brief CamelCase message indicating details about why the pod is in this state.
	// e.g. 'Evicted'
	// +optional
	Reason *string `protobuf:"bytes,4,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	// nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
	// scheduled right away as preemption victims receive their graceful termination periods.
	// This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
	// to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
	// give the resources on this node to a higher priority pod that is created after preemption.
	// As a result, this field may be different than PodSpec.nodeName when the pod is
	// scheduled.
	// +optional
	NominatedNodeName *string `protobuf:"bytes,11,opt,name=nominated_node_name,json=nominatedNodeName,proto3,oneof" json:"nominated_node_name,omitempty"`
	// hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet.
	// A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will
	// not be updated even if there is a node is assigned to pod
	// +optional
	HostIp *string `protobuf:"bytes,5,opt,name=host_ip,json=hostIp,proto3,oneof" json:"host_ip,omitempty"`
	// hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must
	// match the hostIP field. This list is empty if the pod has not started yet.
	// A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will
	// not be updated even if there is a node is assigned to this pod.
	// +optional
	// +patchStrategy=merge
	// +patchMergeKey=ip
	// +listType=atomic
	HostIps []*KubernetesPodData_HostIP `protobuf:"bytes,16,rep,name=host_ips,json=hostIps,proto3" json:"host_ips,omitempty"`
	// podIP address allocated to the pod. Routable at least within the cluster.
	// Empty if not yet allocated.
	// +optional
	PodIp *string `protobuf:"bytes,6,opt,name=pod_ip,json=podIp,proto3,oneof" json:"pod_ip,omitempty"`
	// RFC 3339 date and time at which the object was acknowledged by the Kubelet.
	// This is before the Kubelet pulled the container image(s) for the pod.
	// +optional
	StartTime *int64 `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
	// The list has one entry per init container in the manifest. The most recent successful
	// init container will have ready = true, the most recently started container will have
	// startTime set.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
	// +listType=atomic
	InitContainerStatuses []*KubernetesPodData_ContainerStatus `` /* 127-byte string literal not displayed */
	// The list has one entry per container in the manifest.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
	// +optional
	// +listType=atomic
	ContainerStatuses []*KubernetesPodData_ContainerStatus `protobuf:"bytes,8,rep,name=container_statuses,json=containerStatuses,proto3" json:"container_statuses,omitempty"`
	// The Quality of Service (QOS) classification assigned to the pod based on resource requirements
	// See PodQOSClass type for available QOS classes
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
	// +optional
	QosClass *string `protobuf:"bytes,9,opt,name=qos_class,json=qosClass,proto3,oneof" json:"qos_class,omitempty"`
	// Status for any ephemeral containers that have run in this pod.
	// +optional
	// +listType=atomic
	EphemeralContainerStatuses []*KubernetesPodData_ContainerStatus `` /* 142-byte string literal not displayed */
	// Status of resources resize desired for pod's containers.
	// It is empty if no resources resize is pending.
	// Any changes to container resources will automatically set this to "Proposed"
	// +featureGate=InPlacePodVerticalScaling
	// +optional
	Resize *string `protobuf:"bytes,14,opt,name=resize,proto3,oneof" json:"resize,omitempty"`
	// contains filtered or unexported fields
}

PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.

func (*KubernetesPodData_PodStatus) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_PodStatus.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_PodStatus) GetConditions

func (*KubernetesPodData_PodStatus) GetContainerStatuses

func (*KubernetesPodData_PodStatus) GetEphemeralContainerStatuses

func (x *KubernetesPodData_PodStatus) GetEphemeralContainerStatuses() []*KubernetesPodData_ContainerStatus

func (*KubernetesPodData_PodStatus) GetHostIp

func (x *KubernetesPodData_PodStatus) GetHostIp() string

func (*KubernetesPodData_PodStatus) GetHostIps

func (*KubernetesPodData_PodStatus) GetInitContainerStatuses

func (x *KubernetesPodData_PodStatus) GetInitContainerStatuses() []*KubernetesPodData_ContainerStatus

func (*KubernetesPodData_PodStatus) GetMessage

func (x *KubernetesPodData_PodStatus) GetMessage() string

func (*KubernetesPodData_PodStatus) GetNominatedNodeName

func (x *KubernetesPodData_PodStatus) GetNominatedNodeName() string

func (*KubernetesPodData_PodStatus) GetPhase

func (x *KubernetesPodData_PodStatus) GetPhase() string

func (*KubernetesPodData_PodStatus) GetPodIp

func (x *KubernetesPodData_PodStatus) GetPodIp() string

func (*KubernetesPodData_PodStatus) GetQosClass

func (x *KubernetesPodData_PodStatus) GetQosClass() string

func (*KubernetesPodData_PodStatus) GetReason

func (x *KubernetesPodData_PodStatus) GetReason() string

func (*KubernetesPodData_PodStatus) GetResize

func (x *KubernetesPodData_PodStatus) GetResize() string

func (*KubernetesPodData_PodStatus) GetStartTime

func (x *KubernetesPodData_PodStatus) GetStartTime() int64

func (*KubernetesPodData_PodStatus) ProtoMessage

func (*KubernetesPodData_PodStatus) ProtoMessage()

func (*KubernetesPodData_PodStatus) ProtoReflect

func (*KubernetesPodData_PodStatus) Reset

func (x *KubernetesPodData_PodStatus) Reset()

func (*KubernetesPodData_PodStatus) String

func (x *KubernetesPodData_PodStatus) String() string

type KubernetesPodData_Quantity

type KubernetesPodData_Quantity struct {
	String_ *string `protobuf:"bytes,1,opt,name=string,proto3,oneof" json:"string,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesPodData_Quantity) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_Quantity.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_Quantity) GetString_

func (x *KubernetesPodData_Quantity) GetString_() string

func (*KubernetesPodData_Quantity) ProtoMessage

func (*KubernetesPodData_Quantity) ProtoMessage()

func (*KubernetesPodData_Quantity) ProtoReflect

func (*KubernetesPodData_Quantity) Reset

func (x *KubernetesPodData_Quantity) Reset()

func (*KubernetesPodData_Quantity) String

func (x *KubernetesPodData_Quantity) String() string

type KubernetesPodData_ResourceRequirements

type KubernetesPodData_ResourceRequirements struct {

	// Limits describes the maximum amount of compute resources allowed.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// +optional
	Limits map[string]*KubernetesPodData_Quantity `` /* 153-byte string literal not displayed */
	// Requests describes the minimum amount of compute resources required.
	// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
	// otherwise to an implementation-defined value. Requests cannot exceed Limits.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// +optional
	Requests map[string]*KubernetesPodData_Quantity `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KubernetesPodData_ResourceRequirements) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_ResourceRequirements.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_ResourceRequirements) GetLimits

func (*KubernetesPodData_ResourceRequirements) GetRequests

func (*KubernetesPodData_ResourceRequirements) ProtoMessage

func (*KubernetesPodData_ResourceRequirements) ProtoReflect

func (*KubernetesPodData_ResourceRequirements) Reset

func (*KubernetesPodData_ResourceRequirements) String

type KubernetesPodData_Volume

type KubernetesPodData_Volume struct {

	// name of the volume.
	// Must be a DNS_LABEL and unique within the pod.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Volume represents a named volume in a pod that may be accessed by any container in the pod.

func (*KubernetesPodData_Volume) Descriptor deprecated

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

Deprecated: Use KubernetesPodData_Volume.ProtoReflect.Descriptor instead.

func (*KubernetesPodData_Volume) GetName

func (x *KubernetesPodData_Volume) GetName() string

func (*KubernetesPodData_Volume) ProtoMessage

func (*KubernetesPodData_Volume) ProtoMessage()

func (*KubernetesPodData_Volume) ProtoReflect

func (x *KubernetesPodData_Volume) ProtoReflect() protoreflect.Message

func (*KubernetesPodData_Volume) Reset

func (x *KubernetesPodData_Volume) Reset()

func (*KubernetesPodData_Volume) String

func (x *KubernetesPodData_Volume) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL