v1

package
v1.17.0-beta24 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AWSElasticBlockStoreVolumeSource

type AWSElasticBlockStoreVolumeSource struct {

	// volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
	// fsType is the filesystem type of the volume that you want to mount.
	// Tip: Ensure that the filesystem type is supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// partition is the partition in the volume that you want to mount.
	// If omitted, the default is to mount by volume name.
	// Examples: For volume /dev/sda1, you specify the partition as "1".
	// Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
	// +optional
	Partition *int32 `protobuf:"varint,3,opt,name=partition" json:"partition,omitempty"`
	// readOnly value true will force the readOnly setting in VolumeMounts.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.

func (*AWSElasticBlockStoreVolumeSource) Descriptor deprecated

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

Deprecated: Use AWSElasticBlockStoreVolumeSource.ProtoReflect.Descriptor instead.

func (*AWSElasticBlockStoreVolumeSource) GetFsType

func (*AWSElasticBlockStoreVolumeSource) GetPartition

func (x *AWSElasticBlockStoreVolumeSource) GetPartition() int32

func (*AWSElasticBlockStoreVolumeSource) GetReadOnly

func (x *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool

func (*AWSElasticBlockStoreVolumeSource) GetVolumeID

func (x *AWSElasticBlockStoreVolumeSource) GetVolumeID() string

func (*AWSElasticBlockStoreVolumeSource) ProtoMessage

func (*AWSElasticBlockStoreVolumeSource) ProtoMessage()

func (*AWSElasticBlockStoreVolumeSource) ProtoReflect

func (*AWSElasticBlockStoreVolumeSource) Reset

func (*AWSElasticBlockStoreVolumeSource) String

type Affinity

type Affinity struct {

	// Describes node affinity scheduling rules for the pod.
	// +optional
	NodeAffinity *NodeAffinity `protobuf:"bytes,1,opt,name=nodeAffinity" json:"nodeAffinity,omitempty"`
	// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
	// +optional
	PodAffinity *PodAffinity `protobuf:"bytes,2,opt,name=podAffinity" json:"podAffinity,omitempty"`
	// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
	// +optional
	PodAntiAffinity *PodAntiAffinity `protobuf:"bytes,3,opt,name=podAntiAffinity" json:"podAntiAffinity,omitempty"`
	// contains filtered or unexported fields
}

Affinity is a group of affinity scheduling rules.

func (*Affinity) Descriptor deprecated

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

Deprecated: Use Affinity.ProtoReflect.Descriptor instead.

func (*Affinity) GetNodeAffinity

func (x *Affinity) GetNodeAffinity() *NodeAffinity

func (*Affinity) GetPodAffinity

func (x *Affinity) GetPodAffinity() *PodAffinity

func (*Affinity) GetPodAntiAffinity

func (x *Affinity) GetPodAntiAffinity() *PodAntiAffinity

func (*Affinity) ProtoMessage

func (*Affinity) ProtoMessage()

func (*Affinity) ProtoReflect

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

func (*Affinity) Reset

func (x *Affinity) Reset()

func (*Affinity) String

func (x *Affinity) String() string

type AttachedVolume

type AttachedVolume struct {

	// Name of the attached volume
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// DevicePath represents the device path where the volume should be available
	DevicePath *string `protobuf:"bytes,2,opt,name=devicePath" json:"devicePath,omitempty"`
	// contains filtered or unexported fields
}

AttachedVolume describes a volume attached to a node

func (*AttachedVolume) Descriptor deprecated

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

Deprecated: Use AttachedVolume.ProtoReflect.Descriptor instead.

func (*AttachedVolume) GetDevicePath

func (x *AttachedVolume) GetDevicePath() string

func (*AttachedVolume) GetName

func (x *AttachedVolume) GetName() string

func (*AttachedVolume) ProtoMessage

func (*AttachedVolume) ProtoMessage()

func (*AttachedVolume) ProtoReflect

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

func (*AttachedVolume) Reset

func (x *AttachedVolume) Reset()

func (*AttachedVolume) String

func (x *AttachedVolume) String() string

type AvoidPods

type AvoidPods struct {

	// Bounded-sized list of signatures of pods that should avoid this node, sorted
	// in timestamp order from oldest to newest. Size of the slice is unspecified.
	// +optional
	PreferAvoidPods []*PreferAvoidPodsEntry `protobuf:"bytes,1,rep,name=preferAvoidPods" json:"preferAvoidPods,omitempty"`
	// contains filtered or unexported fields
}

AvoidPods describes pods that should avoid this node. This is the value for a Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and will eventually become a field of NodeStatus.

func (*AvoidPods) Descriptor deprecated

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

Deprecated: Use AvoidPods.ProtoReflect.Descriptor instead.

func (*AvoidPods) GetPreferAvoidPods

func (x *AvoidPods) GetPreferAvoidPods() []*PreferAvoidPodsEntry

func (*AvoidPods) ProtoMessage

func (*AvoidPods) ProtoMessage()

func (*AvoidPods) ProtoReflect

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

func (*AvoidPods) Reset

func (x *AvoidPods) Reset()

func (*AvoidPods) String

func (x *AvoidPods) String() string

type AzureDiskVolumeSource

type AzureDiskVolumeSource struct {

	// diskName is the Name of the data disk in the blob storage
	DiskName *string `protobuf:"bytes,1,opt,name=diskName" json:"diskName,omitempty"`
	// diskURI is the URI of data disk in the blob storage
	DiskURI *string `protobuf:"bytes,2,opt,name=diskURI" json:"diskURI,omitempty"`
	// cachingMode is the Host Caching mode: None, Read Only, Read Write.
	// +optional
	CachingMode *string `protobuf:"bytes,3,opt,name=cachingMode" json:"cachingMode,omitempty"`
	// fsType is Filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// +optional
	FsType *string `protobuf:"bytes,4,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly Defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,5,opt,name=readOnly" json:"readOnly,omitempty"`
	// kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared
	Kind *string `protobuf:"bytes,6,opt,name=kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

func (*AzureDiskVolumeSource) Descriptor deprecated

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

Deprecated: Use AzureDiskVolumeSource.ProtoReflect.Descriptor instead.

func (*AzureDiskVolumeSource) GetCachingMode

func (x *AzureDiskVolumeSource) GetCachingMode() string

func (*AzureDiskVolumeSource) GetDiskName

func (x *AzureDiskVolumeSource) GetDiskName() string

func (*AzureDiskVolumeSource) GetDiskURI

func (x *AzureDiskVolumeSource) GetDiskURI() string

func (*AzureDiskVolumeSource) GetFsType

func (x *AzureDiskVolumeSource) GetFsType() string

func (*AzureDiskVolumeSource) GetKind

func (x *AzureDiskVolumeSource) GetKind() string

func (*AzureDiskVolumeSource) GetReadOnly

func (x *AzureDiskVolumeSource) GetReadOnly() bool

func (*AzureDiskVolumeSource) ProtoMessage

func (*AzureDiskVolumeSource) ProtoMessage()

func (*AzureDiskVolumeSource) ProtoReflect

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

func (*AzureDiskVolumeSource) Reset

func (x *AzureDiskVolumeSource) Reset()

func (*AzureDiskVolumeSource) String

func (x *AzureDiskVolumeSource) String() string

type AzureFilePersistentVolumeSource

type AzureFilePersistentVolumeSource struct {

	// secretName is the name of secret that contains Azure Storage Account Name and Key
	SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"`
	// shareName is the azure Share Name
	ShareName *string `protobuf:"bytes,2,opt,name=shareName" json:"shareName,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key
	// default is the same as the Pod
	// +optional
	SecretNamespace *string `protobuf:"bytes,4,opt,name=secretNamespace" json:"secretNamespace,omitempty"`
	// contains filtered or unexported fields
}

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

func (*AzureFilePersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use AzureFilePersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*AzureFilePersistentVolumeSource) GetReadOnly

func (x *AzureFilePersistentVolumeSource) GetReadOnly() bool

func (*AzureFilePersistentVolumeSource) GetSecretName

func (x *AzureFilePersistentVolumeSource) GetSecretName() string

func (*AzureFilePersistentVolumeSource) GetSecretNamespace

func (x *AzureFilePersistentVolumeSource) GetSecretNamespace() string

func (*AzureFilePersistentVolumeSource) GetShareName

func (x *AzureFilePersistentVolumeSource) GetShareName() string

func (*AzureFilePersistentVolumeSource) ProtoMessage

func (*AzureFilePersistentVolumeSource) ProtoMessage()

func (*AzureFilePersistentVolumeSource) ProtoReflect

func (*AzureFilePersistentVolumeSource) Reset

func (*AzureFilePersistentVolumeSource) String

type AzureFileVolumeSource

type AzureFileVolumeSource struct {

	// secretName is the  name of secret that contains Azure Storage Account Name and Key
	SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"`
	// shareName is the azure share Name
	ShareName *string `protobuf:"bytes,2,opt,name=shareName" json:"shareName,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

func (*AzureFileVolumeSource) Descriptor deprecated

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

Deprecated: Use AzureFileVolumeSource.ProtoReflect.Descriptor instead.

func (*AzureFileVolumeSource) GetReadOnly

func (x *AzureFileVolumeSource) GetReadOnly() bool

func (*AzureFileVolumeSource) GetSecretName

func (x *AzureFileVolumeSource) GetSecretName() string

func (*AzureFileVolumeSource) GetShareName

func (x *AzureFileVolumeSource) GetShareName() string

func (*AzureFileVolumeSource) ProtoMessage

func (*AzureFileVolumeSource) ProtoMessage()

func (*AzureFileVolumeSource) ProtoReflect

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

func (*AzureFileVolumeSource) Reset

func (x *AzureFileVolumeSource) Reset()

func (*AzureFileVolumeSource) String

func (x *AzureFileVolumeSource) String() string

type Binding

type Binding struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// The target object that you want to bind to the standard object.
	Target *ObjectReference `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.

func (*Binding) Descriptor deprecated

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

Deprecated: Use Binding.ProtoReflect.Descriptor instead.

func (*Binding) GetMetadata

func (x *Binding) GetMetadata() *v1.ObjectMeta

func (*Binding) GetTarget

func (x *Binding) GetTarget() *ObjectReference

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) ProtoReflect

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

func (*Binding) Reset

func (x *Binding) Reset()

func (*Binding) String

func (x *Binding) String() string

type CSIPersistentVolumeSource

type CSIPersistentVolumeSource struct {

	// driver is the name of the driver to use for this volume.
	// Required.
	Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	// volumeHandle is the unique volume name returned by the CSI volume
	// plugin’s CreateVolume to refer to the volume on all subsequent calls.
	// Required.
	VolumeHandle *string `protobuf:"bytes,2,opt,name=volumeHandle" json:"volumeHandle,omitempty"`
	// readOnly value to pass to ControllerPublishVolumeRequest.
	// Defaults to false (read/write).
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// fsType to mount. Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs".
	// +optional
	FsType *string `protobuf:"bytes,4,opt,name=fsType" json:"fsType,omitempty"`
	// volumeAttributes of the volume to publish.
	// +optional
	VolumeAttributes map[string]string `` /* 152-byte string literal not displayed */
	// controllerPublishSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// ControllerPublishVolume and ControllerUnpublishVolume calls.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	ControllerPublishSecretRef *SecretReference `protobuf:"bytes,6,opt,name=controllerPublishSecretRef" json:"controllerPublishSecretRef,omitempty"`
	// nodeStageSecretRef is a reference to the secret object containing sensitive
	// information to pass to the CSI driver to complete the CSI NodeStageVolume
	// and NodeStageVolume and NodeUnstageVolume calls.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	NodeStageSecretRef *SecretReference `protobuf:"bytes,7,opt,name=nodeStageSecretRef" json:"nodeStageSecretRef,omitempty"`
	// nodePublishSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// NodePublishVolume and NodeUnpublishVolume calls.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	NodePublishSecretRef *SecretReference `protobuf:"bytes,8,opt,name=nodePublishSecretRef" json:"nodePublishSecretRef,omitempty"`
	// controllerExpandSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// ControllerExpandVolume call.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	ControllerExpandSecretRef *SecretReference `protobuf:"bytes,9,opt,name=controllerExpandSecretRef" json:"controllerExpandSecretRef,omitempty"`
	// nodeExpandSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// NodeExpandVolume call.
	// This is a beta field which is enabled default by CSINodeExpandSecret feature gate.
	// This field is optional, may be omitted if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +featureGate=CSINodeExpandSecret
	// +optional
	NodeExpandSecretRef *SecretReference `protobuf:"bytes,10,opt,name=nodeExpandSecretRef" json:"nodeExpandSecretRef,omitempty"`
	// contains filtered or unexported fields
}

Represents storage that is managed by an external CSI volume driver (Beta feature)

func (*CSIPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use CSIPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*CSIPersistentVolumeSource) GetControllerExpandSecretRef

func (x *CSIPersistentVolumeSource) GetControllerExpandSecretRef() *SecretReference

func (*CSIPersistentVolumeSource) GetControllerPublishSecretRef

func (x *CSIPersistentVolumeSource) GetControllerPublishSecretRef() *SecretReference

func (*CSIPersistentVolumeSource) GetDriver

func (x *CSIPersistentVolumeSource) GetDriver() string

func (*CSIPersistentVolumeSource) GetFsType

func (x *CSIPersistentVolumeSource) GetFsType() string

func (*CSIPersistentVolumeSource) GetNodeExpandSecretRef

func (x *CSIPersistentVolumeSource) GetNodeExpandSecretRef() *SecretReference

func (*CSIPersistentVolumeSource) GetNodePublishSecretRef

func (x *CSIPersistentVolumeSource) GetNodePublishSecretRef() *SecretReference

func (*CSIPersistentVolumeSource) GetNodeStageSecretRef

func (x *CSIPersistentVolumeSource) GetNodeStageSecretRef() *SecretReference

func (*CSIPersistentVolumeSource) GetReadOnly

func (x *CSIPersistentVolumeSource) GetReadOnly() bool

func (*CSIPersistentVolumeSource) GetVolumeAttributes

func (x *CSIPersistentVolumeSource) GetVolumeAttributes() map[string]string

func (*CSIPersistentVolumeSource) GetVolumeHandle

func (x *CSIPersistentVolumeSource) GetVolumeHandle() string

func (*CSIPersistentVolumeSource) ProtoMessage

func (*CSIPersistentVolumeSource) ProtoMessage()

func (*CSIPersistentVolumeSource) ProtoReflect

func (*CSIPersistentVolumeSource) Reset

func (x *CSIPersistentVolumeSource) Reset()

func (*CSIPersistentVolumeSource) String

func (x *CSIPersistentVolumeSource) String() string

type CSIVolumeSource

type CSIVolumeSource struct {

	// driver is the name of the CSI driver that handles this volume.
	// Consult with your admin for the correct name as registered in the cluster.
	Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	// readOnly specifies a read-only configuration for the volume.
	// Defaults to false (read/write).
	// +optional
	ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"`
	// fsType to mount. Ex. "ext4", "xfs", "ntfs".
	// If not provided, the empty value is passed to the associated CSI driver
	// which will determine the default filesystem to apply.
	// +optional
	FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
	// volumeAttributes stores driver-specific properties that are passed to the CSI
	// driver. Consult your driver's documentation for supported values.
	// +optional
	VolumeAttributes map[string]string `` /* 152-byte string literal not displayed */
	// nodePublishSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// NodePublishVolume and NodeUnpublishVolume calls.
	// This field is optional, and  may be empty if no secret is required. If the
	// secret object contains more than one secret, all secret references are passed.
	// +optional
	NodePublishSecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=nodePublishSecretRef" json:"nodePublishSecretRef,omitempty"`
	// contains filtered or unexported fields
}

Represents a source location of a volume to mount, managed by an external CSI driver

func (*CSIVolumeSource) Descriptor deprecated

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

Deprecated: Use CSIVolumeSource.ProtoReflect.Descriptor instead.

func (*CSIVolumeSource) GetDriver

func (x *CSIVolumeSource) GetDriver() string

func (*CSIVolumeSource) GetFsType

func (x *CSIVolumeSource) GetFsType() string

func (*CSIVolumeSource) GetNodePublishSecretRef

func (x *CSIVolumeSource) GetNodePublishSecretRef() *LocalObjectReference

func (*CSIVolumeSource) GetReadOnly

func (x *CSIVolumeSource) GetReadOnly() bool

func (*CSIVolumeSource) GetVolumeAttributes

func (x *CSIVolumeSource) GetVolumeAttributes() map[string]string

func (*CSIVolumeSource) ProtoMessage

func (*CSIVolumeSource) ProtoMessage()

func (*CSIVolumeSource) ProtoReflect

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

func (*CSIVolumeSource) Reset

func (x *CSIVolumeSource) Reset()

func (*CSIVolumeSource) String

func (x *CSIVolumeSource) String() string

type Capabilities

type Capabilities struct {

	// Added capabilities
	// +optional
	Add []string `protobuf:"bytes,1,rep,name=add" json:"add,omitempty"`
	// Removed capabilities
	// +optional
	Drop []string `protobuf:"bytes,2,rep,name=drop" json:"drop,omitempty"`
	// contains filtered or unexported fields
}

Adds and removes POSIX capabilities from running containers.

func (*Capabilities) Descriptor deprecated

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

Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.

func (*Capabilities) GetAdd

func (x *Capabilities) GetAdd() []string

func (*Capabilities) GetDrop

func (x *Capabilities) GetDrop() []string

func (*Capabilities) ProtoMessage

func (*Capabilities) ProtoMessage()

func (*Capabilities) ProtoReflect

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

func (*Capabilities) Reset

func (x *Capabilities) Reset()

func (*Capabilities) String

func (x *Capabilities) String() string

type CephFSPersistentVolumeSource

type CephFSPersistentVolumeSource struct {

	// monitors is Required: Monitors is a collection of Ceph monitors
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
	// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
	// +optional
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// user is Optional: User is the rados user name, default is admin
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	User *string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
	// secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	SecretFile *string `protobuf:"bytes,4,opt,name=secretFile" json:"secretFile,omitempty"`
	// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	SecretRef *SecretReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
	// readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

func (*CephFSPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use CephFSPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*CephFSPersistentVolumeSource) GetMonitors

func (x *CephFSPersistentVolumeSource) GetMonitors() []string

func (*CephFSPersistentVolumeSource) GetPath

func (x *CephFSPersistentVolumeSource) GetPath() string

func (*CephFSPersistentVolumeSource) GetReadOnly

func (x *CephFSPersistentVolumeSource) GetReadOnly() bool

func (*CephFSPersistentVolumeSource) GetSecretFile

func (x *CephFSPersistentVolumeSource) GetSecretFile() string

func (*CephFSPersistentVolumeSource) GetSecretRef

func (x *CephFSPersistentVolumeSource) GetSecretRef() *SecretReference

func (*CephFSPersistentVolumeSource) GetUser

func (x *CephFSPersistentVolumeSource) GetUser() string

func (*CephFSPersistentVolumeSource) ProtoMessage

func (*CephFSPersistentVolumeSource) ProtoMessage()

func (*CephFSPersistentVolumeSource) ProtoReflect

func (*CephFSPersistentVolumeSource) Reset

func (x *CephFSPersistentVolumeSource) Reset()

func (*CephFSPersistentVolumeSource) String

type CephFSVolumeSource

type CephFSVolumeSource struct {

	// monitors is Required: Monitors is a collection of Ceph monitors
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
	// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
	// +optional
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// user is optional: User is the rados user name, default is admin
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	User *string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
	// secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	SecretFile *string `protobuf:"bytes,4,opt,name=secretFile" json:"secretFile,omitempty"`
	// secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	SecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
	// readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// +optional
	ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

func (*CephFSVolumeSource) Descriptor deprecated

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

Deprecated: Use CephFSVolumeSource.ProtoReflect.Descriptor instead.

func (*CephFSVolumeSource) GetMonitors

func (x *CephFSVolumeSource) GetMonitors() []string

func (*CephFSVolumeSource) GetPath

func (x *CephFSVolumeSource) GetPath() string

func (*CephFSVolumeSource) GetReadOnly

func (x *CephFSVolumeSource) GetReadOnly() bool

func (*CephFSVolumeSource) GetSecretFile

func (x *CephFSVolumeSource) GetSecretFile() string

func (*CephFSVolumeSource) GetSecretRef

func (x *CephFSVolumeSource) GetSecretRef() *LocalObjectReference

func (*CephFSVolumeSource) GetUser

func (x *CephFSVolumeSource) GetUser() string

func (*CephFSVolumeSource) ProtoMessage

func (*CephFSVolumeSource) ProtoMessage()

func (*CephFSVolumeSource) ProtoReflect

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

func (*CephFSVolumeSource) Reset

func (x *CephFSVolumeSource) Reset()

func (*CephFSVolumeSource) String

func (x *CephFSVolumeSource) String() string

type CinderPersistentVolumeSource

type CinderPersistentVolumeSource struct {

	// volumeID used to identify the volume in cinder.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
	// fsType Filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// secretRef is Optional: points to a secret object containing parameters used to connect
	// to OpenStack.
	// +optional
	SecretRef *SecretReference `protobuf:"bytes,4,opt,name=secretRef" json:"secretRef,omitempty"`
	// contains filtered or unexported fields
}

Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

func (*CinderPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use CinderPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*CinderPersistentVolumeSource) GetFsType

func (x *CinderPersistentVolumeSource) GetFsType() string

func (*CinderPersistentVolumeSource) GetReadOnly

func (x *CinderPersistentVolumeSource) GetReadOnly() bool

func (*CinderPersistentVolumeSource) GetSecretRef

func (x *CinderPersistentVolumeSource) GetSecretRef() *SecretReference

func (*CinderPersistentVolumeSource) GetVolumeID

func (x *CinderPersistentVolumeSource) GetVolumeID() string

func (*CinderPersistentVolumeSource) ProtoMessage

func (*CinderPersistentVolumeSource) ProtoMessage()

func (*CinderPersistentVolumeSource) ProtoReflect

func (*CinderPersistentVolumeSource) Reset

func (x *CinderPersistentVolumeSource) Reset()

func (*CinderPersistentVolumeSource) String

type CinderVolumeSource

type CinderVolumeSource struct {

	// volumeID used to identify the volume in cinder.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// secretRef is optional: points to a secret object containing parameters used to connect
	// to OpenStack.
	// +optional
	SecretRef *LocalObjectReference `protobuf:"bytes,4,opt,name=secretRef" json:"secretRef,omitempty"`
	// contains filtered or unexported fields
}

Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

func (*CinderVolumeSource) Descriptor deprecated

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

Deprecated: Use CinderVolumeSource.ProtoReflect.Descriptor instead.

func (*CinderVolumeSource) GetFsType

func (x *CinderVolumeSource) GetFsType() string

func (*CinderVolumeSource) GetReadOnly

func (x *CinderVolumeSource) GetReadOnly() bool

func (*CinderVolumeSource) GetSecretRef

func (x *CinderVolumeSource) GetSecretRef() *LocalObjectReference

func (*CinderVolumeSource) GetVolumeID

func (x *CinderVolumeSource) GetVolumeID() string

func (*CinderVolumeSource) ProtoMessage

func (*CinderVolumeSource) ProtoMessage()

func (*CinderVolumeSource) ProtoReflect

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

func (*CinderVolumeSource) Reset

func (x *CinderVolumeSource) Reset()

func (*CinderVolumeSource) String

func (x *CinderVolumeSource) String() string

type ClaimSource

type ClaimSource struct {

	// ResourceClaimName is the name of a ResourceClaim object in the same
	// namespace as this pod.
	ResourceClaimName *string `protobuf:"bytes,1,opt,name=resourceClaimName" json:"resourceClaimName,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 `protobuf:"bytes,2,opt,name=resourceClaimTemplateName" json:"resourceClaimTemplateName,omitempty"`
	// 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 (*ClaimSource) Descriptor deprecated

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

Deprecated: Use ClaimSource.ProtoReflect.Descriptor instead.

func (*ClaimSource) GetResourceClaimName

func (x *ClaimSource) GetResourceClaimName() string

func (*ClaimSource) GetResourceClaimTemplateName

func (x *ClaimSource) GetResourceClaimTemplateName() string

func (*ClaimSource) ProtoMessage

func (*ClaimSource) ProtoMessage()

func (*ClaimSource) ProtoReflect

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

func (*ClaimSource) Reset

func (x *ClaimSource) Reset()

func (*ClaimSource) String

func (x *ClaimSource) String() string

type ClientIPConfig

type ClientIPConfig struct {

	// timeoutSeconds specifies the seconds of ClientIP type session sticky time.
	// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".
	// Default value is 10800(for 3 hours).
	// +optional
	TimeoutSeconds *int32 `protobuf:"varint,1,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
	// contains filtered or unexported fields
}

ClientIPConfig represents the configurations of Client IP based session affinity.

func (*ClientIPConfig) Descriptor deprecated

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

Deprecated: Use ClientIPConfig.ProtoReflect.Descriptor instead.

func (*ClientIPConfig) GetTimeoutSeconds

func (x *ClientIPConfig) GetTimeoutSeconds() int32

func (*ClientIPConfig) ProtoMessage

func (*ClientIPConfig) ProtoMessage()

func (*ClientIPConfig) ProtoReflect

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

func (*ClientIPConfig) Reset

func (x *ClientIPConfig) Reset()

func (*ClientIPConfig) String

func (x *ClientIPConfig) String() string

type ComponentCondition

type ComponentCondition struct {

	// Type of condition for a component.
	// Valid value: "Healthy"
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition for a component.
	// Valid values for "Healthy": "True", "False", or "Unknown".
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// Message about the condition for a component.
	// For example, information about a health check.
	// +optional
	Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	// Condition error code for a component.
	// For example, a health check error code.
	// +optional
	Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Information about the condition of a component.

func (*ComponentCondition) Descriptor deprecated

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

Deprecated: Use ComponentCondition.ProtoReflect.Descriptor instead.

func (*ComponentCondition) GetError

func (x *ComponentCondition) GetError() string

func (*ComponentCondition) GetMessage

func (x *ComponentCondition) GetMessage() string

func (*ComponentCondition) GetStatus

func (x *ComponentCondition) GetStatus() string

func (*ComponentCondition) GetType

func (x *ComponentCondition) GetType() string

func (*ComponentCondition) ProtoMessage

func (*ComponentCondition) ProtoMessage()

func (*ComponentCondition) ProtoReflect

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

func (*ComponentCondition) Reset

func (x *ComponentCondition) Reset()

func (*ComponentCondition) String

func (x *ComponentCondition) String() string

type ComponentStatus

type ComponentStatus struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of component conditions observed
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*ComponentCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+

func (*ComponentStatus) Descriptor deprecated

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

Deprecated: Use ComponentStatus.ProtoReflect.Descriptor instead.

func (*ComponentStatus) GetConditions

func (x *ComponentStatus) GetConditions() []*ComponentCondition

func (*ComponentStatus) GetMetadata

func (x *ComponentStatus) GetMetadata() *v1.ObjectMeta

func (*ComponentStatus) ProtoMessage

func (*ComponentStatus) ProtoMessage()

func (*ComponentStatus) ProtoReflect

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

func (*ComponentStatus) Reset

func (x *ComponentStatus) Reset()

func (*ComponentStatus) String

func (x *ComponentStatus) String() string

type ComponentStatusList

type ComponentStatusList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of ComponentStatus objects.
	Items []*ComponentStatus `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+

func (*ComponentStatusList) Descriptor deprecated

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

Deprecated: Use ComponentStatusList.ProtoReflect.Descriptor instead.

func (*ComponentStatusList) GetItems

func (x *ComponentStatusList) GetItems() []*ComponentStatus

func (*ComponentStatusList) GetMetadata

func (x *ComponentStatusList) GetMetadata() *v1.ListMeta

func (*ComponentStatusList) ProtoMessage

func (*ComponentStatusList) ProtoMessage()

func (*ComponentStatusList) ProtoReflect

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

func (*ComponentStatusList) Reset

func (x *ComponentStatusList) Reset()

func (*ComponentStatusList) String

func (x *ComponentStatusList) String() string

type ConfigMap

type ConfigMap struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Immutable, if set to true, ensures that data stored in the ConfigMap cannot
	// be updated (only object metadata can be modified).
	// If not set to true, the field can be modified at any time.
	// Defaulted to nil.
	// +optional
	Immutable *bool `protobuf:"varint,4,opt,name=immutable" json:"immutable,omitempty"`
	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `` /* 128-byte string literal not displayed */
	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// Using this field will require 1.10+ apiserver and
	// kubelet.
	// +optional
	BinaryData map[string][]byte `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigMap holds configuration data for pods to consume.

func (*ConfigMap) Descriptor deprecated

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

Deprecated: Use ConfigMap.ProtoReflect.Descriptor instead.

func (*ConfigMap) GetBinaryData

func (x *ConfigMap) GetBinaryData() map[string][]byte

func (*ConfigMap) GetData

func (x *ConfigMap) GetData() map[string]string

func (*ConfigMap) GetImmutable

func (x *ConfigMap) GetImmutable() bool

func (*ConfigMap) GetMetadata

func (x *ConfigMap) GetMetadata() *v1.ObjectMeta

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) ProtoReflect

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

func (*ConfigMap) Reset

func (x *ConfigMap) Reset()

func (*ConfigMap) String

func (x *ConfigMap) String() string

type ConfigMapEnvSource

type ConfigMapEnvSource struct {

	// The ConfigMap to select from.
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// Specify whether the ConfigMap must be defined
	// +optional
	Optional *bool `protobuf:"varint,2,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

func (*ConfigMapEnvSource) Descriptor deprecated

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

Deprecated: Use ConfigMapEnvSource.ProtoReflect.Descriptor instead.

func (*ConfigMapEnvSource) GetLocalObjectReference

func (x *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference

func (*ConfigMapEnvSource) GetOptional

func (x *ConfigMapEnvSource) GetOptional() bool

func (*ConfigMapEnvSource) ProtoMessage

func (*ConfigMapEnvSource) ProtoMessage()

func (*ConfigMapEnvSource) ProtoReflect

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

func (*ConfigMapEnvSource) Reset

func (x *ConfigMapEnvSource) Reset()

func (*ConfigMapEnvSource) String

func (x *ConfigMapEnvSource) String() string

type ConfigMapKeySelector

type ConfigMapKeySelector struct {

	// The ConfigMap to select from.
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// The key to select.
	Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	// Specify whether the ConfigMap or its key must be defined
	// +optional
	Optional *bool `protobuf:"varint,3,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

Selects a key from a ConfigMap. +structType=atomic

func (*ConfigMapKeySelector) Descriptor deprecated

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

Deprecated: Use ConfigMapKeySelector.ProtoReflect.Descriptor instead.

func (*ConfigMapKeySelector) GetKey

func (x *ConfigMapKeySelector) GetKey() string

func (*ConfigMapKeySelector) GetLocalObjectReference

func (x *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference

func (*ConfigMapKeySelector) GetOptional

func (x *ConfigMapKeySelector) GetOptional() bool

func (*ConfigMapKeySelector) ProtoMessage

func (*ConfigMapKeySelector) ProtoMessage()

func (*ConfigMapKeySelector) ProtoReflect

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

func (*ConfigMapKeySelector) Reset

func (x *ConfigMapKeySelector) Reset()

func (*ConfigMapKeySelector) String

func (x *ConfigMapKeySelector) String() string

type ConfigMapList

type ConfigMapList struct {

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is the list of ConfigMaps.
	Items []*ConfigMap `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ConfigMapList is a resource containing a list of ConfigMap objects.

func (*ConfigMapList) Descriptor deprecated

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

Deprecated: Use ConfigMapList.ProtoReflect.Descriptor instead.

func (*ConfigMapList) GetItems

func (x *ConfigMapList) GetItems() []*ConfigMap

func (*ConfigMapList) GetMetadata

func (x *ConfigMapList) GetMetadata() *v1.ListMeta

func (*ConfigMapList) ProtoMessage

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) ProtoReflect

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

func (*ConfigMapList) Reset

func (x *ConfigMapList) Reset()

func (*ConfigMapList) String

func (x *ConfigMapList) String() string

type ConfigMapNodeConfigSource

type ConfigMapNodeConfigSource struct {

	// Namespace is the metadata.namespace of the referenced ConfigMap.
	// This field is required in all cases.
	Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// Name is the metadata.name of the referenced ConfigMap.
	// This field is required in all cases.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// UID is the metadata.UID of the referenced ConfigMap.
	// This field is forbidden in Node.Spec, and required in Node.Status.
	// +optional
	Uid *string `protobuf:"bytes,3,opt,name=uid" json:"uid,omitempty"`
	// ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
	// This field is forbidden in Node.Spec, and required in Node.Status.
	// +optional
	ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	// KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
	// This field is required in all cases.
	KubeletConfigKey *string `protobuf:"bytes,5,opt,name=kubeletConfigKey" json:"kubeletConfigKey,omitempty"`
	// contains filtered or unexported fields
}

ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration

func (*ConfigMapNodeConfigSource) Descriptor deprecated

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

Deprecated: Use ConfigMapNodeConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigMapNodeConfigSource) GetKubeletConfigKey

func (x *ConfigMapNodeConfigSource) GetKubeletConfigKey() string

func (*ConfigMapNodeConfigSource) GetName

func (x *ConfigMapNodeConfigSource) GetName() string

func (*ConfigMapNodeConfigSource) GetNamespace

func (x *ConfigMapNodeConfigSource) GetNamespace() string

func (*ConfigMapNodeConfigSource) GetResourceVersion

func (x *ConfigMapNodeConfigSource) GetResourceVersion() string

func (*ConfigMapNodeConfigSource) GetUid

func (x *ConfigMapNodeConfigSource) GetUid() string

func (*ConfigMapNodeConfigSource) ProtoMessage

func (*ConfigMapNodeConfigSource) ProtoMessage()

func (*ConfigMapNodeConfigSource) ProtoReflect

func (*ConfigMapNodeConfigSource) Reset

func (x *ConfigMapNodeConfigSource) Reset()

func (*ConfigMapNodeConfigSource) String

func (x *ConfigMapNodeConfigSource) String() string

type ConfigMapProjection

type ConfigMapProjection struct {
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// items if unspecified, each key-value pair in the Data field of the referenced
	// ConfigMap will be projected into the volume as a file whose name is the
	// key and content is the value. If specified, the listed keys will be
	// projected into the specified paths, and unlisted keys will not be
	// present. If a key is specified which is not present in the ConfigMap,
	// the volume setup will error unless it is marked optional. Paths must be
	// relative and may not contain the '..' path or start with '..'.
	// +optional
	Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// optional specify whether the ConfigMap or its keys must be defined
	// +optional
	Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.

func (*ConfigMapProjection) Descriptor deprecated

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

Deprecated: Use ConfigMapProjection.ProtoReflect.Descriptor instead.

func (*ConfigMapProjection) GetItems

func (x *ConfigMapProjection) GetItems() []*KeyToPath

func (*ConfigMapProjection) GetLocalObjectReference

func (x *ConfigMapProjection) GetLocalObjectReference() *LocalObjectReference

func (*ConfigMapProjection) GetOptional

func (x *ConfigMapProjection) GetOptional() bool

func (*ConfigMapProjection) ProtoMessage

func (*ConfigMapProjection) ProtoMessage()

func (*ConfigMapProjection) ProtoReflect

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

func (*ConfigMapProjection) Reset

func (x *ConfigMapProjection) Reset()

func (*ConfigMapProjection) String

func (x *ConfigMapProjection) String() string

type ConfigMapVolumeSource

type ConfigMapVolumeSource struct {
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// items if unspecified, each key-value pair in the Data field of the referenced
	// ConfigMap will be projected into the volume as a file whose name is the
	// key and content is the value. If specified, the listed keys will be
	// projected into the specified paths, and unlisted keys will not be
	// present. If a key is specified which is not present in the ConfigMap,
	// the volume setup will error unless it is marked optional. Paths must be
	// relative and may not contain the '..' path or start with '..'.
	// +optional
	Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// defaultMode is optional: mode bits used to set permissions on created files by default.
	// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
	// Defaults to 0644.
	// Directories within the path are not affected by this setting.
	// This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	// +optional
	DefaultMode *int32 `protobuf:"varint,3,opt,name=defaultMode" json:"defaultMode,omitempty"`
	// optional specify whether the ConfigMap or its keys must be defined
	// +optional
	Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

Adapts a ConfigMap into a volume.

The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.

func (*ConfigMapVolumeSource) Descriptor deprecated

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

Deprecated: Use ConfigMapVolumeSource.ProtoReflect.Descriptor instead.

func (*ConfigMapVolumeSource) GetDefaultMode

func (x *ConfigMapVolumeSource) GetDefaultMode() int32

func (*ConfigMapVolumeSource) GetItems

func (x *ConfigMapVolumeSource) GetItems() []*KeyToPath

func (*ConfigMapVolumeSource) GetLocalObjectReference

func (x *ConfigMapVolumeSource) GetLocalObjectReference() *LocalObjectReference

func (*ConfigMapVolumeSource) GetOptional

func (x *ConfigMapVolumeSource) GetOptional() bool

func (*ConfigMapVolumeSource) ProtoMessage

func (*ConfigMapVolumeSource) ProtoMessage()

func (*ConfigMapVolumeSource) ProtoReflect

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

func (*ConfigMapVolumeSource) Reset

func (x *ConfigMapVolumeSource) Reset()

func (*ConfigMapVolumeSource) String

func (x *ConfigMapVolumeSource) String() string

type Container

type 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" 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" 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
	Command []string `protobuf:"bytes,3,rep,name=command" 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
	Args []string `protobuf:"bytes,4,rep,name=args" 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=workingDir" json:"workingDir,omitempty"`
	// List of ports to expose from the container. Not specifying a port here
	// DOES NOT prevent that port from being exposed. Any port which is
	// listening on the default "0.0.0.0" address inside a container will be
	// accessible from the network.
	// Modifying this array with strategic merge patch may corrupt the data.
	// For more information See https://github.com/kubernetes/kubernetes/issues/108255.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=containerPort
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=containerPort
	// +listMapKey=protocol
	Ports []*ContainerPort `protobuf:"bytes,6,rep,name=ports" json:"ports,omitempty"`
	// List of sources to populate environment variables in the container.
	// The keys defined within a source must be a C_IDENTIFIER. All invalid keys
	// will be reported as an event when the container is starting. When a key exists in multiple
	// sources, the value associated with the last source will take precedence.
	// Values defined by an Env with a duplicate key will take precedence.
	// Cannot be updated.
	// +optional
	EnvFrom []*EnvFromSource `protobuf:"bytes,19,rep,name=envFrom" json:"envFrom,omitempty"`
	// List of environment variables to set in the container.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	Env []*EnvVar `protobuf:"bytes,7,rep,name=env" 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 *ResourceRequirements `protobuf:"bytes,8,opt,name=resources" json:"resources,omitempty"`
	// Resources resize policy for the container.
	// +featureGate=InPlacePodVerticalScaling
	// +optional
	// +listType=atomic
	ResizePolicy []*ContainerResizePolicy `protobuf:"bytes,23,rep,name=resizePolicy" json:"resizePolicy,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=restartPolicy" json:"restartPolicy,omitempty"`
	// Pod volumes to mount into the container's filesystem.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=mountPath
	// +patchStrategy=merge
	VolumeMounts []*VolumeMount `protobuf:"bytes,9,rep,name=volumeMounts" json:"volumeMounts,omitempty"`
	// volumeDevices is the list of block devices to be used by the container.
	// +patchMergeKey=devicePath
	// +patchStrategy=merge
	// +optional
	VolumeDevices []*VolumeDevice `protobuf:"bytes,21,rep,name=volumeDevices" json:"volumeDevices,omitempty"`
	// Periodic probe of container liveness.
	// Container will be restarted if the probe fails.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	LivenessProbe *Probe `protobuf:"bytes,10,opt,name=livenessProbe" json:"livenessProbe,omitempty"`
	// Periodic probe of container service readiness.
	// Container will be removed from service endpoints if the probe fails.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	ReadinessProbe *Probe `protobuf:"bytes,11,opt,name=readinessProbe" json:"readinessProbe,omitempty"`
	// StartupProbe indicates that the Pod has successfully initialized.
	// If specified, no other probes are executed until this completes successfully.
	// If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
	// This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
	// when it might take a long time to load data or warm a cache, than during steady-state operation.
	// This cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	StartupProbe *Probe `protobuf:"bytes,22,opt,name=startupProbe" json:"startupProbe,omitempty"`
	// Actions that the management system should take in response to container lifecycle events.
	// Cannot be updated.
	// +optional
	Lifecycle *Lifecycle `protobuf:"bytes,12,opt,name=lifecycle" json:"lifecycle,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 `protobuf:"bytes,13,opt,name=terminationMessagePath" json:"terminationMessagePath,omitempty"`
	// 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 `protobuf:"bytes,20,opt,name=terminationMessagePolicy" json:"terminationMessagePolicy,omitempty"`
	// 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=imagePullPolicy" json:"imagePullPolicy,omitempty"`
	// SecurityContext defines the security options the container should be run with.
	// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	// +optional
	SecurityContext *SecurityContext `protobuf:"bytes,15,opt,name=securityContext" json:"securityContext,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.
	// Default is false.
	// +optional
	Stdin *bool `protobuf:"varint,16,opt,name=stdin" 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.
	// Default is false
	// +optional
	StdinOnce *bool `protobuf:"varint,17,opt,name=stdinOnce" json:"stdinOnce,omitempty"`
	// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
	// Default is false.
	// +optional
	Tty *bool `protobuf:"varint,18,opt,name=tty" json:"tty,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetArgs

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

func (*Container) GetCommand

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

func (*Container) GetEnv

func (x *Container) GetEnv() []*EnvVar

func (*Container) GetEnvFrom

func (x *Container) GetEnvFrom() []*EnvFromSource

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) GetImagePullPolicy

func (x *Container) GetImagePullPolicy() string

func (*Container) GetLifecycle

func (x *Container) GetLifecycle() *Lifecycle

func (*Container) GetLivenessProbe

func (x *Container) GetLivenessProbe() *Probe

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) GetPorts

func (x *Container) GetPorts() []*ContainerPort

func (*Container) GetReadinessProbe

func (x *Container) GetReadinessProbe() *Probe

func (*Container) GetResizePolicy

func (x *Container) GetResizePolicy() []*ContainerResizePolicy

func (*Container) GetResources

func (x *Container) GetResources() *ResourceRequirements

func (*Container) GetRestartPolicy

func (x *Container) GetRestartPolicy() string

func (*Container) GetSecurityContext

func (x *Container) GetSecurityContext() *SecurityContext

func (*Container) GetStartupProbe

func (x *Container) GetStartupProbe() *Probe

func (*Container) GetStdin

func (x *Container) GetStdin() bool

func (*Container) GetStdinOnce

func (x *Container) GetStdinOnce() bool

func (*Container) GetTerminationMessagePath

func (x *Container) GetTerminationMessagePath() string

func (*Container) GetTerminationMessagePolicy

func (x *Container) GetTerminationMessagePolicy() string

func (*Container) GetTty

func (x *Container) GetTty() bool

func (*Container) GetVolumeDevices

func (x *Container) GetVolumeDevices() []*VolumeDevice

func (*Container) GetVolumeMounts

func (x *Container) GetVolumeMounts() []*VolumeMount

func (*Container) GetWorkingDir

func (x *Container) GetWorkingDir() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type ContainerImage

type ContainerImage struct {

	// Names by which this image is known.
	// e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]
	// +optional
	Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
	// The size of the image in bytes.
	// +optional
	SizeBytes *int64 `protobuf:"varint,2,opt,name=sizeBytes" json:"sizeBytes,omitempty"`
	// contains filtered or unexported fields
}

Describe a container image

func (*ContainerImage) Descriptor deprecated

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

Deprecated: Use ContainerImage.ProtoReflect.Descriptor instead.

func (*ContainerImage) GetNames

func (x *ContainerImage) GetNames() []string

func (*ContainerImage) GetSizeBytes

func (x *ContainerImage) GetSizeBytes() int64

func (*ContainerImage) ProtoMessage

func (*ContainerImage) ProtoMessage()

func (*ContainerImage) ProtoReflect

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

func (*ContainerImage) Reset

func (x *ContainerImage) Reset()

func (*ContainerImage) String

func (x *ContainerImage) String() string

type ContainerPort

type ContainerPort struct {

	// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
	// named port in a pod must have a unique name. Name for the port that can be
	// referred to by services.
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Number of port to expose on the host.
	// If specified, this must be a valid port number, 0 < x < 65536.
	// If HostNetwork is specified, this must match ContainerPort.
	// Most containers do not need this.
	// +optional
	HostPort *int32 `protobuf:"varint,2,opt,name=hostPort" json:"hostPort,omitempty"`
	// Number of port to expose on the pod's IP address.
	// This must be a valid port number, 0 < x < 65536.
	ContainerPort *int32 `protobuf:"varint,3,opt,name=containerPort" json:"containerPort,omitempty"`
	// Protocol for port. Must be UDP, TCP, or SCTP.
	// Defaults to "TCP".
	// +optional
	// +default="TCP"
	Protocol *string `protobuf:"bytes,4,opt,name=protocol" json:"protocol,omitempty"`
	// What host IP to bind the external port to.
	// +optional
	HostIP *string `protobuf:"bytes,5,opt,name=hostIP" json:"hostIP,omitempty"`
	// contains filtered or unexported fields
}

ContainerPort represents a network port in a single container.

func (*ContainerPort) Descriptor deprecated

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

Deprecated: Use ContainerPort.ProtoReflect.Descriptor instead.

func (*ContainerPort) GetContainerPort

func (x *ContainerPort) GetContainerPort() int32

func (*ContainerPort) GetHostIP

func (x *ContainerPort) GetHostIP() string

func (*ContainerPort) GetHostPort

func (x *ContainerPort) GetHostPort() int32

func (*ContainerPort) GetName

func (x *ContainerPort) GetName() string

func (*ContainerPort) GetProtocol

func (x *ContainerPort) GetProtocol() string

func (*ContainerPort) ProtoMessage

func (*ContainerPort) ProtoMessage()

func (*ContainerPort) ProtoReflect

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

func (*ContainerPort) Reset

func (x *ContainerPort) Reset()

func (*ContainerPort) String

func (x *ContainerPort) String() string

type ContainerResizePolicy

type ContainerResizePolicy struct {

	// Name of the resource to which this resource resize policy applies.
	// Supported values: cpu, memory.
	ResourceName *string `protobuf:"bytes,1,opt,name=resourceName" json:"resourceName,omitempty"`
	// Restart policy to apply when specified resource is resized.
	// If not specified, it defaults to NotRequired.
	RestartPolicy *string `protobuf:"bytes,2,opt,name=restartPolicy" json:"restartPolicy,omitempty"`
	// contains filtered or unexported fields
}

ContainerResizePolicy represents resource resize policy for the container.

func (*ContainerResizePolicy) Descriptor deprecated

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

Deprecated: Use ContainerResizePolicy.ProtoReflect.Descriptor instead.

func (*ContainerResizePolicy) GetResourceName

func (x *ContainerResizePolicy) GetResourceName() string

func (*ContainerResizePolicy) GetRestartPolicy

func (x *ContainerResizePolicy) GetRestartPolicy() string

func (*ContainerResizePolicy) ProtoMessage

func (*ContainerResizePolicy) ProtoMessage()

func (*ContainerResizePolicy) ProtoReflect

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

func (*ContainerResizePolicy) Reset

func (x *ContainerResizePolicy) Reset()

func (*ContainerResizePolicy) String

func (x *ContainerResizePolicy) String() string

type ContainerState

type ContainerState struct {

	// Details about a waiting container
	// +optional
	Waiting *ContainerStateWaiting `protobuf:"bytes,1,opt,name=waiting" json:"waiting,omitempty"`
	// Details about a running container
	// +optional
	Running *ContainerStateRunning `protobuf:"bytes,2,opt,name=running" json:"running,omitempty"`
	// Details about a terminated container
	// +optional
	Terminated *ContainerStateTerminated `protobuf:"bytes,3,opt,name=terminated" 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 (*ContainerState) Descriptor deprecated

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

Deprecated: Use ContainerState.ProtoReflect.Descriptor instead.

func (*ContainerState) GetRunning

func (x *ContainerState) GetRunning() *ContainerStateRunning

func (*ContainerState) GetTerminated

func (x *ContainerState) GetTerminated() *ContainerStateTerminated

func (*ContainerState) GetWaiting

func (x *ContainerState) GetWaiting() *ContainerStateWaiting

func (*ContainerState) ProtoMessage

func (*ContainerState) ProtoMessage()

func (*ContainerState) ProtoReflect

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

func (*ContainerState) Reset

func (x *ContainerState) Reset()

func (*ContainerState) String

func (x *ContainerState) String() string

type ContainerStateRunning

type ContainerStateRunning struct {

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

ContainerStateRunning is a running state of a container.

func (*ContainerStateRunning) Descriptor deprecated

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

Deprecated: Use ContainerStateRunning.ProtoReflect.Descriptor instead.

func (*ContainerStateRunning) GetStartedAt

func (x *ContainerStateRunning) GetStartedAt() *v1.Time

func (*ContainerStateRunning) ProtoMessage

func (*ContainerStateRunning) ProtoMessage()

func (*ContainerStateRunning) ProtoReflect

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

func (*ContainerStateRunning) Reset

func (x *ContainerStateRunning) Reset()

func (*ContainerStateRunning) String

func (x *ContainerStateRunning) String() string

type ContainerStateTerminated

type ContainerStateTerminated struct {

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

ContainerStateTerminated is a terminated state of a container.

func (*ContainerStateTerminated) Descriptor deprecated

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

Deprecated: Use ContainerStateTerminated.ProtoReflect.Descriptor instead.

func (*ContainerStateTerminated) GetContainerID

func (x *ContainerStateTerminated) GetContainerID() string

func (*ContainerStateTerminated) GetExitCode

func (x *ContainerStateTerminated) GetExitCode() int32

func (*ContainerStateTerminated) GetFinishedAt

func (x *ContainerStateTerminated) GetFinishedAt() *v1.Time

func (*ContainerStateTerminated) GetMessage

func (x *ContainerStateTerminated) GetMessage() string

func (*ContainerStateTerminated) GetReason

func (x *ContainerStateTerminated) GetReason() string

func (*ContainerStateTerminated) GetSignal

func (x *ContainerStateTerminated) GetSignal() int32

func (*ContainerStateTerminated) GetStartedAt

func (x *ContainerStateTerminated) GetStartedAt() *v1.Time

func (*ContainerStateTerminated) ProtoMessage

func (*ContainerStateTerminated) ProtoMessage()

func (*ContainerStateTerminated) ProtoReflect

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

func (*ContainerStateTerminated) Reset

func (x *ContainerStateTerminated) Reset()

func (*ContainerStateTerminated) String

func (x *ContainerStateTerminated) String() string

type ContainerStateWaiting

type ContainerStateWaiting struct {

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

ContainerStateWaiting is a waiting state of a container.

func (*ContainerStateWaiting) Descriptor deprecated

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

Deprecated: Use ContainerStateWaiting.ProtoReflect.Descriptor instead.

func (*ContainerStateWaiting) GetMessage

func (x *ContainerStateWaiting) GetMessage() string

func (*ContainerStateWaiting) GetReason

func (x *ContainerStateWaiting) GetReason() string

func (*ContainerStateWaiting) ProtoMessage

func (*ContainerStateWaiting) ProtoMessage()

func (*ContainerStateWaiting) ProtoReflect

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

func (*ContainerStateWaiting) Reset

func (x *ContainerStateWaiting) Reset()

func (*ContainerStateWaiting) String

func (x *ContainerStateWaiting) String() string

type ContainerStatus

type 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" json:"name,omitempty"`
	// State holds details about the container's current condition.
	// +optional
	State *ContainerState `protobuf:"bytes,2,opt,name=state" 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 *ContainerState `protobuf:"bytes,3,opt,name=lastState" json:"lastState,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" 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=restartCount" json:"restartCount,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" 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=imageID" json:"imageID,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=containerID" json:"containerID,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. The null value must be treated the
	// same as false.
	// +optional
	Started *bool `protobuf:"varint,9,opt,name=started" json:"started,omitempty"`
	// AllocatedResources represents the compute resources allocated for this container by the
	// node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission
	// and after successfully admitting desired pod resize.
	// +featureGate=InPlacePodVerticalScaling
	// +optional
	AllocatedResources map[string]*resource.Quantity `` /* 157-byte string literal not displayed */
	// Resources represents the compute resource requests and limits that have been successfully
	// enacted on the running container after it has been started or has been successfully resized.
	// +featureGate=InPlacePodVerticalScaling
	// +optional
	Resources *ResourceRequirements `protobuf:"bytes,11,opt,name=resources" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

ContainerStatus contains details for the current status of this container.

func (*ContainerStatus) Descriptor deprecated

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

Deprecated: Use ContainerStatus.ProtoReflect.Descriptor instead.

func (*ContainerStatus) GetAllocatedResources

func (x *ContainerStatus) GetAllocatedResources() map[string]*resource.Quantity

func (*ContainerStatus) GetContainerID

func (x *ContainerStatus) GetContainerID() string

func (*ContainerStatus) GetImage

func (x *ContainerStatus) GetImage() string

func (*ContainerStatus) GetImageID

func (x *ContainerStatus) GetImageID() string

func (*ContainerStatus) GetLastState

func (x *ContainerStatus) GetLastState() *ContainerState

func (*ContainerStatus) GetName

func (x *ContainerStatus) GetName() string

func (*ContainerStatus) GetReady

func (x *ContainerStatus) GetReady() bool

func (*ContainerStatus) GetResources

func (x *ContainerStatus) GetResources() *ResourceRequirements

func (*ContainerStatus) GetRestartCount

func (x *ContainerStatus) GetRestartCount() int32

func (*ContainerStatus) GetStarted

func (x *ContainerStatus) GetStarted() bool

func (*ContainerStatus) GetState

func (x *ContainerStatus) GetState() *ContainerState

func (*ContainerStatus) ProtoMessage

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) ProtoReflect

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

func (*ContainerStatus) Reset

func (x *ContainerStatus) Reset()

func (*ContainerStatus) String

func (x *ContainerStatus) String() string

type DaemonEndpoint

type DaemonEndpoint struct {

	// Port number of the given endpoint.
	Port *int32 `protobuf:"varint,1,opt,name=Port" json:"Port,omitempty"`
	// contains filtered or unexported fields
}

DaemonEndpoint contains information about a single Daemon endpoint.

func (*DaemonEndpoint) Descriptor deprecated

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

Deprecated: Use DaemonEndpoint.ProtoReflect.Descriptor instead.

func (*DaemonEndpoint) GetPort

func (x *DaemonEndpoint) GetPort() int32

func (*DaemonEndpoint) ProtoMessage

func (*DaemonEndpoint) ProtoMessage()

func (*DaemonEndpoint) ProtoReflect

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

func (*DaemonEndpoint) Reset

func (x *DaemonEndpoint) Reset()

func (*DaemonEndpoint) String

func (x *DaemonEndpoint) String() string

type DownwardAPIProjection

type DownwardAPIProjection struct {

	// Items is a list of DownwardAPIVolume file
	// +optional
	Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.

func (*DownwardAPIProjection) Descriptor deprecated

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

Deprecated: Use DownwardAPIProjection.ProtoReflect.Descriptor instead.

func (*DownwardAPIProjection) GetItems

func (*DownwardAPIProjection) ProtoMessage

func (*DownwardAPIProjection) ProtoMessage()

func (*DownwardAPIProjection) ProtoReflect

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

func (*DownwardAPIProjection) Reset

func (x *DownwardAPIProjection) Reset()

func (*DownwardAPIProjection) String

func (x *DownwardAPIProjection) String() string

type DownwardAPIVolumeFile

type DownwardAPIVolumeFile struct {

	// Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
	// +optional
	FieldRef *ObjectFieldSelector `protobuf:"bytes,2,opt,name=fieldRef" json:"fieldRef,omitempty"`
	// Selects a resource of the container: only resources limits and requests
	// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
	// +optional
	ResourceFieldRef *ResourceFieldSelector `protobuf:"bytes,3,opt,name=resourceFieldRef" json:"resourceFieldRef,omitempty"`
	// Optional: mode bits used to set permissions on this file, must be an octal value
	// between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
	// If not specified, the volume defaultMode will be used.
	// This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	// +optional
	Mode *int32 `protobuf:"varint,4,opt,name=mode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

DownwardAPIVolumeFile represents information to create the file containing the pod field

func (*DownwardAPIVolumeFile) Descriptor deprecated

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

Deprecated: Use DownwardAPIVolumeFile.ProtoReflect.Descriptor instead.

func (*DownwardAPIVolumeFile) GetFieldRef

func (x *DownwardAPIVolumeFile) GetFieldRef() *ObjectFieldSelector

func (*DownwardAPIVolumeFile) GetMode

func (x *DownwardAPIVolumeFile) GetMode() int32

func (*DownwardAPIVolumeFile) GetPath

func (x *DownwardAPIVolumeFile) GetPath() string

func (*DownwardAPIVolumeFile) GetResourceFieldRef

func (x *DownwardAPIVolumeFile) GetResourceFieldRef() *ResourceFieldSelector

func (*DownwardAPIVolumeFile) ProtoMessage

func (*DownwardAPIVolumeFile) ProtoMessage()

func (*DownwardAPIVolumeFile) ProtoReflect

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

func (*DownwardAPIVolumeFile) Reset

func (x *DownwardAPIVolumeFile) Reset()

func (*DownwardAPIVolumeFile) String

func (x *DownwardAPIVolumeFile) String() string

type DownwardAPIVolumeSource

type DownwardAPIVolumeSource struct {

	// Items is a list of downward API volume file
	// +optional
	Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// Optional: mode bits to use on created files by default. Must be a
	// Optional: mode bits used to set permissions on created files by default.
	// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
	// Defaults to 0644.
	// Directories within the path are not affected by this setting.
	// This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	// +optional
	DefaultMode *int32 `protobuf:"varint,2,opt,name=defaultMode" json:"defaultMode,omitempty"`
	// contains filtered or unexported fields
}

DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.

func (*DownwardAPIVolumeSource) Descriptor deprecated

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

Deprecated: Use DownwardAPIVolumeSource.ProtoReflect.Descriptor instead.

func (*DownwardAPIVolumeSource) GetDefaultMode

func (x *DownwardAPIVolumeSource) GetDefaultMode() int32

func (*DownwardAPIVolumeSource) GetItems

func (*DownwardAPIVolumeSource) ProtoMessage

func (*DownwardAPIVolumeSource) ProtoMessage()

func (*DownwardAPIVolumeSource) ProtoReflect

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

func (*DownwardAPIVolumeSource) Reset

func (x *DownwardAPIVolumeSource) Reset()

func (*DownwardAPIVolumeSource) String

func (x *DownwardAPIVolumeSource) String() string

type EmptyDirVolumeSource

type EmptyDirVolumeSource struct {

	// medium represents what type of storage medium should back this directory.
	// The default is "" which means to use the node's default medium.
	// Must be an empty string (default) or Memory.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	// +optional
	Medium *string `protobuf:"bytes,1,opt,name=medium" json:"medium,omitempty"`
	// sizeLimit is the total amount of local storage required for this EmptyDir volume.
	// The size limit is also applicable for memory medium.
	// The maximum usage on memory medium EmptyDir would be the minimum value between
	// the SizeLimit specified here and the sum of memory limits of all containers in a pod.
	// The default is nil which means that the limit is undefined.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	// +optional
	SizeLimit *resource.Quantity `protobuf:"bytes,2,opt,name=sizeLimit" json:"sizeLimit,omitempty"`
	// contains filtered or unexported fields
}

Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.

func (*EmptyDirVolumeSource) Descriptor deprecated

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

Deprecated: Use EmptyDirVolumeSource.ProtoReflect.Descriptor instead.

func (*EmptyDirVolumeSource) GetMedium

func (x *EmptyDirVolumeSource) GetMedium() string

func (*EmptyDirVolumeSource) GetSizeLimit

func (x *EmptyDirVolumeSource) GetSizeLimit() *resource.Quantity

func (*EmptyDirVolumeSource) ProtoMessage

func (*EmptyDirVolumeSource) ProtoMessage()

func (*EmptyDirVolumeSource) ProtoReflect

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

func (*EmptyDirVolumeSource) Reset

func (x *EmptyDirVolumeSource) Reset()

func (*EmptyDirVolumeSource) String

func (x *EmptyDirVolumeSource) String() string

type EndpointAddress

type EndpointAddress struct {

	// The IP of this endpoint.
	// May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
	// or link-local multicast (224.0.0.0/24 or ff02::/16).
	Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
	// The Hostname of this endpoint
	// +optional
	Hostname *string `protobuf:"bytes,3,opt,name=hostname" json:"hostname,omitempty"`
	// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
	// +optional
	NodeName *string `protobuf:"bytes,4,opt,name=nodeName" json:"nodeName,omitempty"`
	// Reference to object providing the endpoint.
	// +optional
	TargetRef *ObjectReference `protobuf:"bytes,2,opt,name=targetRef" json:"targetRef,omitempty"`
	// contains filtered or unexported fields
}

EndpointAddress is a tuple that describes single IP address. +structType=atomic

func (*EndpointAddress) Descriptor deprecated

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

Deprecated: Use EndpointAddress.ProtoReflect.Descriptor instead.

func (*EndpointAddress) GetHostname

func (x *EndpointAddress) GetHostname() string

func (*EndpointAddress) GetIp

func (x *EndpointAddress) GetIp() string

func (*EndpointAddress) GetNodeName

func (x *EndpointAddress) GetNodeName() string

func (*EndpointAddress) GetTargetRef

func (x *EndpointAddress) GetTargetRef() *ObjectReference

func (*EndpointAddress) ProtoMessage

func (*EndpointAddress) ProtoMessage()

func (*EndpointAddress) ProtoReflect

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

func (*EndpointAddress) Reset

func (x *EndpointAddress) Reset()

func (*EndpointAddress) String

func (x *EndpointAddress) String() string

type EndpointPort

type EndpointPort struct {

	// The name of this port.  This must match the 'name' field in the
	// corresponding ServicePort.
	// Must be a DNS_LABEL.
	// Optional only if one port is defined.
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The port number of the endpoint.
	Port *int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	// The IP protocol for this port.
	// Must be UDP, TCP, or SCTP.
	// Default is TCP.
	// +optional
	Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
	// The application protocol for this port.
	// This is used as a hint for implementations to offer richer behavior for protocols that they understand.
	// This field follows standard Kubernetes label syntax.
	// Valid values are either:
	//
	// * Un-prefixed protocol names - reserved for IANA standard service names (as per
	// RFC-6335 and https://www.iana.org/assignments/service-names).
	//
	// * Kubernetes-defined prefixed names:
	//   - 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540
	//   - 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
	//   - 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
	//
	// * Other protocols should use implementation-defined prefixed names such as
	// mycompany.com/my-custom-protocol.
	// +optional
	AppProtocol *string `protobuf:"bytes,4,opt,name=appProtocol" json:"appProtocol,omitempty"`
	// contains filtered or unexported fields
}

EndpointPort is a tuple that describes a single port. +structType=atomic

func (*EndpointPort) Descriptor deprecated

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

Deprecated: Use EndpointPort.ProtoReflect.Descriptor instead.

func (*EndpointPort) GetAppProtocol

func (x *EndpointPort) GetAppProtocol() string

func (*EndpointPort) GetName

func (x *EndpointPort) GetName() string

func (*EndpointPort) GetPort

func (x *EndpointPort) GetPort() int32

func (*EndpointPort) GetProtocol

func (x *EndpointPort) GetProtocol() string

func (*EndpointPort) ProtoMessage

func (*EndpointPort) ProtoMessage()

func (*EndpointPort) ProtoReflect

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

func (*EndpointPort) Reset

func (x *EndpointPort) Reset()

func (*EndpointPort) String

func (x *EndpointPort) String() string

type EndpointSubset

type EndpointSubset struct {

	// IP addresses which offer the related ports that are marked as ready. These endpoints
	// should be considered safe for load balancers and clients to utilize.
	// +optional
	Addresses []*EndpointAddress `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"`
	// IP addresses which offer the related ports but are not currently marked as ready
	// because they have not yet finished starting, have recently failed a readiness check,
	// or have recently failed a liveness check.
	// +optional
	NotReadyAddresses []*EndpointAddress `protobuf:"bytes,2,rep,name=notReadyAddresses" json:"notReadyAddresses,omitempty"`
	// Port numbers available on the related IP addresses.
	// +optional
	Ports []*EndpointPort `protobuf:"bytes,3,rep,name=ports" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

{
  Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

func (*EndpointSubset) Descriptor deprecated

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

Deprecated: Use EndpointSubset.ProtoReflect.Descriptor instead.

func (*EndpointSubset) GetAddresses

func (x *EndpointSubset) GetAddresses() []*EndpointAddress

func (*EndpointSubset) GetNotReadyAddresses

func (x *EndpointSubset) GetNotReadyAddresses() []*EndpointAddress

func (*EndpointSubset) GetPorts

func (x *EndpointSubset) GetPorts() []*EndpointPort

func (*EndpointSubset) ProtoMessage

func (*EndpointSubset) ProtoMessage()

func (*EndpointSubset) ProtoReflect

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

func (*EndpointSubset) Reset

func (x *EndpointSubset) Reset()

func (*EndpointSubset) String

func (x *EndpointSubset) String() string

type Endpoints

type Endpoints struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// The set of all endpoints is the union of all subsets. Addresses are placed into
	// subsets according to the IPs they share. A single address with multiple ports,
	// some of which are ready and some of which are not (because they come from
	// different containers) will result in the address being displayed in different
	// subsets for the different ports. No address will appear in both Addresses and
	// NotReadyAddresses in the same subset.
	// Sets of addresses and ports that comprise a service.
	// +optional
	Subsets []*EndpointSubset `protobuf:"bytes,2,rep,name=subsets" json:"subsets,omitempty"`
	// contains filtered or unexported fields
}

Endpoints is a collection of endpoints that implement the actual service. Example:

 Name: "mysvc",
 Subsets: [
   {
     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
     Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
   },
   {
     Addresses: [{"ip": "10.10.3.3"}],
     Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
   },
]

func (*Endpoints) Descriptor deprecated

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

Deprecated: Use Endpoints.ProtoReflect.Descriptor instead.

func (*Endpoints) GetMetadata

func (x *Endpoints) GetMetadata() *v1.ObjectMeta

func (*Endpoints) GetSubsets

func (x *Endpoints) GetSubsets() []*EndpointSubset

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) ProtoReflect

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

func (*Endpoints) Reset

func (x *Endpoints) Reset()

func (*Endpoints) String

func (x *Endpoints) String() string

type EndpointsList

type EndpointsList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of endpoints.
	Items []*Endpoints `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

EndpointsList is a list of endpoints.

func (*EndpointsList) Descriptor deprecated

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

Deprecated: Use EndpointsList.ProtoReflect.Descriptor instead.

func (*EndpointsList) GetItems

func (x *EndpointsList) GetItems() []*Endpoints

func (*EndpointsList) GetMetadata

func (x *EndpointsList) GetMetadata() *v1.ListMeta

func (*EndpointsList) ProtoMessage

func (*EndpointsList) ProtoMessage()

func (*EndpointsList) ProtoReflect

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

func (*EndpointsList) Reset

func (x *EndpointsList) Reset()

func (*EndpointsList) String

func (x *EndpointsList) String() string

type EnvFromSource

type EnvFromSource struct {

	// An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
	// +optional
	Prefix *string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
	// The ConfigMap to select from
	// +optional
	ConfigMapRef *ConfigMapEnvSource `protobuf:"bytes,2,opt,name=configMapRef" json:"configMapRef,omitempty"`
	// The Secret to select from
	// +optional
	SecretRef *SecretEnvSource `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
	// contains filtered or unexported fields
}

EnvFromSource represents the source of a set of ConfigMaps

func (*EnvFromSource) Descriptor deprecated

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

Deprecated: Use EnvFromSource.ProtoReflect.Descriptor instead.

func (*EnvFromSource) GetConfigMapRef

func (x *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource

func (*EnvFromSource) GetPrefix

func (x *EnvFromSource) GetPrefix() string

func (*EnvFromSource) GetSecretRef

func (x *EnvFromSource) GetSecretRef() *SecretEnvSource

func (*EnvFromSource) ProtoMessage

func (*EnvFromSource) ProtoMessage()

func (*EnvFromSource) ProtoReflect

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

func (*EnvFromSource) Reset

func (x *EnvFromSource) Reset()

func (*EnvFromSource) String

func (x *EnvFromSource) String() string

type EnvVar

type EnvVar struct {

	// Name of the environment variable. Must be a C_IDENTIFIER.
	Name *string `protobuf:"bytes,1,opt,name=name" 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 "".
	// +optional
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// Source for the environment variable's value. Cannot be used if value is not empty.
	// +optional
	ValueFrom *EnvVarSource `protobuf:"bytes,3,opt,name=valueFrom" json:"valueFrom,omitempty"`
	// contains filtered or unexported fields
}

EnvVar represents an environment variable present in a Container.

func (*EnvVar) Descriptor deprecated

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

Deprecated: Use EnvVar.ProtoReflect.Descriptor instead.

func (*EnvVar) GetName

func (x *EnvVar) GetName() string

func (*EnvVar) GetValue

func (x *EnvVar) GetValue() string

func (*EnvVar) GetValueFrom

func (x *EnvVar) GetValueFrom() *EnvVarSource

func (*EnvVar) ProtoMessage

func (*EnvVar) ProtoMessage()

func (*EnvVar) ProtoReflect

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

func (*EnvVar) Reset

func (x *EnvVar) Reset()

func (*EnvVar) String

func (x *EnvVar) String() string

type EnvVarSource

type EnvVarSource struct {

	// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
	// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
	// +optional
	FieldRef *ObjectFieldSelector `protobuf:"bytes,1,opt,name=fieldRef" json:"fieldRef,omitempty"`
	// Selects a resource of the container: only resources limits and requests
	// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
	// +optional
	ResourceFieldRef *ResourceFieldSelector `protobuf:"bytes,2,opt,name=resourceFieldRef" json:"resourceFieldRef,omitempty"`
	// Selects a key of a ConfigMap.
	// +optional
	ConfigMapKeyRef *ConfigMapKeySelector `protobuf:"bytes,3,opt,name=configMapKeyRef" json:"configMapKeyRef,omitempty"`
	// Selects a key of a secret in the pod's namespace
	// +optional
	SecretKeyRef *SecretKeySelector `protobuf:"bytes,4,opt,name=secretKeyRef" json:"secretKeyRef,omitempty"`
	// contains filtered or unexported fields
}

EnvVarSource represents a source for the value of an EnvVar.

func (*EnvVarSource) Descriptor deprecated

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

Deprecated: Use EnvVarSource.ProtoReflect.Descriptor instead.

func (*EnvVarSource) GetConfigMapKeyRef

func (x *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector

func (*EnvVarSource) GetFieldRef

func (x *EnvVarSource) GetFieldRef() *ObjectFieldSelector

func (*EnvVarSource) GetResourceFieldRef

func (x *EnvVarSource) GetResourceFieldRef() *ResourceFieldSelector

func (*EnvVarSource) GetSecretKeyRef

func (x *EnvVarSource) GetSecretKeyRef() *SecretKeySelector

func (*EnvVarSource) ProtoMessage

func (*EnvVarSource) ProtoMessage()

func (*EnvVarSource) ProtoReflect

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

func (*EnvVarSource) Reset

func (x *EnvVarSource) Reset()

func (*EnvVarSource) String

func (x *EnvVarSource) String() string

type EphemeralContainer

type EphemeralContainer struct {

	// Ephemeral containers have all of the fields of Container, plus additional fields
	// specific to ephemeral containers. Fields in common with Container are in the
	// following inlined struct so than an EphemeralContainer may easily be converted
	// to a Container.
	EphemeralContainerCommon *EphemeralContainerCommon `protobuf:"bytes,1,opt,name=ephemeralContainerCommon" json:"ephemeralContainerCommon,omitempty"`
	// If set, the name of the container from PodSpec that this ephemeral container targets.
	// The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
	// If not set then the ephemeral container uses the namespaces configured in the Pod spec.
	//
	// The container runtime must implement support for this feature. If the runtime does not
	// support namespace targeting then the result of setting this field is undefined.
	// +optional
	TargetContainerName *string `protobuf:"bytes,2,opt,name=targetContainerName" json:"targetContainerName,omitempty"`
	// contains filtered or unexported fields
}

An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.

To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.

func (*EphemeralContainer) Descriptor deprecated

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

Deprecated: Use EphemeralContainer.ProtoReflect.Descriptor instead.

func (*EphemeralContainer) GetEphemeralContainerCommon

func (x *EphemeralContainer) GetEphemeralContainerCommon() *EphemeralContainerCommon

func (*EphemeralContainer) GetTargetContainerName

func (x *EphemeralContainer) GetTargetContainerName() string

func (*EphemeralContainer) ProtoMessage

func (*EphemeralContainer) ProtoMessage()

func (*EphemeralContainer) ProtoReflect

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

func (*EphemeralContainer) Reset

func (x *EphemeralContainer) Reset()

func (*EphemeralContainer) String

func (x *EphemeralContainer) String() string

type EphemeralContainerCommon

type EphemeralContainerCommon struct {

	// Name of the ephemeral container specified as a DNS_LABEL.
	// This name must be unique among all containers, init containers and ephemeral containers.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Container image name.
	// More info: https://kubernetes.io/docs/concepts/containers/images
	Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
	// Entrypoint array. Not executed within a shell.
	// The 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
	Command []string `protobuf:"bytes,3,rep,name=command" json:"command,omitempty"`
	// Arguments to the entrypoint.
	// The 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
	Args []string `protobuf:"bytes,4,rep,name=args" 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=workingDir" json:"workingDir,omitempty"`
	// Ports are not allowed for ephemeral containers.
	// +optional
	// +patchMergeKey=containerPort
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=containerPort
	// +listMapKey=protocol
	Ports []*ContainerPort `protobuf:"bytes,6,rep,name=ports" json:"ports,omitempty"`
	// List of sources to populate environment variables in the container.
	// The keys defined within a source must be a C_IDENTIFIER. All invalid keys
	// will be reported as an event when the container is starting. When a key exists in multiple
	// sources, the value associated with the last source will take precedence.
	// Values defined by an Env with a duplicate key will take precedence.
	// Cannot be updated.
	// +optional
	EnvFrom []*EnvFromSource `protobuf:"bytes,19,rep,name=envFrom" json:"envFrom,omitempty"`
	// List of environment variables to set in the container.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	Env []*EnvVar `protobuf:"bytes,7,rep,name=env" json:"env,omitempty"`
	// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
	// already allocated to the pod.
	// +optional
	Resources *ResourceRequirements `protobuf:"bytes,8,opt,name=resources" json:"resources,omitempty"`
	// Resources resize policy for the container.
	// +featureGate=InPlacePodVerticalScaling
	// +optional
	// +listType=atomic
	ResizePolicy []*ContainerResizePolicy `protobuf:"bytes,23,rep,name=resizePolicy" json:"resizePolicy,omitempty"`
	// Restart policy for the container to manage the restart behavior of each
	// container within a pod.
	// This may only be set for init containers. You cannot set this field on
	// ephemeral containers.
	// +featureGate=SidecarContainers
	// +optional
	RestartPolicy *string `protobuf:"bytes,24,opt,name=restartPolicy" json:"restartPolicy,omitempty"`
	// Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=mountPath
	// +patchStrategy=merge
	VolumeMounts []*VolumeMount `protobuf:"bytes,9,rep,name=volumeMounts" json:"volumeMounts,omitempty"`
	// volumeDevices is the list of block devices to be used by the container.
	// +patchMergeKey=devicePath
	// +patchStrategy=merge
	// +optional
	VolumeDevices []*VolumeDevice `protobuf:"bytes,21,rep,name=volumeDevices" json:"volumeDevices,omitempty"`
	// Probes are not allowed for ephemeral containers.
	// +optional
	LivenessProbe *Probe `protobuf:"bytes,10,opt,name=livenessProbe" json:"livenessProbe,omitempty"`
	// Probes are not allowed for ephemeral containers.
	// +optional
	ReadinessProbe *Probe `protobuf:"bytes,11,opt,name=readinessProbe" json:"readinessProbe,omitempty"`
	// Probes are not allowed for ephemeral containers.
	// +optional
	StartupProbe *Probe `protobuf:"bytes,22,opt,name=startupProbe" json:"startupProbe,omitempty"`
	// Lifecycle is not allowed for ephemeral containers.
	// +optional
	Lifecycle *Lifecycle `protobuf:"bytes,12,opt,name=lifecycle" json:"lifecycle,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 `protobuf:"bytes,13,opt,name=terminationMessagePath" json:"terminationMessagePath,omitempty"`
	// 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 `protobuf:"bytes,20,opt,name=terminationMessagePolicy" json:"terminationMessagePolicy,omitempty"`
	// 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=imagePullPolicy" json:"imagePullPolicy,omitempty"`
	// Optional: SecurityContext defines the security options the ephemeral container should be run with.
	// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
	// +optional
	SecurityContext *SecurityContext `protobuf:"bytes,15,opt,name=securityContext" json:"securityContext,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.
	// Default is false.
	// +optional
	Stdin *bool `protobuf:"varint,16,opt,name=stdin" 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.
	// Default is false
	// +optional
	StdinOnce *bool `protobuf:"varint,17,opt,name=stdinOnce" json:"stdinOnce,omitempty"`
	// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
	// Default is false.
	// +optional
	Tty *bool `protobuf:"varint,18,opt,name=tty" json:"tty,omitempty"`
	// contains filtered or unexported fields
}

EphemeralContainerCommon is a copy of all fields in Container to be inlined in EphemeralContainer. This separate type allows easy conversion from EphemeralContainer to Container and allows separate documentation for the fields of EphemeralContainer. When a new field is added to Container it must be added here as well.

func (*EphemeralContainerCommon) Descriptor deprecated

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

Deprecated: Use EphemeralContainerCommon.ProtoReflect.Descriptor instead.

func (*EphemeralContainerCommon) GetArgs

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

func (*EphemeralContainerCommon) GetCommand

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

func (*EphemeralContainerCommon) GetEnv

func (x *EphemeralContainerCommon) GetEnv() []*EnvVar

func (*EphemeralContainerCommon) GetEnvFrom

func (x *EphemeralContainerCommon) GetEnvFrom() []*EnvFromSource

func (*EphemeralContainerCommon) GetImage

func (x *EphemeralContainerCommon) GetImage() string

func (*EphemeralContainerCommon) GetImagePullPolicy

func (x *EphemeralContainerCommon) GetImagePullPolicy() string

func (*EphemeralContainerCommon) GetLifecycle

func (x *EphemeralContainerCommon) GetLifecycle() *Lifecycle

func (*EphemeralContainerCommon) GetLivenessProbe

func (x *EphemeralContainerCommon) GetLivenessProbe() *Probe

func (*EphemeralContainerCommon) GetName

func (x *EphemeralContainerCommon) GetName() string

func (*EphemeralContainerCommon) GetPorts

func (x *EphemeralContainerCommon) GetPorts() []*ContainerPort

func (*EphemeralContainerCommon) GetReadinessProbe

func (x *EphemeralContainerCommon) GetReadinessProbe() *Probe

func (*EphemeralContainerCommon) GetResizePolicy

func (x *EphemeralContainerCommon) GetResizePolicy() []*ContainerResizePolicy

func (*EphemeralContainerCommon) GetResources

func (*EphemeralContainerCommon) GetRestartPolicy

func (x *EphemeralContainerCommon) GetRestartPolicy() string

func (*EphemeralContainerCommon) GetSecurityContext

func (x *EphemeralContainerCommon) GetSecurityContext() *SecurityContext

func (*EphemeralContainerCommon) GetStartupProbe

func (x *EphemeralContainerCommon) GetStartupProbe() *Probe

func (*EphemeralContainerCommon) GetStdin

func (x *EphemeralContainerCommon) GetStdin() bool

func (*EphemeralContainerCommon) GetStdinOnce

func (x *EphemeralContainerCommon) GetStdinOnce() bool

func (*EphemeralContainerCommon) GetTerminationMessagePath

func (x *EphemeralContainerCommon) GetTerminationMessagePath() string

func (*EphemeralContainerCommon) GetTerminationMessagePolicy

func (x *EphemeralContainerCommon) GetTerminationMessagePolicy() string

func (*EphemeralContainerCommon) GetTty

func (x *EphemeralContainerCommon) GetTty() bool

func (*EphemeralContainerCommon) GetVolumeDevices

func (x *EphemeralContainerCommon) GetVolumeDevices() []*VolumeDevice

func (*EphemeralContainerCommon) GetVolumeMounts

func (x *EphemeralContainerCommon) GetVolumeMounts() []*VolumeMount

func (*EphemeralContainerCommon) GetWorkingDir

func (x *EphemeralContainerCommon) GetWorkingDir() string

func (*EphemeralContainerCommon) ProtoMessage

func (*EphemeralContainerCommon) ProtoMessage()

func (*EphemeralContainerCommon) ProtoReflect

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

func (*EphemeralContainerCommon) Reset

func (x *EphemeralContainerCommon) Reset()

func (*EphemeralContainerCommon) String

func (x *EphemeralContainerCommon) String() string

type EphemeralVolumeSource

type EphemeralVolumeSource struct {

	// Will be used to create a stand-alone PVC to provision the volume.
	// The pod in which this EphemeralVolumeSource is embedded will be the
	// owner of the PVC, i.e. the PVC will be deleted together with the
	// pod.  The name of the PVC will be `<pod name>-<volume name>` where
	// `<volume name>` is the name from the `PodSpec.Volumes` array
	// entry. Pod validation will reject the pod if the concatenated name
	// is not valid for a PVC (for example, too long).
	//
	// An existing PVC with that name that is not owned by the pod
	// will *not* be used for the pod to avoid using an unrelated
	// volume by mistake. Starting the pod is then blocked until
	// the unrelated PVC is removed. If such a pre-created PVC is
	// meant to be used by the pod, the PVC has to updated with an
	// owner reference to the pod once the pod exists. Normally
	// this should not be necessary, but it may be useful when
	// manually reconstructing a broken cluster.
	//
	// This field is read-only and no changes will be made by Kubernetes
	// to the PVC after it has been created.
	//
	// Required, must not be nil.
	VolumeClaimTemplate *PersistentVolumeClaimTemplate `protobuf:"bytes,1,opt,name=volumeClaimTemplate" json:"volumeClaimTemplate,omitempty"`
	// contains filtered or unexported fields
}

Represents an ephemeral volume that is handled by a normal storage driver.

func (*EphemeralVolumeSource) Descriptor deprecated

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

Deprecated: Use EphemeralVolumeSource.ProtoReflect.Descriptor instead.

func (*EphemeralVolumeSource) GetVolumeClaimTemplate

func (x *EphemeralVolumeSource) GetVolumeClaimTemplate() *PersistentVolumeClaimTemplate

func (*EphemeralVolumeSource) ProtoMessage

func (*EphemeralVolumeSource) ProtoMessage()

func (*EphemeralVolumeSource) ProtoReflect

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

func (*EphemeralVolumeSource) Reset

func (x *EphemeralVolumeSource) Reset()

func (*EphemeralVolumeSource) String

func (x *EphemeralVolumeSource) String() string

type Event

type Event struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// The object that this event is about.
	InvolvedObject *ObjectReference `protobuf:"bytes,2,opt,name=involvedObject" json:"involvedObject,omitempty"`
	// This should be a short, machine understandable string that gives the reason
	// for the transition into the object's current status.
	// TODO: provide exact specification for format.
	// +optional
	Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
	// A human-readable description of the status of this operation.
	// TODO: decide on maximum length.
	// +optional
	Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	// The component reporting this event. Should be a short machine understandable string.
	// +optional
	Source *EventSource `protobuf:"bytes,5,opt,name=source" json:"source,omitempty"`
	// The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
	// +optional
	FirstTimestamp *v1.Time `protobuf:"bytes,6,opt,name=firstTimestamp" json:"firstTimestamp,omitempty"`
	// The time at which the most recent occurrence of this event was recorded.
	// +optional
	LastTimestamp *v1.Time `protobuf:"bytes,7,opt,name=lastTimestamp" json:"lastTimestamp,omitempty"`
	// The number of times this event has occurred.
	// +optional
	Count *int32 `protobuf:"varint,8,opt,name=count" json:"count,omitempty"`
	// Type of this event (Normal, Warning), new types could be added in the future
	// +optional
	Type *string `protobuf:"bytes,9,opt,name=type" json:"type,omitempty"`
	// Time when this Event was first observed.
	// +optional
	EventTime *v1.MicroTime `protobuf:"bytes,10,opt,name=eventTime" json:"eventTime,omitempty"`
	// Data about the Event series this event represents or nil if it's a singleton Event.
	// +optional
	Series *EventSeries `protobuf:"bytes,11,opt,name=series" json:"series,omitempty"`
	// What action was taken/failed regarding to the Regarding object.
	// +optional
	Action *string `protobuf:"bytes,12,opt,name=action" json:"action,omitempty"`
	// Optional secondary object for more complex actions.
	// +optional
	Related *ObjectReference `protobuf:"bytes,13,opt,name=related" json:"related,omitempty"`
	// Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
	// +optional
	ReportingComponent *string `protobuf:"bytes,14,opt,name=reportingComponent" json:"reportingComponent,omitempty"`
	// ID of the controller instance, e.g. `kubelet-xyzf`.
	// +optional
	ReportingInstance *string `protobuf:"bytes,15,opt,name=reportingInstance" json:"reportingInstance,omitempty"`
	// contains filtered or unexported fields
}

Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAction

func (x *Event) GetAction() string

func (*Event) GetCount

func (x *Event) GetCount() int32

func (*Event) GetEventTime

func (x *Event) GetEventTime() *v1.MicroTime

func (*Event) GetFirstTimestamp

func (x *Event) GetFirstTimestamp() *v1.Time

func (*Event) GetInvolvedObject

func (x *Event) GetInvolvedObject() *ObjectReference

func (*Event) GetLastTimestamp

func (x *Event) GetLastTimestamp() *v1.Time

func (*Event) GetMessage

func (x *Event) GetMessage() string

func (*Event) GetMetadata

func (x *Event) GetMetadata() *v1.ObjectMeta

func (*Event) GetReason

func (x *Event) GetReason() string

func (*Event) GetRelated

func (x *Event) GetRelated() *ObjectReference

func (*Event) GetReportingComponent

func (x *Event) GetReportingComponent() string

func (*Event) GetReportingInstance

func (x *Event) GetReportingInstance() string

func (*Event) GetSeries

func (x *Event) GetSeries() *EventSeries

func (*Event) GetSource

func (x *Event) GetSource() *EventSource

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventList

type EventList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of events
	Items []*Event `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

EventList is a list of events.

func (*EventList) Descriptor deprecated

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

Deprecated: Use EventList.ProtoReflect.Descriptor instead.

func (*EventList) GetItems

func (x *EventList) GetItems() []*Event

func (*EventList) GetMetadata

func (x *EventList) GetMetadata() *v1.ListMeta

func (*EventList) ProtoMessage

func (*EventList) ProtoMessage()

func (*EventList) ProtoReflect

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

func (*EventList) Reset

func (x *EventList) Reset()

func (*EventList) String

func (x *EventList) String() string

type EventSeries

type EventSeries struct {

	// Number of occurrences in this series up to the last heartbeat time
	Count *int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
	// Time of the last occurrence observed
	LastObservedTime *v1.MicroTime `protobuf:"bytes,2,opt,name=lastObservedTime" json:"lastObservedTime,omitempty"`
	// contains filtered or unexported fields
}

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.

func (*EventSeries) Descriptor deprecated

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

Deprecated: Use EventSeries.ProtoReflect.Descriptor instead.

func (*EventSeries) GetCount

func (x *EventSeries) GetCount() int32

func (*EventSeries) GetLastObservedTime

func (x *EventSeries) GetLastObservedTime() *v1.MicroTime

func (*EventSeries) ProtoMessage

func (*EventSeries) ProtoMessage()

func (*EventSeries) ProtoReflect

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

func (*EventSeries) Reset

func (x *EventSeries) Reset()

func (*EventSeries) String

func (x *EventSeries) String() string

type EventSource

type EventSource struct {

	// Component from which the event is generated.
	// +optional
	Component *string `protobuf:"bytes,1,opt,name=component" json:"component,omitempty"`
	// Node name on which the event is generated.
	// +optional
	Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
	// contains filtered or unexported fields
}

EventSource contains information for an event.

func (*EventSource) Descriptor deprecated

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

Deprecated: Use EventSource.ProtoReflect.Descriptor instead.

func (*EventSource) GetComponent

func (x *EventSource) GetComponent() string

func (*EventSource) GetHost

func (x *EventSource) GetHost() string

func (*EventSource) ProtoMessage

func (*EventSource) ProtoMessage()

func (*EventSource) ProtoReflect

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

func (*EventSource) Reset

func (x *EventSource) Reset()

func (*EventSource) String

func (x *EventSource) String() string

type ExecAction

type ExecAction struct {

	// Command is the command line to execute inside the container, the working directory for the
	// command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
	// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
	// a shell, you need to explicitly call out to that shell.
	// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	// +optional
	Command []string `protobuf:"bytes,1,rep,name=command" json:"command,omitempty"`
	// contains filtered or unexported fields
}

ExecAction describes a "run in container" action.

func (*ExecAction) Descriptor deprecated

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

Deprecated: Use ExecAction.ProtoReflect.Descriptor instead.

func (*ExecAction) GetCommand

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

func (*ExecAction) ProtoMessage

func (*ExecAction) ProtoMessage()

func (*ExecAction) ProtoReflect

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

func (*ExecAction) Reset

func (x *ExecAction) Reset()

func (*ExecAction) String

func (x *ExecAction) String() string

type FCVolumeSource

type FCVolumeSource struct {

	// targetWWNs is Optional: FC target worldwide names (WWNs)
	// +optional
	TargetWWNs []string `protobuf:"bytes,1,rep,name=targetWWNs" json:"targetWWNs,omitempty"`
	// lun is Optional: FC target lun number
	// +optional
	Lun *int32 `protobuf:"varint,2,opt,name=lun" json:"lun,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// wwids Optional: FC volume world wide identifiers (wwids)
	// Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
	// +optional
	Wwids []string `protobuf:"bytes,5,rep,name=wwids" json:"wwids,omitempty"`
	// contains filtered or unexported fields
}

Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.

func (*FCVolumeSource) Descriptor deprecated

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

Deprecated: Use FCVolumeSource.ProtoReflect.Descriptor instead.

func (*FCVolumeSource) GetFsType

func (x *FCVolumeSource) GetFsType() string

func (*FCVolumeSource) GetLun

func (x *FCVolumeSource) GetLun() int32

func (*FCVolumeSource) GetReadOnly

func (x *FCVolumeSource) GetReadOnly() bool

func (*FCVolumeSource) GetTargetWWNs

func (x *FCVolumeSource) GetTargetWWNs() []string

func (*FCVolumeSource) GetWwids

func (x *FCVolumeSource) GetWwids() []string

func (*FCVolumeSource) ProtoMessage

func (*FCVolumeSource) ProtoMessage()

func (*FCVolumeSource) ProtoReflect

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

func (*FCVolumeSource) Reset

func (x *FCVolumeSource) Reset()

func (*FCVolumeSource) String

func (x *FCVolumeSource) String() string

type FlexPersistentVolumeSource

type FlexPersistentVolumeSource struct {

	// driver is the name of the driver to use for this volume.
	Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	// fsType is the Filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// secretRef is Optional: SecretRef is reference to the secret object containing
	// sensitive information to pass to the plugin scripts. This may be
	// empty if no secret object is specified. If the secret object
	// contains more than one secret, all secrets are passed to the plugin
	// scripts.
	// +optional
	SecretRef *SecretReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
	// readOnly is Optional: defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// options is Optional: this field holds extra command options if any.
	// +optional
	Options map[string]string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.

func (*FlexPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use FlexPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*FlexPersistentVolumeSource) GetDriver

func (x *FlexPersistentVolumeSource) GetDriver() string

func (*FlexPersistentVolumeSource) GetFsType

func (x *FlexPersistentVolumeSource) GetFsType() string

func (*FlexPersistentVolumeSource) GetOptions

func (x *FlexPersistentVolumeSource) GetOptions() map[string]string

func (*FlexPersistentVolumeSource) GetReadOnly

func (x *FlexPersistentVolumeSource) GetReadOnly() bool

func (*FlexPersistentVolumeSource) GetSecretRef

func (x *FlexPersistentVolumeSource) GetSecretRef() *SecretReference

func (*FlexPersistentVolumeSource) ProtoMessage

func (*FlexPersistentVolumeSource) ProtoMessage()

func (*FlexPersistentVolumeSource) ProtoReflect

func (*FlexPersistentVolumeSource) Reset

func (x *FlexPersistentVolumeSource) Reset()

func (*FlexPersistentVolumeSource) String

func (x *FlexPersistentVolumeSource) String() string

type FlexVolumeSource

type FlexVolumeSource struct {

	// driver is the name of the driver to use for this volume.
	Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// secretRef is Optional: secretRef is reference to the secret object containing
	// sensitive information to pass to the plugin scripts. This may be
	// empty if no secret object is specified. If the secret object
	// contains more than one secret, all secrets are passed to the plugin
	// scripts.
	// +optional
	SecretRef *LocalObjectReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
	// readOnly is Optional: defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// options is Optional: this field holds extra command options if any.
	// +optional
	Options map[string]string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

func (*FlexVolumeSource) Descriptor deprecated

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

Deprecated: Use FlexVolumeSource.ProtoReflect.Descriptor instead.

func (*FlexVolumeSource) GetDriver

func (x *FlexVolumeSource) GetDriver() string

func (*FlexVolumeSource) GetFsType

func (x *FlexVolumeSource) GetFsType() string

func (*FlexVolumeSource) GetOptions

func (x *FlexVolumeSource) GetOptions() map[string]string

func (*FlexVolumeSource) GetReadOnly

func (x *FlexVolumeSource) GetReadOnly() bool

func (*FlexVolumeSource) GetSecretRef

func (x *FlexVolumeSource) GetSecretRef() *LocalObjectReference

func (*FlexVolumeSource) ProtoMessage

func (*FlexVolumeSource) ProtoMessage()

func (*FlexVolumeSource) ProtoReflect

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

func (*FlexVolumeSource) Reset

func (x *FlexVolumeSource) Reset()

func (*FlexVolumeSource) String

func (x *FlexVolumeSource) String() string

type FlockerVolumeSource

type FlockerVolumeSource struct {

	// datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
	// should be considered as deprecated
	// +optional
	DatasetName *string `protobuf:"bytes,1,opt,name=datasetName" json:"datasetName,omitempty"`
	// datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
	// +optional
	DatasetUUID *string `protobuf:"bytes,2,opt,name=datasetUUID" json:"datasetUUID,omitempty"`
	// contains filtered or unexported fields
}

Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.

func (*FlockerVolumeSource) Descriptor deprecated

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

Deprecated: Use FlockerVolumeSource.ProtoReflect.Descriptor instead.

func (*FlockerVolumeSource) GetDatasetName

func (x *FlockerVolumeSource) GetDatasetName() string

func (*FlockerVolumeSource) GetDatasetUUID

func (x *FlockerVolumeSource) GetDatasetUUID() string

func (*FlockerVolumeSource) ProtoMessage

func (*FlockerVolumeSource) ProtoMessage()

func (*FlockerVolumeSource) ProtoReflect

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

func (*FlockerVolumeSource) Reset

func (x *FlockerVolumeSource) Reset()

func (*FlockerVolumeSource) String

func (x *FlockerVolumeSource) String() string

type GCEPersistentDiskVolumeSource

type GCEPersistentDiskVolumeSource struct {

	// pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	PdName *string `protobuf:"bytes,1,opt,name=pdName" json:"pdName,omitempty"`
	// fsType is filesystem type of the volume that you want to mount.
	// Tip: Ensure that the filesystem type is supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// partition is the partition in the volume that you want to mount.
	// If omitted, the default is to mount by volume name.
	// Examples: For volume /dev/sda1, you specify the partition as "1".
	// Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	// +optional
	Partition *int32 `protobuf:"varint,3,opt,name=partition" json:"partition,omitempty"`
	// readOnly here will force the ReadOnly setting in VolumeMounts.
	// Defaults to false.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Persistent Disk resource in Google Compute Engine.

A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.

func (*GCEPersistentDiskVolumeSource) Descriptor deprecated

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

Deprecated: Use GCEPersistentDiskVolumeSource.ProtoReflect.Descriptor instead.

func (*GCEPersistentDiskVolumeSource) GetFsType

func (x *GCEPersistentDiskVolumeSource) GetFsType() string

func (*GCEPersistentDiskVolumeSource) GetPartition

func (x *GCEPersistentDiskVolumeSource) GetPartition() int32

func (*GCEPersistentDiskVolumeSource) GetPdName

func (x *GCEPersistentDiskVolumeSource) GetPdName() string

func (*GCEPersistentDiskVolumeSource) GetReadOnly

func (x *GCEPersistentDiskVolumeSource) GetReadOnly() bool

func (*GCEPersistentDiskVolumeSource) ProtoMessage

func (*GCEPersistentDiskVolumeSource) ProtoMessage()

func (*GCEPersistentDiskVolumeSource) ProtoReflect

func (*GCEPersistentDiskVolumeSource) Reset

func (x *GCEPersistentDiskVolumeSource) Reset()

func (*GCEPersistentDiskVolumeSource) String

type GRPCAction

type GRPCAction struct {

	// Port number of the gRPC service. Number must be in the range 1 to 65535.
	Port *int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
	// Service is the name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	//
	// If this is not specified, the default behavior is defined by gRPC.
	// +optional
	// +default=""
	Service *string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*GRPCAction) Descriptor deprecated

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

Deprecated: Use GRPCAction.ProtoReflect.Descriptor instead.

func (*GRPCAction) GetPort

func (x *GRPCAction) GetPort() int32

func (*GRPCAction) GetService

func (x *GRPCAction) GetService() string

func (*GRPCAction) ProtoMessage

func (*GRPCAction) ProtoMessage()

func (*GRPCAction) ProtoReflect

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

func (*GRPCAction) Reset

func (x *GRPCAction) Reset()

func (*GRPCAction) String

func (x *GRPCAction) String() string

type GitRepoVolumeSource

type GitRepoVolumeSource struct {

	// repository is the URL
	Repository *string `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
	// revision is the commit hash for the specified revision.
	// +optional
	Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"`
	// directory is the target directory name.
	// Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the
	// git repository.  Otherwise, if specified, the volume will contain the git repository in
	// the subdirectory with the given name.
	// +optional
	Directory *string `protobuf:"bytes,3,opt,name=directory" json:"directory,omitempty"`
	// contains filtered or unexported fields
}

Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.

DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

func (*GitRepoVolumeSource) Descriptor deprecated

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

Deprecated: Use GitRepoVolumeSource.ProtoReflect.Descriptor instead.

func (*GitRepoVolumeSource) GetDirectory

func (x *GitRepoVolumeSource) GetDirectory() string

func (*GitRepoVolumeSource) GetRepository

func (x *GitRepoVolumeSource) GetRepository() string

func (*GitRepoVolumeSource) GetRevision

func (x *GitRepoVolumeSource) GetRevision() string

func (*GitRepoVolumeSource) ProtoMessage

func (*GitRepoVolumeSource) ProtoMessage()

func (*GitRepoVolumeSource) ProtoReflect

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

func (*GitRepoVolumeSource) Reset

func (x *GitRepoVolumeSource) Reset()

func (*GitRepoVolumeSource) String

func (x *GitRepoVolumeSource) String() string

type GlusterfsPersistentVolumeSource

type GlusterfsPersistentVolumeSource struct {

	// endpoints is the endpoint name that details Glusterfs topology.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Endpoints *string `protobuf:"bytes,1,opt,name=endpoints" json:"endpoints,omitempty"`
	// path is the Glusterfs volume path.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
	// Defaults to false.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// endpointsNamespace is the namespace that contains Glusterfs endpoint.
	// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// +optional
	EndpointsNamespace *string `protobuf:"bytes,4,opt,name=endpointsNamespace" json:"endpointsNamespace,omitempty"`
	// contains filtered or unexported fields
}

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

func (*GlusterfsPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use GlusterfsPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*GlusterfsPersistentVolumeSource) GetEndpoints

func (x *GlusterfsPersistentVolumeSource) GetEndpoints() string

func (*GlusterfsPersistentVolumeSource) GetEndpointsNamespace

func (x *GlusterfsPersistentVolumeSource) GetEndpointsNamespace() string

func (*GlusterfsPersistentVolumeSource) GetPath

func (*GlusterfsPersistentVolumeSource) GetReadOnly

func (x *GlusterfsPersistentVolumeSource) GetReadOnly() bool

func (*GlusterfsPersistentVolumeSource) ProtoMessage

func (*GlusterfsPersistentVolumeSource) ProtoMessage()

func (*GlusterfsPersistentVolumeSource) ProtoReflect

func (*GlusterfsPersistentVolumeSource) Reset

func (*GlusterfsPersistentVolumeSource) String

type GlusterfsVolumeSource

type GlusterfsVolumeSource struct {

	// endpoints is the endpoint name that details Glusterfs topology.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Endpoints *string `protobuf:"bytes,1,opt,name=endpoints" json:"endpoints,omitempty"`
	// path is the Glusterfs volume path.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
	// Defaults to false.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

func (*GlusterfsVolumeSource) Descriptor deprecated

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

Deprecated: Use GlusterfsVolumeSource.ProtoReflect.Descriptor instead.

func (*GlusterfsVolumeSource) GetEndpoints

func (x *GlusterfsVolumeSource) GetEndpoints() string

func (*GlusterfsVolumeSource) GetPath

func (x *GlusterfsVolumeSource) GetPath() string

func (*GlusterfsVolumeSource) GetReadOnly

func (x *GlusterfsVolumeSource) GetReadOnly() bool

func (*GlusterfsVolumeSource) ProtoMessage

func (*GlusterfsVolumeSource) ProtoMessage()

func (*GlusterfsVolumeSource) ProtoReflect

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

func (*GlusterfsVolumeSource) Reset

func (x *GlusterfsVolumeSource) Reset()

func (*GlusterfsVolumeSource) String

func (x *GlusterfsVolumeSource) String() string

type HTTPGetAction

type HTTPGetAction struct {

	// Path to access on the HTTP server.
	// +optional
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// Name or number of the port to access on the container.
	// Number must be in the range 1 to 65535.
	// Name must be an IANA_SVC_NAME.
	Port *intstr.IntOrString `protobuf:"bytes,2,opt,name=port" json:"port,omitempty"`
	// Host name to connect to, defaults to the pod IP. You probably want to set
	// "Host" in httpHeaders instead.
	// +optional
	Host *string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"`
	// Scheme to use for connecting to the host.
	// Defaults to HTTP.
	// +optional
	Scheme *string `protobuf:"bytes,4,opt,name=scheme" json:"scheme,omitempty"`
	// Custom headers to set in the request. HTTP allows repeated headers.
	// +optional
	HttpHeaders []*HTTPHeader `protobuf:"bytes,5,rep,name=httpHeaders" json:"httpHeaders,omitempty"`
	// contains filtered or unexported fields
}

HTTPGetAction describes an action based on HTTP Get requests.

func (*HTTPGetAction) Descriptor deprecated

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

Deprecated: Use HTTPGetAction.ProtoReflect.Descriptor instead.

func (*HTTPGetAction) GetHost

func (x *HTTPGetAction) GetHost() string

func (*HTTPGetAction) GetHttpHeaders

func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader

func (*HTTPGetAction) GetPath

func (x *HTTPGetAction) GetPath() string

func (*HTTPGetAction) GetPort

func (x *HTTPGetAction) GetPort() *intstr.IntOrString

func (*HTTPGetAction) GetScheme

func (x *HTTPGetAction) GetScheme() string

func (*HTTPGetAction) ProtoMessage

func (*HTTPGetAction) ProtoMessage()

func (*HTTPGetAction) ProtoReflect

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

func (*HTTPGetAction) Reset

func (x *HTTPGetAction) Reset()

func (*HTTPGetAction) String

func (x *HTTPGetAction) String() string

type HTTPHeader

type HTTPHeader struct {

	// The header field name.
	// This will be canonicalized upon output, so case-variant names will be understood as the same header.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The header field value
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

HTTPHeader describes a custom header to be used in HTTP probes

func (*HTTPHeader) Descriptor deprecated

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

Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.

func (*HTTPHeader) GetName

func (x *HTTPHeader) GetName() string

func (*HTTPHeader) GetValue

func (x *HTTPHeader) GetValue() string

func (*HTTPHeader) ProtoMessage

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) ProtoReflect

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

func (*HTTPHeader) Reset

func (x *HTTPHeader) Reset()

func (*HTTPHeader) String

func (x *HTTPHeader) String() string

type HostAlias

type HostAlias struct {

	// IP address of the host file entry.
	Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
	// Hostnames for the above IP address.
	Hostnames []string `protobuf:"bytes,2,rep,name=hostnames" json:"hostnames,omitempty"`
	// contains filtered or unexported fields
}

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

func (*HostAlias) Descriptor deprecated

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

Deprecated: Use HostAlias.ProtoReflect.Descriptor instead.

func (*HostAlias) GetHostnames

func (x *HostAlias) GetHostnames() []string

func (*HostAlias) GetIp

func (x *HostAlias) GetIp() string

func (*HostAlias) ProtoMessage

func (*HostAlias) ProtoMessage()

func (*HostAlias) ProtoReflect

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

func (*HostAlias) Reset

func (x *HostAlias) Reset()

func (*HostAlias) String

func (x *HostAlias) String() string

type HostIP

type HostIP struct {

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

HostIP represents a single IP address allocated to the host.

func (*HostIP) Descriptor deprecated

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

Deprecated: Use HostIP.ProtoReflect.Descriptor instead.

func (*HostIP) GetIp

func (x *HostIP) GetIp() string

func (*HostIP) ProtoMessage

func (*HostIP) ProtoMessage()

func (*HostIP) ProtoReflect

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

func (*HostIP) Reset

func (x *HostIP) Reset()

func (*HostIP) String

func (x *HostIP) String() string

type HostPathVolumeSource

type HostPathVolumeSource struct {

	// path of the directory on the host.
	// If the path is a symlink, it will follow the link to the real path.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// type for HostPath Volume
	// Defaults to ""
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	// +optional
	Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.

func (*HostPathVolumeSource) Descriptor deprecated

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

Deprecated: Use HostPathVolumeSource.ProtoReflect.Descriptor instead.

func (*HostPathVolumeSource) GetPath

func (x *HostPathVolumeSource) GetPath() string

func (*HostPathVolumeSource) GetType

func (x *HostPathVolumeSource) GetType() string

func (*HostPathVolumeSource) ProtoMessage

func (*HostPathVolumeSource) ProtoMessage()

func (*HostPathVolumeSource) ProtoReflect

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

func (*HostPathVolumeSource) Reset

func (x *HostPathVolumeSource) Reset()

func (*HostPathVolumeSource) String

func (x *HostPathVolumeSource) String() string

type ISCSIPersistentVolumeSource

type ISCSIPersistentVolumeSource struct {

	// targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
	// is other than default (typically TCP ports 860 and 3260).
	TargetPortal *string `protobuf:"bytes,1,opt,name=targetPortal" json:"targetPortal,omitempty"`
	// iqn is Target iSCSI Qualified Name.
	Iqn *string `protobuf:"bytes,2,opt,name=iqn" json:"iqn,omitempty"`
	// lun is iSCSI Target Lun number.
	Lun *int32 `protobuf:"varint,3,opt,name=lun" json:"lun,omitempty"`
	// iscsiInterface is the interface Name that uses an iSCSI transport.
	// Defaults to 'default' (tcp).
	// +optional
	IscsiInterface *string `protobuf:"bytes,4,opt,name=iscsiInterface" json:"iscsiInterface,omitempty"`
	// fsType is the filesystem type of the volume that you want to mount.
	// Tip: Ensure that the filesystem type is supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,5,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly here will force the ReadOnly setting in VolumeMounts.
	// Defaults to false.
	// +optional
	ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
	// portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port
	// is other than default (typically TCP ports 860 and 3260).
	// +optional
	Portals []string `protobuf:"bytes,7,rep,name=portals" json:"portals,omitempty"`
	// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
	// +optional
	ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery" json:"chapAuthDiscovery,omitempty"`
	// chapAuthSession defines whether support iSCSI Session CHAP authentication
	// +optional
	ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession" json:"chapAuthSession,omitempty"`
	// secretRef is the CHAP Secret for iSCSI target and initiator authentication
	// +optional
	SecretRef *SecretReference `protobuf:"bytes,10,opt,name=secretRef" json:"secretRef,omitempty"`
	// initiatorName is the custom iSCSI Initiator Name.
	// If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
	// <target portal>:<volume name> will be created for the connection.
	// +optional
	InitiatorName *string `protobuf:"bytes,12,opt,name=initiatorName" json:"initiatorName,omitempty"`
	// contains filtered or unexported fields
}

ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

func (*ISCSIPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use ISCSIPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*ISCSIPersistentVolumeSource) GetChapAuthDiscovery

func (x *ISCSIPersistentVolumeSource) GetChapAuthDiscovery() bool

func (*ISCSIPersistentVolumeSource) GetChapAuthSession

func (x *ISCSIPersistentVolumeSource) GetChapAuthSession() bool

func (*ISCSIPersistentVolumeSource) GetFsType

func (x *ISCSIPersistentVolumeSource) GetFsType() string

func (*ISCSIPersistentVolumeSource) GetInitiatorName

func (x *ISCSIPersistentVolumeSource) GetInitiatorName() string

func (*ISCSIPersistentVolumeSource) GetIqn

func (x *ISCSIPersistentVolumeSource) GetIqn() string

func (*ISCSIPersistentVolumeSource) GetIscsiInterface

func (x *ISCSIPersistentVolumeSource) GetIscsiInterface() string

func (*ISCSIPersistentVolumeSource) GetLun

func (x *ISCSIPersistentVolumeSource) GetLun() int32

func (*ISCSIPersistentVolumeSource) GetPortals

func (x *ISCSIPersistentVolumeSource) GetPortals() []string

func (*ISCSIPersistentVolumeSource) GetReadOnly

func (x *ISCSIPersistentVolumeSource) GetReadOnly() bool

func (*ISCSIPersistentVolumeSource) GetSecretRef

func (x *ISCSIPersistentVolumeSource) GetSecretRef() *SecretReference

func (*ISCSIPersistentVolumeSource) GetTargetPortal

func (x *ISCSIPersistentVolumeSource) GetTargetPortal() string

func (*ISCSIPersistentVolumeSource) ProtoMessage

func (*ISCSIPersistentVolumeSource) ProtoMessage()

func (*ISCSIPersistentVolumeSource) ProtoReflect

func (*ISCSIPersistentVolumeSource) Reset

func (x *ISCSIPersistentVolumeSource) Reset()

func (*ISCSIPersistentVolumeSource) String

func (x *ISCSIPersistentVolumeSource) String() string

type ISCSIVolumeSource

type ISCSIVolumeSource struct {

	// targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
	// is other than default (typically TCP ports 860 and 3260).
	TargetPortal *string `protobuf:"bytes,1,opt,name=targetPortal" json:"targetPortal,omitempty"`
	// iqn is the target iSCSI Qualified Name.
	Iqn *string `protobuf:"bytes,2,opt,name=iqn" json:"iqn,omitempty"`
	// lun represents iSCSI Target Lun number.
	Lun *int32 `protobuf:"varint,3,opt,name=lun" json:"lun,omitempty"`
	// iscsiInterface is the interface Name that uses an iSCSI transport.
	// Defaults to 'default' (tcp).
	// +optional
	IscsiInterface *string `protobuf:"bytes,4,opt,name=iscsiInterface" json:"iscsiInterface,omitempty"`
	// fsType is the filesystem type of the volume that you want to mount.
	// Tip: Ensure that the filesystem type is supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,5,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly here will force the ReadOnly setting in VolumeMounts.
	// Defaults to false.
	// +optional
	ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
	// portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
	// is other than default (typically TCP ports 860 and 3260).
	// +optional
	Portals []string `protobuf:"bytes,7,rep,name=portals" json:"portals,omitempty"`
	// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
	// +optional
	ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery" json:"chapAuthDiscovery,omitempty"`
	// chapAuthSession defines whether support iSCSI Session CHAP authentication
	// +optional
	ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession" json:"chapAuthSession,omitempty"`
	// secretRef is the CHAP Secret for iSCSI target and initiator authentication
	// +optional
	SecretRef *LocalObjectReference `protobuf:"bytes,10,opt,name=secretRef" json:"secretRef,omitempty"`
	// initiatorName is the custom iSCSI Initiator Name.
	// If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
	// <target portal>:<volume name> will be created for the connection.
	// +optional
	InitiatorName *string `protobuf:"bytes,12,opt,name=initiatorName" json:"initiatorName,omitempty"`
	// contains filtered or unexported fields
}

Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

func (*ISCSIVolumeSource) Descriptor deprecated

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

Deprecated: Use ISCSIVolumeSource.ProtoReflect.Descriptor instead.

func (*ISCSIVolumeSource) GetChapAuthDiscovery

func (x *ISCSIVolumeSource) GetChapAuthDiscovery() bool

func (*ISCSIVolumeSource) GetChapAuthSession

func (x *ISCSIVolumeSource) GetChapAuthSession() bool

func (*ISCSIVolumeSource) GetFsType

func (x *ISCSIVolumeSource) GetFsType() string

func (*ISCSIVolumeSource) GetInitiatorName

func (x *ISCSIVolumeSource) GetInitiatorName() string

func (*ISCSIVolumeSource) GetIqn

func (x *ISCSIVolumeSource) GetIqn() string

func (*ISCSIVolumeSource) GetIscsiInterface

func (x *ISCSIVolumeSource) GetIscsiInterface() string

func (*ISCSIVolumeSource) GetLun

func (x *ISCSIVolumeSource) GetLun() int32

func (*ISCSIVolumeSource) GetPortals

func (x *ISCSIVolumeSource) GetPortals() []string

func (*ISCSIVolumeSource) GetReadOnly

func (x *ISCSIVolumeSource) GetReadOnly() bool

func (*ISCSIVolumeSource) GetSecretRef

func (x *ISCSIVolumeSource) GetSecretRef() *LocalObjectReference

func (*ISCSIVolumeSource) GetTargetPortal

func (x *ISCSIVolumeSource) GetTargetPortal() string

func (*ISCSIVolumeSource) ProtoMessage

func (*ISCSIVolumeSource) ProtoMessage()

func (*ISCSIVolumeSource) ProtoReflect

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

func (*ISCSIVolumeSource) Reset

func (x *ISCSIVolumeSource) Reset()

func (*ISCSIVolumeSource) String

func (x *ISCSIVolumeSource) String() string

type KeyToPath

type KeyToPath struct {

	// key is the key to project.
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// path is the relative path of the file to map the key to.
	// May not be an absolute path.
	// May not contain the path element '..'.
	// May not start with the string '..'.
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// mode is Optional: mode bits used to set permissions on this file.
	// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
	// If not specified, the volume defaultMode will be used.
	// This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	// +optional
	Mode *int32 `protobuf:"varint,3,opt,name=mode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

Maps a string key to a path within a volume.

func (*KeyToPath) Descriptor deprecated

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

Deprecated: Use KeyToPath.ProtoReflect.Descriptor instead.

func (*KeyToPath) GetKey

func (x *KeyToPath) GetKey() string

func (*KeyToPath) GetMode

func (x *KeyToPath) GetMode() int32

func (*KeyToPath) GetPath

func (x *KeyToPath) GetPath() string

func (*KeyToPath) ProtoMessage

func (*KeyToPath) ProtoMessage()

func (*KeyToPath) ProtoReflect

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

func (*KeyToPath) Reset

func (x *KeyToPath) Reset()

func (*KeyToPath) String

func (x *KeyToPath) String() string

type Lifecycle

type Lifecycle struct {

	// PostStart is called immediately after a container is created. If the handler fails,
	// the container is terminated and restarted according to its restart policy.
	// Other management of the container blocks until the hook completes.
	// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	// +optional
	PostStart *LifecycleHandler `protobuf:"bytes,1,opt,name=postStart" json:"postStart,omitempty"`
	// PreStop is called immediately before a container is terminated due to an
	// API request or management event such as liveness/startup probe failure,
	// preemption, resource contention, etc. The handler is not called if the
	// container crashes or exits. The Pod's termination grace period countdown begins before the
	// PreStop hook is executed. Regardless of the outcome of the handler, the
	// container will eventually terminate within the Pod's termination grace
	// period (unless delayed by finalizers). Other management of the container blocks until the hook completes
	// or until the termination grace period is reached.
	// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	// +optional
	PreStop *LifecycleHandler `protobuf:"bytes,2,opt,name=preStop" json:"preStop,omitempty"`
	// contains filtered or unexported fields
}

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

func (*Lifecycle) Descriptor deprecated

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

Deprecated: Use Lifecycle.ProtoReflect.Descriptor instead.

func (*Lifecycle) GetPostStart

func (x *Lifecycle) GetPostStart() *LifecycleHandler

func (*Lifecycle) GetPreStop

func (x *Lifecycle) GetPreStop() *LifecycleHandler

func (*Lifecycle) ProtoMessage

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) ProtoReflect

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

func (*Lifecycle) Reset

func (x *Lifecycle) Reset()

func (*Lifecycle) String

func (x *Lifecycle) String() string

type LifecycleHandler

type LifecycleHandler struct {

	// Exec specifies the action to take.
	// +optional
	Exec *ExecAction `protobuf:"bytes,1,opt,name=exec" json:"exec,omitempty"`
	// HTTPGet specifies the http request to perform.
	// +optional
	HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet" json:"httpGet,omitempty"`
	// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
	// for the backward compatibility. There are no validation of this field and
	// lifecycle hooks will fail in runtime when tcp handler is specified.
	// +optional
	TcpSocket *TCPSocketAction `protobuf:"bytes,3,opt,name=tcpSocket" json:"tcpSocket,omitempty"`
	// contains filtered or unexported fields
}

LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.

func (*LifecycleHandler) Descriptor deprecated

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

Deprecated: Use LifecycleHandler.ProtoReflect.Descriptor instead.

func (*LifecycleHandler) GetExec

func (x *LifecycleHandler) GetExec() *ExecAction

func (*LifecycleHandler) GetHttpGet

func (x *LifecycleHandler) GetHttpGet() *HTTPGetAction

func (*LifecycleHandler) GetTcpSocket

func (x *LifecycleHandler) GetTcpSocket() *TCPSocketAction

func (*LifecycleHandler) ProtoMessage

func (*LifecycleHandler) ProtoMessage()

func (*LifecycleHandler) ProtoReflect

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

func (*LifecycleHandler) Reset

func (x *LifecycleHandler) Reset()

func (*LifecycleHandler) String

func (x *LifecycleHandler) String() string

type LimitRange

type LimitRange struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the limits enforced.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *LimitRangeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

LimitRange sets resource usage limits for each kind of resource in a Namespace.

func (*LimitRange) Descriptor deprecated

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

Deprecated: Use LimitRange.ProtoReflect.Descriptor instead.

func (*LimitRange) GetMetadata

func (x *LimitRange) GetMetadata() *v1.ObjectMeta

func (*LimitRange) GetSpec

func (x *LimitRange) GetSpec() *LimitRangeSpec

func (*LimitRange) ProtoMessage

func (*LimitRange) ProtoMessage()

func (*LimitRange) ProtoReflect

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

func (*LimitRange) Reset

func (x *LimitRange) Reset()

func (*LimitRange) String

func (x *LimitRange) String() string

type LimitRangeItem

type LimitRangeItem struct {

	// Type of resource that this limit applies to.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Max usage constraints on this kind by resource name.
	// +optional
	Max map[string]*resource.Quantity `` /* 126-byte string literal not displayed */
	// Min usage constraints on this kind by resource name.
	// +optional
	Min map[string]*resource.Quantity `` /* 126-byte string literal not displayed */
	// Default resource requirement limit value by resource name if resource limit is omitted.
	// +optional
	Default map[string]*resource.Quantity `` /* 134-byte string literal not displayed */
	// DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
	// +optional
	DefaultRequest map[string]*resource.Quantity `` /* 148-byte string literal not displayed */
	// MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
	// +optional
	MaxLimitRequestRatio map[string]*resource.Quantity `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

func (*LimitRangeItem) Descriptor deprecated

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

Deprecated: Use LimitRangeItem.ProtoReflect.Descriptor instead.

func (*LimitRangeItem) GetDefault

func (x *LimitRangeItem) GetDefault() map[string]*resource.Quantity

func (*LimitRangeItem) GetDefaultRequest

func (x *LimitRangeItem) GetDefaultRequest() map[string]*resource.Quantity

func (*LimitRangeItem) GetMax

func (x *LimitRangeItem) GetMax() map[string]*resource.Quantity

func (*LimitRangeItem) GetMaxLimitRequestRatio

func (x *LimitRangeItem) GetMaxLimitRequestRatio() map[string]*resource.Quantity

func (*LimitRangeItem) GetMin

func (x *LimitRangeItem) GetMin() map[string]*resource.Quantity

func (*LimitRangeItem) GetType

func (x *LimitRangeItem) GetType() string

func (*LimitRangeItem) ProtoMessage

func (*LimitRangeItem) ProtoMessage()

func (*LimitRangeItem) ProtoReflect

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

func (*LimitRangeItem) Reset

func (x *LimitRangeItem) Reset()

func (*LimitRangeItem) String

func (x *LimitRangeItem) String() string

type LimitRangeList

type LimitRangeList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is a list of LimitRange objects.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	Items []*LimitRange `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

LimitRangeList is a list of LimitRange items.

func (*LimitRangeList) Descriptor deprecated

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

Deprecated: Use LimitRangeList.ProtoReflect.Descriptor instead.

func (*LimitRangeList) GetItems

func (x *LimitRangeList) GetItems() []*LimitRange

func (*LimitRangeList) GetMetadata

func (x *LimitRangeList) GetMetadata() *v1.ListMeta

func (*LimitRangeList) ProtoMessage

func (*LimitRangeList) ProtoMessage()

func (*LimitRangeList) ProtoReflect

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

func (*LimitRangeList) Reset

func (x *LimitRangeList) Reset()

func (*LimitRangeList) String

func (x *LimitRangeList) String() string

type LimitRangeSpec

type LimitRangeSpec struct {

	// Limits is the list of LimitRangeItem objects that are enforced.
	Limits []*LimitRangeItem `protobuf:"bytes,1,rep,name=limits" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

LimitRangeSpec defines a min/max usage limit for resources that match on kind.

func (*LimitRangeSpec) Descriptor deprecated

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

Deprecated: Use LimitRangeSpec.ProtoReflect.Descriptor instead.

func (*LimitRangeSpec) GetLimits

func (x *LimitRangeSpec) GetLimits() []*LimitRangeItem

func (*LimitRangeSpec) ProtoMessage

func (*LimitRangeSpec) ProtoMessage()

func (*LimitRangeSpec) ProtoReflect

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

func (*LimitRangeSpec) Reset

func (x *LimitRangeSpec) Reset()

func (*LimitRangeSpec) String

func (x *LimitRangeSpec) String() string

type List

type List struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of objects
	Items []*runtime.RawExtension `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

List holds a list of objects, which may not be known by the server.

func (*List) Descriptor deprecated

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

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetItems

func (x *List) GetItems() []*runtime.RawExtension

func (*List) GetMetadata

func (x *List) GetMetadata() *v1.ListMeta

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

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

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

type LoadBalancerIngress

type LoadBalancerIngress struct {

	// IP is set for load-balancer ingress points that are IP based
	// (typically GCE or OpenStack load-balancers)
	// +optional
	Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
	// Hostname is set for load-balancer ingress points that are DNS based
	// (typically AWS load-balancers)
	// +optional
	Hostname *string `protobuf:"bytes,2,opt,name=hostname" json:"hostname,omitempty"`
	// Ports is a list of records of service ports
	// If used, every port defined in the service should have an entry in it
	// +listType=atomic
	// +optional
	Ports []*PortStatus `protobuf:"bytes,4,rep,name=ports" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

func (*LoadBalancerIngress) Descriptor deprecated

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

Deprecated: Use LoadBalancerIngress.ProtoReflect.Descriptor instead.

func (*LoadBalancerIngress) GetHostname

func (x *LoadBalancerIngress) GetHostname() string

func (*LoadBalancerIngress) GetIp

func (x *LoadBalancerIngress) GetIp() string

func (*LoadBalancerIngress) GetPorts

func (x *LoadBalancerIngress) GetPorts() []*PortStatus

func (*LoadBalancerIngress) ProtoMessage

func (*LoadBalancerIngress) ProtoMessage()

func (*LoadBalancerIngress) ProtoReflect

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

func (*LoadBalancerIngress) Reset

func (x *LoadBalancerIngress) Reset()

func (*LoadBalancerIngress) String

func (x *LoadBalancerIngress) String() string

type LoadBalancerStatus

type LoadBalancerStatus struct {

	// Ingress is a list containing ingress points for the load-balancer.
	// Traffic intended for the service should be sent to these ingress points.
	// +optional
	Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress" json:"ingress,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancerStatus represents the status of a load-balancer.

func (*LoadBalancerStatus) Descriptor deprecated

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

Deprecated: Use LoadBalancerStatus.ProtoReflect.Descriptor instead.

func (*LoadBalancerStatus) GetIngress

func (x *LoadBalancerStatus) GetIngress() []*LoadBalancerIngress

func (*LoadBalancerStatus) ProtoMessage

func (*LoadBalancerStatus) ProtoMessage()

func (*LoadBalancerStatus) ProtoReflect

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

func (*LoadBalancerStatus) Reset

func (x *LoadBalancerStatus) Reset()

func (*LoadBalancerStatus) String

func (x *LoadBalancerStatus) String() string

type LocalObjectReference

type LocalObjectReference struct {

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +structType=atomic

func (*LocalObjectReference) Descriptor deprecated

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

Deprecated: Use LocalObjectReference.ProtoReflect.Descriptor instead.

func (*LocalObjectReference) GetName

func (x *LocalObjectReference) GetName() string

func (*LocalObjectReference) ProtoMessage

func (*LocalObjectReference) ProtoMessage()

func (*LocalObjectReference) ProtoReflect

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

func (*LocalObjectReference) Reset

func (x *LocalObjectReference) Reset()

func (*LocalObjectReference) String

func (x *LocalObjectReference) String() string

type LocalVolumeSource

type LocalVolumeSource struct {

	// path of the full path to the volume on the node.
	// It can be either a directory or block device (disk, partition, ...).
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// fsType is the filesystem type to mount.
	// It applies only when the Path is a block device.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// contains filtered or unexported fields
}

Local represents directly-attached storage with node affinity (Beta feature)

func (*LocalVolumeSource) Descriptor deprecated

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

Deprecated: Use LocalVolumeSource.ProtoReflect.Descriptor instead.

func (*LocalVolumeSource) GetFsType

func (x *LocalVolumeSource) GetFsType() string

func (*LocalVolumeSource) GetPath

func (x *LocalVolumeSource) GetPath() string

func (*LocalVolumeSource) ProtoMessage

func (*LocalVolumeSource) ProtoMessage()

func (*LocalVolumeSource) ProtoReflect

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

func (*LocalVolumeSource) Reset

func (x *LocalVolumeSource) Reset()

func (*LocalVolumeSource) String

func (x *LocalVolumeSource) String() string

type NFSVolumeSource

type NFSVolumeSource struct {

	// server is the hostname or IP address of the NFS server.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Server *string `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
	// path that is exported by the NFS server.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
	// readOnly here will force the NFS export to be mounted with read-only permissions.
	// Defaults to false.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.

func (*NFSVolumeSource) Descriptor deprecated

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

Deprecated: Use NFSVolumeSource.ProtoReflect.Descriptor instead.

func (*NFSVolumeSource) GetPath

func (x *NFSVolumeSource) GetPath() string

func (*NFSVolumeSource) GetReadOnly

func (x *NFSVolumeSource) GetReadOnly() bool

func (*NFSVolumeSource) GetServer

func (x *NFSVolumeSource) GetServer() string

func (*NFSVolumeSource) ProtoMessage

func (*NFSVolumeSource) ProtoMessage()

func (*NFSVolumeSource) ProtoReflect

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

func (*NFSVolumeSource) Reset

func (x *NFSVolumeSource) Reset()

func (*NFSVolumeSource) String

func (x *NFSVolumeSource) String() string

type Namespace

type Namespace struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the behavior of the Namespace.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *NamespaceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status describes the current status of a Namespace.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *NamespaceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Namespace provides a scope for Names. Use of multiple namespaces is optional.

func (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetMetadata

func (x *Namespace) GetMetadata() *v1.ObjectMeta

func (*Namespace) GetSpec

func (x *Namespace) GetSpec() *NamespaceSpec

func (*Namespace) GetStatus

func (x *Namespace) GetStatus() *NamespaceStatus

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

type NamespaceCondition

type NamespaceCondition struct {

	// Type of namespace controller condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// +optional
	Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
	// +optional
	Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

NamespaceCondition contains details about state of namespace.

func (*NamespaceCondition) Descriptor deprecated

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

Deprecated: Use NamespaceCondition.ProtoReflect.Descriptor instead.

func (*NamespaceCondition) GetLastTransitionTime

func (x *NamespaceCondition) GetLastTransitionTime() *v1.Time

func (*NamespaceCondition) GetMessage

func (x *NamespaceCondition) GetMessage() string

func (*NamespaceCondition) GetReason

func (x *NamespaceCondition) GetReason() string

func (*NamespaceCondition) GetStatus

func (x *NamespaceCondition) GetStatus() string

func (*NamespaceCondition) GetType

func (x *NamespaceCondition) GetType() string

func (*NamespaceCondition) ProtoMessage

func (*NamespaceCondition) ProtoMessage()

func (*NamespaceCondition) ProtoReflect

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

func (*NamespaceCondition) Reset

func (x *NamespaceCondition) Reset()

func (*NamespaceCondition) String

func (x *NamespaceCondition) String() string

type NamespaceList

type NamespaceList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is the list of Namespace objects in the list.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	Items []*Namespace `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

NamespaceList is a list of Namespaces.

func (*NamespaceList) Descriptor deprecated

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

Deprecated: Use NamespaceList.ProtoReflect.Descriptor instead.

func (*NamespaceList) GetItems

func (x *NamespaceList) GetItems() []*Namespace

func (*NamespaceList) GetMetadata

func (x *NamespaceList) GetMetadata() *v1.ListMeta

func (*NamespaceList) ProtoMessage

func (*NamespaceList) ProtoMessage()

func (*NamespaceList) ProtoReflect

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

func (*NamespaceList) Reset

func (x *NamespaceList) Reset()

func (*NamespaceList) String

func (x *NamespaceList) String() string

type NamespaceSpec

type NamespaceSpec struct {

	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Finalizers []string `protobuf:"bytes,1,rep,name=finalizers" json:"finalizers,omitempty"`
	// contains filtered or unexported fields
}

NamespaceSpec describes the attributes on a Namespace.

func (*NamespaceSpec) Descriptor deprecated

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

Deprecated: Use NamespaceSpec.ProtoReflect.Descriptor instead.

func (*NamespaceSpec) GetFinalizers

func (x *NamespaceSpec) GetFinalizers() []string

func (*NamespaceSpec) ProtoMessage

func (*NamespaceSpec) ProtoMessage()

func (*NamespaceSpec) ProtoReflect

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

func (*NamespaceSpec) Reset

func (x *NamespaceSpec) Reset()

func (*NamespaceSpec) String

func (x *NamespaceSpec) String() string

type NamespaceStatus

type NamespaceStatus struct {

	// Phase is the current lifecycle phase of the namespace.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
	// Represents the latest available observations of a namespace's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*NamespaceCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

NamespaceStatus is information about the current status of a Namespace.

func (*NamespaceStatus) Descriptor deprecated

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

Deprecated: Use NamespaceStatus.ProtoReflect.Descriptor instead.

func (*NamespaceStatus) GetConditions

func (x *NamespaceStatus) GetConditions() []*NamespaceCondition

func (*NamespaceStatus) GetPhase

func (x *NamespaceStatus) GetPhase() string

func (*NamespaceStatus) ProtoMessage

func (*NamespaceStatus) ProtoMessage()

func (*NamespaceStatus) ProtoReflect

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

func (*NamespaceStatus) Reset

func (x *NamespaceStatus) Reset()

func (*NamespaceStatus) String

func (x *NamespaceStatus) String() string

type Node

type Node struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the behavior of a node.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *NodeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Most recently observed status of the node.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *NodeStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetMetadata

func (x *Node) GetMetadata() *v1.ObjectMeta

func (*Node) GetSpec

func (x *Node) GetSpec() *NodeSpec

func (*Node) GetStatus

func (x *Node) GetStatus() *NodeStatus

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeAddress

type NodeAddress struct {

	// Node address type, one of Hostname, ExternalIP or InternalIP.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// The node address.
	Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
	// contains filtered or unexported fields
}

NodeAddress contains information for the node's address.

func (*NodeAddress) Descriptor deprecated

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

Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.

func (*NodeAddress) GetAddress

func (x *NodeAddress) GetAddress() string

func (*NodeAddress) GetType

func (x *NodeAddress) GetType() string

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) ProtoReflect

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

func (*NodeAddress) Reset

func (x *NodeAddress) Reset()

func (*NodeAddress) String

func (x *NodeAddress) String() string

type NodeAffinity

type NodeAffinity struct {

	// If the affinity requirements specified by this field are not met at
	// scheduling time, the pod will not be scheduled onto the node.
	// If the affinity requirements specified by this field cease to be met
	// at some point during pod execution (e.g. due to an update), the system
	// may or may not try to eventually evict the pod from its node.
	// +optional
	RequiredDuringSchedulingIgnoredDuringExecution *NodeSelector `` /* 138-byte string literal not displayed */
	// The scheduler will prefer to schedule pods to nodes that satisfy
	// the affinity expressions specified by this field, but it may choose
	// a node that violates one or more of the expressions. The node that is
	// most preferred is the one with the greatest sum of weights, i.e.
	// for each node that meets all of the scheduling requirements (resource
	// request, requiredDuringScheduling affinity expressions, etc.),
	// compute a sum by iterating through the elements of this field and adding
	// "weight" to the sum if the node matches the corresponding matchExpressions; the
	// node(s) with the highest sum are the most preferred.
	// +optional
	PreferredDuringSchedulingIgnoredDuringExecution []*PreferredSchedulingTerm `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Node affinity is a group of node affinity scheduling rules.

func (*NodeAffinity) Descriptor deprecated

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

Deprecated: Use NodeAffinity.ProtoReflect.Descriptor instead.

func (*NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution

func (x *NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*PreferredSchedulingTerm

func (*NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution

func (x *NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() *NodeSelector

func (*NodeAffinity) ProtoMessage

func (*NodeAffinity) ProtoMessage()

func (*NodeAffinity) ProtoReflect

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

func (*NodeAffinity) Reset

func (x *NodeAffinity) Reset()

func (*NodeAffinity) String

func (x *NodeAffinity) String() string

type NodeCondition

type NodeCondition struct {

	// Type of node condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// Last time we got an update on a given condition.
	// +optional
	LastHeartbeatTime *v1.Time `protobuf:"bytes,3,opt,name=lastHeartbeatTime" json:"lastHeartbeatTime,omitempty"`
	// Last time the condition transit from one status to another.
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// (brief) reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
	// Human readable message indicating details about last transition.
	// +optional
	Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

NodeCondition contains condition information for a node.

func (*NodeCondition) Descriptor deprecated

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

Deprecated: Use NodeCondition.ProtoReflect.Descriptor instead.

func (*NodeCondition) GetLastHeartbeatTime

func (x *NodeCondition) GetLastHeartbeatTime() *v1.Time

func (*NodeCondition) GetLastTransitionTime

func (x *NodeCondition) GetLastTransitionTime() *v1.Time

func (*NodeCondition) GetMessage

func (x *NodeCondition) GetMessage() string

func (*NodeCondition) GetReason

func (x *NodeCondition) GetReason() string

func (*NodeCondition) GetStatus

func (x *NodeCondition) GetStatus() string

func (*NodeCondition) GetType

func (x *NodeCondition) GetType() string

func (*NodeCondition) ProtoMessage

func (*NodeCondition) ProtoMessage()

func (*NodeCondition) ProtoReflect

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

func (*NodeCondition) Reset

func (x *NodeCondition) Reset()

func (*NodeCondition) String

func (x *NodeCondition) String() string

type NodeConfigSource

type NodeConfigSource struct {

	// ConfigMap is a reference to a Node's ConfigMap
	ConfigMap *ConfigMapNodeConfigSource `protobuf:"bytes,2,opt,name=configMap" json:"configMap,omitempty"`
	// contains filtered or unexported fields
}

NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22

func (*NodeConfigSource) Descriptor deprecated

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

Deprecated: Use NodeConfigSource.ProtoReflect.Descriptor instead.

func (*NodeConfigSource) GetConfigMap

func (x *NodeConfigSource) GetConfigMap() *ConfigMapNodeConfigSource

func (*NodeConfigSource) ProtoMessage

func (*NodeConfigSource) ProtoMessage()

func (*NodeConfigSource) ProtoReflect

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

func (*NodeConfigSource) Reset

func (x *NodeConfigSource) Reset()

func (*NodeConfigSource) String

func (x *NodeConfigSource) String() string

type NodeConfigStatus

type NodeConfigStatus struct {

	// Assigned reports the checkpointed config the node will try to use.
	// When Node.Spec.ConfigSource is updated, the node checkpoints the associated
	// config payload to local disk, along with a record indicating intended
	// config. The node refers to this record to choose its config checkpoint, and
	// reports this record in Assigned. Assigned only updates in the status after
	// the record has been checkpointed to disk. When the Kubelet is restarted,
	// it tries to make the Assigned config the Active config by loading and
	// validating the checkpointed payload identified by Assigned.
	// +optional
	Assigned *NodeConfigSource `protobuf:"bytes,1,opt,name=assigned" json:"assigned,omitempty"`
	// Active reports the checkpointed config the node is actively using.
	// Active will represent either the current version of the Assigned config,
	// or the current LastKnownGood config, depending on whether attempting to use the
	// Assigned config results in an error.
	// +optional
	Active *NodeConfigSource `protobuf:"bytes,2,opt,name=active" json:"active,omitempty"`
	// LastKnownGood reports the checkpointed config the node will fall back to
	// when it encounters an error attempting to use the Assigned config.
	// The Assigned config becomes the LastKnownGood config when the node determines
	// that the Assigned config is stable and correct.
	// This is currently implemented as a 10-minute soak period starting when the local
	// record of Assigned config is updated. If the Assigned config is Active at the end
	// of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is
	// reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil,
	// because the local default config is always assumed good.
	// You should not make assumptions about the node's method of determining config stability
	// and correctness, as this may change or become configurable in the future.
	// +optional
	LastKnownGood *NodeConfigSource `protobuf:"bytes,3,opt,name=lastKnownGood" json:"lastKnownGood,omitempty"`
	// Error describes any problems reconciling the Spec.ConfigSource to the Active config.
	// Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned
	// record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting
	// to load or validate the Assigned config, etc.
	// Errors may occur at different points while syncing config. Earlier errors (e.g. download or
	// checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across
	// Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in
	// a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error
	// by fixing the config assigned in Spec.ConfigSource.
	// You can find additional information for debugging by searching the error message in the Kubelet log.
	// Error is a human-readable description of the error state; machines can check whether or not Error
	// is empty, but should not rely on the stability of the Error text across Kubelet versions.
	// +optional
	Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.

func (*NodeConfigStatus) Descriptor deprecated

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

Deprecated: Use NodeConfigStatus.ProtoReflect.Descriptor instead.

func (*NodeConfigStatus) GetActive

func (x *NodeConfigStatus) GetActive() *NodeConfigSource

func (*NodeConfigStatus) GetAssigned

func (x *NodeConfigStatus) GetAssigned() *NodeConfigSource

func (*NodeConfigStatus) GetError

func (x *NodeConfigStatus) GetError() string

func (*NodeConfigStatus) GetLastKnownGood

func (x *NodeConfigStatus) GetLastKnownGood() *NodeConfigSource

func (*NodeConfigStatus) ProtoMessage

func (*NodeConfigStatus) ProtoMessage()

func (*NodeConfigStatus) ProtoReflect

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

func (*NodeConfigStatus) Reset

func (x *NodeConfigStatus) Reset()

func (*NodeConfigStatus) String

func (x *NodeConfigStatus) String() string

type NodeDaemonEndpoints

type NodeDaemonEndpoints struct {

	// Endpoint on which Kubelet is listening.
	// +optional
	KubeletEndpoint *DaemonEndpoint `protobuf:"bytes,1,opt,name=kubeletEndpoint" json:"kubeletEndpoint,omitempty"`
	// contains filtered or unexported fields
}

NodeDaemonEndpoints lists ports opened by daemons running on the Node.

func (*NodeDaemonEndpoints) Descriptor deprecated

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

Deprecated: Use NodeDaemonEndpoints.ProtoReflect.Descriptor instead.

func (*NodeDaemonEndpoints) GetKubeletEndpoint

func (x *NodeDaemonEndpoints) GetKubeletEndpoint() *DaemonEndpoint

func (*NodeDaemonEndpoints) ProtoMessage

func (*NodeDaemonEndpoints) ProtoMessage()

func (*NodeDaemonEndpoints) ProtoReflect

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

func (*NodeDaemonEndpoints) Reset

func (x *NodeDaemonEndpoints) Reset()

func (*NodeDaemonEndpoints) String

func (x *NodeDaemonEndpoints) String() string

type NodeList

type NodeList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of nodes
	Items []*Node `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

NodeList is the whole list of all Nodes which have been registered with master.

func (*NodeList) Descriptor deprecated

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

Deprecated: Use NodeList.ProtoReflect.Descriptor instead.

func (*NodeList) GetItems

func (x *NodeList) GetItems() []*Node

func (*NodeList) GetMetadata

func (x *NodeList) GetMetadata() *v1.ListMeta

func (*NodeList) ProtoMessage

func (*NodeList) ProtoMessage()

func (*NodeList) ProtoReflect

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

func (*NodeList) Reset

func (x *NodeList) Reset()

func (*NodeList) String

func (x *NodeList) String() string

type NodeProxyOptions

type NodeProxyOptions struct {

	// Path is the URL path to use for the current proxy request to node.
	// +optional
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

NodeProxyOptions is the query options to a Node's proxy call.

func (*NodeProxyOptions) Descriptor deprecated

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

Deprecated: Use NodeProxyOptions.ProtoReflect.Descriptor instead.

func (*NodeProxyOptions) GetPath

func (x *NodeProxyOptions) GetPath() string

func (*NodeProxyOptions) ProtoMessage

func (*NodeProxyOptions) ProtoMessage()

func (*NodeProxyOptions) ProtoReflect

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

func (*NodeProxyOptions) Reset

func (x *NodeProxyOptions) Reset()

func (*NodeProxyOptions) String

func (x *NodeProxyOptions) String() string

type NodeResources

type NodeResources struct {

	// Capacity represents the available resources of a node
	Capacity map[string]*resource.Quantity `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

NodeResources is an object for conveying resource information about a node. see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details.

func (*NodeResources) Descriptor deprecated

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

Deprecated: Use NodeResources.ProtoReflect.Descriptor instead.

func (*NodeResources) GetCapacity

func (x *NodeResources) GetCapacity() map[string]*resource.Quantity

func (*NodeResources) ProtoMessage

func (*NodeResources) ProtoMessage()

func (*NodeResources) ProtoReflect

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

func (*NodeResources) Reset

func (x *NodeResources) Reset()

func (*NodeResources) String

func (x *NodeResources) String() string

type NodeSelector

type NodeSelector struct {

	// Required. A list of node selector terms. The terms are ORed.
	NodeSelectorTerms []*NodeSelectorTerm `protobuf:"bytes,1,rep,name=nodeSelectorTerms" json:"nodeSelectorTerms,omitempty"`
	// contains filtered or unexported fields
}

A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. +structType=atomic

func (*NodeSelector) Descriptor deprecated

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

Deprecated: Use NodeSelector.ProtoReflect.Descriptor instead.

func (*NodeSelector) GetNodeSelectorTerms

func (x *NodeSelector) GetNodeSelectorTerms() []*NodeSelectorTerm

func (*NodeSelector) ProtoMessage

func (*NodeSelector) ProtoMessage()

func (*NodeSelector) ProtoReflect

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

func (*NodeSelector) Reset

func (x *NodeSelector) Reset()

func (*NodeSelector) String

func (x *NodeSelector) String() string

type NodeSelectorRequirement

type NodeSelectorRequirement struct {

	// The label key that the selector applies to.
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// Represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
	Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
	// An array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. If the operator is Gt or Lt, the values
	// array must have a single element, which will be interpreted as an integer.
	// This array is replaced during a strategic merge patch.
	// +optional
	Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*NodeSelectorRequirement) Descriptor deprecated

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

Deprecated: Use NodeSelectorRequirement.ProtoReflect.Descriptor instead.

func (*NodeSelectorRequirement) GetKey

func (x *NodeSelectorRequirement) GetKey() string

func (*NodeSelectorRequirement) GetOperator

func (x *NodeSelectorRequirement) GetOperator() string

func (*NodeSelectorRequirement) GetValues

func (x *NodeSelectorRequirement) GetValues() []string

func (*NodeSelectorRequirement) ProtoMessage

func (*NodeSelectorRequirement) ProtoMessage()

func (*NodeSelectorRequirement) ProtoReflect

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

func (*NodeSelectorRequirement) Reset

func (x *NodeSelectorRequirement) Reset()

func (*NodeSelectorRequirement) String

func (x *NodeSelectorRequirement) String() string

type NodeSelectorTerm

type NodeSelectorTerm struct {

	// A list of node selector requirements by node's labels.
	// +optional
	MatchExpressions []*NodeSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions" json:"matchExpressions,omitempty"`
	// A list of node selector requirements by node's fields.
	// +optional
	MatchFields []*NodeSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields" json:"matchFields,omitempty"`
	// contains filtered or unexported fields
}

A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +structType=atomic

func (*NodeSelectorTerm) Descriptor deprecated

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

Deprecated: Use NodeSelectorTerm.ProtoReflect.Descriptor instead.

func (*NodeSelectorTerm) GetMatchExpressions

func (x *NodeSelectorTerm) GetMatchExpressions() []*NodeSelectorRequirement

func (*NodeSelectorTerm) GetMatchFields

func (x *NodeSelectorTerm) GetMatchFields() []*NodeSelectorRequirement

func (*NodeSelectorTerm) ProtoMessage

func (*NodeSelectorTerm) ProtoMessage()

func (*NodeSelectorTerm) ProtoReflect

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

func (*NodeSelectorTerm) Reset

func (x *NodeSelectorTerm) Reset()

func (*NodeSelectorTerm) String

func (x *NodeSelectorTerm) String() string

type NodeSpec

type NodeSpec struct {

	// PodCIDR represents the pod IP range assigned to the node.
	// +optional
	PodCIDR *string `protobuf:"bytes,1,opt,name=podCIDR" json:"podCIDR,omitempty"`
	// podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this
	// field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for
	// each of IPv4 and IPv6.
	// +optional
	// +patchStrategy=merge
	PodCIDRs []string `protobuf:"bytes,7,rep,name=podCIDRs" json:"podCIDRs,omitempty"`
	// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
	// +optional
	ProviderID *string `protobuf:"bytes,3,opt,name=providerID" json:"providerID,omitempty"`
	// Unschedulable controls node schedulability of new pods. By default, node is schedulable.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
	// +optional
	Unschedulable *bool `protobuf:"varint,4,opt,name=unschedulable" json:"unschedulable,omitempty"`
	// If specified, the node's taints.
	// +optional
	Taints []*Taint `protobuf:"bytes,5,rep,name=taints" json:"taints,omitempty"`
	// Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
	// +optional
	ConfigSource *NodeConfigSource `protobuf:"bytes,6,opt,name=configSource" json:"configSource,omitempty"`
	// Deprecated. Not all kubelets will set this field. Remove field after 1.13.
	// see: https://issues.k8s.io/61966
	// +optional
	ExternalID *string `protobuf:"bytes,2,opt,name=externalID" json:"externalID,omitempty"`
	// contains filtered or unexported fields
}

NodeSpec describes the attributes that a node is created with.

func (*NodeSpec) Descriptor deprecated

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

Deprecated: Use NodeSpec.ProtoReflect.Descriptor instead.

func (*NodeSpec) GetConfigSource

func (x *NodeSpec) GetConfigSource() *NodeConfigSource

func (*NodeSpec) GetExternalID

func (x *NodeSpec) GetExternalID() string

func (*NodeSpec) GetPodCIDR

func (x *NodeSpec) GetPodCIDR() string

func (*NodeSpec) GetPodCIDRs

func (x *NodeSpec) GetPodCIDRs() []string

func (*NodeSpec) GetProviderID

func (x *NodeSpec) GetProviderID() string

func (*NodeSpec) GetTaints

func (x *NodeSpec) GetTaints() []*Taint

func (*NodeSpec) GetUnschedulable

func (x *NodeSpec) GetUnschedulable() bool

func (*NodeSpec) ProtoMessage

func (*NodeSpec) ProtoMessage()

func (*NodeSpec) ProtoReflect

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

func (*NodeSpec) Reset

func (x *NodeSpec) Reset()

func (*NodeSpec) String

func (x *NodeSpec) String() string

type NodeStatus

type NodeStatus struct {

	// Capacity represents the total resources of a node.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
	// +optional
	Capacity map[string]*resource.Quantity `` /* 136-byte string literal not displayed */
	// Allocatable represents the resources of a node that are available for scheduling.
	// Defaults to Capacity.
	// +optional
	Allocatable map[string]*resource.Quantity `` /* 142-byte string literal not displayed */
	// NodePhase is the recently observed lifecycle phase of the node.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#phase
	// The field is never populated, and now is deprecated.
	// +optional
	Phase *string `protobuf:"bytes,3,opt,name=phase" json:"phase,omitempty"`
	// Conditions is an array of current observed node conditions.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*NodeCondition `protobuf:"bytes,4,rep,name=conditions" json:"conditions,omitempty"`
	// List of addresses reachable to the node.
	// Queried from cloud provider, if available.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses
	// Note: This field is declared as mergeable, but the merge key is not sufficiently
	// unique, which can cause data corruption when it is merged. Callers should instead
	// use a full-replacement patch. See https://pr.k8s.io/79391 for an example.
	// Consumers should assume that addresses can change during the
	// lifetime of a Node. However, there are some exceptions where this may not
	// be possible, such as Pods that inherit a Node's address in its own status or
	// consumers of the downward API (status.hostIP).
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Addresses []*NodeAddress `protobuf:"bytes,5,rep,name=addresses" json:"addresses,omitempty"`
	// Endpoints of daemons running on the Node.
	// +optional
	DaemonEndpoints *NodeDaemonEndpoints `protobuf:"bytes,6,opt,name=daemonEndpoints" json:"daemonEndpoints,omitempty"`
	// Set of ids/uuids to uniquely identify the node.
	// More info: https://kubernetes.io/docs/concepts/nodes/node/#info
	// +optional
	NodeInfo *NodeSystemInfo `protobuf:"bytes,7,opt,name=nodeInfo" json:"nodeInfo,omitempty"`
	// List of container images on this node
	// +optional
	Images []*ContainerImage `protobuf:"bytes,8,rep,name=images" json:"images,omitempty"`
	// List of attachable volumes in use (mounted) by the node.
	// +optional
	VolumesInUse []string `protobuf:"bytes,9,rep,name=volumesInUse" json:"volumesInUse,omitempty"`
	// List of volumes that are attached to the node.
	// +optional
	VolumesAttached []*AttachedVolume `protobuf:"bytes,10,rep,name=volumesAttached" json:"volumesAttached,omitempty"`
	// Status of the config assigned to the node via the dynamic Kubelet config feature.
	// +optional
	Config *NodeConfigStatus `protobuf:"bytes,11,opt,name=config" json:"config,omitempty"`
	// contains filtered or unexported fields
}

NodeStatus is information about the current status of a node.

func (*NodeStatus) Descriptor deprecated

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

Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.

func (*NodeStatus) GetAddresses

func (x *NodeStatus) GetAddresses() []*NodeAddress

func (*NodeStatus) GetAllocatable

func (x *NodeStatus) GetAllocatable() map[string]*resource.Quantity

func (*NodeStatus) GetCapacity

func (x *NodeStatus) GetCapacity() map[string]*resource.Quantity

func (*NodeStatus) GetConditions

func (x *NodeStatus) GetConditions() []*NodeCondition

func (*NodeStatus) GetConfig

func (x *NodeStatus) GetConfig() *NodeConfigStatus

func (*NodeStatus) GetDaemonEndpoints

func (x *NodeStatus) GetDaemonEndpoints() *NodeDaemonEndpoints

func (*NodeStatus) GetImages

func (x *NodeStatus) GetImages() []*ContainerImage

func (*NodeStatus) GetNodeInfo

func (x *NodeStatus) GetNodeInfo() *NodeSystemInfo

func (*NodeStatus) GetPhase

func (x *NodeStatus) GetPhase() string

func (*NodeStatus) GetVolumesAttached

func (x *NodeStatus) GetVolumesAttached() []*AttachedVolume

func (*NodeStatus) GetVolumesInUse

func (x *NodeStatus) GetVolumesInUse() []string

func (*NodeStatus) ProtoMessage

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) ProtoReflect

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

func (*NodeStatus) Reset

func (x *NodeStatus) Reset()

func (*NodeStatus) String

func (x *NodeStatus) String() string

type NodeSystemInfo

type NodeSystemInfo struct {

	// MachineID reported by the node. For unique machine identification
	// in the cluster this field is preferred. Learn more from man(5)
	// machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
	MachineID *string `protobuf:"bytes,1,opt,name=machineID" json:"machineID,omitempty"`
	// SystemUUID reported by the node. For unique machine identification
	// MachineID is preferred. This field is specific to Red Hat hosts
	// https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
	SystemUUID *string `protobuf:"bytes,2,opt,name=systemUUID" json:"systemUUID,omitempty"`
	// Boot ID reported by the node.
	BootID *string `protobuf:"bytes,3,opt,name=bootID" json:"bootID,omitempty"`
	// Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
	KernelVersion *string `protobuf:"bytes,4,opt,name=kernelVersion" json:"kernelVersion,omitempty"`
	// OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
	OsImage *string `protobuf:"bytes,5,opt,name=osImage" json:"osImage,omitempty"`
	// ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).
	ContainerRuntimeVersion *string `protobuf:"bytes,6,opt,name=containerRuntimeVersion" json:"containerRuntimeVersion,omitempty"`
	// Kubelet Version reported by the node.
	KubeletVersion *string `protobuf:"bytes,7,opt,name=kubeletVersion" json:"kubeletVersion,omitempty"`
	// KubeProxy Version reported by the node.
	KubeProxyVersion *string `protobuf:"bytes,8,opt,name=kubeProxyVersion" json:"kubeProxyVersion,omitempty"`
	// The Operating System reported by the node
	OperatingSystem *string `protobuf:"bytes,9,opt,name=operatingSystem" json:"operatingSystem,omitempty"`
	// The Architecture reported by the node
	Architecture *string `protobuf:"bytes,10,opt,name=architecture" json:"architecture,omitempty"`
	// contains filtered or unexported fields
}

NodeSystemInfo is a set of ids/uuids to uniquely identify the node.

func (*NodeSystemInfo) Descriptor deprecated

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

Deprecated: Use NodeSystemInfo.ProtoReflect.Descriptor instead.

func (*NodeSystemInfo) GetArchitecture

func (x *NodeSystemInfo) GetArchitecture() string

func (*NodeSystemInfo) GetBootID

func (x *NodeSystemInfo) GetBootID() string

func (*NodeSystemInfo) GetContainerRuntimeVersion

func (x *NodeSystemInfo) GetContainerRuntimeVersion() string

func (*NodeSystemInfo) GetKernelVersion

func (x *NodeSystemInfo) GetKernelVersion() string

func (*NodeSystemInfo) GetKubeProxyVersion

func (x *NodeSystemInfo) GetKubeProxyVersion() string

func (*NodeSystemInfo) GetKubeletVersion

func (x *NodeSystemInfo) GetKubeletVersion() string

func (*NodeSystemInfo) GetMachineID

func (x *NodeSystemInfo) GetMachineID() string

func (*NodeSystemInfo) GetOperatingSystem

func (x *NodeSystemInfo) GetOperatingSystem() string

func (*NodeSystemInfo) GetOsImage

func (x *NodeSystemInfo) GetOsImage() string

func (*NodeSystemInfo) GetSystemUUID

func (x *NodeSystemInfo) GetSystemUUID() string

func (*NodeSystemInfo) ProtoMessage

func (*NodeSystemInfo) ProtoMessage()

func (*NodeSystemInfo) ProtoReflect

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

func (*NodeSystemInfo) Reset

func (x *NodeSystemInfo) Reset()

func (*NodeSystemInfo) String

func (x *NodeSystemInfo) String() string

type ObjectFieldSelector

type ObjectFieldSelector struct {

	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	// +optional
	ApiVersion *string `protobuf:"bytes,1,opt,name=apiVersion" json:"apiVersion,omitempty"`
	// Path of the field to select in the specified API version.
	FieldPath *string `protobuf:"bytes,2,opt,name=fieldPath" json:"fieldPath,omitempty"`
	// contains filtered or unexported fields
}

ObjectFieldSelector selects an APIVersioned field of an object. +structType=atomic

func (*ObjectFieldSelector) Descriptor deprecated

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

Deprecated: Use ObjectFieldSelector.ProtoReflect.Descriptor instead.

func (*ObjectFieldSelector) GetApiVersion

func (x *ObjectFieldSelector) GetApiVersion() string

func (*ObjectFieldSelector) GetFieldPath

func (x *ObjectFieldSelector) GetFieldPath() string

func (*ObjectFieldSelector) ProtoMessage

func (*ObjectFieldSelector) ProtoMessage()

func (*ObjectFieldSelector) ProtoReflect

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

func (*ObjectFieldSelector) Reset

func (x *ObjectFieldSelector) Reset()

func (*ObjectFieldSelector) String

func (x *ObjectFieldSelector) String() string

type ObjectReference

type ObjectReference struct {

	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
	// +optional
	Uid *string `protobuf:"bytes,4,opt,name=uid" json:"uid,omitempty"`
	// API version of the referent.
	// +optional
	ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion" json:"apiVersion,omitempty"`
	// Specific resourceVersion to which this reference is made, if any.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion *string `protobuf:"bytes,6,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
	// For example, if the object reference is to a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that triggered
	// the event) or if no container name is specified "spec.containers[2]" (container with
	// index 2 in this pod). This syntax is chosen only to have some well-defined way of
	// referencing a part of an object.
	// TODO: this design is not final and this field is subject to change in the future.
	// +optional
	FieldPath *string `protobuf:"bytes,7,opt,name=fieldPath" json:"fieldPath,omitempty"`
	// contains filtered or unexported fields
}

ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.

  1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.
  2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded.
  3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.
  4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant.
  5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.

Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +structType=atomic

func (*ObjectReference) Descriptor deprecated

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

Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.

func (*ObjectReference) GetApiVersion

func (x *ObjectReference) GetApiVersion() string

func (*ObjectReference) GetFieldPath

func (x *ObjectReference) GetFieldPath() string

func (*ObjectReference) GetKind

func (x *ObjectReference) GetKind() string

func (*ObjectReference) GetName

func (x *ObjectReference) GetName() string

func (*ObjectReference) GetNamespace

func (x *ObjectReference) GetNamespace() string

func (*ObjectReference) GetResourceVersion

func (x *ObjectReference) GetResourceVersion() string

func (*ObjectReference) GetUid

func (x *ObjectReference) GetUid() string

func (*ObjectReference) ProtoMessage

func (*ObjectReference) ProtoMessage()

func (*ObjectReference) ProtoReflect

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

func (*ObjectReference) Reset

func (x *ObjectReference) Reset()

func (*ObjectReference) String

func (x *ObjectReference) String() string

type PersistentVolume

type PersistentVolume struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// spec defines a specification of a persistent volume owned by the cluster.
	// Provisioned by an administrator.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
	// +optional
	Spec *PersistentVolumeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// status represents the current information/status for the persistent volume.
	// Populated by the system.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
	// +optional
	Status *PersistentVolumeStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

func (*PersistentVolume) Descriptor deprecated

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

Deprecated: Use PersistentVolume.ProtoReflect.Descriptor instead.

func (*PersistentVolume) GetMetadata

func (x *PersistentVolume) GetMetadata() *v1.ObjectMeta

func (*PersistentVolume) GetSpec

func (x *PersistentVolume) GetSpec() *PersistentVolumeSpec

func (*PersistentVolume) GetStatus

func (x *PersistentVolume) GetStatus() *PersistentVolumeStatus

func (*PersistentVolume) ProtoMessage

func (*PersistentVolume) ProtoMessage()

func (*PersistentVolume) ProtoReflect

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

func (*PersistentVolume) Reset

func (x *PersistentVolume) Reset()

func (*PersistentVolume) String

func (x *PersistentVolume) String() string

type PersistentVolumeClaim

type PersistentVolumeClaim struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// spec defines the desired characteristics of a volume requested by a pod author.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	// +optional
	Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// status represents the current information/status of a persistent volume claim.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	// +optional
	Status *PersistentVolumeClaimStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeClaim is a user's request for and claim to a persistent volume

func (*PersistentVolumeClaim) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaim.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaim) GetMetadata

func (x *PersistentVolumeClaim) GetMetadata() *v1.ObjectMeta

func (*PersistentVolumeClaim) GetSpec

func (*PersistentVolumeClaim) GetStatus

func (*PersistentVolumeClaim) ProtoMessage

func (*PersistentVolumeClaim) ProtoMessage()

func (*PersistentVolumeClaim) ProtoReflect

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

func (*PersistentVolumeClaim) Reset

func (x *PersistentVolumeClaim) Reset()

func (*PersistentVolumeClaim) String

func (x *PersistentVolumeClaim) String() string

type PersistentVolumeClaimCondition

type PersistentVolumeClaimCondition struct {
	Type   *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// lastProbeTime is the time we probed the condition.
	// +optional
	LastProbeTime *v1.Time `protobuf:"bytes,3,opt,name=lastProbeTime" json:"lastProbeTime,omitempty"`
	// lastTransitionTime is the time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// reason is a unique, this should be a short, machine understandable string that gives the reason
	// for condition's last transition. If it reports "ResizeStarted" that means the underlying
	// persistent volume is being resized.
	// +optional
	Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
	// message is the human-readable message indicating details about last transition.
	// +optional
	Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeClaimCondition contains details about state of pvc

func (*PersistentVolumeClaimCondition) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaimCondition.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaimCondition) GetLastProbeTime

func (x *PersistentVolumeClaimCondition) GetLastProbeTime() *v1.Time

func (*PersistentVolumeClaimCondition) GetLastTransitionTime

func (x *PersistentVolumeClaimCondition) GetLastTransitionTime() *v1.Time

func (*PersistentVolumeClaimCondition) GetMessage

func (x *PersistentVolumeClaimCondition) GetMessage() string

func (*PersistentVolumeClaimCondition) GetReason

func (x *PersistentVolumeClaimCondition) GetReason() string

func (*PersistentVolumeClaimCondition) GetStatus

func (x *PersistentVolumeClaimCondition) GetStatus() string

func (*PersistentVolumeClaimCondition) GetType

func (*PersistentVolumeClaimCondition) ProtoMessage

func (*PersistentVolumeClaimCondition) ProtoMessage()

func (*PersistentVolumeClaimCondition) ProtoReflect

func (*PersistentVolumeClaimCondition) Reset

func (x *PersistentVolumeClaimCondition) Reset()

func (*PersistentVolumeClaimCondition) String

type PersistentVolumeClaimList

type PersistentVolumeClaimList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// items is a list of persistent volume claims.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	Items []*PersistentVolumeClaim `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

func (*PersistentVolumeClaimList) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaimList.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaimList) GetItems

func (*PersistentVolumeClaimList) GetMetadata

func (x *PersistentVolumeClaimList) GetMetadata() *v1.ListMeta

func (*PersistentVolumeClaimList) ProtoMessage

func (*PersistentVolumeClaimList) ProtoMessage()

func (*PersistentVolumeClaimList) ProtoReflect

func (*PersistentVolumeClaimList) Reset

func (x *PersistentVolumeClaimList) Reset()

func (*PersistentVolumeClaimList) String

func (x *PersistentVolumeClaimList) String() string

type PersistentVolumeClaimSpec

type PersistentVolumeClaimSpec struct {

	// accessModes contains the desired access modes the volume should have.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
	// +optional
	AccessModes []string `protobuf:"bytes,1,rep,name=accessModes" json:"accessModes,omitempty"`
	// selector is a label query over volumes to consider for binding.
	// +optional
	Selector *v1.LabelSelector `protobuf:"bytes,4,opt,name=selector" json:"selector,omitempty"`
	// resources represents the minimum resources the volume should have.
	// If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements
	// that are lower than previous value but must still be higher than capacity recorded in the
	// status field of the claim.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	// +optional
	Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty"`
	// volumeName is the binding reference to the PersistentVolume backing this claim.
	// +optional
	VolumeName *string `protobuf:"bytes,3,opt,name=volumeName" json:"volumeName,omitempty"`
	// storageClassName is the name of the StorageClass required by the claim.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
	// +optional
	StorageClassName *string `protobuf:"bytes,5,opt,name=storageClassName" json:"storageClassName,omitempty"`
	// volumeMode defines what type of volume is required by the claim.
	// Value of Filesystem is implied when not included in claim spec.
	// +optional
	VolumeMode *string `protobuf:"bytes,6,opt,name=volumeMode" json:"volumeMode,omitempty"`
	// dataSource field can be used to specify either:
	// * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
	// * An existing PVC (PersistentVolumeClaim)
	// If the provisioner or an external controller can support the specified data source,
	// it will create a new volume based on the contents of the specified data source.
	// When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
	// and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
	// If the namespace is specified, then dataSourceRef will not be copied to dataSource.
	// +optional
	DataSource *TypedLocalObjectReference `protobuf:"bytes,7,opt,name=dataSource" json:"dataSource,omitempty"`
	// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
	// volume is desired. This may be any object from a non-empty API group (non
	// core object) or a PersistentVolumeClaim object.
	// When this field is specified, volume binding will only succeed if the type of
	// the specified object matches some installed volume populator or dynamic
	// provisioner.
	// This field will replace the functionality of the dataSource field and as such
	// if both fields are non-empty, they must have the same value. For backwards
	// compatibility, when namespace isn't specified in dataSourceRef,
	// both fields (dataSource and dataSourceRef) will be set to the same
	// value automatically if one of them is empty and the other is non-empty.
	// When namespace is specified in dataSourceRef,
	// dataSource isn't set to the same value and must be empty.
	// There are three important differences between dataSource and dataSourceRef:
	//   - While dataSource only allows two specific types of objects, dataSourceRef
	//     allows any non-core object, as well as PersistentVolumeClaim objects.
	//   - While dataSource ignores disallowed values (dropping them), dataSourceRef
	//     preserves all values, and generates an error if a disallowed value is
	//     specified.
	//   - While dataSource only allows local objects, dataSourceRef allows objects
	//     in any namespaces.
	//
	// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
	// (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
	// +optional
	DataSourceRef *TypedObjectReference `protobuf:"bytes,8,opt,name=dataSourceRef" json:"dataSourceRef,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

func (*PersistentVolumeClaimSpec) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaimSpec.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaimSpec) GetAccessModes

func (x *PersistentVolumeClaimSpec) GetAccessModes() []string

func (*PersistentVolumeClaimSpec) GetDataSource

func (*PersistentVolumeClaimSpec) GetDataSourceRef

func (x *PersistentVolumeClaimSpec) GetDataSourceRef() *TypedObjectReference

func (*PersistentVolumeClaimSpec) GetResources

func (*PersistentVolumeClaimSpec) GetSelector

func (x *PersistentVolumeClaimSpec) GetSelector() *v1.LabelSelector

func (*PersistentVolumeClaimSpec) GetStorageClassName

func (x *PersistentVolumeClaimSpec) GetStorageClassName() string

func (*PersistentVolumeClaimSpec) GetVolumeMode

func (x *PersistentVolumeClaimSpec) GetVolumeMode() string

func (*PersistentVolumeClaimSpec) GetVolumeName

func (x *PersistentVolumeClaimSpec) GetVolumeName() string

func (*PersistentVolumeClaimSpec) ProtoMessage

func (*PersistentVolumeClaimSpec) ProtoMessage()

func (*PersistentVolumeClaimSpec) ProtoReflect

func (*PersistentVolumeClaimSpec) Reset

func (x *PersistentVolumeClaimSpec) Reset()

func (*PersistentVolumeClaimSpec) String

func (x *PersistentVolumeClaimSpec) String() string

type PersistentVolumeClaimStatus

type PersistentVolumeClaimStatus struct {

	// phase represents the current phase of PersistentVolumeClaim.
	// +optional
	Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
	// accessModes contains the actual access modes the volume backing the PVC has.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
	// +optional
	AccessModes []string `protobuf:"bytes,2,rep,name=accessModes" json:"accessModes,omitempty"`
	// capacity represents the actual resources of the underlying volume.
	// +optional
	Capacity map[string]*resource.Quantity `` /* 136-byte string literal not displayed */
	// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
	// resized then the Condition will be set to 'ResizeStarted'.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*PersistentVolumeClaimCondition `protobuf:"bytes,4,rep,name=conditions" json:"conditions,omitempty"`
	// allocatedResources tracks the resources allocated to a PVC including its capacity.
	// Key names follow standard Kubernetes label syntax. Valid values are either:
	//   - Un-prefixed keys:
	//   - storage - the capacity of the volume.
	//   - Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
	//
	// Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
	// reserved and hence may not be used.
	//
	// Capacity reported here may be larger than the actual capacity when a volume expansion operation
	// is requested.
	// For storage quota, the larger value from allocatedResources and PVC.spec.resources is used.
	// If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.
	// If a volume expansion capacity request is lowered, allocatedResources is only
	// lowered if there are no expansion operations in progress and if the actual volume capacity
	// is equal or lower than the requested capacity.
	//
	// A controller that receives PVC update with previously unknown resourceName
	// should ignore the update for the purpose it was designed. For example - a controller that
	// only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
	// resources associated with PVC.
	//
	// This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
	// +featureGate=RecoverVolumeExpansionFailure
	// +optional
	AllocatedResources map[string]*resource.Quantity `` /* 156-byte string literal not displayed */
	// allocatedResourceStatuses stores status of resource being resized for the given PVC.
	// Key names follow standard Kubernetes label syntax. Valid values are either:
	//   - Un-prefixed keys:
	//   - storage - the capacity of the volume.
	//   - Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource"
	//
	// Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered
	// reserved and hence may not be used.
	//
	// ClaimResourceStatus can be in any of following states:
	//   - ControllerResizeInProgress:
	//     State set when resize controller starts resizing the volume in control-plane.
	//   - ControllerResizeFailed:
	//     State set when resize has failed in resize controller with a terminal error.
	//   - NodeResizePending:
	//     State set when resize controller has finished resizing the volume but further resizing of
	//     volume is needed on the node.
	//   - NodeResizeInProgress:
	//     State set when kubelet starts resizing the volume.
	//   - NodeResizeFailed:
	//     State set when resizing has failed in kubelet with a terminal error. Transient errors don't set
	//     NodeResizeFailed.
	//
	// For example: if expanding a PVC for more capacity - this field can be one of the following states:
	//   - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress"
	//   - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed"
	//   - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending"
	//   - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress"
	//   - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed"
	//
	// When this field is not set, it means that no resize operation is in progress for the given PVC.
	//
	// A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus
	// should ignore the update for the purpose it was designed. For example - a controller that
	// only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid
	// resources associated with PVC.
	//
	// This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
	// +featureGate=RecoverVolumeExpansionFailure
	// +mapType=granular
	// +optional
	AllocatedResourceStatuses map[string]string `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

func (*PersistentVolumeClaimStatus) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaimStatus.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaimStatus) GetAccessModes

func (x *PersistentVolumeClaimStatus) GetAccessModes() []string

func (*PersistentVolumeClaimStatus) GetAllocatedResourceStatuses

func (x *PersistentVolumeClaimStatus) GetAllocatedResourceStatuses() map[string]string

func (*PersistentVolumeClaimStatus) GetAllocatedResources

func (x *PersistentVolumeClaimStatus) GetAllocatedResources() map[string]*resource.Quantity

func (*PersistentVolumeClaimStatus) GetCapacity

func (x *PersistentVolumeClaimStatus) GetCapacity() map[string]*resource.Quantity

func (*PersistentVolumeClaimStatus) GetConditions

func (*PersistentVolumeClaimStatus) GetPhase

func (x *PersistentVolumeClaimStatus) GetPhase() string

func (*PersistentVolumeClaimStatus) ProtoMessage

func (*PersistentVolumeClaimStatus) ProtoMessage()

func (*PersistentVolumeClaimStatus) ProtoReflect

func (*PersistentVolumeClaimStatus) Reset

func (x *PersistentVolumeClaimStatus) Reset()

func (*PersistentVolumeClaimStatus) String

func (x *PersistentVolumeClaimStatus) String() string

type PersistentVolumeClaimTemplate

type PersistentVolumeClaimTemplate struct {

	// May contain labels and annotations that will be copied into the PVC
	// when creating it. No other fields are allowed and will be rejected during
	// validation.
	//
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// The specification for the PersistentVolumeClaim. The entire content is
	// copied unchanged into the PVC that gets created from this
	// template. The same fields as in a PersistentVolumeClaim
	// are also valid here.
	Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

func (*PersistentVolumeClaimTemplate) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaimTemplate.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaimTemplate) GetMetadata

func (x *PersistentVolumeClaimTemplate) GetMetadata() *v1.ObjectMeta

func (*PersistentVolumeClaimTemplate) GetSpec

func (*PersistentVolumeClaimTemplate) ProtoMessage

func (*PersistentVolumeClaimTemplate) ProtoMessage()

func (*PersistentVolumeClaimTemplate) ProtoReflect

func (*PersistentVolumeClaimTemplate) Reset

func (x *PersistentVolumeClaimTemplate) Reset()

func (*PersistentVolumeClaimTemplate) String

type PersistentVolumeClaimVolumeSource

type PersistentVolumeClaimVolumeSource struct {

	// claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	ClaimName *string `protobuf:"bytes,1,opt,name=claimName" json:"claimName,omitempty"`
	// readOnly Will force the ReadOnly setting in VolumeMounts.
	// Default false.
	// +optional
	ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

func (*PersistentVolumeClaimVolumeSource) Descriptor deprecated

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

Deprecated: Use PersistentVolumeClaimVolumeSource.ProtoReflect.Descriptor instead.

func (*PersistentVolumeClaimVolumeSource) GetClaimName

func (x *PersistentVolumeClaimVolumeSource) GetClaimName() string

func (*PersistentVolumeClaimVolumeSource) GetReadOnly

func (x *PersistentVolumeClaimVolumeSource) GetReadOnly() bool

func (*PersistentVolumeClaimVolumeSource) ProtoMessage

func (*PersistentVolumeClaimVolumeSource) ProtoMessage()

func (*PersistentVolumeClaimVolumeSource) ProtoReflect

func (*PersistentVolumeClaimVolumeSource) Reset

func (*PersistentVolumeClaimVolumeSource) String

type PersistentVolumeList

type PersistentVolumeList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// items is a list of persistent volumes.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
	Items []*PersistentVolume `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeList is a list of PersistentVolume items.

func (*PersistentVolumeList) Descriptor deprecated

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

Deprecated: Use PersistentVolumeList.ProtoReflect.Descriptor instead.

func (*PersistentVolumeList) GetItems

func (x *PersistentVolumeList) GetItems() []*PersistentVolume

func (*PersistentVolumeList) GetMetadata

func (x *PersistentVolumeList) GetMetadata() *v1.ListMeta

func (*PersistentVolumeList) ProtoMessage

func (*PersistentVolumeList) ProtoMessage()

func (*PersistentVolumeList) ProtoReflect

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

func (*PersistentVolumeList) Reset

func (x *PersistentVolumeList) Reset()

func (*PersistentVolumeList) String

func (x *PersistentVolumeList) String() string

type PersistentVolumeSource

type PersistentVolumeSource struct {

	// gcePersistentDisk represents a GCE Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod. Provisioned by an admin.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	// +optional
	GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,1,opt,name=gcePersistentDisk" json:"gcePersistentDisk,omitempty"`
	// awsElasticBlockStore represents an AWS Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	// +optional
	AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,2,opt,name=awsElasticBlockStore" json:"awsElasticBlockStore,omitempty"`
	// hostPath represents a directory on the host.
	// Provisioned by a developer or tester.
	// This is useful for single-node development and testing only!
	// On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	// +optional
	HostPath *HostPathVolumeSource `protobuf:"bytes,3,opt,name=hostPath" json:"hostPath,omitempty"`
	// glusterfs represents a Glusterfs volume that is attached to a host and
	// exposed to the pod. Provisioned by an admin.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md
	// +optional
	Glusterfs *GlusterfsPersistentVolumeSource `protobuf:"bytes,4,opt,name=glusterfs" json:"glusterfs,omitempty"`
	// nfs represents an NFS mount on the host. Provisioned by an admin.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	// +optional
	Nfs *NFSVolumeSource `protobuf:"bytes,5,opt,name=nfs" json:"nfs,omitempty"`
	// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
	// More info: https://examples.k8s.io/volumes/rbd/README.md
	// +optional
	Rbd *RBDPersistentVolumeSource `protobuf:"bytes,6,opt,name=rbd" json:"rbd,omitempty"`
	// iscsi represents an ISCSI Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod. Provisioned by an admin.
	// +optional
	Iscsi *ISCSIPersistentVolumeSource `protobuf:"bytes,7,opt,name=iscsi" json:"iscsi,omitempty"`
	// cinder represents a cinder volume attached and mounted on kubelets host machine.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// +optional
	Cinder *CinderPersistentVolumeSource `protobuf:"bytes,8,opt,name=cinder" json:"cinder,omitempty"`
	// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
	// +optional
	Cephfs *CephFSPersistentVolumeSource `protobuf:"bytes,9,opt,name=cephfs" json:"cephfs,omitempty"`
	// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
	// +optional
	Fc *FCVolumeSource `protobuf:"bytes,10,opt,name=fc" json:"fc,omitempty"`
	// flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running
	// +optional
	Flocker *FlockerVolumeSource `protobuf:"bytes,11,opt,name=flocker" json:"flocker,omitempty"`
	// flexVolume represents a generic volume resource that is
	// provisioned/attached using an exec based plugin.
	// +optional
	FlexVolume *FlexPersistentVolumeSource `protobuf:"bytes,12,opt,name=flexVolume" json:"flexVolume,omitempty"`
	// azureFile represents an Azure File Service mount on the host and bind mount to the pod.
	// +optional
	AzureFile *AzureFilePersistentVolumeSource `protobuf:"bytes,13,opt,name=azureFile" json:"azureFile,omitempty"`
	// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
	// +optional
	VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,14,opt,name=vsphereVolume" json:"vsphereVolume,omitempty"`
	// quobyte represents a Quobyte mount on the host that shares a pod's lifetime
	// +optional
	Quobyte *QuobyteVolumeSource `protobuf:"bytes,15,opt,name=quobyte" json:"quobyte,omitempty"`
	// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
	// +optional
	AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,16,opt,name=azureDisk" json:"azureDisk,omitempty"`
	// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
	PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,17,opt,name=photonPersistentDisk" json:"photonPersistentDisk,omitempty"`
	// portworxVolume represents a portworx volume attached and mounted on kubelets host machine
	// +optional
	PortworxVolume *PortworxVolumeSource `protobuf:"bytes,18,opt,name=portworxVolume" json:"portworxVolume,omitempty"`
	// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
	// +optional
	ScaleIO *ScaleIOPersistentVolumeSource `protobuf:"bytes,19,opt,name=scaleIO" json:"scaleIO,omitempty"`
	// local represents directly-attached storage with node affinity
	// +optional
	Local *LocalVolumeSource `protobuf:"bytes,20,opt,name=local" json:"local,omitempty"`
	// storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
	// More info: https://examples.k8s.io/volumes/storageos/README.md
	// +optional
	Storageos *StorageOSPersistentVolumeSource `protobuf:"bytes,21,opt,name=storageos" json:"storageos,omitempty"`
	// csi represents storage that is handled by an external CSI driver (Beta feature).
	// +optional
	Csi *CSIPersistentVolumeSource `protobuf:"bytes,22,opt,name=csi" json:"csi,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.

func (*PersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use PersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*PersistentVolumeSource) GetAwsElasticBlockStore

func (x *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource

func (*PersistentVolumeSource) GetAzureDisk

func (x *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource

func (*PersistentVolumeSource) GetAzureFile

func (*PersistentVolumeSource) GetCephfs

func (*PersistentVolumeSource) GetCinder

func (*PersistentVolumeSource) GetCsi

func (*PersistentVolumeSource) GetFc

func (*PersistentVolumeSource) GetFlexVolume

func (*PersistentVolumeSource) GetFlocker

func (*PersistentVolumeSource) GetGcePersistentDisk

func (x *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource

func (*PersistentVolumeSource) GetGlusterfs

func (*PersistentVolumeSource) GetHostPath

func (x *PersistentVolumeSource) GetHostPath() *HostPathVolumeSource

func (*PersistentVolumeSource) GetIscsi

func (*PersistentVolumeSource) GetLocal

func (*PersistentVolumeSource) GetNfs

func (*PersistentVolumeSource) GetPhotonPersistentDisk

func (x *PersistentVolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource

func (*PersistentVolumeSource) GetPortworxVolume

func (x *PersistentVolumeSource) GetPortworxVolume() *PortworxVolumeSource

func (*PersistentVolumeSource) GetQuobyte

func (*PersistentVolumeSource) GetRbd

func (*PersistentVolumeSource) GetScaleIO

func (*PersistentVolumeSource) GetStorageos

func (*PersistentVolumeSource) GetVsphereVolume

func (*PersistentVolumeSource) ProtoMessage

func (*PersistentVolumeSource) ProtoMessage()

func (*PersistentVolumeSource) ProtoReflect

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

func (*PersistentVolumeSource) Reset

func (x *PersistentVolumeSource) Reset()

func (*PersistentVolumeSource) String

func (x *PersistentVolumeSource) String() string

type PersistentVolumeSpec

type PersistentVolumeSpec struct {

	// capacity is the description of the persistent volume's resources and capacity.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
	// +optional
	Capacity map[string]*resource.Quantity `` /* 136-byte string literal not displayed */
	// persistentVolumeSource is the actual volume backing the persistent volume.
	PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,2,opt,name=persistentVolumeSource" json:"persistentVolumeSource,omitempty"`
	// accessModes contains all ways the volume can be mounted.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
	// +optional
	AccessModes []string `protobuf:"bytes,3,rep,name=accessModes" json:"accessModes,omitempty"`
	// claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
	// Expected to be non-nil when bound.
	// claim.VolumeName is the authoritative bind between PV and PVC.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
	// +optional
	// +structType=granular
	ClaimRef *ObjectReference `protobuf:"bytes,4,opt,name=claimRef" json:"claimRef,omitempty"`
	// persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.
	// Valid options are Retain (default for manually created PersistentVolumes), Delete (default
	// for dynamically provisioned PersistentVolumes), and Recycle (deprecated).
	// Recycle must be supported by the volume plugin underlying this PersistentVolume.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
	// +optional
	PersistentVolumeReclaimPolicy *string `protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy" json:"persistentVolumeReclaimPolicy,omitempty"`
	// storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value
	// means that this volume does not belong to any StorageClass.
	// +optional
	StorageClassName *string `protobuf:"bytes,6,opt,name=storageClassName" json:"storageClassName,omitempty"`
	// mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will
	// simply fail if one is invalid.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
	// +optional
	MountOptions []string `protobuf:"bytes,7,rep,name=mountOptions" json:"mountOptions,omitempty"`
	// volumeMode defines if a volume is intended to be used with a formatted filesystem
	// or to remain in raw block state. Value of Filesystem is implied when not included in spec.
	// +optional
	VolumeMode *string `protobuf:"bytes,8,opt,name=volumeMode" json:"volumeMode,omitempty"`
	// nodeAffinity defines constraints that limit what nodes this volume can be accessed from.
	// This field influences the scheduling of pods that use this volume.
	// +optional
	NodeAffinity *VolumeNodeAffinity `protobuf:"bytes,9,opt,name=nodeAffinity" json:"nodeAffinity,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeSpec is the specification of a persistent volume.

func (*PersistentVolumeSpec) Descriptor deprecated

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

Deprecated: Use PersistentVolumeSpec.ProtoReflect.Descriptor instead.

func (*PersistentVolumeSpec) GetAccessModes

func (x *PersistentVolumeSpec) GetAccessModes() []string

func (*PersistentVolumeSpec) GetCapacity

func (x *PersistentVolumeSpec) GetCapacity() map[string]*resource.Quantity

func (*PersistentVolumeSpec) GetClaimRef

func (x *PersistentVolumeSpec) GetClaimRef() *ObjectReference

func (*PersistentVolumeSpec) GetMountOptions

func (x *PersistentVolumeSpec) GetMountOptions() []string

func (*PersistentVolumeSpec) GetNodeAffinity

func (x *PersistentVolumeSpec) GetNodeAffinity() *VolumeNodeAffinity

func (*PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy

func (x *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string

func (*PersistentVolumeSpec) GetPersistentVolumeSource

func (x *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource

func (*PersistentVolumeSpec) GetStorageClassName

func (x *PersistentVolumeSpec) GetStorageClassName() string

func (*PersistentVolumeSpec) GetVolumeMode

func (x *PersistentVolumeSpec) GetVolumeMode() string

func (*PersistentVolumeSpec) ProtoMessage

func (*PersistentVolumeSpec) ProtoMessage()

func (*PersistentVolumeSpec) ProtoReflect

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

func (*PersistentVolumeSpec) Reset

func (x *PersistentVolumeSpec) Reset()

func (*PersistentVolumeSpec) String

func (x *PersistentVolumeSpec) String() string

type PersistentVolumeStatus

type PersistentVolumeStatus struct {

	// phase indicates if a volume is available, bound to a claim, or released by a claim.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
	// +optional
	Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
	// message is a human-readable message indicating details about why the volume is in this state.
	// +optional
	Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	// reason is a brief CamelCase string that describes any failure and is meant
	// for machine parsing and tidy display in the CLI.
	// +optional
	Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
	// lastPhaseTransitionTime is the time the phase transitioned from one to another
	// and automatically resets to current time everytime a volume phase transitions.
	// This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.
	// +featureGate=PersistentVolumeLastPhaseTransitionTime
	// +optional
	LastPhaseTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastPhaseTransitionTime" json:"lastPhaseTransitionTime,omitempty"`
	// contains filtered or unexported fields
}

PersistentVolumeStatus is the current status of a persistent volume.

func (*PersistentVolumeStatus) Descriptor deprecated

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

Deprecated: Use PersistentVolumeStatus.ProtoReflect.Descriptor instead.

func (*PersistentVolumeStatus) GetLastPhaseTransitionTime

func (x *PersistentVolumeStatus) GetLastPhaseTransitionTime() *v1.Time

func (*PersistentVolumeStatus) GetMessage

func (x *PersistentVolumeStatus) GetMessage() string

func (*PersistentVolumeStatus) GetPhase

func (x *PersistentVolumeStatus) GetPhase() string

func (*PersistentVolumeStatus) GetReason

func (x *PersistentVolumeStatus) GetReason() string

func (*PersistentVolumeStatus) ProtoMessage

func (*PersistentVolumeStatus) ProtoMessage()

func (*PersistentVolumeStatus) ProtoReflect

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

func (*PersistentVolumeStatus) Reset

func (x *PersistentVolumeStatus) Reset()

func (*PersistentVolumeStatus) String

func (x *PersistentVolumeStatus) String() string

type PhotonPersistentDiskVolumeSource

type PhotonPersistentDiskVolumeSource struct {

	// pdID is the ID that identifies Photon Controller persistent disk
	PdID *string `protobuf:"bytes,1,opt,name=pdID" json:"pdID,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// contains filtered or unexported fields
}

Represents a Photon Controller persistent disk resource.

func (*PhotonPersistentDiskVolumeSource) Descriptor deprecated

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

Deprecated: Use PhotonPersistentDiskVolumeSource.ProtoReflect.Descriptor instead.

func (*PhotonPersistentDiskVolumeSource) GetFsType

func (*PhotonPersistentDiskVolumeSource) GetPdID

func (*PhotonPersistentDiskVolumeSource) ProtoMessage

func (*PhotonPersistentDiskVolumeSource) ProtoMessage()

func (*PhotonPersistentDiskVolumeSource) ProtoReflect

func (*PhotonPersistentDiskVolumeSource) Reset

func (*PhotonPersistentDiskVolumeSource) String

type Pod

type Pod struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Specification of the desired behavior of the pod.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *PodSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Most recently observed status of the pod.
	// This data may not be up to date.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *PodStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

func (*Pod) Descriptor deprecated

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

Deprecated: Use Pod.ProtoReflect.Descriptor instead.

func (*Pod) GetMetadata

func (x *Pod) GetMetadata() *v1.ObjectMeta

func (*Pod) GetSpec

func (x *Pod) GetSpec() *PodSpec

func (*Pod) GetStatus

func (x *Pod) GetStatus() *PodStatus

func (*Pod) ProtoMessage

func (*Pod) ProtoMessage()

func (*Pod) ProtoReflect

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

func (*Pod) Reset

func (x *Pod) Reset()

func (*Pod) String

func (x *Pod) String() string

type PodAffinity

type PodAffinity struct {

	// If the affinity requirements specified by this field are not met at
	// scheduling time, the pod will not be scheduled onto the node.
	// If the affinity requirements specified by this field cease to be met
	// at some point during pod execution (e.g. due to a pod label update), the
	// system may or may not try to eventually evict the pod from its node.
	// When there are multiple elements, the lists of nodes corresponding to each
	// podAffinityTerm are intersected, i.e. all terms must be satisfied.
	// +optional
	RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `` /* 138-byte string literal not displayed */
	// The scheduler will prefer to schedule pods to nodes that satisfy
	// the affinity expressions specified by this field, but it may choose
	// a node that violates one or more of the expressions. The node that is
	// most preferred is the one with the greatest sum of weights, i.e.
	// for each node that meets all of the scheduling requirements (resource
	// request, requiredDuringScheduling affinity expressions, etc.),
	// compute a sum by iterating through the elements of this field and adding
	// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
	// node(s) with the highest sum are the most preferred.
	// +optional
	PreferredDuringSchedulingIgnoredDuringExecution []*WeightedPodAffinityTerm `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Pod affinity is a group of inter pod affinity scheduling rules.

func (*PodAffinity) Descriptor deprecated

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

Deprecated: Use PodAffinity.ProtoReflect.Descriptor instead.

func (*PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution

func (x *PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm

func (*PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution

func (x *PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm

func (*PodAffinity) ProtoMessage

func (*PodAffinity) ProtoMessage()

func (*PodAffinity) ProtoReflect

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

func (*PodAffinity) Reset

func (x *PodAffinity) Reset()

func (*PodAffinity) String

func (x *PodAffinity) String() string

type PodAffinityTerm

type PodAffinityTerm struct {

	// A label query over a set of resources, in this case pods.
	// +optional
	LabelSelector *v1.LabelSelector `protobuf:"bytes,1,opt,name=labelSelector" json:"labelSelector,omitempty"`
	// namespaces specifies a static list of namespace names that the term applies to.
	// The term is applied to the union of the namespaces listed in this field
	// and the ones selected by namespaceSelector.
	// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
	// +optional
	Namespaces []string `protobuf:"bytes,2,rep,name=namespaces" json:"namespaces,omitempty"`
	// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
	// the labelSelector in the specified namespaces, where co-located is defined as running on a node
	// whose value of the label with key topologyKey matches that of any node on which any of the
	// selected pods is running.
	// Empty topologyKey is not allowed.
	TopologyKey *string `protobuf:"bytes,3,opt,name=topologyKey" json:"topologyKey,omitempty"`
	// A label query over the set of namespaces that the term applies to.
	// The term is applied to the union of the namespaces selected by this field
	// and the ones listed in the namespaces field.
	// null selector and null or empty namespaces list means "this pod's namespace".
	// An empty selector ({}) matches all namespaces.
	// +optional
	NamespaceSelector *v1.LabelSelector `protobuf:"bytes,4,opt,name=namespaceSelector" json:"namespaceSelector,omitempty"`
	// contains filtered or unexported fields
}

Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running

func (*PodAffinityTerm) Descriptor deprecated

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

Deprecated: Use PodAffinityTerm.ProtoReflect.Descriptor instead.

func (*PodAffinityTerm) GetLabelSelector

func (x *PodAffinityTerm) GetLabelSelector() *v1.LabelSelector

func (*PodAffinityTerm) GetNamespaceSelector

func (x *PodAffinityTerm) GetNamespaceSelector() *v1.LabelSelector

func (*PodAffinityTerm) GetNamespaces

func (x *PodAffinityTerm) GetNamespaces() []string

func (*PodAffinityTerm) GetTopologyKey

func (x *PodAffinityTerm) GetTopologyKey() string

func (*PodAffinityTerm) ProtoMessage

func (*PodAffinityTerm) ProtoMessage()

func (*PodAffinityTerm) ProtoReflect

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

func (*PodAffinityTerm) Reset

func (x *PodAffinityTerm) Reset()

func (*PodAffinityTerm) String

func (x *PodAffinityTerm) String() string

type PodAntiAffinity

type PodAntiAffinity struct {

	// If the anti-affinity requirements specified by this field are not met at
	// scheduling time, the pod will not be scheduled onto the node.
	// If the anti-affinity requirements specified by this field cease to be met
	// at some point during pod execution (e.g. due to a pod label update), the
	// system may or may not try to eventually evict the pod from its node.
	// When there are multiple elements, the lists of nodes corresponding to each
	// podAffinityTerm are intersected, i.e. all terms must be satisfied.
	// +optional
	RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `` /* 138-byte string literal not displayed */
	// The scheduler will prefer to schedule pods to nodes that satisfy
	// the anti-affinity expressions specified by this field, but it may choose
	// a node that violates one or more of the expressions. The node that is
	// most preferred is the one with the greatest sum of weights, i.e.
	// for each node that meets all of the scheduling requirements (resource
	// request, requiredDuringScheduling anti-affinity expressions, etc.),
	// compute a sum by iterating through the elements of this field and adding
	// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
	// node(s) with the highest sum are the most preferred.
	// +optional
	PreferredDuringSchedulingIgnoredDuringExecution []*WeightedPodAffinityTerm `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Pod anti affinity is a group of inter pod anti affinity scheduling rules.

func (*PodAntiAffinity) Descriptor deprecated

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

Deprecated: Use PodAntiAffinity.ProtoReflect.Descriptor instead.

func (*PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution

func (x *PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm

func (*PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution

func (x *PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm

func (*PodAntiAffinity) ProtoMessage

func (*PodAntiAffinity) ProtoMessage()

func (*PodAntiAffinity) ProtoReflect

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

func (*PodAntiAffinity) Reset

func (x *PodAntiAffinity) Reset()

func (*PodAntiAffinity) String

func (x *PodAntiAffinity) String() string

type PodAttachOptions

type PodAttachOptions struct {

	// Stdin if true, redirects the standard input stream of the pod for this call.
	// Defaults to false.
	// +optional
	Stdin *bool `protobuf:"varint,1,opt,name=stdin" json:"stdin,omitempty"`
	// Stdout if true indicates that stdout is to be redirected for the attach call.
	// Defaults to true.
	// +optional
	Stdout *bool `protobuf:"varint,2,opt,name=stdout" json:"stdout,omitempty"`
	// Stderr if true indicates that stderr is to be redirected for the attach call.
	// Defaults to true.
	// +optional
	Stderr *bool `protobuf:"varint,3,opt,name=stderr" json:"stderr,omitempty"`
	// TTY if true indicates that a tty will be allocated for the attach call.
	// This is passed through the container runtime so the tty
	// is allocated on the worker node by the container runtime.
	// Defaults to false.
	// +optional
	Tty *bool `protobuf:"varint,4,opt,name=tty" json:"tty,omitempty"`
	// The container in which to execute the command.
	// Defaults to only container if there is only one container in the pod.
	// +optional
	Container *string `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"`
	// contains filtered or unexported fields
}

PodAttachOptions is the query options to a Pod's remote attach call. --- TODO: merge w/ PodExecOptions below for stdin, stdout, etc and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY

func (*PodAttachOptions) Descriptor deprecated

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

Deprecated: Use PodAttachOptions.ProtoReflect.Descriptor instead.

func (*PodAttachOptions) GetContainer

func (x *PodAttachOptions) GetContainer() string

func (*PodAttachOptions) GetStderr

func (x *PodAttachOptions) GetStderr() bool

func (*PodAttachOptions) GetStdin

func (x *PodAttachOptions) GetStdin() bool

func (*PodAttachOptions) GetStdout

func (x *PodAttachOptions) GetStdout() bool

func (*PodAttachOptions) GetTty

func (x *PodAttachOptions) GetTty() bool

func (*PodAttachOptions) ProtoMessage

func (*PodAttachOptions) ProtoMessage()

func (*PodAttachOptions) ProtoReflect

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

func (*PodAttachOptions) Reset

func (x *PodAttachOptions) Reset()

func (*PodAttachOptions) String

func (x *PodAttachOptions) String() string

type PodCondition

type 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" 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" json:"status,omitempty"`
	// Last time we probed the condition.
	// +optional
	LastProbeTime *v1.Time `protobuf:"bytes,3,opt,name=lastProbeTime" json:"lastProbeTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PodCondition contains details for the current condition of this pod.

func (*PodCondition) Descriptor deprecated

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

Deprecated: Use PodCondition.ProtoReflect.Descriptor instead.

func (*PodCondition) GetLastProbeTime

func (x *PodCondition) GetLastProbeTime() *v1.Time

func (*PodCondition) GetLastTransitionTime

func (x *PodCondition) GetLastTransitionTime() *v1.Time

func (*PodCondition) GetMessage

func (x *PodCondition) GetMessage() string

func (*PodCondition) GetReason

func (x *PodCondition) GetReason() string

func (*PodCondition) GetStatus

func (x *PodCondition) GetStatus() string

func (*PodCondition) GetType

func (x *PodCondition) GetType() string

func (*PodCondition) ProtoMessage

func (*PodCondition) ProtoMessage()

func (*PodCondition) ProtoReflect

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

func (*PodCondition) Reset

func (x *PodCondition) Reset()

func (*PodCondition) String

func (x *PodCondition) String() string

type PodDNSConfig

type PodDNSConfig struct {

	// A list of DNS name server IP addresses.
	// This will be appended to the base nameservers generated from DNSPolicy.
	// Duplicated nameservers will be removed.
	// +optional
	Nameservers []string `protobuf:"bytes,1,rep,name=nameservers" json:"nameservers,omitempty"`
	// A list of DNS search domains for host-name lookup.
	// This will be appended to the base search paths generated from DNSPolicy.
	// Duplicated search paths will be removed.
	// +optional
	Searches []string `protobuf:"bytes,2,rep,name=searches" json:"searches,omitempty"`
	// A list of DNS resolver options.
	// This will be merged with the base options generated from DNSPolicy.
	// Duplicated entries will be removed. Resolution options given in Options
	// will override those that appear in the base DNSPolicy.
	// +optional
	Options []*PodDNSConfigOption `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
	// contains filtered or unexported fields
}

PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

func (*PodDNSConfig) Descriptor deprecated

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

Deprecated: Use PodDNSConfig.ProtoReflect.Descriptor instead.

func (*PodDNSConfig) GetNameservers

func (x *PodDNSConfig) GetNameservers() []string

func (*PodDNSConfig) GetOptions

func (x *PodDNSConfig) GetOptions() []*PodDNSConfigOption

func (*PodDNSConfig) GetSearches

func (x *PodDNSConfig) GetSearches() []string

func (*PodDNSConfig) ProtoMessage

func (*PodDNSConfig) ProtoMessage()

func (*PodDNSConfig) ProtoReflect

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

func (*PodDNSConfig) Reset

func (x *PodDNSConfig) Reset()

func (*PodDNSConfig) String

func (x *PodDNSConfig) String() string

type PodDNSConfigOption

type PodDNSConfigOption struct {

	// Required.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// +optional
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

PodDNSConfigOption defines DNS resolver options of a pod.

func (*PodDNSConfigOption) Descriptor deprecated

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

Deprecated: Use PodDNSConfigOption.ProtoReflect.Descriptor instead.

func (*PodDNSConfigOption) GetName

func (x *PodDNSConfigOption) GetName() string

func (*PodDNSConfigOption) GetValue

func (x *PodDNSConfigOption) GetValue() string

func (*PodDNSConfigOption) ProtoMessage

func (*PodDNSConfigOption) ProtoMessage()

func (*PodDNSConfigOption) ProtoReflect

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

func (*PodDNSConfigOption) Reset

func (x *PodDNSConfigOption) Reset()

func (*PodDNSConfigOption) String

func (x *PodDNSConfigOption) String() string

type PodExecOptions

type PodExecOptions struct {

	// Redirect the standard input stream of the pod for this call.
	// Defaults to false.
	// +optional
	Stdin *bool `protobuf:"varint,1,opt,name=stdin" json:"stdin,omitempty"`
	// Redirect the standard output stream of the pod for this call.
	// +optional
	Stdout *bool `protobuf:"varint,2,opt,name=stdout" json:"stdout,omitempty"`
	// Redirect the standard error stream of the pod for this call.
	// +optional
	Stderr *bool `protobuf:"varint,3,opt,name=stderr" json:"stderr,omitempty"`
	// TTY if true indicates that a tty will be allocated for the exec call.
	// Defaults to false.
	// +optional
	Tty *bool `protobuf:"varint,4,opt,name=tty" json:"tty,omitempty"`
	// Container in which to execute the command.
	// Defaults to only container if there is only one container in the pod.
	// +optional
	Container *string `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"`
	// Command is the remote command to execute. argv array. Not executed within a shell.
	Command []string `protobuf:"bytes,6,rep,name=command" json:"command,omitempty"`
	// contains filtered or unexported fields
}

PodExecOptions is the query options to a Pod's remote exec call. --- TODO: This is largely identical to PodAttachOptions above, make sure they stay in sync and see about merging and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY

func (*PodExecOptions) Descriptor deprecated

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

Deprecated: Use PodExecOptions.ProtoReflect.Descriptor instead.

func (*PodExecOptions) GetCommand

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

func (*PodExecOptions) GetContainer

func (x *PodExecOptions) GetContainer() string

func (*PodExecOptions) GetStderr

func (x *PodExecOptions) GetStderr() bool

func (*PodExecOptions) GetStdin

func (x *PodExecOptions) GetStdin() bool

func (*PodExecOptions) GetStdout

func (x *PodExecOptions) GetStdout() bool

func (*PodExecOptions) GetTty

func (x *PodExecOptions) GetTty() bool

func (*PodExecOptions) ProtoMessage

func (*PodExecOptions) ProtoMessage()

func (*PodExecOptions) ProtoReflect

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

func (*PodExecOptions) Reset

func (x *PodExecOptions) Reset()

func (*PodExecOptions) String

func (x *PodExecOptions) String() string

type PodIP

type PodIP struct {

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

PodIP represents a single IP address allocated to the pod.

func (*PodIP) Descriptor deprecated

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

Deprecated: Use PodIP.ProtoReflect.Descriptor instead.

func (*PodIP) GetIp

func (x *PodIP) GetIp() string

func (*PodIP) ProtoMessage

func (*PodIP) ProtoMessage()

func (*PodIP) ProtoReflect

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

func (*PodIP) Reset

func (x *PodIP) Reset()

func (*PodIP) String

func (x *PodIP) String() string

type PodList

type PodList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of pods.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
	Items []*Pod `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

PodList is a list of Pods.

func (*PodList) Descriptor deprecated

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

Deprecated: Use PodList.ProtoReflect.Descriptor instead.

func (*PodList) GetItems

func (x *PodList) GetItems() []*Pod

func (*PodList) GetMetadata

func (x *PodList) GetMetadata() *v1.ListMeta

func (*PodList) ProtoMessage

func (*PodList) ProtoMessage()

func (*PodList) ProtoReflect

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

func (*PodList) Reset

func (x *PodList) Reset()

func (*PodList) String

func (x *PodList) String() string

type PodLogOptions

type PodLogOptions struct {

	// The container for which to stream logs. Defaults to only container if there is one container in the pod.
	// +optional
	Container *string `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
	// Follow the log stream of the pod. Defaults to false.
	// +optional
	Follow *bool `protobuf:"varint,2,opt,name=follow" json:"follow,omitempty"`
	// Return previous terminated container logs. Defaults to false.
	// +optional
	Previous *bool `protobuf:"varint,3,opt,name=previous" json:"previous,omitempty"`
	// A relative time in seconds before the current time from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	// Only one of sinceSeconds or sinceTime may be specified.
	// +optional
	SinceSeconds *int64 `protobuf:"varint,4,opt,name=sinceSeconds" json:"sinceSeconds,omitempty"`
	// An RFC3339 timestamp from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	// Only one of sinceSeconds or sinceTime may be specified.
	// +optional
	SinceTime *v1.Time `protobuf:"bytes,5,opt,name=sinceTime" json:"sinceTime,omitempty"`
	// If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
	// of log output. Defaults to false.
	// +optional
	Timestamps *bool `protobuf:"varint,6,opt,name=timestamps" json:"timestamps,omitempty"`
	// If set, the number of lines from the end of the logs to show. If not specified,
	// logs are shown from the creation of the container or sinceSeconds or sinceTime
	// +optional
	TailLines *int64 `protobuf:"varint,7,opt,name=tailLines" json:"tailLines,omitempty"`
	// If set, the number of bytes to read from the server before terminating the
	// log output. This may not display a complete final line of logging, and may return
	// slightly more or slightly less than the specified limit.
	// +optional
	LimitBytes *int64 `protobuf:"varint,8,opt,name=limitBytes" json:"limitBytes,omitempty"`
	// insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the
	// serving certificate of the backend it is connecting to.  This will make the HTTPS connection between the apiserver
	// and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real
	// kubelet.  If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the
	// connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept
	// the actual log data coming from the real kubelet).
	// +optional
	InsecureSkipTLSVerifyBackend *bool `protobuf:"varint,9,opt,name=insecureSkipTLSVerifyBackend" json:"insecureSkipTLSVerifyBackend,omitempty"`
	// contains filtered or unexported fields
}

PodLogOptions is the query options for a Pod's logs REST call.

func (*PodLogOptions) Descriptor deprecated

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

Deprecated: Use PodLogOptions.ProtoReflect.Descriptor instead.

func (*PodLogOptions) GetContainer

func (x *PodLogOptions) GetContainer() string

func (*PodLogOptions) GetFollow

func (x *PodLogOptions) GetFollow() bool

func (*PodLogOptions) GetInsecureSkipTLSVerifyBackend

func (x *PodLogOptions) GetInsecureSkipTLSVerifyBackend() bool

func (*PodLogOptions) GetLimitBytes

func (x *PodLogOptions) GetLimitBytes() int64

func (*PodLogOptions) GetPrevious

func (x *PodLogOptions) GetPrevious() bool

func (*PodLogOptions) GetSinceSeconds

func (x *PodLogOptions) GetSinceSeconds() int64

func (*PodLogOptions) GetSinceTime

func (x *PodLogOptions) GetSinceTime() *v1.Time

func (*PodLogOptions) GetTailLines

func (x *PodLogOptions) GetTailLines() int64

func (*PodLogOptions) GetTimestamps

func (x *PodLogOptions) GetTimestamps() bool

func (*PodLogOptions) ProtoMessage

func (*PodLogOptions) ProtoMessage()

func (*PodLogOptions) ProtoReflect

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

func (*PodLogOptions) Reset

func (x *PodLogOptions) Reset()

func (*PodLogOptions) String

func (x *PodLogOptions) String() string

type PodOS

type PodOS struct {

	// Name is the name of the operating system. The currently supported values are linux and windows.
	// Additional value may be defined in future and can be one of:
	// https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration
	// Clients should expect to handle additional values and treat unrecognized values in this field as os: null
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

PodOS defines the OS parameters of a pod.

func (*PodOS) Descriptor deprecated

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

Deprecated: Use PodOS.ProtoReflect.Descriptor instead.

func (*PodOS) GetName

func (x *PodOS) GetName() string

func (*PodOS) ProtoMessage

func (*PodOS) ProtoMessage()

func (*PodOS) ProtoReflect

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

func (*PodOS) Reset

func (x *PodOS) Reset()

func (*PodOS) String

func (x *PodOS) String() string

type PodPortForwardOptions

type PodPortForwardOptions struct {

	// List of ports to forward
	// Required when using WebSockets
	// +optional
	Ports []int32 `protobuf:"varint,1,rep,name=ports" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

PodPortForwardOptions is the query options to a Pod's port forward call when using WebSockets. The `port` query parameter must specify the port or ports (comma separated) to forward over. Port forwarding over SPDY does not use these options. It requires the port to be passed in the `port` header as part of request.

func (*PodPortForwardOptions) Descriptor deprecated

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

Deprecated: Use PodPortForwardOptions.ProtoReflect.Descriptor instead.

func (*PodPortForwardOptions) GetPorts

func (x *PodPortForwardOptions) GetPorts() []int32

func (*PodPortForwardOptions) ProtoMessage

func (*PodPortForwardOptions) ProtoMessage()

func (*PodPortForwardOptions) ProtoReflect

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

func (*PodPortForwardOptions) Reset

func (x *PodPortForwardOptions) Reset()

func (*PodPortForwardOptions) String

func (x *PodPortForwardOptions) String() string

type PodProxyOptions

type PodProxyOptions struct {

	// Path is the URL path to use for the current proxy request to pod.
	// +optional
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

PodProxyOptions is the query options to a Pod's proxy call.

func (*PodProxyOptions) Descriptor deprecated

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

Deprecated: Use PodProxyOptions.ProtoReflect.Descriptor instead.

func (*PodProxyOptions) GetPath

func (x *PodProxyOptions) GetPath() string

func (*PodProxyOptions) ProtoMessage

func (*PodProxyOptions) ProtoMessage()

func (*PodProxyOptions) ProtoReflect

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

func (*PodProxyOptions) Reset

func (x *PodProxyOptions) Reset()

func (*PodProxyOptions) String

func (x *PodProxyOptions) String() string

type PodReadinessGate

type PodReadinessGate struct {

	// ConditionType refers to a condition in the pod's condition list with matching type.
	ConditionType *string `protobuf:"bytes,1,opt,name=conditionType" json:"conditionType,omitempty"`
	// contains filtered or unexported fields
}

PodReadinessGate contains the reference to a pod condition

func (*PodReadinessGate) Descriptor deprecated

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

Deprecated: Use PodReadinessGate.ProtoReflect.Descriptor instead.

func (*PodReadinessGate) GetConditionType

func (x *PodReadinessGate) GetConditionType() string

func (*PodReadinessGate) ProtoMessage

func (*PodReadinessGate) ProtoMessage()

func (*PodReadinessGate) ProtoReflect

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

func (*PodReadinessGate) Reset

func (x *PodReadinessGate) Reset()

func (*PodReadinessGate) String

func (x *PodReadinessGate) String() string

type PodResourceClaim

type 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" json:"name,omitempty"`
	// Source describes where to find the ResourceClaim.
	Source *ClaimSource `protobuf:"bytes,2,opt,name=source" 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 (*PodResourceClaim) Descriptor deprecated

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

Deprecated: Use PodResourceClaim.ProtoReflect.Descriptor instead.

func (*PodResourceClaim) GetName

func (x *PodResourceClaim) GetName() string

func (*PodResourceClaim) GetSource

func (x *PodResourceClaim) GetSource() *ClaimSource

func (*PodResourceClaim) ProtoMessage

func (*PodResourceClaim) ProtoMessage()

func (*PodResourceClaim) ProtoReflect

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

func (*PodResourceClaim) Reset

func (x *PodResourceClaim) Reset()

func (*PodResourceClaim) String

func (x *PodResourceClaim) String() string

type PodResourceClaimStatus

type PodResourceClaimStatus struct {

	// Name uniquely identifies this resource claim inside the pod.
	// This must match the name of an entry in pod.spec.resourceClaims,
	// which implies that the string must be a DNS_LABEL.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// ResourceClaimName is the name of the ResourceClaim that was
	// generated for the Pod in the namespace of the Pod. It this is
	// unset, then generating a ResourceClaim was not necessary. The
	// pod.spec.resourceClaims entry can be ignored in this case.
	//
	// +optional
	ResourceClaimName *string `protobuf:"bytes,2,opt,name=resourceClaimName" json:"resourceClaimName,omitempty"`
	// contains filtered or unexported fields
}

PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.

func (*PodResourceClaimStatus) Descriptor deprecated

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

Deprecated: Use PodResourceClaimStatus.ProtoReflect.Descriptor instead.

func (*PodResourceClaimStatus) GetName

func (x *PodResourceClaimStatus) GetName() string

func (*PodResourceClaimStatus) GetResourceClaimName

func (x *PodResourceClaimStatus) GetResourceClaimName() string

func (*PodResourceClaimStatus) ProtoMessage

func (*PodResourceClaimStatus) ProtoMessage()

func (*PodResourceClaimStatus) ProtoReflect

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

func (*PodResourceClaimStatus) Reset

func (x *PodResourceClaimStatus) Reset()

func (*PodResourceClaimStatus) String

func (x *PodResourceClaimStatus) String() string

type PodSchedulingGate

type PodSchedulingGate struct {

	// Name of the scheduling gate.
	// Each scheduling gate must have a unique name field.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

PodSchedulingGate is associated to a Pod to guard its scheduling.

func (*PodSchedulingGate) Descriptor deprecated

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

Deprecated: Use PodSchedulingGate.ProtoReflect.Descriptor instead.

func (*PodSchedulingGate) GetName

func (x *PodSchedulingGate) GetName() string

func (*PodSchedulingGate) ProtoMessage

func (*PodSchedulingGate) ProtoMessage()

func (*PodSchedulingGate) ProtoReflect

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

func (*PodSchedulingGate) Reset

func (x *PodSchedulingGate) Reset()

func (*PodSchedulingGate) String

func (x *PodSchedulingGate) String() string

type PodSecurityContext

type PodSecurityContext struct {

	// The SELinux context to be applied to all containers.
	// If unspecified, the container runtime will allocate a random SELinux context for each
	// container.  May also be set in SecurityContext.  If set in
	// both SecurityContext and PodSecurityContext, the value specified in SecurityContext
	// takes precedence for that container.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SeLinuxOptions *SELinuxOptions `protobuf:"bytes,1,opt,name=seLinuxOptions" json:"seLinuxOptions,omitempty"`
	// The Windows specific settings applied to all containers.
	// If unspecified, the options within a container's SecurityContext will be used.
	// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is linux.
	// +optional
	WindowsOptions *WindowsSecurityContextOptions `protobuf:"bytes,8,opt,name=windowsOptions" json:"windowsOptions,omitempty"`
	// The UID to run the entrypoint of the container process.
	// Defaults to user specified in image metadata if unspecified.
	// May also be set in SecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence
	// for that container.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	RunAsUser *int64 `protobuf:"varint,2,opt,name=runAsUser" json:"runAsUser,omitempty"`
	// The GID to run the entrypoint of the container process.
	// Uses runtime default if unset.
	// May also be set in SecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence
	// for that container.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	RunAsGroup *int64 `protobuf:"varint,6,opt,name=runAsGroup" json:"runAsGroup,omitempty"`
	// Indicates that the container must run as a non-root user.
	// If true, the Kubelet will validate the image at runtime to ensure that it
	// does not run as UID 0 (root) and fail to start the container if it does.
	// If unset or false, no such validation will be performed.
	// May also be set in SecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// +optional
	RunAsNonRoot *bool `protobuf:"varint,3,opt,name=runAsNonRoot" json:"runAsNonRoot,omitempty"`
	// A list of groups applied to the first process run in each container, in addition
	// to the container's primary GID, the fsGroup (if specified), and group memberships
	// defined in the container image for the uid of the container process. If unspecified,
	// no additional groups are added to any container. Note that group memberships
	// defined in the container image for the uid of the container process are still effective,
	// even if they are not included in this list.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SupplementalGroups []int64 `protobuf:"varint,4,rep,name=supplementalGroups" json:"supplementalGroups,omitempty"`
	// A special supplemental group that applies to all containers in a pod.
	// Some volume types allow the Kubelet to change the ownership of that volume
	// to be owned by the pod:
	//
	// 1. The owning GID will be the FSGroup
	// 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
	// 3. The permission bits are OR'd with rw-rw----
	//
	// If unset, the Kubelet will not modify the ownership and permissions of any volume.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	FsGroup *int64 `protobuf:"varint,5,opt,name=fsGroup" json:"fsGroup,omitempty"`
	// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
	// sysctls (by the container runtime) might fail to launch.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	Sysctls []*Sysctl `protobuf:"bytes,7,rep,name=sysctls" json:"sysctls,omitempty"`
	// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
	// before being exposed inside Pod. This field will only apply to
	// volume types which support fsGroup based ownership(and permissions).
	// It will have no effect on ephemeral volume types such as: secret, configmaps
	// and emptydir.
	// Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	FsGroupChangePolicy *string `protobuf:"bytes,9,opt,name=fsGroupChangePolicy" json:"fsGroupChangePolicy,omitempty"`
	// The seccomp options to use by the containers in this pod.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SeccompProfile *SeccompProfile `protobuf:"bytes,10,opt,name=seccompProfile" json:"seccompProfile,omitempty"`
	// contains filtered or unexported fields
}

PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.

func (*PodSecurityContext) Descriptor deprecated

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

Deprecated: Use PodSecurityContext.ProtoReflect.Descriptor instead.

func (*PodSecurityContext) GetFsGroup

func (x *PodSecurityContext) GetFsGroup() int64

func (*PodSecurityContext) GetFsGroupChangePolicy

func (x *PodSecurityContext) GetFsGroupChangePolicy() string

func (*PodSecurityContext) GetRunAsGroup

func (x *PodSecurityContext) GetRunAsGroup() int64

func (*PodSecurityContext) GetRunAsNonRoot

func (x *PodSecurityContext) GetRunAsNonRoot() bool

func (*PodSecurityContext) GetRunAsUser

func (x *PodSecurityContext) GetRunAsUser() int64

func (*PodSecurityContext) GetSeLinuxOptions

func (x *PodSecurityContext) GetSeLinuxOptions() *SELinuxOptions

func (*PodSecurityContext) GetSeccompProfile

func (x *PodSecurityContext) GetSeccompProfile() *SeccompProfile

func (*PodSecurityContext) GetSupplementalGroups

func (x *PodSecurityContext) GetSupplementalGroups() []int64

func (*PodSecurityContext) GetSysctls

func (x *PodSecurityContext) GetSysctls() []*Sysctl

func (*PodSecurityContext) GetWindowsOptions

func (x *PodSecurityContext) GetWindowsOptions() *WindowsSecurityContextOptions

func (*PodSecurityContext) ProtoMessage

func (*PodSecurityContext) ProtoMessage()

func (*PodSecurityContext) ProtoReflect

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

func (*PodSecurityContext) Reset

func (x *PodSecurityContext) Reset()

func (*PodSecurityContext) String

func (x *PodSecurityContext) String() string

type PodSignature

type PodSignature struct {

	// Reference to controller whose pods should avoid this node.
	// +optional
	PodController *v1.OwnerReference `protobuf:"bytes,1,opt,name=podController" json:"podController,omitempty"`
	// contains filtered or unexported fields
}

Describes the class of pods that should avoid this node. Exactly one field should be set.

func (*PodSignature) Descriptor deprecated

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

Deprecated: Use PodSignature.ProtoReflect.Descriptor instead.

func (*PodSignature) GetPodController

func (x *PodSignature) GetPodController() *v1.OwnerReference

func (*PodSignature) ProtoMessage

func (*PodSignature) ProtoMessage()

func (*PodSignature) ProtoReflect

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

func (*PodSignature) Reset

func (x *PodSignature) Reset()

func (*PodSignature) String

func (x *PodSignature) String() string

type PodSpec

type 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
	Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes" 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
	InitContainers []*Container `protobuf:"bytes,20,rep,name=initContainers" json:"initContainers,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
	Containers []*Container `protobuf:"bytes,2,rep,name=containers" json:"containers,omitempty"`
	// List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
	// pod to perform user-initiated actions such as debugging. This list cannot be specified when
	// creating a pod, and it cannot be modified by updating the pod spec. In order to add an
	// ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	EphemeralContainers []*EphemeralContainer `protobuf:"bytes,34,rep,name=ephemeralContainers" json:"ephemeralContainers,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=restartPolicy" json:"restartPolicy,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 `protobuf:"varint,4,opt,name=terminationGracePeriodSeconds" json:"terminationGracePeriodSeconds,omitempty"`
	// Optional duration in seconds the pod may be active on the node relative to
	// StartTime before the system will actively try to mark it failed and kill associated containers.
	// Value must be a positive integer.
	// +optional
	ActiveDeadlineSeconds *int64 `protobuf:"varint,5,opt,name=activeDeadlineSeconds" json:"activeDeadlineSeconds,omitempty"`
	// 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=dnsPolicy" json:"dnsPolicy,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 `` /* 144-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=serviceAccountName" json:"serviceAccountName,omitempty"`
	// DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
	// Deprecated: Use serviceAccountName instead.
	// +k8s:conversion-gen=false
	// +optional
	ServiceAccount *string `protobuf:"bytes,9,opt,name=serviceAccount" json:"serviceAccount,omitempty"`
	// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
	// +optional
	AutomountServiceAccountToken *bool `protobuf:"varint,21,opt,name=automountServiceAccountToken" json:"automountServiceAccountToken,omitempty"`
	// 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=nodeName" json:"nodeName,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=hostNetwork" json:"hostNetwork,omitempty"`
	// Use the host's pid namespace.
	// Optional: Default to false.
	// +k8s:conversion-gen=false
	// +optional
	HostPID *bool `protobuf:"varint,12,opt,name=hostPID" json:"hostPID,omitempty"`
	// Use the host's ipc namespace.
	// Optional: Default to false.
	// +k8s:conversion-gen=false
	// +optional
	HostIPC *bool `protobuf:"varint,13,opt,name=hostIPC" json:"hostIPC,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 `protobuf:"varint,27,opt,name=shareProcessNamespace" json:"shareProcessNamespace,omitempty"`
	// SecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	SecurityContext *PodSecurityContext `protobuf:"bytes,14,opt,name=securityContext" json:"securityContext,omitempty"`
	// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
	// If specified, these secrets will be passed to individual puller implementations for them to use.
	// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	ImagePullSecrets []*LocalObjectReference `protobuf:"bytes,15,rep,name=imagePullSecrets" json:"imagePullSecrets,omitempty"`
	// 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" 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" json:"subdomain,omitempty"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *Affinity `protobuf:"bytes,18,opt,name=affinity" json:"affinity,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=schedulerName" json:"schedulerName,omitempty"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []*Toleration `protobuf:"bytes,22,rep,name=tolerations" json:"tolerations,omitempty"`
	// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
	// file if specified. This is only valid for non-hostNetwork pods.
	// +optional
	// +patchMergeKey=ip
	// +patchStrategy=merge
	HostAliases []*HostAlias `protobuf:"bytes,23,rep,name=hostAliases" json:"hostAliases,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=priorityClassName" json:"priorityClassName,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 PriorityClassName.
	// The higher the value, the higher the priority.
	// +optional
	Priority *int32 `protobuf:"varint,25,opt,name=priority" json:"priority,omitempty"`
	// Specifies the DNS parameters of a pod.
	// Parameters specified here will be merged to the generated DNS
	// configuration based on DNSPolicy.
	// +optional
	DnsConfig *PodDNSConfig `protobuf:"bytes,26,opt,name=dnsConfig" json:"dnsConfig,omitempty"`
	// If specified, all readiness gates will be evaluated for pod readiness.
	// A pod is ready when all its containers are ready AND
	// all conditions specified in the readiness gates have status equal to "True"
	// More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
	// +optional
	ReadinessGates []*PodReadinessGate `protobuf:"bytes,28,rep,name=readinessGates" json:"readinessGates,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=runtimeClassName" json:"runtimeClassName,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=enableServiceLinks" json:"enableServiceLinks,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=preemptionPolicy" json:"preemptionPolicy,omitempty"`
	// Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.
	// This field will be autopopulated at admission time by the RuntimeClass admission controller. If
	// the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests.
	// The RuntimeClass admission controller will reject Pod create requests which have the overhead already
	// set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value
	// defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero.
	// More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
	// +optional
	Overhead map[string]*resource.Quantity `` /* 137-byte string literal not displayed */
	// TopologySpreadConstraints describes how a group of pods ought to spread across topology
	// domains. Scheduler will schedule pods in a way which abides by the constraints.
	// All topologySpreadConstraints are ANDed.
	// +optional
	// +patchMergeKey=topologyKey
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=topologyKey
	// +listMapKey=whenUnsatisfiable
	TopologySpreadConstraints []*TopologySpreadConstraint `protobuf:"bytes,33,rep,name=topologySpreadConstraints" json:"topologySpreadConstraints,omitempty"`
	// If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).
	// In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
	// In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN.
	// If a pod does not have FQDN, this has no effect.
	// Default to false.
	// +optional
	SetHostnameAsFQDN *bool `protobuf:"varint,35,opt,name=setHostnameAsFQDN" json:"setHostnameAsFQDN,omitempty"`
	// Specifies the OS of the containers in the pod.
	// Some pod and container fields are restricted if this is set.
	//
	// If the OS field is set to linux, the following fields must be unset:
	// -securityContext.windowsOptions
	//
	// If the OS field is set to windows, following fields must be unset:
	// - spec.hostPID
	// - spec.hostIPC
	// - spec.hostUsers
	// - spec.securityContext.seLinuxOptions
	// - spec.securityContext.seccompProfile
	// - spec.securityContext.fsGroup
	// - spec.securityContext.fsGroupChangePolicy
	// - spec.securityContext.sysctls
	// - spec.shareProcessNamespace
	// - spec.securityContext.runAsUser
	// - spec.securityContext.runAsGroup
	// - spec.securityContext.supplementalGroups
	// - spec.containers[*].securityContext.seLinuxOptions
	// - spec.containers[*].securityContext.seccompProfile
	// - spec.containers[*].securityContext.capabilities
	// - spec.containers[*].securityContext.readOnlyRootFilesystem
	// - spec.containers[*].securityContext.privileged
	// - spec.containers[*].securityContext.allowPrivilegeEscalation
	// - spec.containers[*].securityContext.procMount
	// - spec.containers[*].securityContext.runAsUser
	// - spec.containers[*].securityContext.runAsGroup
	// +optional
	Os *PodOS `protobuf:"bytes,36,opt,name=os" json:"os,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=hostUsers" json:"hostUsers,omitempty"`
	// SchedulingGates is an opaque list of values that if specified will block scheduling the pod.
	// If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the
	// scheduler will not attempt to schedule the pod.
	//
	// SchedulingGates can only be set at pod creation time, and be removed only afterwards.
	//
	// This is a beta feature enabled by the PodSchedulingReadiness feature gate.
	//
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	// +featureGate=PodSchedulingReadiness
	// +optional
	SchedulingGates []*PodSchedulingGate `protobuf:"bytes,38,rep,name=schedulingGates" json:"schedulingGates,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 []*PodResourceClaim `protobuf:"bytes,39,rep,name=resourceClaims" json:"resourceClaims,omitempty"`
	// contains filtered or unexported fields
}

PodSpec is a description of a pod.

func (*PodSpec) Descriptor deprecated

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

Deprecated: Use PodSpec.ProtoReflect.Descriptor instead.

func (*PodSpec) GetActiveDeadlineSeconds

func (x *PodSpec) GetActiveDeadlineSeconds() int64

func (*PodSpec) GetAffinity

func (x *PodSpec) GetAffinity() *Affinity

func (*PodSpec) GetAutomountServiceAccountToken

func (x *PodSpec) GetAutomountServiceAccountToken() bool

func (*PodSpec) GetContainers

func (x *PodSpec) GetContainers() []*Container

func (*PodSpec) GetDnsConfig

func (x *PodSpec) GetDnsConfig() *PodDNSConfig

func (*PodSpec) GetDnsPolicy

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

func (*PodSpec) GetEphemeralContainers

func (x *PodSpec) GetEphemeralContainers() []*EphemeralContainer

func (*PodSpec) GetHostAliases

func (x *PodSpec) GetHostAliases() []*HostAlias

func (*PodSpec) GetHostIPC

func (x *PodSpec) GetHostIPC() bool

func (*PodSpec) GetHostNetwork

func (x *PodSpec) GetHostNetwork() bool

func (*PodSpec) GetHostPID

func (x *PodSpec) GetHostPID() bool

func (*PodSpec) GetHostUsers

func (x *PodSpec) GetHostUsers() bool

func (*PodSpec) GetHostname

func (x *PodSpec) GetHostname() string

func (*PodSpec) GetImagePullSecrets

func (x *PodSpec) GetImagePullSecrets() []*LocalObjectReference

func (*PodSpec) GetInitContainers

func (x *PodSpec) GetInitContainers() []*Container

func (*PodSpec) GetNodeName

func (x *PodSpec) GetNodeName() string

func (*PodSpec) GetNodeSelector

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

func (*PodSpec) GetOs

func (x *PodSpec) GetOs() *PodOS

func (*PodSpec) GetOverhead

func (x *PodSpec) GetOverhead() map[string]*resource.Quantity

func (*PodSpec) GetPreemptionPolicy

func (x *PodSpec) GetPreemptionPolicy() string

func (*PodSpec) GetPriority

func (x *PodSpec) GetPriority() int32

func (*PodSpec) GetPriorityClassName

func (x *PodSpec) GetPriorityClassName() string

func (*PodSpec) GetReadinessGates

func (x *PodSpec) GetReadinessGates() []*PodReadinessGate

func (*PodSpec) GetResourceClaims

func (x *PodSpec) GetResourceClaims() []*PodResourceClaim

func (*PodSpec) GetRestartPolicy

func (x *PodSpec) GetRestartPolicy() string

func (*PodSpec) GetRuntimeClassName

func (x *PodSpec) GetRuntimeClassName() string

func (*PodSpec) GetSchedulerName

func (x *PodSpec) GetSchedulerName() string

func (*PodSpec) GetSchedulingGates

func (x *PodSpec) GetSchedulingGates() []*PodSchedulingGate

func (*PodSpec) GetSecurityContext

func (x *PodSpec) GetSecurityContext() *PodSecurityContext

func (*PodSpec) GetServiceAccount

func (x *PodSpec) GetServiceAccount() string

func (*PodSpec) GetServiceAccountName

func (x *PodSpec) GetServiceAccountName() string

func (*PodSpec) GetSetHostnameAsFQDN

func (x *PodSpec) GetSetHostnameAsFQDN() bool

func (*PodSpec) GetShareProcessNamespace

func (x *PodSpec) GetShareProcessNamespace() bool

func (*PodSpec) GetSubdomain

func (x *PodSpec) GetSubdomain() string

func (*PodSpec) GetTerminationGracePeriodSeconds

func (x *PodSpec) GetTerminationGracePeriodSeconds() int64

func (*PodSpec) GetTolerations

func (x *PodSpec) GetTolerations() []*Toleration

func (*PodSpec) GetTopologySpreadConstraints

func (x *PodSpec) GetTopologySpreadConstraints() []*TopologySpreadConstraint

func (*PodSpec) GetVolumes

func (x *PodSpec) GetVolumes() []*Volume

func (*PodSpec) ProtoMessage

func (*PodSpec) ProtoMessage()

func (*PodSpec) ProtoReflect

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

func (*PodSpec) Reset

func (x *PodSpec) Reset()

func (*PodSpec) String

func (x *PodSpec) String() string

type PodStatus

type 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" 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
	Conditions []*PodCondition `protobuf:"bytes,2,rep,name=conditions" 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" 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" 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=nominatedNodeName" json:"nominatedNodeName,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=hostIP" json:"hostIP,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 []*HostIP `protobuf:"bytes,16,rep,name=hostIPs" json:"hostIPs,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=podIP" json:"podIP,omitempty"`
	// podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
	// match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
	// is empty if no IPs have been allocated yet.
	// +optional
	// +patchStrategy=merge
	// +patchMergeKey=ip
	PodIPs []*PodIP `protobuf:"bytes,12,rep,name=podIPs" json:"podIPs,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 *v1.Time `protobuf:"bytes,7,opt,name=startTime" json:"startTime,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
	InitContainerStatuses []*ContainerStatus `protobuf:"bytes,10,rep,name=initContainerStatuses" json:"initContainerStatuses,omitempty"`
	// 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
	ContainerStatuses []*ContainerStatus `protobuf:"bytes,8,rep,name=containerStatuses" json:"containerStatuses,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=qosClass" json:"qosClass,omitempty"`
	// Status for any ephemeral containers that have run in this pod.
	// +optional
	EphemeralContainerStatuses []*ContainerStatus `protobuf:"bytes,13,rep,name=ephemeralContainerStatuses" json:"ephemeralContainerStatuses,omitempty"`
	// 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" json:"resize,omitempty"`
	// Status of resource claims.
	// +patchMergeKey=name
	// +patchStrategy=merge,retainKeys
	// +listType=map
	// +listMapKey=name
	// +featureGate=DynamicResourceAllocation
	// +optional
	ResourceClaimStatuses []*PodResourceClaimStatus `protobuf:"bytes,15,rep,name=resourceClaimStatuses" json:"resourceClaimStatuses,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 (*PodStatus) Descriptor deprecated

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

Deprecated: Use PodStatus.ProtoReflect.Descriptor instead.

func (*PodStatus) GetConditions

func (x *PodStatus) GetConditions() []*PodCondition

func (*PodStatus) GetContainerStatuses

func (x *PodStatus) GetContainerStatuses() []*ContainerStatus

func (*PodStatus) GetEphemeralContainerStatuses

func (x *PodStatus) GetEphemeralContainerStatuses() []*ContainerStatus

func (*PodStatus) GetHostIP

func (x *PodStatus) GetHostIP() string

func (*PodStatus) GetHostIPs

func (x *PodStatus) GetHostIPs() []*HostIP

func (*PodStatus) GetInitContainerStatuses

func (x *PodStatus) GetInitContainerStatuses() []*ContainerStatus

func (*PodStatus) GetMessage

func (x *PodStatus) GetMessage() string

func (*PodStatus) GetNominatedNodeName

func (x *PodStatus) GetNominatedNodeName() string

func (*PodStatus) GetPhase

func (x *PodStatus) GetPhase() string

func (*PodStatus) GetPodIP

func (x *PodStatus) GetPodIP() string

func (*PodStatus) GetPodIPs

func (x *PodStatus) GetPodIPs() []*PodIP

func (*PodStatus) GetQosClass

func (x *PodStatus) GetQosClass() string

func (*PodStatus) GetReason

func (x *PodStatus) GetReason() string

func (*PodStatus) GetResize

func (x *PodStatus) GetResize() string

func (*PodStatus) GetResourceClaimStatuses

func (x *PodStatus) GetResourceClaimStatuses() []*PodResourceClaimStatus

func (*PodStatus) GetStartTime

func (x *PodStatus) GetStartTime() *v1.Time

func (*PodStatus) ProtoMessage

func (*PodStatus) ProtoMessage()

func (*PodStatus) ProtoReflect

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

func (*PodStatus) Reset

func (x *PodStatus) Reset()

func (*PodStatus) String

func (x *PodStatus) String() string

type PodStatusResult

type PodStatusResult struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Most recently observed status of the pod.
	// This data may not be up to date.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *PodStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded

func (*PodStatusResult) Descriptor deprecated

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

Deprecated: Use PodStatusResult.ProtoReflect.Descriptor instead.

func (*PodStatusResult) GetMetadata

func (x *PodStatusResult) GetMetadata() *v1.ObjectMeta

func (*PodStatusResult) GetStatus

func (x *PodStatusResult) GetStatus() *PodStatus

func (*PodStatusResult) ProtoMessage

func (*PodStatusResult) ProtoMessage()

func (*PodStatusResult) ProtoReflect

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

func (*PodStatusResult) Reset

func (x *PodStatusResult) Reset()

func (*PodStatusResult) String

func (x *PodStatusResult) String() string

type PodTemplate

type PodTemplate struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Template defines the pods that will be created from this pod template.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Template *PodTemplateSpec `protobuf:"bytes,2,opt,name=template" json:"template,omitempty"`
	// contains filtered or unexported fields
}

PodTemplate describes a template for creating copies of a predefined pod.

func (*PodTemplate) Descriptor deprecated

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

Deprecated: Use PodTemplate.ProtoReflect.Descriptor instead.

func (*PodTemplate) GetMetadata

func (x *PodTemplate) GetMetadata() *v1.ObjectMeta

func (*PodTemplate) GetTemplate

func (x *PodTemplate) GetTemplate() *PodTemplateSpec

func (*PodTemplate) ProtoMessage

func (*PodTemplate) ProtoMessage()

func (*PodTemplate) ProtoReflect

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

func (*PodTemplate) Reset

func (x *PodTemplate) Reset()

func (*PodTemplate) String

func (x *PodTemplate) String() string

type PodTemplateList

type PodTemplateList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of pod templates
	Items []*PodTemplate `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

PodTemplateList is a list of PodTemplates.

func (*PodTemplateList) Descriptor deprecated

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

Deprecated: Use PodTemplateList.ProtoReflect.Descriptor instead.

func (*PodTemplateList) GetItems

func (x *PodTemplateList) GetItems() []*PodTemplate

func (*PodTemplateList) GetMetadata

func (x *PodTemplateList) GetMetadata() *v1.ListMeta

func (*PodTemplateList) ProtoMessage

func (*PodTemplateList) ProtoMessage()

func (*PodTemplateList) ProtoReflect

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

func (*PodTemplateList) Reset

func (x *PodTemplateList) Reset()

func (*PodTemplateList) String

func (x *PodTemplateList) String() string

type PodTemplateSpec

type PodTemplateSpec struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Specification of the desired behavior of the pod.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *PodSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

PodTemplateSpec describes the data a pod should have when created from a template

func (*PodTemplateSpec) Descriptor deprecated

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

Deprecated: Use PodTemplateSpec.ProtoReflect.Descriptor instead.

func (*PodTemplateSpec) GetMetadata

func (x *PodTemplateSpec) GetMetadata() *v1.ObjectMeta

func (*PodTemplateSpec) GetSpec

func (x *PodTemplateSpec) GetSpec() *PodSpec

func (*PodTemplateSpec) ProtoMessage

func (*PodTemplateSpec) ProtoMessage()

func (*PodTemplateSpec) ProtoReflect

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

func (*PodTemplateSpec) Reset

func (x *PodTemplateSpec) Reset()

func (*PodTemplateSpec) String

func (x *PodTemplateSpec) String() string

type PortStatus

type PortStatus struct {

	// Port is the port number of the service port of which status is recorded here
	Port *int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
	// Protocol is the protocol of the service port of which status is recorded here
	// The supported values are: "TCP", "UDP", "SCTP"
	Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
	// Error is to record the problem with the service port
	// The format of the error shall comply with the following rules:
	//   - built-in error values shall be specified in this file and those shall use
	//     CamelCase names
	//   - cloud provider specific error values must have names that comply with the
	//     format foo.example.com/CamelCase.
	//
	// ---
	// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
	// +optional
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Error *string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*PortStatus) Descriptor deprecated

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

Deprecated: Use PortStatus.ProtoReflect.Descriptor instead.

func (*PortStatus) GetError

func (x *PortStatus) GetError() string

func (*PortStatus) GetPort

func (x *PortStatus) GetPort() int32

func (*PortStatus) GetProtocol

func (x *PortStatus) GetProtocol() string

func (*PortStatus) ProtoMessage

func (*PortStatus) ProtoMessage()

func (*PortStatus) ProtoReflect

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

func (*PortStatus) Reset

func (x *PortStatus) Reset()

func (*PortStatus) String

func (x *PortStatus) String() string

type PortworxVolumeSource

type PortworxVolumeSource struct {

	// volumeID uniquely identifies a Portworx volume
	VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
	// fSType represents the filesystem type to mount
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

PortworxVolumeSource represents a Portworx volume resource.

func (*PortworxVolumeSource) Descriptor deprecated

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

Deprecated: Use PortworxVolumeSource.ProtoReflect.Descriptor instead.

func (*PortworxVolumeSource) GetFsType

func (x *PortworxVolumeSource) GetFsType() string

func (*PortworxVolumeSource) GetReadOnly

func (x *PortworxVolumeSource) GetReadOnly() bool

func (*PortworxVolumeSource) GetVolumeID

func (x *PortworxVolumeSource) GetVolumeID() string

func (*PortworxVolumeSource) ProtoMessage

func (*PortworxVolumeSource) ProtoMessage()

func (*PortworxVolumeSource) ProtoReflect

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

func (*PortworxVolumeSource) Reset

func (x *PortworxVolumeSource) Reset()

func (*PortworxVolumeSource) String

func (x *PortworxVolumeSource) String() string

type Preconditions

type Preconditions struct {

	// Specifies the target UID.
	// +optional
	Uid *string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. +k8s:openapi-gen=false

func (*Preconditions) Descriptor deprecated

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

Deprecated: Use Preconditions.ProtoReflect.Descriptor instead.

func (*Preconditions) GetUid

func (x *Preconditions) GetUid() string

func (*Preconditions) ProtoMessage

func (*Preconditions) ProtoMessage()

func (*Preconditions) ProtoReflect

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

func (*Preconditions) Reset

func (x *Preconditions) Reset()

func (*Preconditions) String

func (x *Preconditions) String() string

type PreferAvoidPodsEntry

type PreferAvoidPodsEntry struct {

	// The class of pods.
	PodSignature *PodSignature `protobuf:"bytes,1,opt,name=podSignature" json:"podSignature,omitempty"`
	// Time at which this entry was added to the list.
	// +optional
	EvictionTime *v1.Time `protobuf:"bytes,2,opt,name=evictionTime" json:"evictionTime,omitempty"`
	// (brief) reason why this entry was added to the list.
	// +optional
	Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
	// Human readable message indicating why this entry was added to the list.
	// +optional
	Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Describes a class of pods that should avoid this node.

func (*PreferAvoidPodsEntry) Descriptor deprecated

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

Deprecated: Use PreferAvoidPodsEntry.ProtoReflect.Descriptor instead.

func (*PreferAvoidPodsEntry) GetEvictionTime

func (x *PreferAvoidPodsEntry) GetEvictionTime() *v1.Time

func (*PreferAvoidPodsEntry) GetMessage

func (x *PreferAvoidPodsEntry) GetMessage() string

func (*PreferAvoidPodsEntry) GetPodSignature

func (x *PreferAvoidPodsEntry) GetPodSignature() *PodSignature

func (*PreferAvoidPodsEntry) GetReason

func (x *PreferAvoidPodsEntry) GetReason() string

func (*PreferAvoidPodsEntry) ProtoMessage

func (*PreferAvoidPodsEntry) ProtoMessage()

func (*PreferAvoidPodsEntry) ProtoReflect

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

func (*PreferAvoidPodsEntry) Reset

func (x *PreferAvoidPodsEntry) Reset()

func (*PreferAvoidPodsEntry) String

func (x *PreferAvoidPodsEntry) String() string

type PreferredSchedulingTerm

type PreferredSchedulingTerm struct {

	// Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
	Weight *int32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"`
	// A node selector term, associated with the corresponding weight.
	Preference *NodeSelectorTerm `protobuf:"bytes,2,opt,name=preference" json:"preference,omitempty"`
	// contains filtered or unexported fields
}

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

func (*PreferredSchedulingTerm) Descriptor deprecated

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

Deprecated: Use PreferredSchedulingTerm.ProtoReflect.Descriptor instead.

func (*PreferredSchedulingTerm) GetPreference

func (x *PreferredSchedulingTerm) GetPreference() *NodeSelectorTerm

func (*PreferredSchedulingTerm) GetWeight

func (x *PreferredSchedulingTerm) GetWeight() int32

func (*PreferredSchedulingTerm) ProtoMessage

func (*PreferredSchedulingTerm) ProtoMessage()

func (*PreferredSchedulingTerm) ProtoReflect

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

func (*PreferredSchedulingTerm) Reset

func (x *PreferredSchedulingTerm) Reset()

func (*PreferredSchedulingTerm) String

func (x *PreferredSchedulingTerm) String() string

type Probe

type Probe struct {

	// The action taken to determine the health of a container
	Handler *ProbeHandler `protobuf:"bytes,1,opt,name=handler" json:"handler,omitempty"`
	// Number of seconds after the container has started before liveness probes are initiated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	InitialDelaySeconds *int32 `protobuf:"varint,2,opt,name=initialDelaySeconds" json:"initialDelaySeconds,omitempty"`
	// Number of seconds after which the probe times out.
	// Defaults to 1 second. Minimum value is 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	TimeoutSeconds *int32 `protobuf:"varint,3,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
	// How often (in seconds) to perform the probe.
	// Default to 10 seconds. Minimum value is 1.
	// +optional
	PeriodSeconds *int32 `protobuf:"varint,4,opt,name=periodSeconds" json:"periodSeconds,omitempty"`
	// Minimum consecutive successes for the probe to be considered successful after having failed.
	// Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	// +optional
	SuccessThreshold *int32 `protobuf:"varint,5,opt,name=successThreshold" json:"successThreshold,omitempty"`
	// Minimum consecutive failures for the probe to be considered failed after having succeeded.
	// Defaults to 3. Minimum value is 1.
	// +optional
	FailureThreshold *int32 `protobuf:"varint,6,opt,name=failureThreshold" json:"failureThreshold,omitempty"`
	// Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
	// 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.
	// If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
	// value overrides the value provided by the pod spec.
	// Value must be non-negative integer. The value zero indicates stop immediately via
	// the kill signal (no opportunity to shut down).
	// This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
	// Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
	// +optional
	TerminationGracePeriodSeconds *int64 `protobuf:"varint,7,opt,name=terminationGracePeriodSeconds" json:"terminationGracePeriodSeconds,omitempty"`
	// contains filtered or unexported fields
}

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

func (*Probe) Descriptor deprecated

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

Deprecated: Use Probe.ProtoReflect.Descriptor instead.

func (*Probe) GetFailureThreshold

func (x *Probe) GetFailureThreshold() int32

func (*Probe) GetHandler

func (x *Probe) GetHandler() *ProbeHandler

func (*Probe) GetInitialDelaySeconds

func (x *Probe) GetInitialDelaySeconds() int32

func (*Probe) GetPeriodSeconds

func (x *Probe) GetPeriodSeconds() int32

func (*Probe) GetSuccessThreshold

func (x *Probe) GetSuccessThreshold() int32

func (*Probe) GetTerminationGracePeriodSeconds

func (x *Probe) GetTerminationGracePeriodSeconds() int64

func (*Probe) GetTimeoutSeconds

func (x *Probe) GetTimeoutSeconds() int32

func (*Probe) ProtoMessage

func (*Probe) ProtoMessage()

func (*Probe) ProtoReflect

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

func (*Probe) Reset

func (x *Probe) Reset()

func (*Probe) String

func (x *Probe) String() string

type ProbeHandler

type ProbeHandler struct {

	// Exec specifies the action to take.
	// +optional
	Exec *ExecAction `protobuf:"bytes,1,opt,name=exec" json:"exec,omitempty"`
	// HTTPGet specifies the http request to perform.
	// +optional
	HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet" json:"httpGet,omitempty"`
	// TCPSocket specifies an action involving a TCP port.
	// +optional
	TcpSocket *TCPSocketAction `protobuf:"bytes,3,opt,name=tcpSocket" json:"tcpSocket,omitempty"`
	// GRPC specifies an action involving a GRPC port.
	// +optional
	Grpc *GRPCAction `protobuf:"bytes,4,opt,name=grpc" json:"grpc,omitempty"`
	// contains filtered or unexported fields
}

ProbeHandler defines a specific action that should be taken in a probe. One and only one of the fields must be specified.

func (*ProbeHandler) Descriptor deprecated

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

Deprecated: Use ProbeHandler.ProtoReflect.Descriptor instead.

func (*ProbeHandler) GetExec

func (x *ProbeHandler) GetExec() *ExecAction

func (*ProbeHandler) GetGrpc

func (x *ProbeHandler) GetGrpc() *GRPCAction

func (*ProbeHandler) GetHttpGet

func (x *ProbeHandler) GetHttpGet() *HTTPGetAction

func (*ProbeHandler) GetTcpSocket

func (x *ProbeHandler) GetTcpSocket() *TCPSocketAction

func (*ProbeHandler) ProtoMessage

func (*ProbeHandler) ProtoMessage()

func (*ProbeHandler) ProtoReflect

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

func (*ProbeHandler) Reset

func (x *ProbeHandler) Reset()

func (*ProbeHandler) String

func (x *ProbeHandler) String() string

type ProjectedVolumeSource

type ProjectedVolumeSource struct {

	// sources is the list of volume projections
	// +optional
	Sources []*VolumeProjection `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
	// defaultMode are the mode bits used to set permissions on created files by default.
	// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
	// Directories within the path are not affected by this setting.
	// This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	// +optional
	DefaultMode *int32 `protobuf:"varint,2,opt,name=defaultMode" json:"defaultMode,omitempty"`
	// contains filtered or unexported fields
}

Represents a projected volume source

func (*ProjectedVolumeSource) Descriptor deprecated

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

Deprecated: Use ProjectedVolumeSource.ProtoReflect.Descriptor instead.

func (*ProjectedVolumeSource) GetDefaultMode

func (x *ProjectedVolumeSource) GetDefaultMode() int32

func (*ProjectedVolumeSource) GetSources

func (x *ProjectedVolumeSource) GetSources() []*VolumeProjection

func (*ProjectedVolumeSource) ProtoMessage

func (*ProjectedVolumeSource) ProtoMessage()

func (*ProjectedVolumeSource) ProtoReflect

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

func (*ProjectedVolumeSource) Reset

func (x *ProjectedVolumeSource) Reset()

func (*ProjectedVolumeSource) String

func (x *ProjectedVolumeSource) String() string

type QuobyteVolumeSource

type QuobyteVolumeSource struct {

	// registry represents a single or multiple Quobyte Registry services
	// specified as a string as host:port pair (multiple entries are separated with commas)
	// which acts as the central registry for volumes
	Registry *string `protobuf:"bytes,1,opt,name=registry" json:"registry,omitempty"`
	// volume is a string that references an already created Quobyte volume by name.
	Volume *string `protobuf:"bytes,2,opt,name=volume" json:"volume,omitempty"`
	// readOnly here will force the Quobyte volume to be mounted with read-only permissions.
	// Defaults to false.
	// +optional
	ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
	// user to map volume access to
	// Defaults to serivceaccount user
	// +optional
	User *string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
	// group to map volume access to
	// Default is no group
	// +optional
	Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"`
	// tenant owning the given Quobyte volume in the Backend
	// Used with dynamically provisioned Quobyte volumes, value is set by the plugin
	// +optional
	Tenant *string `protobuf:"bytes,6,opt,name=tenant" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.

func (*QuobyteVolumeSource) Descriptor deprecated

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

Deprecated: Use QuobyteVolumeSource.ProtoReflect.Descriptor instead.

func (*QuobyteVolumeSource) GetGroup

func (x *QuobyteVolumeSource) GetGroup() string

func (*QuobyteVolumeSource) GetReadOnly

func (x *QuobyteVolumeSource) GetReadOnly() bool

func (*QuobyteVolumeSource) GetRegistry

func (x *QuobyteVolumeSource) GetRegistry() string

func (*QuobyteVolumeSource) GetTenant

func (x *QuobyteVolumeSource) GetTenant() string

func (*QuobyteVolumeSource) GetUser

func (x *QuobyteVolumeSource) GetUser() string

func (*QuobyteVolumeSource) GetVolume

func (x *QuobyteVolumeSource) GetVolume() string

func (*QuobyteVolumeSource) ProtoMessage

func (*QuobyteVolumeSource) ProtoMessage()

func (*QuobyteVolumeSource) ProtoReflect

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

func (*QuobyteVolumeSource) Reset

func (x *QuobyteVolumeSource) Reset()

func (*QuobyteVolumeSource) String

func (x *QuobyteVolumeSource) String() string

type RBDPersistentVolumeSource

type RBDPersistentVolumeSource struct {

	// monitors is a collection of Ceph monitors.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
	// image is the rados image name.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
	// fsType is the filesystem type of the volume that you want to mount.
	// Tip: Ensure that the filesystem type is supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
	// pool is the rados pool name.
	// Default is rbd.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"`
	// user is the rados user name.
	// Default is admin.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"`
	// keyring is the path to key ring for RBDUser.
	// Default is /etc/ceph/keyring.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	Keyring *string `protobuf:"bytes,6,opt,name=keyring" json:"keyring,omitempty"`
	// secretRef is name of the authentication secret for RBDUser. If provided
	// overrides keyring.
	// Default is nil.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	SecretRef *SecretReference `protobuf:"bytes,7,opt,name=secretRef" json:"secretRef,omitempty"`
	// readOnly here will force the ReadOnly setting in VolumeMounts.
	// Defaults to false.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	ReadOnly *bool `protobuf:"varint,8,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

func (*RBDPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use RBDPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*RBDPersistentVolumeSource) GetFsType

func (x *RBDPersistentVolumeSource) GetFsType() string

func (*RBDPersistentVolumeSource) GetImage

func (x *RBDPersistentVolumeSource) GetImage() string

func (*RBDPersistentVolumeSource) GetKeyring

func (x *RBDPersistentVolumeSource) GetKeyring() string

func (*RBDPersistentVolumeSource) GetMonitors

func (x *RBDPersistentVolumeSource) GetMonitors() []string

func (*RBDPersistentVolumeSource) GetPool

func (x *RBDPersistentVolumeSource) GetPool() string

func (*RBDPersistentVolumeSource) GetReadOnly

func (x *RBDPersistentVolumeSource) GetReadOnly() bool

func (*RBDPersistentVolumeSource) GetSecretRef

func (x *RBDPersistentVolumeSource) GetSecretRef() *SecretReference

func (*RBDPersistentVolumeSource) GetUser

func (x *RBDPersistentVolumeSource) GetUser() string

func (*RBDPersistentVolumeSource) ProtoMessage

func (*RBDPersistentVolumeSource) ProtoMessage()

func (*RBDPersistentVolumeSource) ProtoReflect

func (*RBDPersistentVolumeSource) Reset

func (x *RBDPersistentVolumeSource) Reset()

func (*RBDPersistentVolumeSource) String

func (x *RBDPersistentVolumeSource) String() string

type RBDVolumeSource

type RBDVolumeSource struct {

	// monitors is a collection of Ceph monitors.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
	// image is the rados image name.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
	// fsType is the filesystem type of the volume that you want to mount.
	// Tip: Ensure that the filesystem type is supported by the host operating system.
	// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
	// TODO: how do we prevent errors in the filesystem from compromising the machine
	// +optional
	FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
	// pool is the rados pool name.
	// Default is rbd.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"`
	// user is the rados user name.
	// Default is admin.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"`
	// keyring is the path to key ring for RBDUser.
	// Default is /etc/ceph/keyring.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	Keyring *string `protobuf:"bytes,6,opt,name=keyring" json:"keyring,omitempty"`
	// secretRef is name of the authentication secret for RBDUser. If provided
	// overrides keyring.
	// Default is nil.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	SecretRef *LocalObjectReference `protobuf:"bytes,7,opt,name=secretRef" json:"secretRef,omitempty"`
	// readOnly here will force the ReadOnly setting in VolumeMounts.
	// Defaults to false.
	// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// +optional
	ReadOnly *bool `protobuf:"varint,8,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

func (*RBDVolumeSource) Descriptor deprecated

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

Deprecated: Use RBDVolumeSource.ProtoReflect.Descriptor instead.

func (*RBDVolumeSource) GetFsType

func (x *RBDVolumeSource) GetFsType() string

func (*RBDVolumeSource) GetImage

func (x *RBDVolumeSource) GetImage() string

func (*RBDVolumeSource) GetKeyring

func (x *RBDVolumeSource) GetKeyring() string

func (*RBDVolumeSource) GetMonitors

func (x *RBDVolumeSource) GetMonitors() []string

func (*RBDVolumeSource) GetPool

func (x *RBDVolumeSource) GetPool() string

func (*RBDVolumeSource) GetReadOnly

func (x *RBDVolumeSource) GetReadOnly() bool

func (*RBDVolumeSource) GetSecretRef

func (x *RBDVolumeSource) GetSecretRef() *LocalObjectReference

func (*RBDVolumeSource) GetUser

func (x *RBDVolumeSource) GetUser() string

func (*RBDVolumeSource) ProtoMessage

func (*RBDVolumeSource) ProtoMessage()

func (*RBDVolumeSource) ProtoReflect

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

func (*RBDVolumeSource) Reset

func (x *RBDVolumeSource) Reset()

func (*RBDVolumeSource) String

func (x *RBDVolumeSource) String() string

type RangeAllocation

type RangeAllocation struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Range is string that identifies the range represented by 'data'.
	Range *string `protobuf:"bytes,2,opt,name=range" json:"range,omitempty"`
	// Data is a bit array containing all allocated addresses in the previous segment.
	Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

RangeAllocation is not a public type.

func (*RangeAllocation) Descriptor deprecated

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

Deprecated: Use RangeAllocation.ProtoReflect.Descriptor instead.

func (*RangeAllocation) GetData

func (x *RangeAllocation) GetData() []byte

func (*RangeAllocation) GetMetadata

func (x *RangeAllocation) GetMetadata() *v1.ObjectMeta

func (*RangeAllocation) GetRange

func (x *RangeAllocation) GetRange() string

func (*RangeAllocation) ProtoMessage

func (*RangeAllocation) ProtoMessage()

func (*RangeAllocation) ProtoReflect

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

func (*RangeAllocation) Reset

func (x *RangeAllocation) Reset()

func (*RangeAllocation) String

func (x *RangeAllocation) String() string

type ReplicationController

type ReplicationController struct {

	// If the Labels of a ReplicationController are empty, they are defaulted to
	// be the same as the Pod(s) that the replication controller manages.
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the specification of the desired behavior of the replication controller.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *ReplicationControllerSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status is the most recently observed status of the replication controller.
	// This data may be out of date by some window of time.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *ReplicationControllerStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ReplicationController represents the configuration of a replication controller.

func (*ReplicationController) Descriptor deprecated

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

Deprecated: Use ReplicationController.ProtoReflect.Descriptor instead.

func (*ReplicationController) GetMetadata

func (x *ReplicationController) GetMetadata() *v1.ObjectMeta

func (*ReplicationController) GetSpec

func (*ReplicationController) GetStatus

func (*ReplicationController) ProtoMessage

func (*ReplicationController) ProtoMessage()

func (*ReplicationController) ProtoReflect

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

func (*ReplicationController) Reset

func (x *ReplicationController) Reset()

func (*ReplicationController) String

func (x *ReplicationController) String() string

type ReplicationControllerCondition

type ReplicationControllerCondition struct {

	// Type of replication controller condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

ReplicationControllerCondition describes the state of a replication controller at a certain point.

func (*ReplicationControllerCondition) Descriptor deprecated

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

Deprecated: Use ReplicationControllerCondition.ProtoReflect.Descriptor instead.

func (*ReplicationControllerCondition) GetLastTransitionTime

func (x *ReplicationControllerCondition) GetLastTransitionTime() *v1.Time

func (*ReplicationControllerCondition) GetMessage

func (x *ReplicationControllerCondition) GetMessage() string

func (*ReplicationControllerCondition) GetReason

func (x *ReplicationControllerCondition) GetReason() string

func (*ReplicationControllerCondition) GetStatus

func (x *ReplicationControllerCondition) GetStatus() string

func (*ReplicationControllerCondition) GetType

func (*ReplicationControllerCondition) ProtoMessage

func (*ReplicationControllerCondition) ProtoMessage()

func (*ReplicationControllerCondition) ProtoReflect

func (*ReplicationControllerCondition) Reset

func (x *ReplicationControllerCondition) Reset()

func (*ReplicationControllerCondition) String

type ReplicationControllerList

type ReplicationControllerList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of replication controllers.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
	Items []*ReplicationController `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ReplicationControllerList is a collection of replication controllers.

func (*ReplicationControllerList) Descriptor deprecated

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

Deprecated: Use ReplicationControllerList.ProtoReflect.Descriptor instead.

func (*ReplicationControllerList) GetItems

func (*ReplicationControllerList) GetMetadata

func (x *ReplicationControllerList) GetMetadata() *v1.ListMeta

func (*ReplicationControllerList) ProtoMessage

func (*ReplicationControllerList) ProtoMessage()

func (*ReplicationControllerList) ProtoReflect

func (*ReplicationControllerList) Reset

func (x *ReplicationControllerList) Reset()

func (*ReplicationControllerList) String

func (x *ReplicationControllerList) String() string

type ReplicationControllerSpec

type ReplicationControllerSpec struct {

	// Replicas is the number of desired replicas.
	// This is a pointer to distinguish between explicit zero and unspecified.
	// Defaults to 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
	// +optional
	Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	// Minimum number of seconds for which a newly created pod should be ready
	// without any of its container crashing, for it to be considered available.
	// Defaults to 0 (pod will be considered available as soon as it is ready)
	// +optional
	MinReadySeconds *int32 `protobuf:"varint,4,opt,name=minReadySeconds" json:"minReadySeconds,omitempty"`
	// Selector is a label query over pods that should match the Replicas count.
	// If Selector is empty, it is defaulted to the labels present on the Pod template.
	// Label keys and values that must match in order to be controlled by this replication
	// controller, if empty defaulted to labels on Pod template.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	// +mapType=atomic
	Selector map[string]string `` /* 136-byte string literal not displayed */
	// Template is the object that describes the pod that will be created if
	// insufficient replicas are detected. This takes precedence over a TemplateRef.
	// The only allowed template.spec.restartPolicy value is "Always".
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	// +optional
	Template *PodTemplateSpec `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"`
	// contains filtered or unexported fields
}

ReplicationControllerSpec is the specification of a replication controller.

func (*ReplicationControllerSpec) Descriptor deprecated

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

Deprecated: Use ReplicationControllerSpec.ProtoReflect.Descriptor instead.

func (*ReplicationControllerSpec) GetMinReadySeconds

func (x *ReplicationControllerSpec) GetMinReadySeconds() int32

func (*ReplicationControllerSpec) GetReplicas

func (x *ReplicationControllerSpec) GetReplicas() int32

func (*ReplicationControllerSpec) GetSelector

func (x *ReplicationControllerSpec) GetSelector() map[string]string

func (*ReplicationControllerSpec) GetTemplate

func (x *ReplicationControllerSpec) GetTemplate() *PodTemplateSpec

func (*ReplicationControllerSpec) ProtoMessage

func (*ReplicationControllerSpec) ProtoMessage()

func (*ReplicationControllerSpec) ProtoReflect

func (*ReplicationControllerSpec) Reset

func (x *ReplicationControllerSpec) Reset()

func (*ReplicationControllerSpec) String

func (x *ReplicationControllerSpec) String() string

type ReplicationControllerStatus

type ReplicationControllerStatus struct {

	// Replicas is the most recently observed number of replicas.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
	Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	// The number of pods that have labels matching the labels of the pod template of the replication controller.
	// +optional
	FullyLabeledReplicas *int32 `protobuf:"varint,2,opt,name=fullyLabeledReplicas" json:"fullyLabeledReplicas,omitempty"`
	// The number of ready replicas for this replication controller.
	// +optional
	ReadyReplicas *int32 `protobuf:"varint,4,opt,name=readyReplicas" json:"readyReplicas,omitempty"`
	// The number of available replicas (ready for at least minReadySeconds) for this replication controller.
	// +optional
	AvailableReplicas *int32 `protobuf:"varint,5,opt,name=availableReplicas" json:"availableReplicas,omitempty"`
	// ObservedGeneration reflects the generation of the most recently observed replication controller.
	// +optional
	ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration" json:"observedGeneration,omitempty"`
	// Represents the latest available observations of a replication controller's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*ReplicationControllerCondition `protobuf:"bytes,6,rep,name=conditions" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

ReplicationControllerStatus represents the current status of a replication controller.

func (*ReplicationControllerStatus) Descriptor deprecated

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

Deprecated: Use ReplicationControllerStatus.ProtoReflect.Descriptor instead.

func (*ReplicationControllerStatus) GetAvailableReplicas

func (x *ReplicationControllerStatus) GetAvailableReplicas() int32

func (*ReplicationControllerStatus) GetConditions

func (*ReplicationControllerStatus) GetFullyLabeledReplicas

func (x *ReplicationControllerStatus) GetFullyLabeledReplicas() int32

func (*ReplicationControllerStatus) GetObservedGeneration

func (x *ReplicationControllerStatus) GetObservedGeneration() int64

func (*ReplicationControllerStatus) GetReadyReplicas

func (x *ReplicationControllerStatus) GetReadyReplicas() int32

func (*ReplicationControllerStatus) GetReplicas

func (x *ReplicationControllerStatus) GetReplicas() int32

func (*ReplicationControllerStatus) ProtoMessage

func (*ReplicationControllerStatus) ProtoMessage()

func (*ReplicationControllerStatus) ProtoReflect

func (*ReplicationControllerStatus) Reset

func (x *ReplicationControllerStatus) Reset()

func (*ReplicationControllerStatus) String

func (x *ReplicationControllerStatus) String() string

type ResourceClaim

type ResourceClaim struct {

	// Name must match the name of one entry in pod.spec.resourceClaims of
	// the Pod where this field is used. It makes that resource available
	// inside a container.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ResourceClaim references one entry in PodSpec.ResourceClaims.

func (*ResourceClaim) Descriptor deprecated

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

Deprecated: Use ResourceClaim.ProtoReflect.Descriptor instead.

func (*ResourceClaim) GetName

func (x *ResourceClaim) GetName() string

func (*ResourceClaim) ProtoMessage

func (*ResourceClaim) ProtoMessage()

func (*ResourceClaim) ProtoReflect

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

func (*ResourceClaim) Reset

func (x *ResourceClaim) Reset()

func (*ResourceClaim) String

func (x *ResourceClaim) String() string

type ResourceFieldSelector

type ResourceFieldSelector struct {

	// Container name: required for volumes, optional for env vars
	// +optional
	ContainerName *string `protobuf:"bytes,1,opt,name=containerName" json:"containerName,omitempty"`
	// Required: resource to select
	Resource *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
	// Specifies the output format of the exposed resources, defaults to "1"
	// +optional
	Divisor *resource.Quantity `protobuf:"bytes,3,opt,name=divisor" json:"divisor,omitempty"`
	// contains filtered or unexported fields
}

ResourceFieldSelector represents container resources (cpu, memory) and their output format +structType=atomic

func (*ResourceFieldSelector) Descriptor deprecated

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

Deprecated: Use ResourceFieldSelector.ProtoReflect.Descriptor instead.

func (*ResourceFieldSelector) GetContainerName

func (x *ResourceFieldSelector) GetContainerName() string

func (*ResourceFieldSelector) GetDivisor

func (x *ResourceFieldSelector) GetDivisor() *resource.Quantity

func (*ResourceFieldSelector) GetResource

func (x *ResourceFieldSelector) GetResource() string

func (*ResourceFieldSelector) ProtoMessage

func (*ResourceFieldSelector) ProtoMessage()

func (*ResourceFieldSelector) ProtoReflect

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

func (*ResourceFieldSelector) Reset

func (x *ResourceFieldSelector) Reset()

func (*ResourceFieldSelector) String

func (x *ResourceFieldSelector) String() string

type ResourceQuota

type ResourceQuota struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the desired quota.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *ResourceQuotaSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status defines the actual enforced quota and its current usage.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *ResourceQuotaStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

ResourceQuota sets aggregate quota restrictions enforced per namespace

func (*ResourceQuota) Descriptor deprecated

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

Deprecated: Use ResourceQuota.ProtoReflect.Descriptor instead.

func (*ResourceQuota) GetMetadata

func (x *ResourceQuota) GetMetadata() *v1.ObjectMeta

func (*ResourceQuota) GetSpec

func (x *ResourceQuota) GetSpec() *ResourceQuotaSpec

func (*ResourceQuota) GetStatus

func (x *ResourceQuota) GetStatus() *ResourceQuotaStatus

func (*ResourceQuota) ProtoMessage

func (*ResourceQuota) ProtoMessage()

func (*ResourceQuota) ProtoReflect

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

func (*ResourceQuota) Reset

func (x *ResourceQuota) Reset()

func (*ResourceQuota) String

func (x *ResourceQuota) String() string

type ResourceQuotaList

type ResourceQuotaList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is a list of ResourceQuota objects.
	// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	Items []*ResourceQuota `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ResourceQuotaList is a list of ResourceQuota items.

func (*ResourceQuotaList) Descriptor deprecated

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

Deprecated: Use ResourceQuotaList.ProtoReflect.Descriptor instead.

func (*ResourceQuotaList) GetItems

func (x *ResourceQuotaList) GetItems() []*ResourceQuota

func (*ResourceQuotaList) GetMetadata

func (x *ResourceQuotaList) GetMetadata() *v1.ListMeta

func (*ResourceQuotaList) ProtoMessage

func (*ResourceQuotaList) ProtoMessage()

func (*ResourceQuotaList) ProtoReflect

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

func (*ResourceQuotaList) Reset

func (x *ResourceQuotaList) Reset()

func (*ResourceQuotaList) String

func (x *ResourceQuotaList) String() string

type ResourceQuotaSpec

type ResourceQuotaSpec struct {

	// hard is the set of desired hard limits for each named resource.
	// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	// +optional
	Hard map[string]*resource.Quantity `` /* 128-byte string literal not displayed */
	// A collection of filters that must match each object tracked by a quota.
	// If not specified, the quota matches all objects.
	// +optional
	Scopes []string `protobuf:"bytes,2,rep,name=scopes" json:"scopes,omitempty"`
	// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
	// but expressed using ScopeSelectorOperator in combination with possible values.
	// For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
	// +optional
	ScopeSelector *ScopeSelector `protobuf:"bytes,3,opt,name=scopeSelector" json:"scopeSelector,omitempty"`
	// contains filtered or unexported fields
}

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

func (*ResourceQuotaSpec) Descriptor deprecated

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

Deprecated: Use ResourceQuotaSpec.ProtoReflect.Descriptor instead.

func (*ResourceQuotaSpec) GetHard

func (x *ResourceQuotaSpec) GetHard() map[string]*resource.Quantity

func (*ResourceQuotaSpec) GetScopeSelector

func (x *ResourceQuotaSpec) GetScopeSelector() *ScopeSelector

func (*ResourceQuotaSpec) GetScopes

func (x *ResourceQuotaSpec) GetScopes() []string

func (*ResourceQuotaSpec) ProtoMessage

func (*ResourceQuotaSpec) ProtoMessage()

func (*ResourceQuotaSpec) ProtoReflect

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

func (*ResourceQuotaSpec) Reset

func (x *ResourceQuotaSpec) Reset()

func (*ResourceQuotaSpec) String

func (x *ResourceQuotaSpec) String() string

type ResourceQuotaStatus

type ResourceQuotaStatus struct {

	// Hard is the set of enforced hard limits for each named resource.
	// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	// +optional
	Hard map[string]*resource.Quantity `` /* 128-byte string literal not displayed */
	// Used is the current observed total usage of the resource in the namespace.
	// +optional
	Used map[string]*resource.Quantity `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

ResourceQuotaStatus defines the enforced hard limits and observed use.

func (*ResourceQuotaStatus) Descriptor deprecated

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

Deprecated: Use ResourceQuotaStatus.ProtoReflect.Descriptor instead.

func (*ResourceQuotaStatus) GetHard

func (x *ResourceQuotaStatus) GetHard() map[string]*resource.Quantity

func (*ResourceQuotaStatus) GetUsed

func (x *ResourceQuotaStatus) GetUsed() map[string]*resource.Quantity

func (*ResourceQuotaStatus) ProtoMessage

func (*ResourceQuotaStatus) ProtoMessage()

func (*ResourceQuotaStatus) ProtoReflect

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

func (*ResourceQuotaStatus) Reset

func (x *ResourceQuotaStatus) Reset()

func (*ResourceQuotaStatus) String

func (x *ResourceQuotaStatus) String() string

type ResourceRequirements

type 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]*resource.Quantity `` /* 132-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]*resource.Quantity `` /* 136-byte string literal not displayed */
	// Claims lists the names of resources, defined in spec.resourceClaims,
	// that are used by this container.
	//
	// This is an alpha field and requires enabling the
	// DynamicResourceAllocation feature gate.
	//
	// This field is immutable. It can only be set for containers.
	//
	// +listType=map
	// +listMapKey=name
	// +featureGate=DynamicResourceAllocation
	// +optional
	Claims []*ResourceClaim `protobuf:"bytes,3,rep,name=claims" json:"claims,omitempty"`
	// contains filtered or unexported fields
}

ResourceRequirements describes the compute resource requirements.

func (*ResourceRequirements) Descriptor deprecated

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

Deprecated: Use ResourceRequirements.ProtoReflect.Descriptor instead.

func (*ResourceRequirements) GetClaims

func (x *ResourceRequirements) GetClaims() []*ResourceClaim

func (*ResourceRequirements) GetLimits

func (x *ResourceRequirements) GetLimits() map[string]*resource.Quantity

func (*ResourceRequirements) GetRequests

func (x *ResourceRequirements) GetRequests() map[string]*resource.Quantity

func (*ResourceRequirements) ProtoMessage

func (*ResourceRequirements) ProtoMessage()

func (*ResourceRequirements) ProtoReflect

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

func (*ResourceRequirements) Reset

func (x *ResourceRequirements) Reset()

func (*ResourceRequirements) String

func (x *ResourceRequirements) String() string

type SELinuxOptions

type SELinuxOptions struct {

	// User is a SELinux user label that applies to the container.
	// +optional
	User *string `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	// Role is a SELinux role label that applies to the container.
	// +optional
	Role *string `protobuf:"bytes,2,opt,name=role" json:"role,omitempty"`
	// Type is a SELinux type label that applies to the container.
	// +optional
	Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
	// Level is SELinux level label that applies to the container.
	// +optional
	Level *string `protobuf:"bytes,4,opt,name=level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

SELinuxOptions are the labels to be applied to the container

func (*SELinuxOptions) Descriptor deprecated

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

Deprecated: Use SELinuxOptions.ProtoReflect.Descriptor instead.

func (*SELinuxOptions) GetLevel

func (x *SELinuxOptions) GetLevel() string

func (*SELinuxOptions) GetRole

func (x *SELinuxOptions) GetRole() string

func (*SELinuxOptions) GetType

func (x *SELinuxOptions) GetType() string

func (*SELinuxOptions) GetUser

func (x *SELinuxOptions) GetUser() string

func (*SELinuxOptions) ProtoMessage

func (*SELinuxOptions) ProtoMessage()

func (*SELinuxOptions) ProtoReflect

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

func (*SELinuxOptions) Reset

func (x *SELinuxOptions) Reset()

func (*SELinuxOptions) String

func (x *SELinuxOptions) String() string

type ScaleIOPersistentVolumeSource

type ScaleIOPersistentVolumeSource struct {

	// gateway is the host address of the ScaleIO API Gateway.
	Gateway *string `protobuf:"bytes,1,opt,name=gateway" json:"gateway,omitempty"`
	// system is the name of the storage system as configured in ScaleIO.
	System *string `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"`
	// secretRef references to the secret for ScaleIO user and other
	// sensitive information. If this is not provided, Login operation will fail.
	SecretRef *SecretReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
	// sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
	// +optional
	SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled" json:"sslEnabled,omitempty"`
	// protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
	// +optional
	ProtectionDomain *string `protobuf:"bytes,5,opt,name=protectionDomain" json:"protectionDomain,omitempty"`
	// storagePool is the ScaleIO Storage Pool associated with the protection domain.
	// +optional
	StoragePool *string `protobuf:"bytes,6,opt,name=storagePool" json:"storagePool,omitempty"`
	// storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
	// Default is ThinProvisioned.
	// +optional
	StorageMode *string `protobuf:"bytes,7,opt,name=storageMode" json:"storageMode,omitempty"`
	// volumeName is the name of a volume already created in the ScaleIO system
	// that is associated with this volume source.
	VolumeName *string `protobuf:"bytes,8,opt,name=volumeName" json:"volumeName,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs".
	// Default is "xfs"
	// +optional
	FsType *string `protobuf:"bytes,9,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,10,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

func (*ScaleIOPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use ScaleIOPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*ScaleIOPersistentVolumeSource) GetFsType

func (x *ScaleIOPersistentVolumeSource) GetFsType() string

func (*ScaleIOPersistentVolumeSource) GetGateway

func (x *ScaleIOPersistentVolumeSource) GetGateway() string

func (*ScaleIOPersistentVolumeSource) GetProtectionDomain

func (x *ScaleIOPersistentVolumeSource) GetProtectionDomain() string

func (*ScaleIOPersistentVolumeSource) GetReadOnly

func (x *ScaleIOPersistentVolumeSource) GetReadOnly() bool

func (*ScaleIOPersistentVolumeSource) GetSecretRef

func (*ScaleIOPersistentVolumeSource) GetSslEnabled

func (x *ScaleIOPersistentVolumeSource) GetSslEnabled() bool

func (*ScaleIOPersistentVolumeSource) GetStorageMode

func (x *ScaleIOPersistentVolumeSource) GetStorageMode() string

func (*ScaleIOPersistentVolumeSource) GetStoragePool

func (x *ScaleIOPersistentVolumeSource) GetStoragePool() string

func (*ScaleIOPersistentVolumeSource) GetSystem

func (x *ScaleIOPersistentVolumeSource) GetSystem() string

func (*ScaleIOPersistentVolumeSource) GetVolumeName

func (x *ScaleIOPersistentVolumeSource) GetVolumeName() string

func (*ScaleIOPersistentVolumeSource) ProtoMessage

func (*ScaleIOPersistentVolumeSource) ProtoMessage()

func (*ScaleIOPersistentVolumeSource) ProtoReflect

func (*ScaleIOPersistentVolumeSource) Reset

func (x *ScaleIOPersistentVolumeSource) Reset()

func (*ScaleIOPersistentVolumeSource) String

type ScaleIOVolumeSource

type ScaleIOVolumeSource struct {

	// gateway is the host address of the ScaleIO API Gateway.
	Gateway *string `protobuf:"bytes,1,opt,name=gateway" json:"gateway,omitempty"`
	// system is the name of the storage system as configured in ScaleIO.
	System *string `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"`
	// secretRef references to the secret for ScaleIO user and other
	// sensitive information. If this is not provided, Login operation will fail.
	SecretRef *LocalObjectReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
	// sslEnabled Flag enable/disable SSL communication with Gateway, default false
	// +optional
	SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled" json:"sslEnabled,omitempty"`
	// protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
	// +optional
	ProtectionDomain *string `protobuf:"bytes,5,opt,name=protectionDomain" json:"protectionDomain,omitempty"`
	// storagePool is the ScaleIO Storage Pool associated with the protection domain.
	// +optional
	StoragePool *string `protobuf:"bytes,6,opt,name=storagePool" json:"storagePool,omitempty"`
	// storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
	// Default is ThinProvisioned.
	// +optional
	StorageMode *string `protobuf:"bytes,7,opt,name=storageMode" json:"storageMode,omitempty"`
	// volumeName is the name of a volume already created in the ScaleIO system
	// that is associated with this volume source.
	VolumeName *string `protobuf:"bytes,8,opt,name=volumeName" json:"volumeName,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs".
	// Default is "xfs".
	// +optional
	FsType *string `protobuf:"bytes,9,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly Defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,10,opt,name=readOnly" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

ScaleIOVolumeSource represents a persistent ScaleIO volume

func (*ScaleIOVolumeSource) Descriptor deprecated

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

Deprecated: Use ScaleIOVolumeSource.ProtoReflect.Descriptor instead.

func (*ScaleIOVolumeSource) GetFsType

func (x *ScaleIOVolumeSource) GetFsType() string

func (*ScaleIOVolumeSource) GetGateway

func (x *ScaleIOVolumeSource) GetGateway() string

func (*ScaleIOVolumeSource) GetProtectionDomain

func (x *ScaleIOVolumeSource) GetProtectionDomain() string

func (*ScaleIOVolumeSource) GetReadOnly

func (x *ScaleIOVolumeSource) GetReadOnly() bool

func (*ScaleIOVolumeSource) GetSecretRef

func (x *ScaleIOVolumeSource) GetSecretRef() *LocalObjectReference

func (*ScaleIOVolumeSource) GetSslEnabled

func (x *ScaleIOVolumeSource) GetSslEnabled() bool

func (*ScaleIOVolumeSource) GetStorageMode

func (x *ScaleIOVolumeSource) GetStorageMode() string

func (*ScaleIOVolumeSource) GetStoragePool

func (x *ScaleIOVolumeSource) GetStoragePool() string

func (*ScaleIOVolumeSource) GetSystem

func (x *ScaleIOVolumeSource) GetSystem() string

func (*ScaleIOVolumeSource) GetVolumeName

func (x *ScaleIOVolumeSource) GetVolumeName() string

func (*ScaleIOVolumeSource) ProtoMessage

func (*ScaleIOVolumeSource) ProtoMessage()

func (*ScaleIOVolumeSource) ProtoReflect

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

func (*ScaleIOVolumeSource) Reset

func (x *ScaleIOVolumeSource) Reset()

func (*ScaleIOVolumeSource) String

func (x *ScaleIOVolumeSource) String() string

type ScopeSelector

type ScopeSelector struct {

	// A list of scope selector requirements by scope of the resources.
	// +optional
	MatchExpressions []*ScopedResourceSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions" json:"matchExpressions,omitempty"`
	// contains filtered or unexported fields
}

A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. +structType=atomic

func (*ScopeSelector) Descriptor deprecated

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

Deprecated: Use ScopeSelector.ProtoReflect.Descriptor instead.

func (*ScopeSelector) GetMatchExpressions

func (x *ScopeSelector) GetMatchExpressions() []*ScopedResourceSelectorRequirement

func (*ScopeSelector) ProtoMessage

func (*ScopeSelector) ProtoMessage()

func (*ScopeSelector) ProtoReflect

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

func (*ScopeSelector) Reset

func (x *ScopeSelector) Reset()

func (*ScopeSelector) String

func (x *ScopeSelector) String() string

type ScopedResourceSelectorRequirement

type ScopedResourceSelectorRequirement struct {

	// The name of the scope that the selector applies to.
	ScopeName *string `protobuf:"bytes,1,opt,name=scopeName" json:"scopeName,omitempty"`
	// Represents a scope's relationship to a set of values.
	// Valid operators are In, NotIn, Exists, DoesNotExist.
	Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
	// An array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty.
	// This array is replaced during a strategic merge patch.
	// +optional
	Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.

func (*ScopedResourceSelectorRequirement) Descriptor deprecated

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

Deprecated: Use ScopedResourceSelectorRequirement.ProtoReflect.Descriptor instead.

func (*ScopedResourceSelectorRequirement) GetOperator

func (x *ScopedResourceSelectorRequirement) GetOperator() string

func (*ScopedResourceSelectorRequirement) GetScopeName

func (x *ScopedResourceSelectorRequirement) GetScopeName() string

func (*ScopedResourceSelectorRequirement) GetValues

func (x *ScopedResourceSelectorRequirement) GetValues() []string

func (*ScopedResourceSelectorRequirement) ProtoMessage

func (*ScopedResourceSelectorRequirement) ProtoMessage()

func (*ScopedResourceSelectorRequirement) ProtoReflect

func (*ScopedResourceSelectorRequirement) Reset

func (*ScopedResourceSelectorRequirement) String

type SeccompProfile

type SeccompProfile struct {

	// type indicates which kind of seccomp profile will be applied.
	// Valid options are:
	//
	// Localhost - a profile defined in a file on the node should be used.
	// RuntimeDefault - the container runtime default profile should be used.
	// Unconfined - no profile should be applied.
	// +unionDiscriminator
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// localhostProfile indicates a profile defined in a file on the node should be used.
	// The profile must be preconfigured on the node to work.
	// Must be a descending path, relative to the kubelet's configured seccomp profile location.
	// Must be set if type is "Localhost". Must NOT be set for any other type.
	// +optional
	LocalhostProfile *string `protobuf:"bytes,2,opt,name=localhostProfile" json:"localhostProfile,omitempty"`
	// contains filtered or unexported fields
}

SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. +union

func (*SeccompProfile) Descriptor deprecated

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

Deprecated: Use SeccompProfile.ProtoReflect.Descriptor instead.

func (*SeccompProfile) GetLocalhostProfile

func (x *SeccompProfile) GetLocalhostProfile() string

func (*SeccompProfile) GetType

func (x *SeccompProfile) GetType() string

func (*SeccompProfile) ProtoMessage

func (*SeccompProfile) ProtoMessage()

func (*SeccompProfile) ProtoReflect

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

func (*SeccompProfile) Reset

func (x *SeccompProfile) Reset()

func (*SeccompProfile) String

func (x *SeccompProfile) String() string

type Secret

type Secret struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Immutable, if set to true, ensures that data stored in the Secret cannot
	// be updated (only object metadata can be modified).
	// If not set to true, the field can be modified at any time.
	// Defaulted to nil.
	// +optional
	Immutable *bool `protobuf:"varint,5,opt,name=immutable" json:"immutable,omitempty"`
	// Data contains the secret data. Each key must consist of alphanumeric
	// characters, '-', '_' or '.'. The serialized form of the secret data is a
	// base64 encoded string, representing the arbitrary (possibly non-string)
	// data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
	// +optional
	Data map[string][]byte `` /* 128-byte string literal not displayed */
	// stringData allows specifying non-binary secret data in string form.
	// It is provided as a write-only input field for convenience.
	// All keys and values are merged into the data field on write, overwriting any existing values.
	// The stringData field is never output when reading from the API.
	// +k8s:conversion-gen=false
	// +optional
	StringData map[string]string `` /* 140-byte string literal not displayed */
	// Used to facilitate programmatic handling of secret data.
	// More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
	// +optional
	Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetData

func (x *Secret) GetData() map[string][]byte

func (*Secret) GetImmutable

func (x *Secret) GetImmutable() bool

func (*Secret) GetMetadata

func (x *Secret) GetMetadata() *v1.ObjectMeta

func (*Secret) GetStringData

func (x *Secret) GetStringData() map[string]string

func (*Secret) GetType

func (x *Secret) GetType() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type SecretEnvSource

type SecretEnvSource struct {

	// The Secret to select from.
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// Specify whether the Secret must be defined
	// +optional
	Optional *bool `protobuf:"varint,2,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

func (*SecretEnvSource) Descriptor deprecated

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

Deprecated: Use SecretEnvSource.ProtoReflect.Descriptor instead.

func (*SecretEnvSource) GetLocalObjectReference

func (x *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference

func (*SecretEnvSource) GetOptional

func (x *SecretEnvSource) GetOptional() bool

func (*SecretEnvSource) ProtoMessage

func (*SecretEnvSource) ProtoMessage()

func (*SecretEnvSource) ProtoReflect

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

func (*SecretEnvSource) Reset

func (x *SecretEnvSource) Reset()

func (*SecretEnvSource) String

func (x *SecretEnvSource) String() string

type SecretKeySelector

type SecretKeySelector struct {

	// The name of the secret in the pod's namespace to select from.
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// The key of the secret to select from.  Must be a valid secret key.
	Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	// Specify whether the Secret or its key must be defined
	// +optional
	Optional *bool `protobuf:"varint,3,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

SecretKeySelector selects a key of a Secret. +structType=atomic

func (*SecretKeySelector) Descriptor deprecated

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

Deprecated: Use SecretKeySelector.ProtoReflect.Descriptor instead.

func (*SecretKeySelector) GetKey

func (x *SecretKeySelector) GetKey() string

func (*SecretKeySelector) GetLocalObjectReference

func (x *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference

func (*SecretKeySelector) GetOptional

func (x *SecretKeySelector) GetOptional() bool

func (*SecretKeySelector) ProtoMessage

func (*SecretKeySelector) ProtoMessage()

func (*SecretKeySelector) ProtoReflect

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

func (*SecretKeySelector) Reset

func (x *SecretKeySelector) Reset()

func (*SecretKeySelector) String

func (x *SecretKeySelector) String() string

type SecretList

type SecretList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is a list of secret objects.
	// More info: https://kubernetes.io/docs/concepts/configuration/secret
	Items []*Secret `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

SecretList is a list of Secret.

func (*SecretList) Descriptor deprecated

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

Deprecated: Use SecretList.ProtoReflect.Descriptor instead.

func (*SecretList) GetItems

func (x *SecretList) GetItems() []*Secret

func (*SecretList) GetMetadata

func (x *SecretList) GetMetadata() *v1.ListMeta

func (*SecretList) ProtoMessage

func (*SecretList) ProtoMessage()

func (*SecretList) ProtoReflect

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

func (*SecretList) Reset

func (x *SecretList) Reset()

func (*SecretList) String

func (x *SecretList) String() string

type SecretProjection

type SecretProjection struct {
	LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
	// items if unspecified, each key-value pair in the Data field of the referenced
	// Secret will be projected into the volume as a file whose name is the
	// key and content is the value. If specified, the listed keys will be
	// projected into the specified paths, and unlisted keys will not be
	// present. If a key is specified which is not present in the Secret,
	// the volume setup will error unless it is marked optional. Paths must be
	// relative and may not contain the '..' path or start with '..'.
	// +optional
	Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// optional field specify whether the Secret or its key must be defined
	// +optional
	Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

Adapts a secret into a projected volume.

The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.

func (*SecretProjection) Descriptor deprecated

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

Deprecated: Use SecretProjection.ProtoReflect.Descriptor instead.

func (*SecretProjection) GetItems

func (x *SecretProjection) GetItems() []*KeyToPath

func (*SecretProjection) GetLocalObjectReference

func (x *SecretProjection) GetLocalObjectReference() *LocalObjectReference

func (*SecretProjection) GetOptional

func (x *SecretProjection) GetOptional() bool

func (*SecretProjection) ProtoMessage

func (*SecretProjection) ProtoMessage()

func (*SecretProjection) ProtoReflect

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

func (*SecretProjection) Reset

func (x *SecretProjection) Reset()

func (*SecretProjection) String

func (x *SecretProjection) String() string

type SecretReference

type SecretReference struct {

	// name is unique within a namespace to reference a secret resource.
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// namespace defines the space within which the secret name must be unique.
	// +optional
	Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace +structType=atomic

func (*SecretReference) Descriptor deprecated

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

Deprecated: Use SecretReference.ProtoReflect.Descriptor instead.

func (*SecretReference) GetName

func (x *SecretReference) GetName() string

func (*SecretReference) GetNamespace

func (x *SecretReference) GetNamespace() string

func (*SecretReference) ProtoMessage

func (*SecretReference) ProtoMessage()

func (*SecretReference) ProtoReflect

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

func (*SecretReference) Reset

func (x *SecretReference) Reset()

func (*SecretReference) String

func (x *SecretReference) String() string

type SecretVolumeSource

type SecretVolumeSource struct {

	// secretName is the name of the secret in the pod's namespace to use.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// +optional
	SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"`
	// items If unspecified, each key-value pair in the Data field of the referenced
	// Secret will be projected into the volume as a file whose name is the
	// key and content is the value. If specified, the listed keys will be
	// projected into the specified paths, and unlisted keys will not be
	// present. If a key is specified which is not present in the Secret,
	// the volume setup will error unless it is marked optional. Paths must be
	// relative and may not contain the '..' path or start with '..'.
	// +optional
	Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// defaultMode is Optional: mode bits used to set permissions on created files by default.
	// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
	// YAML accepts both octal and decimal values, JSON requires decimal values
	// for mode bits. Defaults to 0644.
	// Directories within the path are not affected by this setting.
	// This might be in conflict with other options that affect the file
	// mode, like fsGroup, and the result can be other mode bits set.
	// +optional
	DefaultMode *int32 `protobuf:"varint,3,opt,name=defaultMode" json:"defaultMode,omitempty"`
	// optional field specify whether the Secret or its keys must be defined
	// +optional
	Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

Adapts a Secret into a volume.

The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.

func (*SecretVolumeSource) Descriptor deprecated

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

Deprecated: Use SecretVolumeSource.ProtoReflect.Descriptor instead.

func (*SecretVolumeSource) GetDefaultMode

func (x *SecretVolumeSource) GetDefaultMode() int32

func (*SecretVolumeSource) GetItems

func (x *SecretVolumeSource) GetItems() []*KeyToPath

func (*SecretVolumeSource) GetOptional

func (x *SecretVolumeSource) GetOptional() bool

func (*SecretVolumeSource) GetSecretName

func (x *SecretVolumeSource) GetSecretName() string

func (*SecretVolumeSource) ProtoMessage

func (*SecretVolumeSource) ProtoMessage()

func (*SecretVolumeSource) ProtoReflect

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

func (*SecretVolumeSource) Reset

func (x *SecretVolumeSource) Reset()

func (*SecretVolumeSource) String

func (x *SecretVolumeSource) String() string

type SecurityContext

type SecurityContext struct {

	// The capabilities to add/drop when running containers.
	// Defaults to the default set of capabilities granted by the container runtime.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities" json:"capabilities,omitempty"`
	// Run container in privileged mode.
	// Processes in privileged containers are essentially equivalent to root on the host.
	// Defaults to false.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	Privileged *bool `protobuf:"varint,2,opt,name=privileged" json:"privileged,omitempty"`
	// The SELinux context to be applied to the container.
	// If unspecified, the container runtime will allocate a random SELinux context for each
	// container.  May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SeLinuxOptions *SELinuxOptions `protobuf:"bytes,3,opt,name=seLinuxOptions" json:"seLinuxOptions,omitempty"`
	// The Windows specific settings applied to all containers.
	// If unspecified, the options from the PodSecurityContext will be used.
	// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is linux.
	// +optional
	WindowsOptions *WindowsSecurityContextOptions `protobuf:"bytes,10,opt,name=windowsOptions" json:"windowsOptions,omitempty"`
	// The UID to run the entrypoint of the container process.
	// Defaults to user specified in image metadata if unspecified.
	// May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	RunAsUser *int64 `protobuf:"varint,4,opt,name=runAsUser" json:"runAsUser,omitempty"`
	// The GID to run the entrypoint of the container process.
	// Uses runtime default if unset.
	// May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	RunAsGroup *int64 `protobuf:"varint,8,opt,name=runAsGroup" json:"runAsGroup,omitempty"`
	// Indicates that the container must run as a non-root user.
	// If true, the Kubelet will validate the image at runtime to ensure that it
	// does not run as UID 0 (root) and fail to start the container if it does.
	// If unset or false, no such validation will be performed.
	// May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// +optional
	RunAsNonRoot *bool `protobuf:"varint,5,opt,name=runAsNonRoot" json:"runAsNonRoot,omitempty"`
	// Whether this container has a read-only root filesystem.
	// Default is false.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	ReadOnlyRootFilesystem *bool `protobuf:"varint,6,opt,name=readOnlyRootFilesystem" json:"readOnlyRootFilesystem,omitempty"`
	// AllowPrivilegeEscalation controls whether a process can gain more
	// privileges than its parent process. This bool directly controls if
	// the no_new_privs flag will be set on the container process.
	// AllowPrivilegeEscalation is true always when the container is:
	// 1) run as Privileged
	// 2) has CAP_SYS_ADMIN
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	AllowPrivilegeEscalation *bool `protobuf:"varint,7,opt,name=allowPrivilegeEscalation" json:"allowPrivilegeEscalation,omitempty"`
	// procMount denotes the type of proc mount to use for the containers.
	// The default is DefaultProcMount which uses the container runtime defaults for
	// readonly paths and masked paths.
	// This requires the ProcMountType feature flag to be enabled.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	ProcMount *string `protobuf:"bytes,9,opt,name=procMount" json:"procMount,omitempty"`
	// The seccomp options to use by this container. If seccomp options are
	// provided at both the pod & container level, the container options
	// override the pod options.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SeccompProfile *SeccompProfile `protobuf:"bytes,11,opt,name=seccompProfile" json:"seccompProfile,omitempty"`
	// contains filtered or unexported fields
}

SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

func (*SecurityContext) Descriptor deprecated

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

Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.

func (*SecurityContext) GetAllowPrivilegeEscalation

func (x *SecurityContext) GetAllowPrivilegeEscalation() bool

func (*SecurityContext) GetCapabilities

func (x *SecurityContext) GetCapabilities() *Capabilities

func (*SecurityContext) GetPrivileged

func (x *SecurityContext) GetPrivileged() bool

func (*SecurityContext) GetProcMount

func (x *SecurityContext) GetProcMount() string

func (*SecurityContext) GetReadOnlyRootFilesystem

func (x *SecurityContext) GetReadOnlyRootFilesystem() bool

func (*SecurityContext) GetRunAsGroup

func (x *SecurityContext) GetRunAsGroup() int64

func (*SecurityContext) GetRunAsNonRoot

func (x *SecurityContext) GetRunAsNonRoot() bool

func (*SecurityContext) GetRunAsUser

func (x *SecurityContext) GetRunAsUser() int64

func (*SecurityContext) GetSeLinuxOptions

func (x *SecurityContext) GetSeLinuxOptions() *SELinuxOptions

func (*SecurityContext) GetSeccompProfile

func (x *SecurityContext) GetSeccompProfile() *SeccompProfile

func (*SecurityContext) GetWindowsOptions

func (x *SecurityContext) GetWindowsOptions() *WindowsSecurityContextOptions

func (*SecurityContext) ProtoMessage

func (*SecurityContext) ProtoMessage()

func (*SecurityContext) ProtoReflect

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

func (*SecurityContext) Reset

func (x *SecurityContext) Reset()

func (*SecurityContext) String

func (x *SecurityContext) String() string

type SerializedReference

type SerializedReference struct {

	// The reference to an object in the system.
	// +optional
	Reference *ObjectReference `protobuf:"bytes,1,opt,name=reference" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

SerializedReference is a reference to serialized object.

func (*SerializedReference) Descriptor deprecated

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

Deprecated: Use SerializedReference.ProtoReflect.Descriptor instead.

func (*SerializedReference) GetReference

func (x *SerializedReference) GetReference() *ObjectReference

func (*SerializedReference) ProtoMessage

func (*SerializedReference) ProtoMessage()

func (*SerializedReference) ProtoReflect

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

func (*SerializedReference) Reset

func (x *SerializedReference) Reset()

func (*SerializedReference) String

func (x *SerializedReference) String() string

type Service

type Service struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the behavior of a service.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Most recently observed status of the service.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *ServiceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetMetadata

func (x *Service) GetMetadata() *v1.ObjectMeta

func (*Service) GetSpec

func (x *Service) GetSpec() *ServiceSpec

func (*Service) GetStatus

func (x *Service) GetStatus() *ServiceStatus

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceAccount

type ServiceAccount struct {

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.
	// Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true".
	// This field should not be used to find auto-generated service account token secrets for use outside of pods.
	// Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created.
	// More info: https://kubernetes.io/docs/concepts/configuration/secret
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	Secrets []*ObjectReference `protobuf:"bytes,2,rep,name=secrets" json:"secrets,omitempty"`
	// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
	// in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
	// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
	// More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
	// +optional
	ImagePullSecrets []*LocalObjectReference `protobuf:"bytes,3,rep,name=imagePullSecrets" json:"imagePullSecrets,omitempty"`
	// AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
	// Can be overridden at the pod level.
	// +optional
	AutomountServiceAccountToken *bool `protobuf:"varint,4,opt,name=automountServiceAccountToken" json:"automountServiceAccountToken,omitempty"`
	// contains filtered or unexported fields
}

ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets

func (*ServiceAccount) Descriptor deprecated

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

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetAutomountServiceAccountToken

func (x *ServiceAccount) GetAutomountServiceAccountToken() bool

func (*ServiceAccount) GetImagePullSecrets

func (x *ServiceAccount) GetImagePullSecrets() []*LocalObjectReference

func (*ServiceAccount) GetMetadata

func (x *ServiceAccount) GetMetadata() *v1.ObjectMeta

func (*ServiceAccount) GetSecrets

func (x *ServiceAccount) GetSecrets() []*ObjectReference

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

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

func (*ServiceAccount) Reset

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String

func (x *ServiceAccount) String() string

type ServiceAccountList

type ServiceAccountList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of ServiceAccounts.
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
	Items []*ServiceAccount `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ServiceAccountList is a list of ServiceAccount objects

func (*ServiceAccountList) Descriptor deprecated

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

Deprecated: Use ServiceAccountList.ProtoReflect.Descriptor instead.

func (*ServiceAccountList) GetItems

func (x *ServiceAccountList) GetItems() []*ServiceAccount

func (*ServiceAccountList) GetMetadata

func (x *ServiceAccountList) GetMetadata() *v1.ListMeta

func (*ServiceAccountList) ProtoMessage

func (*ServiceAccountList) ProtoMessage()

func (*ServiceAccountList) ProtoReflect

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

func (*ServiceAccountList) Reset

func (x *ServiceAccountList) Reset()

func (*ServiceAccountList) String

func (x *ServiceAccountList) String() string

type ServiceAccountTokenProjection

type ServiceAccountTokenProjection struct {

	// audience is the intended audience of the token. A recipient of a token
	// must identify itself with an identifier specified in the audience of the
	// token, and otherwise should reject the token. The audience defaults to the
	// identifier of the apiserver.
	// +optional
	Audience *string `protobuf:"bytes,1,opt,name=audience" json:"audience,omitempty"`
	// expirationSeconds is the requested duration of validity of the service
	// account token. As the token approaches expiration, the kubelet volume
	// plugin will proactively rotate the service account token. The kubelet will
	// start trying to rotate the token if the token is older than 80 percent of
	// its time to live or if the token is older than 24 hours.Defaults to 1 hour
	// and must be at least 10 minutes.
	// +optional
	ExpirationSeconds *int64 `protobuf:"varint,2,opt,name=expirationSeconds" json:"expirationSeconds,omitempty"`
	// path is the path relative to the mount point of the file to project the
	// token into.
	Path *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).

func (*ServiceAccountTokenProjection) Descriptor deprecated

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

Deprecated: Use ServiceAccountTokenProjection.ProtoReflect.Descriptor instead.

func (*ServiceAccountTokenProjection) GetAudience

func (x *ServiceAccountTokenProjection) GetAudience() string

func (*ServiceAccountTokenProjection) GetExpirationSeconds

func (x *ServiceAccountTokenProjection) GetExpirationSeconds() int64

func (*ServiceAccountTokenProjection) GetPath

func (*ServiceAccountTokenProjection) ProtoMessage

func (*ServiceAccountTokenProjection) ProtoMessage()

func (*ServiceAccountTokenProjection) ProtoReflect

func (*ServiceAccountTokenProjection) Reset

func (x *ServiceAccountTokenProjection) Reset()

func (*ServiceAccountTokenProjection) String

type ServiceList

type ServiceList struct {

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of services
	Items []*Service `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ServiceList holds a list of services.

func (*ServiceList) Descriptor deprecated

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

Deprecated: Use ServiceList.ProtoReflect.Descriptor instead.

func (*ServiceList) GetItems

func (x *ServiceList) GetItems() []*Service

func (*ServiceList) GetMetadata

func (x *ServiceList) GetMetadata() *v1.ListMeta

func (*ServiceList) ProtoMessage

func (*ServiceList) ProtoMessage()

func (*ServiceList) ProtoReflect

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

func (*ServiceList) Reset

func (x *ServiceList) Reset()

func (*ServiceList) String

func (x *ServiceList) String() string

type ServicePort

type ServicePort struct {

	// The name of this port within the service. This must be a DNS_LABEL.
	// All ports within a ServiceSpec must have unique names. When considering
	// the endpoints for a Service, this must match the 'name' field in the
	// EndpointPort.
	// Optional if only one ServicePort is defined on this service.
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".
	// Default is TCP.
	// +default="TCP"
	// +optional
	Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
	// The application protocol for this port.
	// This is used as a hint for implementations to offer richer behavior for protocols that they understand.
	// This field follows standard Kubernetes label syntax.
	// Valid values are either:
	//
	// * Un-prefixed protocol names - reserved for IANA standard service names (as per
	// RFC-6335 and https://www.iana.org/assignments/service-names).
	//
	// * Kubernetes-defined prefixed names:
	//   - 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540
	//   - 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
	//   - 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
	//
	// * Other protocols should use implementation-defined prefixed names such as
	// mycompany.com/my-custom-protocol.
	// +optional
	AppProtocol *string `protobuf:"bytes,6,opt,name=appProtocol" json:"appProtocol,omitempty"`
	// The port that will be exposed by this service.
	Port *int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
	// Number or name of the port to access on the pods targeted by the service.
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	// If this is a string, it will be looked up as a named port in the
	// target Pod's container ports. If this is not specified, the value
	// of the 'port' field is used (an identity map).
	// This field is ignored for services with clusterIP=None, and should be
	// omitted or set equal to the 'port' field.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
	// +optional
	TargetPort *intstr.IntOrString `protobuf:"bytes,4,opt,name=targetPort" json:"targetPort,omitempty"`
	// The port on each node on which this service is exposed when type is
	// NodePort or LoadBalancer.  Usually assigned by the system. If a value is
	// specified, in-range, and not in use it will be used, otherwise the
	// operation will fail.  If not specified, a port will be allocated if this
	// Service requires one.  If this field is specified when creating a
	// Service which does not need it, creation will fail. This field will be
	// wiped when updating a Service to no longer need it (e.g. changing type
	// from NodePort to ClusterIP).
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
	// +optional
	NodePort *int32 `protobuf:"varint,5,opt,name=nodePort" json:"nodePort,omitempty"`
	// contains filtered or unexported fields
}

ServicePort contains information on service's port.

func (*ServicePort) Descriptor deprecated

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

Deprecated: Use ServicePort.ProtoReflect.Descriptor instead.

func (*ServicePort) GetAppProtocol

func (x *ServicePort) GetAppProtocol() string

func (*ServicePort) GetName

func (x *ServicePort) GetName() string

func (*ServicePort) GetNodePort

func (x *ServicePort) GetNodePort() int32

func (*ServicePort) GetPort

func (x *ServicePort) GetPort() int32

func (*ServicePort) GetProtocol

func (x *ServicePort) GetProtocol() string

func (*ServicePort) GetTargetPort

func (x *ServicePort) GetTargetPort() *intstr.IntOrString

func (*ServicePort) ProtoMessage

func (*ServicePort) ProtoMessage()

func (*ServicePort) ProtoReflect

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

func (*ServicePort) Reset

func (x *ServicePort) Reset()

func (*ServicePort) String

func (x *ServicePort) String() string

type ServiceProxyOptions

type ServiceProxyOptions struct {

	// Path is the part of URLs that include service endpoints, suffixes,
	// and parameters to use for the current proxy request to service.
	// For example, the whole request URL is
	// http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy.
	// Path is _search?q=user:kimchy.
	// +optional
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// contains filtered or unexported fields
}

ServiceProxyOptions is the query options to a Service's proxy call.

func (*ServiceProxyOptions) Descriptor deprecated

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

Deprecated: Use ServiceProxyOptions.ProtoReflect.Descriptor instead.

func (*ServiceProxyOptions) GetPath

func (x *ServiceProxyOptions) GetPath() string

func (*ServiceProxyOptions) ProtoMessage

func (*ServiceProxyOptions) ProtoMessage()

func (*ServiceProxyOptions) ProtoReflect

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

func (*ServiceProxyOptions) Reset

func (x *ServiceProxyOptions) Reset()

func (*ServiceProxyOptions) String

func (x *ServiceProxyOptions) String() string

type ServiceSpec

type ServiceSpec struct {

	// The list of ports that are exposed by this service.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +patchMergeKey=port
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=port
	// +listMapKey=protocol
	Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"`
	// Route service traffic to pods with label keys and values matching this
	// selector. If empty or not present, the service is assumed to have an
	// external process managing its endpoints, which Kubernetes will not
	// modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.
	// Ignored if type is ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/
	// +optional
	// +mapType=atomic
	Selector map[string]string `` /* 136-byte string literal not displayed */
	// clusterIP is the IP address of the service and is usually assigned
	// randomly. If an address is specified manually, is in-range (as per
	// system configuration), and is not in use, it will be allocated to the
	// service; otherwise creation of the service will fail. This field may not
	// be changed through updates unless the type field is also being changed
	// to ExternalName (which requires this field to be blank) or the type
	// field is being changed from ExternalName (in which case this field may
	// optionally be specified, as describe above).  Valid values are "None",
	// empty string (""), or a valid IP address. Setting this to "None" makes a
	// "headless service" (no virtual IP), which is useful when direct endpoint
	// connections are preferred and proxying is not required.  Only applies to
	// types ClusterIP, NodePort, and LoadBalancer. If this field is specified
	// when creating a Service of type ExternalName, creation will fail. This
	// field will be wiped when updating a Service to type ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	ClusterIP *string `protobuf:"bytes,3,opt,name=clusterIP" json:"clusterIP,omitempty"`
	// ClusterIPs is a list of IP addresses assigned to this service, and are
	// usually assigned randomly.  If an address is specified manually, is
	// in-range (as per system configuration), and is not in use, it will be
	// allocated to the service; otherwise creation of the service will fail.
	// This field may not be changed through updates unless the type field is
	// also being changed to ExternalName (which requires this field to be
	// empty) or the type field is being changed from ExternalName (in which
	// case this field may optionally be specified, as describe above).  Valid
	// values are "None", empty string (""), or a valid IP address.  Setting
	// this to "None" makes a "headless service" (no virtual IP), which is
	// useful when direct endpoint connections are preferred and proxying is
	// not required.  Only applies to types ClusterIP, NodePort, and
	// LoadBalancer. If this field is specified when creating a Service of type
	// ExternalName, creation will fail. This field will be wiped when updating
	// a Service to type ExternalName.  If this field is not specified, it will
	// be initialized from the clusterIP field.  If this field is specified,
	// clients must ensure that clusterIPs[0] and clusterIP have the same
	// value.
	//
	// This field may hold a maximum of two entries (dual-stack IPs, in either order).
	// These IPs must correspond to the values of the ipFamilies field. Both
	// clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +listType=atomic
	// +optional
	ClusterIPs []string `protobuf:"bytes,18,rep,name=clusterIPs" json:"clusterIPs,omitempty"`
	// type determines how the Service is exposed. Defaults to ClusterIP. Valid
	// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
	// "ClusterIP" allocates a cluster-internal IP address for load-balancing
	// to endpoints. Endpoints are determined by the selector or if that is not
	// specified, by manual construction of an Endpoints object or
	// EndpointSlice objects. If clusterIP is "None", no virtual IP is
	// allocated and the endpoints are published as a set of endpoints rather
	// than a virtual IP.
	// "NodePort" builds on ClusterIP and allocates a port on every node which
	// routes to the same endpoints as the clusterIP.
	// "LoadBalancer" builds on NodePort and creates an external load-balancer
	// (if supported in the current cloud) which routes to the same endpoints
	// as the clusterIP.
	// "ExternalName" aliases this service to the specified externalName.
	// Several other fields do not apply to ExternalName services.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
	// +optional
	Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
	// externalIPs is a list of IP addresses for which nodes in the cluster
	// will also accept traffic for this service.  These IPs are not managed by
	// Kubernetes.  The user is responsible for ensuring that traffic arrives
	// at a node with this IP.  A common example is external load-balancers
	// that are not part of the Kubernetes system.
	// +optional
	ExternalIPs []string `protobuf:"bytes,5,rep,name=externalIPs" json:"externalIPs,omitempty"`
	// Supports "ClientIP" and "None". Used to maintain session affinity.
	// Enable client IP based session affinity.
	// Must be ClientIP or None.
	// Defaults to None.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	SessionAffinity *string `protobuf:"bytes,7,opt,name=sessionAffinity" json:"sessionAffinity,omitempty"`
	// Only applies to Service Type: LoadBalancer.
	// This feature depends on whether the underlying cloud-provider supports specifying
	// the loadBalancerIP when a load balancer is created.
	// This field will be ignored if the cloud-provider does not support the feature.
	// Deprecated: This field was under-specified and its meaning varies across implementations.
	// Using it is non-portable and it may not support dual-stack.
	// Users are encouraged to use implementation-specific annotations when available.
	// +optional
	LoadBalancerIP *string `protobuf:"bytes,8,opt,name=loadBalancerIP" json:"loadBalancerIP,omitempty"`
	// If specified and supported by the platform, this will restrict traffic through the cloud-provider
	// load-balancer will be restricted to the specified client IPs. This field will be ignored if the
	// cloud-provider does not support the feature."
	// More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
	// +optional
	LoadBalancerSourceRanges []string `protobuf:"bytes,9,rep,name=loadBalancerSourceRanges" json:"loadBalancerSourceRanges,omitempty"`
	// externalName is the external reference that discovery mechanisms will
	// return as an alias for this service (e.g. a DNS CNAME record). No
	// proxying will be involved.  Must be a lowercase RFC-1123 hostname
	// (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName".
	// +optional
	ExternalName *string `protobuf:"bytes,10,opt,name=externalName" json:"externalName,omitempty"`
	// externalTrafficPolicy describes how nodes distribute service traffic they
	// receive on one of the Service's "externally-facing" addresses (NodePorts,
	// ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure
	// the service in a way that assumes that external load balancers will take care
	// of balancing the service traffic between nodes, and so each node will deliver
	// traffic only to the node-local endpoints of the service, without masquerading
	// the client source IP. (Traffic mistakenly sent to a node with no endpoints will
	// be dropped.) The default value, "Cluster", uses the standard behavior of
	// routing to all endpoints evenly (possibly modified by topology and other
	// features). Note that traffic sent to an External IP or LoadBalancer IP from
	// within the cluster will always get "Cluster" semantics, but clients sending to
	// a NodePort from within the cluster may need to take traffic policy into account
	// when picking a node.
	// +optional
	ExternalTrafficPolicy *string `protobuf:"bytes,11,opt,name=externalTrafficPolicy" json:"externalTrafficPolicy,omitempty"`
	// healthCheckNodePort specifies the healthcheck nodePort for the service.
	// This only applies when type is set to LoadBalancer and
	// externalTrafficPolicy is set to Local. If a value is specified, is
	// in-range, and is not in use, it will be used.  If not specified, a value
	// will be automatically allocated.  External systems (e.g. load-balancers)
	// can use this port to determine if a given node holds endpoints for this
	// service or not.  If this field is specified when creating a Service
	// which does not need it, creation will fail. This field will be wiped
	// when updating a Service to no longer need it (e.g. changing type).
	// This field cannot be updated once set.
	// +optional
	HealthCheckNodePort *int32 `protobuf:"varint,12,opt,name=healthCheckNodePort" json:"healthCheckNodePort,omitempty"`
	// publishNotReadyAddresses indicates that any agent which deals with endpoints for this
	// Service should disregard any indications of ready/not-ready.
	// The primary use case for setting this field is for a StatefulSet's Headless Service to
	// propagate SRV DNS records for its Pods for the purpose of peer discovery.
	// The Kubernetes controllers that generate Endpoints and EndpointSlice resources for
	// Services interpret this to mean that all endpoints are considered "ready" even if the
	// Pods themselves are not. Agents which consume only Kubernetes generated endpoints
	// through the Endpoints or EndpointSlice resources can safely assume this behavior.
	// +optional
	PublishNotReadyAddresses *bool `protobuf:"varint,13,opt,name=publishNotReadyAddresses" json:"publishNotReadyAddresses,omitempty"`
	// sessionAffinityConfig contains the configurations of session affinity.
	// +optional
	SessionAffinityConfig *SessionAffinityConfig `protobuf:"bytes,14,opt,name=sessionAffinityConfig" json:"sessionAffinityConfig,omitempty"`
	// IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this
	// service. This field is usually assigned automatically based on cluster
	// configuration and the ipFamilyPolicy field. If this field is specified
	// manually, the requested family is available in the cluster,
	// and ipFamilyPolicy allows it, it will be used; otherwise creation of
	// the service will fail. This field is conditionally mutable: it allows
	// for adding or removing a secondary IP family, but it does not allow
	// changing the primary IP family of the Service. Valid values are "IPv4"
	// and "IPv6".  This field only applies to Services of types ClusterIP,
	// NodePort, and LoadBalancer, and does apply to "headless" services.
	// This field will be wiped when updating a Service to type ExternalName.
	//
	// This field may hold a maximum of two entries (dual-stack families, in
	// either order).  These families must correspond to the values of the
	// clusterIPs field, if specified. Both clusterIPs and ipFamilies are
	// governed by the ipFamilyPolicy field.
	// +listType=atomic
	// +optional
	IpFamilies []string `protobuf:"bytes,19,rep,name=ipFamilies" json:"ipFamilies,omitempty"`
	// IPFamilyPolicy represents the dual-stack-ness requested or required by
	// this Service. If there is no value provided, then this field will be set
	// to SingleStack. Services can be "SingleStack" (a single IP family),
	// "PreferDualStack" (two IP families on dual-stack configured clusters or
	// a single IP family on single-stack clusters), or "RequireDualStack"
	// (two IP families on dual-stack configured clusters, otherwise fail). The
	// ipFamilies and clusterIPs fields depend on the value of this field. This
	// field will be wiped when updating a service to type ExternalName.
	// +optional
	IpFamilyPolicy *string `protobuf:"bytes,17,opt,name=ipFamilyPolicy" json:"ipFamilyPolicy,omitempty"`
	// allocateLoadBalancerNodePorts defines if NodePorts will be automatically
	// allocated for services with type LoadBalancer.  Default is "true". It
	// may be set to "false" if the cluster load-balancer does not rely on
	// NodePorts.  If the caller requests specific NodePorts (by specifying a
	// value), those requests will be respected, regardless of this field.
	// This field may only be set for services with type LoadBalancer and will
	// be cleared if the type is changed to any other type.
	// +optional
	AllocateLoadBalancerNodePorts *bool `protobuf:"varint,20,opt,name=allocateLoadBalancerNodePorts" json:"allocateLoadBalancerNodePorts,omitempty"`
	// loadBalancerClass is the class of the load balancer implementation this Service belongs to.
	// If specified, the value of this field must be a label-style identifier, with an optional prefix,
	// e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users.
	// This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load
	// balancer implementation is used, today this is typically done through the cloud provider integration,
	// but should apply for any default implementation. If set, it is assumed that a load balancer
	// implementation is watching for Services with a matching class. Any default load balancer
	// implementation (e.g. cloud providers) should ignore Services that set this field.
	// This field can only be set when creating or updating a Service to type 'LoadBalancer'.
	// Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.
	// +optional
	LoadBalancerClass *string `protobuf:"bytes,21,opt,name=loadBalancerClass" json:"loadBalancerClass,omitempty"`
	// InternalTrafficPolicy describes how nodes distribute service traffic they
	// receive on the ClusterIP. If set to "Local", the proxy will assume that pods
	// only want to talk to endpoints of the service on the same node as the pod,
	// dropping the traffic if there are no local endpoints. The default value,
	// "Cluster", uses the standard behavior of routing to all endpoints evenly
	// (possibly modified by topology and other features).
	// +optional
	InternalTrafficPolicy *string `protobuf:"bytes,22,opt,name=internalTrafficPolicy" json:"internalTrafficPolicy,omitempty"`
	// contains filtered or unexported fields
}

ServiceSpec describes the attributes that a user creates on a service.

func (*ServiceSpec) Descriptor deprecated

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

Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.

func (*ServiceSpec) GetAllocateLoadBalancerNodePorts

func (x *ServiceSpec) GetAllocateLoadBalancerNodePorts() bool

func (*ServiceSpec) GetClusterIP

func (x *ServiceSpec) GetClusterIP() string

func (*ServiceSpec) GetClusterIPs

func (x *ServiceSpec) GetClusterIPs() []string

func (*ServiceSpec) GetExternalIPs

func (x *ServiceSpec) GetExternalIPs() []string

func (*ServiceSpec) GetExternalName

func (x *ServiceSpec) GetExternalName() string

func (*ServiceSpec) GetExternalTrafficPolicy

func (x *ServiceSpec) GetExternalTrafficPolicy() string

func (*ServiceSpec) GetHealthCheckNodePort

func (x *ServiceSpec) GetHealthCheckNodePort() int32

func (*ServiceSpec) GetInternalTrafficPolicy

func (x *ServiceSpec) GetInternalTrafficPolicy() string

func (*ServiceSpec) GetIpFamilies

func (x *ServiceSpec) GetIpFamilies() []string

func (*ServiceSpec) GetIpFamilyPolicy

func (x *ServiceSpec) GetIpFamilyPolicy() string

func (*ServiceSpec) GetLoadBalancerClass

func (x *ServiceSpec) GetLoadBalancerClass() string

func (*ServiceSpec) GetLoadBalancerIP

func (x *ServiceSpec) GetLoadBalancerIP() string

func (*ServiceSpec) GetLoadBalancerSourceRanges

func (x *ServiceSpec) GetLoadBalancerSourceRanges() []string

func (*ServiceSpec) GetPorts

func (x *ServiceSpec) GetPorts() []*ServicePort

func (*ServiceSpec) GetPublishNotReadyAddresses

func (x *ServiceSpec) GetPublishNotReadyAddresses() bool

func (*ServiceSpec) GetSelector

func (x *ServiceSpec) GetSelector() map[string]string

func (*ServiceSpec) GetSessionAffinity

func (x *ServiceSpec) GetSessionAffinity() string

func (*ServiceSpec) GetSessionAffinityConfig

func (x *ServiceSpec) GetSessionAffinityConfig() *SessionAffinityConfig

func (*ServiceSpec) GetType

func (x *ServiceSpec) GetType() string

func (*ServiceSpec) ProtoMessage

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) ProtoReflect

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

func (*ServiceSpec) Reset

func (x *ServiceSpec) Reset()

func (*ServiceSpec) String

func (x *ServiceSpec) String() string

type ServiceStatus

type ServiceStatus struct {

	// LoadBalancer contains the current status of the load-balancer,
	// if one is present.
	// +optional
	LoadBalancer *LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer" json:"loadBalancer,omitempty"`
	// Current service state
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []*v1.Condition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

ServiceStatus represents the current status of a service.

func (*ServiceStatus) Descriptor deprecated

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

Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.

func (*ServiceStatus) GetConditions

func (x *ServiceStatus) GetConditions() []*v1.Condition

func (*ServiceStatus) GetLoadBalancer

func (x *ServiceStatus) GetLoadBalancer() *LoadBalancerStatus

func (*ServiceStatus) ProtoMessage

func (*ServiceStatus) ProtoMessage()

func (*ServiceStatus) ProtoReflect

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

func (*ServiceStatus) Reset

func (x *ServiceStatus) Reset()

func (*ServiceStatus) String

func (x *ServiceStatus) String() string

type SessionAffinityConfig

type SessionAffinityConfig struct {

	// clientIP contains the configurations of Client IP based session affinity.
	// +optional
	ClientIP *ClientIPConfig `protobuf:"bytes,1,opt,name=clientIP" json:"clientIP,omitempty"`
	// contains filtered or unexported fields
}

SessionAffinityConfig represents the configurations of session affinity.

func (*SessionAffinityConfig) Descriptor deprecated

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

Deprecated: Use SessionAffinityConfig.ProtoReflect.Descriptor instead.

func (*SessionAffinityConfig) GetClientIP

func (x *SessionAffinityConfig) GetClientIP() *ClientIPConfig

func (*SessionAffinityConfig) ProtoMessage

func (*SessionAffinityConfig) ProtoMessage()

func (*SessionAffinityConfig) ProtoReflect

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

func (*SessionAffinityConfig) Reset

func (x *SessionAffinityConfig) Reset()

func (*SessionAffinityConfig) String

func (x *SessionAffinityConfig) String() string

type StorageOSPersistentVolumeSource

type StorageOSPersistentVolumeSource struct {

	// volumeName is the human-readable name of the StorageOS volume.  Volume
	// names are only unique within a namespace.
	VolumeName *string `protobuf:"bytes,1,opt,name=volumeName" json:"volumeName,omitempty"`
	// volumeNamespace specifies the scope of the volume within StorageOS.  If no
	// namespace is specified then the Pod's namespace will be used.  This allows the
	// Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
	// Set VolumeName to any name to override the default behaviour.
	// Set to "default" if you are not using namespaces within StorageOS.
	// Namespaces that do not pre-exist within StorageOS will be created.
	// +optional
	VolumeNamespace *string `protobuf:"bytes,2,opt,name=volumeNamespace" json:"volumeNamespace,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// +optional
	FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// secretRef specifies the secret to use for obtaining the StorageOS API
	// credentials.  If not specified, default values will be attempted.
	// +optional
	SecretRef *ObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
	// contains filtered or unexported fields
}

Represents a StorageOS persistent volume resource.

func (*StorageOSPersistentVolumeSource) Descriptor deprecated

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

Deprecated: Use StorageOSPersistentVolumeSource.ProtoReflect.Descriptor instead.

func (*StorageOSPersistentVolumeSource) GetFsType

func (x *StorageOSPersistentVolumeSource) GetFsType() string

func (*StorageOSPersistentVolumeSource) GetReadOnly

func (x *StorageOSPersistentVolumeSource) GetReadOnly() bool

func (*StorageOSPersistentVolumeSource) GetSecretRef

func (*StorageOSPersistentVolumeSource) GetVolumeName

func (x *StorageOSPersistentVolumeSource) GetVolumeName() string

func (*StorageOSPersistentVolumeSource) GetVolumeNamespace

func (x *StorageOSPersistentVolumeSource) GetVolumeNamespace() string

func (*StorageOSPersistentVolumeSource) ProtoMessage

func (*StorageOSPersistentVolumeSource) ProtoMessage()

func (*StorageOSPersistentVolumeSource) ProtoReflect

func (*StorageOSPersistentVolumeSource) Reset

func (*StorageOSPersistentVolumeSource) String

type StorageOSVolumeSource

type StorageOSVolumeSource struct {

	// volumeName is the human-readable name of the StorageOS volume.  Volume
	// names are only unique within a namespace.
	VolumeName *string `protobuf:"bytes,1,opt,name=volumeName" json:"volumeName,omitempty"`
	// volumeNamespace specifies the scope of the volume within StorageOS.  If no
	// namespace is specified then the Pod's namespace will be used.  This allows the
	// Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
	// Set VolumeName to any name to override the default behaviour.
	// Set to "default" if you are not using namespaces within StorageOS.
	// Namespaces that do not pre-exist within StorageOS will be created.
	// +optional
	VolumeNamespace *string `protobuf:"bytes,2,opt,name=volumeNamespace" json:"volumeNamespace,omitempty"`
	// fsType is the filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// +optional
	FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
	// readOnly defaults to false (read/write). ReadOnly here will force
	// the ReadOnly setting in VolumeMounts.
	// +optional
	ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
	// secretRef specifies the secret to use for obtaining the StorageOS API
	// credentials.  If not specified, default values will be attempted.
	// +optional
	SecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
	// contains filtered or unexported fields
}

Represents a StorageOS persistent volume resource.

func (*StorageOSVolumeSource) Descriptor deprecated

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

Deprecated: Use StorageOSVolumeSource.ProtoReflect.Descriptor instead.

func (*StorageOSVolumeSource) GetFsType

func (x *StorageOSVolumeSource) GetFsType() string

func (*StorageOSVolumeSource) GetReadOnly

func (x *StorageOSVolumeSource) GetReadOnly() bool

func (*StorageOSVolumeSource) GetSecretRef

func (x *StorageOSVolumeSource) GetSecretRef() *LocalObjectReference

func (*StorageOSVolumeSource) GetVolumeName

func (x *StorageOSVolumeSource) GetVolumeName() string

func (*StorageOSVolumeSource) GetVolumeNamespace

func (x *StorageOSVolumeSource) GetVolumeNamespace() string

func (*StorageOSVolumeSource) ProtoMessage

func (*StorageOSVolumeSource) ProtoMessage()

func (*StorageOSVolumeSource) ProtoReflect

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

func (*StorageOSVolumeSource) Reset

func (x *StorageOSVolumeSource) Reset()

func (*StorageOSVolumeSource) String

func (x *StorageOSVolumeSource) String() string

type Sysctl

type Sysctl struct {

	// Name of a property to set
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Value of a property to set
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Sysctl defines a kernel parameter to be set

func (*Sysctl) Descriptor deprecated

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

Deprecated: Use Sysctl.ProtoReflect.Descriptor instead.

func (*Sysctl) GetName

func (x *Sysctl) GetName() string

func (*Sysctl) GetValue

func (x *Sysctl) GetValue() string

func (*Sysctl) ProtoMessage

func (*Sysctl) ProtoMessage()

func (*Sysctl) ProtoReflect

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

func (*Sysctl) Reset

func (x *Sysctl) Reset()

func (*Sysctl) String

func (x *Sysctl) String() string

type TCPSocketAction

type TCPSocketAction struct {

	// Number or name of the port to access on the container.
	// Number must be in the range 1 to 65535.
	// Name must be an IANA_SVC_NAME.
	Port *intstr.IntOrString `protobuf:"bytes,1,opt,name=port" json:"port,omitempty"`
	// Optional: Host name to connect to, defaults to the pod IP.
	// +optional
	Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
	// contains filtered or unexported fields
}

TCPSocketAction describes an action based on opening a socket

func (*TCPSocketAction) Descriptor deprecated

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

Deprecated: Use TCPSocketAction.ProtoReflect.Descriptor instead.

func (*TCPSocketAction) GetHost

func (x *TCPSocketAction) GetHost() string

func (*TCPSocketAction) GetPort

func (x *TCPSocketAction) GetPort() *intstr.IntOrString

func (*TCPSocketAction) ProtoMessage

func (*TCPSocketAction) ProtoMessage()

func (*TCPSocketAction) ProtoReflect

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

func (*TCPSocketAction) Reset

func (x *TCPSocketAction) Reset()

func (*TCPSocketAction) String

func (x *TCPSocketAction) String() string

type Taint

type Taint struct {

	// Required. The taint key to be applied to a node.
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// The taint value corresponding to the taint key.
	// +optional
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// Required. The effect of the taint on pods
	// that do not tolerate the taint.
	// Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
	Effect *string `protobuf:"bytes,3,opt,name=effect" json:"effect,omitempty"`
	// TimeAdded represents the time at which the taint was added.
	// It is only written for NoExecute taints.
	// +optional
	TimeAdded *v1.Time `protobuf:"bytes,4,opt,name=timeAdded" json:"timeAdded,omitempty"`
	// contains filtered or unexported fields
}

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

func (*Taint) Descriptor deprecated

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

Deprecated: Use Taint.ProtoReflect.Descriptor instead.

func (*Taint) GetEffect

func (x *Taint) GetEffect() string

func (*Taint) GetKey

func (x *Taint) GetKey() string

func (*Taint) GetTimeAdded

func (x *Taint) GetTimeAdded() *v1.Time

func (*Taint) GetValue

func (x *Taint) GetValue() string

func (*Taint) ProtoMessage

func (*Taint) ProtoMessage()

func (*Taint) ProtoReflect

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

func (*Taint) Reset

func (x *Taint) Reset()

func (*Taint) String

func (x *Taint) String() string

type Toleration

type Toleration struct {

	// Key is the taint key that the toleration applies to. Empty means match all taint keys.
	// If the key is empty, operator must be Exists; this combination means to match all values and all keys.
	// +optional
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// Operator represents a key's relationship to the value.
	// Valid operators are Exists and Equal. Defaults to Equal.
	// Exists is equivalent to wildcard for value, so that a pod can
	// tolerate all taints of a particular category.
	// +optional
	Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
	// Value is the taint value the toleration matches to.
	// If the operator is Exists, the value should be empty, otherwise just a regular string.
	// +optional
	Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	// Effect indicates the taint effect to match. Empty means match all taint effects.
	// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
	// +optional
	Effect *string `protobuf:"bytes,4,opt,name=effect" json:"effect,omitempty"`
	// TolerationSeconds represents the period of time the toleration (which must be
	// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
	// it is not set, which means tolerate the taint forever (do not evict). Zero and
	// negative values will be treated as 0 (evict immediately) by the system.
	// +optional
	TolerationSeconds *int64 `protobuf:"varint,5,opt,name=tolerationSeconds" json:"tolerationSeconds,omitempty"`
	// contains filtered or unexported fields
}

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

func (*Toleration) Descriptor deprecated

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

Deprecated: Use Toleration.ProtoReflect.Descriptor instead.

func (*Toleration) GetEffect

func (x *Toleration) GetEffect() string

func (*Toleration) GetKey

func (x *Toleration) GetKey() string

func (*Toleration) GetOperator

func (x *Toleration) GetOperator() string

func (*Toleration) GetTolerationSeconds

func (x *Toleration) GetTolerationSeconds() int64

func (*Toleration) GetValue

func (x *Toleration) GetValue() string

func (*Toleration) ProtoMessage

func (*Toleration) ProtoMessage()

func (*Toleration) ProtoReflect

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

func (*Toleration) Reset

func (x *Toleration) Reset()

func (*Toleration) String

func (x *Toleration) String() string

type TopologySelectorLabelRequirement

type TopologySelectorLabelRequirement struct {

	// The label key that the selector applies to.
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// An array of string values. One value must match the label to be selected.
	// Each entry in Values is ORed.
	Values []string `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

func (*TopologySelectorLabelRequirement) Descriptor deprecated

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

Deprecated: Use TopologySelectorLabelRequirement.ProtoReflect.Descriptor instead.

func (*TopologySelectorLabelRequirement) GetKey

func (*TopologySelectorLabelRequirement) GetValues

func (x *TopologySelectorLabelRequirement) GetValues() []string

func (*TopologySelectorLabelRequirement) ProtoMessage

func (*TopologySelectorLabelRequirement) ProtoMessage()

func (*TopologySelectorLabelRequirement) ProtoReflect

func (*TopologySelectorLabelRequirement) Reset

func (*TopologySelectorLabelRequirement) String

type TopologySelectorTerm

type TopologySelectorTerm struct {

	// A list of topology selector requirements by labels.
	// +optional
	MatchLabelExpressions []*TopologySelectorLabelRequirement `protobuf:"bytes,1,rep,name=matchLabelExpressions" json:"matchLabelExpressions,omitempty"`
	// contains filtered or unexported fields
}

A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. +structType=atomic

func (*TopologySelectorTerm) Descriptor deprecated

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

Deprecated: Use TopologySelectorTerm.ProtoReflect.Descriptor instead.

func (*TopologySelectorTerm) GetMatchLabelExpressions

func (x *TopologySelectorTerm) GetMatchLabelExpressions() []*TopologySelectorLabelRequirement

func (*TopologySelectorTerm) ProtoMessage

func (*TopologySelectorTerm) ProtoMessage()

func (*TopologySelectorTerm) ProtoReflect

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

func (*TopologySelectorTerm) Reset

func (x *TopologySelectorTerm) Reset()

func (*TopologySelectorTerm) String

func (x *TopologySelectorTerm) String() string

type TopologySpreadConstraint

type TopologySpreadConstraint struct {

	// MaxSkew describes the degree to which pods may be unevenly distributed.
	// When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference
	// between the number of matching pods in the target topology and the global minimum.
	// The global minimum is the minimum number of matching pods in an eligible domain
	// or zero if the number of eligible domains is less than MinDomains.
	// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
	// labelSelector spread as 2/2/1:
	// In this case, the global minimum is 1.
	// +-------+-------+-------+
	// | zone1 | zone2 | zone3 |
	// +-------+-------+-------+
	// |  P P  |  P P  |   P   |
	// +-------+-------+-------+
	// - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;
	// scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
	// violate MaxSkew(1).
	// - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
	// When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
	// to topologies that satisfy it.
	// It's a required field. Default value is 1 and 0 is not allowed.
	MaxSkew *int32 `protobuf:"varint,1,opt,name=maxSkew" json:"maxSkew,omitempty"`
	// TopologyKey is the key of node labels. Nodes that have a label with this key
	// and identical values are considered to be in the same topology.
	// We consider each <key, value> as a "bucket", and try to put balanced number
	// of pods into each bucket.
	// We define a domain as a particular instance of a topology.
	// Also, we define an eligible domain as a domain whose nodes meet the requirements of
	// nodeAffinityPolicy and nodeTaintsPolicy.
	// e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology.
	// And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology.
	// It's a required field.
	TopologyKey *string `protobuf:"bytes,2,opt,name=topologyKey" json:"topologyKey,omitempty"`
	// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy
	// the spread constraint.
	//   - DoNotSchedule (default) tells the scheduler not to schedule it.
	//   - ScheduleAnyway tells the scheduler to schedule the pod in any location,
	//     but giving higher precedence to topologies that would help reduce the
	//     skew.
	//
	// A constraint is considered "Unsatisfiable" for an incoming pod
	// if and only if every possible node assignment for that pod would violate
	// "MaxSkew" on some topology.
	// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
	// labelSelector spread as 3/1/1:
	// +-------+-------+-------+
	// | zone1 | zone2 | zone3 |
	// +-------+-------+-------+
	// | P P P |   P   |   P   |
	// +-------+-------+-------+
	// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
	// to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies
	// MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler
	// won't make it *more* imbalanced.
	// It's a required field.
	WhenUnsatisfiable *string `protobuf:"bytes,3,opt,name=whenUnsatisfiable" json:"whenUnsatisfiable,omitempty"`
	// LabelSelector is used to find matching pods.
	// Pods that match this label selector are counted to determine the number of pods
	// in their corresponding topology domain.
	// +optional
	LabelSelector *v1.LabelSelector `protobuf:"bytes,4,opt,name=labelSelector" json:"labelSelector,omitempty"`
	// MinDomains indicates a minimum number of eligible domains.
	// When the number of eligible domains with matching topology keys is less than minDomains,
	// Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed.
	// And when the number of eligible domains with matching topology keys equals or greater than minDomains,
	// this value has no effect on scheduling.
	// As a result, when the number of eligible domains is less than minDomains,
	// scheduler won't schedule more than maxSkew Pods to those domains.
	// If value is nil, the constraint behaves as if MinDomains is equal to 1.
	// Valid values are integers greater than 0.
	// When value is not nil, WhenUnsatisfiable must be DoNotSchedule.
	//
	// For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same
	// labelSelector spread as 2/2/2:
	// +-------+-------+-------+
	// | zone1 | zone2 | zone3 |
	// +-------+-------+-------+
	// |  P P  |  P P  |  P P  |
	// +-------+-------+-------+
	// The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0.
	// In this situation, new pod with the same labelSelector cannot be scheduled,
	// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
	// it will violate MaxSkew.
	//
	// This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default).
	// +optional
	MinDomains *int32 `protobuf:"varint,5,opt,name=minDomains" json:"minDomains,omitempty"`
	// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
	// when calculating pod topology spread skew. Options are:
	// - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.
	// - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.
	//
	// If this value is nil, the behavior is equivalent to the Honor policy.
	// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
	// +optional
	NodeAffinityPolicy *string `protobuf:"bytes,6,opt,name=nodeAffinityPolicy" json:"nodeAffinityPolicy,omitempty"`
	// NodeTaintsPolicy indicates how we will treat node taints when calculating
	// pod topology spread skew. Options are:
	// - Honor: nodes without taints, along with tainted nodes for which the incoming pod
	// has a toleration, are included.
	// - Ignore: node taints are ignored. All nodes are included.
	//
	// If this value is nil, the behavior is equivalent to the Ignore policy.
	// This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.
	// +optional
	NodeTaintsPolicy *string `protobuf:"bytes,7,opt,name=nodeTaintsPolicy" json:"nodeTaintsPolicy,omitempty"`
	// MatchLabelKeys is a set of pod label keys to select the pods over which
	// spreading will be calculated. The keys are used to lookup values from the
	// incoming pod labels, those key-value labels are ANDed with labelSelector
	// to select the group of existing pods over which spreading will be calculated
	// for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
	// MatchLabelKeys cannot be set when LabelSelector isn't set.
	// Keys that don't exist in the incoming pod labels will
	// be ignored. A null or empty list means only match against labelSelector.
	//
	// This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
	// +listType=atomic
	// +optional
	MatchLabelKeys []string `protobuf:"bytes,8,rep,name=matchLabelKeys" json:"matchLabelKeys,omitempty"`
	// contains filtered or unexported fields
}

TopologySpreadConstraint specifies how to spread matching pods among the given topology.

func (*TopologySpreadConstraint) Descriptor deprecated

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

Deprecated: Use TopologySpreadConstraint.ProtoReflect.Descriptor instead.

func (*TopologySpreadConstraint) GetLabelSelector

func (x *TopologySpreadConstraint) GetLabelSelector() *v1.LabelSelector

func (*TopologySpreadConstraint) GetMatchLabelKeys

func (x *TopologySpreadConstraint) GetMatchLabelKeys() []string

func (*TopologySpreadConstraint) GetMaxSkew

func (x *TopologySpreadConstraint) GetMaxSkew() int32

func (*TopologySpreadConstraint) GetMinDomains

func (x *TopologySpreadConstraint) GetMinDomains() int32

func (*TopologySpreadConstraint) GetNodeAffinityPolicy

func (x *TopologySpreadConstraint) GetNodeAffinityPolicy() string

func (*TopologySpreadConstraint) GetNodeTaintsPolicy

func (x *TopologySpreadConstraint) GetNodeTaintsPolicy() string

func (*TopologySpreadConstraint) GetTopologyKey

func (x *TopologySpreadConstraint) GetTopologyKey() string

func (*TopologySpreadConstraint) GetWhenUnsatisfiable

func (x *TopologySpreadConstraint) GetWhenUnsatisfiable() string

func (*TopologySpreadConstraint) ProtoMessage

func (*TopologySpreadConstraint) ProtoMessage()

func (*TopologySpreadConstraint) ProtoReflect

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

func (*TopologySpreadConstraint) Reset

func (x *TopologySpreadConstraint) Reset()

func (*TopologySpreadConstraint) String

func (x *TopologySpreadConstraint) String() string

type TypedLocalObjectReference

type TypedLocalObjectReference struct {

	// APIGroup is the group for the resource being referenced.
	// If APIGroup is not specified, the specified Kind must be in the core API group.
	// For any other third-party types, APIGroup is required.
	// +optional
	ApiGroup *string `protobuf:"bytes,1,opt,name=apiGroup" json:"apiGroup,omitempty"`
	// Kind is the type of resource being referenced
	Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
	// Name is the name of resource being referenced
	Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. +structType=atomic

func (*TypedLocalObjectReference) Descriptor deprecated

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

Deprecated: Use TypedLocalObjectReference.ProtoReflect.Descriptor instead.

func (*TypedLocalObjectReference) GetApiGroup

func (x *TypedLocalObjectReference) GetApiGroup() string

func (*TypedLocalObjectReference) GetKind

func (x *TypedLocalObjectReference) GetKind() string

func (*TypedLocalObjectReference) GetName

func (x *TypedLocalObjectReference) GetName() string

func (*TypedLocalObjectReference) ProtoMessage

func (*TypedLocalObjectReference) ProtoMessage()

func (*TypedLocalObjectReference) ProtoReflect

func (*TypedLocalObjectReference) Reset

func (x *TypedLocalObjectReference) Reset()

func (*TypedLocalObjectReference) String

func (x *TypedLocalObjectReference) String() string

type TypedObjectReference

type TypedObjectReference struct {

	// APIGroup is the group for the resource being referenced.
	// If APIGroup is not specified, the specified Kind must be in the core API group.
	// For any other third-party types, APIGroup is required.
	// +optional
	ApiGroup *string `protobuf:"bytes,1,opt,name=apiGroup" json:"apiGroup,omitempty"`
	// Kind is the type of resource being referenced
	Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
	// Name is the name of resource being referenced
	Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	// Namespace is the namespace of resource being referenced
	// Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
	// (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
	// +featureGate=CrossNamespaceVolumeDataSource
	// +optional
	Namespace *string `protobuf:"bytes,4,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*TypedObjectReference) Descriptor deprecated

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

Deprecated: Use TypedObjectReference.ProtoReflect.Descriptor instead.

func (*TypedObjectReference) GetApiGroup

func (x *TypedObjectReference) GetApiGroup() string

func (*TypedObjectReference) GetKind

func (x *TypedObjectReference) GetKind() string

func (*TypedObjectReference) GetName

func (x *TypedObjectReference) GetName() string

func (*TypedObjectReference) GetNamespace

func (x *TypedObjectReference) GetNamespace() string

func (*TypedObjectReference) ProtoMessage

func (*TypedObjectReference) ProtoMessage()

func (*TypedObjectReference) ProtoReflect

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

func (*TypedObjectReference) Reset

func (x *TypedObjectReference) Reset()

func (*TypedObjectReference) String

func (x *TypedObjectReference) String() string

type Volume

type 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" json:"name,omitempty"`
	// volumeSource represents the location and type of the mounted volume.
	// If not specified, the Volume is implied to be an EmptyDir.
	// This implied behavior is deprecated and will be removed in a future version.
	VolumeSource *VolumeSource `protobuf:"bytes,2,opt,name=volumeSource" json:"volumeSource,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 (*Volume) Descriptor deprecated

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

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetVolumeSource

func (x *Volume) GetVolumeSource() *VolumeSource

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

type VolumeDevice

type VolumeDevice struct {

	// name must match the name of a persistentVolumeClaim in the pod
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// devicePath is the path inside of the container that the device will be mapped to.
	DevicePath *string `protobuf:"bytes,2,opt,name=devicePath" json:"devicePath,omitempty"`
	// contains filtered or unexported fields
}

volumeDevice describes a mapping of a raw block device within a container.

func (*VolumeDevice) Descriptor deprecated

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

Deprecated: Use VolumeDevice.ProtoReflect.Descriptor instead.

func (*VolumeDevice) GetDevicePath

func (x *VolumeDevice) GetDevicePath() string

func (*VolumeDevice) GetName

func (x *VolumeDevice) GetName() string

func (*VolumeDevice) ProtoMessage

func (*VolumeDevice) ProtoMessage()

func (*VolumeDevice) ProtoReflect

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

func (*VolumeDevice) Reset

func (x *VolumeDevice) Reset()

func (*VolumeDevice) String

func (x *VolumeDevice) String() string

type VolumeMount

type VolumeMount struct {

	// This must match the Name of a Volume.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Mounted read-only if true, read-write otherwise (false or unspecified).
	// Defaults to false.
	// +optional
	ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"`
	// Path within the container at which the volume should be mounted.  Must
	// not contain ':'.
	MountPath *string `protobuf:"bytes,3,opt,name=mountPath" json:"mountPath,omitempty"`
	// Path within the volume from which the container's volume should be mounted.
	// Defaults to "" (volume's root).
	// +optional
	SubPath *string `protobuf:"bytes,4,opt,name=subPath" json:"subPath,omitempty"`
	// mountPropagation determines how mounts are propagated from the host
	// to container and the other way around.
	// When not set, MountPropagationNone is used.
	// This field is beta in 1.10.
	// +optional
	MountPropagation *string `protobuf:"bytes,5,opt,name=mountPropagation" json:"mountPropagation,omitempty"`
	// Expanded path within the volume from which the container's volume should be mounted.
	// Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
	// Defaults to "" (volume's root).
	// SubPathExpr and SubPath are mutually exclusive.
	// +optional
	SubPathExpr *string `protobuf:"bytes,6,opt,name=subPathExpr" json:"subPathExpr,omitempty"`
	// contains filtered or unexported fields
}

VolumeMount describes a mounting of a Volume within a container.

func (*VolumeMount) Descriptor deprecated

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

Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.

func (*VolumeMount) GetMountPath

func (x *VolumeMount) GetMountPath() string

func (*VolumeMount) GetMountPropagation

func (x *VolumeMount) GetMountPropagation() string

func (*VolumeMount) GetName

func (x *VolumeMount) GetName() string

func (*VolumeMount) GetReadOnly

func (x *VolumeMount) GetReadOnly() bool

func (*VolumeMount) GetSubPath

func (x *VolumeMount) GetSubPath() string

func (*VolumeMount) GetSubPathExpr

func (x *VolumeMount) GetSubPathExpr() string

func (*VolumeMount) ProtoMessage

func (*VolumeMount) ProtoMessage()

func (*VolumeMount) ProtoReflect

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

func (*VolumeMount) Reset

func (x *VolumeMount) Reset()

func (*VolumeMount) String

func (x *VolumeMount) String() string

type VolumeNodeAffinity

type VolumeNodeAffinity struct {

	// required specifies hard node constraints that must be met.
	Required *NodeSelector `protobuf:"bytes,1,opt,name=required" json:"required,omitempty"`
	// contains filtered or unexported fields
}

VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

func (*VolumeNodeAffinity) Descriptor deprecated

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

Deprecated: Use VolumeNodeAffinity.ProtoReflect.Descriptor instead.

func (*VolumeNodeAffinity) GetRequired

func (x *VolumeNodeAffinity) GetRequired() *NodeSelector

func (*VolumeNodeAffinity) ProtoMessage

func (*VolumeNodeAffinity) ProtoMessage()

func (*VolumeNodeAffinity) ProtoReflect

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

func (*VolumeNodeAffinity) Reset

func (x *VolumeNodeAffinity) Reset()

func (*VolumeNodeAffinity) String

func (x *VolumeNodeAffinity) String() string

type VolumeProjection

type VolumeProjection struct {

	// secret information about the secret data to project
	// +optional
	Secret *SecretProjection `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"`
	// downwardAPI information about the downwardAPI data to project
	// +optional
	DownwardAPI *DownwardAPIProjection `protobuf:"bytes,2,opt,name=downwardAPI" json:"downwardAPI,omitempty"`
	// configMap information about the configMap data to project
	// +optional
	ConfigMap *ConfigMapProjection `protobuf:"bytes,3,opt,name=configMap" json:"configMap,omitempty"`
	// serviceAccountToken is information about the serviceAccountToken data to project
	// +optional
	ServiceAccountToken *ServiceAccountTokenProjection `protobuf:"bytes,4,opt,name=serviceAccountToken" json:"serviceAccountToken,omitempty"`
	// contains filtered or unexported fields
}

Projection that may be projected along with other supported volume types

func (*VolumeProjection) Descriptor deprecated

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

Deprecated: Use VolumeProjection.ProtoReflect.Descriptor instead.

func (*VolumeProjection) GetConfigMap

func (x *VolumeProjection) GetConfigMap() *ConfigMapProjection

func (*VolumeProjection) GetDownwardAPI

func (x *VolumeProjection) GetDownwardAPI() *DownwardAPIProjection

func (*VolumeProjection) GetSecret

func (x *VolumeProjection) GetSecret() *SecretProjection

func (*VolumeProjection) GetServiceAccountToken

func (x *VolumeProjection) GetServiceAccountToken() *ServiceAccountTokenProjection

func (*VolumeProjection) ProtoMessage

func (*VolumeProjection) ProtoMessage()

func (*VolumeProjection) ProtoReflect

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

func (*VolumeProjection) Reset

func (x *VolumeProjection) Reset()

func (*VolumeProjection) String

func (x *VolumeProjection) String() string

type VolumeSource

type VolumeSource struct {

	// hostPath represents a pre-existing file or directory on the host
	// machine that is directly exposed to the container. This is generally
	// used for system agents or other privileged things that are allowed
	// to see the host machine. Most containers will NOT need this.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	// ---
	// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
	// mount host directories as read/write.
	// +optional
	HostPath *HostPathVolumeSource `protobuf:"bytes,1,opt,name=hostPath" json:"hostPath,omitempty"`
	// emptyDir represents a temporary directory that shares a pod's lifetime.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	// +optional
	EmptyDir *EmptyDirVolumeSource `protobuf:"bytes,2,opt,name=emptyDir" json:"emptyDir,omitempty"`
	// gcePersistentDisk represents a GCE Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	// +optional
	GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,3,opt,name=gcePersistentDisk" json:"gcePersistentDisk,omitempty"`
	// awsElasticBlockStore represents an AWS Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	// +optional
	AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,4,opt,name=awsElasticBlockStore" json:"awsElasticBlockStore,omitempty"`
	// gitRepo represents a git repository at a particular revision.
	// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
	// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
	// into the Pod's container.
	// +optional
	GitRepo *GitRepoVolumeSource `protobuf:"bytes,5,opt,name=gitRepo" json:"gitRepo,omitempty"`
	// secret represents a secret that should populate this volume.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// +optional
	Secret *SecretVolumeSource `protobuf:"bytes,6,opt,name=secret" json:"secret,omitempty"`
	// nfs represents an NFS mount on the host that shares a pod's lifetime
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	// +optional
	Nfs *NFSVolumeSource `protobuf:"bytes,7,opt,name=nfs" json:"nfs,omitempty"`
	// iscsi represents an ISCSI Disk resource that is attached to a
	// kubelet's host machine and then exposed to the pod.
	// More info: https://examples.k8s.io/volumes/iscsi/README.md
	// +optional
	Iscsi *ISCSIVolumeSource `protobuf:"bytes,8,opt,name=iscsi" json:"iscsi,omitempty"`
	// glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
	// More info: https://examples.k8s.io/volumes/glusterfs/README.md
	// +optional
	Glusterfs *GlusterfsVolumeSource `protobuf:"bytes,9,opt,name=glusterfs" json:"glusterfs,omitempty"`
	// persistentVolumeClaimVolumeSource represents a reference to a
	// PersistentVolumeClaim in the same namespace.
	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	// +optional
	PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `protobuf:"bytes,10,opt,name=persistentVolumeClaim" json:"persistentVolumeClaim,omitempty"`
	// rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.
	// More info: https://examples.k8s.io/volumes/rbd/README.md
	// +optional
	Rbd *RBDVolumeSource `protobuf:"bytes,11,opt,name=rbd" json:"rbd,omitempty"`
	// flexVolume represents a generic volume resource that is
	// provisioned/attached using an exec based plugin.
	// +optional
	FlexVolume *FlexVolumeSource `protobuf:"bytes,12,opt,name=flexVolume" json:"flexVolume,omitempty"`
	// cinder represents a cinder volume attached and mounted on kubelets host machine.
	// More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// +optional
	Cinder *CinderVolumeSource `protobuf:"bytes,13,opt,name=cinder" json:"cinder,omitempty"`
	// cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
	// +optional
	Cephfs *CephFSVolumeSource `protobuf:"bytes,14,opt,name=cephfs" json:"cephfs,omitempty"`
	// flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
	// +optional
	Flocker *FlockerVolumeSource `protobuf:"bytes,15,opt,name=flocker" json:"flocker,omitempty"`
	// downwardAPI represents downward API about the pod that should populate this volume
	// +optional
	DownwardAPI *DownwardAPIVolumeSource `protobuf:"bytes,16,opt,name=downwardAPI" json:"downwardAPI,omitempty"`
	// fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
	// +optional
	Fc *FCVolumeSource `protobuf:"bytes,17,opt,name=fc" json:"fc,omitempty"`
	// azureFile represents an Azure File Service mount on the host and bind mount to the pod.
	// +optional
	AzureFile *AzureFileVolumeSource `protobuf:"bytes,18,opt,name=azureFile" json:"azureFile,omitempty"`
	// configMap represents a configMap that should populate this volume
	// +optional
	ConfigMap *ConfigMapVolumeSource `protobuf:"bytes,19,opt,name=configMap" json:"configMap,omitempty"`
	// vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
	// +optional
	VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,20,opt,name=vsphereVolume" json:"vsphereVolume,omitempty"`
	// quobyte represents a Quobyte mount on the host that shares a pod's lifetime
	// +optional
	Quobyte *QuobyteVolumeSource `protobuf:"bytes,21,opt,name=quobyte" json:"quobyte,omitempty"`
	// azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
	// +optional
	AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,22,opt,name=azureDisk" json:"azureDisk,omitempty"`
	// photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
	PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,23,opt,name=photonPersistentDisk" json:"photonPersistentDisk,omitempty"`
	// projected items for all in one resources secrets, configmaps, and downward API
	Projected *ProjectedVolumeSource `protobuf:"bytes,26,opt,name=projected" json:"projected,omitempty"`
	// portworxVolume represents a portworx volume attached and mounted on kubelets host machine
	// +optional
	PortworxVolume *PortworxVolumeSource `protobuf:"bytes,24,opt,name=portworxVolume" json:"portworxVolume,omitempty"`
	// scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
	// +optional
	ScaleIO *ScaleIOVolumeSource `protobuf:"bytes,25,opt,name=scaleIO" json:"scaleIO,omitempty"`
	// storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
	// +optional
	Storageos *StorageOSVolumeSource `protobuf:"bytes,27,opt,name=storageos" json:"storageos,omitempty"`
	// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
	// +optional
	Csi *CSIVolumeSource `protobuf:"bytes,28,opt,name=csi" json:"csi,omitempty"`
	// ephemeral represents a volume that is handled by a cluster storage driver.
	// The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,
	// and deleted when the pod is removed.
	//
	// Use this if:
	// a) the volume is only needed while the pod runs,
	// b) features of normal volumes like restoring from snapshot or capacity
	//
	//	tracking are needed,
	//
	// c) the storage driver is specified through a storage class, and
	// d) the storage driver supports dynamic volume provisioning through
	//
	//	a PersistentVolumeClaim (see EphemeralVolumeSource for more
	//	information on the connection between this volume type
	//	and PersistentVolumeClaim).
	//
	// Use PersistentVolumeClaim or one of the vendor-specific
	// APIs for volumes that persist for longer than the lifecycle
	// of an individual pod.
	//
	// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to
	// be used that way - see the documentation of the driver for
	// more information.
	//
	// A pod can use both types of ephemeral volumes and
	// persistent volumes at the same time.
	//
	// +optional
	Ephemeral *EphemeralVolumeSource `protobuf:"bytes,29,opt,name=ephemeral" json:"ephemeral,omitempty"`
	// contains filtered or unexported fields
}

Represents the source of a volume to mount. Only one of its members may be specified.

func (*VolumeSource) Descriptor deprecated

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

Deprecated: Use VolumeSource.ProtoReflect.Descriptor instead.

func (*VolumeSource) GetAwsElasticBlockStore

func (x *VolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource

func (*VolumeSource) GetAzureDisk

func (x *VolumeSource) GetAzureDisk() *AzureDiskVolumeSource

func (*VolumeSource) GetAzureFile

func (x *VolumeSource) GetAzureFile() *AzureFileVolumeSource

func (*VolumeSource) GetCephfs

func (x *VolumeSource) GetCephfs() *CephFSVolumeSource

func (*VolumeSource) GetCinder

func (x *VolumeSource) GetCinder() *CinderVolumeSource

func (*VolumeSource) GetConfigMap

func (x *VolumeSource) GetConfigMap() *ConfigMapVolumeSource

func (*VolumeSource) GetCsi

func (x *VolumeSource) GetCsi() *CSIVolumeSource

func (*VolumeSource) GetDownwardAPI

func (x *VolumeSource) GetDownwardAPI() *DownwardAPIVolumeSource

func (*VolumeSource) GetEmptyDir

func (x *VolumeSource) GetEmptyDir() *EmptyDirVolumeSource

func (*VolumeSource) GetEphemeral

func (x *VolumeSource) GetEphemeral() *EphemeralVolumeSource

func (*VolumeSource) GetFc

func (x *VolumeSource) GetFc() *FCVolumeSource

func (*VolumeSource) GetFlexVolume

func (x *VolumeSource) GetFlexVolume() *FlexVolumeSource

func (*VolumeSource) GetFlocker

func (x *VolumeSource) GetFlocker() *FlockerVolumeSource

func (*VolumeSource) GetGcePersistentDisk

func (x *VolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource

func (*VolumeSource) GetGitRepo

func (x *VolumeSource) GetGitRepo() *GitRepoVolumeSource

func (*VolumeSource) GetGlusterfs

func (x *VolumeSource) GetGlusterfs() *GlusterfsVolumeSource

func (*VolumeSource) GetHostPath

func (x *VolumeSource) GetHostPath() *HostPathVolumeSource

func (*VolumeSource) GetIscsi

func (x *VolumeSource) GetIscsi() *ISCSIVolumeSource

func (*VolumeSource) GetNfs

func (x *VolumeSource) GetNfs() *NFSVolumeSource

func (*VolumeSource) GetPersistentVolumeClaim

func (x *VolumeSource) GetPersistentVolumeClaim() *PersistentVolumeClaimVolumeSource

func (*VolumeSource) GetPhotonPersistentDisk

func (x *VolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource

func (*VolumeSource) GetPortworxVolume

func (x *VolumeSource) GetPortworxVolume() *PortworxVolumeSource

func (*VolumeSource) GetProjected

func (x *VolumeSource) GetProjected() *ProjectedVolumeSource

func (*VolumeSource) GetQuobyte

func (x *VolumeSource) GetQuobyte() *QuobyteVolumeSource

func (*VolumeSource) GetRbd

func (x *VolumeSource) GetRbd() *RBDVolumeSource

func (*VolumeSource) GetScaleIO

func (x *VolumeSource) GetScaleIO() *ScaleIOVolumeSource

func (*VolumeSource) GetSecret

func (x *VolumeSource) GetSecret() *SecretVolumeSource

func (*VolumeSource) GetStorageos

func (x *VolumeSource) GetStorageos() *StorageOSVolumeSource

func (*VolumeSource) GetVsphereVolume

func (x *VolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource

func (*VolumeSource) ProtoMessage

func (*VolumeSource) ProtoMessage()

func (*VolumeSource) ProtoReflect

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

func (*VolumeSource) Reset

func (x *VolumeSource) Reset()

func (*VolumeSource) String

func (x *VolumeSource) String() string

type VsphereVirtualDiskVolumeSource

type VsphereVirtualDiskVolumeSource struct {

	// volumePath is the path that identifies vSphere volume vmdk
	VolumePath *string `protobuf:"bytes,1,opt,name=volumePath" json:"volumePath,omitempty"`
	// fsType is filesystem type to mount.
	// Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
	// +optional
	FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
	// storagePolicyName is the storage Policy Based Management (SPBM) profile name.
	// +optional
	StoragePolicyName *string `protobuf:"bytes,3,opt,name=storagePolicyName" json:"storagePolicyName,omitempty"`
	// storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
	// +optional
	StoragePolicyID *string `protobuf:"bytes,4,opt,name=storagePolicyID" json:"storagePolicyID,omitempty"`
	// contains filtered or unexported fields
}

Represents a vSphere volume resource.

func (*VsphereVirtualDiskVolumeSource) Descriptor deprecated

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

Deprecated: Use VsphereVirtualDiskVolumeSource.ProtoReflect.Descriptor instead.

func (*VsphereVirtualDiskVolumeSource) GetFsType

func (x *VsphereVirtualDiskVolumeSource) GetFsType() string

func (*VsphereVirtualDiskVolumeSource) GetStoragePolicyID

func (x *VsphereVirtualDiskVolumeSource) GetStoragePolicyID() string

func (*VsphereVirtualDiskVolumeSource) GetStoragePolicyName

func (x *VsphereVirtualDiskVolumeSource) GetStoragePolicyName() string

func (*VsphereVirtualDiskVolumeSource) GetVolumePath

func (x *VsphereVirtualDiskVolumeSource) GetVolumePath() string

func (*VsphereVirtualDiskVolumeSource) ProtoMessage

func (*VsphereVirtualDiskVolumeSource) ProtoMessage()

func (*VsphereVirtualDiskVolumeSource) ProtoReflect

func (*VsphereVirtualDiskVolumeSource) Reset

func (x *VsphereVirtualDiskVolumeSource) Reset()

func (*VsphereVirtualDiskVolumeSource) String

type WeightedPodAffinityTerm

type WeightedPodAffinityTerm struct {

	// weight associated with matching the corresponding podAffinityTerm,
	// in the range 1-100.
	Weight *int32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"`
	// Required. A pod affinity term, associated with the corresponding weight.
	PodAffinityTerm *PodAffinityTerm `protobuf:"bytes,2,opt,name=podAffinityTerm" json:"podAffinityTerm,omitempty"`
	// contains filtered or unexported fields
}

The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

func (*WeightedPodAffinityTerm) Descriptor deprecated

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

Deprecated: Use WeightedPodAffinityTerm.ProtoReflect.Descriptor instead.

func (*WeightedPodAffinityTerm) GetPodAffinityTerm

func (x *WeightedPodAffinityTerm) GetPodAffinityTerm() *PodAffinityTerm

func (*WeightedPodAffinityTerm) GetWeight

func (x *WeightedPodAffinityTerm) GetWeight() int32

func (*WeightedPodAffinityTerm) ProtoMessage

func (*WeightedPodAffinityTerm) ProtoMessage()

func (*WeightedPodAffinityTerm) ProtoReflect

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

func (*WeightedPodAffinityTerm) Reset

func (x *WeightedPodAffinityTerm) Reset()

func (*WeightedPodAffinityTerm) String

func (x *WeightedPodAffinityTerm) String() string

type WindowsSecurityContextOptions

type WindowsSecurityContextOptions struct {

	// GMSACredentialSpecName is the name of the GMSA credential spec to use.
	// +optional
	GmsaCredentialSpecName *string `protobuf:"bytes,1,opt,name=gmsaCredentialSpecName" json:"gmsaCredentialSpecName,omitempty"`
	// GMSACredentialSpec is where the GMSA admission webhook
	// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
	// GMSA credential spec named by the GMSACredentialSpecName field.
	// +optional
	GmsaCredentialSpec *string `protobuf:"bytes,2,opt,name=gmsaCredentialSpec" json:"gmsaCredentialSpec,omitempty"`
	// The UserName in Windows to run the entrypoint of the container process.
	// Defaults to the user specified in image metadata if unspecified.
	// May also be set in PodSecurityContext. If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// +optional
	RunAsUserName *string `protobuf:"bytes,3,opt,name=runAsUserName" json:"runAsUserName,omitempty"`
	// HostProcess determines if a container should be run as a 'Host Process' container.
	// All of a Pod's containers must have the same effective HostProcess value
	// (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
	// In addition, if HostProcess is true then HostNetwork must also be set to true.
	// +optional
	HostProcess *bool `protobuf:"varint,4,opt,name=hostProcess" json:"hostProcess,omitempty"`
	// contains filtered or unexported fields
}

WindowsSecurityContextOptions contain Windows-specific options and credentials.

func (*WindowsSecurityContextOptions) Descriptor deprecated

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

Deprecated: Use WindowsSecurityContextOptions.ProtoReflect.Descriptor instead.

func (*WindowsSecurityContextOptions) GetGmsaCredentialSpec

func (x *WindowsSecurityContextOptions) GetGmsaCredentialSpec() string

func (*WindowsSecurityContextOptions) GetGmsaCredentialSpecName

func (x *WindowsSecurityContextOptions) GetGmsaCredentialSpecName() string

func (*WindowsSecurityContextOptions) GetHostProcess

func (x *WindowsSecurityContextOptions) GetHostProcess() bool

func (*WindowsSecurityContextOptions) GetRunAsUserName

func (x *WindowsSecurityContextOptions) GetRunAsUserName() string

func (*WindowsSecurityContextOptions) ProtoMessage

func (*WindowsSecurityContextOptions) ProtoMessage()

func (*WindowsSecurityContextOptions) ProtoReflect

func (*WindowsSecurityContextOptions) Reset

func (x *WindowsSecurityContextOptions) Reset()

func (*WindowsSecurityContextOptions) String

Jump to

Keyboard shortcuts

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