Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterKubernetesServer(s grpc.ServiceRegistrar, srv KubernetesServer)
- type APIGroup
- func (*APIGroup) Descriptor() ([]byte, []int)deprecated
- func (x *APIGroup) GetName() string
- func (x *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery
- func (x *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
- func (x *APIGroup) GetVersions() []*GroupVersionForDiscovery
- func (*APIGroup) ProtoMessage()
- func (x *APIGroup) ProtoReflect() protoreflect.Message
- func (x *APIGroup) Reset()
- func (x *APIGroup) String() string
- type APIGroupList
- type APIResource
- func (*APIResource) Descriptor() ([]byte, []int)deprecated
- func (x *APIResource) GetCategories() []string
- func (x *APIResource) GetGroup() string
- func (x *APIResource) GetKind() string
- func (x *APIResource) GetName() string
- func (x *APIResource) GetNamespaced() bool
- func (x *APIResource) GetShortNames() []string
- func (x *APIResource) GetSingularName() string
- func (x *APIResource) GetStorageVersionHash() string
- func (x *APIResource) GetVerbs() *Verbs
- func (x *APIResource) GetVersion() string
- func (*APIResource) ProtoMessage()
- func (x *APIResource) ProtoReflect() protoreflect.Message
- func (x *APIResource) Reset()
- func (x *APIResource) String() string
- type APIResourceList
- func (*APIResourceList) Descriptor() ([]byte, []int)deprecated
- func (x *APIResourceList) GetGroupVersion() string
- func (x *APIResourceList) GetResources() []*APIResource
- func (*APIResourceList) ProtoMessage()
- func (x *APIResourceList) ProtoReflect() protoreflect.Message
- func (x *APIResourceList) Reset()
- func (x *APIResourceList) String() string
- type APIVersions
- func (*APIVersions) Descriptor() ([]byte, []int)deprecated
- func (x *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
- func (x *APIVersions) GetVersions() []string
- func (*APIVersions) ProtoMessage()
- func (x *APIVersions) ProtoReflect() protoreflect.Message
- func (x *APIVersions) Reset()
- func (x *APIVersions) String() string
- type AWSElasticBlockStoreVolumeSource
- func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *AWSElasticBlockStoreVolumeSource) GetFsType() string
- func (x *AWSElasticBlockStoreVolumeSource) GetPartition() int32
- func (x *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool
- func (x *AWSElasticBlockStoreVolumeSource) GetVolumeID() string
- func (*AWSElasticBlockStoreVolumeSource) ProtoMessage()
- func (x *AWSElasticBlockStoreVolumeSource) ProtoReflect() protoreflect.Message
- func (x *AWSElasticBlockStoreVolumeSource) Reset()
- func (x *AWSElasticBlockStoreVolumeSource) String() string
- type Affinity
- func (*Affinity) Descriptor() ([]byte, []int)deprecated
- func (x *Affinity) GetNodeAffinity() *NodeAffinity
- func (x *Affinity) GetPodAffinity() *PodAffinity
- func (x *Affinity) GetPodAntiAffinity() *PodAntiAffinity
- func (*Affinity) ProtoMessage()
- func (x *Affinity) ProtoReflect() protoreflect.Message
- func (x *Affinity) Reset()
- func (x *Affinity) String() string
- type App
- type AppDetail
- func (*AppDetail) Descriptor() ([]byte, []int)deprecated
- func (x *AppDetail) GetClusterName() string
- func (x *AppDetail) GetConfigMap() *ConfigMap
- func (x *AppDetail) GetDeployment() *Deployment
- func (x *AppDetail) GetHorizontalPodAutoscaler() *HorizontalPodAutoscaler
- func (x *AppDetail) GetIngressList() *IngressList
- func (x *AppDetail) GetJob() *Job
- func (x *AppDetail) GetSecret() *Secret
- func (x *AppDetail) GetService() *Service
- func (x *AppDetail) GetStatefulSet() *StatefulSet
- func (*AppDetail) ProtoMessage()
- func (x *AppDetail) ProtoReflect() protoreflect.Message
- func (x *AppDetail) Reset()
- func (x *AppDetail) String() string
- type AppDetailReq
- func (*AppDetailReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppDetailReq) GetName() string
- func (x *AppDetailReq) GetNamespace() string
- func (*AppDetailReq) ProtoMessage()
- func (x *AppDetailReq) ProtoReflect() protoreflect.Message
- func (x *AppDetailReq) Reset()
- func (x *AppDetailReq) String() string
- type AppDetailResp
- func (*AppDetailResp) Descriptor() ([]byte, []int)deprecated
- func (x *AppDetailResp) GetCode() string
- func (x *AppDetailResp) GetData() []*AppDetail
- func (x *AppDetailResp) GetMsg() string
- func (*AppDetailResp) ProtoMessage()
- func (x *AppDetailResp) ProtoReflect() protoreflect.Message
- func (x *AppDetailResp) Reset()
- func (x *AppDetailResp) String() string
- type AppJsonResp
- func (*AppJsonResp) Descriptor() ([]byte, []int)deprecated
- func (x *AppJsonResp) GetCode() string
- func (x *AppJsonResp) GetData() *App
- func (x *AppJsonResp) GetMsg() string
- func (*AppJsonResp) ProtoMessage()
- func (x *AppJsonResp) ProtoReflect() protoreflect.Message
- func (x *AppJsonResp) Reset()
- func (x *AppJsonResp) String() string
- type ApplyOptions
- func (*ApplyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyOptions) GetDryRun() []string
- func (x *ApplyOptions) GetFieldManager() string
- func (x *ApplyOptions) GetForce() bool
- func (*ApplyOptions) ProtoMessage()
- func (x *ApplyOptions) ProtoReflect() protoreflect.Message
- func (x *ApplyOptions) Reset()
- func (x *ApplyOptions) String() string
- type ApplyReq
- type ApplyResp
- func (*ApplyResp) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyResp) GetCode() string
- func (x *ApplyResp) GetDataSet() []*DataSet
- func (x *ApplyResp) GetMsg() string
- func (*ApplyResp) ProtoMessage()
- func (x *ApplyResp) ProtoReflect() protoreflect.Message
- func (x *ApplyResp) Reset()
- func (x *ApplyResp) String() string
- type AttachedVolume
- func (*AttachedVolume) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedVolume) GetDevicePath() string
- func (x *AttachedVolume) GetName() string
- func (*AttachedVolume) ProtoMessage()
- func (x *AttachedVolume) ProtoReflect() protoreflect.Message
- func (x *AttachedVolume) Reset()
- func (x *AttachedVolume) String() string
- type AvoidPods
- type AzureDiskVolumeSource
- func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *AzureDiskVolumeSource) GetCachingMode() string
- func (x *AzureDiskVolumeSource) GetDiskName() string
- func (x *AzureDiskVolumeSource) GetDiskURI() string
- func (x *AzureDiskVolumeSource) GetFsType() string
- func (x *AzureDiskVolumeSource) GetKind() string
- func (x *AzureDiskVolumeSource) GetReadOnly() bool
- func (*AzureDiskVolumeSource) ProtoMessage()
- func (x *AzureDiskVolumeSource) ProtoReflect() protoreflect.Message
- func (x *AzureDiskVolumeSource) Reset()
- func (x *AzureDiskVolumeSource) String() string
- type AzureFilePersistentVolumeSource
- func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *AzureFilePersistentVolumeSource) GetReadOnly() bool
- func (x *AzureFilePersistentVolumeSource) GetSecretName() string
- func (x *AzureFilePersistentVolumeSource) GetSecretNamespace() string
- func (x *AzureFilePersistentVolumeSource) GetShareName() string
- func (*AzureFilePersistentVolumeSource) ProtoMessage()
- func (x *AzureFilePersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *AzureFilePersistentVolumeSource) Reset()
- func (x *AzureFilePersistentVolumeSource) String() string
- type AzureFileVolumeSource
- func (*AzureFileVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *AzureFileVolumeSource) GetReadOnly() bool
- func (x *AzureFileVolumeSource) GetSecretName() string
- func (x *AzureFileVolumeSource) GetShareName() string
- func (*AzureFileVolumeSource) ProtoMessage()
- func (x *AzureFileVolumeSource) ProtoReflect() protoreflect.Message
- func (x *AzureFileVolumeSource) Reset()
- func (x *AzureFileVolumeSource) String() string
- type Binding
- type CSIPersistentVolumeSource
- func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *CSIPersistentVolumeSource) GetControllerExpandSecretRef() *SecretReference
- func (x *CSIPersistentVolumeSource) GetControllerPublishSecretRef() *SecretReference
- func (x *CSIPersistentVolumeSource) GetDriver() string
- func (x *CSIPersistentVolumeSource) GetFsType() string
- func (x *CSIPersistentVolumeSource) GetNodeExpandSecretRef() *SecretReference
- func (x *CSIPersistentVolumeSource) GetNodePublishSecretRef() *SecretReference
- func (x *CSIPersistentVolumeSource) GetNodeStageSecretRef() *SecretReference
- func (x *CSIPersistentVolumeSource) GetReadOnly() bool
- func (x *CSIPersistentVolumeSource) GetVolumeAttributes() map[string]string
- func (x *CSIPersistentVolumeSource) GetVolumeHandle() string
- func (*CSIPersistentVolumeSource) ProtoMessage()
- func (x *CSIPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *CSIPersistentVolumeSource) Reset()
- func (x *CSIPersistentVolumeSource) String() string
- type CSIVolumeSource
- func (*CSIVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *CSIVolumeSource) GetDriver() string
- func (x *CSIVolumeSource) GetFsType() string
- func (x *CSIVolumeSource) GetNodePublishSecretRef() *LocalObjectReference
- func (x *CSIVolumeSource) GetReadOnly() bool
- func (x *CSIVolumeSource) GetVolumeAttributes() map[string]string
- func (*CSIVolumeSource) ProtoMessage()
- func (x *CSIVolumeSource) ProtoReflect() protoreflect.Message
- func (x *CSIVolumeSource) Reset()
- func (x *CSIVolumeSource) String() string
- type Capabilities
- func (*Capabilities) Descriptor() ([]byte, []int)deprecated
- func (x *Capabilities) GetAdd() []string
- func (x *Capabilities) GetDrop() []string
- func (*Capabilities) ProtoMessage()
- func (x *Capabilities) ProtoReflect() protoreflect.Message
- func (x *Capabilities) Reset()
- func (x *Capabilities) String() string
- type CephFSPersistentVolumeSource
- func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *CephFSPersistentVolumeSource) GetMonitors() []string
- func (x *CephFSPersistentVolumeSource) GetPath() string
- func (x *CephFSPersistentVolumeSource) GetReadOnly() bool
- func (x *CephFSPersistentVolumeSource) GetSecretFile() string
- func (x *CephFSPersistentVolumeSource) GetSecretRef() *SecretReference
- func (x *CephFSPersistentVolumeSource) GetUser() string
- func (*CephFSPersistentVolumeSource) ProtoMessage()
- func (x *CephFSPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *CephFSPersistentVolumeSource) Reset()
- func (x *CephFSPersistentVolumeSource) String() string
- type CephFSVolumeSource
- func (*CephFSVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *CephFSVolumeSource) GetMonitors() []string
- func (x *CephFSVolumeSource) GetPath() string
- func (x *CephFSVolumeSource) GetReadOnly() bool
- func (x *CephFSVolumeSource) GetSecretFile() string
- func (x *CephFSVolumeSource) GetSecretRef() *LocalObjectReference
- func (x *CephFSVolumeSource) GetUser() string
- func (*CephFSVolumeSource) ProtoMessage()
- func (x *CephFSVolumeSource) ProtoReflect() protoreflect.Message
- func (x *CephFSVolumeSource) Reset()
- func (x *CephFSVolumeSource) String() string
- type CinderPersistentVolumeSource
- func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *CinderPersistentVolumeSource) GetFsType() string
- func (x *CinderPersistentVolumeSource) GetReadOnly() bool
- func (x *CinderPersistentVolumeSource) GetSecretRef() *SecretReference
- func (x *CinderPersistentVolumeSource) GetVolumeID() string
- func (*CinderPersistentVolumeSource) ProtoMessage()
- func (x *CinderPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *CinderPersistentVolumeSource) Reset()
- func (x *CinderPersistentVolumeSource) String() string
- type CinderVolumeSource
- func (*CinderVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *CinderVolumeSource) GetFsType() string
- func (x *CinderVolumeSource) GetReadOnly() bool
- func (x *CinderVolumeSource) GetSecretRef() *LocalObjectReference
- func (x *CinderVolumeSource) GetVolumeID() string
- func (*CinderVolumeSource) ProtoMessage()
- func (x *CinderVolumeSource) ProtoReflect() protoreflect.Message
- func (x *CinderVolumeSource) Reset()
- func (x *CinderVolumeSource) String() string
- type ClaimSource
- func (*ClaimSource) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimSource) GetResourceClaimName() string
- func (x *ClaimSource) GetResourceClaimTemplateName() string
- func (*ClaimSource) ProtoMessage()
- func (x *ClaimSource) ProtoReflect() protoreflect.Message
- func (x *ClaimSource) Reset()
- func (x *ClaimSource) String() string
- type ClientIPConfig
- type ComponentCondition
- func (*ComponentCondition) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentCondition) GetError() string
- func (x *ComponentCondition) GetMessage() string
- func (x *ComponentCondition) GetStatus() string
- func (x *ComponentCondition) GetType() string
- func (*ComponentCondition) ProtoMessage()
- func (x *ComponentCondition) ProtoReflect() protoreflect.Message
- func (x *ComponentCondition) Reset()
- func (x *ComponentCondition) String() string
- type ComponentStatus
- func (*ComponentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentStatus) GetConditions() []*ComponentCondition
- func (x *ComponentStatus) GetMetadata() *ObjectMeta
- func (*ComponentStatus) ProtoMessage()
- func (x *ComponentStatus) ProtoReflect() protoreflect.Message
- func (x *ComponentStatus) Reset()
- func (x *ComponentStatus) String() string
- type ComponentStatusList
- func (*ComponentStatusList) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentStatusList) GetItems() []*ComponentStatus
- func (x *ComponentStatusList) GetMetadata() *ListMeta
- func (*ComponentStatusList) ProtoMessage()
- func (x *ComponentStatusList) ProtoReflect() protoreflect.Message
- func (x *ComponentStatusList) Reset()
- func (x *ComponentStatusList) String() string
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetLastTransitionTime() *Time
- func (x *Condition) GetMessage() string
- func (x *Condition) GetObservedGeneration() int64
- func (x *Condition) GetReason() string
- func (x *Condition) GetStatus() string
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type ConfigMap
- func (*ConfigMap) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMap) GetBinaryData() map[string][]byte
- func (x *ConfigMap) GetData() map[string]string
- func (x *ConfigMap) GetImmutable() bool
- func (x *ConfigMap) GetMetadata() *ObjectMeta
- func (*ConfigMap) ProtoMessage()
- func (x *ConfigMap) ProtoReflect() protoreflect.Message
- func (x *ConfigMap) Reset()
- func (x *ConfigMap) String() string
- type ConfigMapEnvSource
- func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference
- func (x *ConfigMapEnvSource) GetOptional() bool
- func (*ConfigMapEnvSource) ProtoMessage()
- func (x *ConfigMapEnvSource) ProtoReflect() protoreflect.Message
- func (x *ConfigMapEnvSource) Reset()
- func (x *ConfigMapEnvSource) String() string
- type ConfigMapKeySelector
- func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapKeySelector) GetKey() string
- func (x *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference
- func (x *ConfigMapKeySelector) GetOptional() bool
- func (*ConfigMapKeySelector) ProtoMessage()
- func (x *ConfigMapKeySelector) ProtoReflect() protoreflect.Message
- func (x *ConfigMapKeySelector) Reset()
- func (x *ConfigMapKeySelector) String() string
- type ConfigMapList
- func (*ConfigMapList) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapList) GetItems() []*ConfigMap
- func (x *ConfigMapList) GetMetadata() *ListMeta
- func (*ConfigMapList) ProtoMessage()
- func (x *ConfigMapList) ProtoReflect() protoreflect.Message
- func (x *ConfigMapList) Reset()
- func (x *ConfigMapList) String() string
- type ConfigMapNodeConfigSource
- func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapNodeConfigSource) GetKubeletConfigKey() string
- func (x *ConfigMapNodeConfigSource) GetName() string
- func (x *ConfigMapNodeConfigSource) GetNamespace() string
- func (x *ConfigMapNodeConfigSource) GetResourceVersion() string
- func (x *ConfigMapNodeConfigSource) GetUid() string
- func (*ConfigMapNodeConfigSource) ProtoMessage()
- func (x *ConfigMapNodeConfigSource) ProtoReflect() protoreflect.Message
- func (x *ConfigMapNodeConfigSource) Reset()
- func (x *ConfigMapNodeConfigSource) String() string
- type ConfigMapProjection
- func (*ConfigMapProjection) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapProjection) GetItems() []*KeyToPath
- func (x *ConfigMapProjection) GetLocalObjectReference() *LocalObjectReference
- func (x *ConfigMapProjection) GetOptional() bool
- func (*ConfigMapProjection) ProtoMessage()
- func (x *ConfigMapProjection) ProtoReflect() protoreflect.Message
- func (x *ConfigMapProjection) Reset()
- func (x *ConfigMapProjection) String() string
- type ConfigMapVolumeSource
- func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapVolumeSource) GetDefaultMode() int32
- func (x *ConfigMapVolumeSource) GetItems() []*KeyToPath
- func (x *ConfigMapVolumeSource) GetLocalObjectReference() *LocalObjectReference
- func (x *ConfigMapVolumeSource) GetOptional() bool
- func (*ConfigMapVolumeSource) ProtoMessage()
- func (x *ConfigMapVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ConfigMapVolumeSource) Reset()
- func (x *ConfigMapVolumeSource) String() string
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetArgs() []string
- func (x *Container) GetCommand() []string
- func (x *Container) GetEnv() []*EnvVar
- func (x *Container) GetEnvFrom() []*EnvFromSource
- func (x *Container) GetImage() string
- func (x *Container) GetImagePullPolicy() string
- func (x *Container) GetLifecycle() *Lifecycle
- func (x *Container) GetLivenessProbe() *Probe
- func (x *Container) GetName() string
- func (x *Container) GetPorts() []*ContainerPort
- func (x *Container) GetReadinessProbe() *Probe
- func (x *Container) GetResizePolicy() []*ContainerResizePolicy
- func (x *Container) GetResources() *ResourceRequirements
- func (x *Container) GetRestartPolicy() string
- func (x *Container) GetSecurityContext() *SecurityContext
- func (x *Container) GetStartupProbe() *Probe
- func (x *Container) GetStdin() bool
- func (x *Container) GetStdinOnce() bool
- func (x *Container) GetTerminationMessagePath() string
- func (x *Container) GetTerminationMessagePolicy() string
- func (x *Container) GetTty() bool
- func (x *Container) GetVolumeDevices() []*VolumeDevice
- func (x *Container) GetVolumeMounts() []*VolumeMount
- func (x *Container) GetWorkingDir() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContainerImage
- func (*ContainerImage) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerImage) GetNames() []string
- func (x *ContainerImage) GetSizeBytes() int64
- func (*ContainerImage) ProtoMessage()
- func (x *ContainerImage) ProtoReflect() protoreflect.Message
- func (x *ContainerImage) Reset()
- func (x *ContainerImage) String() string
- type ContainerPort
- func (*ContainerPort) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerPort) GetContainerPort() int32
- func (x *ContainerPort) GetHostIP() string
- func (x *ContainerPort) GetHostPort() int32
- func (x *ContainerPort) GetName() string
- func (x *ContainerPort) GetProtocol() string
- func (*ContainerPort) ProtoMessage()
- func (x *ContainerPort) ProtoReflect() protoreflect.Message
- func (x *ContainerPort) Reset()
- func (x *ContainerPort) String() string
- type ContainerResizePolicy
- func (*ContainerResizePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerResizePolicy) GetResourceName() string
- func (x *ContainerResizePolicy) GetRestartPolicy() string
- func (*ContainerResizePolicy) ProtoMessage()
- func (x *ContainerResizePolicy) ProtoReflect() protoreflect.Message
- func (x *ContainerResizePolicy) Reset()
- func (x *ContainerResizePolicy) String() string
- type ContainerState
- func (*ContainerState) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerState) GetRunning() *ContainerStateRunning
- func (x *ContainerState) GetTerminated() *ContainerStateTerminated
- func (x *ContainerState) GetWaiting() *ContainerStateWaiting
- func (*ContainerState) ProtoMessage()
- func (x *ContainerState) ProtoReflect() protoreflect.Message
- func (x *ContainerState) Reset()
- func (x *ContainerState) String() string
- type ContainerStateRunning
- func (*ContainerStateRunning) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStateRunning) GetStartedAt() *Time
- func (*ContainerStateRunning) ProtoMessage()
- func (x *ContainerStateRunning) ProtoReflect() protoreflect.Message
- func (x *ContainerStateRunning) Reset()
- func (x *ContainerStateRunning) String() string
- type ContainerStateTerminated
- func (*ContainerStateTerminated) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStateTerminated) GetContainerID() string
- func (x *ContainerStateTerminated) GetExitCode() int32
- func (x *ContainerStateTerminated) GetFinishedAt() *Time
- func (x *ContainerStateTerminated) GetMessage() string
- func (x *ContainerStateTerminated) GetReason() string
- func (x *ContainerStateTerminated) GetSignal() int32
- func (x *ContainerStateTerminated) GetStartedAt() *Time
- func (*ContainerStateTerminated) ProtoMessage()
- func (x *ContainerStateTerminated) ProtoReflect() protoreflect.Message
- func (x *ContainerStateTerminated) Reset()
- func (x *ContainerStateTerminated) String() string
- type ContainerStateWaiting
- func (*ContainerStateWaiting) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStateWaiting) GetMessage() string
- func (x *ContainerStateWaiting) GetReason() string
- func (*ContainerStateWaiting) ProtoMessage()
- func (x *ContainerStateWaiting) ProtoReflect() protoreflect.Message
- func (x *ContainerStateWaiting) Reset()
- func (x *ContainerStateWaiting) String() string
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStatus) GetAllocatedResources() map[string]*Quantity
- func (x *ContainerStatus) GetContainerID() string
- func (x *ContainerStatus) GetImage() string
- func (x *ContainerStatus) GetImageID() string
- func (x *ContainerStatus) GetLastState() *ContainerState
- func (x *ContainerStatus) GetName() string
- func (x *ContainerStatus) GetReady() bool
- func (x *ContainerStatus) GetResources() *ResourceRequirements
- func (x *ContainerStatus) GetRestartCount() int32
- func (x *ContainerStatus) GetStarted() bool
- func (x *ContainerStatus) GetState() *ContainerState
- func (*ContainerStatus) ProtoMessage()
- func (x *ContainerStatus) ProtoReflect() protoreflect.Message
- func (x *ContainerStatus) Reset()
- func (x *ContainerStatus) String() string
- type CreateOptions
- func (*CreateOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOptions) GetDryRun() []string
- func (x *CreateOptions) GetFieldManager() string
- func (x *CreateOptions) GetFieldValidation() string
- func (*CreateOptions) ProtoMessage()
- func (x *CreateOptions) ProtoReflect() protoreflect.Message
- func (x *CreateOptions) Reset()
- func (x *CreateOptions) String() string
- type CrossVersionObjectReference
- func (*CrossVersionObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *CrossVersionObjectReference) GetApiVersion() string
- func (x *CrossVersionObjectReference) GetKind() string
- func (x *CrossVersionObjectReference) GetName() string
- func (*CrossVersionObjectReference) ProtoMessage()
- func (x *CrossVersionObjectReference) ProtoReflect() protoreflect.Message
- func (x *CrossVersionObjectReference) Reset()
- func (x *CrossVersionObjectReference) String() string
- type DaemonEndpoint
- type DataSet
- func (*DataSet) Descriptor() ([]byte, []int)deprecated
- func (x *DataSet) GetApiVersion() string
- func (x *DataSet) GetKind() string
- func (x *DataSet) GetName() string
- func (x *DataSet) GetNamespace() string
- func (*DataSet) ProtoMessage()
- func (x *DataSet) ProtoReflect() protoreflect.Message
- func (x *DataSet) Reset()
- func (x *DataSet) String() string
- type DeleteOptions
- func (*DeleteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOptions) GetDryRun() []string
- func (x *DeleteOptions) GetGracePeriodSeconds() int64
- func (x *DeleteOptions) GetOrphanDependents() bool
- func (x *DeleteOptions) GetPreconditions() *Preconditions
- func (x *DeleteOptions) GetPropagationPolicy() string
- func (*DeleteOptions) ProtoMessage()
- func (x *DeleteOptions) ProtoReflect() protoreflect.Message
- func (x *DeleteOptions) Reset()
- func (x *DeleteOptions) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetMetadata() *ObjectMeta
- func (x *Deployment) GetSpec() *DeploymentSpec
- func (x *Deployment) GetStatus() *DeploymentStatus
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type DeploymentCondition
- func (*DeploymentCondition) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentCondition) GetLastTransitionTime() *Time
- func (x *DeploymentCondition) GetLastUpdateTime() *Time
- func (x *DeploymentCondition) GetMessage() string
- func (x *DeploymentCondition) GetReason() string
- func (x *DeploymentCondition) GetStatus() string
- func (x *DeploymentCondition) GetType() string
- func (*DeploymentCondition) ProtoMessage()
- func (x *DeploymentCondition) ProtoReflect() protoreflect.Message
- func (x *DeploymentCondition) Reset()
- func (x *DeploymentCondition) String() string
- type DeploymentDetailReq
- func (*DeploymentDetailReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDetailReq) GetName() string
- func (x *DeploymentDetailReq) GetNamespace() string
- func (*DeploymentDetailReq) ProtoMessage()
- func (x *DeploymentDetailReq) ProtoReflect() protoreflect.Message
- func (x *DeploymentDetailReq) Reset()
- func (x *DeploymentDetailReq) String() string
- type DeploymentDetailResp
- func (*DeploymentDetailResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDetailResp) GetCode() string
- func (x *DeploymentDetailResp) GetDeployment() *Deployment
- func (x *DeploymentDetailResp) GetMsg() string
- func (*DeploymentDetailResp) ProtoMessage()
- func (x *DeploymentDetailResp) ProtoReflect() protoreflect.Message
- func (x *DeploymentDetailResp) Reset()
- func (x *DeploymentDetailResp) String() string
- type DeploymentList
- func (*DeploymentList) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentList) GetItems() []*Deployment
- func (x *DeploymentList) GetMetadata() *ListMeta
- func (*DeploymentList) ProtoMessage()
- func (x *DeploymentList) ProtoReflect() protoreflect.Message
- func (x *DeploymentList) Reset()
- func (x *DeploymentList) String() string
- type DeploymentListReq
- type DeploymentListResp
- func (*DeploymentListResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentListResp) GetCode() string
- func (x *DeploymentListResp) GetData() *DeploymentList
- func (x *DeploymentListResp) GetMsg() string
- func (*DeploymentListResp) ProtoMessage()
- func (x *DeploymentListResp) ProtoReflect() protoreflect.Message
- func (x *DeploymentListResp) Reset()
- func (x *DeploymentListResp) String() string
- type DeploymentResp
- func (*DeploymentResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentResp) GetCode() string
- func (x *DeploymentResp) GetData() *Deployment
- func (x *DeploymentResp) GetMsg() string
- func (*DeploymentResp) ProtoMessage()
- func (x *DeploymentResp) ProtoReflect() protoreflect.Message
- func (x *DeploymentResp) Reset()
- func (x *DeploymentResp) String() string
- type DeploymentSpec
- func (*DeploymentSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentSpec) GetMinReadySeconds() int32
- func (x *DeploymentSpec) GetPaused() bool
- func (x *DeploymentSpec) GetProgressDeadlineSeconds() int32
- func (x *DeploymentSpec) GetReplicas() int32
- func (x *DeploymentSpec) GetRevisionHistoryLimit() int32
- func (x *DeploymentSpec) GetRollbackTo() *RollbackConfig
- func (x *DeploymentSpec) GetSelector() *LabelSelector
- func (x *DeploymentSpec) GetStrategy() *DeploymentStrategy
- func (x *DeploymentSpec) GetTemplate() *PodTemplateSpec
- func (*DeploymentSpec) ProtoMessage()
- func (x *DeploymentSpec) ProtoReflect() protoreflect.Message
- func (x *DeploymentSpec) Reset()
- func (x *DeploymentSpec) String() string
- type DeploymentStatus
- func (*DeploymentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentStatus) GetAvailableReplicas() int32
- func (x *DeploymentStatus) GetCollisionCount() int32
- func (x *DeploymentStatus) GetConditions() []*DeploymentCondition
- func (x *DeploymentStatus) GetObservedGeneration() int64
- func (x *DeploymentStatus) GetReadyReplicas() int32
- func (x *DeploymentStatus) GetReplicas() int32
- func (x *DeploymentStatus) GetUnavailableReplicas() int32
- func (x *DeploymentStatus) GetUpdatedReplicas() int32
- func (*DeploymentStatus) ProtoMessage()
- func (x *DeploymentStatus) ProtoReflect() protoreflect.Message
- func (x *DeploymentStatus) Reset()
- func (x *DeploymentStatus) String() string
- type DeploymentStrategy
- func (*DeploymentStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentStrategy) GetRollingUpdate() *RollingUpdateDeployment
- func (x *DeploymentStrategy) GetType() string
- func (*DeploymentStrategy) ProtoMessage()
- func (x *DeploymentStrategy) ProtoReflect() protoreflect.Message
- func (x *DeploymentStrategy) Reset()
- func (x *DeploymentStrategy) String() string
- type DownwardAPIProjection
- func (*DownwardAPIProjection) Descriptor() ([]byte, []int)deprecated
- func (x *DownwardAPIProjection) GetItems() []*DownwardAPIVolumeFile
- func (*DownwardAPIProjection) ProtoMessage()
- func (x *DownwardAPIProjection) ProtoReflect() protoreflect.Message
- func (x *DownwardAPIProjection) Reset()
- func (x *DownwardAPIProjection) String() string
- type DownwardAPIVolumeFile
- func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int)deprecated
- func (x *DownwardAPIVolumeFile) GetFieldRef() *ObjectFieldSelector
- func (x *DownwardAPIVolumeFile) GetMode() int32
- func (x *DownwardAPIVolumeFile) GetPath() string
- func (x *DownwardAPIVolumeFile) GetResourceFieldRef() *ResourceFieldSelector
- func (*DownwardAPIVolumeFile) ProtoMessage()
- func (x *DownwardAPIVolumeFile) ProtoReflect() protoreflect.Message
- func (x *DownwardAPIVolumeFile) Reset()
- func (x *DownwardAPIVolumeFile) String() string
- type DownwardAPIVolumeSource
- func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *DownwardAPIVolumeSource) GetDefaultMode() int32
- func (x *DownwardAPIVolumeSource) GetItems() []*DownwardAPIVolumeFile
- func (*DownwardAPIVolumeSource) ProtoMessage()
- func (x *DownwardAPIVolumeSource) ProtoReflect() protoreflect.Message
- func (x *DownwardAPIVolumeSource) Reset()
- func (x *DownwardAPIVolumeSource) String() string
- type Duration
- type EmptyDirVolumeSource
- func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *EmptyDirVolumeSource) GetMedium() string
- func (x *EmptyDirVolumeSource) GetSizeLimit() *Quantity
- func (*EmptyDirVolumeSource) ProtoMessage()
- func (x *EmptyDirVolumeSource) ProtoReflect() protoreflect.Message
- func (x *EmptyDirVolumeSource) Reset()
- func (x *EmptyDirVolumeSource) String() string
- type EndpointAddress
- func (*EndpointAddress) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointAddress) GetHostname() string
- func (x *EndpointAddress) GetIp() string
- func (x *EndpointAddress) GetNodeName() string
- func (x *EndpointAddress) GetTargetRef() *ObjectReference
- func (*EndpointAddress) ProtoMessage()
- func (x *EndpointAddress) ProtoReflect() protoreflect.Message
- func (x *EndpointAddress) Reset()
- func (x *EndpointAddress) String() string
- type EndpointPort
- func (*EndpointPort) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointPort) GetAppProtocol() string
- func (x *EndpointPort) GetName() string
- func (x *EndpointPort) GetPort() int32
- func (x *EndpointPort) GetProtocol() string
- func (*EndpointPort) ProtoMessage()
- func (x *EndpointPort) ProtoReflect() protoreflect.Message
- func (x *EndpointPort) Reset()
- func (x *EndpointPort) String() string
- type EndpointSubset
- func (*EndpointSubset) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointSubset) GetAddresses() []*EndpointAddress
- func (x *EndpointSubset) GetNotReadyAddresses() []*EndpointAddress
- func (x *EndpointSubset) GetPorts() []*EndpointPort
- func (*EndpointSubset) ProtoMessage()
- func (x *EndpointSubset) ProtoReflect() protoreflect.Message
- func (x *EndpointSubset) Reset()
- func (x *EndpointSubset) String() string
- type Endpoints
- func (*Endpoints) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoints) GetMetadata() *ObjectMeta
- func (x *Endpoints) GetSubsets() []*EndpointSubset
- func (*Endpoints) ProtoMessage()
- func (x *Endpoints) ProtoReflect() protoreflect.Message
- func (x *Endpoints) Reset()
- func (x *Endpoints) String() string
- type EndpointsList
- func (*EndpointsList) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointsList) GetItems() []*Endpoints
- func (x *EndpointsList) GetMetadata() *ListMeta
- func (*EndpointsList) ProtoMessage()
- func (x *EndpointsList) ProtoReflect() protoreflect.Message
- func (x *EndpointsList) Reset()
- func (x *EndpointsList) String() string
- type EnvFromSource
- func (*EnvFromSource) Descriptor() ([]byte, []int)deprecated
- func (x *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource
- func (x *EnvFromSource) GetPrefix() string
- func (x *EnvFromSource) GetSecretRef() *SecretEnvSource
- func (*EnvFromSource) ProtoMessage()
- func (x *EnvFromSource) ProtoReflect() protoreflect.Message
- func (x *EnvFromSource) Reset()
- func (x *EnvFromSource) String() string
- type EnvVar
- func (*EnvVar) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVar) GetName() string
- func (x *EnvVar) GetValue() string
- func (x *EnvVar) GetValueFrom() *EnvVarSource
- func (*EnvVar) ProtoMessage()
- func (x *EnvVar) ProtoReflect() protoreflect.Message
- func (x *EnvVar) Reset()
- func (x *EnvVar) String() string
- type EnvVarSource
- func (*EnvVarSource) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector
- func (x *EnvVarSource) GetFieldRef() *ObjectFieldSelector
- func (x *EnvVarSource) GetResourceFieldRef() *ResourceFieldSelector
- func (x *EnvVarSource) GetSecretKeyRef() *SecretKeySelector
- func (*EnvVarSource) ProtoMessage()
- func (x *EnvVarSource) ProtoReflect() protoreflect.Message
- func (x *EnvVarSource) Reset()
- func (x *EnvVarSource) String() string
- type EphemeralContainer
- func (*EphemeralContainer) Descriptor() ([]byte, []int)deprecated
- func (x *EphemeralContainer) GetEphemeralContainerCommon() *EphemeralContainerCommon
- func (x *EphemeralContainer) GetTargetContainerName() string
- func (*EphemeralContainer) ProtoMessage()
- func (x *EphemeralContainer) ProtoReflect() protoreflect.Message
- func (x *EphemeralContainer) Reset()
- func (x *EphemeralContainer) String() string
- type EphemeralContainerCommon
- func (*EphemeralContainerCommon) Descriptor() ([]byte, []int)deprecated
- func (x *EphemeralContainerCommon) GetArgs() []string
- func (x *EphemeralContainerCommon) GetCommand() []string
- func (x *EphemeralContainerCommon) GetEnv() []*EnvVar
- func (x *EphemeralContainerCommon) GetEnvFrom() []*EnvFromSource
- func (x *EphemeralContainerCommon) GetImage() string
- func (x *EphemeralContainerCommon) GetImagePullPolicy() string
- func (x *EphemeralContainerCommon) GetLifecycle() *Lifecycle
- func (x *EphemeralContainerCommon) GetLivenessProbe() *Probe
- func (x *EphemeralContainerCommon) GetName() string
- func (x *EphemeralContainerCommon) GetPorts() []*ContainerPort
- func (x *EphemeralContainerCommon) GetReadinessProbe() *Probe
- func (x *EphemeralContainerCommon) GetResizePolicy() []*ContainerResizePolicy
- func (x *EphemeralContainerCommon) GetResources() *ResourceRequirements
- func (x *EphemeralContainerCommon) GetRestartPolicy() string
- func (x *EphemeralContainerCommon) GetSecurityContext() *SecurityContext
- func (x *EphemeralContainerCommon) GetStartupProbe() *Probe
- func (x *EphemeralContainerCommon) GetStdin() bool
- func (x *EphemeralContainerCommon) GetStdinOnce() bool
- func (x *EphemeralContainerCommon) GetTerminationMessagePath() string
- func (x *EphemeralContainerCommon) GetTerminationMessagePolicy() string
- func (x *EphemeralContainerCommon) GetTty() bool
- func (x *EphemeralContainerCommon) GetVolumeDevices() []*VolumeDevice
- func (x *EphemeralContainerCommon) GetVolumeMounts() []*VolumeMount
- func (x *EphemeralContainerCommon) GetWorkingDir() string
- func (*EphemeralContainerCommon) ProtoMessage()
- func (x *EphemeralContainerCommon) ProtoReflect() protoreflect.Message
- func (x *EphemeralContainerCommon) Reset()
- func (x *EphemeralContainerCommon) String() string
- type EphemeralVolumeSource
- func (*EphemeralVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *EphemeralVolumeSource) GetVolumeClaimTemplate() *PersistentVolumeClaimTemplate
- func (*EphemeralVolumeSource) ProtoMessage()
- func (x *EphemeralVolumeSource) ProtoReflect() protoreflect.Message
- func (x *EphemeralVolumeSource) Reset()
- func (x *EphemeralVolumeSource) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAction() string
- func (x *Event) GetCount() int32
- func (x *Event) GetEventTime() *MicroTime
- func (x *Event) GetFirstTimestamp() *Time
- func (x *Event) GetInvolvedObject() *ObjectReference
- func (x *Event) GetLastTimestamp() *Time
- func (x *Event) GetMessage() string
- func (x *Event) GetMetadata() *ObjectMeta
- func (x *Event) GetReason() string
- func (x *Event) GetRelated() *ObjectReference
- func (x *Event) GetReportingComponent() string
- func (x *Event) GetReportingInstance() string
- func (x *Event) GetSeries() *EventSeries
- func (x *Event) GetSource() *EventSource
- func (x *Event) GetType() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventList
- type EventSeries
- func (*EventSeries) Descriptor() ([]byte, []int)deprecated
- func (x *EventSeries) GetCount() int32
- func (x *EventSeries) GetLastObservedTime() *MicroTime
- func (*EventSeries) ProtoMessage()
- func (x *EventSeries) ProtoReflect() protoreflect.Message
- func (x *EventSeries) Reset()
- func (x *EventSeries) String() string
- type EventSource
- func (*EventSource) Descriptor() ([]byte, []int)deprecated
- func (x *EventSource) GetComponent() string
- func (x *EventSource) GetHost() string
- func (*EventSource) ProtoMessage()
- func (x *EventSource) ProtoReflect() protoreflect.Message
- func (x *EventSource) Reset()
- func (x *EventSource) String() string
- type ExecAction
- type FCVolumeSource
- func (*FCVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *FCVolumeSource) GetFsType() string
- func (x *FCVolumeSource) GetLun() int32
- func (x *FCVolumeSource) GetReadOnly() bool
- func (x *FCVolumeSource) GetTargetWWNs() []string
- func (x *FCVolumeSource) GetWwids() []string
- func (*FCVolumeSource) ProtoMessage()
- func (x *FCVolumeSource) ProtoReflect() protoreflect.Message
- func (x *FCVolumeSource) Reset()
- func (x *FCVolumeSource) String() string
- type FieldsV1
- type FlexPersistentVolumeSource
- func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *FlexPersistentVolumeSource) GetDriver() string
- func (x *FlexPersistentVolumeSource) GetFsType() string
- func (x *FlexPersistentVolumeSource) GetOptions() map[string]string
- func (x *FlexPersistentVolumeSource) GetReadOnly() bool
- func (x *FlexPersistentVolumeSource) GetSecretRef() *SecretReference
- func (*FlexPersistentVolumeSource) ProtoMessage()
- func (x *FlexPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *FlexPersistentVolumeSource) Reset()
- func (x *FlexPersistentVolumeSource) String() string
- type FlexVolumeSource
- func (*FlexVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *FlexVolumeSource) GetDriver() string
- func (x *FlexVolumeSource) GetFsType() string
- func (x *FlexVolumeSource) GetOptions() map[string]string
- func (x *FlexVolumeSource) GetReadOnly() bool
- func (x *FlexVolumeSource) GetSecretRef() *LocalObjectReference
- func (*FlexVolumeSource) ProtoMessage()
- func (x *FlexVolumeSource) ProtoReflect() protoreflect.Message
- func (x *FlexVolumeSource) Reset()
- func (x *FlexVolumeSource) String() string
- type FlockerVolumeSource
- func (*FlockerVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *FlockerVolumeSource) GetDatasetName() string
- func (x *FlockerVolumeSource) GetDatasetUUID() string
- func (*FlockerVolumeSource) ProtoMessage()
- func (x *FlockerVolumeSource) ProtoReflect() protoreflect.Message
- func (x *FlockerVolumeSource) Reset()
- func (x *FlockerVolumeSource) String() string
- type GCEPersistentDiskVolumeSource
- func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *GCEPersistentDiskVolumeSource) GetFsType() string
- func (x *GCEPersistentDiskVolumeSource) GetPartition() int32
- func (x *GCEPersistentDiskVolumeSource) GetPdName() string
- func (x *GCEPersistentDiskVolumeSource) GetReadOnly() bool
- func (*GCEPersistentDiskVolumeSource) ProtoMessage()
- func (x *GCEPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message
- func (x *GCEPersistentDiskVolumeSource) Reset()
- func (x *GCEPersistentDiskVolumeSource) String() string
- type GRPCAction
- type GetOptions
- type GetReq
- type GitRepoVolumeSource
- func (*GitRepoVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *GitRepoVolumeSource) GetDirectory() string
- func (x *GitRepoVolumeSource) GetRepository() string
- func (x *GitRepoVolumeSource) GetRevision() string
- func (*GitRepoVolumeSource) ProtoMessage()
- func (x *GitRepoVolumeSource) ProtoReflect() protoreflect.Message
- func (x *GitRepoVolumeSource) Reset()
- func (x *GitRepoVolumeSource) String() string
- type GlusterfsPersistentVolumeSource
- func (*GlusterfsPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *GlusterfsPersistentVolumeSource) GetEndpoints() string
- func (x *GlusterfsPersistentVolumeSource) GetEndpointsNamespace() string
- func (x *GlusterfsPersistentVolumeSource) GetPath() string
- func (x *GlusterfsPersistentVolumeSource) GetReadOnly() bool
- func (*GlusterfsPersistentVolumeSource) ProtoMessage()
- func (x *GlusterfsPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *GlusterfsPersistentVolumeSource) Reset()
- func (x *GlusterfsPersistentVolumeSource) String() string
- type GlusterfsVolumeSource
- func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *GlusterfsVolumeSource) GetEndpoints() string
- func (x *GlusterfsVolumeSource) GetPath() string
- func (x *GlusterfsVolumeSource) GetReadOnly() bool
- func (*GlusterfsVolumeSource) ProtoMessage()
- func (x *GlusterfsVolumeSource) ProtoReflect() protoreflect.Message
- func (x *GlusterfsVolumeSource) Reset()
- func (x *GlusterfsVolumeSource) String() string
- type GroupKind
- type GroupResource
- func (*GroupResource) Descriptor() ([]byte, []int)deprecated
- func (x *GroupResource) GetGroup() string
- func (x *GroupResource) GetResource() string
- func (*GroupResource) ProtoMessage()
- func (x *GroupResource) ProtoReflect() protoreflect.Message
- func (x *GroupResource) Reset()
- func (x *GroupResource) String() string
- type GroupVersion
- func (*GroupVersion) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersion) GetGroup() string
- func (x *GroupVersion) GetVersion() string
- func (*GroupVersion) ProtoMessage()
- func (x *GroupVersion) ProtoReflect() protoreflect.Message
- func (x *GroupVersion) Reset()
- func (x *GroupVersion) String() string
- type GroupVersionForDiscovery
- func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionForDiscovery) GetGroupVersion() string
- func (x *GroupVersionForDiscovery) GetVersion() string
- func (*GroupVersionForDiscovery) ProtoMessage()
- func (x *GroupVersionForDiscovery) ProtoReflect() protoreflect.Message
- func (x *GroupVersionForDiscovery) Reset()
- func (x *GroupVersionForDiscovery) String() string
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionKind) GetGroup() string
- func (x *GroupVersionKind) GetKind() string
- func (x *GroupVersionKind) GetVersion() string
- func (*GroupVersionKind) ProtoMessage()
- func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
- func (x *GroupVersionKind) Reset()
- func (x *GroupVersionKind) String() string
- type GroupVersionResource
- func (*GroupVersionResource) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionResource) GetGroup() string
- func (x *GroupVersionResource) GetResource() string
- func (x *GroupVersionResource) GetVersion() string
- func (*GroupVersionResource) ProtoMessage()
- func (x *GroupVersionResource) ProtoReflect() protoreflect.Message
- func (x *GroupVersionResource) Reset()
- func (x *GroupVersionResource) String() string
- type HTTPGetAction
- func (*HTTPGetAction) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPGetAction) GetHost() string
- func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
- func (x *HTTPGetAction) GetPath() string
- func (x *HTTPGetAction) GetPort() *IntOrString
- func (x *HTTPGetAction) GetScheme() string
- func (*HTTPGetAction) ProtoMessage()
- func (x *HTTPGetAction) ProtoReflect() protoreflect.Message
- func (x *HTTPGetAction) Reset()
- func (x *HTTPGetAction) String() string
- type HTTPHeader
- type HTTPIngressPath
- func (*HTTPIngressPath) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPIngressPath) GetBackend() *IngressBackend
- func (x *HTTPIngressPath) GetPath() string
- func (x *HTTPIngressPath) GetPathType() string
- func (*HTTPIngressPath) ProtoMessage()
- func (x *HTTPIngressPath) ProtoReflect() protoreflect.Message
- func (x *HTTPIngressPath) Reset()
- func (x *HTTPIngressPath) String() string
- type HTTPIngressRuleValue
- func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPIngressRuleValue) GetPaths() []*HTTPIngressPath
- func (*HTTPIngressRuleValue) ProtoMessage()
- func (x *HTTPIngressRuleValue) ProtoReflect() protoreflect.Message
- func (x *HTTPIngressRuleValue) Reset()
- func (x *HTTPIngressRuleValue) String() string
- type HorizontalPodAutoscaler
- func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int)deprecated
- func (x *HorizontalPodAutoscaler) GetMetadata() *ObjectMeta
- func (x *HorizontalPodAutoscaler) GetSpec() *HorizontalPodAutoscalerSpec
- func (x *HorizontalPodAutoscaler) GetStatus() *HorizontalPodAutoscalerStatus
- func (*HorizontalPodAutoscaler) ProtoMessage()
- func (x *HorizontalPodAutoscaler) ProtoReflect() protoreflect.Message
- func (x *HorizontalPodAutoscaler) Reset()
- func (x *HorizontalPodAutoscaler) String() string
- type HorizontalPodAutoscalerSpec
- func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *HorizontalPodAutoscalerSpec) GetMaxReplicas() int32
- func (x *HorizontalPodAutoscalerSpec) GetMinReplicas() int32
- func (x *HorizontalPodAutoscalerSpec) GetScaleTargetRef() *CrossVersionObjectReference
- func (x *HorizontalPodAutoscalerSpec) GetTargetCPUUtilizationPercentage() int32
- func (*HorizontalPodAutoscalerSpec) ProtoMessage()
- func (x *HorizontalPodAutoscalerSpec) ProtoReflect() protoreflect.Message
- func (x *HorizontalPodAutoscalerSpec) Reset()
- func (x *HorizontalPodAutoscalerSpec) String() string
- type HorizontalPodAutoscalerStatus
- func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HorizontalPodAutoscalerStatus) GetCurrentCPUUtilizationPercentage() int32
- func (x *HorizontalPodAutoscalerStatus) GetCurrentReplicas() int32
- func (x *HorizontalPodAutoscalerStatus) GetDesiredReplicas() int32
- func (x *HorizontalPodAutoscalerStatus) GetLastScaleTime() *Time
- func (x *HorizontalPodAutoscalerStatus) GetObservedGeneration() int64
- func (*HorizontalPodAutoscalerStatus) ProtoMessage()
- func (x *HorizontalPodAutoscalerStatus) ProtoReflect() protoreflect.Message
- func (x *HorizontalPodAutoscalerStatus) Reset()
- func (x *HorizontalPodAutoscalerStatus) String() string
- type HostAlias
- type HostIP
- type HostPathVolumeSource
- func (*HostPathVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *HostPathVolumeSource) GetPath() string
- func (x *HostPathVolumeSource) GetType() string
- func (*HostPathVolumeSource) ProtoMessage()
- func (x *HostPathVolumeSource) ProtoReflect() protoreflect.Message
- func (x *HostPathVolumeSource) Reset()
- func (x *HostPathVolumeSource) String() string
- type ISCSIPersistentVolumeSource
- func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ISCSIPersistentVolumeSource) GetChapAuthDiscovery() bool
- func (x *ISCSIPersistentVolumeSource) GetChapAuthSession() bool
- func (x *ISCSIPersistentVolumeSource) GetFsType() string
- func (x *ISCSIPersistentVolumeSource) GetInitiatorName() string
- func (x *ISCSIPersistentVolumeSource) GetIqn() string
- func (x *ISCSIPersistentVolumeSource) GetIscsiInterface() string
- func (x *ISCSIPersistentVolumeSource) GetLun() int32
- func (x *ISCSIPersistentVolumeSource) GetPortals() []string
- func (x *ISCSIPersistentVolumeSource) GetReadOnly() bool
- func (x *ISCSIPersistentVolumeSource) GetSecretRef() *SecretReference
- func (x *ISCSIPersistentVolumeSource) GetTargetPortal() string
- func (*ISCSIPersistentVolumeSource) ProtoMessage()
- func (x *ISCSIPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ISCSIPersistentVolumeSource) Reset()
- func (x *ISCSIPersistentVolumeSource) String() string
- type ISCSIVolumeSource
- func (*ISCSIVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ISCSIVolumeSource) GetChapAuthDiscovery() bool
- func (x *ISCSIVolumeSource) GetChapAuthSession() bool
- func (x *ISCSIVolumeSource) GetFsType() string
- func (x *ISCSIVolumeSource) GetInitiatorName() string
- func (x *ISCSIVolumeSource) GetIqn() string
- func (x *ISCSIVolumeSource) GetIscsiInterface() string
- func (x *ISCSIVolumeSource) GetLun() int32
- func (x *ISCSIVolumeSource) GetPortals() []string
- func (x *ISCSIVolumeSource) GetReadOnly() bool
- func (x *ISCSIVolumeSource) GetSecretRef() *LocalObjectReference
- func (x *ISCSIVolumeSource) GetTargetPortal() string
- func (*ISCSIVolumeSource) ProtoMessage()
- func (x *ISCSIVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ISCSIVolumeSource) Reset()
- func (x *ISCSIVolumeSource) String() string
- type Ingress
- func (*Ingress) Descriptor() ([]byte, []int)deprecated
- func (x *Ingress) GetMetadata() *ObjectMeta
- func (x *Ingress) GetSpec() *IngressSpec
- func (x *Ingress) GetStatus() *IngressStatus
- func (*Ingress) ProtoMessage()
- func (x *Ingress) ProtoReflect() protoreflect.Message
- func (x *Ingress) Reset()
- func (x *Ingress) String() string
- type IngressBackend
- func (*IngressBackend) Descriptor() ([]byte, []int)deprecated
- func (x *IngressBackend) GetResource() *TypedLocalObjectReference
- func (x *IngressBackend) GetService() *IngressServiceBackend
- func (*IngressBackend) ProtoMessage()
- func (x *IngressBackend) ProtoReflect() protoreflect.Message
- func (x *IngressBackend) Reset()
- func (x *IngressBackend) String() string
- type IngressList
- func (*IngressList) Descriptor() ([]byte, []int)deprecated
- func (x *IngressList) GetItems() []*Ingress
- func (x *IngressList) GetMetadata() *ListMeta
- func (*IngressList) ProtoMessage()
- func (x *IngressList) ProtoReflect() protoreflect.Message
- func (x *IngressList) Reset()
- func (x *IngressList) String() string
- type IngressLoadBalancerIngress
- func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int)deprecated
- func (x *IngressLoadBalancerIngress) GetHostname() string
- func (x *IngressLoadBalancerIngress) GetIp() string
- func (x *IngressLoadBalancerIngress) GetPorts() []*IngressPortStatus
- func (*IngressLoadBalancerIngress) ProtoMessage()
- func (x *IngressLoadBalancerIngress) ProtoReflect() protoreflect.Message
- func (x *IngressLoadBalancerIngress) Reset()
- func (x *IngressLoadBalancerIngress) String() string
- type IngressLoadBalancerStatus
- func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *IngressLoadBalancerStatus) GetIngress() []*IngressLoadBalancerIngress
- func (*IngressLoadBalancerStatus) ProtoMessage()
- func (x *IngressLoadBalancerStatus) ProtoReflect() protoreflect.Message
- func (x *IngressLoadBalancerStatus) Reset()
- func (x *IngressLoadBalancerStatus) String() string
- type IngressPortStatus
- func (*IngressPortStatus) Descriptor() ([]byte, []int)deprecated
- func (x *IngressPortStatus) GetError() string
- func (x *IngressPortStatus) GetPort() int32
- func (x *IngressPortStatus) GetProtocol() string
- func (*IngressPortStatus) ProtoMessage()
- func (x *IngressPortStatus) ProtoReflect() protoreflect.Message
- func (x *IngressPortStatus) Reset()
- func (x *IngressPortStatus) String() string
- type IngressRule
- func (*IngressRule) Descriptor() ([]byte, []int)deprecated
- func (x *IngressRule) GetHost() string
- func (x *IngressRule) GetIngressRuleValue() *IngressRuleValue
- func (*IngressRule) ProtoMessage()
- func (x *IngressRule) ProtoReflect() protoreflect.Message
- func (x *IngressRule) Reset()
- func (x *IngressRule) String() string
- type IngressRuleValue
- func (*IngressRuleValue) Descriptor() ([]byte, []int)deprecated
- func (x *IngressRuleValue) GetHttp() *HTTPIngressRuleValue
- func (*IngressRuleValue) ProtoMessage()
- func (x *IngressRuleValue) ProtoReflect() protoreflect.Message
- func (x *IngressRuleValue) Reset()
- func (x *IngressRuleValue) String() string
- type IngressServiceBackend
- func (*IngressServiceBackend) Descriptor() ([]byte, []int)deprecated
- func (x *IngressServiceBackend) GetName() string
- func (x *IngressServiceBackend) GetPort() *ServiceBackendPort
- func (*IngressServiceBackend) ProtoMessage()
- func (x *IngressServiceBackend) ProtoReflect() protoreflect.Message
- func (x *IngressServiceBackend) Reset()
- func (x *IngressServiceBackend) String() string
- type IngressSpec
- func (*IngressSpec) Descriptor() ([]byte, []int)deprecated
- func (x *IngressSpec) GetDefaultBackend() *IngressBackend
- func (x *IngressSpec) GetIngressClassName() string
- func (x *IngressSpec) GetRules() []*IngressRule
- func (x *IngressSpec) GetTls() []*IngressTLS
- func (*IngressSpec) ProtoMessage()
- func (x *IngressSpec) ProtoReflect() protoreflect.Message
- func (x *IngressSpec) Reset()
- func (x *IngressSpec) String() string
- type IngressStatus
- type IngressTLS
- type IntOrString
- func (*IntOrString) Descriptor() ([]byte, []int)deprecated
- func (x *IntOrString) GetIntVal() int32
- func (x *IntOrString) GetStrVal() string
- func (x *IntOrString) GetType() int64
- func (*IntOrString) ProtoMessage()
- func (x *IntOrString) ProtoReflect() protoreflect.Message
- func (x *IntOrString) Reset()
- func (x *IntOrString) String() string
- type Job
- type JobCondition
- func (*JobCondition) Descriptor() ([]byte, []int)deprecated
- func (x *JobCondition) GetLastProbeTime() *Time
- func (x *JobCondition) GetLastTransitionTime() *Time
- func (x *JobCondition) GetMessage() string
- func (x *JobCondition) GetReason() string
- func (x *JobCondition) GetStatus() string
- func (x *JobCondition) GetType() string
- func (*JobCondition) ProtoMessage()
- func (x *JobCondition) ProtoReflect() protoreflect.Message
- func (x *JobCondition) Reset()
- func (x *JobCondition) String() string
- type JobDetailReq
- func (*JobDetailReq) Descriptor() ([]byte, []int)deprecated
- func (x *JobDetailReq) GetName() string
- func (x *JobDetailReq) GetNamespace() string
- func (*JobDetailReq) ProtoMessage()
- func (x *JobDetailReq) ProtoReflect() protoreflect.Message
- func (x *JobDetailReq) Reset()
- func (x *JobDetailReq) String() string
- type JobDetailResp
- func (*JobDetailResp) Descriptor() ([]byte, []int)deprecated
- func (x *JobDetailResp) GetCode() string
- func (x *JobDetailResp) GetJob() *Job
- func (x *JobDetailResp) GetMsg() string
- func (*JobDetailResp) ProtoMessage()
- func (x *JobDetailResp) ProtoReflect() protoreflect.Message
- func (x *JobDetailResp) Reset()
- func (x *JobDetailResp) String() string
- type JobSpec
- func (*JobSpec) Descriptor() ([]byte, []int)deprecated
- func (x *JobSpec) GetActiveDeadlineSeconds() int64
- func (x *JobSpec) GetBackoffLimit() int32
- func (x *JobSpec) GetBackoffLimitPerIndex() int32
- func (x *JobSpec) GetCompletionMode() string
- func (x *JobSpec) GetCompletions() int32
- func (x *JobSpec) GetManualSelector() bool
- func (x *JobSpec) GetMaxFailedIndexes() int32
- func (x *JobSpec) GetParallelism() int32
- func (x *JobSpec) GetPodFailurePolicy() *PodFailurePolicy
- func (x *JobSpec) GetPodReplacementPolicy() string
- func (x *JobSpec) GetSelector() *LabelSelector
- func (x *JobSpec) GetSuspend() bool
- func (x *JobSpec) GetTemplate() *PodTemplateSpec
- func (x *JobSpec) GetTtlSecondsAfterFinished() int32
- func (*JobSpec) ProtoMessage()
- func (x *JobSpec) ProtoReflect() protoreflect.Message
- func (x *JobSpec) Reset()
- func (x *JobSpec) String() string
- type JobStatus
- func (*JobStatus) Descriptor() ([]byte, []int)deprecated
- func (x *JobStatus) GetActive() int32
- func (x *JobStatus) GetCompletedIndexes() string
- func (x *JobStatus) GetCompletionTime() *Time
- func (x *JobStatus) GetConditions() []*JobCondition
- func (x *JobStatus) GetFailed() int32
- func (x *JobStatus) GetFailedIndexes() string
- func (x *JobStatus) GetReady() int32
- func (x *JobStatus) GetStartTime() *Time
- func (x *JobStatus) GetSucceeded() int32
- func (x *JobStatus) GetTerminating() int32
- func (x *JobStatus) GetUncountedTerminatedPods() *UncountedTerminatedPods
- func (*JobStatus) ProtoMessage()
- func (x *JobStatus) ProtoReflect() protoreflect.Message
- func (x *JobStatus) Reset()
- func (x *JobStatus) String() string
- type KeyToPath
- func (*KeyToPath) Descriptor() ([]byte, []int)deprecated
- func (x *KeyToPath) GetKey() string
- func (x *KeyToPath) GetMode() int32
- func (x *KeyToPath) GetPath() string
- func (*KeyToPath) ProtoMessage()
- func (x *KeyToPath) ProtoReflect() protoreflect.Message
- func (x *KeyToPath) Reset()
- func (x *KeyToPath) String() string
- type KubernetesClient
- type KubernetesServer
- type LabelSelector
- func (*LabelSelector) Descriptor() ([]byte, []int)deprecated
- func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
- func (x *LabelSelector) GetMatchLabels() map[string]string
- func (*LabelSelector) ProtoMessage()
- func (x *LabelSelector) ProtoReflect() protoreflect.Message
- func (x *LabelSelector) Reset()
- func (x *LabelSelector) String() string
- type LabelSelectorRequirement
- func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *LabelSelectorRequirement) GetKey() string
- func (x *LabelSelectorRequirement) GetOperator() string
- func (x *LabelSelectorRequirement) GetValues() []string
- func (*LabelSelectorRequirement) ProtoMessage()
- func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message
- func (x *LabelSelectorRequirement) Reset()
- func (x *LabelSelectorRequirement) String() string
- type Lifecycle
- func (*Lifecycle) Descriptor() ([]byte, []int)deprecated
- func (x *Lifecycle) GetPostStart() *LifecycleHandler
- func (x *Lifecycle) GetPreStop() *LifecycleHandler
- func (*Lifecycle) ProtoMessage()
- func (x *Lifecycle) ProtoReflect() protoreflect.Message
- func (x *Lifecycle) Reset()
- func (x *Lifecycle) String() string
- type LifecycleHandler
- func (*LifecycleHandler) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleHandler) GetExec() *ExecAction
- func (x *LifecycleHandler) GetHttpGet() *HTTPGetAction
- func (x *LifecycleHandler) GetTcpSocket() *TCPSocketAction
- func (*LifecycleHandler) ProtoMessage()
- func (x *LifecycleHandler) ProtoReflect() protoreflect.Message
- func (x *LifecycleHandler) Reset()
- func (x *LifecycleHandler) String() string
- type LimitRange
- func (*LimitRange) Descriptor() ([]byte, []int)deprecated
- func (x *LimitRange) GetMetadata() *ObjectMeta
- func (x *LimitRange) GetSpec() *LimitRangeSpec
- func (*LimitRange) ProtoMessage()
- func (x *LimitRange) ProtoReflect() protoreflect.Message
- func (x *LimitRange) Reset()
- func (x *LimitRange) String() string
- type LimitRangeItem
- func (*LimitRangeItem) Descriptor() ([]byte, []int)deprecated
- func (x *LimitRangeItem) GetDefault() map[string]*Quantity
- func (x *LimitRangeItem) GetDefaultRequest() map[string]*Quantity
- func (x *LimitRangeItem) GetMax() map[string]*Quantity
- func (x *LimitRangeItem) GetMaxLimitRequestRatio() map[string]*Quantity
- func (x *LimitRangeItem) GetMin() map[string]*Quantity
- func (x *LimitRangeItem) GetType() string
- func (*LimitRangeItem) ProtoMessage()
- func (x *LimitRangeItem) ProtoReflect() protoreflect.Message
- func (x *LimitRangeItem) Reset()
- func (x *LimitRangeItem) String() string
- type LimitRangeList
- func (*LimitRangeList) Descriptor() ([]byte, []int)deprecated
- func (x *LimitRangeList) GetItems() []*LimitRange
- func (x *LimitRangeList) GetMetadata() *ListMeta
- func (*LimitRangeList) ProtoMessage()
- func (x *LimitRangeList) ProtoReflect() protoreflect.Message
- func (x *LimitRangeList) Reset()
- func (x *LimitRangeList) String() string
- type LimitRangeSpec
- type List
- type ListMeta
- func (*ListMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ListMeta) GetContinue() string
- func (x *ListMeta) GetRemainingItemCount() int64
- func (x *ListMeta) GetResourceVersion() string
- func (x *ListMeta) GetSelfLink() string
- func (*ListMeta) ProtoMessage()
- func (x *ListMeta) ProtoReflect() protoreflect.Message
- func (x *ListMeta) Reset()
- func (x *ListMeta) String() string
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ListOptions) GetAllowWatchBookmarks() bool
- func (x *ListOptions) GetContinue() string
- func (x *ListOptions) GetFieldSelector() string
- func (x *ListOptions) GetLabelSelector() string
- func (x *ListOptions) GetLimit() int64
- func (x *ListOptions) GetResourceVersion() string
- func (x *ListOptions) GetResourceVersionMatch() string
- func (x *ListOptions) GetSendInitialEvents() bool
- func (x *ListOptions) GetTimeoutSeconds() int64
- func (x *ListOptions) GetWatch() bool
- func (*ListOptions) ProtoMessage()
- func (x *ListOptions) ProtoReflect() protoreflect.Message
- func (x *ListOptions) Reset()
- func (x *ListOptions) String() string
- type ListPodResp
- func (*ListPodResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListPodResp) GetCode() string
- func (x *ListPodResp) GetMsg() string
- func (x *ListPodResp) GetPodList() *PodList
- func (*ListPodResp) ProtoMessage()
- func (x *ListPodResp) ProtoReflect() protoreflect.Message
- func (x *ListPodResp) Reset()
- func (x *ListPodResp) String() string
- type ListReq
- type LoadBalancerIngress
- func (*LoadBalancerIngress) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerIngress) GetHostname() string
- func (x *LoadBalancerIngress) GetIp() string
- func (x *LoadBalancerIngress) GetIpMode() string
- func (x *LoadBalancerIngress) GetPorts() []*PortStatus
- func (*LoadBalancerIngress) ProtoMessage()
- func (x *LoadBalancerIngress) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerIngress) Reset()
- func (x *LoadBalancerIngress) String() string
- type LoadBalancerStatus
- func (*LoadBalancerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerStatus) GetIngress() []*LoadBalancerIngress
- func (*LoadBalancerStatus) ProtoMessage()
- func (x *LoadBalancerStatus) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerStatus) Reset()
- func (x *LoadBalancerStatus) String() string
- type LocalObjectReference
- func (*LocalObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *LocalObjectReference) GetName() string
- func (*LocalObjectReference) ProtoMessage()
- func (x *LocalObjectReference) ProtoReflect() protoreflect.Message
- func (x *LocalObjectReference) Reset()
- func (x *LocalObjectReference) String() string
- type LocalVolumeSource
- func (*LocalVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *LocalVolumeSource) GetFsType() string
- func (x *LocalVolumeSource) GetPath() string
- func (*LocalVolumeSource) ProtoMessage()
- func (x *LocalVolumeSource) ProtoReflect() protoreflect.Message
- func (x *LocalVolumeSource) Reset()
- func (x *LocalVolumeSource) String() string
- type ManagedFieldsEntry
- func (*ManagedFieldsEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedFieldsEntry) GetApiVersion() string
- func (x *ManagedFieldsEntry) GetFieldsType() string
- func (x *ManagedFieldsEntry) GetFieldsV1() *FieldsV1
- func (x *ManagedFieldsEntry) GetManager() string
- func (x *ManagedFieldsEntry) GetOperation() string
- func (x *ManagedFieldsEntry) GetSubresource() string
- func (x *ManagedFieldsEntry) GetTime() *Time
- func (*ManagedFieldsEntry) ProtoMessage()
- func (x *ManagedFieldsEntry) ProtoReflect() protoreflect.Message
- func (x *ManagedFieldsEntry) Reset()
- func (x *ManagedFieldsEntry) String() string
- type MicroTime
- type NFSVolumeSource
- func (*NFSVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *NFSVolumeSource) GetPath() string
- func (x *NFSVolumeSource) GetReadOnly() bool
- func (x *NFSVolumeSource) GetServer() string
- func (*NFSVolumeSource) ProtoMessage()
- func (x *NFSVolumeSource) ProtoReflect() protoreflect.Message
- func (x *NFSVolumeSource) Reset()
- func (x *NFSVolumeSource) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetMetadata() *ObjectMeta
- func (x *Namespace) GetSpec() *NamespaceSpec
- func (x *Namespace) GetStatus() *NamespaceStatus
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespaceCondition
- func (*NamespaceCondition) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceCondition) GetLastTransitionTime() *Time
- func (x *NamespaceCondition) GetMessage() string
- func (x *NamespaceCondition) GetReason() string
- func (x *NamespaceCondition) GetStatus() string
- func (x *NamespaceCondition) GetType() string
- func (*NamespaceCondition) ProtoMessage()
- func (x *NamespaceCondition) ProtoReflect() protoreflect.Message
- func (x *NamespaceCondition) Reset()
- func (x *NamespaceCondition) String() string
- type NamespaceList
- func (*NamespaceList) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceList) GetItems() []*Namespace
- func (x *NamespaceList) GetMetadata() *ListMeta
- func (*NamespaceList) ProtoMessage()
- func (x *NamespaceList) ProtoReflect() protoreflect.Message
- func (x *NamespaceList) Reset()
- func (x *NamespaceList) String() string
- type NamespaceListReq
- type NamespaceSpec
- type NamespaceStatus
- func (*NamespaceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceStatus) GetConditions() []*NamespaceCondition
- func (x *NamespaceStatus) GetPhase() string
- func (*NamespaceStatus) ProtoMessage()
- func (x *NamespaceStatus) ProtoReflect() protoreflect.Message
- func (x *NamespaceStatus) Reset()
- func (x *NamespaceStatus) String() string
- type Node
- type NodeAddress
- func (*NodeAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAddress) GetAddress() string
- func (x *NodeAddress) GetType() string
- func (*NodeAddress) ProtoMessage()
- func (x *NodeAddress) ProtoReflect() protoreflect.Message
- func (x *NodeAddress) Reset()
- func (x *NodeAddress) String() string
- type NodeAffinity
- func (*NodeAffinity) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*PreferredSchedulingTerm
- func (x *NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() *NodeSelector
- func (*NodeAffinity) ProtoMessage()
- func (x *NodeAffinity) ProtoReflect() protoreflect.Message
- func (x *NodeAffinity) Reset()
- func (x *NodeAffinity) String() string
- type NodeCondition
- func (*NodeCondition) Descriptor() ([]byte, []int)deprecated
- func (x *NodeCondition) GetLastHeartbeatTime() *Time
- func (x *NodeCondition) GetLastTransitionTime() *Time
- func (x *NodeCondition) GetMessage() string
- func (x *NodeCondition) GetReason() string
- func (x *NodeCondition) GetStatus() string
- func (x *NodeCondition) GetType() string
- func (*NodeCondition) ProtoMessage()
- func (x *NodeCondition) ProtoReflect() protoreflect.Message
- func (x *NodeCondition) Reset()
- func (x *NodeCondition) String() string
- type NodeConfigSource
- func (*NodeConfigSource) Descriptor() ([]byte, []int)deprecated
- func (x *NodeConfigSource) GetConfigMap() *ConfigMapNodeConfigSource
- func (*NodeConfigSource) ProtoMessage()
- func (x *NodeConfigSource) ProtoReflect() protoreflect.Message
- func (x *NodeConfigSource) Reset()
- func (x *NodeConfigSource) String() string
- type NodeConfigStatus
- func (*NodeConfigStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NodeConfigStatus) GetActive() *NodeConfigSource
- func (x *NodeConfigStatus) GetAssigned() *NodeConfigSource
- func (x *NodeConfigStatus) GetError() string
- func (x *NodeConfigStatus) GetLastKnownGood() *NodeConfigSource
- func (*NodeConfigStatus) ProtoMessage()
- func (x *NodeConfigStatus) ProtoReflect() protoreflect.Message
- func (x *NodeConfigStatus) Reset()
- func (x *NodeConfigStatus) String() string
- type NodeDaemonEndpoints
- func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int)deprecated
- func (x *NodeDaemonEndpoints) GetKubeletEndpoint() *DaemonEndpoint
- func (*NodeDaemonEndpoints) ProtoMessage()
- func (x *NodeDaemonEndpoints) ProtoReflect() protoreflect.Message
- func (x *NodeDaemonEndpoints) Reset()
- func (x *NodeDaemonEndpoints) String() string
- type NodeList
- type NodeProxyOptions
- type NodeResources
- type NodeSelector
- type NodeSelectorRequirement
- func (*NodeSelectorRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSelectorRequirement) GetKey() string
- func (x *NodeSelectorRequirement) GetOperator() string
- func (x *NodeSelectorRequirement) GetValues() []string
- func (*NodeSelectorRequirement) ProtoMessage()
- func (x *NodeSelectorRequirement) ProtoReflect() protoreflect.Message
- func (x *NodeSelectorRequirement) Reset()
- func (x *NodeSelectorRequirement) String() string
- type NodeSelectorTerm
- func (*NodeSelectorTerm) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSelectorTerm) GetMatchExpressions() []*NodeSelectorRequirement
- func (x *NodeSelectorTerm) GetMatchFields() []*NodeSelectorRequirement
- func (*NodeSelectorTerm) ProtoMessage()
- func (x *NodeSelectorTerm) ProtoReflect() protoreflect.Message
- func (x *NodeSelectorTerm) Reset()
- func (x *NodeSelectorTerm) String() string
- type NodeSpec
- func (*NodeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSpec) GetConfigSource() *NodeConfigSource
- func (x *NodeSpec) GetExternalID() string
- func (x *NodeSpec) GetPodCIDR() string
- func (x *NodeSpec) GetPodCIDRs() []string
- func (x *NodeSpec) GetProviderID() string
- func (x *NodeSpec) GetTaints() []*Taint
- func (x *NodeSpec) GetUnschedulable() bool
- func (*NodeSpec) ProtoMessage()
- func (x *NodeSpec) ProtoReflect() protoreflect.Message
- func (x *NodeSpec) Reset()
- func (x *NodeSpec) String() string
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStatus) GetAddresses() []*NodeAddress
- func (x *NodeStatus) GetAllocatable() map[string]*Quantity
- func (x *NodeStatus) GetCapacity() map[string]*Quantity
- func (x *NodeStatus) GetConditions() []*NodeCondition
- func (x *NodeStatus) GetConfig() *NodeConfigStatus
- func (x *NodeStatus) GetDaemonEndpoints() *NodeDaemonEndpoints
- func (x *NodeStatus) GetImages() []*ContainerImage
- func (x *NodeStatus) GetNodeInfo() *NodeSystemInfo
- func (x *NodeStatus) GetPhase() string
- func (x *NodeStatus) GetVolumesAttached() []*AttachedVolume
- func (x *NodeStatus) GetVolumesInUse() []string
- func (*NodeStatus) ProtoMessage()
- func (x *NodeStatus) ProtoReflect() protoreflect.Message
- func (x *NodeStatus) Reset()
- func (x *NodeStatus) String() string
- type NodeSystemInfo
- func (*NodeSystemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSystemInfo) GetArchitecture() string
- func (x *NodeSystemInfo) GetBootID() string
- func (x *NodeSystemInfo) GetContainerRuntimeVersion() string
- func (x *NodeSystemInfo) GetKernelVersion() string
- func (x *NodeSystemInfo) GetKubeProxyVersion() string
- func (x *NodeSystemInfo) GetKubeletVersion() string
- func (x *NodeSystemInfo) GetMachineID() string
- func (x *NodeSystemInfo) GetOperatingSystem() string
- func (x *NodeSystemInfo) GetOsImage() string
- func (x *NodeSystemInfo) GetSystemUUID() string
- func (*NodeSystemInfo) ProtoMessage()
- func (x *NodeSystemInfo) ProtoReflect() protoreflect.Message
- func (x *NodeSystemInfo) Reset()
- func (x *NodeSystemInfo) String() string
- type ObjectFieldSelector
- func (*ObjectFieldSelector) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectFieldSelector) GetApiVersion() string
- func (x *ObjectFieldSelector) GetFieldPath() string
- func (*ObjectFieldSelector) ProtoMessage()
- func (x *ObjectFieldSelector) ProtoReflect() protoreflect.Message
- func (x *ObjectFieldSelector) Reset()
- func (x *ObjectFieldSelector) String() string
- type ObjectMeta
- func (*ObjectMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectMeta) GetAnnotations() map[string]string
- func (x *ObjectMeta) GetCreationTimestamp() string
- func (x *ObjectMeta) GetDeletionGracePeriodSeconds() int64
- func (x *ObjectMeta) GetDeletionTimestamp() *Time
- func (x *ObjectMeta) GetFinalizers() []string
- func (x *ObjectMeta) GetGenerateName() string
- func (x *ObjectMeta) GetGeneration() int64
- func (x *ObjectMeta) GetLabels() map[string]string
- func (x *ObjectMeta) GetManagedFields() []*ManagedFieldsEntry
- func (x *ObjectMeta) GetName() string
- func (x *ObjectMeta) GetNamespace() string
- func (x *ObjectMeta) GetOwnerReferences() []*OwnerReference
- func (x *ObjectMeta) GetResourceVersion() string
- func (x *ObjectMeta) GetSelfLink() string
- func (x *ObjectMeta) GetUid() string
- func (*ObjectMeta) ProtoMessage()
- func (x *ObjectMeta) ProtoReflect() protoreflect.Message
- func (x *ObjectMeta) Reset()
- func (x *ObjectMeta) String() string
- type ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectReference) GetApiVersion() string
- func (x *ObjectReference) GetFieldPath() string
- func (x *ObjectReference) GetKind() string
- func (x *ObjectReference) GetName() string
- func (x *ObjectReference) GetNamespace() string
- func (x *ObjectReference) GetResourceVersion() string
- func (x *ObjectReference) GetUid() string
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (x *ObjectReference) String() string
- type OwnerReference
- func (*OwnerReference) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerReference) GetApiVersion() string
- func (x *OwnerReference) GetBlockOwnerDeletion() bool
- func (x *OwnerReference) GetController() bool
- func (x *OwnerReference) GetKind() string
- func (x *OwnerReference) GetName() string
- func (x *OwnerReference) GetUid() string
- func (*OwnerReference) ProtoMessage()
- func (x *OwnerReference) ProtoReflect() protoreflect.Message
- func (x *OwnerReference) Reset()
- func (x *OwnerReference) String() string
- type PartialObjectMetadata
- func (*PartialObjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PartialObjectMetadata) GetMetadata() *ObjectMeta
- func (*PartialObjectMetadata) ProtoMessage()
- func (x *PartialObjectMetadata) ProtoReflect() protoreflect.Message
- func (x *PartialObjectMetadata) Reset()
- func (x *PartialObjectMetadata) String() string
- type PartialObjectMetadataList
- func (*PartialObjectMetadataList) Descriptor() ([]byte, []int)deprecated
- func (x *PartialObjectMetadataList) GetItems() []*PartialObjectMetadata
- func (x *PartialObjectMetadataList) GetMetadata() *ListMeta
- func (*PartialObjectMetadataList) ProtoMessage()
- func (x *PartialObjectMetadataList) ProtoReflect() protoreflect.Message
- func (x *PartialObjectMetadataList) Reset()
- func (x *PartialObjectMetadataList) String() string
- type Patch
- type PatchOptions
- func (*PatchOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PatchOptions) GetDryRun() []string
- func (x *PatchOptions) GetFieldManager() string
- func (x *PatchOptions) GetFieldValidation() string
- func (x *PatchOptions) GetForce() bool
- func (*PatchOptions) ProtoMessage()
- func (x *PatchOptions) ProtoReflect() protoreflect.Message
- func (x *PatchOptions) Reset()
- func (x *PatchOptions) String() string
- type PersistentVolume
- func (*PersistentVolume) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolume) GetMetadata() *ObjectMeta
- func (x *PersistentVolume) GetSpec() *PersistentVolumeSpec
- func (x *PersistentVolume) GetStatus() *PersistentVolumeStatus
- func (*PersistentVolume) ProtoMessage()
- func (x *PersistentVolume) ProtoReflect() protoreflect.Message
- func (x *PersistentVolume) Reset()
- func (x *PersistentVolume) String() string
- type PersistentVolumeClaim
- func (*PersistentVolumeClaim) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaim) GetMetadata() *ObjectMeta
- func (x *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec
- func (x *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus
- func (*PersistentVolumeClaim) ProtoMessage()
- func (x *PersistentVolumeClaim) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaim) Reset()
- func (x *PersistentVolumeClaim) String() string
- type PersistentVolumeClaimCondition
- func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaimCondition) GetLastProbeTime() *Time
- func (x *PersistentVolumeClaimCondition) GetLastTransitionTime() *Time
- func (x *PersistentVolumeClaimCondition) GetMessage() string
- func (x *PersistentVolumeClaimCondition) GetReason() string
- func (x *PersistentVolumeClaimCondition) GetStatus() string
- func (x *PersistentVolumeClaimCondition) GetType() string
- func (*PersistentVolumeClaimCondition) ProtoMessage()
- func (x *PersistentVolumeClaimCondition) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaimCondition) Reset()
- func (x *PersistentVolumeClaimCondition) String() string
- type PersistentVolumeClaimList
- func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaimList) GetItems() []*PersistentVolumeClaim
- func (x *PersistentVolumeClaimList) GetMetadata() *ListMeta
- func (*PersistentVolumeClaimList) ProtoMessage()
- func (x *PersistentVolumeClaimList) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaimList) Reset()
- func (x *PersistentVolumeClaimList) String() string
- type PersistentVolumeClaimSpec
- func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaimSpec) GetAccessModes() []string
- func (x *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference
- func (x *PersistentVolumeClaimSpec) GetDataSourceRef() *TypedObjectReference
- func (x *PersistentVolumeClaimSpec) GetResources() *VolumeResourceRequirements
- func (x *PersistentVolumeClaimSpec) GetSelector() *LabelSelector
- func (x *PersistentVolumeClaimSpec) GetStorageClassName() string
- func (x *PersistentVolumeClaimSpec) GetVolumeMode() string
- func (x *PersistentVolumeClaimSpec) GetVolumeName() string
- func (*PersistentVolumeClaimSpec) ProtoMessage()
- func (x *PersistentVolumeClaimSpec) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaimSpec) Reset()
- func (x *PersistentVolumeClaimSpec) String() string
- type PersistentVolumeClaimStatus
- func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaimStatus) GetAccessModes() []string
- func (x *PersistentVolumeClaimStatus) GetAllocatedResourceStatuses() map[string]string
- func (x *PersistentVolumeClaimStatus) GetAllocatedResources() map[string]*Quantity
- func (x *PersistentVolumeClaimStatus) GetCapacity() map[string]*Quantity
- func (x *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition
- func (x *PersistentVolumeClaimStatus) GetPhase() string
- func (*PersistentVolumeClaimStatus) ProtoMessage()
- func (x *PersistentVolumeClaimStatus) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaimStatus) Reset()
- func (x *PersistentVolumeClaimStatus) String() string
- type PersistentVolumeClaimTemplate
- func (*PersistentVolumeClaimTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaimTemplate) GetMetadata() *ObjectMeta
- func (x *PersistentVolumeClaimTemplate) GetSpec() *PersistentVolumeClaimSpec
- func (*PersistentVolumeClaimTemplate) ProtoMessage()
- func (x *PersistentVolumeClaimTemplate) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaimTemplate) Reset()
- func (x *PersistentVolumeClaimTemplate) String() string
- type PersistentVolumeClaimVolumeSource
- func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeClaimVolumeSource) GetClaimName() string
- func (x *PersistentVolumeClaimVolumeSource) GetReadOnly() bool
- func (*PersistentVolumeClaimVolumeSource) ProtoMessage()
- func (x *PersistentVolumeClaimVolumeSource) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeClaimVolumeSource) Reset()
- func (x *PersistentVolumeClaimVolumeSource) String() string
- type PersistentVolumeList
- func (*PersistentVolumeList) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeList) GetItems() []*PersistentVolume
- func (x *PersistentVolumeList) GetMetadata() *ListMeta
- func (*PersistentVolumeList) ProtoMessage()
- func (x *PersistentVolumeList) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeList) Reset()
- func (x *PersistentVolumeList) String() string
- type PersistentVolumeSource
- func (*PersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource
- func (x *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource
- func (x *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource
- func (x *PersistentVolumeSource) GetCephfs() *CephFSPersistentVolumeSource
- func (x *PersistentVolumeSource) GetCinder() *CinderPersistentVolumeSource
- func (x *PersistentVolumeSource) GetCsi() *CSIPersistentVolumeSource
- func (x *PersistentVolumeSource) GetFc() *FCVolumeSource
- func (x *PersistentVolumeSource) GetFlexVolume() *FlexPersistentVolumeSource
- func (x *PersistentVolumeSource) GetFlocker() *FlockerVolumeSource
- func (x *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
- func (x *PersistentVolumeSource) GetGlusterfs() *GlusterfsPersistentVolumeSource
- func (x *PersistentVolumeSource) GetHostPath() *HostPathVolumeSource
- func (x *PersistentVolumeSource) GetIscsi() *ISCSIPersistentVolumeSource
- func (x *PersistentVolumeSource) GetLocal() *LocalVolumeSource
- func (x *PersistentVolumeSource) GetNfs() *NFSVolumeSource
- func (x *PersistentVolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
- func (x *PersistentVolumeSource) GetPortworxVolume() *PortworxVolumeSource
- func (x *PersistentVolumeSource) GetQuobyte() *QuobyteVolumeSource
- func (x *PersistentVolumeSource) GetRbd() *RBDPersistentVolumeSource
- func (x *PersistentVolumeSource) GetScaleIO() *ScaleIOPersistentVolumeSource
- func (x *PersistentVolumeSource) GetStorageos() *StorageOSPersistentVolumeSource
- func (x *PersistentVolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
- func (*PersistentVolumeSource) ProtoMessage()
- func (x *PersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeSource) Reset()
- func (x *PersistentVolumeSource) String() string
- type PersistentVolumeSpec
- func (*PersistentVolumeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeSpec) GetAccessModes() []string
- func (x *PersistentVolumeSpec) GetCapacity() map[string]*Quantity
- func (x *PersistentVolumeSpec) GetClaimRef() *ObjectReference
- func (x *PersistentVolumeSpec) GetMountOptions() []string
- func (x *PersistentVolumeSpec) GetNodeAffinity() *VolumeNodeAffinity
- func (x *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string
- func (x *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource
- func (x *PersistentVolumeSpec) GetStorageClassName() string
- func (x *PersistentVolumeSpec) GetVolumeMode() string
- func (*PersistentVolumeSpec) ProtoMessage()
- func (x *PersistentVolumeSpec) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeSpec) Reset()
- func (x *PersistentVolumeSpec) String() string
- type PersistentVolumeStatus
- func (*PersistentVolumeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PersistentVolumeStatus) GetLastPhaseTransitionTime() *Time
- func (x *PersistentVolumeStatus) GetMessage() string
- func (x *PersistentVolumeStatus) GetPhase() string
- func (x *PersistentVolumeStatus) GetReason() string
- func (*PersistentVolumeStatus) ProtoMessage()
- func (x *PersistentVolumeStatus) ProtoReflect() protoreflect.Message
- func (x *PersistentVolumeStatus) Reset()
- func (x *PersistentVolumeStatus) String() string
- type PhotonPersistentDiskVolumeSource
- func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *PhotonPersistentDiskVolumeSource) GetFsType() string
- func (x *PhotonPersistentDiskVolumeSource) GetPdID() string
- func (*PhotonPersistentDiskVolumeSource) ProtoMessage()
- func (x *PhotonPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message
- func (x *PhotonPersistentDiskVolumeSource) Reset()
- func (x *PhotonPersistentDiskVolumeSource) String() string
- type Pod
- type PodAffinity
- func (*PodAffinity) Descriptor() ([]byte, []int)deprecated
- func (x *PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm
- func (x *PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm
- func (*PodAffinity) ProtoMessage()
- func (x *PodAffinity) ProtoReflect() protoreflect.Message
- func (x *PodAffinity) Reset()
- func (x *PodAffinity) String() string
- type PodAffinityTerm
- func (*PodAffinityTerm) Descriptor() ([]byte, []int)deprecated
- func (x *PodAffinityTerm) GetLabelSelector() *LabelSelector
- func (x *PodAffinityTerm) GetNamespaceSelector() *LabelSelector
- func (x *PodAffinityTerm) GetNamespaces() []string
- func (x *PodAffinityTerm) GetTopologyKey() string
- func (*PodAffinityTerm) ProtoMessage()
- func (x *PodAffinityTerm) ProtoReflect() protoreflect.Message
- func (x *PodAffinityTerm) Reset()
- func (x *PodAffinityTerm) String() string
- type PodAntiAffinity
- func (*PodAntiAffinity) Descriptor() ([]byte, []int)deprecated
- func (x *PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm
- func (x *PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm
- func (*PodAntiAffinity) ProtoMessage()
- func (x *PodAntiAffinity) ProtoReflect() protoreflect.Message
- func (x *PodAntiAffinity) Reset()
- func (x *PodAntiAffinity) String() string
- type PodAttachOptions
- func (*PodAttachOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PodAttachOptions) GetContainer() string
- func (x *PodAttachOptions) GetStderr() bool
- func (x *PodAttachOptions) GetStdin() bool
- func (x *PodAttachOptions) GetStdout() bool
- func (x *PodAttachOptions) GetTty() bool
- func (*PodAttachOptions) ProtoMessage()
- func (x *PodAttachOptions) ProtoReflect() protoreflect.Message
- func (x *PodAttachOptions) Reset()
- func (x *PodAttachOptions) String() string
- type PodCondition
- func (*PodCondition) Descriptor() ([]byte, []int)deprecated
- func (x *PodCondition) GetLastProbeTime() *Time
- func (x *PodCondition) GetLastTransitionTime() *Time
- func (x *PodCondition) GetMessage() string
- func (x *PodCondition) GetReason() string
- func (x *PodCondition) GetStatus() string
- func (x *PodCondition) GetType() string
- func (*PodCondition) ProtoMessage()
- func (x *PodCondition) ProtoReflect() protoreflect.Message
- func (x *PodCondition) Reset()
- func (x *PodCondition) String() string
- type PodDNSConfig
- func (*PodDNSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PodDNSConfig) GetNameservers() []string
- func (x *PodDNSConfig) GetOptions() []*PodDNSConfigOption
- func (x *PodDNSConfig) GetSearches() []string
- func (*PodDNSConfig) ProtoMessage()
- func (x *PodDNSConfig) ProtoReflect() protoreflect.Message
- func (x *PodDNSConfig) Reset()
- func (x *PodDNSConfig) String() string
- type PodDNSConfigOption
- func (*PodDNSConfigOption) Descriptor() ([]byte, []int)deprecated
- func (x *PodDNSConfigOption) GetName() string
- func (x *PodDNSConfigOption) GetValue() string
- func (*PodDNSConfigOption) ProtoMessage()
- func (x *PodDNSConfigOption) ProtoReflect() protoreflect.Message
- func (x *PodDNSConfigOption) Reset()
- func (x *PodDNSConfigOption) String() string
- type PodDetail
- func (*PodDetail) Descriptor() ([]byte, []int)deprecated
- func (x *PodDetail) GetClusterName() string
- func (x *PodDetail) GetPodList() []*Pod
- func (x *PodDetail) GetStoreAmount() float64
- func (*PodDetail) ProtoMessage()
- func (x *PodDetail) ProtoReflect() protoreflect.Message
- func (x *PodDetail) Reset()
- func (x *PodDetail) String() string
- type PodDetailResp
- func (*PodDetailResp) Descriptor() ([]byte, []int)deprecated
- func (x *PodDetailResp) GetCode() string
- func (x *PodDetailResp) GetData() []*PodDetail
- func (x *PodDetailResp) GetMsg() string
- func (*PodDetailResp) ProtoMessage()
- func (x *PodDetailResp) ProtoReflect() protoreflect.Message
- func (x *PodDetailResp) Reset()
- func (x *PodDetailResp) String() string
- type PodExecOptions
- func (*PodExecOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PodExecOptions) GetCommand() []string
- func (x *PodExecOptions) GetContainer() string
- func (x *PodExecOptions) GetStderr() bool
- func (x *PodExecOptions) GetStdin() bool
- func (x *PodExecOptions) GetStdout() bool
- func (x *PodExecOptions) GetTty() bool
- func (*PodExecOptions) ProtoMessage()
- func (x *PodExecOptions) ProtoReflect() protoreflect.Message
- func (x *PodExecOptions) Reset()
- func (x *PodExecOptions) String() string
- type PodFailurePolicy
- func (*PodFailurePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PodFailurePolicy) GetRules() []*PodFailurePolicyRule
- func (*PodFailurePolicy) ProtoMessage()
- func (x *PodFailurePolicy) ProtoReflect() protoreflect.Message
- func (x *PodFailurePolicy) Reset()
- func (x *PodFailurePolicy) String() string
- type PodFailurePolicyOnExitCodesRequirement
- func (*PodFailurePolicyOnExitCodesRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *PodFailurePolicyOnExitCodesRequirement) GetContainerName() string
- func (x *PodFailurePolicyOnExitCodesRequirement) GetOperator() string
- func (x *PodFailurePolicyOnExitCodesRequirement) GetValues() []int32
- func (*PodFailurePolicyOnExitCodesRequirement) ProtoMessage()
- func (x *PodFailurePolicyOnExitCodesRequirement) ProtoReflect() protoreflect.Message
- func (x *PodFailurePolicyOnExitCodesRequirement) Reset()
- func (x *PodFailurePolicyOnExitCodesRequirement) String() string
- type PodFailurePolicyOnPodConditionsPattern
- func (*PodFailurePolicyOnPodConditionsPattern) Descriptor() ([]byte, []int)deprecated
- func (x *PodFailurePolicyOnPodConditionsPattern) GetStatus() string
- func (x *PodFailurePolicyOnPodConditionsPattern) GetType() string
- func (*PodFailurePolicyOnPodConditionsPattern) ProtoMessage()
- func (x *PodFailurePolicyOnPodConditionsPattern) ProtoReflect() protoreflect.Message
- func (x *PodFailurePolicyOnPodConditionsPattern) Reset()
- func (x *PodFailurePolicyOnPodConditionsPattern) String() string
- type PodFailurePolicyRule
- func (*PodFailurePolicyRule) Descriptor() ([]byte, []int)deprecated
- func (x *PodFailurePolicyRule) GetAction() string
- func (x *PodFailurePolicyRule) GetOnExitCodes() *PodFailurePolicyOnExitCodesRequirement
- func (x *PodFailurePolicyRule) GetOnPodConditions() []*PodFailurePolicyOnPodConditionsPattern
- func (*PodFailurePolicyRule) ProtoMessage()
- func (x *PodFailurePolicyRule) ProtoReflect() protoreflect.Message
- func (x *PodFailurePolicyRule) Reset()
- func (x *PodFailurePolicyRule) String() string
- type PodIP
- type PodList
- type PodListReq
- type PodLogOptions
- func (*PodLogOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PodLogOptions) GetContainer() string
- func (x *PodLogOptions) GetFollow() bool
- func (x *PodLogOptions) GetInsecureSkipTLSVerifyBackend() bool
- func (x *PodLogOptions) GetLimitBytes() int64
- func (x *PodLogOptions) GetPrevious() bool
- func (x *PodLogOptions) GetSinceSeconds() int64
- func (x *PodLogOptions) GetSinceTime() *Time
- func (x *PodLogOptions) GetTailLines() int64
- func (x *PodLogOptions) GetTimestamps() bool
- func (*PodLogOptions) ProtoMessage()
- func (x *PodLogOptions) ProtoReflect() protoreflect.Message
- func (x *PodLogOptions) Reset()
- func (x *PodLogOptions) String() string
- type PodOS
- type PodPortForwardOptions
- func (*PodPortForwardOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PodPortForwardOptions) GetPorts() []int32
- func (*PodPortForwardOptions) ProtoMessage()
- func (x *PodPortForwardOptions) ProtoReflect() protoreflect.Message
- func (x *PodPortForwardOptions) Reset()
- func (x *PodPortForwardOptions) String() string
- type PodProxyOptions
- type PodReadinessGate
- type PodResourceClaim
- func (*PodResourceClaim) Descriptor() ([]byte, []int)deprecated
- func (x *PodResourceClaim) GetName() string
- func (x *PodResourceClaim) GetSource() *ClaimSource
- func (*PodResourceClaim) ProtoMessage()
- func (x *PodResourceClaim) ProtoReflect() protoreflect.Message
- func (x *PodResourceClaim) Reset()
- func (x *PodResourceClaim) String() string
- type PodResourceClaimStatus
- func (*PodResourceClaimStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PodResourceClaimStatus) GetName() string
- func (x *PodResourceClaimStatus) GetResourceClaimName() string
- func (*PodResourceClaimStatus) ProtoMessage()
- func (x *PodResourceClaimStatus) ProtoReflect() protoreflect.Message
- func (x *PodResourceClaimStatus) Reset()
- func (x *PodResourceClaimStatus) String() string
- type PodSchedulingGate
- type PodSecurityContext
- func (*PodSecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *PodSecurityContext) GetFsGroup() int64
- func (x *PodSecurityContext) GetFsGroupChangePolicy() string
- func (x *PodSecurityContext) GetRunAsGroup() int64
- func (x *PodSecurityContext) GetRunAsNonRoot() bool
- func (x *PodSecurityContext) GetRunAsUser() int64
- func (x *PodSecurityContext) GetSeLinuxOptions() *SELinuxOptions
- func (x *PodSecurityContext) GetSeccompProfile() *SeccompProfile
- func (x *PodSecurityContext) GetSupplementalGroups() []int64
- func (x *PodSecurityContext) GetSysctls() []*Sysctl
- func (x *PodSecurityContext) GetWindowsOptions() *WindowsSecurityContextOptions
- func (*PodSecurityContext) ProtoMessage()
- func (x *PodSecurityContext) ProtoReflect() protoreflect.Message
- func (x *PodSecurityContext) Reset()
- func (x *PodSecurityContext) String() string
- type PodSignature
- type PodSpec
- func (*PodSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PodSpec) GetActiveDeadlineSeconds() int64
- func (x *PodSpec) GetAffinity() *Affinity
- func (x *PodSpec) GetAutomountServiceAccountToken() bool
- func (x *PodSpec) GetContainers() []*Container
- func (x *PodSpec) GetDnsConfig() *PodDNSConfig
- func (x *PodSpec) GetDnsPolicy() string
- func (x *PodSpec) GetEnableServiceLinks() bool
- func (x *PodSpec) GetEphemeralContainers() []*EphemeralContainer
- func (x *PodSpec) GetHostAliases() []*HostAlias
- func (x *PodSpec) GetHostIPC() bool
- func (x *PodSpec) GetHostNetwork() bool
- func (x *PodSpec) GetHostPID() bool
- func (x *PodSpec) GetHostUsers() bool
- func (x *PodSpec) GetHostname() string
- func (x *PodSpec) GetImagePullSecrets() []*LocalObjectReference
- func (x *PodSpec) GetInitContainers() []*Container
- func (x *PodSpec) GetNodeName() string
- func (x *PodSpec) GetNodeSelector() map[string]string
- func (x *PodSpec) GetOs() *PodOS
- func (x *PodSpec) GetOverhead() map[string]*Quantity
- func (x *PodSpec) GetPreemptionPolicy() string
- func (x *PodSpec) GetPriority() int32
- func (x *PodSpec) GetPriorityClassName() string
- func (x *PodSpec) GetReadinessGates() []*PodReadinessGate
- func (x *PodSpec) GetResourceClaims() []*PodResourceClaim
- func (x *PodSpec) GetRestartPolicy() string
- func (x *PodSpec) GetRuntimeClassName() string
- func (x *PodSpec) GetSchedulerName() string
- func (x *PodSpec) GetSchedulingGates() []*PodSchedulingGate
- func (x *PodSpec) GetSecurityContext() *PodSecurityContext
- func (x *PodSpec) GetServiceAccount() string
- func (x *PodSpec) GetServiceAccountName() string
- func (x *PodSpec) GetSetHostnameAsFQDN() bool
- func (x *PodSpec) GetShareProcessNamespace() bool
- func (x *PodSpec) GetSubdomain() string
- func (x *PodSpec) GetTerminationGracePeriodSeconds() int64
- func (x *PodSpec) GetTolerations() []*Toleration
- func (x *PodSpec) GetTopologySpreadConstraints() []*TopologySpreadConstraint
- func (x *PodSpec) GetVolumes() []*Volume
- func (*PodSpec) ProtoMessage()
- func (x *PodSpec) ProtoReflect() protoreflect.Message
- func (x *PodSpec) Reset()
- func (x *PodSpec) String() string
- type PodStatus
- func (*PodStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PodStatus) GetConditions() []*PodCondition
- func (x *PodStatus) GetContainerStatuses() []*ContainerStatus
- func (x *PodStatus) GetEphemeralContainerStatuses() []*ContainerStatus
- func (x *PodStatus) GetHostIP() string
- func (x *PodStatus) GetHostIPs() []*HostIP
- func (x *PodStatus) GetInitContainerStatuses() []*ContainerStatus
- func (x *PodStatus) GetMessage() string
- func (x *PodStatus) GetNominatedNodeName() string
- func (x *PodStatus) GetPhase() string
- func (x *PodStatus) GetPodIP() string
- func (x *PodStatus) GetPodIPs() []*PodIP
- func (x *PodStatus) GetQosClass() string
- func (x *PodStatus) GetReason() string
- func (x *PodStatus) GetResize() string
- func (x *PodStatus) GetResourceClaimStatuses() []*PodResourceClaimStatus
- func (x *PodStatus) GetStartTime() *Time
- func (*PodStatus) ProtoMessage()
- func (x *PodStatus) ProtoReflect() protoreflect.Message
- func (x *PodStatus) Reset()
- func (x *PodStatus) String() string
- type PodStatusResult
- func (*PodStatusResult) Descriptor() ([]byte, []int)deprecated
- func (x *PodStatusResult) GetMetadata() *ObjectMeta
- func (x *PodStatusResult) GetStatus() *PodStatus
- func (*PodStatusResult) ProtoMessage()
- func (x *PodStatusResult) ProtoReflect() protoreflect.Message
- func (x *PodStatusResult) Reset()
- func (x *PodStatusResult) String() string
- type PodTemplate
- func (*PodTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *PodTemplate) GetMetadata() *ObjectMeta
- func (x *PodTemplate) GetTemplate() *PodTemplateSpec
- func (*PodTemplate) ProtoMessage()
- func (x *PodTemplate) ProtoReflect() protoreflect.Message
- func (x *PodTemplate) Reset()
- func (x *PodTemplate) String() string
- type PodTemplateList
- func (*PodTemplateList) Descriptor() ([]byte, []int)deprecated
- func (x *PodTemplateList) GetItems() []*PodTemplate
- func (x *PodTemplateList) GetMetadata() *ListMeta
- func (*PodTemplateList) ProtoMessage()
- func (x *PodTemplateList) ProtoReflect() protoreflect.Message
- func (x *PodTemplateList) Reset()
- func (x *PodTemplateList) String() string
- type PodTemplateSpec
- func (*PodTemplateSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PodTemplateSpec) GetMetadata() *ObjectMeta
- func (x *PodTemplateSpec) GetSpec() *PodSpec
- func (*PodTemplateSpec) ProtoMessage()
- func (x *PodTemplateSpec) ProtoReflect() protoreflect.Message
- func (x *PodTemplateSpec) Reset()
- func (x *PodTemplateSpec) String() string
- type PortStatus
- func (*PortStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PortStatus) GetError() string
- func (x *PortStatus) GetPort() int32
- func (x *PortStatus) GetProtocol() string
- func (*PortStatus) ProtoMessage()
- func (x *PortStatus) ProtoReflect() protoreflect.Message
- func (x *PortStatus) Reset()
- func (x *PortStatus) String() string
- type PortworxVolumeSource
- func (*PortworxVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *PortworxVolumeSource) GetFsType() string
- func (x *PortworxVolumeSource) GetReadOnly() bool
- func (x *PortworxVolumeSource) GetVolumeID() string
- func (*PortworxVolumeSource) ProtoMessage()
- func (x *PortworxVolumeSource) ProtoReflect() protoreflect.Message
- func (x *PortworxVolumeSource) Reset()
- func (x *PortworxVolumeSource) String() string
- type Preconditions
- func (*Preconditions) Descriptor() ([]byte, []int)deprecated
- func (x *Preconditions) GetResourceVersion() string
- func (x *Preconditions) GetUid() string
- func (*Preconditions) ProtoMessage()
- func (x *Preconditions) ProtoReflect() protoreflect.Message
- func (x *Preconditions) Reset()
- func (x *Preconditions) String() string
- type PreferAvoidPodsEntry
- func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int)deprecated
- func (x *PreferAvoidPodsEntry) GetEvictionTime() *Time
- func (x *PreferAvoidPodsEntry) GetMessage() string
- func (x *PreferAvoidPodsEntry) GetPodSignature() *PodSignature
- func (x *PreferAvoidPodsEntry) GetReason() string
- func (*PreferAvoidPodsEntry) ProtoMessage()
- func (x *PreferAvoidPodsEntry) ProtoReflect() protoreflect.Message
- func (x *PreferAvoidPodsEntry) Reset()
- func (x *PreferAvoidPodsEntry) String() string
- type PreferredSchedulingTerm
- func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int)deprecated
- func (x *PreferredSchedulingTerm) GetPreference() *NodeSelectorTerm
- func (x *PreferredSchedulingTerm) GetWeight() int32
- func (*PreferredSchedulingTerm) ProtoMessage()
- func (x *PreferredSchedulingTerm) ProtoReflect() protoreflect.Message
- func (x *PreferredSchedulingTerm) Reset()
- func (x *PreferredSchedulingTerm) String() string
- type Probe
- func (*Probe) Descriptor() ([]byte, []int)deprecated
- func (x *Probe) GetFailureThreshold() int32
- func (x *Probe) GetHandler() *ProbeHandler
- func (x *Probe) GetInitialDelaySeconds() int32
- func (x *Probe) GetPeriodSeconds() int32
- func (x *Probe) GetSuccessThreshold() int32
- func (x *Probe) GetTerminationGracePeriodSeconds() int64
- func (x *Probe) GetTimeoutSeconds() int32
- func (*Probe) ProtoMessage()
- func (x *Probe) ProtoReflect() protoreflect.Message
- func (x *Probe) Reset()
- func (x *Probe) String() string
- type ProbeHandler
- func (*ProbeHandler) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeHandler) GetExec() *ExecAction
- func (x *ProbeHandler) GetGrpc() *GRPCAction
- func (x *ProbeHandler) GetHttpGet() *HTTPGetAction
- func (x *ProbeHandler) GetTcpSocket() *TCPSocketAction
- func (*ProbeHandler) ProtoMessage()
- func (x *ProbeHandler) ProtoReflect() protoreflect.Message
- func (x *ProbeHandler) Reset()
- func (x *ProbeHandler) String() string
- type ProjectedVolumeSource
- func (*ProjectedVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectedVolumeSource) GetDefaultMode() int32
- func (x *ProjectedVolumeSource) GetSources() []*VolumeProjection
- func (*ProjectedVolumeSource) ProtoMessage()
- func (x *ProjectedVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ProjectedVolumeSource) Reset()
- func (x *ProjectedVolumeSource) String() string
- type Quantity
- type QuantityValue
- type QuobyteVolumeSource
- func (*QuobyteVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *QuobyteVolumeSource) GetGroup() string
- func (x *QuobyteVolumeSource) GetReadOnly() bool
- func (x *QuobyteVolumeSource) GetRegistry() string
- func (x *QuobyteVolumeSource) GetTenant() string
- func (x *QuobyteVolumeSource) GetUser() string
- func (x *QuobyteVolumeSource) GetVolume() string
- func (*QuobyteVolumeSource) ProtoMessage()
- func (x *QuobyteVolumeSource) ProtoReflect() protoreflect.Message
- func (x *QuobyteVolumeSource) Reset()
- func (x *QuobyteVolumeSource) String() string
- type RBDPersistentVolumeSource
- func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *RBDPersistentVolumeSource) GetFsType() string
- func (x *RBDPersistentVolumeSource) GetImage() string
- func (x *RBDPersistentVolumeSource) GetKeyring() string
- func (x *RBDPersistentVolumeSource) GetMonitors() []string
- func (x *RBDPersistentVolumeSource) GetPool() string
- func (x *RBDPersistentVolumeSource) GetReadOnly() bool
- func (x *RBDPersistentVolumeSource) GetSecretRef() *SecretReference
- func (x *RBDPersistentVolumeSource) GetUser() string
- func (*RBDPersistentVolumeSource) ProtoMessage()
- func (x *RBDPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *RBDPersistentVolumeSource) Reset()
- func (x *RBDPersistentVolumeSource) String() string
- type RBDVolumeSource
- func (*RBDVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *RBDVolumeSource) GetFsType() string
- func (x *RBDVolumeSource) GetImage() string
- func (x *RBDVolumeSource) GetKeyring() string
- func (x *RBDVolumeSource) GetMonitors() []string
- func (x *RBDVolumeSource) GetPool() string
- func (x *RBDVolumeSource) GetReadOnly() bool
- func (x *RBDVolumeSource) GetSecretRef() *LocalObjectReference
- func (x *RBDVolumeSource) GetUser() string
- func (*RBDVolumeSource) ProtoMessage()
- func (x *RBDVolumeSource) ProtoReflect() protoreflect.Message
- func (x *RBDVolumeSource) Reset()
- func (x *RBDVolumeSource) String() string
- type RangeAllocation
- func (*RangeAllocation) Descriptor() ([]byte, []int)deprecated
- func (x *RangeAllocation) GetData() []byte
- func (x *RangeAllocation) GetMetadata() *ObjectMeta
- func (x *RangeAllocation) GetRange() string
- func (*RangeAllocation) ProtoMessage()
- func (x *RangeAllocation) ProtoReflect() protoreflect.Message
- func (x *RangeAllocation) Reset()
- func (x *RangeAllocation) String() string
- type RawExtension
- type ReplicationController
- func (*ReplicationController) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationController) GetMetadata() *ObjectMeta
- func (x *ReplicationController) GetSpec() *ReplicationControllerSpec
- func (x *ReplicationController) GetStatus() *ReplicationControllerStatus
- func (*ReplicationController) ProtoMessage()
- func (x *ReplicationController) ProtoReflect() protoreflect.Message
- func (x *ReplicationController) Reset()
- func (x *ReplicationController) String() string
- type ReplicationControllerCondition
- func (*ReplicationControllerCondition) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationControllerCondition) GetLastTransitionTime() *Time
- func (x *ReplicationControllerCondition) GetMessage() string
- func (x *ReplicationControllerCondition) GetReason() string
- func (x *ReplicationControllerCondition) GetStatus() string
- func (x *ReplicationControllerCondition) GetType() string
- func (*ReplicationControllerCondition) ProtoMessage()
- func (x *ReplicationControllerCondition) ProtoReflect() protoreflect.Message
- func (x *ReplicationControllerCondition) Reset()
- func (x *ReplicationControllerCondition) String() string
- type ReplicationControllerList
- func (*ReplicationControllerList) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationControllerList) GetItems() []*ReplicationController
- func (x *ReplicationControllerList) GetMetadata() *ListMeta
- func (*ReplicationControllerList) ProtoMessage()
- func (x *ReplicationControllerList) ProtoReflect() protoreflect.Message
- func (x *ReplicationControllerList) Reset()
- func (x *ReplicationControllerList) String() string
- type ReplicationControllerSpec
- func (*ReplicationControllerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationControllerSpec) GetMinReadySeconds() int32
- func (x *ReplicationControllerSpec) GetReplicas() int32
- func (x *ReplicationControllerSpec) GetSelector() map[string]string
- func (x *ReplicationControllerSpec) GetTemplate() *PodTemplateSpec
- func (*ReplicationControllerSpec) ProtoMessage()
- func (x *ReplicationControllerSpec) ProtoReflect() protoreflect.Message
- func (x *ReplicationControllerSpec) Reset()
- func (x *ReplicationControllerSpec) String() string
- type ReplicationControllerStatus
- func (*ReplicationControllerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationControllerStatus) GetAvailableReplicas() int32
- func (x *ReplicationControllerStatus) GetConditions() []*ReplicationControllerCondition
- func (x *ReplicationControllerStatus) GetFullyLabeledReplicas() int32
- func (x *ReplicationControllerStatus) GetObservedGeneration() int64
- func (x *ReplicationControllerStatus) GetReadyReplicas() int32
- func (x *ReplicationControllerStatus) GetReplicas() int32
- func (*ReplicationControllerStatus) ProtoMessage()
- func (x *ReplicationControllerStatus) ProtoReflect() protoreflect.Message
- func (x *ReplicationControllerStatus) Reset()
- func (x *ReplicationControllerStatus) String() string
- type ResourceClaim
- type ResourceFieldSelector
- func (*ResourceFieldSelector) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceFieldSelector) GetContainerName() string
- func (x *ResourceFieldSelector) GetDivisor() *Quantity
- func (x *ResourceFieldSelector) GetResource() string
- func (*ResourceFieldSelector) ProtoMessage()
- func (x *ResourceFieldSelector) ProtoReflect() protoreflect.Message
- func (x *ResourceFieldSelector) Reset()
- func (x *ResourceFieldSelector) String() string
- type ResourceQuota
- func (*ResourceQuota) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceQuota) GetMetadata() *ObjectMeta
- func (x *ResourceQuota) GetSpec() *ResourceQuotaSpec
- func (x *ResourceQuota) GetStatus() *ResourceQuotaStatus
- func (*ResourceQuota) ProtoMessage()
- func (x *ResourceQuota) ProtoReflect() protoreflect.Message
- func (x *ResourceQuota) Reset()
- func (x *ResourceQuota) String() string
- type ResourceQuotaList
- func (*ResourceQuotaList) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceQuotaList) GetItems() []*ResourceQuota
- func (x *ResourceQuotaList) GetMetadata() *ListMeta
- func (*ResourceQuotaList) ProtoMessage()
- func (x *ResourceQuotaList) ProtoReflect() protoreflect.Message
- func (x *ResourceQuotaList) Reset()
- func (x *ResourceQuotaList) String() string
- type ResourceQuotaSpec
- func (*ResourceQuotaSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceQuotaSpec) GetHard() map[string]*Quantity
- func (x *ResourceQuotaSpec) GetScopeSelector() *ScopeSelector
- func (x *ResourceQuotaSpec) GetScopes() []string
- func (*ResourceQuotaSpec) ProtoMessage()
- func (x *ResourceQuotaSpec) ProtoReflect() protoreflect.Message
- func (x *ResourceQuotaSpec) Reset()
- func (x *ResourceQuotaSpec) String() string
- type ResourceQuotaStatus
- func (*ResourceQuotaStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceQuotaStatus) GetHard() map[string]*Quantity
- func (x *ResourceQuotaStatus) GetUsed() map[string]*Quantity
- func (*ResourceQuotaStatus) ProtoMessage()
- func (x *ResourceQuotaStatus) ProtoReflect() protoreflect.Message
- func (x *ResourceQuotaStatus) Reset()
- func (x *ResourceQuotaStatus) String() string
- type ResourceRequirements
- func (*ResourceRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRequirements) GetClaims() []*ResourceClaim
- func (x *ResourceRequirements) GetLimits() map[string]string
- func (x *ResourceRequirements) GetRequests() map[string]string
- func (*ResourceRequirements) ProtoMessage()
- func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
- func (x *ResourceRequirements) Reset()
- func (x *ResourceRequirements) String() string
- type Resp
- type RollbackConfig
- type RollingUpdateDeployment
- func (*RollingUpdateDeployment) Descriptor() ([]byte, []int)deprecated
- func (x *RollingUpdateDeployment) GetMaxSurge() *IntOrString
- func (x *RollingUpdateDeployment) GetMaxUnavailable() *IntOrString
- func (*RollingUpdateDeployment) ProtoMessage()
- func (x *RollingUpdateDeployment) ProtoReflect() protoreflect.Message
- func (x *RollingUpdateDeployment) Reset()
- func (x *RollingUpdateDeployment) String() string
- type RollingUpdateStatefulSetStrategy
- func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *RollingUpdateStatefulSetStrategy) GetMaxUnavailable() *IntOrString
- func (x *RollingUpdateStatefulSetStrategy) GetPartition() int32
- func (*RollingUpdateStatefulSetStrategy) ProtoMessage()
- func (x *RollingUpdateStatefulSetStrategy) ProtoReflect() protoreflect.Message
- func (x *RollingUpdateStatefulSetStrategy) Reset()
- func (x *RollingUpdateStatefulSetStrategy) String() string
- type RootPaths
- type SELinuxOptions
- func (*SELinuxOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SELinuxOptions) GetLevel() string
- func (x *SELinuxOptions) GetRole() string
- func (x *SELinuxOptions) GetType() string
- func (x *SELinuxOptions) GetUser() string
- func (*SELinuxOptions) ProtoMessage()
- func (x *SELinuxOptions) ProtoReflect() protoreflect.Message
- func (x *SELinuxOptions) Reset()
- func (x *SELinuxOptions) String() string
- type ScaleIOPersistentVolumeSource
- func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleIOPersistentVolumeSource) GetFsType() string
- func (x *ScaleIOPersistentVolumeSource) GetGateway() string
- func (x *ScaleIOPersistentVolumeSource) GetProtectionDomain() string
- func (x *ScaleIOPersistentVolumeSource) GetReadOnly() bool
- func (x *ScaleIOPersistentVolumeSource) GetSecretRef() *SecretReference
- func (x *ScaleIOPersistentVolumeSource) GetSslEnabled() bool
- func (x *ScaleIOPersistentVolumeSource) GetStorageMode() string
- func (x *ScaleIOPersistentVolumeSource) GetStoragePool() string
- func (x *ScaleIOPersistentVolumeSource) GetSystem() string
- func (x *ScaleIOPersistentVolumeSource) GetVolumeName() string
- func (*ScaleIOPersistentVolumeSource) ProtoMessage()
- func (x *ScaleIOPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ScaleIOPersistentVolumeSource) Reset()
- func (x *ScaleIOPersistentVolumeSource) String() string
- type ScaleIOVolumeSource
- func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleIOVolumeSource) GetFsType() string
- func (x *ScaleIOVolumeSource) GetGateway() string
- func (x *ScaleIOVolumeSource) GetProtectionDomain() string
- func (x *ScaleIOVolumeSource) GetReadOnly() bool
- func (x *ScaleIOVolumeSource) GetSecretRef() *LocalObjectReference
- func (x *ScaleIOVolumeSource) GetSslEnabled() bool
- func (x *ScaleIOVolumeSource) GetStorageMode() string
- func (x *ScaleIOVolumeSource) GetStoragePool() string
- func (x *ScaleIOVolumeSource) GetSystem() string
- func (x *ScaleIOVolumeSource) GetVolumeName() string
- func (*ScaleIOVolumeSource) ProtoMessage()
- func (x *ScaleIOVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ScaleIOVolumeSource) Reset()
- func (x *ScaleIOVolumeSource) String() string
- type ScopeSelector
- func (*ScopeSelector) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeSelector) GetMatchExpressions() []*ScopedResourceSelectorRequirement
- func (*ScopeSelector) ProtoMessage()
- func (x *ScopeSelector) ProtoReflect() protoreflect.Message
- func (x *ScopeSelector) Reset()
- func (x *ScopeSelector) String() string
- type ScopedResourceSelectorRequirement
- func (*ScopedResourceSelectorRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *ScopedResourceSelectorRequirement) GetOperator() string
- func (x *ScopedResourceSelectorRequirement) GetScopeName() string
- func (x *ScopedResourceSelectorRequirement) GetValues() []string
- func (*ScopedResourceSelectorRequirement) ProtoMessage()
- func (x *ScopedResourceSelectorRequirement) ProtoReflect() protoreflect.Message
- func (x *ScopedResourceSelectorRequirement) Reset()
- func (x *ScopedResourceSelectorRequirement) String() string
- type SeccompProfile
- func (*SeccompProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SeccompProfile) GetLocalhostProfile() string
- func (x *SeccompProfile) GetType() string
- func (*SeccompProfile) ProtoMessage()
- func (x *SeccompProfile) ProtoReflect() protoreflect.Message
- func (x *SeccompProfile) Reset()
- func (x *SeccompProfile) String() string
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetData() map[string][]byte
- func (x *Secret) GetImmutable() bool
- func (x *Secret) GetMetadata() *ObjectMeta
- func (x *Secret) GetStringData() map[string]string
- func (x *Secret) GetType() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type SecretEnvSource
- func (*SecretEnvSource) Descriptor() ([]byte, []int)deprecated
- func (x *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference
- func (x *SecretEnvSource) GetOptional() bool
- func (*SecretEnvSource) ProtoMessage()
- func (x *SecretEnvSource) ProtoReflect() protoreflect.Message
- func (x *SecretEnvSource) Reset()
- func (x *SecretEnvSource) String() string
- type SecretKeySelector
- func (*SecretKeySelector) Descriptor() ([]byte, []int)deprecated
- func (x *SecretKeySelector) GetKey() string
- func (x *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference
- func (x *SecretKeySelector) GetOptional() bool
- func (*SecretKeySelector) ProtoMessage()
- func (x *SecretKeySelector) ProtoReflect() protoreflect.Message
- func (x *SecretKeySelector) Reset()
- func (x *SecretKeySelector) String() string
- type SecretList
- func (*SecretList) Descriptor() ([]byte, []int)deprecated
- func (x *SecretList) GetItems() []*Secret
- func (x *SecretList) GetMetadata() *ListMeta
- func (*SecretList) ProtoMessage()
- func (x *SecretList) ProtoReflect() protoreflect.Message
- func (x *SecretList) Reset()
- func (x *SecretList) String() string
- type SecretProjection
- func (*SecretProjection) Descriptor() ([]byte, []int)deprecated
- func (x *SecretProjection) GetItems() []*KeyToPath
- func (x *SecretProjection) GetLocalObjectReference() *LocalObjectReference
- func (x *SecretProjection) GetOptional() bool
- func (*SecretProjection) ProtoMessage()
- func (x *SecretProjection) ProtoReflect() protoreflect.Message
- func (x *SecretProjection) Reset()
- func (x *SecretProjection) String() string
- type SecretReference
- func (*SecretReference) Descriptor() ([]byte, []int)deprecated
- func (x *SecretReference) GetName() string
- func (x *SecretReference) GetNamespace() string
- func (*SecretReference) ProtoMessage()
- func (x *SecretReference) ProtoReflect() protoreflect.Message
- func (x *SecretReference) Reset()
- func (x *SecretReference) String() string
- type SecretVolumeSource
- func (*SecretVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *SecretVolumeSource) GetDefaultMode() int32
- func (x *SecretVolumeSource) GetItems() []*KeyToPath
- func (x *SecretVolumeSource) GetOptional() bool
- func (x *SecretVolumeSource) GetSecretName() string
- func (*SecretVolumeSource) ProtoMessage()
- func (x *SecretVolumeSource) ProtoReflect() protoreflect.Message
- func (x *SecretVolumeSource) Reset()
- func (x *SecretVolumeSource) String() string
- type SecurityContext
- func (*SecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityContext) GetAllowPrivilegeEscalation() bool
- func (x *SecurityContext) GetCapabilities() *Capabilities
- func (x *SecurityContext) GetPrivileged() bool
- func (x *SecurityContext) GetProcMount() string
- func (x *SecurityContext) GetReadOnlyRootFilesystem() bool
- func (x *SecurityContext) GetRunAsGroup() int64
- func (x *SecurityContext) GetRunAsNonRoot() bool
- func (x *SecurityContext) GetRunAsUser() int64
- func (x *SecurityContext) GetSeLinuxOptions() *SELinuxOptions
- func (x *SecurityContext) GetSeccompProfile() *SeccompProfile
- func (x *SecurityContext) GetWindowsOptions() *WindowsSecurityContextOptions
- func (*SecurityContext) ProtoMessage()
- func (x *SecurityContext) ProtoReflect() protoreflect.Message
- func (x *SecurityContext) Reset()
- func (x *SecurityContext) String() string
- type SerializedReference
- func (*SerializedReference) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedReference) GetReference() *ObjectReference
- func (*SerializedReference) ProtoMessage()
- func (x *SerializedReference) ProtoReflect() protoreflect.Message
- func (x *SerializedReference) Reset()
- func (x *SerializedReference) String() string
- type ServerAddressByClientCIDR
- func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)deprecated
- func (x *ServerAddressByClientCIDR) GetClientCIDR() string
- func (x *ServerAddressByClientCIDR) GetServerAddress() string
- func (*ServerAddressByClientCIDR) ProtoMessage()
- func (x *ServerAddressByClientCIDR) ProtoReflect() protoreflect.Message
- func (x *ServerAddressByClientCIDR) Reset()
- func (x *ServerAddressByClientCIDR) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetMetadata() *ObjectMeta
- func (x *Service) GetSpec() *ServiceSpec
- func (x *Service) GetStatus() *ServiceStatus
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceAccount
- func (*ServiceAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccount) GetAutomountServiceAccountToken() bool
- func (x *ServiceAccount) GetImagePullSecrets() []*LocalObjectReference
- func (x *ServiceAccount) GetMetadata() *ObjectMeta
- func (x *ServiceAccount) GetSecrets() []*ObjectReference
- func (*ServiceAccount) ProtoMessage()
- func (x *ServiceAccount) ProtoReflect() protoreflect.Message
- func (x *ServiceAccount) Reset()
- func (x *ServiceAccount) String() string
- type ServiceAccountList
- func (*ServiceAccountList) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccountList) GetItems() []*ServiceAccount
- func (x *ServiceAccountList) GetMetadata() *ListMeta
- func (*ServiceAccountList) ProtoMessage()
- func (x *ServiceAccountList) ProtoReflect() protoreflect.Message
- func (x *ServiceAccountList) Reset()
- func (x *ServiceAccountList) String() string
- type ServiceAccountTokenProjection
- func (*ServiceAccountTokenProjection) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAccountTokenProjection) GetAudience() string
- func (x *ServiceAccountTokenProjection) GetExpirationSeconds() int64
- func (x *ServiceAccountTokenProjection) GetPath() string
- func (*ServiceAccountTokenProjection) ProtoMessage()
- func (x *ServiceAccountTokenProjection) ProtoReflect() protoreflect.Message
- func (x *ServiceAccountTokenProjection) Reset()
- func (x *ServiceAccountTokenProjection) String() string
- type ServiceBackendPort
- func (*ServiceBackendPort) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceBackendPort) GetName() string
- func (x *ServiceBackendPort) GetNumber() int32
- func (*ServiceBackendPort) ProtoMessage()
- func (x *ServiceBackendPort) ProtoReflect() protoreflect.Message
- func (x *ServiceBackendPort) Reset()
- func (x *ServiceBackendPort) String() string
- type ServiceList
- func (*ServiceList) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceList) GetItems() []*Service
- func (x *ServiceList) GetMetadata() *ListMeta
- func (*ServiceList) ProtoMessage()
- func (x *ServiceList) ProtoReflect() protoreflect.Message
- func (x *ServiceList) Reset()
- func (x *ServiceList) String() string
- type ServicePort
- func (*ServicePort) Descriptor() ([]byte, []int)deprecated
- func (x *ServicePort) GetAppProtocol() string
- func (x *ServicePort) GetName() string
- func (x *ServicePort) GetNodePort() int32
- func (x *ServicePort) GetPort() int32
- func (x *ServicePort) GetProtocol() string
- func (x *ServicePort) GetTargetPort() *IntOrString
- func (*ServicePort) ProtoMessage()
- func (x *ServicePort) ProtoReflect() protoreflect.Message
- func (x *ServicePort) Reset()
- func (x *ServicePort) String() string
- type ServiceProxyOptions
- func (*ServiceProxyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceProxyOptions) GetPath() string
- func (*ServiceProxyOptions) ProtoMessage()
- func (x *ServiceProxyOptions) ProtoReflect() protoreflect.Message
- func (x *ServiceProxyOptions) Reset()
- func (x *ServiceProxyOptions) String() string
- type ServiceSpec
- func (*ServiceSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceSpec) GetAllocateLoadBalancerNodePorts() bool
- func (x *ServiceSpec) GetClusterIP() string
- func (x *ServiceSpec) GetClusterIPs() []string
- func (x *ServiceSpec) GetExternalIPs() []string
- func (x *ServiceSpec) GetExternalName() string
- func (x *ServiceSpec) GetExternalTrafficPolicy() string
- func (x *ServiceSpec) GetHealthCheckNodePort() int32
- func (x *ServiceSpec) GetInternalTrafficPolicy() string
- func (x *ServiceSpec) GetIpFamilies() []string
- func (x *ServiceSpec) GetIpFamilyPolicy() string
- func (x *ServiceSpec) GetLoadBalancerClass() string
- func (x *ServiceSpec) GetLoadBalancerIP() string
- func (x *ServiceSpec) GetLoadBalancerSourceRanges() []string
- func (x *ServiceSpec) GetPorts() []*ServicePort
- func (x *ServiceSpec) GetPublishNotReadyAddresses() bool
- func (x *ServiceSpec) GetSelector() map[string]string
- func (x *ServiceSpec) GetSessionAffinity() string
- func (x *ServiceSpec) GetSessionAffinityConfig() *SessionAffinityConfig
- func (x *ServiceSpec) GetType() string
- func (*ServiceSpec) ProtoMessage()
- func (x *ServiceSpec) ProtoReflect() protoreflect.Message
- func (x *ServiceSpec) Reset()
- func (x *ServiceSpec) String() string
- type ServiceStatus
- func (*ServiceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceStatus) GetConditions() []*Condition
- func (x *ServiceStatus) GetLoadBalancer() *LoadBalancerStatus
- func (*ServiceStatus) ProtoMessage()
- func (x *ServiceStatus) ProtoReflect() protoreflect.Message
- func (x *ServiceStatus) Reset()
- func (x *ServiceStatus) String() string
- type SessionAffinityConfig
- func (*SessionAffinityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SessionAffinityConfig) GetClientIP() *ClientIPConfig
- func (*SessionAffinityConfig) ProtoMessage()
- func (x *SessionAffinityConfig) ProtoReflect() protoreflect.Message
- func (x *SessionAffinityConfig) Reset()
- func (x *SessionAffinityConfig) String() string
- type StatefulSet
- func (*StatefulSet) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSet) GetMetadata() *ObjectMeta
- func (x *StatefulSet) GetSpec() *StatefulSetSpec
- func (x *StatefulSet) GetStatus() *StatefulSetStatus
- func (*StatefulSet) ProtoMessage()
- func (x *StatefulSet) ProtoReflect() protoreflect.Message
- func (x *StatefulSet) Reset()
- func (x *StatefulSet) String() string
- type StatefulSetCondition
- func (*StatefulSetCondition) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSetCondition) GetLastTransitionTime() *Time
- func (x *StatefulSetCondition) GetMessage() string
- func (x *StatefulSetCondition) GetReason() string
- func (x *StatefulSetCondition) GetStatus() string
- func (x *StatefulSetCondition) GetType() string
- func (*StatefulSetCondition) ProtoMessage()
- func (x *StatefulSetCondition) ProtoReflect() protoreflect.Message
- func (x *StatefulSetCondition) Reset()
- func (x *StatefulSetCondition) String() string
- type StatefulSetOrdinals
- func (*StatefulSetOrdinals) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSetOrdinals) GetStart() int32
- func (*StatefulSetOrdinals) ProtoMessage()
- func (x *StatefulSetOrdinals) ProtoReflect() protoreflect.Message
- func (x *StatefulSetOrdinals) Reset()
- func (x *StatefulSetOrdinals) String() string
- type StatefulSetPersistentVolumeClaimRetentionPolicy
- func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) GetWhenDeleted() string
- func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) GetWhenScaled() string
- func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage()
- func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoReflect() protoreflect.Message
- func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset()
- func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) String() string
- type StatefulSetSpec
- func (*StatefulSetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSetSpec) GetMinReadySeconds() int32
- func (x *StatefulSetSpec) GetOrdinals() *StatefulSetOrdinals
- func (x *StatefulSetSpec) GetPersistentVolumeClaimRetentionPolicy() *StatefulSetPersistentVolumeClaimRetentionPolicy
- func (x *StatefulSetSpec) GetPodManagementPolicy() string
- func (x *StatefulSetSpec) GetReplicas() int32
- func (x *StatefulSetSpec) GetRevisionHistoryLimit() int32
- func (x *StatefulSetSpec) GetSelector() *LabelSelector
- func (x *StatefulSetSpec) GetServiceName() string
- func (x *StatefulSetSpec) GetTemplate() *PodTemplateSpec
- func (x *StatefulSetSpec) GetUpdateStrategy() *StatefulSetUpdateStrategy
- func (x *StatefulSetSpec) GetVolumeClaimTemplates() []*PersistentVolumeClaim
- func (*StatefulSetSpec) ProtoMessage()
- func (x *StatefulSetSpec) ProtoReflect() protoreflect.Message
- func (x *StatefulSetSpec) Reset()
- func (x *StatefulSetSpec) String() string
- type StatefulSetStatus
- func (*StatefulSetStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSetStatus) GetAvailableReplicas() int32
- func (x *StatefulSetStatus) GetCollisionCount() int32
- func (x *StatefulSetStatus) GetConditions() []*StatefulSetCondition
- func (x *StatefulSetStatus) GetCurrentReplicas() int32
- func (x *StatefulSetStatus) GetCurrentRevision() string
- func (x *StatefulSetStatus) GetObservedGeneration() int64
- func (x *StatefulSetStatus) GetReadyReplicas() int32
- func (x *StatefulSetStatus) GetReplicas() int32
- func (x *StatefulSetStatus) GetUpdateRevision() string
- func (x *StatefulSetStatus) GetUpdatedReplicas() int32
- func (*StatefulSetStatus) ProtoMessage()
- func (x *StatefulSetStatus) ProtoReflect() protoreflect.Message
- func (x *StatefulSetStatus) Reset()
- func (x *StatefulSetStatus) String() string
- type StatefulSetUpdateStrategy
- func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulSetUpdateStrategy) GetRollingUpdate() *RollingUpdateStatefulSetStrategy
- func (x *StatefulSetUpdateStrategy) GetType() string
- func (*StatefulSetUpdateStrategy) ProtoMessage()
- func (x *StatefulSetUpdateStrategy) ProtoReflect() protoreflect.Message
- func (x *StatefulSetUpdateStrategy) Reset()
- func (x *StatefulSetUpdateStrategy) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCode() int32
- func (x *Status) GetDetails() *StatusDetails
- func (x *Status) GetMessage() string
- func (x *Status) GetMetadata() *ListMeta
- func (x *Status) GetReason() string
- func (x *Status) GetStatus() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type StatusCause
- func (*StatusCause) Descriptor() ([]byte, []int)deprecated
- func (x *StatusCause) GetField() string
- func (x *StatusCause) GetMessage() string
- func (x *StatusCause) GetReason() string
- func (*StatusCause) ProtoMessage()
- func (x *StatusCause) ProtoReflect() protoreflect.Message
- func (x *StatusCause) Reset()
- func (x *StatusCause) String() string
- type StatusDetails
- func (*StatusDetails) Descriptor() ([]byte, []int)deprecated
- func (x *StatusDetails) GetCauses() []*StatusCause
- func (x *StatusDetails) GetGroup() string
- func (x *StatusDetails) GetKind() string
- func (x *StatusDetails) GetName() string
- func (x *StatusDetails) GetRetryAfterSeconds() int32
- func (x *StatusDetails) GetUid() string
- func (*StatusDetails) ProtoMessage()
- func (x *StatusDetails) ProtoReflect() protoreflect.Message
- func (x *StatusDetails) Reset()
- func (x *StatusDetails) String() string
- type StorageOSPersistentVolumeSource
- func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *StorageOSPersistentVolumeSource) GetFsType() string
- func (x *StorageOSPersistentVolumeSource) GetReadOnly() bool
- func (x *StorageOSPersistentVolumeSource) GetSecretRef() *ObjectReference
- func (x *StorageOSPersistentVolumeSource) GetVolumeName() string
- func (x *StorageOSPersistentVolumeSource) GetVolumeNamespace() string
- func (*StorageOSPersistentVolumeSource) ProtoMessage()
- func (x *StorageOSPersistentVolumeSource) ProtoReflect() protoreflect.Message
- func (x *StorageOSPersistentVolumeSource) Reset()
- func (x *StorageOSPersistentVolumeSource) String() string
- type StorageOSVolumeSource
- func (*StorageOSVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *StorageOSVolumeSource) GetFsType() string
- func (x *StorageOSVolumeSource) GetReadOnly() bool
- func (x *StorageOSVolumeSource) GetSecretRef() *LocalObjectReference
- func (x *StorageOSVolumeSource) GetVolumeName() string
- func (x *StorageOSVolumeSource) GetVolumeNamespace() string
- func (*StorageOSVolumeSource) ProtoMessage()
- func (x *StorageOSVolumeSource) ProtoReflect() protoreflect.Message
- func (x *StorageOSVolumeSource) Reset()
- func (x *StorageOSVolumeSource) String() string
- type Sysctl
- type TCPSocketAction
- func (*TCPSocketAction) Descriptor() ([]byte, []int)deprecated
- func (x *TCPSocketAction) GetHost() string
- func (x *TCPSocketAction) GetPort() *IntOrString
- func (*TCPSocketAction) ProtoMessage()
- func (x *TCPSocketAction) ProtoReflect() protoreflect.Message
- func (x *TCPSocketAction) Reset()
- func (x *TCPSocketAction) String() string
- type TableOptions
- type Taint
- func (*Taint) Descriptor() ([]byte, []int)deprecated
- func (x *Taint) GetEffect() string
- func (x *Taint) GetKey() string
- func (x *Taint) GetTimeAdded() *Time
- func (x *Taint) GetValue() string
- func (*Taint) ProtoMessage()
- func (x *Taint) ProtoReflect() protoreflect.Message
- func (x *Taint) Reset()
- func (x *Taint) String() string
- type Tenant
- type TenantListResp
- func (*TenantListResp) Descriptor() ([]byte, []int)deprecated
- func (x *TenantListResp) GetCode() string
- func (x *TenantListResp) GetData() map[string]string
- func (x *TenantListResp) GetMsg() string
- func (*TenantListResp) ProtoMessage()
- func (x *TenantListResp) ProtoReflect() protoreflect.Message
- func (x *TenantListResp) Reset()
- func (x *TenantListResp) String() string
- type Time
- type Timestamp
- type Toleration
- func (*Toleration) Descriptor() ([]byte, []int)deprecated
- func (x *Toleration) GetEffect() string
- func (x *Toleration) GetKey() string
- func (x *Toleration) GetOperator() string
- func (x *Toleration) GetTolerationSeconds() int64
- func (x *Toleration) GetValue() string
- func (*Toleration) ProtoMessage()
- func (x *Toleration) ProtoReflect() protoreflect.Message
- func (x *Toleration) Reset()
- func (x *Toleration) String() string
- type TopologySelectorLabelRequirement
- func (*TopologySelectorLabelRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *TopologySelectorLabelRequirement) GetKey() string
- func (x *TopologySelectorLabelRequirement) GetValues() []string
- func (*TopologySelectorLabelRequirement) ProtoMessage()
- func (x *TopologySelectorLabelRequirement) ProtoReflect() protoreflect.Message
- func (x *TopologySelectorLabelRequirement) Reset()
- func (x *TopologySelectorLabelRequirement) String() string
- type TopologySelectorTerm
- func (*TopologySelectorTerm) Descriptor() ([]byte, []int)deprecated
- func (x *TopologySelectorTerm) GetMatchLabelExpressions() []*TopologySelectorLabelRequirement
- func (*TopologySelectorTerm) ProtoMessage()
- func (x *TopologySelectorTerm) ProtoReflect() protoreflect.Message
- func (x *TopologySelectorTerm) Reset()
- func (x *TopologySelectorTerm) String() string
- type TopologySpreadConstraint
- func (*TopologySpreadConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *TopologySpreadConstraint) GetLabelSelector() *LabelSelector
- func (x *TopologySpreadConstraint) GetMatchLabelKeys() []string
- func (x *TopologySpreadConstraint) GetMaxSkew() int32
- func (x *TopologySpreadConstraint) GetMinDomains() int32
- func (x *TopologySpreadConstraint) GetNodeAffinityPolicy() string
- func (x *TopologySpreadConstraint) GetNodeTaintsPolicy() string
- func (x *TopologySpreadConstraint) GetTopologyKey() string
- func (x *TopologySpreadConstraint) GetWhenUnsatisfiable() string
- func (*TopologySpreadConstraint) ProtoMessage()
- func (x *TopologySpreadConstraint) ProtoReflect() protoreflect.Message
- func (x *TopologySpreadConstraint) Reset()
- func (x *TopologySpreadConstraint) String() string
- type TypeMeta
- type TypedLocalObjectReference
- func (*TypedLocalObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *TypedLocalObjectReference) GetApiGroup() string
- func (x *TypedLocalObjectReference) GetKind() string
- func (x *TypedLocalObjectReference) GetName() string
- func (*TypedLocalObjectReference) ProtoMessage()
- func (x *TypedLocalObjectReference) ProtoReflect() protoreflect.Message
- func (x *TypedLocalObjectReference) Reset()
- func (x *TypedLocalObjectReference) String() string
- type TypedObjectReference
- func (*TypedObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *TypedObjectReference) GetApiGroup() string
- func (x *TypedObjectReference) GetKind() string
- func (x *TypedObjectReference) GetName() string
- func (x *TypedObjectReference) GetNamespace() string
- func (*TypedObjectReference) ProtoMessage()
- func (x *TypedObjectReference) ProtoReflect() protoreflect.Message
- func (x *TypedObjectReference) Reset()
- func (x *TypedObjectReference) String() string
- type UncountedTerminatedPods
- func (*UncountedTerminatedPods) Descriptor() ([]byte, []int)deprecated
- func (x *UncountedTerminatedPods) GetFailed() []string
- func (x *UncountedTerminatedPods) GetSucceeded() []string
- func (*UncountedTerminatedPods) ProtoMessage()
- func (x *UncountedTerminatedPods) ProtoReflect() protoreflect.Message
- func (x *UncountedTerminatedPods) Reset()
- func (x *UncountedTerminatedPods) String() string
- type UnimplementedKubernetesServer
- func (UnimplementedKubernetesServer) ApplyYaml(context.Context, *ApplyReq) (*ApplyResp, error)
- func (UnimplementedKubernetesServer) DelApp(context.Context, *DeploymentDetailReq) (*Resp, error)
- func (UnimplementedKubernetesServer) DeleteDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
- func (UnimplementedKubernetesServer) DeleteYaml(context.Context, *ApplyReq) (*Resp, error)
- func (UnimplementedKubernetesServer) DeploymentDetail(context.Context, *DeploymentDetailReq) (*DeploymentDetailResp, error)
- func (UnimplementedKubernetesServer) Get(context.Context, *GetReq) (*Resp, error)
- func (UnimplementedKubernetesServer) GetAppByAppName(context.Context, *DeploymentDetailReq) (*AppJsonResp, error)
- func (UnimplementedKubernetesServer) GetAppDetail(context.Context, *AppDetailReq) (*AppDetailResp, error)
- func (UnimplementedKubernetesServer) GetAppPodsByAppName(context.Context, *AppDetailReq) (*PodDetailResp, error)
- func (UnimplementedKubernetesServer) JobDetail(context.Context, *JobDetailReq) (*JobDetailResp, error)
- func (UnimplementedKubernetesServer) List(context.Context, *ListReq) (*Resp, error)
- func (UnimplementedKubernetesServer) ListDeployment(context.Context, *DeploymentListReq) (*DeploymentListResp, error)
- func (UnimplementedKubernetesServer) ListNamespace(context.Context, *NamespaceListReq) (*TenantListResp, error)
- func (UnimplementedKubernetesServer) PauseDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
- func (UnimplementedKubernetesServer) PodList(context.Context, *PodListReq) (*ListPodResp, error)
- func (UnimplementedKubernetesServer) RestartDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
- func (UnimplementedKubernetesServer) RestartStatefulSet(context.Context, *DeploymentDetailReq) (*Resp, error)
- func (UnimplementedKubernetesServer) StartDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
- func (UnimplementedKubernetesServer) UpdateDeploymentReplica(context.Context, *UpdateDeploymentReplicaReq) (*DeploymentResp, error)
- type Unknown
- func (*Unknown) Descriptor() ([]byte, []int)deprecated
- func (x *Unknown) GetContentEncoding() string
- func (x *Unknown) GetContentType() string
- func (x *Unknown) GetRaw() []byte
- func (x *Unknown) GetTypeMeta() *TypeMeta
- func (*Unknown) ProtoMessage()
- func (x *Unknown) ProtoReflect() protoreflect.Message
- func (x *Unknown) Reset()
- func (x *Unknown) String() string
- type UnsafeKubernetesServer
- type UpdateDeploymentReplicaReq
- func (*UpdateDeploymentReplicaReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentReplicaReq) GetName() string
- func (x *UpdateDeploymentReplicaReq) GetNamespace() string
- func (x *UpdateDeploymentReplicaReq) GetReplica() string
- func (*UpdateDeploymentReplicaReq) ProtoMessage()
- func (x *UpdateDeploymentReplicaReq) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentReplicaReq) Reset()
- func (x *UpdateDeploymentReplicaReq) String() string
- type UpdateOptions
- func (*UpdateOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOptions) GetDryRun() []string
- func (x *UpdateOptions) GetFieldManager() string
- func (x *UpdateOptions) GetFieldValidation() string
- func (*UpdateOptions) ProtoMessage()
- func (x *UpdateOptions) ProtoReflect() protoreflect.Message
- func (x *UpdateOptions) Reset()
- func (x *UpdateOptions) String() string
- type Verbs
- type Volume
- type VolumeDevice
- func (*VolumeDevice) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeDevice) GetDevicePath() string
- func (x *VolumeDevice) GetName() string
- func (*VolumeDevice) ProtoMessage()
- func (x *VolumeDevice) ProtoReflect() protoreflect.Message
- func (x *VolumeDevice) Reset()
- func (x *VolumeDevice) String() string
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetMountPath() string
- func (x *VolumeMount) GetMountPropagation() string
- func (x *VolumeMount) GetName() string
- func (x *VolumeMount) GetReadOnly() bool
- func (x *VolumeMount) GetSubPath() string
- func (x *VolumeMount) GetSubPathExpr() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
- type VolumeNodeAffinity
- func (*VolumeNodeAffinity) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeNodeAffinity) GetRequired() *NodeSelector
- func (*VolumeNodeAffinity) ProtoMessage()
- func (x *VolumeNodeAffinity) ProtoReflect() protoreflect.Message
- func (x *VolumeNodeAffinity) Reset()
- func (x *VolumeNodeAffinity) String() string
- type VolumeProjection
- func (*VolumeProjection) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeProjection) GetConfigMap() *ConfigMapProjection
- func (x *VolumeProjection) GetDownwardAPI() *DownwardAPIProjection
- func (x *VolumeProjection) GetSecret() *SecretProjection
- func (x *VolumeProjection) GetServiceAccountToken() *ServiceAccountTokenProjection
- func (*VolumeProjection) ProtoMessage()
- func (x *VolumeProjection) ProtoReflect() protoreflect.Message
- func (x *VolumeProjection) Reset()
- func (x *VolumeProjection) String() string
- type VolumeResourceRequirements
- func (*VolumeResourceRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeResourceRequirements) GetLimits() map[string]*Quantity
- func (x *VolumeResourceRequirements) GetRequests() map[string]string
- func (*VolumeResourceRequirements) ProtoMessage()
- func (x *VolumeResourceRequirements) ProtoReflect() protoreflect.Message
- func (x *VolumeResourceRequirements) Reset()
- func (x *VolumeResourceRequirements) String() string
- type VolumeSource
- func (*VolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource
- func (x *VolumeSource) GetAzureDisk() *AzureDiskVolumeSource
- func (x *VolumeSource) GetAzureFile() *AzureFileVolumeSource
- func (x *VolumeSource) GetCephfs() *CephFSVolumeSource
- func (x *VolumeSource) GetCinder() *CinderVolumeSource
- func (x *VolumeSource) GetConfigMap() *ConfigMapVolumeSource
- func (x *VolumeSource) GetCsi() *CSIVolumeSource
- func (x *VolumeSource) GetDownwardAPI() *DownwardAPIVolumeSource
- func (x *VolumeSource) GetEmptyDir() *EmptyDirVolumeSource
- func (x *VolumeSource) GetEphemeral() *EphemeralVolumeSource
- func (x *VolumeSource) GetFc() *FCVolumeSource
- func (x *VolumeSource) GetFlexVolume() *FlexVolumeSource
- func (x *VolumeSource) GetFlocker() *FlockerVolumeSource
- func (x *VolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
- func (x *VolumeSource) GetGitRepo() *GitRepoVolumeSource
- func (x *VolumeSource) GetGlusterfs() *GlusterfsVolumeSource
- func (x *VolumeSource) GetHostPath() *HostPathVolumeSource
- func (x *VolumeSource) GetIscsi() *ISCSIVolumeSource
- func (x *VolumeSource) GetNfs() *NFSVolumeSource
- func (x *VolumeSource) GetPersistentVolumeClaim() *PersistentVolumeClaimVolumeSource
- func (x *VolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
- func (x *VolumeSource) GetPortworxVolume() *PortworxVolumeSource
- func (x *VolumeSource) GetProjected() *ProjectedVolumeSource
- func (x *VolumeSource) GetQuobyte() *QuobyteVolumeSource
- func (x *VolumeSource) GetRbd() *RBDVolumeSource
- func (x *VolumeSource) GetScaleIO() *ScaleIOVolumeSource
- func (x *VolumeSource) GetSecret() *SecretVolumeSource
- func (x *VolumeSource) GetStorageos() *StorageOSVolumeSource
- func (x *VolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
- func (*VolumeSource) ProtoMessage()
- func (x *VolumeSource) ProtoReflect() protoreflect.Message
- func (x *VolumeSource) Reset()
- func (x *VolumeSource) String() string
- type VsphereVirtualDiskVolumeSource
- func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *VsphereVirtualDiskVolumeSource) GetFsType() string
- func (x *VsphereVirtualDiskVolumeSource) GetStoragePolicyID() string
- func (x *VsphereVirtualDiskVolumeSource) GetStoragePolicyName() string
- func (x *VsphereVirtualDiskVolumeSource) GetVolumePath() string
- func (*VsphereVirtualDiskVolumeSource) ProtoMessage()
- func (x *VsphereVirtualDiskVolumeSource) ProtoReflect() protoreflect.Message
- func (x *VsphereVirtualDiskVolumeSource) Reset()
- func (x *VsphereVirtualDiskVolumeSource) String() string
- type WatchEvent
- type WeightedPodAffinityTerm
- func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int)deprecated
- func (x *WeightedPodAffinityTerm) GetPodAffinityTerm() *PodAffinityTerm
- func (x *WeightedPodAffinityTerm) GetWeight() int32
- func (*WeightedPodAffinityTerm) ProtoMessage()
- func (x *WeightedPodAffinityTerm) ProtoReflect() protoreflect.Message
- func (x *WeightedPodAffinityTerm) Reset()
- func (x *WeightedPodAffinityTerm) String() string
- type WindowsSecurityContextOptions
- func (*WindowsSecurityContextOptions) Descriptor() ([]byte, []int)deprecated
- func (x *WindowsSecurityContextOptions) GetGmsaCredentialSpec() string
- func (x *WindowsSecurityContextOptions) GetGmsaCredentialSpecName() string
- func (x *WindowsSecurityContextOptions) GetHostProcess() bool
- func (x *WindowsSecurityContextOptions) GetRunAsUserName() string
- func (*WindowsSecurityContextOptions) ProtoMessage()
- func (x *WindowsSecurityContextOptions) ProtoReflect() protoreflect.Message
- func (x *WindowsSecurityContextOptions) Reset()
- func (x *WindowsSecurityContextOptions) String() string
Constants ¶
const ( Kubernetes_ApplyYaml_FullMethodName = "/kubernetes.kubernetes/ApplyYaml" Kubernetes_DeleteYaml_FullMethodName = "/kubernetes.kubernetes/DeleteYaml" Kubernetes_Get_FullMethodName = "/kubernetes.kubernetes/Get" Kubernetes_List_FullMethodName = "/kubernetes.kubernetes/List" Kubernetes_PodList_FullMethodName = "/kubernetes.kubernetes/PodList" Kubernetes_JobDetail_FullMethodName = "/kubernetes.kubernetes/JobDetail" Kubernetes_DeploymentDetail_FullMethodName = "/kubernetes.kubernetes/DeploymentDetail" Kubernetes_PauseDeployment_FullMethodName = "/kubernetes.kubernetes/PauseDeployment" Kubernetes_StartDeployment_FullMethodName = "/kubernetes.kubernetes/StartDeployment" Kubernetes_RestartDeployment_FullMethodName = "/kubernetes.kubernetes/RestartDeployment" Kubernetes_DeleteDeployment_FullMethodName = "/kubernetes.kubernetes/DeleteDeployment" Kubernetes_ListDeployment_FullMethodName = "/kubernetes.kubernetes/ListDeployment" Kubernetes_DelApp_FullMethodName = "/kubernetes.kubernetes/DelApp" Kubernetes_GetAppByAppName_FullMethodName = "/kubernetes.kubernetes/GetAppByAppName" Kubernetes_UpdateDeploymentReplica_FullMethodName = "/kubernetes.kubernetes/updateDeploymentReplica" Kubernetes_ListNamespace_FullMethodName = "/kubernetes.kubernetes/ListNamespace" Kubernetes_GetAppDetail_FullMethodName = "/kubernetes.kubernetes/GetAppDetail" Kubernetes_GetAppPodsByAppName_FullMethodName = "/kubernetes.kubernetes/getAppPodsByAppName" Kubernetes_RestartStatefulSet_FullMethodName = "/kubernetes.kubernetes/RestartStatefulSet" )
Variables ¶
var File_pb_kubernetes_proto protoreflect.FileDescriptor
var Kubernetes_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kubernetes.kubernetes", HandlerType: (*KubernetesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ApplyYaml", Handler: _Kubernetes_ApplyYaml_Handler, }, { MethodName: "DeleteYaml", Handler: _Kubernetes_DeleteYaml_Handler, }, { MethodName: "Get", Handler: _Kubernetes_Get_Handler, }, { MethodName: "List", Handler: _Kubernetes_List_Handler, }, { MethodName: "PodList", Handler: _Kubernetes_PodList_Handler, }, { MethodName: "JobDetail", Handler: _Kubernetes_JobDetail_Handler, }, { MethodName: "DeploymentDetail", Handler: _Kubernetes_DeploymentDetail_Handler, }, { MethodName: "PauseDeployment", Handler: _Kubernetes_PauseDeployment_Handler, }, { MethodName: "StartDeployment", Handler: _Kubernetes_StartDeployment_Handler, }, { MethodName: "RestartDeployment", Handler: _Kubernetes_RestartDeployment_Handler, }, { MethodName: "DeleteDeployment", Handler: _Kubernetes_DeleteDeployment_Handler, }, { MethodName: "ListDeployment", Handler: _Kubernetes_ListDeployment_Handler, }, { MethodName: "DelApp", Handler: _Kubernetes_DelApp_Handler, }, { MethodName: "GetAppByAppName", Handler: _Kubernetes_GetAppByAppName_Handler, }, { MethodName: "updateDeploymentReplica", Handler: _Kubernetes_UpdateDeploymentReplica_Handler, }, { MethodName: "ListNamespace", Handler: _Kubernetes_ListNamespace_Handler, }, { MethodName: "GetAppDetail", Handler: _Kubernetes_GetAppDetail_Handler, }, { MethodName: "getAppPodsByAppName", Handler: _Kubernetes_GetAppPodsByAppName_Handler, }, { MethodName: "RestartStatefulSet", Handler: _Kubernetes_RestartStatefulSet_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/kubernetes.proto", }
Kubernetes_ServiceDesc is the grpc.ServiceDesc for Kubernetes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKubernetesServer ¶
func RegisterKubernetesServer(s grpc.ServiceRegistrar, srv KubernetesServer)
Types ¶
type APIGroup ¶
type APIGroup struct { // name is the name of the group. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // versions are the versions supported in this group. Versions []*GroupVersionForDiscovery `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` // preferredVersion is the version preferred by the API server, which // probably is the storage version. // +optional PreferredVersion *GroupVersionForDiscovery `protobuf:"bytes,3,opt,name=preferredVersion,proto3,oneof" json:"preferredVersion,omitempty"` // a map of client CIDR to server address that is serving this group. // This is to help clients reach servers in the most network-efficient way possible. // Clients can use the appropriate server address as per the CIDR that they match. // In case of multiple matches, clients should use the longest matching CIDR. // The server returns only those CIDRs that it thinks that the client can match. // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. // +optional ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs,proto3" json:"serverAddressByClientCIDRs,omitempty"` // contains filtered or unexported fields }
func (*APIGroup) Descriptor
deprecated
func (*APIGroup) GetPreferredVersion ¶
func (x *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery
func (*APIGroup) GetServerAddressByClientCIDRs ¶
func (x *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
func (*APIGroup) GetVersions ¶
func (x *APIGroup) GetVersions() []*GroupVersionForDiscovery
func (*APIGroup) ProtoMessage ¶
func (*APIGroup) ProtoMessage()
func (*APIGroup) ProtoReflect ¶
func (x *APIGroup) ProtoReflect() protoreflect.Message
type APIGroupList ¶
type APIGroupList struct { // groups is a list of APIGroup. Groups []*APIGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*APIGroupList) Descriptor
deprecated
func (*APIGroupList) Descriptor() ([]byte, []int)
Deprecated: Use APIGroupList.ProtoReflect.Descriptor instead.
func (*APIGroupList) GetGroups ¶
func (x *APIGroupList) GetGroups() []*APIGroup
func (*APIGroupList) ProtoMessage ¶
func (*APIGroupList) ProtoMessage()
func (*APIGroupList) ProtoReflect ¶
func (x *APIGroupList) ProtoReflect() protoreflect.Message
func (*APIGroupList) Reset ¶
func (x *APIGroupList) Reset()
func (*APIGroupList) String ¶
func (x *APIGroupList) String() string
type APIResource ¶
type APIResource struct { // name is the plural name of the resource. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` SingularName *string `protobuf:"bytes,6,opt,name=singularName,proto3,oneof" json:"singularName,omitempty"` // namespaced indicates if a resource is namespaced or not. Namespaced *bool `protobuf:"varint,2,opt,name=namespaced,proto3,oneof" json:"namespaced,omitempty"` // group is the preferred group of the resource. Empty implies the group of the containing resource list. // For subresources, this may have a different value, for example: Scale". Group *string `protobuf:"bytes,8,opt,name=group,proto3,oneof" json:"group,omitempty"` // version is the preferred version of the resource. Empty implies the version of the containing resource list // For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)". Version *string `protobuf:"bytes,9,opt,name=version,proto3,oneof" json:"version,omitempty"` // kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') Kind *string `protobuf:"bytes,3,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // verbs is a list of supported kube verbs (this includes get, list, watch, create, // update, patch, delete, deletecollection, and proxy) Verbs *Verbs `protobuf:"bytes,4,opt,name=verbs,proto3,oneof" json:"verbs,omitempty"` // shortNames is a list of suggested short names of the resource. ShortNames []string `protobuf:"bytes,5,rep,name=shortNames,proto3" json:"shortNames,omitempty"` // categories is a list of the grouped resources this resource belongs to (e.g. 'all') Categories []string `protobuf:"bytes,7,rep,name=categories,proto3" json:"categories,omitempty"` // The hash value of the storage version, the version this resource is // converted to when written to the data store. Value must be treated // as opaque by clients. Only equality comparison on the value is valid. // This is an alpha feature and may change or be removed in the future. // The field is populated by the apiserver only if the // StorageVersionHash feature gate is enabled. // This field will remain optional even if it graduates. // +optional StorageVersionHash *string `protobuf:"bytes,10,opt,name=storageVersionHash,proto3,oneof" json:"storageVersionHash,omitempty"` // contains filtered or unexported fields }
APIResource specifies the name of a resource and whether it is namespaced.
func (*APIResource) Descriptor
deprecated
func (*APIResource) Descriptor() ([]byte, []int)
Deprecated: Use APIResource.ProtoReflect.Descriptor instead.
func (*APIResource) GetCategories ¶
func (x *APIResource) GetCategories() []string
func (*APIResource) GetGroup ¶
func (x *APIResource) GetGroup() string
func (*APIResource) GetKind ¶
func (x *APIResource) GetKind() string
func (*APIResource) GetName ¶
func (x *APIResource) GetName() string
func (*APIResource) GetNamespaced ¶
func (x *APIResource) GetNamespaced() bool
func (*APIResource) GetShortNames ¶
func (x *APIResource) GetShortNames() []string
func (*APIResource) GetSingularName ¶
func (x *APIResource) GetSingularName() string
func (*APIResource) GetStorageVersionHash ¶
func (x *APIResource) GetStorageVersionHash() string
func (*APIResource) GetVerbs ¶
func (x *APIResource) GetVerbs() *Verbs
func (*APIResource) GetVersion ¶
func (x *APIResource) GetVersion() string
func (*APIResource) ProtoMessage ¶
func (*APIResource) ProtoMessage()
func (*APIResource) ProtoReflect ¶
func (x *APIResource) ProtoReflect() protoreflect.Message
func (*APIResource) Reset ¶
func (x *APIResource) Reset()
func (*APIResource) String ¶
func (x *APIResource) String() string
type APIResourceList ¶
type APIResourceList struct { // groupVersion is the group and version this APIResourceList is for. GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion,proto3,oneof" json:"groupVersion,omitempty"` // resources contains the name of the resources and if they are namespaced. Resources []*APIResource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*APIResourceList) Descriptor
deprecated
func (*APIResourceList) Descriptor() ([]byte, []int)
Deprecated: Use APIResourceList.ProtoReflect.Descriptor instead.
func (*APIResourceList) GetGroupVersion ¶
func (x *APIResourceList) GetGroupVersion() string
func (*APIResourceList) GetResources ¶
func (x *APIResourceList) GetResources() []*APIResource
func (*APIResourceList) ProtoMessage ¶
func (*APIResourceList) ProtoMessage()
func (*APIResourceList) ProtoReflect ¶
func (x *APIResourceList) ProtoReflect() protoreflect.Message
func (*APIResourceList) Reset ¶
func (x *APIResourceList) Reset()
func (*APIResourceList) String ¶
func (x *APIResourceList) String() string
type APIVersions ¶
type APIVersions struct { // versions are the api versions that are available. Versions []string `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // a map of client CIDR to server address that is serving this group. // This is to help clients reach servers in the most network-efficient way possible. // Clients can use the appropriate server address as per the CIDR that they match. // In case of multiple matches, clients should use the longest matching CIDR. // The server returns only those CIDRs that it thinks that the client can match. // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs,proto3" json:"serverAddressByClientCIDRs,omitempty"` // contains filtered or unexported fields }
func (*APIVersions) Descriptor
deprecated
func (*APIVersions) Descriptor() ([]byte, []int)
Deprecated: Use APIVersions.ProtoReflect.Descriptor instead.
func (*APIVersions) GetServerAddressByClientCIDRs ¶
func (x *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR
func (*APIVersions) GetVersions ¶
func (x *APIVersions) GetVersions() []string
func (*APIVersions) ProtoMessage ¶
func (*APIVersions) ProtoMessage()
func (*APIVersions) ProtoReflect ¶
func (x *APIVersions) ProtoReflect() protoreflect.Message
func (*APIVersions) Reset ¶
func (x *APIVersions) Reset()
func (*APIVersions) String ¶
func (x *APIVersions) String() string
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"readOnly,omitempty"` // contains filtered or unexported fields }
func (*AWSElasticBlockStoreVolumeSource) Descriptor
deprecated
func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use AWSElasticBlockStoreVolumeSource.ProtoReflect.Descriptor instead.
func (*AWSElasticBlockStoreVolumeSource) GetFsType ¶
func (x *AWSElasticBlockStoreVolumeSource) GetFsType() string
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 (x *AWSElasticBlockStoreVolumeSource) ProtoReflect() protoreflect.Message
func (*AWSElasticBlockStoreVolumeSource) Reset ¶
func (x *AWSElasticBlockStoreVolumeSource) Reset()
func (*AWSElasticBlockStoreVolumeSource) String ¶
func (x *AWSElasticBlockStoreVolumeSource) String() string
type Affinity ¶
type Affinity struct { // Describes node affinity scheduling rules for the pod. // +optional NodeAffinity *NodeAffinity `protobuf:"bytes,1,opt,name=nodeAffinity,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"podAntiAffinity,omitempty"` // contains filtered or unexported fields }
Affinity is a group of affinity scheduling rules.
func (*Affinity) Descriptor
deprecated
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
type App ¶
type App struct { Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` StatefulSet *StatefulSet `protobuf:"bytes,2,opt,name=statefulSet,proto3" json:"statefulSet,omitempty"` // contains filtered or unexported fields }
func (*App) Descriptor
deprecated
func (*App) GetDeployment ¶
func (x *App) GetDeployment() *Deployment
func (*App) GetStatefulSet ¶
func (x *App) GetStatefulSet() *StatefulSet
func (*App) ProtoMessage ¶
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶
func (x *App) ProtoReflect() protoreflect.Message
type AppDetail ¶
type AppDetail struct { ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` //集群名称 Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"` Job *Job `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` StatefulSet *StatefulSet `protobuf:"bytes,5,opt,name=statefulSet,proto3" json:"statefulSet,omitempty"` IngressList *IngressList `protobuf:"bytes,6,opt,name=ingressList,proto3" json:"ingressList,omitempty"` ConfigMap *ConfigMap `protobuf:"bytes,7,opt,name=configMap,proto3" json:"configMap,omitempty"` Secret *Secret `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"` HorizontalPodAutoscaler *HorizontalPodAutoscaler `protobuf:"bytes,9,opt,name=horizontalPodAutoscaler,proto3" json:"horizontalPodAutoscaler,omitempty"` // contains filtered or unexported fields }
func (*AppDetail) Descriptor
deprecated
func (*AppDetail) GetClusterName ¶
func (*AppDetail) GetConfigMap ¶
func (*AppDetail) GetDeployment ¶
func (x *AppDetail) GetDeployment() *Deployment
func (*AppDetail) GetHorizontalPodAutoscaler ¶
func (x *AppDetail) GetHorizontalPodAutoscaler() *HorizontalPodAutoscaler
func (*AppDetail) GetIngressList ¶
func (x *AppDetail) GetIngressList() *IngressList
func (*AppDetail) GetService ¶
func (*AppDetail) GetStatefulSet ¶
func (x *AppDetail) GetStatefulSet() *StatefulSet
func (*AppDetail) ProtoMessage ¶
func (*AppDetail) ProtoMessage()
func (*AppDetail) ProtoReflect ¶
func (x *AppDetail) ProtoReflect() protoreflect.Message
type AppDetailReq ¶
type AppDetailReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*AppDetailReq) Descriptor
deprecated
func (*AppDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use AppDetailReq.ProtoReflect.Descriptor instead.
func (*AppDetailReq) GetName ¶
func (x *AppDetailReq) GetName() string
func (*AppDetailReq) GetNamespace ¶
func (x *AppDetailReq) GetNamespace() string
func (*AppDetailReq) ProtoMessage ¶
func (*AppDetailReq) ProtoMessage()
func (*AppDetailReq) ProtoReflect ¶
func (x *AppDetailReq) ProtoReflect() protoreflect.Message
func (*AppDetailReq) Reset ¶
func (x *AppDetailReq) Reset()
func (*AppDetailReq) String ¶
func (x *AppDetailReq) String() string
type AppDetailResp ¶
type AppDetailResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data []*AppDetail `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AppDetailResp) Descriptor
deprecated
func (*AppDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use AppDetailResp.ProtoReflect.Descriptor instead.
func (*AppDetailResp) GetCode ¶
func (x *AppDetailResp) GetCode() string
func (*AppDetailResp) GetData ¶
func (x *AppDetailResp) GetData() []*AppDetail
func (*AppDetailResp) GetMsg ¶
func (x *AppDetailResp) GetMsg() string
func (*AppDetailResp) ProtoMessage ¶
func (*AppDetailResp) ProtoMessage()
func (*AppDetailResp) ProtoReflect ¶
func (x *AppDetailResp) ProtoReflect() protoreflect.Message
func (*AppDetailResp) Reset ¶
func (x *AppDetailResp) Reset()
func (*AppDetailResp) String ¶
func (x *AppDetailResp) String() string
type AppJsonResp ¶
type AppJsonResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *App `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AppJsonResp) Descriptor
deprecated
func (*AppJsonResp) Descriptor() ([]byte, []int)
Deprecated: Use AppJsonResp.ProtoReflect.Descriptor instead.
func (*AppJsonResp) GetCode ¶
func (x *AppJsonResp) GetCode() string
func (*AppJsonResp) GetData ¶
func (x *AppJsonResp) GetData() *App
func (*AppJsonResp) GetMsg ¶
func (x *AppJsonResp) GetMsg() string
func (*AppJsonResp) ProtoMessage ¶
func (*AppJsonResp) ProtoMessage()
func (*AppJsonResp) ProtoReflect ¶
func (x *AppJsonResp) ProtoReflect() protoreflect.Message
func (*AppJsonResp) Reset ¶
func (x *AppJsonResp) Reset()
func (*AppJsonResp) String ¶
func (x *AppJsonResp) String() string
type ApplyOptions ¶
type ApplyOptions struct { DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // Force is going to "force" Apply requests. It means user will // re-acquire conflicting fields owned by other people. Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"` FieldManager *string `protobuf:"bytes,3,opt,name=fieldManager,proto3,oneof" json:"fieldManager,omitempty"` // contains filtered or unexported fields }
func (*ApplyOptions) Descriptor
deprecated
func (*ApplyOptions) Descriptor() ([]byte, []int)
Deprecated: Use ApplyOptions.ProtoReflect.Descriptor instead.
func (*ApplyOptions) GetDryRun ¶
func (x *ApplyOptions) GetDryRun() []string
func (*ApplyOptions) GetFieldManager ¶
func (x *ApplyOptions) GetFieldManager() string
func (*ApplyOptions) GetForce ¶
func (x *ApplyOptions) GetForce() bool
func (*ApplyOptions) ProtoMessage ¶
func (*ApplyOptions) ProtoMessage()
func (*ApplyOptions) ProtoReflect ¶
func (x *ApplyOptions) ProtoReflect() protoreflect.Message
func (*ApplyOptions) Reset ¶
func (x *ApplyOptions) Reset()
func (*ApplyOptions) String ¶
func (x *ApplyOptions) String() string
type ApplyReq ¶
type ApplyReq struct { YamlString string `protobuf:"bytes,1,opt,name=yamlString,proto3" json:"yaml_string" copier:"yamlString"` // contains filtered or unexported fields }
func (*ApplyReq) Descriptor
deprecated
func (*ApplyReq) GetYamlString ¶
func (*ApplyReq) ProtoMessage ¶
func (*ApplyReq) ProtoMessage()
func (*ApplyReq) ProtoReflect ¶
func (x *ApplyReq) ProtoReflect() protoreflect.Message
type ApplyResp ¶
type ApplyResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code" copier:"Code"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" copier:"Msg"` DataSet []*DataSet `protobuf:"bytes,3,rep,name=dataSet,proto3" json:"dataSet" copier:"Data"` // contains filtered or unexported fields }
func (*ApplyResp) Descriptor
deprecated
func (*ApplyResp) GetDataSet ¶
func (*ApplyResp) ProtoMessage ¶
func (*ApplyResp) ProtoMessage()
func (*ApplyResp) ProtoReflect ¶
func (x *ApplyResp) ProtoReflect() protoreflect.Message
type AttachedVolume ¶
type AttachedVolume struct { // Name of the attached volume Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // DevicePath represents the device path where the volume should be available DevicePath *string `protobuf:"bytes,2,opt,name=devicePath,proto3,oneof" 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,proto3" 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) GetPreferAvoidPods ¶
func (x *AvoidPods) GetPreferAvoidPods() []*PreferAvoidPodsEntry
func (*AvoidPods) ProtoMessage ¶
func (*AvoidPods) ProtoMessage()
func (*AvoidPods) ProtoReflect ¶
func (x *AvoidPods) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"diskName,omitempty"` // diskURI is the URI of data disk in the blob storage DiskURI *string `protobuf:"bytes,2,opt,name=diskURI,proto3,oneof" json:"diskURI,omitempty"` // cachingMode is the Host Caching mode: None, Read Only, Read Write. // +optional CachingMode *string `protobuf:"bytes,3,opt,name=cachingMode,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"secretName,omitempty"` ShareName *string `protobuf:"bytes,2,opt,name=shareName,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *AzureFilePersistentVolumeSource) ProtoReflect() protoreflect.Message
func (*AzureFilePersistentVolumeSource) Reset ¶
func (x *AzureFilePersistentVolumeSource) Reset()
func (*AzureFilePersistentVolumeSource) String ¶
func (x *AzureFilePersistentVolumeSource) String() 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,proto3,oneof" json:"secretName,omitempty"` ShareName *string `protobuf:"bytes,2,opt,name=shareName,proto3,oneof" 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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // The target object that you want to bind to the standard object. Target *ObjectReference `protobuf:"bytes,2,opt,name=target,proto3,oneof" 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) GetMetadata ¶
func (x *Binding) GetMetadata() *ObjectMeta
func (*Binding) GetTarget ¶
func (x *Binding) GetTarget() *ObjectReference
func (*Binding) ProtoMessage ¶
func (*Binding) ProtoMessage()
func (*Binding) ProtoReflect ¶
func (x *Binding) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" json:"volumeHandle,omitempty"` // readOnly value to pass to ControllerPublishVolumeRequest. // Defaults to false (read/write). // +optional ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly,proto3,oneof" 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,proto3,oneof" json:"fsType,omitempty"` // volumeAttributes of the volume to publish. // +optional VolumeAttributes map[string]string `` /* 173-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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *CSIPersistentVolumeSource) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 `` /* 173-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,proto3,oneof" 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,proto3" json:"add,omitempty"` // Removed capabilities // +optional Drop []string `protobuf:"bytes,2,rep,name=drop,proto3" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *CephFSPersistentVolumeSource) ProtoReflect() protoreflect.Message
func (*CephFSPersistentVolumeSource) Reset ¶
func (x *CephFSPersistentVolumeSource) Reset()
func (*CephFSPersistentVolumeSource) String ¶
func (x *CephFSPersistentVolumeSource) String() 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *CinderPersistentVolumeSource) ProtoReflect() protoreflect.Message
func (*CinderPersistentVolumeSource) Reset ¶
func (x *CinderPersistentVolumeSource) Reset()
func (*CinderPersistentVolumeSource) String ¶
func (x *CinderPersistentVolumeSource) String() 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of component conditions observed // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []*ComponentCondition `protobuf:"bytes,2,rep,name=conditions,proto3" 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() *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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of ComponentStatus objects. Items []*ComponentStatus `protobuf:"bytes,2,rep,name=items,proto3" 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() *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 Condition ¶
type Condition struct { Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration,proto3,oneof" json:"observedGeneration,omitempty"` LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // message is a human readable message indicating details about the transition. // This may be an empty string. // +required // +kubebuilder:validation:Required // +kubebuilder:validation:MaxLength=32768 Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Condition) Descriptor
deprecated
func (*Condition) GetLastTransitionTime ¶
func (*Condition) GetMessage ¶
func (*Condition) GetObservedGeneration ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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 `` /* 149-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 `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
ConfigMap holds configuration data for pods to consume.
func (*ConfigMap) Descriptor
deprecated
func (*ConfigMap) GetBinaryData ¶
func (*ConfigMap) GetImmutable ¶
func (*ConfigMap) GetMetadata ¶
func (x *ConfigMap) GetMetadata() *ObjectMeta
func (*ConfigMap) ProtoMessage ¶
func (*ConfigMap) ProtoMessage()
func (*ConfigMap) ProtoReflect ¶
func (x *ConfigMap) ProtoReflect() protoreflect.Message
type ConfigMapEnvSource ¶
type ConfigMapEnvSource struct { // The ConfigMap to select from. LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference,proto3,oneof" json:"localObjectReference,omitempty"` // Specify whether the ConfigMap must be defined // +optional Optional *bool `protobuf:"varint,2,opt,name=optional,proto3,oneof" 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,proto3,oneof" json:"localObjectReference,omitempty"` // The key to select. Key *string `protobuf:"bytes,2,opt,name=key,proto3,oneof" json:"key,omitempty"` // Specify whether the ConfigMap or its key must be defined // +optional Optional *bool `protobuf:"varint,3,opt,name=optional,proto3,oneof" 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // Items is the list of ConfigMaps. Items []*ConfigMap `protobuf:"bytes,2,rep,name=items,proto3" 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() *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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *ConfigMapNodeConfigSource) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3" json:"items,omitempty"` // optional specify whether the ConfigMap or its keys must be defined // +optional Optional *bool `protobuf:"varint,4,opt,name=optional,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" json:"defaultMode,omitempty"` // optional specify whether the ConfigMap or its keys must be defined // +optional Optional *bool `protobuf:"varint,4,opt,name=optional,proto3,oneof" 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,proto3,oneof" json:"name,omitempty"` // Container image name. // More info: https://kubernetes.io/docs/concepts/containers/images // This field is optional to allow higher level config management to default or override // container images in workload controllers like Deployments and StatefulSets. // +optional Image *string `protobuf:"bytes,2,opt,name=image,proto3,oneof" json:"image,omitempty"` // Entrypoint array. Not executed within a shell. // The container image's ENTRYPOINT is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless // of whether the variable exists or not. Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"` // Arguments to the entrypoint. // The container image's CMD is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless // of whether the variable exists or not. Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // Container's working directory. // If not specified, the container runtime's default will be used, which // might be configured in the container image. // Cannot be updated. // +optional WorkingDir *string `protobuf:"bytes,5,opt,name=workingDir,proto3,oneof" 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,proto3" 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,proto3" 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,proto3" json:"env,omitempty"` // Compute Resources required by this container. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ // +optional Resources *ResourceRequirements `protobuf:"bytes,8,opt,name=resources,proto3,oneof" json:"resources,omitempty"` // Resources resize policy for the container. // +featureGate=InPlacePodVerticalScaling // +optional // +listType=atomic ResizePolicy []*ContainerResizePolicy `protobuf:"bytes,23,rep,name=resizePolicy,proto3" 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,proto3,oneof" 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,proto3" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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) GetCommand ¶
func (*Container) GetEnvFrom ¶
func (x *Container) GetEnvFrom() []*EnvFromSource
func (*Container) GetImagePullPolicy ¶
func (*Container) GetLifecycle ¶
func (*Container) GetLivenessProbe ¶
func (*Container) GetPorts ¶
func (x *Container) GetPorts() []*ContainerPort
func (*Container) GetReadinessProbe ¶
func (*Container) GetResizePolicy ¶
func (x *Container) GetResizePolicy() []*ContainerResizePolicy
func (*Container) GetResources ¶
func (x *Container) GetResources() *ResourceRequirements
func (*Container) GetRestartPolicy ¶
func (*Container) GetSecurityContext ¶
func (x *Container) GetSecurityContext() *SecurityContext
func (*Container) GetStartupProbe ¶
func (*Container) GetStdinOnce ¶
func (*Container) GetTerminationMessagePath ¶
func (*Container) GetTerminationMessagePolicy ¶
func (*Container) GetVolumeDevices ¶
func (x *Container) GetVolumeDevices() []*VolumeDevice
func (*Container) GetVolumeMounts ¶
func (x *Container) GetVolumeMounts() []*VolumeMount
func (*Container) GetWorkingDir ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
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,proto3" json:"names,omitempty"` // The size of the image in bytes. // +optional SizeBytes *int64 `protobuf:"varint,2,opt,name=sizeBytes,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"protocol,omitempty"` // What host IP to bind the external port to. // +optional HostIP *string `protobuf:"bytes,5,opt,name=hostIP,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"waiting,omitempty"` // Details about a running container // +optional Running *ContainerStateRunning `protobuf:"bytes,2,opt,name=running,proto3,oneof" json:"running,omitempty"` // Details about a terminated container // +optional Terminated *ContainerStateTerminated `protobuf:"bytes,3,opt,name=terminated,proto3,oneof" json:"terminated,omitempty"` // contains filtered or unexported fields }
ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.
func (*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 *Time `protobuf:"bytes,1,opt,name=startedAt,proto3,oneof" 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() *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,proto3,oneof" json:"exitCode,omitempty"` // Signal from the last termination of the container // +optional Signal *int32 `protobuf:"varint,2,opt,name=signal,proto3,oneof" json:"signal,omitempty"` // (brief) reason from the last termination of the container // +optional Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Message regarding the last termination of the container // +optional Message *string `protobuf:"bytes,4,opt,name=message,proto3,oneof" json:"message,omitempty"` // Time at which previous execution of the container started // +optional StartedAt *Time `protobuf:"bytes,5,opt,name=startedAt,proto3,oneof" json:"startedAt,omitempty"` // Time at which the container last terminated // +optional FinishedAt *Time `protobuf:"bytes,6,opt,name=finishedAt,proto3,oneof" json:"finishedAt,omitempty"` // Container's ID in the format '<type>://<container_id>' // +optional ContainerID *string `protobuf:"bytes,7,opt,name=containerID,proto3,oneof" 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() *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() *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,proto3,oneof" json:"reason,omitempty"` // Message regarding why the container is not yet running. // +optional Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
ContainerStateWaiting is a waiting state of a container.
func (*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,proto3,oneof" json:"name,omitempty"` // State holds details about the container's current condition. // +optional State *ContainerState `protobuf:"bytes,2,opt,name=state,proto3,oneof" json:"state,omitempty"` // LastTerminationState holds the last termination state of the container to // help debug container crashes and restarts. This field is not // populated if the container is still running and RestartCount is 0. // +optional LastState *ContainerState `protobuf:"bytes,3,opt,name=lastState,proto3,oneof" 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,proto3,oneof" json:"ready,omitempty"` // RestartCount holds the number of times the container has been restarted. // Kubelet makes an effort to always increment the value, but there // are cases when the state may be lost due to node restarts and then the value // may be reset to 0. The value is never negative. RestartCount *int32 `protobuf:"varint,5,opt,name=restartCount,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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]*Quantity `` /* 178-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,proto3,oneof" 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]*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 CreateOptions ¶
type CreateOptions struct { // When present, indicates that modifications should not be // persisted. An invalid or unrecognized dryRun directive will // result in an error response and no further processing of the // request. Valid values are: // - All: all dry run stages will be processed // +optional DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // fieldManager is a name associated with the actor or entity // that is making these changes. The value must be less than or // 128 characters long, and only contain printable characters, // as defined by https://golang.org/pkg/unicode/#IsPrint. // +optional FieldManager *string `protobuf:"bytes,3,opt,name=fieldManager,proto3,oneof" json:"fieldManager,omitempty"` // fieldValidation instructs the server on how to handle // objects in the request (POST/PUT/PATCH) containing unknown // or duplicate fields. Valid values are: // - Ignore: This will ignore any unknown fields that are silently // dropped from the object, and will ignore all but the last duplicate // field that the decoder encounters. This is the default behavior // prior to v1.23. // - Warn: This will send a warning via the standard warning response // header for each unknown field that is dropped from the object, and // for each duplicate field that is encountered. The request will // still succeed if there are no other errors, and will only persist // the last of any duplicate fields. This is the default in v1.23+ // - Strict: This will fail the request with a BadRequest error if // any unknown fields would be dropped from the object, or if any // duplicate fields are present. The error returned from the server // will contain all unknown and duplicate fields encountered. // +optional FieldValidation *string `protobuf:"bytes,4,opt,name=fieldValidation,proto3,oneof" json:"fieldValidation,omitempty"` // contains filtered or unexported fields }
CreateOptions may be provided when creating an API object.
func (*CreateOptions) Descriptor
deprecated
func (*CreateOptions) Descriptor() ([]byte, []int)
Deprecated: Use CreateOptions.ProtoReflect.Descriptor instead.
func (*CreateOptions) GetDryRun ¶
func (x *CreateOptions) GetDryRun() []string
func (*CreateOptions) GetFieldManager ¶
func (x *CreateOptions) GetFieldManager() string
func (*CreateOptions) GetFieldValidation ¶
func (x *CreateOptions) GetFieldValidation() string
func (*CreateOptions) ProtoMessage ¶
func (*CreateOptions) ProtoMessage()
func (*CreateOptions) ProtoReflect ¶
func (x *CreateOptions) ProtoReflect() protoreflect.Message
func (*CreateOptions) Reset ¶
func (x *CreateOptions) Reset()
func (*CreateOptions) String ¶
func (x *CreateOptions) String() string
type CrossVersionObjectReference ¶
type CrossVersionObjectReference struct { // kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `protobuf:"bytes,1,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // apiVersion is the API version of the referent // +optional ApiVersion *string `protobuf:"bytes,3,opt,name=apiVersion,proto3,oneof" json:"apiVersion,omitempty"` // contains filtered or unexported fields }
CrossVersionObjectReference contains enough information to let you identify the referred resource. +structType=atomic
func (*CrossVersionObjectReference) Descriptor
deprecated
func (*CrossVersionObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use CrossVersionObjectReference.ProtoReflect.Descriptor instead.
func (*CrossVersionObjectReference) GetApiVersion ¶
func (x *CrossVersionObjectReference) GetApiVersion() string
func (*CrossVersionObjectReference) GetKind ¶
func (x *CrossVersionObjectReference) GetKind() string
func (*CrossVersionObjectReference) GetName ¶
func (x *CrossVersionObjectReference) GetName() string
func (*CrossVersionObjectReference) ProtoMessage ¶
func (*CrossVersionObjectReference) ProtoMessage()
func (*CrossVersionObjectReference) ProtoReflect ¶
func (x *CrossVersionObjectReference) ProtoReflect() protoreflect.Message
func (*CrossVersionObjectReference) Reset ¶
func (x *CrossVersionObjectReference) Reset()
func (*CrossVersionObjectReference) String ¶
func (x *CrossVersionObjectReference) String() string
type DaemonEndpoint ¶
type DaemonEndpoint struct { // Port number of the given endpoint. Port *int32 `protobuf:"varint,1,opt,name=Port,proto3,oneof" 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 DataSet ¶
type DataSet struct { ApiVersion string `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DataSet) Descriptor
deprecated
func (*DataSet) GetApiVersion ¶
func (*DataSet) GetNamespace ¶
func (*DataSet) ProtoMessage ¶
func (*DataSet) ProtoMessage()
func (*DataSet) ProtoReflect ¶
func (x *DataSet) ProtoReflect() protoreflect.Message
type DeleteOptions ¶
type DeleteOptions struct { // The duration in seconds before the object should be deleted. Value must be non-negative integer. // The value zero indicates delete immediately. If this value is nil, the default grace period for the // specified type will be used. // Defaults to a per object value if not specified. zero means delete immediately. // +optional GracePeriodSeconds *int64 `protobuf:"varint,1,opt,name=gracePeriodSeconds,proto3,oneof" json:"gracePeriodSeconds,omitempty"` // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be // returned. // +k8s:conversion-gen=false // +optional Preconditions *Preconditions `protobuf:"bytes,2,opt,name=preconditions,proto3,oneof" json:"preconditions,omitempty"` // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. // Should the dependent objects be orphaned. If true/false, the "orphan" // finalizer will be added to/removed from the object's finalizers list. // Either this field or PropagationPolicy may be set, but not both. // +optional OrphanDependents *bool `protobuf:"varint,3,opt,name=orphanDependents,proto3,oneof" json:"orphanDependents,omitempty"` // Whether and how garbage collection will be performed. // Either this field or OrphanDependents may be set, but not both. // The default policy is decided by the existing finalizer set in the // metadata.finalizers and the resource-specific default policy. // Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - // allow the garbage collector to delete the dependents in the background; // 'Foreground' - a cascading policy that deletes all dependents in the // foreground. // +optional PropagationPolicy *string `protobuf:"bytes,4,opt,name=propagationPolicy,proto3,oneof" json:"propagationPolicy,omitempty"` // When present, indicates that modifications should not be // persisted. An invalid or unrecognized dryRun directive will // result in an error response and no further processing of the // request. Valid values are: // - All: all dry run stages will be processed // +optional DryRun []string `protobuf:"bytes,5,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // contains filtered or unexported fields }
DeleteOptions may be provided when deleting an API object.
func (*DeleteOptions) Descriptor
deprecated
func (*DeleteOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.
func (*DeleteOptions) GetDryRun ¶
func (x *DeleteOptions) GetDryRun() []string
func (*DeleteOptions) GetGracePeriodSeconds ¶
func (x *DeleteOptions) GetGracePeriodSeconds() int64
func (*DeleteOptions) GetOrphanDependents ¶
func (x *DeleteOptions) GetOrphanDependents() bool
func (*DeleteOptions) GetPreconditions ¶
func (x *DeleteOptions) GetPreconditions() *Preconditions
func (*DeleteOptions) GetPropagationPolicy ¶
func (x *DeleteOptions) GetPropagationPolicy() string
func (*DeleteOptions) ProtoMessage ¶
func (*DeleteOptions) ProtoMessage()
func (*DeleteOptions) ProtoReflect ¶
func (x *DeleteOptions) ProtoReflect() protoreflect.Message
func (*DeleteOptions) Reset ¶
func (x *DeleteOptions) Reset()
func (*DeleteOptions) String ¶
func (x *DeleteOptions) String() string
type Deployment ¶
type Deployment struct { // Standard object metadata. // +optional Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // Specification of the desired behavior of the Deployment. // +optional Spec *DeploymentSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof" json:"spec,omitempty"` // Most recently observed status of the Deployment. // +optional Status *DeploymentStatus `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetMetadata ¶
func (x *Deployment) GetMetadata() *ObjectMeta
func (*Deployment) GetSpec ¶
func (x *Deployment) GetSpec() *DeploymentSpec
func (*Deployment) GetStatus ¶
func (x *Deployment) GetStatus() *DeploymentStatus
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type DeploymentCondition ¶
type DeploymentCondition struct { // Type of deployment condition. Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // The last time this condition was updated. LastUpdateTime *Time `protobuf:"bytes,6,opt,name=lastUpdateTime,proto3,oneof" json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime *Time `protobuf:"bytes,7,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason *string `protobuf:"bytes,4,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // A human readable message indicating details about the transition. Message *string `protobuf:"bytes,5,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeploymentCondition) Descriptor
deprecated
func (*DeploymentCondition) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentCondition.ProtoReflect.Descriptor instead.
func (*DeploymentCondition) GetLastTransitionTime ¶
func (x *DeploymentCondition) GetLastTransitionTime() *Time
func (*DeploymentCondition) GetLastUpdateTime ¶
func (x *DeploymentCondition) GetLastUpdateTime() *Time
func (*DeploymentCondition) GetMessage ¶
func (x *DeploymentCondition) GetMessage() string
func (*DeploymentCondition) GetReason ¶
func (x *DeploymentCondition) GetReason() string
func (*DeploymentCondition) GetStatus ¶
func (x *DeploymentCondition) GetStatus() string
func (*DeploymentCondition) GetType ¶
func (x *DeploymentCondition) GetType() string
func (*DeploymentCondition) ProtoMessage ¶
func (*DeploymentCondition) ProtoMessage()
func (*DeploymentCondition) ProtoReflect ¶
func (x *DeploymentCondition) ProtoReflect() protoreflect.Message
func (*DeploymentCondition) Reset ¶
func (x *DeploymentCondition) Reset()
func (*DeploymentCondition) String ¶
func (x *DeploymentCondition) String() string
type DeploymentDetailReq ¶
type DeploymentDetailReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*DeploymentDetailReq) Descriptor
deprecated
func (*DeploymentDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDetailReq.ProtoReflect.Descriptor instead.
func (*DeploymentDetailReq) GetName ¶
func (x *DeploymentDetailReq) GetName() string
func (*DeploymentDetailReq) GetNamespace ¶
func (x *DeploymentDetailReq) GetNamespace() string
func (*DeploymentDetailReq) ProtoMessage ¶
func (*DeploymentDetailReq) ProtoMessage()
func (*DeploymentDetailReq) ProtoReflect ¶
func (x *DeploymentDetailReq) ProtoReflect() protoreflect.Message
func (*DeploymentDetailReq) Reset ¶
func (x *DeploymentDetailReq) Reset()
func (*DeploymentDetailReq) String ¶
func (x *DeploymentDetailReq) String() string
type DeploymentDetailResp ¶
type DeploymentDetailResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
func (*DeploymentDetailResp) Descriptor
deprecated
func (*DeploymentDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDetailResp.ProtoReflect.Descriptor instead.
func (*DeploymentDetailResp) GetCode ¶
func (x *DeploymentDetailResp) GetCode() string
func (*DeploymentDetailResp) GetDeployment ¶
func (x *DeploymentDetailResp) GetDeployment() *Deployment
func (*DeploymentDetailResp) GetMsg ¶
func (x *DeploymentDetailResp) GetMsg() string
func (*DeploymentDetailResp) ProtoMessage ¶
func (*DeploymentDetailResp) ProtoMessage()
func (*DeploymentDetailResp) ProtoReflect ¶
func (x *DeploymentDetailResp) ProtoReflect() protoreflect.Message
func (*DeploymentDetailResp) Reset ¶
func (x *DeploymentDetailResp) Reset()
func (*DeploymentDetailResp) String ¶
func (x *DeploymentDetailResp) String() string
type DeploymentList ¶
type DeploymentList struct { // Standard list metadata. // +optional Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // Items is the list of Deployments. Items []*Deployment `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
DeploymentList is a list of Deployments.
func (*DeploymentList) Descriptor
deprecated
func (*DeploymentList) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentList.ProtoReflect.Descriptor instead.
func (*DeploymentList) GetItems ¶
func (x *DeploymentList) GetItems() []*Deployment
func (*DeploymentList) GetMetadata ¶
func (x *DeploymentList) GetMetadata() *ListMeta
func (*DeploymentList) ProtoMessage ¶
func (*DeploymentList) ProtoMessage()
func (*DeploymentList) ProtoReflect ¶
func (x *DeploymentList) ProtoReflect() protoreflect.Message
func (*DeploymentList) Reset ¶
func (x *DeploymentList) Reset()
func (*DeploymentList) String ¶
func (x *DeploymentList) String() string
type DeploymentListReq ¶
type DeploymentListReq struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*DeploymentListReq) Descriptor
deprecated
func (*DeploymentListReq) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentListReq.ProtoReflect.Descriptor instead.
func (*DeploymentListReq) GetNamespace ¶
func (x *DeploymentListReq) GetNamespace() string
func (*DeploymentListReq) ProtoMessage ¶
func (*DeploymentListReq) ProtoMessage()
func (*DeploymentListReq) ProtoReflect ¶
func (x *DeploymentListReq) ProtoReflect() protoreflect.Message
func (*DeploymentListReq) Reset ¶
func (x *DeploymentListReq) Reset()
func (*DeploymentListReq) String ¶
func (x *DeploymentListReq) String() string
type DeploymentListResp ¶
type DeploymentListResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *DeploymentList `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeploymentListResp) Descriptor
deprecated
func (*DeploymentListResp) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentListResp.ProtoReflect.Descriptor instead.
func (*DeploymentListResp) GetCode ¶
func (x *DeploymentListResp) GetCode() string
func (*DeploymentListResp) GetData ¶
func (x *DeploymentListResp) GetData() *DeploymentList
func (*DeploymentListResp) GetMsg ¶
func (x *DeploymentListResp) GetMsg() string
func (*DeploymentListResp) ProtoMessage ¶
func (*DeploymentListResp) ProtoMessage()
func (*DeploymentListResp) ProtoReflect ¶
func (x *DeploymentListResp) ProtoReflect() protoreflect.Message
func (*DeploymentListResp) Reset ¶
func (x *DeploymentListResp) Reset()
func (*DeploymentListResp) String ¶
func (x *DeploymentListResp) String() string
type DeploymentResp ¶
type DeploymentResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data *Deployment `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeploymentResp) Descriptor
deprecated
func (*DeploymentResp) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentResp.ProtoReflect.Descriptor instead.
func (*DeploymentResp) GetCode ¶
func (x *DeploymentResp) GetCode() string
func (*DeploymentResp) GetData ¶
func (x *DeploymentResp) GetData() *Deployment
func (*DeploymentResp) GetMsg ¶
func (x *DeploymentResp) GetMsg() string
func (*DeploymentResp) ProtoMessage ¶
func (*DeploymentResp) ProtoMessage()
func (*DeploymentResp) ProtoReflect ¶
func (x *DeploymentResp) ProtoReflect() protoreflect.Message
func (*DeploymentResp) Reset ¶
func (x *DeploymentResp) Reset()
func (*DeploymentResp) String ¶
func (x *DeploymentResp) String() string
type DeploymentSpec ¶
type DeploymentSpec struct { // replicas is the number of desired pods. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 1. // +optional Replicas *int32 `protobuf:"varint,1,opt,name=replicas,proto3,oneof" json:"replicas,omitempty"` // selector is the label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. // +optional Selector *LabelSelector `protobuf:"bytes,2,opt,name=selector,proto3,oneof" json:"selector,omitempty"` // Template describes the pods that will be created. // The only allowed template.spec.restartPolicy value is "Always". Template *PodTemplateSpec `protobuf:"bytes,3,opt,name=template,proto3,oneof" json:"template,omitempty"` // The deployment strategy to use to replace existing pods with new ones. // +optional // +patchStrategy=retainKeys Strategy *DeploymentStrategy `protobuf:"bytes,4,opt,name=strategy,proto3,oneof" json:"strategy,omitempty"` // minReadySeconds is the 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,5,opt,name=minReadySeconds,proto3,oneof" json:"minReadySeconds,omitempty"` // revisionHistoryLimit is the number of old ReplicaSets to retain to allow rollback. // This is a pointer to distinguish between explicit zero and not specified. // Defaults to 2. // +optional RevisionHistoryLimit *int32 `protobuf:"varint,6,opt,name=revisionHistoryLimit,proto3,oneof" json:"revisionHistoryLimit,omitempty"` // paused indicates that the deployment is paused. // +optional Paused *bool `protobuf:"varint,7,opt,name=paused,proto3,oneof" json:"paused,omitempty"` // DEPRECATED. // rollbackTo is the config this deployment is rolling back to. Will be cleared after rollback is done. // +optional RollbackTo *RollbackConfig `protobuf:"bytes,8,opt,name=rollbackTo,proto3,oneof" json:"rollbackTo,omitempty"` ProgressDeadlineSeconds *int32 `protobuf:"varint,9,opt,name=progressDeadlineSeconds,proto3,oneof" json:"progressDeadlineSeconds,omitempty"` // contains filtered or unexported fields }
func (*DeploymentSpec) Descriptor
deprecated
func (*DeploymentSpec) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentSpec.ProtoReflect.Descriptor instead.
func (*DeploymentSpec) GetMinReadySeconds ¶
func (x *DeploymentSpec) GetMinReadySeconds() int32
func (*DeploymentSpec) GetPaused ¶
func (x *DeploymentSpec) GetPaused() bool
func (*DeploymentSpec) GetProgressDeadlineSeconds ¶
func (x *DeploymentSpec) GetProgressDeadlineSeconds() int32
func (*DeploymentSpec) GetReplicas ¶
func (x *DeploymentSpec) GetReplicas() int32
func (*DeploymentSpec) GetRevisionHistoryLimit ¶
func (x *DeploymentSpec) GetRevisionHistoryLimit() int32
func (*DeploymentSpec) GetRollbackTo ¶
func (x *DeploymentSpec) GetRollbackTo() *RollbackConfig
func (*DeploymentSpec) GetSelector ¶
func (x *DeploymentSpec) GetSelector() *LabelSelector
func (*DeploymentSpec) GetStrategy ¶
func (x *DeploymentSpec) GetStrategy() *DeploymentStrategy
func (*DeploymentSpec) GetTemplate ¶
func (x *DeploymentSpec) GetTemplate() *PodTemplateSpec
func (*DeploymentSpec) ProtoMessage ¶
func (*DeploymentSpec) ProtoMessage()
func (*DeploymentSpec) ProtoReflect ¶
func (x *DeploymentSpec) ProtoReflect() protoreflect.Message
func (*DeploymentSpec) Reset ¶
func (x *DeploymentSpec) Reset()
func (*DeploymentSpec) String ¶
func (x *DeploymentSpec) String() string
type DeploymentStatus ¶
type DeploymentStatus struct { // observedGeneration is the generation observed by the deployment controller. // +optional ObservedGeneration *int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3,oneof" json:"observedGeneration,omitempty"` // replicas is the total number of non-terminated pods targeted by this deployment (their labels match the selector). // +optional Replicas *int32 `protobuf:"varint,2,opt,name=replicas,proto3,oneof" json:"replicas,omitempty"` // updatedReplicas is the total number of non-terminated pods targeted by this deployment that have the desired template spec. // +optional UpdatedReplicas *int32 `protobuf:"varint,3,opt,name=updatedReplicas,proto3,oneof" json:"updatedReplicas,omitempty"` // readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition. // +optional ReadyReplicas *int32 `protobuf:"varint,7,opt,name=readyReplicas,proto3,oneof" json:"readyReplicas,omitempty"` // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +optional AvailableReplicas *int32 `protobuf:"varint,4,opt,name=availableReplicas,proto3,oneof" json:"availableReplicas,omitempty"` // pods that are still required for the deployment to have 100% available capacity. They may // either be pods that are running but not yet available or pods that still have not been created. // +optional UnavailableReplicas *int32 `protobuf:"varint,5,opt,name=unavailableReplicas,proto3,oneof" json:"unavailableReplicas,omitempty"` // Conditions represent the latest available observations of a deployment's current state. // +patchMergeKey=type // +patchStrategy=merge Conditions []*DeploymentCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` // collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this // field as a collision avoidance mechanism when it needs to create the name for the // newest ReplicaSet. // +optional CollisionCount *int32 `protobuf:"varint,8,opt,name=collisionCount,proto3,oneof" json:"collisionCount,omitempty"` // contains filtered or unexported fields }
func (*DeploymentStatus) Descriptor
deprecated
func (*DeploymentStatus) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentStatus.ProtoReflect.Descriptor instead.
func (*DeploymentStatus) GetAvailableReplicas ¶
func (x *DeploymentStatus) GetAvailableReplicas() int32
func (*DeploymentStatus) GetCollisionCount ¶
func (x *DeploymentStatus) GetCollisionCount() int32
func (*DeploymentStatus) GetConditions ¶
func (x *DeploymentStatus) GetConditions() []*DeploymentCondition
func (*DeploymentStatus) GetObservedGeneration ¶
func (x *DeploymentStatus) GetObservedGeneration() int64
func (*DeploymentStatus) GetReadyReplicas ¶
func (x *DeploymentStatus) GetReadyReplicas() int32
func (*DeploymentStatus) GetReplicas ¶
func (x *DeploymentStatus) GetReplicas() int32
func (*DeploymentStatus) GetUnavailableReplicas ¶
func (x *DeploymentStatus) GetUnavailableReplicas() int32
func (*DeploymentStatus) GetUpdatedReplicas ¶
func (x *DeploymentStatus) GetUpdatedReplicas() int32
func (*DeploymentStatus) ProtoMessage ¶
func (*DeploymentStatus) ProtoMessage()
func (*DeploymentStatus) ProtoReflect ¶
func (x *DeploymentStatus) ProtoReflect() protoreflect.Message
func (*DeploymentStatus) Reset ¶
func (x *DeploymentStatus) Reset()
func (*DeploymentStatus) String ¶
func (x *DeploymentStatus) String() string
type DeploymentStrategy ¶
type DeploymentStrategy struct { // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. // +optional Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` RollingUpdate *RollingUpdateDeployment `protobuf:"bytes,2,opt,name=rollingUpdate,proto3,oneof" json:"rollingUpdate,omitempty"` // contains filtered or unexported fields }
func (*DeploymentStrategy) Descriptor
deprecated
func (*DeploymentStrategy) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentStrategy.ProtoReflect.Descriptor instead.
func (*DeploymentStrategy) GetRollingUpdate ¶
func (x *DeploymentStrategy) GetRollingUpdate() *RollingUpdateDeployment
func (*DeploymentStrategy) GetType ¶
func (x *DeploymentStrategy) GetType() string
func (*DeploymentStrategy) ProtoMessage ¶
func (*DeploymentStrategy) ProtoMessage()
func (*DeploymentStrategy) ProtoReflect ¶
func (x *DeploymentStrategy) ProtoReflect() protoreflect.Message
func (*DeploymentStrategy) Reset ¶
func (x *DeploymentStrategy) Reset()
func (*DeploymentStrategy) String ¶
func (x *DeploymentStrategy) String() string
type DownwardAPIProjection ¶
type DownwardAPIProjection struct { // Items is a list of DownwardAPIVolume file // +optional Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items,proto3" 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 (x *DownwardAPIProjection) GetItems() []*DownwardAPIVolumeFile
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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 (x *DownwardAPIVolumeSource) GetItems() []*DownwardAPIVolumeFile
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 Duration ¶
type Duration struct { Duration *int64 `protobuf:"varint,1,opt,name=duration,proto3,oneof" json:"duration,omitempty"` // contains filtered or unexported fields }
Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.
func (*Duration) Descriptor
deprecated
func (*Duration) GetDuration ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) ProtoReflect ¶
func (x *Duration) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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 *Quantity `protobuf:"bytes,2,opt,name=sizeLimit,proto3,oneof" 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() *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,proto3,oneof" json:"ip,omitempty"` // The Hostname of this endpoint // +optional Hostname *string `protobuf:"bytes,3,opt,name=hostname,proto3,oneof" 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,proto3,oneof" json:"nodeName,omitempty"` // Reference to object providing the endpoint. // +optional TargetRef *ObjectReference `protobuf:"bytes,2,opt,name=targetRef,proto3,oneof" 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,proto3,oneof" json:"name,omitempty"` // The port number of the endpoint. Port *int32 `protobuf:"varint,2,opt,name=port,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3" json:"notReadyAddresses,omitempty"` // Port numbers available on the related IP addresses. // +optional Ports []*EndpointPort `protobuf:"bytes,3,rep,name=ports,proto3" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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) GetMetadata ¶
func (x *Endpoints) GetMetadata() *ObjectMeta
func (*Endpoints) GetSubsets ¶
func (x *Endpoints) GetSubsets() []*EndpointSubset
func (*Endpoints) ProtoMessage ¶
func (*Endpoints) ProtoMessage()
func (*Endpoints) ProtoReflect ¶
func (x *Endpoints) ProtoReflect() protoreflect.Message
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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of endpoints. Items []*Endpoints `protobuf:"bytes,2,rep,name=items,proto3" 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() *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,proto3,oneof" json:"prefix,omitempty"` // The ConfigMap to select from // +optional ConfigMapRef *ConfigMapEnvSource `protobuf:"bytes,2,opt,name=configMapRef,proto3,oneof" json:"configMapRef,omitempty"` // The Secret to select from // +optional SecretRef *SecretEnvSource `protobuf:"bytes,3,opt,name=secretRef,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"valueFrom,omitempty"` // contains filtered or unexported fields }
EnvVar represents an environment variable present in a Container.
func (*EnvVar) Descriptor
deprecated
func (*EnvVar) GetValueFrom ¶
func (x *EnvVar) GetValueFrom() *EnvVarSource
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶
func (x *EnvVar) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" json:"resourceFieldRef,omitempty"` // Selects a key of a ConfigMap. // +optional ConfigMapKeyRef *ConfigMapKeySelector `protobuf:"bytes,3,opt,name=configMapKeyRef,proto3,oneof" json:"configMapKeyRef,omitempty"` // Selects a key of a secret in the pod's namespace // +optional SecretKeyRef *SecretKeySelector `protobuf:"bytes,4,opt,name=secretKeyRef,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"name,omitempty"` // Container image name. // More info: https://kubernetes.io/docs/concepts/containers/images Image *string `protobuf:"bytes,2,opt,name=image,proto3,oneof" 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,proto3" 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,proto3" json:"args,omitempty"` // Container's working directory. // If not specified, the container runtime's default will be used, which // might be configured in the container image. // Cannot be updated. // +optional WorkingDir *string `protobuf:"bytes,5,opt,name=workingDir,proto3,oneof" 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,proto3" 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,proto3" 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,proto3" 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,proto3,oneof" json:"resources,omitempty"` // Resources resize policy for the container. // +featureGate=InPlacePodVerticalScaling // +optional // +listType=atomic ResizePolicy []*ContainerResizePolicy `protobuf:"bytes,23,rep,name=resizePolicy,proto3" 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,proto3,oneof" 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,proto3" 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,proto3" json:"volumeDevices,omitempty"` // Probes are not allowed for ephemeral containers. // +optional LivenessProbe *Probe `protobuf:"bytes,10,opt,name=livenessProbe,proto3,oneof" json:"livenessProbe,omitempty"` // Probes are not allowed for ephemeral containers. // +optional ReadinessProbe *Probe `protobuf:"bytes,11,opt,name=readinessProbe,proto3,oneof" json:"readinessProbe,omitempty"` // Probes are not allowed for ephemeral containers. // +optional StartupProbe *Probe `protobuf:"bytes,22,opt,name=startupProbe,proto3,oneof" json:"startupProbe,omitempty"` // Lifecycle is not allowed for ephemeral containers. // +optional Lifecycle *Lifecycle `protobuf:"bytes,12,opt,name=lifecycle,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *EphemeralContainerCommon) GetResources() *ResourceRequirements
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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // The object that this event is about. InvolvedObject *ObjectReference `protobuf:"bytes,2,opt,name=involvedObject,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"message,omitempty"` // The component reporting this event. Should be a short machine understandable string. // +optional Source *EventSource `protobuf:"bytes,5,opt,name=source,proto3,oneof" json:"source,omitempty"` // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) // +optional FirstTimestamp *Time `protobuf:"bytes,6,opt,name=firstTimestamp,proto3,oneof" json:"firstTimestamp,omitempty"` // The time at which the most recent occurrence of this event was recorded. // +optional LastTimestamp *Time `protobuf:"bytes,7,opt,name=lastTimestamp,proto3,oneof" json:"lastTimestamp,omitempty"` // The number of times this event has occurred. // +optional Count *int32 `protobuf:"varint,8,opt,name=count,proto3,oneof" 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,proto3,oneof" json:"type,omitempty"` // Time when this Event was first observed. // +optional EventTime *MicroTime `protobuf:"bytes,10,opt,name=eventTime,proto3,oneof" 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,proto3,oneof" json:"series,omitempty"` // What action was taken/failed regarding to the Regarding object. // +optional Action *string `protobuf:"bytes,12,opt,name=action,proto3,oneof" json:"action,omitempty"` // Optional secondary object for more complex actions. // +optional Related *ObjectReference `protobuf:"bytes,13,opt,name=related,proto3,oneof" 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,proto3,oneof" json:"reportingComponent,omitempty"` // ID of the controller instance, e.g. `kubelet-xyzf`. // +optional ReportingInstance *string `protobuf:"bytes,15,opt,name=reportingInstance,proto3,oneof" 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) GetEventTime ¶
func (*Event) GetFirstTimestamp ¶
func (*Event) GetInvolvedObject ¶
func (x *Event) GetInvolvedObject() *ObjectReference
func (*Event) GetLastTimestamp ¶
func (*Event) GetMessage ¶
func (*Event) GetMetadata ¶
func (x *Event) GetMetadata() *ObjectMeta
func (*Event) GetRelated ¶
func (x *Event) GetRelated() *ObjectReference
func (*Event) GetReportingComponent ¶
func (*Event) GetReportingInstance ¶
func (*Event) GetSeries ¶
func (x *Event) GetSeries() *EventSeries
func (*Event) GetSource ¶
func (x *Event) GetSource() *EventSource
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of events Items []*Event `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
EventList is a list of events.
func (*EventList) Descriptor
deprecated
func (*EventList) GetMetadata ¶
func (*EventList) ProtoMessage ¶
func (*EventList) ProtoMessage()
func (*EventList) ProtoReflect ¶
func (x *EventList) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"count,omitempty"` // Time of the last occurrence observed LastObservedTime *MicroTime `protobuf:"bytes,2,opt,name=lastObservedTime,proto3,oneof" 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() *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,proto3,oneof" json:"component,omitempty"` // Node name on which the event is generated. // +optional Host *string `protobuf:"bytes,2,opt,name=host,proto3,oneof" 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,proto3" 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,proto3" json:"targetWWNs,omitempty"` // lun is Optional: FC target lun number // +optional Lun *int32 `protobuf:"varint,2,opt,name=lun,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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 FieldsV1 ¶
type FieldsV1 struct { // Raw is the underlying serialization of this object. Raw []byte `protobuf:"bytes,1,opt,name=Raw,proto3,oneof" json:"Raw,omitempty"` // contains filtered or unexported fields }
func (*FieldsV1) Descriptor
deprecated
func (*FieldsV1) ProtoMessage ¶
func (*FieldsV1) ProtoMessage()
func (*FieldsV1) ProtoReflect ¶
func (x *FieldsV1) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"readOnly,omitempty"` // options is Optional: this field holds extra command options if any. // +optional Options map[string]string `` /* 155-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 (x *FlexPersistentVolumeSource) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"readOnly,omitempty"` // options is Optional: this field holds extra command options if any. // +optional Options map[string]string `` /* 155-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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *GCEPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message
func (*GCEPersistentDiskVolumeSource) Reset ¶
func (x *GCEPersistentDiskVolumeSource) Reset()
func (*GCEPersistentDiskVolumeSource) String ¶
func (x *GCEPersistentDiskVolumeSource) String() 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,proto3,oneof" 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,proto3,oneof" 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 GetOptions ¶
type GetOptions struct { // resourceVersion sets a constraint on what resource versions a request may be served from. // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for // details. // // Defaults to unset // +optional ResourceVersion *string `protobuf:"bytes,1,opt,name=resourceVersion,proto3,oneof" json:"resourceVersion,omitempty"` // contains filtered or unexported fields }
GetOptions is the standard query options to the standard REST get call.
func (*GetOptions) Descriptor
deprecated
func (*GetOptions) Descriptor() ([]byte, []int)
Deprecated: Use GetOptions.ProtoReflect.Descriptor instead.
func (*GetOptions) GetResourceVersion ¶
func (x *GetOptions) GetResourceVersion() string
func (*GetOptions) ProtoMessage ¶
func (*GetOptions) ProtoMessage()
func (*GetOptions) ProtoReflect ¶
func (x *GetOptions) ProtoReflect() protoreflect.Message
func (*GetOptions) Reset ¶
func (x *GetOptions) Reset()
func (*GetOptions) String ¶
func (x *GetOptions) String() string
type GetReq ¶
type GetReq struct { YamlString string `protobuf:"bytes,1,opt,name=yamlString,proto3" json:"yamlString,omitempty"` // contains filtered or unexported fields }
func (*GetReq) Descriptor
deprecated
func (*GetReq) GetYamlString ¶
func (*GetReq) ProtoMessage ¶
func (*GetReq) ProtoMessage()
func (*GetReq) ProtoReflect ¶
func (x *GetReq) ProtoReflect() protoreflect.Message
type GitRepoVolumeSource ¶
type GitRepoVolumeSource struct { // repository is the URL Repository *string `protobuf:"bytes,1,opt,name=repository,proto3,oneof" json:"repository,omitempty"` // revision is the commit hash for the specified revision. // +optional Revision *string `protobuf:"bytes,2,opt,name=revision,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *GlusterfsPersistentVolumeSource) GetPath() string
func (*GlusterfsPersistentVolumeSource) GetReadOnly ¶
func (x *GlusterfsPersistentVolumeSource) GetReadOnly() bool
func (*GlusterfsPersistentVolumeSource) ProtoMessage ¶
func (*GlusterfsPersistentVolumeSource) ProtoMessage()
func (*GlusterfsPersistentVolumeSource) ProtoReflect ¶
func (x *GlusterfsPersistentVolumeSource) ProtoReflect() protoreflect.Message
func (*GlusterfsPersistentVolumeSource) Reset ¶
func (x *GlusterfsPersistentVolumeSource) Reset()
func (*GlusterfsPersistentVolumeSource) String ¶
func (x *GlusterfsPersistentVolumeSource) String() 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 GroupKind ¶
type GroupKind struct { Group *string `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"` Kind *string `protobuf:"bytes,2,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*GroupKind) Descriptor
deprecated
func (*GroupKind) ProtoMessage ¶
func (*GroupKind) ProtoMessage()
func (*GroupKind) ProtoReflect ¶
func (x *GroupKind) ProtoReflect() protoreflect.Message
type GroupResource ¶
type GroupResource struct { Group *string `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"` Resource *string `protobuf:"bytes,2,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*GroupResource) Descriptor
deprecated
func (*GroupResource) Descriptor() ([]byte, []int)
Deprecated: Use GroupResource.ProtoReflect.Descriptor instead.
func (*GroupResource) GetGroup ¶
func (x *GroupResource) GetGroup() string
func (*GroupResource) GetResource ¶
func (x *GroupResource) GetResource() string
func (*GroupResource) ProtoMessage ¶
func (*GroupResource) ProtoMessage()
func (*GroupResource) ProtoReflect ¶
func (x *GroupResource) ProtoReflect() protoreflect.Message
func (*GroupResource) Reset ¶
func (x *GroupResource) Reset()
func (*GroupResource) String ¶
func (x *GroupResource) String() string
type GroupVersion ¶
type GroupVersion struct { Group *string `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GroupVersion) Descriptor
deprecated
func (*GroupVersion) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersion.ProtoReflect.Descriptor instead.
func (*GroupVersion) GetGroup ¶
func (x *GroupVersion) GetGroup() string
func (*GroupVersion) GetVersion ¶
func (x *GroupVersion) GetVersion() string
func (*GroupVersion) ProtoMessage ¶
func (*GroupVersion) ProtoMessage()
func (*GroupVersion) ProtoReflect ¶
func (x *GroupVersion) ProtoReflect() protoreflect.Message
func (*GroupVersion) Reset ¶
func (x *GroupVersion) Reset()
func (*GroupVersion) String ¶
func (x *GroupVersion) String() string
type GroupVersionForDiscovery ¶
type GroupVersionForDiscovery struct { // groupVersion specifies the API group and version in the form "group/version" GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion,proto3,oneof" json:"groupVersion,omitempty"` // version specifies the version in the form of "version". This is to save // the clients the trouble of splitting the GroupVersion. Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` // contains filtered or unexported fields }
GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.
func (*GroupVersionForDiscovery) Descriptor
deprecated
func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionForDiscovery.ProtoReflect.Descriptor instead.
func (*GroupVersionForDiscovery) GetGroupVersion ¶
func (x *GroupVersionForDiscovery) GetGroupVersion() string
func (*GroupVersionForDiscovery) GetVersion ¶
func (x *GroupVersionForDiscovery) GetVersion() string
func (*GroupVersionForDiscovery) ProtoMessage ¶
func (*GroupVersionForDiscovery) ProtoMessage()
func (*GroupVersionForDiscovery) ProtoReflect ¶
func (x *GroupVersionForDiscovery) ProtoReflect() protoreflect.Message
func (*GroupVersionForDiscovery) Reset ¶
func (x *GroupVersionForDiscovery) Reset()
func (*GroupVersionForDiscovery) String ¶
func (x *GroupVersionForDiscovery) String() string
type GroupVersionKind ¶
type GroupVersionKind struct { Group *string `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` Kind *string `protobuf:"bytes,3,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // contains filtered or unexported fields }
GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling
+protobuf.options.(gogoproto.goproto_stringer)=false
func (*GroupVersionKind) Descriptor
deprecated
func (*GroupVersionKind) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.
func (*GroupVersionKind) GetGroup ¶
func (x *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (x *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetVersion ¶
func (x *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) ProtoReflect ¶
func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
func (*GroupVersionKind) Reset ¶
func (x *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶
func (x *GroupVersionKind) String() string
type GroupVersionResource ¶
type GroupVersionResource struct { Group *string `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version,proto3,oneof" json:"version,omitempty"` Resource *string `protobuf:"bytes,3,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling
+protobuf.options.(gogoproto.goproto_stringer)=false
func (*GroupVersionResource) Descriptor
deprecated
func (*GroupVersionResource) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionResource.ProtoReflect.Descriptor instead.
func (*GroupVersionResource) GetGroup ¶
func (x *GroupVersionResource) GetGroup() string
func (*GroupVersionResource) GetResource ¶
func (x *GroupVersionResource) GetResource() string
func (*GroupVersionResource) GetVersion ¶
func (x *GroupVersionResource) GetVersion() string
func (*GroupVersionResource) ProtoMessage ¶
func (*GroupVersionResource) ProtoMessage()
func (*GroupVersionResource) ProtoReflect ¶
func (x *GroupVersionResource) ProtoReflect() protoreflect.Message
func (*GroupVersionResource) Reset ¶
func (x *GroupVersionResource) Reset()
func (*GroupVersionResource) String ¶
func (x *GroupVersionResource) String() string
type HTTPGetAction ¶
type HTTPGetAction struct { // Path to access on the HTTP server. // +optional Path *string `protobuf:"bytes,1,opt,name=path,proto3,oneof" 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 *IntOrString `protobuf:"bytes,2,opt,name=port,proto3,oneof" 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,proto3,oneof" json:"host,omitempty"` // Scheme to use for connecting to the host. // Defaults to HTTP. // +optional Scheme *string `protobuf:"bytes,4,opt,name=scheme,proto3,oneof" json:"scheme,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. // +optional HttpHeaders []*HTTPHeader `protobuf:"bytes,5,rep,name=httpHeaders,proto3" 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() *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,proto3,oneof" json:"name,omitempty"` // The header field value Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" 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 HTTPIngressPath ¶
type HTTPIngressPath struct { // path is matched against the path of an incoming request. Currently it can // contain characters disallowed from the conventional "path" part of a URL // as defined by RFC 3986. Paths must begin with a '/' and must be present // when using PathType with value "Exact" or "Prefix". // +optional Path *string `protobuf:"bytes,1,opt,name=path,proto3,oneof" json:"path,omitempty"` // pathType determines the interpretation of the path matching. PathType can // be one of the following values: // - Exact: Matches the URL path exactly. // - Prefix: Matches based on a URL path prefix split by '/'. Matching is // done on a path element by element basis. A path element refers is the // list of labels in the path split by the '/' separator. A request is a // match for path p if every p is an element-wise prefix of p of the // request path. Note that if the last element of the path is a substring // of the last element in request path, it is not a match (e.g. /foo/bar // matches /foo/bar/baz, but does not match /foo/barbaz). // - ImplementationSpecific: Interpretation of the Path matching is up to // the IngressClass. Implementations can treat this as a separate PathType // or treat it identically to Prefix or Exact path types. // // Implementations are required to support all path types. PathType *string `protobuf:"bytes,3,opt,name=pathType,proto3,oneof" json:"pathType,omitempty"` // backend defines the referenced service endpoint to which the traffic // will be forwarded to. Backend *IngressBackend `protobuf:"bytes,2,opt,name=backend,proto3,oneof" json:"backend,omitempty"` // contains filtered or unexported fields }
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
func (*HTTPIngressPath) Descriptor
deprecated
func (*HTTPIngressPath) Descriptor() ([]byte, []int)
Deprecated: Use HTTPIngressPath.ProtoReflect.Descriptor instead.
func (*HTTPIngressPath) GetBackend ¶
func (x *HTTPIngressPath) GetBackend() *IngressBackend
func (*HTTPIngressPath) GetPath ¶
func (x *HTTPIngressPath) GetPath() string
func (*HTTPIngressPath) GetPathType ¶
func (x *HTTPIngressPath) GetPathType() string
func (*HTTPIngressPath) ProtoMessage ¶
func (*HTTPIngressPath) ProtoMessage()
func (*HTTPIngressPath) ProtoReflect ¶
func (x *HTTPIngressPath) ProtoReflect() protoreflect.Message
func (*HTTPIngressPath) Reset ¶
func (x *HTTPIngressPath) Reset()
func (*HTTPIngressPath) String ¶
func (x *HTTPIngressPath) String() string
type HTTPIngressRuleValue ¶
type HTTPIngressRuleValue struct { // paths is a collection of paths that map requests to backends. // +listType=atomic Paths []*HTTPIngressPath `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
func (*HTTPIngressRuleValue) Descriptor
deprecated
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)
Deprecated: Use HTTPIngressRuleValue.ProtoReflect.Descriptor instead.
func (*HTTPIngressRuleValue) GetPaths ¶
func (x *HTTPIngressRuleValue) GetPaths() []*HTTPIngressPath
func (*HTTPIngressRuleValue) ProtoMessage ¶
func (*HTTPIngressRuleValue) ProtoMessage()
func (*HTTPIngressRuleValue) ProtoReflect ¶
func (x *HTTPIngressRuleValue) ProtoReflect() protoreflect.Message
func (*HTTPIngressRuleValue) Reset ¶
func (x *HTTPIngressRuleValue) Reset()
func (*HTTPIngressRuleValue) String ¶
func (x *HTTPIngressRuleValue) String() string
type HorizontalPodAutoscaler ¶
type HorizontalPodAutoscaler struct { // Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. // +optional Spec *HorizontalPodAutoscalerSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof" json:"spec,omitempty"` // status is the current information about the autoscaler. // +optional Status *HorizontalPodAutoscalerStatus `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
configuration of a horizontal pod autoscaler.
func (*HorizontalPodAutoscaler) Descriptor
deprecated
func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int)
Deprecated: Use HorizontalPodAutoscaler.ProtoReflect.Descriptor instead.
func (*HorizontalPodAutoscaler) GetMetadata ¶
func (x *HorizontalPodAutoscaler) GetMetadata() *ObjectMeta
func (*HorizontalPodAutoscaler) GetSpec ¶
func (x *HorizontalPodAutoscaler) GetSpec() *HorizontalPodAutoscalerSpec
func (*HorizontalPodAutoscaler) GetStatus ¶
func (x *HorizontalPodAutoscaler) GetStatus() *HorizontalPodAutoscalerStatus
func (*HorizontalPodAutoscaler) ProtoMessage ¶
func (*HorizontalPodAutoscaler) ProtoMessage()
func (*HorizontalPodAutoscaler) ProtoReflect ¶
func (x *HorizontalPodAutoscaler) ProtoReflect() protoreflect.Message
func (*HorizontalPodAutoscaler) Reset ¶
func (x *HorizontalPodAutoscaler) Reset()
func (*HorizontalPodAutoscaler) String ¶
func (x *HorizontalPodAutoscaler) String() string
type HorizontalPodAutoscalerSpec ¶
type HorizontalPodAutoscalerSpec struct { // reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption // and will set the desired number of pods by using its Scale subresource. ScaleTargetRef *CrossVersionObjectReference `protobuf:"bytes,1,opt,name=scaleTargetRef,proto3,oneof" json:"scaleTargetRef,omitempty"` // minReplicas is the lower limit for the number of replicas to which the autoscaler // can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the // alpha feature gate HPAScaleToZero is enabled and at least one Object or External // metric is configured. Scaling is active as long as at least one metric value is // available. // +optional MinReplicas *int32 `protobuf:"varint,2,opt,name=minReplicas,proto3,oneof" json:"minReplicas,omitempty"` // maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. MaxReplicas *int32 `protobuf:"varint,3,opt,name=maxReplicas,proto3,oneof" json:"maxReplicas,omitempty"` // targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; // if not specified the default autoscaling policy will be used. // +optional TargetCPUUtilizationPercentage *int32 `protobuf:"varint,4,opt,name=targetCPUUtilizationPercentage,proto3,oneof" json:"targetCPUUtilizationPercentage,omitempty"` // contains filtered or unexported fields }
specification of a horizontal pod autoscaler.
func (*HorizontalPodAutoscalerSpec) Descriptor
deprecated
func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int)
Deprecated: Use HorizontalPodAutoscalerSpec.ProtoReflect.Descriptor instead.
func (*HorizontalPodAutoscalerSpec) GetMaxReplicas ¶
func (x *HorizontalPodAutoscalerSpec) GetMaxReplicas() int32
func (*HorizontalPodAutoscalerSpec) GetMinReplicas ¶
func (x *HorizontalPodAutoscalerSpec) GetMinReplicas() int32
func (*HorizontalPodAutoscalerSpec) GetScaleTargetRef ¶
func (x *HorizontalPodAutoscalerSpec) GetScaleTargetRef() *CrossVersionObjectReference
func (*HorizontalPodAutoscalerSpec) GetTargetCPUUtilizationPercentage ¶
func (x *HorizontalPodAutoscalerSpec) GetTargetCPUUtilizationPercentage() int32
func (*HorizontalPodAutoscalerSpec) ProtoMessage ¶
func (*HorizontalPodAutoscalerSpec) ProtoMessage()
func (*HorizontalPodAutoscalerSpec) ProtoReflect ¶
func (x *HorizontalPodAutoscalerSpec) ProtoReflect() protoreflect.Message
func (*HorizontalPodAutoscalerSpec) Reset ¶
func (x *HorizontalPodAutoscalerSpec) Reset()
func (*HorizontalPodAutoscalerSpec) String ¶
func (x *HorizontalPodAutoscalerSpec) String() string
type HorizontalPodAutoscalerStatus ¶
type HorizontalPodAutoscalerStatus struct { // observedGeneration is the most recent generation observed by this autoscaler. // +optional ObservedGeneration *int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3,oneof" json:"observedGeneration,omitempty"` // lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; // used by the autoscaler to control how often the number of pods is changed. // +optional LastScaleTime *Time `protobuf:"bytes,2,opt,name=lastScaleTime,proto3,oneof" json:"lastScaleTime,omitempty"` // currentReplicas is the current number of replicas of pods managed by this autoscaler. CurrentReplicas *int32 `protobuf:"varint,3,opt,name=currentReplicas,proto3,oneof" json:"currentReplicas,omitempty"` // desiredReplicas is the desired number of replicas of pods managed by this autoscaler. DesiredReplicas *int32 `protobuf:"varint,4,opt,name=desiredReplicas,proto3,oneof" json:"desiredReplicas,omitempty"` // currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, // e.g. 70 means that an average pod is using now 70% of its requested CPU. // +optional CurrentCPUUtilizationPercentage *int32 `protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage,proto3,oneof" json:"currentCPUUtilizationPercentage,omitempty"` // contains filtered or unexported fields }
current status of a horizontal pod autoscaler
func (*HorizontalPodAutoscalerStatus) Descriptor
deprecated
func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int)
Deprecated: Use HorizontalPodAutoscalerStatus.ProtoReflect.Descriptor instead.
func (*HorizontalPodAutoscalerStatus) GetCurrentCPUUtilizationPercentage ¶
func (x *HorizontalPodAutoscalerStatus) GetCurrentCPUUtilizationPercentage() int32
func (*HorizontalPodAutoscalerStatus) GetCurrentReplicas ¶
func (x *HorizontalPodAutoscalerStatus) GetCurrentReplicas() int32
func (*HorizontalPodAutoscalerStatus) GetDesiredReplicas ¶
func (x *HorizontalPodAutoscalerStatus) GetDesiredReplicas() int32
func (*HorizontalPodAutoscalerStatus) GetLastScaleTime ¶
func (x *HorizontalPodAutoscalerStatus) GetLastScaleTime() *Time
func (*HorizontalPodAutoscalerStatus) GetObservedGeneration ¶
func (x *HorizontalPodAutoscalerStatus) GetObservedGeneration() int64
func (*HorizontalPodAutoscalerStatus) ProtoMessage ¶
func (*HorizontalPodAutoscalerStatus) ProtoMessage()
func (*HorizontalPodAutoscalerStatus) ProtoReflect ¶
func (x *HorizontalPodAutoscalerStatus) ProtoReflect() protoreflect.Message
func (*HorizontalPodAutoscalerStatus) Reset ¶
func (x *HorizontalPodAutoscalerStatus) Reset()
func (*HorizontalPodAutoscalerStatus) String ¶
func (x *HorizontalPodAutoscalerStatus) String() string
type HostAlias ¶
type HostAlias struct { // IP address of the host file entry. Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"` // Hostnames for the above IP address. Hostnames []string `protobuf:"bytes,2,rep,name=hostnames,proto3" 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) GetHostnames ¶
func (*HostAlias) ProtoMessage ¶
func (*HostAlias) ProtoMessage()
func (*HostAlias) ProtoReflect ¶
func (x *HostAlias) ProtoReflect() protoreflect.Message
type HostIP ¶
type HostIP struct { // IP is the IP address assigned to the host Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"` // contains filtered or unexported fields }
HostIP represents a single IP address allocated to the host.
func (*HostIP) Descriptor
deprecated
func (*HostIP) ProtoMessage ¶
func (*HostIP) ProtoMessage()
func (*HostIP) ProtoReflect ¶
func (x *HostIP) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"targetPortal,omitempty"` // iqn is Target iSCSI Qualified Name. Iqn *string `protobuf:"bytes,2,opt,name=iqn,proto3,oneof" json:"iqn,omitempty"` // lun is iSCSI Target Lun number. Lun *int32 `protobuf:"varint,3,opt,name=lun,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"fsType,omitempty"` // readOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. // +optional ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly,proto3,oneof" 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,proto3" json:"portals,omitempty"` // chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication // +optional ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery,proto3,oneof" json:"chapAuthDiscovery,omitempty"` // chapAuthSession defines whether support iSCSI Session CHAP authentication // +optional ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession,proto3,oneof" json:"chapAuthSession,omitempty"` // secretRef is the CHAP Secret for iSCSI target and initiator authentication // +optional SecretRef *SecretReference `protobuf:"bytes,10,opt,name=secretRef,proto3,oneof" 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,proto3,oneof" 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 (x *ISCSIPersistentVolumeSource) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"targetPortal,omitempty"` // iqn is the target iSCSI Qualified Name. Iqn *string `protobuf:"bytes,2,opt,name=iqn,proto3,oneof" json:"iqn,omitempty"` // lun represents iSCSI Target Lun number. Lun *int32 `protobuf:"varint,3,opt,name=lun,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"fsType,omitempty"` // readOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. // +optional ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly,proto3,oneof" 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,proto3" json:"portals,omitempty"` // chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication // +optional ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery,proto3,oneof" json:"chapAuthDiscovery,omitempty"` // chapAuthSession defines whether support iSCSI Session CHAP authentication // +optional ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession,proto3,oneof" json:"chapAuthSession,omitempty"` // secretRef is the CHAP Secret for iSCSI target and initiator authentication // +optional SecretRef *LocalObjectReference `protobuf:"bytes,10,opt,name=secretRef,proto3,oneof" 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,proto3,oneof" 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 Ingress ¶
type Ingress struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // spec is the desired state of the Ingress. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec *IngressSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof" json:"spec,omitempty"` // status is the current state of the Ingress. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Status *IngressStatus `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
func (*Ingress) Descriptor
deprecated
func (*Ingress) GetMetadata ¶
func (x *Ingress) GetMetadata() *ObjectMeta
func (*Ingress) GetSpec ¶
func (x *Ingress) GetSpec() *IngressSpec
func (*Ingress) GetStatus ¶
func (x *Ingress) GetStatus() *IngressStatus
func (*Ingress) ProtoMessage ¶
func (*Ingress) ProtoMessage()
func (*Ingress) ProtoReflect ¶
func (x *Ingress) ProtoReflect() protoreflect.Message
type IngressBackend ¶
type IngressBackend struct { // service references a service as a backend. // This is a mutually exclusive setting with "Resource". // +optional Service *IngressServiceBackend `protobuf:"bytes,4,opt,name=service,proto3,oneof" json:"service,omitempty"` // resource is an ObjectRef to another Kubernetes resource in the namespace // of the Ingress object. If resource is specified, a service.Name and // service.Port must not be specified. // This is a mutually exclusive setting with "Service". // +optional Resource *TypedLocalObjectReference `protobuf:"bytes,3,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
IngressBackend describes all endpoints for a given service and port.
func (*IngressBackend) Descriptor
deprecated
func (*IngressBackend) Descriptor() ([]byte, []int)
Deprecated: Use IngressBackend.ProtoReflect.Descriptor instead.
func (*IngressBackend) GetResource ¶
func (x *IngressBackend) GetResource() *TypedLocalObjectReference
func (*IngressBackend) GetService ¶
func (x *IngressBackend) GetService() *IngressServiceBackend
func (*IngressBackend) ProtoMessage ¶
func (*IngressBackend) ProtoMessage()
func (*IngressBackend) ProtoReflect ¶
func (x *IngressBackend) ProtoReflect() protoreflect.Message
func (*IngressBackend) Reset ¶
func (x *IngressBackend) Reset()
func (*IngressBackend) String ¶
func (x *IngressBackend) String() string
type IngressList ¶
type IngressList struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // items is the list of Ingress. Items []*Ingress `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
IngressList is a collection of Ingress.
func (*IngressList) Descriptor
deprecated
func (*IngressList) Descriptor() ([]byte, []int)
Deprecated: Use IngressList.ProtoReflect.Descriptor instead.
func (*IngressList) GetItems ¶
func (x *IngressList) GetItems() []*Ingress
func (*IngressList) GetMetadata ¶
func (x *IngressList) GetMetadata() *ListMeta
func (*IngressList) ProtoMessage ¶
func (*IngressList) ProtoMessage()
func (*IngressList) ProtoReflect ¶
func (x *IngressList) ProtoReflect() protoreflect.Message
func (*IngressList) Reset ¶
func (x *IngressList) Reset()
func (*IngressList) String ¶
func (x *IngressList) String() string
type IngressLoadBalancerIngress ¶
type IngressLoadBalancerIngress struct { // ip is set for load-balancer ingress points that are IP based. // +optional Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"` // hostname is set for load-balancer ingress points that are DNS based. // +optional Hostname *string `protobuf:"bytes,2,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"` // ports provides information about the ports exposed by this LoadBalancer. // +listType=atomic // +optional Ports []*IngressPortStatus `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"` // contains filtered or unexported fields }
IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
func (*IngressLoadBalancerIngress) Descriptor
deprecated
func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int)
Deprecated: Use IngressLoadBalancerIngress.ProtoReflect.Descriptor instead.
func (*IngressLoadBalancerIngress) GetHostname ¶
func (x *IngressLoadBalancerIngress) GetHostname() string
func (*IngressLoadBalancerIngress) GetIp ¶
func (x *IngressLoadBalancerIngress) GetIp() string
func (*IngressLoadBalancerIngress) GetPorts ¶
func (x *IngressLoadBalancerIngress) GetPorts() []*IngressPortStatus
func (*IngressLoadBalancerIngress) ProtoMessage ¶
func (*IngressLoadBalancerIngress) ProtoMessage()
func (*IngressLoadBalancerIngress) ProtoReflect ¶
func (x *IngressLoadBalancerIngress) ProtoReflect() protoreflect.Message
func (*IngressLoadBalancerIngress) Reset ¶
func (x *IngressLoadBalancerIngress) Reset()
func (*IngressLoadBalancerIngress) String ¶
func (x *IngressLoadBalancerIngress) String() string
type IngressLoadBalancerStatus ¶
type IngressLoadBalancerStatus struct { // ingress is a list containing ingress points for the load-balancer. // +optional Ingress []*IngressLoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress,proto3" json:"ingress,omitempty"` // contains filtered or unexported fields }
IngressLoadBalancerStatus represents the status of a load-balancer.
func (*IngressLoadBalancerStatus) Descriptor
deprecated
func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int)
Deprecated: Use IngressLoadBalancerStatus.ProtoReflect.Descriptor instead.
func (*IngressLoadBalancerStatus) GetIngress ¶
func (x *IngressLoadBalancerStatus) GetIngress() []*IngressLoadBalancerIngress
func (*IngressLoadBalancerStatus) ProtoMessage ¶
func (*IngressLoadBalancerStatus) ProtoMessage()
func (*IngressLoadBalancerStatus) ProtoReflect ¶
func (x *IngressLoadBalancerStatus) ProtoReflect() protoreflect.Message
func (*IngressLoadBalancerStatus) Reset ¶
func (x *IngressLoadBalancerStatus) Reset()
func (*IngressLoadBalancerStatus) String ¶
func (x *IngressLoadBalancerStatus) String() string
type IngressPortStatus ¶
type IngressPortStatus struct { // port is the port number of the ingress port. Port *int32 `protobuf:"varint,1,opt,name=port,proto3,oneof" json:"port,omitempty"` // protocol is the protocol of the ingress port. // The supported values are: "TCP", "UDP", "SCTP" Protocol *string `protobuf:"bytes,2,opt,name=protocol,proto3,oneof" 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,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
IngressPortStatus represents the error condition of a service port
func (*IngressPortStatus) Descriptor
deprecated
func (*IngressPortStatus) Descriptor() ([]byte, []int)
Deprecated: Use IngressPortStatus.ProtoReflect.Descriptor instead.
func (*IngressPortStatus) GetError ¶
func (x *IngressPortStatus) GetError() string
func (*IngressPortStatus) GetPort ¶
func (x *IngressPortStatus) GetPort() int32
func (*IngressPortStatus) GetProtocol ¶
func (x *IngressPortStatus) GetProtocol() string
func (*IngressPortStatus) ProtoMessage ¶
func (*IngressPortStatus) ProtoMessage()
func (*IngressPortStatus) ProtoReflect ¶
func (x *IngressPortStatus) ProtoReflect() protoreflect.Message
func (*IngressPortStatus) Reset ¶
func (x *IngressPortStatus) Reset()
func (*IngressPortStatus) String ¶
func (x *IngressPortStatus) String() string
type IngressRule ¶
type IngressRule struct { // host is the fully qualified domain name of a network host, as defined by RFC 3986. // Note the following deviations from the "host" part of the // URI as defined in RFC 3986: // 1. IPs are not allowed. Currently an IngressRuleValue can only apply to // the IP in the Spec of the parent Ingress. // 2. The `:` delimiter is not respected because ports are not allowed. // Currently the port of an Ingress is implicitly :80 for http and // :443 for https. // // Both these may change in the future. // Incoming requests are matched against the host before the // IngressRuleValue. If the host is unspecified, the Ingress routes all // traffic based on the specified IngressRuleValue. // // host can be "precise" which is a domain name without the terminating dot of // a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name // prefixed with a single wildcard label (e.g. "*.foo.com"). // The wildcard character '*' must appear by itself as the first DNS label and // matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). // Requests will be matched against the Host field in the following way: // 1. If host is precise, the request matches this rule if the http host header is equal to Host. // 2. If host is a wildcard, then the request matches this rule if the http host header // is to equal to the suffix (removing the first label) of the wildcard rule. // +optional Host *string `protobuf:"bytes,1,opt,name=host,proto3,oneof" json:"host,omitempty"` // IngressRuleValue represents a rule to route requests for this IngressRule. // If unspecified, the rule defaults to a http catch-all. Whether that sends // just traffic matching the host to the default backend or all traffic to the // default backend, is left to the controller fulfilling the Ingress. Http is // currently the only supported IngressRuleValue. // +optional IngressRuleValue *IngressRuleValue `protobuf:"bytes,2,opt,name=ingressRuleValue,proto3,oneof" json:"ingressRuleValue,omitempty"` // contains filtered or unexported fields }
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
func (*IngressRule) Descriptor
deprecated
func (*IngressRule) Descriptor() ([]byte, []int)
Deprecated: Use IngressRule.ProtoReflect.Descriptor instead.
func (*IngressRule) GetHost ¶
func (x *IngressRule) GetHost() string
func (*IngressRule) GetIngressRuleValue ¶
func (x *IngressRule) GetIngressRuleValue() *IngressRuleValue
func (*IngressRule) ProtoMessage ¶
func (*IngressRule) ProtoMessage()
func (*IngressRule) ProtoReflect ¶
func (x *IngressRule) ProtoReflect() protoreflect.Message
func (*IngressRule) Reset ¶
func (x *IngressRule) Reset()
func (*IngressRule) String ¶
func (x *IngressRule) String() string
type IngressRuleValue ¶
type IngressRuleValue struct { // +optional Http *HTTPIngressRuleValue `protobuf:"bytes,1,opt,name=http,proto3,oneof" json:"http,omitempty"` // contains filtered or unexported fields }
IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.
func (*IngressRuleValue) Descriptor
deprecated
func (*IngressRuleValue) Descriptor() ([]byte, []int)
Deprecated: Use IngressRuleValue.ProtoReflect.Descriptor instead.
func (*IngressRuleValue) GetHttp ¶
func (x *IngressRuleValue) GetHttp() *HTTPIngressRuleValue
func (*IngressRuleValue) ProtoMessage ¶
func (*IngressRuleValue) ProtoMessage()
func (*IngressRuleValue) ProtoReflect ¶
func (x *IngressRuleValue) ProtoReflect() protoreflect.Message
func (*IngressRuleValue) Reset ¶
func (x *IngressRuleValue) Reset()
func (*IngressRuleValue) String ¶
func (x *IngressRuleValue) String() string
type IngressServiceBackend ¶
type IngressServiceBackend struct { // name is the referenced service. The service must exist in // the same namespace as the Ingress object. Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // port of the referenced service. A port name or port number // is required for a IngressServiceBackend. Port *ServiceBackendPort `protobuf:"bytes,2,opt,name=port,proto3,oneof" json:"port,omitempty"` // contains filtered or unexported fields }
IngressServiceBackend references a Kubernetes Service as a Backend.
func (*IngressServiceBackend) Descriptor
deprecated
func (*IngressServiceBackend) Descriptor() ([]byte, []int)
Deprecated: Use IngressServiceBackend.ProtoReflect.Descriptor instead.
func (*IngressServiceBackend) GetName ¶
func (x *IngressServiceBackend) GetName() string
func (*IngressServiceBackend) GetPort ¶
func (x *IngressServiceBackend) GetPort() *ServiceBackendPort
func (*IngressServiceBackend) ProtoMessage ¶
func (*IngressServiceBackend) ProtoMessage()
func (*IngressServiceBackend) ProtoReflect ¶
func (x *IngressServiceBackend) ProtoReflect() protoreflect.Message
func (*IngressServiceBackend) Reset ¶
func (x *IngressServiceBackend) Reset()
func (*IngressServiceBackend) String ¶
func (x *IngressServiceBackend) String() string
type IngressSpec ¶
type IngressSpec struct { // ingressClassName is the name of an IngressClass cluster resource. Ingress // controller implementations use this field to know whether they should be // serving this Ingress resource, by a transitive connection // (controller -> IngressClass -> Ingress resource). Although the // `kubernetes.io/ingress.class` annotation (simple constant name) was never // formally defined, it was widely supported by Ingress controllers to create // a direct binding between Ingress controller and Ingress resources. Newly // created Ingress resources should prefer using the field. However, even // though the annotation is officially deprecated, for backwards compatibility // reasons, ingress controllers should still honor that annotation if present. // +optional IngressClassName *string `protobuf:"bytes,4,opt,name=ingressClassName,proto3,oneof" json:"ingressClassName,omitempty"` // defaultBackend is the backend that should handle requests that don't // match any rule. If Rules are not specified, DefaultBackend must be specified. // If DefaultBackend is not set, the handling of requests that do not match any // of the rules will be up to the Ingress controller. // +optional DefaultBackend *IngressBackend `protobuf:"bytes,1,opt,name=defaultBackend,proto3,oneof" json:"defaultBackend,omitempty"` // tls represents the TLS configuration. Currently the Ingress only supports a // single TLS port, 443. If multiple members of this list specify different hosts, // they will be multiplexed on the same port according to the hostname specified // through the SNI TLS extension, if the ingress controller fulfilling the // ingress supports SNI. // +listType=atomic // +optional Tls []*IngressTLS `protobuf:"bytes,2,rep,name=tls,proto3" json:"tls,omitempty"` // rules is a list of host rules used to configure the Ingress. If unspecified, // or no rule matches, all traffic is sent to the default backend. // +listType=atomic // +optional Rules []*IngressRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
IngressSpec describes the Ingress the user wishes to exist.
func (*IngressSpec) Descriptor
deprecated
func (*IngressSpec) Descriptor() ([]byte, []int)
Deprecated: Use IngressSpec.ProtoReflect.Descriptor instead.
func (*IngressSpec) GetDefaultBackend ¶
func (x *IngressSpec) GetDefaultBackend() *IngressBackend
func (*IngressSpec) GetIngressClassName ¶
func (x *IngressSpec) GetIngressClassName() string
func (*IngressSpec) GetRules ¶
func (x *IngressSpec) GetRules() []*IngressRule
func (*IngressSpec) GetTls ¶
func (x *IngressSpec) GetTls() []*IngressTLS
func (*IngressSpec) ProtoMessage ¶
func (*IngressSpec) ProtoMessage()
func (*IngressSpec) ProtoReflect ¶
func (x *IngressSpec) ProtoReflect() protoreflect.Message
func (*IngressSpec) Reset ¶
func (x *IngressSpec) Reset()
func (*IngressSpec) String ¶
func (x *IngressSpec) String() string
type IngressStatus ¶
type IngressStatus struct { // loadBalancer contains the current status of the load-balancer. // +optional LoadBalancer *IngressLoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer,proto3,oneof" json:"loadBalancer,omitempty"` // contains filtered or unexported fields }
IngressStatus describe the current state of the Ingress.
func (*IngressStatus) Descriptor
deprecated
func (*IngressStatus) Descriptor() ([]byte, []int)
Deprecated: Use IngressStatus.ProtoReflect.Descriptor instead.
func (*IngressStatus) GetLoadBalancer ¶
func (x *IngressStatus) GetLoadBalancer() *IngressLoadBalancerStatus
func (*IngressStatus) ProtoMessage ¶
func (*IngressStatus) ProtoMessage()
func (*IngressStatus) ProtoReflect ¶
func (x *IngressStatus) ProtoReflect() protoreflect.Message
func (*IngressStatus) Reset ¶
func (x *IngressStatus) Reset()
func (*IngressStatus) String ¶
func (x *IngressStatus) String() string
type IngressTLS ¶
type IngressTLS struct { // hosts is a list of hosts included in the TLS certificate. The values in // this list must match the name/s used in the tlsSecret. Defaults to the // wildcard host setting for the loadbalancer controller fulfilling this // Ingress, if left unspecified. // +listType=atomic // +optional Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // secretName is the name of the secret used to terminate TLS traffic on // port 443. Field is left optional to allow TLS routing based on SNI // hostname alone. If the SNI host in a listener conflicts with the "Host" // header field used by an IngressRule, the SNI host is used for termination // and value of the "Host" header is used for routing. // +optional SecretName *string `protobuf:"bytes,2,opt,name=secretName,proto3,oneof" json:"secretName,omitempty"` // contains filtered or unexported fields }
IngressTLS describes the transport layer security associated with an ingress.
func (*IngressTLS) Descriptor
deprecated
func (*IngressTLS) Descriptor() ([]byte, []int)
Deprecated: Use IngressTLS.ProtoReflect.Descriptor instead.
func (*IngressTLS) GetHosts ¶
func (x *IngressTLS) GetHosts() []string
func (*IngressTLS) GetSecretName ¶
func (x *IngressTLS) GetSecretName() string
func (*IngressTLS) ProtoMessage ¶
func (*IngressTLS) ProtoMessage()
func (*IngressTLS) ProtoReflect ¶
func (x *IngressTLS) ProtoReflect() protoreflect.Message
func (*IngressTLS) Reset ¶
func (x *IngressTLS) Reset()
func (*IngressTLS) String ¶
func (x *IngressTLS) String() string
type IntOrString ¶
type IntOrString struct { Type *int64 `protobuf:"varint,1,opt,name=type,proto3,oneof" json:"type,omitempty"` IntVal *int32 `protobuf:"varint,2,opt,name=intVal,proto3,oneof" json:"intVal,omitempty"` StrVal *string `protobuf:"bytes,3,opt,name=strVal,proto3,oneof" json:"strVal,omitempty"` // contains filtered or unexported fields }
func (*IntOrString) Descriptor
deprecated
func (*IntOrString) Descriptor() ([]byte, []int)
Deprecated: Use IntOrString.ProtoReflect.Descriptor instead.
func (*IntOrString) GetIntVal ¶
func (x *IntOrString) GetIntVal() int32
func (*IntOrString) GetStrVal ¶
func (x *IntOrString) GetStrVal() string
func (*IntOrString) GetType ¶
func (x *IntOrString) GetType() int64
func (*IntOrString) ProtoMessage ¶
func (*IntOrString) ProtoMessage()
func (*IntOrString) ProtoReflect ¶
func (x *IntOrString) ProtoReflect() protoreflect.Message
func (*IntOrString) Reset ¶
func (x *IntOrString) Reset()
func (*IntOrString) String ¶
func (x *IntOrString) String() string
type Job ¶
type Job struct { Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` Spec *JobSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof" json:"spec,omitempty"` Status *JobStatus `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Job) Descriptor
deprecated
func (*Job) GetMetadata ¶
func (x *Job) GetMetadata() *ObjectMeta
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
type JobCondition ¶
type JobCondition struct { // Type of job condition, Complete or Failed. Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // Last time the condition was checked. // +optional LastProbeTime *Time `protobuf:"bytes,3,opt,name=lastProbeTime,proto3,oneof" json:"lastProbeTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
func (*JobCondition) Descriptor
deprecated
func (*JobCondition) Descriptor() ([]byte, []int)
Deprecated: Use JobCondition.ProtoReflect.Descriptor instead.
func (*JobCondition) GetLastProbeTime ¶
func (x *JobCondition) GetLastProbeTime() *Time
func (*JobCondition) GetLastTransitionTime ¶
func (x *JobCondition) GetLastTransitionTime() *Time
func (*JobCondition) GetMessage ¶
func (x *JobCondition) GetMessage() string
func (*JobCondition) GetReason ¶
func (x *JobCondition) GetReason() string
func (*JobCondition) GetStatus ¶
func (x *JobCondition) GetStatus() string
func (*JobCondition) GetType ¶
func (x *JobCondition) GetType() string
func (*JobCondition) ProtoMessage ¶
func (*JobCondition) ProtoMessage()
func (*JobCondition) ProtoReflect ¶
func (x *JobCondition) ProtoReflect() protoreflect.Message
func (*JobCondition) Reset ¶
func (x *JobCondition) Reset()
func (*JobCondition) String ¶
func (x *JobCondition) String() string
type JobDetailReq ¶
type JobDetailReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*JobDetailReq) Descriptor
deprecated
func (*JobDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use JobDetailReq.ProtoReflect.Descriptor instead.
func (*JobDetailReq) GetName ¶
func (x *JobDetailReq) GetName() string
func (*JobDetailReq) GetNamespace ¶
func (x *JobDetailReq) GetNamespace() string
func (*JobDetailReq) ProtoMessage ¶
func (*JobDetailReq) ProtoMessage()
func (*JobDetailReq) ProtoReflect ¶
func (x *JobDetailReq) ProtoReflect() protoreflect.Message
func (*JobDetailReq) Reset ¶
func (x *JobDetailReq) Reset()
func (*JobDetailReq) String ¶
func (x *JobDetailReq) String() string
type JobDetailResp ¶
type JobDetailResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Job *Job `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"` // contains filtered or unexported fields }
func (*JobDetailResp) Descriptor
deprecated
func (*JobDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use JobDetailResp.ProtoReflect.Descriptor instead.
func (*JobDetailResp) GetCode ¶
func (x *JobDetailResp) GetCode() string
func (*JobDetailResp) GetJob ¶
func (x *JobDetailResp) GetJob() *Job
func (*JobDetailResp) GetMsg ¶
func (x *JobDetailResp) GetMsg() string
func (*JobDetailResp) ProtoMessage ¶
func (*JobDetailResp) ProtoMessage()
func (*JobDetailResp) ProtoReflect ¶
func (x *JobDetailResp) ProtoReflect() protoreflect.Message
func (*JobDetailResp) Reset ¶
func (x *JobDetailResp) Reset()
func (*JobDetailResp) String ¶
func (x *JobDetailResp) String() string
type JobSpec ¶
type JobSpec struct { // Specifies the maximum desired number of pods the job should // run at any given time. The actual number of pods running in steady state will // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), // i.e. when the work left to do is less than max parallelism. // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ // +optional Parallelism *int32 `protobuf:"varint,1,opt,name=parallelism,proto3,oneof" json:"parallelism,omitempty"` // Specifies the desired number of successfully finished pods the // job should be run with. Setting to null means that the success of any // pod signals the success of all pods, and allows parallelism to have any positive // value. Setting to 1 means that parallelism is limited to 1 and the success of that // pod signals the success of the job. // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ // +optional Completions *int32 `protobuf:"varint,2,opt,name=completions,proto3,oneof" json:"completions,omitempty"` // Specifies the duration in seconds relative to the startTime that the job // may be continuously active before the system tries to terminate it; value // must be positive integer. If a Job is suspended (at creation or through an // update), this timer will effectively be stopped and reset when the Job is // resumed again. // +optional ActiveDeadlineSeconds *int64 `protobuf:"varint,3,opt,name=activeDeadlineSeconds,proto3,oneof" json:"activeDeadlineSeconds,omitempty"` // Specifies the policy of handling failed pods. In particular, it allows to // specify the set of actions and conditions which need to be // satisfied to take the associated action. // If empty, the default behaviour applies - the counter of failed pods, // represented by the jobs's .status.failed field, is incremented and it is // checked against the backoffLimit. This field cannot be used in combination // with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` // feature gate is enabled (enabled by default). // +optional PodFailurePolicy *PodFailurePolicy `protobuf:"bytes,11,opt,name=podFailurePolicy,proto3,oneof" json:"podFailurePolicy,omitempty"` // Specifies the number of retries before marking this job failed. // Defaults to 6 // +optional BackoffLimit *int32 `protobuf:"varint,7,opt,name=backoffLimit,proto3,oneof" json:"backoffLimit,omitempty"` // Specifies the limit for the number of retries within an // index before marking this index as failed. When enabled the number of // failures per index is kept in the pod's // batch.kubernetes.io/job-index-failure-count annotation. It can only // be set when Job's completionMode=Indexed, and the Pod's restart // policy is Never. The field is immutable. // This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` // feature gate is enabled (disabled by default). // +optional BackoffLimitPerIndex *int32 `protobuf:"varint,12,opt,name=backoffLimitPerIndex,proto3,oneof" json:"backoffLimitPerIndex,omitempty"` // Specifies the maximal number of failed indexes before marking the Job as // failed, when backoffLimitPerIndex is set. Once the number of failed // indexes exceeds this number the entire Job is marked as Failed and its // execution is terminated. When left as null the job continues execution of // all of its indexes and is marked with the `Complete` Job condition. // It can only be specified when backoffLimitPerIndex is set. // It can be null or up to completions. It is required and must be // less than or equal to 10^4 when is completions greater than 10^5. // This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` // feature gate is enabled (disabled by default). // +optional MaxFailedIndexes *int32 `protobuf:"varint,13,opt,name=maxFailedIndexes,proto3,oneof" json:"maxFailedIndexes,omitempty"` // A label query over pods that should match the pod count. // Normally, the system sets this field for you. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors // +optional Selector *LabelSelector `protobuf:"bytes,4,opt,name=selector,proto3,oneof" json:"selector,omitempty"` // manualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. // When false or unset, the system pick labels unique to this job // and appends those labels to the pod template. When true, // the user is responsible for picking unique labels and specifying // the selector. Failure to pick a unique label may cause this // and other jobs to not function correctly. However, You may see // `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` // API. // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector // +optional ManualSelector *bool `protobuf:"varint,5,opt,name=manualSelector,proto3,oneof" json:"manualSelector,omitempty"` // Describes the pod that will be created when executing a job. // The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template *PodTemplateSpec `protobuf:"bytes,6,opt,name=template,proto3,oneof" json:"template,omitempty"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished // execution (either Complete or Failed). If this field is set, // ttlSecondsAfterFinished after the Job finishes, it is eligible to be // automatically deleted. When the Job is being deleted, its lifecycle // guarantees (e.g. finalizers) will be honored. If this field is unset, // the Job won't be automatically deleted. If this field is set to zero, // the Job becomes eligible to be deleted immediately after it finishes. // +optional TtlSecondsAfterFinished *int32 `protobuf:"varint,8,opt,name=ttlSecondsAfterFinished,proto3,oneof" json:"ttlSecondsAfterFinished,omitempty"` // completionMode specifies how Pod completions are tracked. It can be // `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have // been .spec.completions successfully completed Pods. Each Pod completion is // homologous to each other. // // `Indexed` means that the Pods of a // Job get an associated completion index from 0 to (.spec.completions - 1), // available in the annotation batch.kubernetes.io/job-completion-index. // The Job is considered complete when there is one successfully completed Pod // for each index. // When value is `Indexed`, .spec.completions must be specified and // `.spec.parallelism` must be less than or equal to 10^5. // In addition, The Pod name takes the form // `$(job-name)-$(index)-$(random-string)`, // the Pod hostname takes the form `$(job-name)-$(index)`. // // More completion modes can be added in the future. // If the Job controller observes a mode that it doesn't recognize, which // is possible during upgrades due to version skew, the controller // skips updates for the Job. // +optional CompletionMode *string `protobuf:"bytes,9,opt,name=completionMode,proto3,oneof" json:"completionMode,omitempty"` // suspend specifies whether the Job controller should create Pods or not. If // a Job is created with suspend set to true, no Pods are created by the Job // controller. If a Job is suspended after creation (i.e. the flag goes from // false to true), the Job controller will delete all active Pods associated // with this Job. Users must design their workload to gracefully handle this. // Suspending a Job will reset the StartTime field of the Job, effectively // resetting the ActiveDeadlineSeconds timer too. Defaults to false. // // +optional Suspend *bool `protobuf:"varint,10,opt,name=suspend,proto3,oneof" json:"suspend,omitempty"` // podReplacementPolicy specifies when to create replacement Pods. // Possible values are: // - TerminatingOrFailed means that we recreate pods // when they are terminating (has a metadata.deletionTimestamp) or failed. // - Failed means to wait until a previously created Pod is fully terminated (has phase // Failed or Succeeded) before creating a replacement Pod. // // When using podFailurePolicy, Failed is the the only allowed value. // TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. // This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field. // +optional PodReplacementPolicy *string `protobuf:"bytes,14,opt,name=podReplacementPolicy,proto3,oneof" json:"podReplacementPolicy,omitempty"` // contains filtered or unexported fields }
func (*JobSpec) Descriptor
deprecated
func (*JobSpec) GetActiveDeadlineSeconds ¶
func (*JobSpec) GetBackoffLimit ¶
func (*JobSpec) GetBackoffLimitPerIndex ¶
func (*JobSpec) GetCompletionMode ¶
func (*JobSpec) GetCompletions ¶
func (*JobSpec) GetManualSelector ¶
func (*JobSpec) GetMaxFailedIndexes ¶
func (*JobSpec) GetParallelism ¶
func (*JobSpec) GetPodFailurePolicy ¶
func (x *JobSpec) GetPodFailurePolicy() *PodFailurePolicy
func (*JobSpec) GetPodReplacementPolicy ¶
func (*JobSpec) GetSelector ¶
func (x *JobSpec) GetSelector() *LabelSelector
func (*JobSpec) GetSuspend ¶
func (*JobSpec) GetTemplate ¶
func (x *JobSpec) GetTemplate() *PodTemplateSpec
func (*JobSpec) GetTtlSecondsAfterFinished ¶
func (*JobSpec) ProtoMessage ¶
func (*JobSpec) ProtoMessage()
func (*JobSpec) ProtoReflect ¶
func (x *JobSpec) ProtoReflect() protoreflect.Message
type JobStatus ¶
type JobStatus struct { // The latest available observations of an object's current state. When a Job // fails, one of the conditions will have type "Failed" and status true. When // a Job is suspended, one of the conditions will have type "Suspended" and // status true; when the Job is resumed, the status of this condition will // become false. When a Job is completed, one of the conditions will have // type "Complete" and status true. // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ // +optional // +patchMergeKey=type // +patchStrategy=merge // +listType=atomic Conditions []*JobCondition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` // Represents time when the job controller started processing a job. When a // Job is created in the suspended state, this field is not set until the // first time it is resumed. This field is reset every time a Job is resumed // from suspension. It is represented in RFC3339 form and is in UTC. // +optional StartTime *Time `protobuf:"bytes,2,opt,name=startTime,proto3,oneof" json:"startTime,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // The completion time is only set when the job finishes successfully. // +optional CompletionTime *Time `protobuf:"bytes,3,opt,name=completionTime,proto3,oneof" json:"completionTime,omitempty"` // The number of pending and running pods. // +optional Active *int32 `protobuf:"varint,4,opt,name=active,proto3,oneof" json:"active,omitempty"` // The number of pods which reached phase Succeeded. // +optional Succeeded *int32 `protobuf:"varint,5,opt,name=succeeded,proto3,oneof" json:"succeeded,omitempty"` // The number of pods which reached phase Failed. // +optional Failed *int32 `protobuf:"varint,6,opt,name=failed,proto3,oneof" json:"failed,omitempty"` // The number of pods which are terminating (in phase Pending or Running // and have a deletionTimestamp). // // This field is alpha-level. The job controller populates the field when // the feature gate JobPodReplacementPolicy is enabled (disabled by default). // +optional Terminating *int32 `protobuf:"varint,11,opt,name=terminating,proto3,oneof" json:"terminating,omitempty"` // completedIndexes holds the completed indexes when .spec.completionMode = // "Indexed" in a text format. The indexes are represented as decimal integers // separated by commas. The numbers are listed in increasing order. Three or // more consecutive numbers are compressed and represented by the first and // last element of the series, separated by a hyphen. // For example, if the completed indexes are 1, 3, 4, 5 and 7, they are // represented as "1,3-5,7". // +optional CompletedIndexes *string `protobuf:"bytes,7,opt,name=completedIndexes,proto3,oneof" json:"completedIndexes,omitempty"` // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. // The indexes are represented in the text format analogous as for the // `completedIndexes` field, ie. they are kept as decimal integers // separated by commas. The numbers are listed in increasing order. Three or // more consecutive numbers are compressed and represented by the first and // last element of the series, separated by a hyphen. // For example, if the failed indexes are 1, 3, 4, 5 and 7, they are // represented as "1,3-5,7". // This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` // feature gate is enabled (disabled by default). // +optional FailedIndexes *string `protobuf:"bytes,10,opt,name=failedIndexes,proto3,oneof" json:"failedIndexes,omitempty"` // uncountedTerminatedPods holds the UIDs of Pods that have terminated but // the job controller hasn't yet accounted for in the status counters. // // The job controller creates pods with a finalizer. When a pod terminates // (succeeded or failed), the controller does three steps to account for it // in the job status: // // 1. Add the pod UID to the arrays in this field. // 2. Remove the pod finalizer. // 3. Remove the pod UID from the arrays while increasing the corresponding // counter. // // Old jobs might not be tracked using this field, in which case the field // remains null. // +optional UncountedTerminatedPods *UncountedTerminatedPods `protobuf:"bytes,8,opt,name=uncountedTerminatedPods,proto3,oneof" json:"uncountedTerminatedPods,omitempty"` // The number of pods which have a Ready condition. // // This field is beta-level. The job controller populates the field when // the feature gate JobReadyPods is enabled (enabled by default). // +optional Ready *int32 `protobuf:"varint,9,opt,name=ready,proto3,oneof" json:"ready,omitempty"` // contains filtered or unexported fields }
func (*JobStatus) Descriptor
deprecated
func (*JobStatus) GetCompletedIndexes ¶
func (*JobStatus) GetCompletionTime ¶
func (*JobStatus) GetConditions ¶
func (x *JobStatus) GetConditions() []*JobCondition
func (*JobStatus) GetFailedIndexes ¶
func (*JobStatus) GetStartTime ¶
func (*JobStatus) GetSucceeded ¶
func (*JobStatus) GetTerminating ¶
func (*JobStatus) GetUncountedTerminatedPods ¶
func (x *JobStatus) GetUncountedTerminatedPods() *UncountedTerminatedPods
func (*JobStatus) ProtoMessage ¶
func (*JobStatus) ProtoMessage()
func (*JobStatus) ProtoReflect ¶
func (x *JobStatus) ProtoReflect() protoreflect.Message
type KeyToPath ¶
type KeyToPath struct { // key is the key to project. Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"mode,omitempty"` // contains filtered or unexported fields }
Maps a string key to a path within a volume.
func (*KeyToPath) Descriptor
deprecated
func (*KeyToPath) ProtoMessage ¶
func (*KeyToPath) ProtoMessage()
func (*KeyToPath) ProtoReflect ¶
func (x *KeyToPath) ProtoReflect() protoreflect.Message
type KubernetesClient ¶
type KubernetesClient interface { ApplyYaml(ctx context.Context, in *ApplyReq, opts ...grpc.CallOption) (*ApplyResp, error) DeleteYaml(ctx context.Context, in *ApplyReq, opts ...grpc.CallOption) (*Resp, error) Get(ctx context.Context, in *GetReq, opts ...grpc.CallOption) (*Resp, error) List(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*Resp, error) PodList(ctx context.Context, in *PodListReq, opts ...grpc.CallOption) (*ListPodResp, error) JobDetail(ctx context.Context, in *JobDetailReq, opts ...grpc.CallOption) (*JobDetailResp, error) DeploymentDetail(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*DeploymentDetailResp, error) // 暂停POD PauseDeployment(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*Resp, error) // 启动deployment StartDeployment(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*Resp, error) // 重启deployment RestartDeployment(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*Resp, error) // 删除deployment DeleteDeployment(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*Resp, error) // 列表deployment ListDeployment(ctx context.Context, in *DeploymentListReq, opts ...grpc.CallOption) (*DeploymentListResp, error) // 删除App (sealos) DelApp(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*Resp, error) // 获取应用 GetAppByAppName(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*AppJsonResp, error) // 更新应用实例数 UpdateDeploymentReplica(ctx context.Context, in *UpdateDeploymentReplicaReq, opts ...grpc.CallOption) (*DeploymentResp, error) // 查询所有namespace输出转换为tenant (sealos) ListNamespace(ctx context.Context, in *NamespaceListReq, opts ...grpc.CallOption) (*TenantListResp, error) // 查询app详情 GetAppDetail(ctx context.Context, in *AppDetailReq, opts ...grpc.CallOption) (*AppDetailResp, error) // 获取应用的Pod GetAppPodsByAppName(ctx context.Context, in *AppDetailReq, opts ...grpc.CallOption) (*PodDetailResp, error) // 重启sts RestartStatefulSet(ctx context.Context, in *DeploymentDetailReq, opts ...grpc.CallOption) (*Resp, error) }
KubernetesClient is the client API for Kubernetes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKubernetesClient ¶
func NewKubernetesClient(cc grpc.ClientConnInterface) KubernetesClient
type KubernetesServer ¶
type KubernetesServer interface { ApplyYaml(context.Context, *ApplyReq) (*ApplyResp, error) DeleteYaml(context.Context, *ApplyReq) (*Resp, error) Get(context.Context, *GetReq) (*Resp, error) List(context.Context, *ListReq) (*Resp, error) PodList(context.Context, *PodListReq) (*ListPodResp, error) JobDetail(context.Context, *JobDetailReq) (*JobDetailResp, error) DeploymentDetail(context.Context, *DeploymentDetailReq) (*DeploymentDetailResp, error) // 暂停POD PauseDeployment(context.Context, *DeploymentDetailReq) (*Resp, error) // 启动deployment StartDeployment(context.Context, *DeploymentDetailReq) (*Resp, error) // 重启deployment RestartDeployment(context.Context, *DeploymentDetailReq) (*Resp, error) // 删除deployment DeleteDeployment(context.Context, *DeploymentDetailReq) (*Resp, error) // 列表deployment ListDeployment(context.Context, *DeploymentListReq) (*DeploymentListResp, error) // 删除App (sealos) DelApp(context.Context, *DeploymentDetailReq) (*Resp, error) // 获取应用 GetAppByAppName(context.Context, *DeploymentDetailReq) (*AppJsonResp, error) // 更新应用实例数 UpdateDeploymentReplica(context.Context, *UpdateDeploymentReplicaReq) (*DeploymentResp, error) // 查询所有namespace输出转换为tenant (sealos) ListNamespace(context.Context, *NamespaceListReq) (*TenantListResp, error) // 查询app详情 GetAppDetail(context.Context, *AppDetailReq) (*AppDetailResp, error) // 获取应用的Pod GetAppPodsByAppName(context.Context, *AppDetailReq) (*PodDetailResp, error) // 重启sts RestartStatefulSet(context.Context, *DeploymentDetailReq) (*Resp, error) // contains filtered or unexported methods }
KubernetesServer is the server API for Kubernetes service. All implementations must embed UnimplementedKubernetesServer for forward compatibility
type LabelSelector ¶
type LabelSelector struct { // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels // map is equivalent to an element of matchExpressions, whose key field is "key", the // operator is "In", and the values array contains only "value". The requirements are ANDed. // +optional MatchLabels map[string]string `` /* 163-byte string literal not displayed */ // matchExpressions is a list of label selector requirements. The requirements are ANDed. // +optional MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"` // contains filtered or unexported fields }
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. +structType=atomic
func (*LabelSelector) Descriptor
deprecated
func (*LabelSelector) Descriptor() ([]byte, []int)
Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.
func (*LabelSelector) GetMatchExpressions ¶
func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement
func (*LabelSelector) GetMatchLabels ¶
func (x *LabelSelector) GetMatchLabels() map[string]string
func (*LabelSelector) ProtoMessage ¶
func (*LabelSelector) ProtoMessage()
func (*LabelSelector) ProtoReflect ¶
func (x *LabelSelector) ProtoReflect() protoreflect.Message
func (*LabelSelector) Reset ¶
func (x *LabelSelector) Reset()
func (*LabelSelector) String ¶
func (x *LabelSelector) String() string
type LabelSelectorRequirement ¶
type LabelSelectorRequirement struct { // key is the label key that the selector applies to. Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"` // operator represents a key's relationship to a set of values. // Valid operators are In, NotIn, Exists and DoesNotExist. Operator *string `protobuf:"bytes,2,opt,name=operator,proto3,oneof" json:"operator,omitempty"` // values is 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,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
func (*LabelSelectorRequirement) Descriptor
deprecated
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int)
Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.
func (*LabelSelectorRequirement) GetKey ¶
func (x *LabelSelectorRequirement) GetKey() string
func (*LabelSelectorRequirement) GetOperator ¶
func (x *LabelSelectorRequirement) GetOperator() string
func (*LabelSelectorRequirement) GetValues ¶
func (x *LabelSelectorRequirement) GetValues() []string
func (*LabelSelectorRequirement) ProtoMessage ¶
func (*LabelSelectorRequirement) ProtoMessage()
func (*LabelSelectorRequirement) ProtoReflect ¶
func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message
func (*LabelSelectorRequirement) Reset ¶
func (x *LabelSelectorRequirement) Reset()
func (*LabelSelectorRequirement) String ¶
func (x *LabelSelectorRequirement) 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,proto3,oneof" 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,proto3,oneof" 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) 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
type LifecycleHandler ¶
type LifecycleHandler struct { // Exec specifies the action to take. // +optional Exec *ExecAction `protobuf:"bytes,1,opt,name=exec,proto3,oneof" json:"exec,omitempty"` // HTTPGet specifies the http request to perform. // +optional HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet,proto3,oneof" 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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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() *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,proto3,oneof" json:"type,omitempty"` // Max usage constraints on this kind by resource name. // +optional Max map[string]*Quantity `` /* 147-byte string literal not displayed */ // Min usage constraints on this kind by resource name. // +optional Min map[string]*Quantity `` /* 147-byte string literal not displayed */ // Default resource requirement limit value by resource name if resource limit is omitted. // +optional Default map[string]*Quantity `` /* 155-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]*Quantity `` /* 169-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]*Quantity `` /* 181-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]*Quantity
func (*LimitRangeItem) GetDefaultRequest ¶
func (x *LimitRangeItem) GetDefaultRequest() map[string]*Quantity
func (*LimitRangeItem) GetMax ¶
func (x *LimitRangeItem) GetMax() map[string]*Quantity
func (*LimitRangeItem) GetMaxLimitRequestRatio ¶
func (x *LimitRangeItem) GetMaxLimitRequestRatio() map[string]*Quantity
func (*LimitRangeItem) GetMin ¶
func (x *LimitRangeItem) GetMin() map[string]*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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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() *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,proto3" 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of objects Items []*RawExtension `protobuf:"bytes,2,rep,name=items,proto3" 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) GetItems ¶
func (x *List) GetItems() []*RawExtension
func (*List) GetMetadata ¶
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
type ListMeta ¶
type ListMeta struct { // Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. // +optional SelfLink *string `protobuf:"bytes,1,opt,name=selfLink,proto3,oneof" json:"selfLink,omitempty"` // String that identifies the server's internal version of this object that // can be used by clients to determine when objects have changed. // Value must be treated as opaque by clients and passed unmodified back to the server. // Populated by the system. // Read-only. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency // +optional ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion,proto3,oneof" json:"resourceVersion,omitempty"` // continue may be set if the user set a limit on the number of items returned, and indicates that // the server has more data available. The value is opaque and may be used to issue another request // to the endpoint that served this list to retrieve the next set of available objects. Continuing a // consistent list may not be possible if the server configuration has changed or more than a few // minutes have passed. The resourceVersion field returned when using this continue value will be // identical to the value in the first response, unless you have received this token from an error // message. Continue *string `protobuf:"bytes,3,opt,name=continue,proto3,oneof" json:"continue,omitempty"` // remainingItemCount is the number of subsequent items in the list which are not included in this // list response. If the list request contained label or field selectors, then the number of // remaining items is unknown and the field will be left unset and omitted during serialization. // If the list is complete (either because it is not chunking or because this is the last chunk), // then there are no more remaining items and this field will be left unset and omitted during // serialization. // Servers older than v1.15 do not set this field. // The intended use of the remainingItemCount is *estimating* the size of a collection. Clients // should not rely on the remainingItemCount to be set or to be exact. // +optional RemainingItemCount *int64 `protobuf:"varint,4,opt,name=remainingItemCount,proto3,oneof" json:"remainingItemCount,omitempty"` // contains filtered or unexported fields }
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
func (*ListMeta) Descriptor
deprecated
func (*ListMeta) GetContinue ¶
func (*ListMeta) GetRemainingItemCount ¶
func (*ListMeta) GetResourceVersion ¶
func (*ListMeta) GetSelfLink ¶
func (*ListMeta) ProtoMessage ¶
func (*ListMeta) ProtoMessage()
func (*ListMeta) ProtoReflect ¶
func (x *ListMeta) ProtoReflect() protoreflect.Message
type ListOptions ¶
type ListOptions struct { // A selector to restrict the list of returned objects by their labels. // Defaults to everything. // +optional LabelSelector *string `protobuf:"bytes,1,opt,name=labelSelector,proto3,oneof" json:"labelSelector,omitempty"` // A selector to restrict the list of returned objects by their fields. // Defaults to everything. // +optional FieldSelector *string `protobuf:"bytes,2,opt,name=fieldSelector,proto3,oneof" json:"fieldSelector,omitempty"` // Watch for changes to the described resources and return them as a stream of // add, update, and remove notifications. Specify resourceVersion. // +optional Watch *bool `protobuf:"varint,3,opt,name=watch,proto3,oneof" json:"watch,omitempty"` // allowWatchBookmarks requests watch events with type "BOOKMARK". // Servers that do not implement bookmarks may ignore this flag and // bookmarks are sent at the server's discretion. Clients should not // assume bookmarks are returned at any specific interval, nor may they // assume the server will send any BOOKMARK event during a session. // If this is not a watch, this field is ignored. // +optional AllowWatchBookmarks *bool `protobuf:"varint,9,opt,name=allowWatchBookmarks,proto3,oneof" json:"allowWatchBookmarks,omitempty"` // resourceVersion sets a constraint on what resource versions a request may be served from. // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for // details. // // Defaults to unset // +optional ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion,proto3,oneof" json:"resourceVersion,omitempty"` // resourceVersionMatch determines how resourceVersion is applied to list calls. // It is highly recommended that resourceVersionMatch be set for list calls where // resourceVersion is set // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for // details. // // Defaults to unset // +optional ResourceVersionMatch *string `protobuf:"bytes,10,opt,name=resourceVersionMatch,proto3,oneof" json:"resourceVersionMatch,omitempty"` // Timeout for the list/watch call. // This limits the duration of the call, regardless of any activity or inactivity. // +optional TimeoutSeconds *int64 `protobuf:"varint,5,opt,name=timeoutSeconds,proto3,oneof" json:"timeoutSeconds,omitempty"` // limit is a maximum number of responses to return for a list call. If more items exist, the // server will set the `continue` field on the list metadata to a value that can be used with the // same initial query to retrieve the next set of results. Setting a limit may return fewer than // the requested amount of items (up to zero items) in the event all requested objects are // filtered out and clients should only use the presence of the continue field to determine whether // more results are available. Servers may choose not to support the limit argument and will return // all of the available results. If limit is specified and the continue field is empty, clients may // assume that no more results are available. This field is not supported if watch is true. // // The server guarantees that the objects returned when using continue will be identical to issuing // a single list call without a limit - that is, no objects created, modified, or deleted after the // first request is issued will be included in any subsequent continued requests. This is sometimes // referred to as a consistent snapshot, and ensures that a client that is using limit to receive // smaller chunks of a very large result can ensure they see all possible objects. If objects are // updated during a chunked list the version of the object that was present at the time the first list // result was calculated is returned. Limit *int64 `protobuf:"varint,7,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // The continue option should be set when retrieving more results from the server. Since this value is // server defined, clients may only use the continue value from a previous query result with identical // query parameters (except for the value of continue) and the server may reject a continue value it // does not recognize. If the specified continue value is no longer valid whether due to expiration // (generally five to fifteen minutes) or a configuration change on the server, the server will // respond with a 410 ResourceExpired error together with a continue token. If the client needs a // consistent list, it must restart their list without the continue field. Otherwise, the client may // send another list request with the token received with the 410 error, the server will respond with // a list starting from the next key, but from the latest snapshot, which is inconsistent from the // previous list results - objects that are created, modified, or deleted after the first list request // will be included in the response, as long as their keys are after the "next key". // // This field is not supported when watch is true. Clients may start a watch from the last // resourceVersion value returned by the server and not miss any modifications. Continue *string `protobuf:"bytes,8,opt,name=continue,proto3,oneof" json:"continue,omitempty"` // `sendInitialEvents=true` may be set together with `watch=true`. // In that case, the watch stream will begin with synthetic events to // produce the current state of objects in the collection. Once all such // events have been sent, a synthetic "Bookmark" event will be sent. // The bookmark will report the ResourceVersion (RV) corresponding to the // set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. // Afterwards, the watch stream will proceed as usual, sending watch events // corresponding to changes (subsequent to the RV) to objects watched. // // When `sendInitialEvents` option is set, we require `resourceVersionMatch` // option to also be set. The semantic of the watch request is as following: // - `resourceVersionMatch` = NotOlderThan // is interpreted as "data at least as new as the provided `resourceVersion`" // and the bookmark event is send when the state is synced // to a `resourceVersion` at least as fresh as the one provided by the ListOptions. // If `resourceVersion` is unset, this is interpreted as "consistent read" and the // bookmark event is send when the state is synced at least to the moment // when request started being processed. // - `resourceVersionMatch` set to any other value or unset // Invalid error is returned. // // Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward // compatibility reasons) and to false otherwise. // +optional SendInitialEvents *bool `protobuf:"varint,11,opt,name=sendInitialEvents,proto3,oneof" json:"sendInitialEvents,omitempty"` // contains filtered or unexported fields }
ListOptions is the query options to a standard REST list call.
func (*ListOptions) Descriptor
deprecated
func (*ListOptions) Descriptor() ([]byte, []int)
Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
func (*ListOptions) GetAllowWatchBookmarks ¶
func (x *ListOptions) GetAllowWatchBookmarks() bool
func (*ListOptions) GetContinue ¶
func (x *ListOptions) GetContinue() string
func (*ListOptions) GetFieldSelector ¶
func (x *ListOptions) GetFieldSelector() string
func (*ListOptions) GetLabelSelector ¶
func (x *ListOptions) GetLabelSelector() string
func (*ListOptions) GetLimit ¶
func (x *ListOptions) GetLimit() int64
func (*ListOptions) GetResourceVersion ¶
func (x *ListOptions) GetResourceVersion() string
func (*ListOptions) GetResourceVersionMatch ¶
func (x *ListOptions) GetResourceVersionMatch() string
func (*ListOptions) GetSendInitialEvents ¶
func (x *ListOptions) GetSendInitialEvents() bool
func (*ListOptions) GetTimeoutSeconds ¶
func (x *ListOptions) GetTimeoutSeconds() int64
func (*ListOptions) GetWatch ¶
func (x *ListOptions) GetWatch() bool
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) ProtoReflect ¶
func (x *ListOptions) ProtoReflect() protoreflect.Message
func (*ListOptions) Reset ¶
func (x *ListOptions) Reset()
func (*ListOptions) String ¶
func (x *ListOptions) String() string
type ListPodResp ¶
type ListPodResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` PodList *PodList `protobuf:"bytes,3,opt,name=podList,proto3" json:"podList,omitempty"` // contains filtered or unexported fields }
func (*ListPodResp) Descriptor
deprecated
func (*ListPodResp) Descriptor() ([]byte, []int)
Deprecated: Use ListPodResp.ProtoReflect.Descriptor instead.
func (*ListPodResp) GetCode ¶
func (x *ListPodResp) GetCode() string
func (*ListPodResp) GetMsg ¶
func (x *ListPodResp) GetMsg() string
func (*ListPodResp) GetPodList ¶
func (x *ListPodResp) GetPodList() *PodList
func (*ListPodResp) ProtoMessage ¶
func (*ListPodResp) ProtoMessage()
func (*ListPodResp) ProtoReflect ¶
func (x *ListPodResp) ProtoReflect() protoreflect.Message
func (*ListPodResp) Reset ¶
func (x *ListPodResp) Reset()
func (*ListPodResp) String ¶
func (x *ListPodResp) String() string
type ListReq ¶
type ListReq struct { YamlString string `protobuf:"bytes,1,opt,name=yamlString,proto3" json:"yamlString,omitempty"` // contains filtered or unexported fields }
func (*ListReq) Descriptor
deprecated
func (*ListReq) GetYamlString ¶
func (*ListReq) ProtoMessage ¶
func (*ListReq) ProtoMessage()
func (*ListReq) ProtoReflect ¶
func (x *ListReq) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" json:"hostname,omitempty"` // IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. // Setting this to "VIP" indicates that traffic is delivered to the node with // the destination set to the load-balancer's IP and port. // Setting this to "Proxy" indicates that traffic is delivered to the node or pod with // the destination set to the node's IP and node port or the pod's IP and port. // Service implementations may use this information to adjust traffic routing. // +optional IpMode *string `protobuf:"bytes,3,opt,name=ipMode,proto3,oneof" json:"ipMode,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,proto3" 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) GetIpMode ¶
func (x *LoadBalancerIngress) GetIpMode() 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 ManagedFieldsEntry ¶
type ManagedFieldsEntry struct { // Manager is an identifier of the workflow managing these fields. Manager *string `protobuf:"bytes,1,opt,name=manager,proto3,oneof" json:"manager,omitempty"` // Operation is the type of operation which lead to this ManagedFieldsEntry being created. // The only valid values for this field are 'Apply' and 'Update'. Operation *string `protobuf:"bytes,2,opt,name=operation,proto3,oneof" json:"operation,omitempty"` // APIVersion defines the version of this resource that this field set // applies to. The format is "group/version" just like the top-level // APIVersion field. It is necessary to track the version of a field // set because it cannot be automatically converted. ApiVersion *string `protobuf:"bytes,3,opt,name=apiVersion,proto3,oneof" json:"apiVersion,omitempty"` // Time is the timestamp of when the ManagedFields entry was added. The // timestamp will also be updated if a field is added, the manager // changes any of the owned fields value or removes a field. The // timestamp does not update when a field is removed from the entry // because another manager took it over. // +optional Time *Time `protobuf:"bytes,4,opt,name=time,proto3,oneof" json:"time,omitempty"` // FieldsType is the discriminator for the different fields format and version. // There is currently only one possible value: "FieldsV1" FieldsType *string `protobuf:"bytes,6,opt,name=fieldsType,proto3,oneof" json:"fieldsType,omitempty"` // FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. // +optional FieldsV1 *FieldsV1 `protobuf:"bytes,7,opt,name=fieldsV1,proto3,oneof" json:"fieldsV1,omitempty"` // Subresource is the name of the subresource used to update that object, or // empty string if the object was updated through the main resource. The // value of this field is used to distinguish between managers, even if they // share the same name. For example, a status update will be distinct from a // regular update using the same manager name. // Note that the APIVersion field is not related to the Subresource field and // it always corresponds to the version of the main resource. Subresource *string `protobuf:"bytes,8,opt,name=subresource,proto3,oneof" json:"subresource,omitempty"` // contains filtered or unexported fields }
ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
func (*ManagedFieldsEntry) Descriptor
deprecated
func (*ManagedFieldsEntry) Descriptor() ([]byte, []int)
Deprecated: Use ManagedFieldsEntry.ProtoReflect.Descriptor instead.
func (*ManagedFieldsEntry) GetApiVersion ¶
func (x *ManagedFieldsEntry) GetApiVersion() string
func (*ManagedFieldsEntry) GetFieldsType ¶
func (x *ManagedFieldsEntry) GetFieldsType() string
func (*ManagedFieldsEntry) GetFieldsV1 ¶
func (x *ManagedFieldsEntry) GetFieldsV1() *FieldsV1
func (*ManagedFieldsEntry) GetManager ¶
func (x *ManagedFieldsEntry) GetManager() string
func (*ManagedFieldsEntry) GetOperation ¶
func (x *ManagedFieldsEntry) GetOperation() string
func (*ManagedFieldsEntry) GetSubresource ¶
func (x *ManagedFieldsEntry) GetSubresource() string
func (*ManagedFieldsEntry) GetTime ¶
func (x *ManagedFieldsEntry) GetTime() *Time
func (*ManagedFieldsEntry) ProtoMessage ¶
func (*ManagedFieldsEntry) ProtoMessage()
func (*ManagedFieldsEntry) ProtoReflect ¶
func (x *ManagedFieldsEntry) ProtoReflect() protoreflect.Message
func (*ManagedFieldsEntry) Reset ¶
func (x *ManagedFieldsEntry) Reset()
func (*ManagedFieldsEntry) String ¶
func (x *ManagedFieldsEntry) String() string
type MicroTime ¶
type MicroTime struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds *int64 `protobuf:"varint,1,opt,name=seconds,proto3,oneof" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. This field may be limited in precision depending on context. Nanos *int32 `protobuf:"varint,2,opt,name=nanos,proto3,oneof" json:"nanos,omitempty"` // contains filtered or unexported fields }
MicroTime is version of Time with microsecond level precision.
+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false
func (*MicroTime) Descriptor
deprecated
func (*MicroTime) GetSeconds ¶
func (*MicroTime) ProtoMessage ¶
func (*MicroTime) ProtoMessage()
func (*MicroTime) ProtoReflect ¶
func (x *MicroTime) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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) GetMetadata ¶
func (x *Namespace) GetMetadata() *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
type NamespaceCondition ¶
type NamespaceCondition struct { // Type of namespace controller condition. Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // +optional LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // +optional Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // +optional Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" 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() *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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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() *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 NamespaceListReq ¶
type NamespaceListReq struct { TenantType string `protobuf:"bytes,1,opt,name=tenantType,proto3" json:"tenantType,omitempty"` // contains filtered or unexported fields }
func (*NamespaceListReq) Descriptor
deprecated
func (*NamespaceListReq) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceListReq.ProtoReflect.Descriptor instead.
func (*NamespaceListReq) GetTenantType ¶
func (x *NamespaceListReq) GetTenantType() string
func (*NamespaceListReq) ProtoMessage ¶
func (*NamespaceListReq) ProtoMessage()
func (*NamespaceListReq) ProtoReflect ¶
func (x *NamespaceListReq) ProtoReflect() protoreflect.Message
func (*NamespaceListReq) Reset ¶
func (x *NamespaceListReq) Reset()
func (*NamespaceListReq) String ¶
func (x *NamespaceListReq) 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,proto3" 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,proto3,oneof" 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,proto3" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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) GetMetadata ¶
func (x *Node) GetMetadata() *ObjectMeta
func (*Node) GetStatus ¶
func (x *Node) GetStatus() *NodeStatus
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeAddress ¶
type NodeAddress struct { // Node address type, one of Hostname, ExternalIP or InternalIP. Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // The node address. Address *string `protobuf:"bytes,2,opt,name=address,proto3,oneof" 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 `` /* 151-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 `` /* 147-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,proto3,oneof" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // Last time we got an update on a given condition. // +optional LastHeartbeatTime *Time `protobuf:"bytes,3,opt,name=lastHeartbeatTime,proto3,oneof" json:"lastHeartbeatTime,omitempty"` // Last time the condition transit from one status to another. // +optional LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // (brief) reason for the condition's last transition. // +optional Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Human readable message indicating details about last transition. // +optional Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
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() *Time
func (*NodeCondition) GetLastTransitionTime ¶
func (x *NodeCondition) GetLastTransitionTime() *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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"lastKnownGood,omitempty"` Error *string `protobuf:"bytes,4,opt,name=error,proto3,oneof" 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,proto3,oneof" 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 { Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of nodes Items []*Node `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*NodeList) Descriptor
deprecated
func (*NodeList) GetMetadata ¶
func (*NodeList) ProtoMessage ¶
func (*NodeList) ProtoMessage()
func (*NodeList) ProtoReflect ¶
func (x *NodeList) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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]*Quantity `` /* 157-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]*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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3" json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. // +optional MatchFields []*NodeSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields,proto3" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" json:"unschedulable,omitempty"` // If specified, the node's taints. // +optional Taints []*Taint `protobuf:"bytes,5,rep,name=taints,proto3" 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,proto3,oneof" 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,proto3,oneof" json:"externalID,omitempty"` // contains filtered or unexported fields }
NodeSpec describes the attributes that a node is created with.
func (*NodeSpec) Descriptor
deprecated
func (*NodeSpec) GetConfigSource ¶
func (x *NodeSpec) GetConfigSource() *NodeConfigSource
func (*NodeSpec) GetExternalID ¶
func (*NodeSpec) GetPodCIDR ¶
func (*NodeSpec) GetPodCIDRs ¶
func (*NodeSpec) GetProviderID ¶
func (*NodeSpec) GetUnschedulable ¶
func (*NodeSpec) ProtoMessage ¶
func (*NodeSpec) ProtoMessage()
func (*NodeSpec) ProtoReflect ¶
func (x *NodeSpec) ProtoReflect() protoreflect.Message
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]*Quantity `` /* 157-byte string literal not displayed */ // Allocatable represents the resources of a node that are available for scheduling. // Defaults to Capacity. // +optional Allocatable map[string]*Quantity `` /* 163-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,proto3,oneof" 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,proto3" 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,proto3" json:"addresses,omitempty"` // Endpoints of daemons running on the Node. // +optional DaemonEndpoints *NodeDaemonEndpoints `protobuf:"bytes,6,opt,name=daemonEndpoints,proto3,oneof" 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,proto3,oneof" json:"nodeInfo,omitempty"` // List of container images on this node // +optional Images []*ContainerImage `protobuf:"bytes,8,rep,name=images,proto3" json:"images,omitempty"` // List of attachable volumes in use (mounted) by the node. // +optional VolumesInUse []string `protobuf:"bytes,9,rep,name=volumesInUse,proto3" json:"volumesInUse,omitempty"` // List of volumes that are attached to the node. // +optional VolumesAttached []*AttachedVolume `protobuf:"bytes,10,rep,name=volumesAttached,proto3" 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,proto3,oneof" 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]*Quantity
func (*NodeStatus) GetCapacity ¶
func (x *NodeStatus) GetCapacity() map[string]*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,proto3,oneof" 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,proto3,oneof" json:"systemUUID,omitempty"` // Boot ID reported by the node. BootID *string `protobuf:"bytes,3,opt,name=bootID,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"containerRuntimeVersion,omitempty"` // Kubelet Version reported by the node. KubeletVersion *string `protobuf:"bytes,7,opt,name=kubeletVersion,proto3,oneof" json:"kubeletVersion,omitempty"` // KubeProxy Version reported by the node. KubeProxyVersion *string `protobuf:"bytes,8,opt,name=kubeProxyVersion,proto3,oneof" json:"kubeProxyVersion,omitempty"` // The Operating System reported by the node OperatingSystem *string `protobuf:"bytes,9,opt,name=operatingSystem,proto3,oneof" json:"operatingSystem,omitempty"` // The Architecture reported by the node Architecture *string `protobuf:"bytes,10,opt,name=architecture,proto3,oneof" 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,proto3,oneof" json:"apiVersion,omitempty"` // Path of the field to select in the specified API version. FieldPath *string `protobuf:"bytes,2,opt,name=fieldPath,proto3,oneof" 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 ObjectMeta ¶
type ObjectMeta struct { // Name must be unique within a namespace. Is required when creating resources, although // some resources may allow a client to request the generation of an appropriate name // automatically. Name is primarily intended for creation idempotence and configuration // definition. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names // +optional Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // GenerateName is an optional prefix, used by the server, to generate a unique // name ONLY IF the Name field has not been provided. // If this field is used, the name returned to the client will be different // than the name passed. This value will also be combined with a unique suffix. // The provided value has the same validation rules as the Name field, // and may be truncated by the length of the suffix required to make the value // unique on the server. // // If this field is specified and the generated name exists, the server will return a 409. // // Applied only if Name is not specified. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency // +optional GenerateName *string `protobuf:"bytes,2,opt,name=generateName,proto3,oneof" json:"generateName,omitempty"` // Namespace defines the space within which each name must be unique. An empty namespace is // equivalent to the "default" namespace, but "default" is the canonical representation. // Not all objects are required to be scoped to a namespace - the value of this field for // those objects will be empty. // // Must be a DNS_LABEL. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces // +optional Namespace *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. // +optional SelfLink *string `protobuf:"bytes,4,opt,name=selfLink,proto3,oneof" json:"selfLink,omitempty"` // UID is the unique in time and space value for this object. It is typically generated by // the server on successful creation of a resource and is not allowed to change on PUT // operations. // // Populated by the system. // Read-only. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids // +optional Uid *string `protobuf:"bytes,5,opt,name=uid,proto3,oneof" json:"uid,omitempty"` // An opaque value that represents the internal version of this object that can // be used by clients to determine when objects have changed. May be used for optimistic // concurrency, change detection, and the watch operation on a resource or set of resources. // Clients must treat these values as opaque and passed unmodified back to the server. // They may only be valid for a particular resource or set of resources. // // Populated by the system. // Read-only. // Value must be treated as opaque by clients and . // 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,proto3,oneof" json:"resourceVersion,omitempty"` // A sequence number representing a specific generation of the desired state. // Populated by the system. Read-only. // +optional Generation *int64 `protobuf:"varint,7,opt,name=generation,proto3,oneof" json:"generation,omitempty"` // CreationTimestamp is a timestamp representing the server time when this object was // created. It is not guaranteed to be set in happens-before order across separate operations. // Clients may not set this value. It is represented in RFC3339 form and is in UTC. // // Populated by the system. // Read-only. // Null for lists. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional CreationTimestamp *string `protobuf:"bytes,8,opt,name=creationTimestamp,proto3,oneof" json:"creationTimestamp,omitempty"` // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This // field is set by the server when a graceful deletion is requested by the user, and is not // directly settable by a client. The resource is expected to be deleted (no longer visible // from resource lists, and not reachable by name) after the time in this field, once the // finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. // Once the deletionTimestamp is set, this value may not be unset or be set further into the // future, although it may be shortened or the resource may be deleted prior to this time. // For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react // by sending a graceful termination signal to the containers in the pod. After that 30 seconds, // the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, // remove the pod from the API. In the presence of network partitions, this object may still // exist after this timestamp, until an administrator or automated process can determine the // resource is fully terminated. // If not set, graceful deletion of the object has not been requested. // // Populated by the system when a graceful deletion is requested. // Read-only. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional DeletionTimestamp *Time `protobuf:"bytes,9,opt,name=deletionTimestamp,proto3,oneof" json:"deletionTimestamp,omitempty"` // Number of seconds allowed for this object to gracefully terminate before // it will be removed from the system. Only set when deletionTimestamp is also set. // May only be shortened. // Read-only. // +optional DeletionGracePeriodSeconds *int64 `protobuf:"varint,10,opt,name=deletionGracePeriodSeconds,proto3,oneof" json:"deletionGracePeriodSeconds,omitempty"` // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels // +optional Labels map[string]string `` /* 154-byte string literal not displayed */ // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations // +optional Annotations map[string]string `` /* 164-byte string literal not displayed */ // List of objects depended by this object. If ALL objects in the list have // been deleted, this object will be garbage collected. If this object is managed by a controller, // then an entry in this list will point to this controller, with the controller field set to true. // There cannot be more than one managing controller. // +optional // +patchMergeKey=uid // +patchStrategy=merge OwnerReferences []*OwnerReference `protobuf:"bytes,13,rep,name=ownerReferences,proto3" json:"ownerReferences,omitempty"` // Must be empty before the object is deleted from the registry. Each entry // is an identifier for the responsible component that will remove the entry // from the list. If the deletionTimestamp of the object is non-nil, entries // in this list can only be removed. // Finalizers may be processed and removed in any order. Order is NOT enforced // because it introduces significant risk of stuck finalizers. // finalizers is a shared field, any actor with permission can reorder it. // If the finalizer list is processed in order, then this can lead to a situation // in which the component responsible for the first finalizer in the list is // waiting for a signal (field value, external system, or other) produced by a // component responsible for a finalizer later in the list, resulting in a deadlock. // Without enforced ordering finalizers are free to order amongst themselves and // are not vulnerable to ordering changes in the list. // +optional // +patchStrategy=merge Finalizers []string `protobuf:"bytes,14,rep,name=finalizers,proto3" json:"finalizers,omitempty"` // ManagedFields maps workflow-id and version to the set of fields // that are managed by that workflow. This is mostly for internal // housekeeping, and users typically shouldn't need to set or // understand this field. A workflow can be the user's name, a // controller's name, or the name of a specific apply path like // "ci-cd". The set of fields is always in the version that the // workflow used when modifying the object. // // +optional ManagedFields []*ManagedFieldsEntry `protobuf:"bytes,17,rep,name=managedFields,proto3" json:"managedFields,omitempty"` // contains filtered or unexported fields }
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func (*ObjectMeta) Descriptor
deprecated
func (*ObjectMeta) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.
func (*ObjectMeta) GetAnnotations ¶
func (x *ObjectMeta) GetAnnotations() map[string]string
func (*ObjectMeta) GetCreationTimestamp ¶
func (x *ObjectMeta) GetCreationTimestamp() string
func (*ObjectMeta) GetDeletionGracePeriodSeconds ¶
func (x *ObjectMeta) GetDeletionGracePeriodSeconds() int64
func (*ObjectMeta) GetDeletionTimestamp ¶
func (x *ObjectMeta) GetDeletionTimestamp() *Time
func (*ObjectMeta) GetFinalizers ¶
func (x *ObjectMeta) GetFinalizers() []string
func (*ObjectMeta) GetGenerateName ¶
func (x *ObjectMeta) GetGenerateName() string
func (*ObjectMeta) GetGeneration ¶
func (x *ObjectMeta) GetGeneration() int64
func (*ObjectMeta) GetLabels ¶
func (x *ObjectMeta) GetLabels() map[string]string
func (*ObjectMeta) GetManagedFields ¶
func (x *ObjectMeta) GetManagedFields() []*ManagedFieldsEntry
func (*ObjectMeta) GetName ¶
func (x *ObjectMeta) GetName() string
func (*ObjectMeta) GetNamespace ¶
func (x *ObjectMeta) GetNamespace() string
func (*ObjectMeta) GetOwnerReferences ¶
func (x *ObjectMeta) GetOwnerReferences() []*OwnerReference
func (*ObjectMeta) GetResourceVersion ¶
func (x *ObjectMeta) GetResourceVersion() string
func (*ObjectMeta) GetSelfLink ¶
func (x *ObjectMeta) GetSelfLink() string
func (*ObjectMeta) GetUid ¶
func (x *ObjectMeta) GetUid() string
func (*ObjectMeta) ProtoMessage ¶
func (*ObjectMeta) ProtoMessage()
func (*ObjectMeta) ProtoReflect ¶
func (x *ObjectMeta) ProtoReflect() protoreflect.Message
func (*ObjectMeta) Reset ¶
func (x *ObjectMeta) Reset()
func (*ObjectMeta) String ¶
func (x *ObjectMeta) 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"uid,omitempty"` // API version of the referent. // +optional ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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.
- Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.
- 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.
- 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.
- 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.
- 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=pb/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 OwnerReference ¶
type OwnerReference struct { // API version of the referent. ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion,proto3,oneof" json:"apiVersion,omitempty"` // Kind of the referent. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `protobuf:"bytes,1,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // Name of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` // UID of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids Uid *string `protobuf:"bytes,4,opt,name=uid,proto3,oneof" json:"uid,omitempty"` // If true, this reference points to the managing controller. // +optional Controller *bool `protobuf:"varint,6,opt,name=controller,proto3,oneof" json:"controller,omitempty"` // If true, AND if the owner has the "foregroundDeletion" finalizer, then // the owner cannot be deleted from the key-value store until this // reference is removed. // See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion // for how the garbage collector interacts with this field and enforces the foreground deletion. // Defaults to false. // To set this field, a user needs "delete" permission of the owner, // otherwise 422 (Unprocessable Entity) will be returned. // +optional BlockOwnerDeletion *bool `protobuf:"varint,7,opt,name=blockOwnerDeletion,proto3,oneof" json:"blockOwnerDeletion,omitempty"` // contains filtered or unexported fields }
OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. +structType=atomic
func (*OwnerReference) Descriptor
deprecated
func (*OwnerReference) Descriptor() ([]byte, []int)
Deprecated: Use OwnerReference.ProtoReflect.Descriptor instead.
func (*OwnerReference) GetApiVersion ¶
func (x *OwnerReference) GetApiVersion() string
func (*OwnerReference) GetBlockOwnerDeletion ¶
func (x *OwnerReference) GetBlockOwnerDeletion() bool
func (*OwnerReference) GetController ¶
func (x *OwnerReference) GetController() bool
func (*OwnerReference) GetKind ¶
func (x *OwnerReference) GetKind() string
func (*OwnerReference) GetName ¶
func (x *OwnerReference) GetName() string
func (*OwnerReference) GetUid ¶
func (x *OwnerReference) GetUid() string
func (*OwnerReference) ProtoMessage ¶
func (*OwnerReference) ProtoMessage()
func (*OwnerReference) ProtoReflect ¶
func (x *OwnerReference) ProtoReflect() protoreflect.Message
func (*OwnerReference) Reset ¶
func (x *OwnerReference) Reset()
func (*OwnerReference) String ¶
func (x *OwnerReference) String() string
type PartialObjectMetadata ¶
type PartialObjectMetadata struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // contains filtered or unexported fields }
PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version. +k8s:deepcopy-gen:interfaces=pb/runtime.Object
func (*PartialObjectMetadata) Descriptor
deprecated
func (*PartialObjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PartialObjectMetadata.ProtoReflect.Descriptor instead.
func (*PartialObjectMetadata) GetMetadata ¶
func (x *PartialObjectMetadata) GetMetadata() *ObjectMeta
func (*PartialObjectMetadata) ProtoMessage ¶
func (*PartialObjectMetadata) ProtoMessage()
func (*PartialObjectMetadata) ProtoReflect ¶
func (x *PartialObjectMetadata) ProtoReflect() protoreflect.Message
func (*PartialObjectMetadata) Reset ¶
func (x *PartialObjectMetadata) Reset()
func (*PartialObjectMetadata) String ¶
func (x *PartialObjectMetadata) String() string
type PartialObjectMetadataList ¶
type PartialObjectMetadataList struct { // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // items contains each of the included items. Items []*PartialObjectMetadata `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
PartialObjectMetadataList contains a list of objects containing only their metadata +k8s:deepcopy-gen:interfaces=pb/runtime.Object
func (*PartialObjectMetadataList) Descriptor
deprecated
func (*PartialObjectMetadataList) Descriptor() ([]byte, []int)
Deprecated: Use PartialObjectMetadataList.ProtoReflect.Descriptor instead.
func (*PartialObjectMetadataList) GetItems ¶
func (x *PartialObjectMetadataList) GetItems() []*PartialObjectMetadata
func (*PartialObjectMetadataList) GetMetadata ¶
func (x *PartialObjectMetadataList) GetMetadata() *ListMeta
func (*PartialObjectMetadataList) ProtoMessage ¶
func (*PartialObjectMetadataList) ProtoMessage()
func (*PartialObjectMetadataList) ProtoReflect ¶
func (x *PartialObjectMetadataList) ProtoReflect() protoreflect.Message
func (*PartialObjectMetadataList) Reset ¶
func (x *PartialObjectMetadataList) Reset()
func (*PartialObjectMetadataList) String ¶
func (x *PartialObjectMetadataList) String() string
type Patch ¶
type Patch struct {
// contains filtered or unexported fields
}
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
func (*Patch) Descriptor
deprecated
func (*Patch) ProtoMessage ¶
func (*Patch) ProtoMessage()
func (*Patch) ProtoReflect ¶
func (x *Patch) ProtoReflect() protoreflect.Message
type PatchOptions ¶
type PatchOptions struct { // When present, indicates that modifications should not be // persisted. An invalid or unrecognized dryRun directive will // result in an error response and no further processing of the // request. Valid values are: // - All: all dry run stages will be processed // +optional DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // Force is going to "force" Apply requests. It means user will // re-acquire conflicting fields owned by other people. Force // flag must be unset for non-apply patch requests. // +optional Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"` // fieldManager is a name associated with the actor or entity // that is making these changes. The value must be less than or // 128 characters long, and only contain printable characters, // as defined by https://golang.org/pkg/unicode/#IsPrint. This // field is required for apply requests // (application/apply-patch) but optional for non-apply patch // types (JsonPatch, MergePatch, StrategicMergePatch). // +optional FieldManager *string `protobuf:"bytes,3,opt,name=fieldManager,proto3,oneof" json:"fieldManager,omitempty"` // fieldValidation instructs the server on how to handle // objects in the request (POST/PUT/PATCH) containing unknown // or duplicate fields. Valid values are: // - Ignore: This will ignore any unknown fields that are silently // dropped from the object, and will ignore all but the last duplicate // field that the decoder encounters. This is the default behavior // prior to v1.23. // - Warn: This will send a warning via the standard warning response // header for each unknown field that is dropped from the object, and // for each duplicate field that is encountered. The request will // still succeed if there are no other errors, and will only persist // the last of any duplicate fields. This is the default in v1.23+ // - Strict: This will fail the request with a BadRequest error if // any unknown fields would be dropped from the object, or if any // duplicate fields are present. The error returned from the server // will contain all unknown and duplicate fields encountered. // +optional FieldValidation *string `protobuf:"bytes,4,opt,name=fieldValidation,proto3,oneof" json:"fieldValidation,omitempty"` // contains filtered or unexported fields }
PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.
func (*PatchOptions) Descriptor
deprecated
func (*PatchOptions) Descriptor() ([]byte, []int)
Deprecated: Use PatchOptions.ProtoReflect.Descriptor instead.
func (*PatchOptions) GetDryRun ¶
func (x *PatchOptions) GetDryRun() []string
func (*PatchOptions) GetFieldManager ¶
func (x *PatchOptions) GetFieldManager() string
func (*PatchOptions) GetFieldValidation ¶
func (x *PatchOptions) GetFieldValidation() string
func (*PatchOptions) GetForce ¶
func (x *PatchOptions) GetForce() bool
func (*PatchOptions) ProtoMessage ¶
func (*PatchOptions) ProtoMessage()
func (*PatchOptions) ProtoReflect ¶
func (x *PatchOptions) ProtoReflect() protoreflect.Message
func (*PatchOptions) Reset ¶
func (x *PatchOptions) Reset()
func (*PatchOptions) String ¶
func (x *PatchOptions) 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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() *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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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() *ObjectMeta
func (*PersistentVolumeClaim) GetSpec ¶
func (x *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec
func (*PersistentVolumeClaim) GetStatus ¶
func (x *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus
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,proto3,oneof" json:"type,omitempty"` Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // lastProbeTime is the time we probed the condition. // +optional LastProbeTime *Time `protobuf:"bytes,3,opt,name=lastProbeTime,proto3,oneof" json:"lastProbeTime,omitempty"` // lastTransitionTime is the time the condition transitioned from one status to another. // +optional LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3,oneof" 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,proto3,oneof" json:"reason,omitempty"` // message is the human-readable message indicating details about last transition. // +optional Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
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() *Time
func (*PersistentVolumeClaimCondition) GetLastTransitionTime ¶
func (x *PersistentVolumeClaimCondition) GetLastTransitionTime() *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 (x *PersistentVolumeClaimCondition) GetType() string
func (*PersistentVolumeClaimCondition) ProtoMessage ¶
func (*PersistentVolumeClaimCondition) ProtoMessage()
func (*PersistentVolumeClaimCondition) ProtoReflect ¶
func (x *PersistentVolumeClaimCondition) ProtoReflect() protoreflect.Message
func (*PersistentVolumeClaimCondition) Reset ¶
func (x *PersistentVolumeClaimCondition) Reset()
func (*PersistentVolumeClaimCondition) String ¶
func (x *PersistentVolumeClaimCondition) String() 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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 (x *PersistentVolumeClaimList) GetItems() []*PersistentVolumeClaim
func (*PersistentVolumeClaimList) GetMetadata ¶
func (x *PersistentVolumeClaimList) GetMetadata() *ListMeta
func (*PersistentVolumeClaimList) ProtoMessage ¶
func (*PersistentVolumeClaimList) ProtoMessage()
func (*PersistentVolumeClaimList) ProtoReflect ¶
func (x *PersistentVolumeClaimList) ProtoReflect() protoreflect.Message
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,proto3" json:"accessModes,omitempty"` // selector is a label query over volumes to consider for binding. // +optional Selector *LabelSelector `protobuf:"bytes,4,opt,name=selector,proto3,oneof" 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 *VolumeResourceRequirements `protobuf:"bytes,2,opt,name=resources,proto3,oneof" json:"resources,omitempty"` // volumeName is the binding reference to the PersistentVolume backing this claim. // +optional VolumeName *string `protobuf:"bytes,3,opt,name=volumeName,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference
func (*PersistentVolumeClaimSpec) GetDataSourceRef ¶
func (x *PersistentVolumeClaimSpec) GetDataSourceRef() *TypedObjectReference
func (*PersistentVolumeClaimSpec) GetResources ¶
func (x *PersistentVolumeClaimSpec) GetResources() *VolumeResourceRequirements
func (*PersistentVolumeClaimSpec) GetSelector ¶
func (x *PersistentVolumeClaimSpec) GetSelector() *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 (x *PersistentVolumeClaimSpec) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3" json:"accessModes,omitempty"` // capacity represents the actual resources of the underlying volume. // +optional Capacity map[string]*Quantity `` /* 157-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,proto3" 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]*Quantity `` /* 177-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 `` /* 191-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]*Quantity
func (*PersistentVolumeClaimStatus) GetCapacity ¶
func (x *PersistentVolumeClaimStatus) GetCapacity() map[string]*Quantity
func (*PersistentVolumeClaimStatus) GetConditions ¶
func (x *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition
func (*PersistentVolumeClaimStatus) GetPhase ¶
func (x *PersistentVolumeClaimStatus) GetPhase() string
func (*PersistentVolumeClaimStatus) ProtoMessage ¶
func (*PersistentVolumeClaimStatus) ProtoMessage()
func (*PersistentVolumeClaimStatus) ProtoReflect ¶
func (x *PersistentVolumeClaimStatus) ProtoReflect() protoreflect.Message
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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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() *ObjectMeta
func (*PersistentVolumeClaimTemplate) GetSpec ¶
func (x *PersistentVolumeClaimTemplate) GetSpec() *PersistentVolumeClaimSpec
func (*PersistentVolumeClaimTemplate) ProtoMessage ¶
func (*PersistentVolumeClaimTemplate) ProtoMessage()
func (*PersistentVolumeClaimTemplate) ProtoReflect ¶
func (x *PersistentVolumeClaimTemplate) ProtoReflect() protoreflect.Message
func (*PersistentVolumeClaimTemplate) Reset ¶
func (x *PersistentVolumeClaimTemplate) Reset()
func (*PersistentVolumeClaimTemplate) String ¶
func (x *PersistentVolumeClaimTemplate) String() 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,proto3,oneof" json:"claimName,omitempty"` // readOnly Will force the ReadOnly setting in VolumeMounts. // Default false. // +optional ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly,proto3,oneof" 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 (x *PersistentVolumeClaimVolumeSource) ProtoReflect() protoreflect.Message
func (*PersistentVolumeClaimVolumeSource) Reset ¶
func (x *PersistentVolumeClaimVolumeSource) Reset()
func (*PersistentVolumeClaimVolumeSource) String ¶
func (x *PersistentVolumeClaimVolumeSource) String() 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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() *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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"azureFile,omitempty"` // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine // +optional VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,14,opt,name=vsphereVolume,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"azureDisk,omitempty"` // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,17,opt,name=photonPersistentDisk,proto3,oneof" json:"photonPersistentDisk,omitempty"` // portworxVolume represents a portworx volume attached and mounted on kubelets host machine // +optional PortworxVolume *PortworxVolumeSource `protobuf:"bytes,18,opt,name=portworxVolume,proto3,oneof" json:"portworxVolume,omitempty"` // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. // +optional ScaleIO *ScaleIOPersistentVolumeSource `protobuf:"bytes,19,opt,name=scaleIO,proto3,oneof" json:"scaleIO,omitempty"` // local represents directly-attached storage with node affinity // +optional Local *LocalVolumeSource `protobuf:"bytes,20,opt,name=local,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource
func (*PersistentVolumeSource) GetCephfs ¶
func (x *PersistentVolumeSource) GetCephfs() *CephFSPersistentVolumeSource
func (*PersistentVolumeSource) GetCinder ¶
func (x *PersistentVolumeSource) GetCinder() *CinderPersistentVolumeSource
func (*PersistentVolumeSource) GetCsi ¶
func (x *PersistentVolumeSource) GetCsi() *CSIPersistentVolumeSource
func (*PersistentVolumeSource) GetFc ¶
func (x *PersistentVolumeSource) GetFc() *FCVolumeSource
func (*PersistentVolumeSource) GetFlexVolume ¶
func (x *PersistentVolumeSource) GetFlexVolume() *FlexPersistentVolumeSource
func (*PersistentVolumeSource) GetFlocker ¶
func (x *PersistentVolumeSource) GetFlocker() *FlockerVolumeSource
func (*PersistentVolumeSource) GetGcePersistentDisk ¶
func (x *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
func (*PersistentVolumeSource) GetGlusterfs ¶
func (x *PersistentVolumeSource) GetGlusterfs() *GlusterfsPersistentVolumeSource
func (*PersistentVolumeSource) GetHostPath ¶
func (x *PersistentVolumeSource) GetHostPath() *HostPathVolumeSource
func (*PersistentVolumeSource) GetIscsi ¶
func (x *PersistentVolumeSource) GetIscsi() *ISCSIPersistentVolumeSource
func (*PersistentVolumeSource) GetLocal ¶
func (x *PersistentVolumeSource) GetLocal() *LocalVolumeSource
func (*PersistentVolumeSource) GetNfs ¶
func (x *PersistentVolumeSource) GetNfs() *NFSVolumeSource
func (*PersistentVolumeSource) GetPhotonPersistentDisk ¶
func (x *PersistentVolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
func (*PersistentVolumeSource) GetPortworxVolume ¶
func (x *PersistentVolumeSource) GetPortworxVolume() *PortworxVolumeSource
func (*PersistentVolumeSource) GetQuobyte ¶
func (x *PersistentVolumeSource) GetQuobyte() *QuobyteVolumeSource
func (*PersistentVolumeSource) GetRbd ¶
func (x *PersistentVolumeSource) GetRbd() *RBDPersistentVolumeSource
func (*PersistentVolumeSource) GetScaleIO ¶
func (x *PersistentVolumeSource) GetScaleIO() *ScaleIOPersistentVolumeSource
func (*PersistentVolumeSource) GetStorageos ¶
func (x *PersistentVolumeSource) GetStorageos() *StorageOSPersistentVolumeSource
func (*PersistentVolumeSource) GetVsphereVolume ¶
func (x *PersistentVolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
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]*Quantity `` /* 157-byte string literal not displayed */ // persistentVolumeSource is the actual volume backing the persistent volume. PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,2,opt,name=persistentVolumeSource,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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]*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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 *Time `protobuf:"bytes,4,opt,name=lastPhaseTransitionTime,proto3,oneof" 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() *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,proto3,oneof" 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,proto3,oneof" 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 (x *PhotonPersistentDiskVolumeSource) GetFsType() string
func (*PhotonPersistentDiskVolumeSource) GetPdID ¶
func (x *PhotonPersistentDiskVolumeSource) GetPdID() string
func (*PhotonPersistentDiskVolumeSource) ProtoMessage ¶
func (*PhotonPersistentDiskVolumeSource) ProtoMessage()
func (*PhotonPersistentDiskVolumeSource) ProtoReflect ¶
func (x *PhotonPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message
func (*PhotonPersistentDiskVolumeSource) Reset ¶
func (x *PhotonPersistentDiskVolumeSource) Reset()
func (*PhotonPersistentDiskVolumeSource) String ¶
func (x *PhotonPersistentDiskVolumeSource) String() 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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) GetMetadata ¶
func (x *Pod) GetMetadata() *ObjectMeta
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
func (*Pod) ProtoReflect ¶
func (x *Pod) ProtoReflect() protoreflect.Message
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 `` /* 145-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 `` /* 147-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 *LabelSelector `protobuf:"bytes,1,opt,name=labelSelector,proto3,oneof" 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,proto3" 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,proto3,oneof" 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 *LabelSelector `protobuf:"bytes,4,opt,name=namespaceSelector,proto3,oneof" 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() *LabelSelector
func (*PodAffinityTerm) GetNamespaceSelector ¶
func (x *PodAffinityTerm) GetNamespaceSelector() *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 `` /* 145-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 `` /* 147-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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"type,omitempty"` // Status is the status of the condition. // Can be True, False, Unknown. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // Last time we probed the condition. // +optional LastProbeTime *Time `protobuf:"bytes,3,opt,name=lastProbeTime,proto3,oneof" json:"lastProbeTime,omitempty"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // Unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Human-readable message indicating details about last transition. // +optional Message *string `protobuf:"bytes,6,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
PodCondition contains details for the current condition of this pod.
func (*PodCondition) Descriptor
deprecated
func (*PodCondition) Descriptor() ([]byte, []int)
Deprecated: Use PodCondition.ProtoReflect.Descriptor instead.
func (*PodCondition) GetLastProbeTime ¶
func (x *PodCondition) GetLastProbeTime() *Time
func (*PodCondition) GetLastTransitionTime ¶
func (x *PodCondition) GetLastTransitionTime() *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,proto3" 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,proto3" 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,proto3" 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,proto3,oneof" json:"name,omitempty"` // +optional Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" 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 PodDetail ¶
type PodDetail struct { ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` //集群名称 PodList []*Pod `protobuf:"bytes,2,rep,name=podList,proto3" json:"podList,omitempty"` //pod列表 StoreAmount float64 `protobuf:"fixed64,3,opt,name=storeAmount,proto3" json:"storeAmount,omitempty"` //存储总量,单位使用Gi // contains filtered or unexported fields }
func (*PodDetail) Descriptor
deprecated
func (*PodDetail) GetClusterName ¶
func (*PodDetail) GetPodList ¶
func (*PodDetail) GetStoreAmount ¶
func (*PodDetail) ProtoMessage ¶
func (*PodDetail) ProtoMessage()
func (*PodDetail) ProtoReflect ¶
func (x *PodDetail) ProtoReflect() protoreflect.Message
type PodDetailResp ¶
type PodDetailResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data []*PodDetail `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PodDetailResp) Descriptor
deprecated
func (*PodDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use PodDetailResp.ProtoReflect.Descriptor instead.
func (*PodDetailResp) GetCode ¶
func (x *PodDetailResp) GetCode() string
func (*PodDetailResp) GetData ¶
func (x *PodDetailResp) GetData() []*PodDetail
func (*PodDetailResp) GetMsg ¶
func (x *PodDetailResp) GetMsg() string
func (*PodDetailResp) ProtoMessage ¶
func (*PodDetailResp) ProtoMessage()
func (*PodDetailResp) ProtoReflect ¶
func (x *PodDetailResp) ProtoReflect() protoreflect.Message
func (*PodDetailResp) Reset ¶
func (x *PodDetailResp) Reset()
func (*PodDetailResp) String ¶
func (x *PodDetailResp) 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,proto3,oneof" json:"stdin,omitempty"` // Redirect the standard output stream of the pod for this call. // +optional Stdout *bool `protobuf:"varint,2,opt,name=stdout,proto3,oneof" json:"stdout,omitempty"` // Redirect the standard error stream of the pod for this call. // +optional Stderr *bool `protobuf:"varint,3,opt,name=stderr,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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 PodFailurePolicy ¶
type PodFailurePolicy struct { // A list of pod failure policy rules. The rules are evaluated in order. // Once a rule matches a Pod failure, the remaining of the rules are ignored. // When no rule matches the Pod failure, the default handling applies - the // counter of pod failures is incremented and it is checked against // the backoffLimit. At most 20 elements are allowed. // +listType=atomic Rules []*PodFailurePolicyRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*PodFailurePolicy) Descriptor
deprecated
func (*PodFailurePolicy) Descriptor() ([]byte, []int)
Deprecated: Use PodFailurePolicy.ProtoReflect.Descriptor instead.
func (*PodFailurePolicy) GetRules ¶
func (x *PodFailurePolicy) GetRules() []*PodFailurePolicyRule
func (*PodFailurePolicy) ProtoMessage ¶
func (*PodFailurePolicy) ProtoMessage()
func (*PodFailurePolicy) ProtoReflect ¶
func (x *PodFailurePolicy) ProtoReflect() protoreflect.Message
func (*PodFailurePolicy) Reset ¶
func (x *PodFailurePolicy) Reset()
func (*PodFailurePolicy) String ¶
func (x *PodFailurePolicy) String() string
type PodFailurePolicyOnExitCodesRequirement ¶
type PodFailurePolicyOnExitCodesRequirement struct { // Restricts the check for exit codes to the container with the // specified name. When null, the rule applies to all containers. // When specified, it should match one the container or initContainer // names in the pod template. // +optional ContainerName *string `protobuf:"bytes,1,opt,name=containerName,proto3,oneof" json:"containerName,omitempty"` // Represents the relationship between the container exit code(s) and the // specified values. Containers completed with success (exit code 0) are // excluded from the requirement check. Possible values are: // // - In: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is in the set of specified values. // - NotIn: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is not in the set of specified values. // // Additional values are considered to be added in the future. Clients should // react to an unknown operator by assuming the requirement is not satisfied. Operator *string `protobuf:"bytes,2,opt,name=operator,proto3,oneof" json:"operator,omitempty"` // Specifies the set of values. Each returned container exit code (might be // multiple in case of multiple containers) is checked against this set of // values with respect to the operator. The list of values must be ordered // and must not contain duplicates. Value '0' cannot be used for the In operator. // At least one element is required. At most 255 elements are allowed. // +listType=set Values []int32 `protobuf:"varint,3,rep,packed,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*PodFailurePolicyOnExitCodesRequirement) Descriptor
deprecated
func (*PodFailurePolicyOnExitCodesRequirement) Descriptor() ([]byte, []int)
Deprecated: Use PodFailurePolicyOnExitCodesRequirement.ProtoReflect.Descriptor instead.
func (*PodFailurePolicyOnExitCodesRequirement) GetContainerName ¶
func (x *PodFailurePolicyOnExitCodesRequirement) GetContainerName() string
func (*PodFailurePolicyOnExitCodesRequirement) GetOperator ¶
func (x *PodFailurePolicyOnExitCodesRequirement) GetOperator() string
func (*PodFailurePolicyOnExitCodesRequirement) GetValues ¶
func (x *PodFailurePolicyOnExitCodesRequirement) GetValues() []int32
func (*PodFailurePolicyOnExitCodesRequirement) ProtoMessage ¶
func (*PodFailurePolicyOnExitCodesRequirement) ProtoMessage()
func (*PodFailurePolicyOnExitCodesRequirement) ProtoReflect ¶
func (x *PodFailurePolicyOnExitCodesRequirement) ProtoReflect() protoreflect.Message
func (*PodFailurePolicyOnExitCodesRequirement) Reset ¶
func (x *PodFailurePolicyOnExitCodesRequirement) Reset()
func (*PodFailurePolicyOnExitCodesRequirement) String ¶
func (x *PodFailurePolicyOnExitCodesRequirement) String() string
type PodFailurePolicyOnPodConditionsPattern ¶
type PodFailurePolicyOnPodConditionsPattern struct { // Specifies the required Pod condition type. To match a pod condition // it is required that specified type equals the pod condition type. Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // Specifies the required Pod condition status. To match a pod condition // it is required that the specified status equals the pod condition status. // Defaults to True. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
func (*PodFailurePolicyOnPodConditionsPattern) Descriptor
deprecated
func (*PodFailurePolicyOnPodConditionsPattern) Descriptor() ([]byte, []int)
Deprecated: Use PodFailurePolicyOnPodConditionsPattern.ProtoReflect.Descriptor instead.
func (*PodFailurePolicyOnPodConditionsPattern) GetStatus ¶
func (x *PodFailurePolicyOnPodConditionsPattern) GetStatus() string
func (*PodFailurePolicyOnPodConditionsPattern) GetType ¶
func (x *PodFailurePolicyOnPodConditionsPattern) GetType() string
func (*PodFailurePolicyOnPodConditionsPattern) ProtoMessage ¶
func (*PodFailurePolicyOnPodConditionsPattern) ProtoMessage()
func (*PodFailurePolicyOnPodConditionsPattern) ProtoReflect ¶
func (x *PodFailurePolicyOnPodConditionsPattern) ProtoReflect() protoreflect.Message
func (*PodFailurePolicyOnPodConditionsPattern) Reset ¶
func (x *PodFailurePolicyOnPodConditionsPattern) Reset()
func (*PodFailurePolicyOnPodConditionsPattern) String ¶
func (x *PodFailurePolicyOnPodConditionsPattern) String() string
type PodFailurePolicyRule ¶
type PodFailurePolicyRule struct { // Specifies the action taken on a pod failure when the requirements are satisfied. // Possible values are: // // - FailJob: indicates that the pod's job is marked as Failed and all // running pods are terminated. // - FailIndex: indicates that the pod's index is marked as Failed and will // not be restarted. // This value is alpha-level. It can be used when the // `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). // - Ignore: indicates that the counter towards the .backoffLimit is not // incremented and a replacement pod is created. // - Count: indicates that the pod is handled in the default way - the // counter towards the .backoffLimit is incremented. // // Additional values are considered to be added in the future. Clients should // react to an unknown action by skipping the rule. Action *string `protobuf:"bytes,1,opt,name=action,proto3,oneof" json:"action,omitempty"` // Represents the requirement on the container exit codes. // +optional OnExitCodes *PodFailurePolicyOnExitCodesRequirement `protobuf:"bytes,2,opt,name=onExitCodes,proto3,oneof" json:"onExitCodes,omitempty"` // Represents the requirement on the pod conditions. The requirement is represented // as a list of pod condition patterns. The requirement is satisfied if at // least one pattern matches an actual pod condition. At most 20 elements are allowed. // +listType=atomic // +optional OnPodConditions []*PodFailurePolicyOnPodConditionsPattern `protobuf:"bytes,3,rep,name=onPodConditions,proto3" json:"onPodConditions,omitempty"` // contains filtered or unexported fields }
func (*PodFailurePolicyRule) Descriptor
deprecated
func (*PodFailurePolicyRule) Descriptor() ([]byte, []int)
Deprecated: Use PodFailurePolicyRule.ProtoReflect.Descriptor instead.
func (*PodFailurePolicyRule) GetAction ¶
func (x *PodFailurePolicyRule) GetAction() string
func (*PodFailurePolicyRule) GetOnExitCodes ¶
func (x *PodFailurePolicyRule) GetOnExitCodes() *PodFailurePolicyOnExitCodesRequirement
func (*PodFailurePolicyRule) GetOnPodConditions ¶
func (x *PodFailurePolicyRule) GetOnPodConditions() []*PodFailurePolicyOnPodConditionsPattern
func (*PodFailurePolicyRule) ProtoMessage ¶
func (*PodFailurePolicyRule) ProtoMessage()
func (*PodFailurePolicyRule) ProtoReflect ¶
func (x *PodFailurePolicyRule) ProtoReflect() protoreflect.Message
func (*PodFailurePolicyRule) Reset ¶
func (x *PodFailurePolicyRule) Reset()
func (*PodFailurePolicyRule) String ¶
func (x *PodFailurePolicyRule) String() string
type PodIP ¶
type PodIP struct { // IP is the IP address assigned to the pod Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"` // contains filtered or unexported fields }
PodIP represents a single IP address allocated to the pod.
func (*PodIP) Descriptor
deprecated
func (*PodIP) ProtoMessage ¶
func (*PodIP) ProtoMessage()
func (*PodIP) ProtoReflect ¶
func (x *PodIP) ProtoReflect() protoreflect.Message
type PodList ¶
type PodList struct { Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` Items []*Pod `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*PodList) Descriptor
deprecated
func (*PodList) GetMetadata ¶
func (*PodList) ProtoMessage ¶
func (*PodList) ProtoMessage()
func (*PodList) ProtoReflect ¶
func (x *PodList) ProtoReflect() protoreflect.Message
type PodListReq ¶
type PodListReq struct { ListOptions *ListOptions `protobuf:"bytes,1,opt,name=listOptions,proto3" json:"listOptions,omitempty"` // contains filtered or unexported fields }
func (*PodListReq) Descriptor
deprecated
func (*PodListReq) Descriptor() ([]byte, []int)
Deprecated: Use PodListReq.ProtoReflect.Descriptor instead.
func (*PodListReq) GetListOptions ¶
func (x *PodListReq) GetListOptions() *ListOptions
func (*PodListReq) ProtoMessage ¶
func (*PodListReq) ProtoMessage()
func (*PodListReq) ProtoReflect ¶
func (x *PodListReq) ProtoReflect() protoreflect.Message
func (*PodListReq) Reset ¶
func (x *PodListReq) Reset()
func (*PodListReq) String ¶
func (x *PodListReq) 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,proto3,oneof" json:"container,omitempty"` // Follow the log stream of the pod. Defaults to false. // +optional Follow *bool `protobuf:"varint,2,opt,name=follow,proto3,oneof" json:"follow,omitempty"` // Return previous terminated container logs. Defaults to false. // +optional Previous *bool `protobuf:"varint,3,opt,name=previous,proto3,oneof" 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,proto3,oneof" 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 *Time `protobuf:"bytes,5,opt,name=sinceTime,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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() *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,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
PodOS defines the OS parameters of a pod.
func (*PodOS) Descriptor
deprecated
func (*PodOS) ProtoMessage ¶
func (*PodOS) ProtoMessage()
func (*PodOS) ProtoReflect ¶
func (x *PodOS) ProtoReflect() protoreflect.Message
type PodPortForwardOptions ¶
type PodPortForwardOptions struct { // List of ports to forward // Required when using WebSockets // +optional Ports []int32 `protobuf:"varint,1,rep,packed,name=ports,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"name,omitempty"` // Source describes where to find the ResourceClaim. Source *ClaimSource `protobuf:"bytes,2,opt,name=source,proto3,oneof" json:"source,omitempty"` // contains filtered or unexported fields }
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
func (*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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,packed,name=supplementalGroups,proto3" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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 *OwnerReference `protobuf:"bytes,1,opt,name=podController,proto3,oneof" 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() *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,proto3" json:"volumes,omitempty"` // List of initialization containers belonging to the pod. // Init containers are executed in order prior to containers being started. If any // init container fails, the pod is considered to have failed and is handled according // to its restartPolicy. The name for an init container or normal container must be // unique among all containers. // Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. // The resourceRequirements of an init container are taken into account during scheduling // by finding the highest request/limit for each resource type, and then using the max of // of that value or the sum of the normal containers. Limits are applied to init containers // in a similar fashion. // Init containers cannot currently be added or removed. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ // +patchMergeKey=name // +patchStrategy=merge InitContainers []*Container `protobuf:"bytes,20,rep,name=initContainers,proto3" 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,proto3" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 `` /* 165-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,proto3,oneof" 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,proto3,oneof" json:"serviceAccount,omitempty"` // AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. // +optional AutomountServiceAccountToken *bool `protobuf:"varint,21,opt,name=automountServiceAccountToken,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"hostIPC,omitempty"` // 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" json:"hostname,omitempty"` // If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". // If not specified, the pod will not have a domainname at all. // +optional Subdomain *string `protobuf:"bytes,17,opt,name=subdomain,proto3,oneof" json:"subdomain,omitempty"` // If specified, the pod's scheduling constraints // +optional Affinity *Affinity `protobuf:"bytes,18,opt,name=affinity,proto3,oneof" 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,proto3,oneof" json:"schedulerName,omitempty"` // If specified, the pod's tolerations. // +optional Tolerations []*Toleration `protobuf:"bytes,22,rep,name=tolerations,proto3" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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]*Quantity `` /* 158-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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3" json:"resourceClaims,omitempty"` // contains filtered or unexported fields }
PodSpec is a description of a pod.
func (*PodSpec) Descriptor
deprecated
func (*PodSpec) GetActiveDeadlineSeconds ¶
func (*PodSpec) GetAffinity ¶
func (*PodSpec) GetAutomountServiceAccountToken ¶
func (*PodSpec) GetContainers ¶
func (*PodSpec) GetDnsConfig ¶
func (x *PodSpec) GetDnsConfig() *PodDNSConfig
func (*PodSpec) GetDnsPolicy ¶
func (*PodSpec) GetEnableServiceLinks ¶
func (*PodSpec) GetEphemeralContainers ¶
func (x *PodSpec) GetEphemeralContainers() []*EphemeralContainer
func (*PodSpec) GetHostAliases ¶
func (*PodSpec) GetHostIPC ¶
func (*PodSpec) GetHostNetwork ¶
func (*PodSpec) GetHostPID ¶
func (*PodSpec) GetHostUsers ¶
func (*PodSpec) GetHostname ¶
func (*PodSpec) GetImagePullSecrets ¶
func (x *PodSpec) GetImagePullSecrets() []*LocalObjectReference
func (*PodSpec) GetInitContainers ¶
func (*PodSpec) GetNodeName ¶
func (*PodSpec) GetNodeSelector ¶
func (*PodSpec) GetOverhead ¶
func (*PodSpec) GetPreemptionPolicy ¶
func (*PodSpec) GetPriority ¶
func (*PodSpec) GetPriorityClassName ¶
func (*PodSpec) GetReadinessGates ¶
func (x *PodSpec) GetReadinessGates() []*PodReadinessGate
func (*PodSpec) GetResourceClaims ¶
func (x *PodSpec) GetResourceClaims() []*PodResourceClaim
func (*PodSpec) GetRestartPolicy ¶
func (*PodSpec) GetRuntimeClassName ¶
func (*PodSpec) GetSchedulerName ¶
func (*PodSpec) GetSchedulingGates ¶
func (x *PodSpec) GetSchedulingGates() []*PodSchedulingGate
func (*PodSpec) GetSecurityContext ¶
func (x *PodSpec) GetSecurityContext() *PodSecurityContext
func (*PodSpec) GetServiceAccount ¶
func (*PodSpec) GetServiceAccountName ¶
func (*PodSpec) GetSetHostnameAsFQDN ¶
func (*PodSpec) GetShareProcessNamespace ¶
func (*PodSpec) GetSubdomain ¶
func (*PodSpec) GetTerminationGracePeriodSeconds ¶
func (*PodSpec) GetTolerations ¶
func (x *PodSpec) GetTolerations() []*Toleration
func (*PodSpec) GetTopologySpreadConstraints ¶
func (x *PodSpec) GetTopologySpreadConstraints() []*TopologySpreadConstraint
func (*PodSpec) GetVolumes ¶
func (*PodSpec) ProtoMessage ¶
func (*PodSpec) ProtoMessage()
func (*PodSpec) ProtoReflect ¶
func (x *PodSpec) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"phase,omitempty"` // Current service state of pod. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []*PodCondition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` // A human readable message indicating details about why the pod is in this condition. // +optional Message *string `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` // A brief CamelCase message indicating details about why the pod is in this state. // e.g. 'Evicted' // +optional Reason *string `protobuf:"bytes,4,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be // scheduled right away as preemption victims receive their graceful termination periods. // This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide // to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to // give the resources on this node to a higher priority pod that is created after preemption. // As a result, this field may be different than PodSpec.nodeName when the pod is // scheduled. // +optional NominatedNodeName *string `protobuf:"bytes,11,opt,name=nominatedNodeName,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3" 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 *Time `protobuf:"bytes,7,opt,name=startTime,proto3,oneof" 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,proto3" 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,proto3" 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,proto3,oneof" json:"qosClass,omitempty"` // Status for any ephemeral containers that have run in this pod. // +optional EphemeralContainerStatuses []*ContainerStatus `protobuf:"bytes,13,rep,name=ephemeralContainerStatuses,proto3" 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,proto3,oneof" 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,proto3" 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) GetConditions ¶
func (x *PodStatus) GetConditions() []*PodCondition
func (*PodStatus) GetContainerStatuses ¶
func (x *PodStatus) GetContainerStatuses() []*ContainerStatus
func (*PodStatus) GetEphemeralContainerStatuses ¶
func (x *PodStatus) GetEphemeralContainerStatuses() []*ContainerStatus
func (*PodStatus) GetHostIPs ¶
func (*PodStatus) GetInitContainerStatuses ¶
func (x *PodStatus) GetInitContainerStatuses() []*ContainerStatus
func (*PodStatus) GetMessage ¶
func (*PodStatus) GetNominatedNodeName ¶
func (*PodStatus) GetQosClass ¶
func (*PodStatus) GetResourceClaimStatuses ¶
func (x *PodStatus) GetResourceClaimStatuses() []*PodResourceClaimStatus
func (*PodStatus) GetStartTime ¶
func (*PodStatus) ProtoMessage ¶
func (*PodStatus) ProtoMessage()
func (*PodStatus) ProtoReflect ¶
func (x *PodStatus) ProtoReflect() protoreflect.Message
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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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() *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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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() *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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of pod templates Items []*PodTemplate `protobuf:"bytes,2,rep,name=items,proto3" 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() *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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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() *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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"uid,omitempty"` // Specifies the target ResourceVersion // +optional ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion,proto3,oneof" json:"resourceVersion,omitempty"` // contains filtered or unexported fields }
Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
func (*Preconditions) Descriptor
deprecated
func (*Preconditions) Descriptor() ([]byte, []int)
Deprecated: Use Preconditions.ProtoReflect.Descriptor instead.
func (*Preconditions) GetResourceVersion ¶
func (x *Preconditions) GetResourceVersion() string
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,proto3,oneof" json:"podSignature,omitempty"` // Time at which this entry was added to the list. // +optional EvictionTime *Time `protobuf:"bytes,2,opt,name=evictionTime,proto3,oneof" json:"evictionTime,omitempty"` // (brief) reason why this entry was added to the list. // +optional Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Human readable message indicating why this entry was added to the list. // +optional Message *string `protobuf:"bytes,4,opt,name=message,proto3,oneof" 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() *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,proto3,oneof" json:"weight,omitempty"` // A node selector term, associated with the corresponding weight. Preference *NodeSelectorTerm `protobuf:"bytes,2,opt,name=preference,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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) GetFailureThreshold ¶
func (*Probe) GetHandler ¶
func (x *Probe) GetHandler() *ProbeHandler
func (*Probe) GetInitialDelaySeconds ¶
func (*Probe) GetPeriodSeconds ¶
func (*Probe) GetSuccessThreshold ¶
func (*Probe) GetTerminationGracePeriodSeconds ¶
func (*Probe) GetTimeoutSeconds ¶
func (*Probe) ProtoMessage ¶
func (*Probe) ProtoMessage()
func (*Probe) ProtoReflect ¶
func (x *Probe) ProtoReflect() protoreflect.Message
type ProbeHandler ¶
type ProbeHandler struct { // Exec specifies the action to take. // +optional Exec *ExecAction `protobuf:"bytes,1,opt,name=exec,proto3,oneof" json:"exec,omitempty"` // HTTPGet specifies the http request to perform. // +optional HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet,proto3,oneof" json:"httpGet,omitempty"` // TCPSocket specifies an action involving a TCP port. // +optional TcpSocket *TCPSocketAction `protobuf:"bytes,3,opt,name=tcpSocket,proto3,oneof" json:"tcpSocket,omitempty"` // GRPC specifies an action involving a GRPC port. // +optional Grpc *GRPCAction `protobuf:"bytes,4,opt,name=grpc,proto3,oneof" 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,proto3" 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,proto3,oneof" 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 Quantity ¶
type Quantity struct { String_ *string `protobuf:"bytes,1,opt,name=string,proto3,oneof" json:"string,omitempty"` // contains filtered or unexported fields }
func (*Quantity) Descriptor
deprecated
func (*Quantity) GetString_ ¶
func (*Quantity) ProtoMessage ¶
func (*Quantity) ProtoMessage()
func (*Quantity) ProtoReflect ¶
func (x *Quantity) ProtoReflect() protoreflect.Message
type QuantityValue ¶
type QuantityValue struct { String_ *string `protobuf:"bytes,1,opt,name=string,proto3,oneof" json:"string,omitempty"` // contains filtered or unexported fields }
QuantityValue makes it possible to use a Quantity as value for a command line parameter.
+protobuf=true +protobuf.embed=string +protobuf.options.marshal=false +protobuf.options.(gogoproto.goproto_stringer)=false +k8s:deepcopy-gen=true
func (*QuantityValue) Descriptor
deprecated
func (*QuantityValue) Descriptor() ([]byte, []int)
Deprecated: Use QuantityValue.ProtoReflect.Descriptor instead.
func (*QuantityValue) GetString_ ¶
func (x *QuantityValue) GetString_() string
func (*QuantityValue) ProtoMessage ¶
func (*QuantityValue) ProtoMessage()
func (*QuantityValue) ProtoReflect ¶
func (x *QuantityValue) ProtoReflect() protoreflect.Message
func (*QuantityValue) Reset ¶
func (x *QuantityValue) Reset()
func (*QuantityValue) String ¶
func (x *QuantityValue) 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,proto3,oneof" json:"registry,omitempty"` // volume is a string that references an already created Quobyte volume by name. Volume *string `protobuf:"bytes,2,opt,name=volume,proto3,oneof" 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,proto3,oneof" json:"readOnly,omitempty"` // user to map volume access to // Defaults to serivceaccount user // +optional User *string `protobuf:"bytes,4,opt,name=user,proto3,oneof" json:"user,omitempty"` // group to map volume access to // Default is no group // +optional Group *string `protobuf:"bytes,5,opt,name=group,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *RBDPersistentVolumeSource) ProtoReflect() protoreflect.Message
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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // Range is string that identifies the range represented by 'data'. Range *string `protobuf:"bytes,2,opt,name=range,proto3,oneof" json:"range,omitempty"` // Data is a bit array containing all allocated addresses in the previous segment. Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof" 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() *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 RawExtension ¶
type RawExtension struct { // Raw is the underlying serialization of this object. // // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3,oneof" json:"raw,omitempty"` // contains filtered or unexported fields }
func (*RawExtension) Descriptor
deprecated
func (*RawExtension) Descriptor() ([]byte, []int)
Deprecated: Use RawExtension.ProtoReflect.Descriptor instead.
func (*RawExtension) GetRaw ¶
func (x *RawExtension) GetRaw() []byte
func (*RawExtension) ProtoMessage ¶
func (*RawExtension) ProtoMessage()
func (*RawExtension) ProtoReflect ¶
func (x *RawExtension) ProtoReflect() protoreflect.Message
func (*RawExtension) Reset ¶
func (x *RawExtension) Reset()
func (*RawExtension) String ¶
func (x *RawExtension) 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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() *ObjectMeta
func (*ReplicationController) GetSpec ¶
func (x *ReplicationController) GetSpec() *ReplicationControllerSpec
func (*ReplicationController) GetStatus ¶
func (x *ReplicationController) GetStatus() *ReplicationControllerStatus
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,proto3,oneof" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // The last time the condition transitioned from one status to another. // +optional LastTransitionTime *Time `protobuf:"bytes,3,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. // +optional Reason *string `protobuf:"bytes,4,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // A human readable message indicating details about the transition. // +optional Message *string `protobuf:"bytes,5,opt,name=message,proto3,oneof" 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() *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 (x *ReplicationControllerCondition) GetType() string
func (*ReplicationControllerCondition) ProtoMessage ¶
func (*ReplicationControllerCondition) ProtoMessage()
func (*ReplicationControllerCondition) ProtoReflect ¶
func (x *ReplicationControllerCondition) ProtoReflect() protoreflect.Message
func (*ReplicationControllerCondition) Reset ¶
func (x *ReplicationControllerCondition) Reset()
func (*ReplicationControllerCondition) String ¶
func (x *ReplicationControllerCondition) String() 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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 (x *ReplicationControllerList) GetItems() []*ReplicationController
func (*ReplicationControllerList) GetMetadata ¶
func (x *ReplicationControllerList) GetMetadata() *ListMeta
func (*ReplicationControllerList) ProtoMessage ¶
func (*ReplicationControllerList) ProtoMessage()
func (*ReplicationControllerList) ProtoReflect ¶
func (x *ReplicationControllerList) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"replicas,omitempty"` MinReadySeconds *int32 `protobuf:"varint,4,opt,name=minReadySeconds,proto3,oneof" json:"minReadySeconds,omitempty"` Selector map[string]string `` /* 157-byte string literal not displayed */ Template *PodTemplateSpec `protobuf:"bytes,3,opt,name=template,proto3,oneof" 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 (x *ReplicationControllerSpec) ProtoReflect() protoreflect.Message
func (*ReplicationControllerSpec) Reset ¶
func (x *ReplicationControllerSpec) Reset()
func (*ReplicationControllerSpec) String ¶
func (x *ReplicationControllerSpec) String() string
type ReplicationControllerStatus ¶
type ReplicationControllerStatus struct { Replicas *int32 `protobuf:"varint,1,opt,name=replicas,proto3,oneof" 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,proto3,oneof" json:"fullyLabeledReplicas,omitempty"` // The number of ready replicas for this replication controller. // +optional ReadyReplicas *int32 `protobuf:"varint,4,opt,name=readyReplicas,proto3,oneof" 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,proto3,oneof" json:"availableReplicas,omitempty"` // ObservedGeneration reflects the generation of the most recently observed replication controller. // +optional ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration,proto3,oneof" 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,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
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 (x *ReplicationControllerStatus) GetConditions() []*ReplicationControllerCondition
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 (x *ReplicationControllerStatus) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" json:"containerName,omitempty"` // Required: resource to select Resource *string `protobuf:"bytes,2,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // Specifies the output format of the exposed resources, defaults to "1" // +optional Divisor *Quantity `protobuf:"bytes,3,opt,name=divisor,proto3,oneof" 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() *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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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() *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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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() *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]*Quantity `` /* 149-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,proto3" 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,proto3,oneof" 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]*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]*Quantity `` /* 149-byte string literal not displayed */ // Used is the current observed total usage of the resource in the namespace. // +optional Used map[string]*Quantity `` /* 149-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]*Quantity
func (*ResourceQuotaStatus) GetUsed ¶
func (x *ResourceQuotaStatus) GetUsed() map[string]*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]string `` /* 153-byte string literal not displayed */ // Requests describes the minimum amount of compute resources required. // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, // otherwise to an implementation-defined value. Requests cannot exceed Limits. // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ // +optional Requests map[string]string `` /* 157-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,proto3" 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]string
func (*ResourceRequirements) GetRequests ¶
func (x *ResourceRequirements) GetRequests() map[string]string
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 Resp ¶
type Resp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code" copier:"Code"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg" copier:"Msg"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data" copier:"Data"` // contains filtered or unexported fields }
func (*Resp) Descriptor
deprecated
func (*Resp) ProtoMessage ¶
func (*Resp) ProtoMessage()
func (*Resp) ProtoReflect ¶
func (x *Resp) ProtoReflect() protoreflect.Message
type RollbackConfig ¶
type RollbackConfig struct { // The revision to rollback to. If set to 0, rollback to the last revision. // +optional Revision *int64 `protobuf:"varint,1,opt,name=revision,proto3,oneof" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*RollbackConfig) Descriptor
deprecated
func (*RollbackConfig) Descriptor() ([]byte, []int)
Deprecated: Use RollbackConfig.ProtoReflect.Descriptor instead.
func (*RollbackConfig) GetRevision ¶
func (x *RollbackConfig) GetRevision() int64
func (*RollbackConfig) ProtoMessage ¶
func (*RollbackConfig) ProtoMessage()
func (*RollbackConfig) ProtoReflect ¶
func (x *RollbackConfig) ProtoReflect() protoreflect.Message
func (*RollbackConfig) Reset ¶
func (x *RollbackConfig) Reset()
func (*RollbackConfig) String ¶
func (x *RollbackConfig) String() string
type RollingUpdateDeployment ¶
type RollingUpdateDeployment struct { // Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). // Absolute number is calculated from percentage by rounding down. // This can not be 0 if MaxSurge is 0. // Defaults to 25%. // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring // that the total number of pods available at all times during the update is at // least 70% of desired pods. // +optional MaxUnavailable *IntOrString `protobuf:"bytes,1,opt,name=maxUnavailable,proto3,oneof" json:"maxUnavailable,omitempty"` // The maximum number of pods that can be scheduled above the desired number of // pods. // Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). // This can not be 0 if MaxUnavailable is 0. // Absolute number is calculated from percentage by rounding up. // Defaults to 25%. // Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when // the rolling update starts, such that the total number of old and new pods do not exceed // 130% of desired pods. Once old pods have been killed, // new ReplicaSet can be scaled up further, ensuring that total number of pods running // at any time during the update is at most 130% of desired pods. // +optional MaxSurge *IntOrString `protobuf:"bytes,2,opt,name=maxSurge,proto3,oneof" json:"maxSurge,omitempty"` // contains filtered or unexported fields }
func (*RollingUpdateDeployment) Descriptor
deprecated
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int)
Deprecated: Use RollingUpdateDeployment.ProtoReflect.Descriptor instead.
func (*RollingUpdateDeployment) GetMaxSurge ¶
func (x *RollingUpdateDeployment) GetMaxSurge() *IntOrString
func (*RollingUpdateDeployment) GetMaxUnavailable ¶
func (x *RollingUpdateDeployment) GetMaxUnavailable() *IntOrString
func (*RollingUpdateDeployment) ProtoMessage ¶
func (*RollingUpdateDeployment) ProtoMessage()
func (*RollingUpdateDeployment) ProtoReflect ¶
func (x *RollingUpdateDeployment) ProtoReflect() protoreflect.Message
func (*RollingUpdateDeployment) Reset ¶
func (x *RollingUpdateDeployment) Reset()
func (*RollingUpdateDeployment) String ¶
func (x *RollingUpdateDeployment) String() string
type RollingUpdateStatefulSetStrategy ¶
type RollingUpdateStatefulSetStrategy struct { // Partition indicates the ordinal at which the StatefulSet should be partitioned // for updates. During a rolling update, all pods from ordinal Replicas-1 to // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. // This is helpful in being able to do a canary based deployment. The default value is 0. // +optional Partition *int32 `protobuf:"varint,1,opt,name=partition,proto3,oneof" json:"partition,omitempty"` // Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). // Absolute number is calculated from percentage by rounding up. This can not be 0. // Defaults to 1. This field is alpha-level and is only honored by servers that enable the // MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to // Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it // will be counted towards MaxUnavailable. // +optional MaxUnavailable *IntOrString `protobuf:"bytes,2,opt,name=maxUnavailable,proto3,oneof" json:"maxUnavailable,omitempty"` // contains filtered or unexported fields }
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
func (*RollingUpdateStatefulSetStrategy) Descriptor
deprecated
func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int)
Deprecated: Use RollingUpdateStatefulSetStrategy.ProtoReflect.Descriptor instead.
func (*RollingUpdateStatefulSetStrategy) GetMaxUnavailable ¶
func (x *RollingUpdateStatefulSetStrategy) GetMaxUnavailable() *IntOrString
func (*RollingUpdateStatefulSetStrategy) GetPartition ¶
func (x *RollingUpdateStatefulSetStrategy) GetPartition() int32
func (*RollingUpdateStatefulSetStrategy) ProtoMessage ¶
func (*RollingUpdateStatefulSetStrategy) ProtoMessage()
func (*RollingUpdateStatefulSetStrategy) ProtoReflect ¶
func (x *RollingUpdateStatefulSetStrategy) ProtoReflect() protoreflect.Message
func (*RollingUpdateStatefulSetStrategy) Reset ¶
func (x *RollingUpdateStatefulSetStrategy) Reset()
func (*RollingUpdateStatefulSetStrategy) String ¶
func (x *RollingUpdateStatefulSetStrategy) String() string
type RootPaths ¶
type RootPaths struct { // paths are the paths available at root. Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
RootPaths lists the paths available at root. For example: "/healthz", "/apis".
func (*RootPaths) Descriptor
deprecated
func (*RootPaths) ProtoMessage ¶
func (*RootPaths) ProtoMessage()
func (*RootPaths) ProtoReflect ¶
func (x *RootPaths) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"user,omitempty"` // Role is a SELinux role label that applies to the container. // +optional Role *string `protobuf:"bytes,2,opt,name=role,proto3,oneof" json:"role,omitempty"` // Type is a SELinux type label that applies to the container. // +optional Type *string `protobuf:"bytes,3,opt,name=type,proto3,oneof" json:"type,omitempty"` // Level is SELinux level label that applies to the container. // +optional Level *string `protobuf:"bytes,4,opt,name=level,proto3,oneof" 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,proto3,oneof" json:"gateway,omitempty"` // system is the name of the storage system as configured in ScaleIO. System *string `protobuf:"bytes,2,opt,name=system,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"protectionDomain,omitempty"` // storagePool is the ScaleIO Storage Pool associated with the protection domain. // +optional StoragePool *string `protobuf:"bytes,6,opt,name=storagePool,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *ScaleIOPersistentVolumeSource) GetSecretRef() *SecretReference
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 (x *ScaleIOPersistentVolumeSource) ProtoReflect() protoreflect.Message
func (*ScaleIOPersistentVolumeSource) Reset ¶
func (x *ScaleIOPersistentVolumeSource) Reset()
func (*ScaleIOPersistentVolumeSource) String ¶
func (x *ScaleIOPersistentVolumeSource) String() string
type ScaleIOVolumeSource ¶
type ScaleIOVolumeSource struct { // gateway is the host address of the ScaleIO API Gateway. Gateway *string `protobuf:"bytes,1,opt,name=gateway,proto3,oneof" json:"gateway,omitempty"` // system is the name of the storage system as configured in ScaleIO. System *string `protobuf:"bytes,2,opt,name=system,proto3,oneof" 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,proto3,oneof" json:"secretRef,omitempty"` // sslEnabled Flag enable/disable SSL communication with Gateway, default false // +optional SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled,proto3,oneof" 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,proto3,oneof" json:"protectionDomain,omitempty"` // storagePool is the ScaleIO Storage Pool associated with the protection domain. // +optional StoragePool *string `protobuf:"bytes,6,opt,name=storagePool,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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 (x *ScopedResourceSelectorRequirement) ProtoReflect() protoreflect.Message
func (*ScopedResourceSelectorRequirement) Reset ¶
func (x *ScopedResourceSelectorRequirement) Reset()
func (*ScopedResourceSelectorRequirement) String ¶
func (x *ScopedResourceSelectorRequirement) String() 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,proto3,oneof" 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,proto3,oneof" 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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 `` /* 149-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 `` /* 161-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,proto3,oneof" 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) GetImmutable ¶
func (*Secret) GetMetadata ¶
func (x *Secret) GetMetadata() *ObjectMeta
func (*Secret) GetStringData ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type SecretEnvSource ¶
type SecretEnvSource struct { // The Secret to select from. LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference,proto3,oneof" json:"localObjectReference,omitempty"` // Specify whether the Secret must be defined // +optional Optional *bool `protobuf:"varint,2,opt,name=optional,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"key,omitempty"` // Specify whether the Secret or its key must be defined // +optional Optional *bool `protobuf:"varint,3,opt,name=optional,proto3,oneof" 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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() *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,proto3,oneof" 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,proto3" json:"items,omitempty"` // optional field specify whether the Secret or its key must be defined // +optional Optional *bool `protobuf:"varint,4,opt,name=optional,proto3,oneof" 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,proto3,oneof" json:"name,omitempty"` // namespace defines the space within which the secret name must be unique. // +optional Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" json:"defaultMode,omitempty"` // optional field specify whether the Secret or its keys must be defined // +optional Optional *bool `protobuf:"varint,4,opt,name=optional,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 ServerAddressByClientCIDR ¶
type ServerAddressByClientCIDR struct { // The CIDR with which clients can match their IP to figure out the server address that they should use. ClientCIDR *string `protobuf:"bytes,1,opt,name=clientCIDR,proto3,oneof" json:"clientCIDR,omitempty"` // Address of this server, suitable for a client that matches the above CIDR. // This can be a hostname, hostname:port, IP or IP:port. ServerAddress *string `protobuf:"bytes,2,opt,name=serverAddress,proto3,oneof" json:"serverAddress,omitempty"` // contains filtered or unexported fields }
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
func (*ServerAddressByClientCIDR) Descriptor
deprecated
func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)
Deprecated: Use ServerAddressByClientCIDR.ProtoReflect.Descriptor instead.
func (*ServerAddressByClientCIDR) GetClientCIDR ¶
func (x *ServerAddressByClientCIDR) GetClientCIDR() string
func (*ServerAddressByClientCIDR) GetServerAddress ¶
func (x *ServerAddressByClientCIDR) GetServerAddress() string
func (*ServerAddressByClientCIDR) ProtoMessage ¶
func (*ServerAddressByClientCIDR) ProtoMessage()
func (*ServerAddressByClientCIDR) ProtoReflect ¶
func (x *ServerAddressByClientCIDR) ProtoReflect() protoreflect.Message
func (*ServerAddressByClientCIDR) Reset ¶
func (x *ServerAddressByClientCIDR) Reset()
func (*ServerAddressByClientCIDR) String ¶
func (x *ServerAddressByClientCIDR) 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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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) GetMetadata ¶
func (x *Service) GetMetadata() *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
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 *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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,proto3" 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,proto3,oneof" 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() *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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" 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,proto3" 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() *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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *ServiceAccountTokenProjection) GetPath() string
func (*ServiceAccountTokenProjection) ProtoMessage ¶
func (*ServiceAccountTokenProjection) ProtoMessage()
func (*ServiceAccountTokenProjection) ProtoReflect ¶
func (x *ServiceAccountTokenProjection) ProtoReflect() protoreflect.Message
func (*ServiceAccountTokenProjection) Reset ¶
func (x *ServiceAccountTokenProjection) Reset()
func (*ServiceAccountTokenProjection) String ¶
func (x *ServiceAccountTokenProjection) String() string
type ServiceBackendPort ¶
type ServiceBackendPort struct { // name is the name of the port on the Service. // This is a mutually exclusive setting with "Number". // +optional Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // number is the numerical port number (e.g. 80) on the Service. // This is a mutually exclusive setting with "Name". // +optional Number *int32 `protobuf:"varint,2,opt,name=number,proto3,oneof" json:"number,omitempty"` // contains filtered or unexported fields }
ServiceBackendPort is the service port being referenced.
func (*ServiceBackendPort) Descriptor
deprecated
func (*ServiceBackendPort) Descriptor() ([]byte, []int)
Deprecated: Use ServiceBackendPort.ProtoReflect.Descriptor instead.
func (*ServiceBackendPort) GetName ¶
func (x *ServiceBackendPort) GetName() string
func (*ServiceBackendPort) GetNumber ¶
func (x *ServiceBackendPort) GetNumber() int32
func (*ServiceBackendPort) ProtoMessage ¶
func (*ServiceBackendPort) ProtoMessage()
func (*ServiceBackendPort) ProtoReflect ¶
func (x *ServiceBackendPort) ProtoReflect() protoreflect.Message
func (*ServiceBackendPort) Reset ¶
func (x *ServiceBackendPort) Reset()
func (*ServiceBackendPort) String ¶
func (x *ServiceBackendPort) String() 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 *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // List of services Items []*Service `protobuf:"bytes,2,rep,name=items,proto3" 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() *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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"appProtocol,omitempty"` // The port that will be exposed by this service. Port *int32 `protobuf:"varint,3,opt,name=port,proto3,oneof" 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 *IntOrString `protobuf:"bytes,4,opt,name=targetPort,proto3,oneof" 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,proto3,oneof" 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() *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,proto3,oneof" 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,proto3" 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 `` /* 157-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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"publishNotReadyAddresses,omitempty"` // sessionAffinityConfig contains the configurations of session affinity. // +optional SessionAffinityConfig *SessionAffinityConfig `protobuf:"bytes,14,opt,name=sessionAffinityConfig,proto3,oneof" 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,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"loadBalancer,omitempty"` // Current service state // +optional // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []*Condition `protobuf:"bytes,2,rep,name=conditions,proto3" 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() []*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,proto3,oneof" 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 StatefulSet ¶
type StatefulSet struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // Spec defines the desired identities of pods in this set. // +optional Spec *StatefulSetSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof" json:"spec,omitempty"` // Status is the current status of Pods in this StatefulSet. This data // may be out of date by some window of time. // +optional Status *StatefulSetStatus `protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StatefulSet) Descriptor
deprecated
func (*StatefulSet) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSet.ProtoReflect.Descriptor instead.
func (*StatefulSet) GetMetadata ¶
func (x *StatefulSet) GetMetadata() *ObjectMeta
func (*StatefulSet) GetSpec ¶
func (x *StatefulSet) GetSpec() *StatefulSetSpec
func (*StatefulSet) GetStatus ¶
func (x *StatefulSet) GetStatus() *StatefulSetStatus
func (*StatefulSet) ProtoMessage ¶
func (*StatefulSet) ProtoMessage()
func (*StatefulSet) ProtoReflect ¶
func (x *StatefulSet) ProtoReflect() protoreflect.Message
func (*StatefulSet) Reset ¶
func (x *StatefulSet) Reset()
func (*StatefulSet) String ¶
func (x *StatefulSet) String() string
type StatefulSetCondition ¶
type StatefulSetCondition struct { // Type of statefulset condition. Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime *Time `protobuf:"bytes,3,opt,name=lastTransitionTime,proto3,oneof" json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. // +optional Reason *string `protobuf:"bytes,4,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // A human readable message indicating details about the transition. // +optional Message *string `protobuf:"bytes,5,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
StatefulSetCondition describes the state of a statefulset at a certain point.
func (*StatefulSetCondition) Descriptor
deprecated
func (*StatefulSetCondition) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSetCondition.ProtoReflect.Descriptor instead.
func (*StatefulSetCondition) GetLastTransitionTime ¶
func (x *StatefulSetCondition) GetLastTransitionTime() *Time
func (*StatefulSetCondition) GetMessage ¶
func (x *StatefulSetCondition) GetMessage() string
func (*StatefulSetCondition) GetReason ¶
func (x *StatefulSetCondition) GetReason() string
func (*StatefulSetCondition) GetStatus ¶
func (x *StatefulSetCondition) GetStatus() string
func (*StatefulSetCondition) GetType ¶
func (x *StatefulSetCondition) GetType() string
func (*StatefulSetCondition) ProtoMessage ¶
func (*StatefulSetCondition) ProtoMessage()
func (*StatefulSetCondition) ProtoReflect ¶
func (x *StatefulSetCondition) ProtoReflect() protoreflect.Message
func (*StatefulSetCondition) Reset ¶
func (x *StatefulSetCondition) Reset()
func (*StatefulSetCondition) String ¶
func (x *StatefulSetCondition) String() string
type StatefulSetOrdinals ¶
type StatefulSetOrdinals struct { // start is the number representing the first replica's index. It may be used // to number replicas from an alternate index (eg: 1-indexed) over the default // 0-indexed names, or to orchestrate progressive movement of replicas from // one StatefulSet to another. // If set, replica indices will be in the range: // // [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). // // If unset, defaults to 0. Replica indices will be in the range: // // [0, .spec.replicas). // // +optional Start *int32 `protobuf:"varint,1,opt,name=start,proto3,oneof" json:"start,omitempty"` // contains filtered or unexported fields }
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
func (*StatefulSetOrdinals) Descriptor
deprecated
func (*StatefulSetOrdinals) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSetOrdinals.ProtoReflect.Descriptor instead.
func (*StatefulSetOrdinals) GetStart ¶
func (x *StatefulSetOrdinals) GetStart() int32
func (*StatefulSetOrdinals) ProtoMessage ¶
func (*StatefulSetOrdinals) ProtoMessage()
func (*StatefulSetOrdinals) ProtoReflect ¶
func (x *StatefulSetOrdinals) ProtoReflect() protoreflect.Message
func (*StatefulSetOrdinals) Reset ¶
func (x *StatefulSetOrdinals) Reset()
func (*StatefulSetOrdinals) String ¶
func (x *StatefulSetOrdinals) String() string
type StatefulSetPersistentVolumeClaimRetentionPolicy ¶
type StatefulSetPersistentVolumeClaimRetentionPolicy struct { // WhenDeleted specifies what happens to PVCs created from StatefulSet // VolumeClaimTemplates when the StatefulSet is deleted. The default policy // of `Retain` causes PVCs to not be affected by StatefulSet deletion. The // `Delete` policy causes those PVCs to be deleted. WhenDeleted *string `protobuf:"bytes,1,opt,name=whenDeleted,proto3,oneof" json:"whenDeleted,omitempty"` // WhenScaled specifies what happens to PVCs created from StatefulSet // VolumeClaimTemplates when the StatefulSet is scaled down. The default // policy of `Retain` causes PVCs to not be affected by a scaledown. The // `Delete` policy causes the associated PVCs for any excess pods above // the replica count to be deleted. WhenScaled *string `protobuf:"bytes,2,opt,name=whenScaled,proto3,oneof" json:"whenScaled,omitempty"` // contains filtered or unexported fields }
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor
deprecated
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSetPersistentVolumeClaimRetentionPolicy.ProtoReflect.Descriptor instead.
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) GetWhenDeleted ¶
func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) GetWhenDeleted() string
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) GetWhenScaled ¶
func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) GetWhenScaled() string
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage ¶
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage()
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoReflect ¶
func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoReflect() protoreflect.Message
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Reset ¶
func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset()
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) String ¶
func (x *StatefulSetPersistentVolumeClaimRetentionPolicy) String() string
type StatefulSetSpec ¶
type StatefulSetSpec struct { // replicas is the desired number of replicas of the given Template. // These are replicas in the sense that they are instantiations of the // same Template, but individual replicas also have a consistent identity. // If unspecified, defaults to 1. // TODO: Consider a rename of this field. // +optional Replicas *int32 `protobuf:"varint,1,opt,name=replicas,proto3,oneof" json:"replicas,omitempty"` // selector is a label query over pods that should match the replica count. // It must match the pod template's labels. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector *LabelSelector `protobuf:"bytes,2,opt,name=selector,proto3,oneof" json:"selector,omitempty"` // template is the object that describes the pod that will be created if // insufficient replicas are detected. Each pod stamped out by the StatefulSet // will fulfill this Template, but have a unique identity from the rest // of the StatefulSet. Each pod will be named with the format // <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named // "web" with index number "3" would be named "web-3". // The only allowed template.spec.restartPolicy value is "Always". Template *PodTemplateSpec `protobuf:"bytes,3,opt,name=template,proto3,oneof" json:"template,omitempty"` // volumeClaimTemplates is a list of claims that pods are allowed to reference. // The StatefulSet controller is responsible for mapping network identities to // claims in a way that maintains the identity of a pod. Every claim in // this list must have at least one matching (by name) volumeMount in one // container in the template. A claim in this list takes precedence over // any volumes in the template, with the same name. // TODO: Define the behavior if a claim already exists with the same name. // +optional VolumeClaimTemplates []*PersistentVolumeClaim `protobuf:"bytes,4,rep,name=volumeClaimTemplates,proto3" json:"volumeClaimTemplates,omitempty"` // serviceName is the name of the service that governs this StatefulSet. // This service must exist before the StatefulSet, and is responsible for // the network identity of the set. Pods get DNS/hostnames that follow the // pattern: pod-specific-string.serviceName.default.svc.cluster.local // where "pod-specific-string" is managed by the StatefulSet controller. ServiceName *string `protobuf:"bytes,5,opt,name=serviceName,proto3,oneof" json:"serviceName,omitempty"` // podManagementPolicy controls how pods are created during initial scale up, // when replacing pods on nodes, or when scaling down. The default policy is // `OrderedReady`, where pods are created in increasing order (pod-0, then // pod-1, etc) and the controller will wait until each pod is ready before // continuing. When scaling down, the pods are removed in the opposite order. // The alternative policy is `Parallel` which will create pods in parallel // to match the desired scale without waiting, and on scale down will delete // all pods at once. // +optional PodManagementPolicy *string `protobuf:"bytes,6,opt,name=podManagementPolicy,proto3,oneof" json:"podManagementPolicy,omitempty"` // updateStrategy indicates the StatefulSetUpdateStrategy that will be // employed to update Pods in the StatefulSet when a revision is made to // Template. UpdateStrategy *StatefulSetUpdateStrategy `protobuf:"bytes,7,opt,name=updateStrategy,proto3,oneof" json:"updateStrategy,omitempty"` // revisionHistoryLimit is the maximum number of revisions that will // be maintained in the StatefulSet's revision history. The revision history // consists of all revisions not represented by a currently applied // StatefulSetSpec version. The default value is 10. RevisionHistoryLimit *int32 `protobuf:"varint,8,opt,name=revisionHistoryLimit,proto3,oneof" json:"revisionHistoryLimit,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,9,opt,name=minReadySeconds,proto3,oneof" json:"minReadySeconds,omitempty"` // persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent // volume claims created from volumeClaimTemplates. By default, all persistent // volume claims are created as needed and retained until manually deleted. This // policy allows the lifecycle to be altered, for example by deleting persistent // volume claims when their stateful set is deleted, or when their pod is scaled // down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, // which is alpha. +optional PersistentVolumeClaimRetentionPolicy *StatefulSetPersistentVolumeClaimRetentionPolicy `` /* 132-byte string literal not displayed */ // ordinals controls the numbering of replica indices in a StatefulSet. The // default ordinals behavior assigns a "0" index to the first replica and // increments the index by one for each additional replica requested. Using // the ordinals field requires the StatefulSetStartOrdinal feature gate to be // enabled, which is beta. // +optional Ordinals *StatefulSetOrdinals `protobuf:"bytes,11,opt,name=ordinals,proto3,oneof" json:"ordinals,omitempty"` // contains filtered or unexported fields }
A StatefulSetSpec is the specification of a StatefulSet.
func (*StatefulSetSpec) Descriptor
deprecated
func (*StatefulSetSpec) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSetSpec.ProtoReflect.Descriptor instead.
func (*StatefulSetSpec) GetMinReadySeconds ¶
func (x *StatefulSetSpec) GetMinReadySeconds() int32
func (*StatefulSetSpec) GetOrdinals ¶
func (x *StatefulSetSpec) GetOrdinals() *StatefulSetOrdinals
func (*StatefulSetSpec) GetPersistentVolumeClaimRetentionPolicy ¶
func (x *StatefulSetSpec) GetPersistentVolumeClaimRetentionPolicy() *StatefulSetPersistentVolumeClaimRetentionPolicy
func (*StatefulSetSpec) GetPodManagementPolicy ¶
func (x *StatefulSetSpec) GetPodManagementPolicy() string
func (*StatefulSetSpec) GetReplicas ¶
func (x *StatefulSetSpec) GetReplicas() int32
func (*StatefulSetSpec) GetRevisionHistoryLimit ¶
func (x *StatefulSetSpec) GetRevisionHistoryLimit() int32
func (*StatefulSetSpec) GetSelector ¶
func (x *StatefulSetSpec) GetSelector() *LabelSelector
func (*StatefulSetSpec) GetServiceName ¶
func (x *StatefulSetSpec) GetServiceName() string
func (*StatefulSetSpec) GetTemplate ¶
func (x *StatefulSetSpec) GetTemplate() *PodTemplateSpec
func (*StatefulSetSpec) GetUpdateStrategy ¶
func (x *StatefulSetSpec) GetUpdateStrategy() *StatefulSetUpdateStrategy
func (*StatefulSetSpec) GetVolumeClaimTemplates ¶
func (x *StatefulSetSpec) GetVolumeClaimTemplates() []*PersistentVolumeClaim
func (*StatefulSetSpec) ProtoMessage ¶
func (*StatefulSetSpec) ProtoMessage()
func (*StatefulSetSpec) ProtoReflect ¶
func (x *StatefulSetSpec) ProtoReflect() protoreflect.Message
func (*StatefulSetSpec) Reset ¶
func (x *StatefulSetSpec) Reset()
func (*StatefulSetSpec) String ¶
func (x *StatefulSetSpec) String() string
type StatefulSetStatus ¶
type StatefulSetStatus struct { // observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the // StatefulSet's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration *int64 `protobuf:"varint,1,opt,name=observedGeneration,proto3,oneof" json:"observedGeneration,omitempty"` // replicas is the number of Pods created by the StatefulSet controller. Replicas *int32 `protobuf:"varint,2,opt,name=replicas,proto3,oneof" json:"replicas,omitempty"` // readyReplicas is the number of pods created for this StatefulSet with a Ready Condition. ReadyReplicas *int32 `protobuf:"varint,3,opt,name=readyReplicas,proto3,oneof" json:"readyReplicas,omitempty"` // currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version // indicated by currentRevision. CurrentReplicas *int32 `protobuf:"varint,4,opt,name=currentReplicas,proto3,oneof" json:"currentReplicas,omitempty"` // updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version // indicated by updateRevision. UpdatedReplicas *int32 `protobuf:"varint,5,opt,name=updatedReplicas,proto3,oneof" json:"updatedReplicas,omitempty"` // currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the // sequence [0,currentReplicas). CurrentRevision *string `protobuf:"bytes,6,opt,name=currentRevision,proto3,oneof" json:"currentRevision,omitempty"` // updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence // [replicas-updatedReplicas,replicas) UpdateRevision *string `protobuf:"bytes,7,opt,name=updateRevision,proto3,oneof" json:"updateRevision,omitempty"` // collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller // uses this field as a collision avoidance mechanism when it needs to create the name for the // newest ControllerRevision. // +optional CollisionCount *int32 `protobuf:"varint,9,opt,name=collisionCount,proto3,oneof" json:"collisionCount,omitempty"` // Represents the latest available observations of a statefulset's current state. // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []*StatefulSetCondition `protobuf:"bytes,10,rep,name=conditions,proto3" json:"conditions,omitempty"` // Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. // +optional AvailableReplicas *int32 `protobuf:"varint,11,opt,name=availableReplicas,proto3,oneof" json:"availableReplicas,omitempty"` // contains filtered or unexported fields }
StatefulSetStatus represents the current state of a StatefulSet.
func (*StatefulSetStatus) Descriptor
deprecated
func (*StatefulSetStatus) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSetStatus.ProtoReflect.Descriptor instead.
func (*StatefulSetStatus) GetAvailableReplicas ¶
func (x *StatefulSetStatus) GetAvailableReplicas() int32
func (*StatefulSetStatus) GetCollisionCount ¶
func (x *StatefulSetStatus) GetCollisionCount() int32
func (*StatefulSetStatus) GetConditions ¶
func (x *StatefulSetStatus) GetConditions() []*StatefulSetCondition
func (*StatefulSetStatus) GetCurrentReplicas ¶
func (x *StatefulSetStatus) GetCurrentReplicas() int32
func (*StatefulSetStatus) GetCurrentRevision ¶
func (x *StatefulSetStatus) GetCurrentRevision() string
func (*StatefulSetStatus) GetObservedGeneration ¶
func (x *StatefulSetStatus) GetObservedGeneration() int64
func (*StatefulSetStatus) GetReadyReplicas ¶
func (x *StatefulSetStatus) GetReadyReplicas() int32
func (*StatefulSetStatus) GetReplicas ¶
func (x *StatefulSetStatus) GetReplicas() int32
func (*StatefulSetStatus) GetUpdateRevision ¶
func (x *StatefulSetStatus) GetUpdateRevision() string
func (*StatefulSetStatus) GetUpdatedReplicas ¶
func (x *StatefulSetStatus) GetUpdatedReplicas() int32
func (*StatefulSetStatus) ProtoMessage ¶
func (*StatefulSetStatus) ProtoMessage()
func (*StatefulSetStatus) ProtoReflect ¶
func (x *StatefulSetStatus) ProtoReflect() protoreflect.Message
func (*StatefulSetStatus) Reset ¶
func (x *StatefulSetStatus) Reset()
func (*StatefulSetStatus) String ¶
func (x *StatefulSetStatus) String() string
type StatefulSetUpdateStrategy ¶
type StatefulSetUpdateStrategy struct { // Type indicates the type of the StatefulSetUpdateStrategy. // Default is RollingUpdate. // +optional Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. // +optional RollingUpdate *RollingUpdateStatefulSetStrategy `protobuf:"bytes,2,opt,name=rollingUpdate,proto3,oneof" json:"rollingUpdate,omitempty"` // contains filtered or unexported fields }
func (*StatefulSetUpdateStrategy) Descriptor
deprecated
func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int)
Deprecated: Use StatefulSetUpdateStrategy.ProtoReflect.Descriptor instead.
func (*StatefulSetUpdateStrategy) GetRollingUpdate ¶
func (x *StatefulSetUpdateStrategy) GetRollingUpdate() *RollingUpdateStatefulSetStrategy
func (*StatefulSetUpdateStrategy) GetType ¶
func (x *StatefulSetUpdateStrategy) GetType() string
func (*StatefulSetUpdateStrategy) ProtoMessage ¶
func (*StatefulSetUpdateStrategy) ProtoMessage()
func (*StatefulSetUpdateStrategy) ProtoReflect ¶
func (x *StatefulSetUpdateStrategy) ProtoReflect() protoreflect.Message
func (*StatefulSetUpdateStrategy) Reset ¶
func (x *StatefulSetUpdateStrategy) Reset()
func (*StatefulSetUpdateStrategy) String ¶
func (x *StatefulSetUpdateStrategy) String() string
type Status ¶
type Status struct { // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // Status of the operation. // One of: "Success" or "Failure". // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Status *string `protobuf:"bytes,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // A human-readable description of the status of this operation. // +optional Message *string `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` // A machine-readable description of why this operation is in the // "Failure" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. // +optional Reason *string `protobuf:"bytes,4,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // Extended data associated with the reason. Each reason may define its // own extended details. This field is optional and the data returned // is not guaranteed to conform to any schema except that defined by // the reason type. // +optional Details *StatusDetails `protobuf:"bytes,5,opt,name=details,proto3,oneof" json:"details,omitempty"` // Suggested HTTP return code for this status, 0 if not set. // +optional Code *int32 `protobuf:"varint,6,opt,name=code,proto3,oneof" json:"code,omitempty"` // contains filtered or unexported fields }
Status is a return value for calls that don't return other objects.
func (*Status) Descriptor
deprecated
func (*Status) GetDetails ¶
func (x *Status) GetDetails() *StatusDetails
func (*Status) GetMessage ¶
func (*Status) GetMetadata ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StatusCause ¶
type StatusCause struct { // A machine-readable description of the cause of the error. If this value is // empty there is no information available. // +optional Reason *string `protobuf:"bytes,1,opt,name=reason,proto3,oneof" json:"reason,omitempty"` // A human-readable description of the cause of the error. This field may be // presented as-is to a reader. // +optional Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"` // The field of the resource that has caused this error, as named by its JSON // serialization. May include dot and postfix notation for nested attributes. // Arrays are zero-indexed. Fields may appear more than once in an array of // causes due to fields having multiple errors. // Optional. // // Examples: // // "name" - the field "name" on the current resource // "items[0].name" - the field "name" on the first array entry in "items" // // +optional Field *string `protobuf:"bytes,3,opt,name=field,proto3,oneof" json:"field,omitempty"` // contains filtered or unexported fields }
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
func (*StatusCause) Descriptor
deprecated
func (*StatusCause) Descriptor() ([]byte, []int)
Deprecated: Use StatusCause.ProtoReflect.Descriptor instead.
func (*StatusCause) GetField ¶
func (x *StatusCause) GetField() string
func (*StatusCause) GetMessage ¶
func (x *StatusCause) GetMessage() string
func (*StatusCause) GetReason ¶
func (x *StatusCause) GetReason() string
func (*StatusCause) ProtoMessage ¶
func (*StatusCause) ProtoMessage()
func (*StatusCause) ProtoReflect ¶
func (x *StatusCause) ProtoReflect() protoreflect.Message
func (*StatusCause) Reset ¶
func (x *StatusCause) Reset()
func (*StatusCause) String ¶
func (x *StatusCause) String() string
type StatusDetails ¶
type StatusDetails struct { // The name attribute of the resource associated with the status StatusReason // (when there is a single name which can be described). // +optional Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // The group attribute of the resource associated with the status StatusReason. // +optional Group *string `protobuf:"bytes,2,opt,name=group,proto3,oneof" json:"group,omitempty"` // The kind attribute of the resource associated with the status StatusReason. // On some operations may differ from the requested resource Kind. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Kind *string `protobuf:"bytes,3,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // UID of the resource. // (when there is a single resource which can be described). // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids // +optional Uid *string `protobuf:"bytes,6,opt,name=uid,proto3,oneof" json:"uid,omitempty"` // The Causes array includes more details associated with the StatusReason // failure. Not all StatusReasons may provide detailed causes. // +optional Causes []*StatusCause `protobuf:"bytes,4,rep,name=causes,proto3" json:"causes,omitempty"` // If specified, the time in seconds before the operation should be retried. Some errors may indicate // the client must take an alternate action - for those errors this field may indicate how long to wait // before taking the alternate action. // +optional RetryAfterSeconds *int32 `protobuf:"varint,5,opt,name=retryAfterSeconds,proto3,oneof" json:"retryAfterSeconds,omitempty"` // contains filtered or unexported fields }
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
func (*StatusDetails) Descriptor
deprecated
func (*StatusDetails) Descriptor() ([]byte, []int)
Deprecated: Use StatusDetails.ProtoReflect.Descriptor instead.
func (*StatusDetails) GetCauses ¶
func (x *StatusDetails) GetCauses() []*StatusCause
func (*StatusDetails) GetGroup ¶
func (x *StatusDetails) GetGroup() string
func (*StatusDetails) GetKind ¶
func (x *StatusDetails) GetKind() string
func (*StatusDetails) GetName ¶
func (x *StatusDetails) GetName() string
func (*StatusDetails) GetRetryAfterSeconds ¶
func (x *StatusDetails) GetRetryAfterSeconds() int32
func (*StatusDetails) GetUid ¶
func (x *StatusDetails) GetUid() string
func (*StatusDetails) ProtoMessage ¶
func (*StatusDetails) ProtoMessage()
func (*StatusDetails) ProtoReflect ¶
func (x *StatusDetails) ProtoReflect() protoreflect.Message
func (*StatusDetails) Reset ¶
func (x *StatusDetails) Reset()
func (*StatusDetails) String ¶
func (x *StatusDetails) 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 (x *StorageOSPersistentVolumeSource) GetSecretRef() *ObjectReference
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 (x *StorageOSPersistentVolumeSource) ProtoReflect() protoreflect.Message
func (*StorageOSPersistentVolumeSource) Reset ¶
func (x *StorageOSPersistentVolumeSource) Reset()
func (*StorageOSPersistentVolumeSource) String ¶
func (x *StorageOSPersistentVolumeSource) String() 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"name,omitempty"` // Value of a property to set Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"` // contains filtered or unexported fields }
Sysctl defines a kernel parameter to be set
func (*Sysctl) Descriptor
deprecated
func (*Sysctl) ProtoMessage ¶
func (*Sysctl) ProtoMessage()
func (*Sysctl) ProtoReflect ¶
func (x *Sysctl) ProtoReflect() protoreflect.Message
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 *IntOrString `protobuf:"bytes,1,opt,name=port,proto3,oneof" json:"port,omitempty"` // Optional: Host name to connect to, defaults to the pod IP. // +optional Host *string `protobuf:"bytes,2,opt,name=host,proto3,oneof" 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() *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 TableOptions ¶
type TableOptions struct { // includeObject decides whether to include each object along with its columnar information. // Specifying "None" will return no object, specifying "Object" will return the full object contents, and // specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind // in version v1beta1 of the meta.k8s.io API group. IncludeObject *string `protobuf:"bytes,1,opt,name=includeObject,proto3,oneof" json:"includeObject,omitempty"` // contains filtered or unexported fields }
TableOptions are used when a Table is requested by the caller. +k8s:deepcopy-gen:interfaces=pb/runtime.Object
func (*TableOptions) Descriptor
deprecated
func (*TableOptions) Descriptor() ([]byte, []int)
Deprecated: Use TableOptions.ProtoReflect.Descriptor instead.
func (*TableOptions) GetIncludeObject ¶
func (x *TableOptions) GetIncludeObject() string
func (*TableOptions) ProtoMessage ¶
func (*TableOptions) ProtoMessage()
func (*TableOptions) ProtoReflect ¶
func (x *TableOptions) ProtoReflect() protoreflect.Message
func (*TableOptions) Reset ¶
func (x *TableOptions) Reset()
func (*TableOptions) String ¶
func (x *TableOptions) 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,proto3,oneof" json:"key,omitempty"` // The taint value corresponding to the taint key. // +optional Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" 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,proto3,oneof" json:"effect,omitempty"` // TimeAdded represents the time at which the taint was added. // It is only written for NoExecute taints. // +optional TimeAdded *Time `protobuf:"bytes,4,opt,name=timeAdded,proto3,oneof" 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) GetTimeAdded ¶
func (*Taint) ProtoMessage ¶
func (*Taint) ProtoMessage()
func (*Taint) ProtoReflect ¶
func (x *Taint) ProtoReflect() protoreflect.Message
type Tenant ¶
type Tenant struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //租户名称 Type int64 `protobuf:"varint,2,opt,name=type,proto3" json:"type"` Clusters string `protobuf:"bytes,3,opt,name=clusters,proto3" json:"clusters,omitempty"` //租户所属集群用,分割 // contains filtered or unexported fields }
func (*Tenant) Descriptor
deprecated
func (*Tenant) GetClusters ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
type TenantListResp ¶
type TenantListResp struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Data map[string]string `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TenantListResp) Descriptor
deprecated
func (*TenantListResp) Descriptor() ([]byte, []int)
Deprecated: Use TenantListResp.ProtoReflect.Descriptor instead.
func (*TenantListResp) GetCode ¶
func (x *TenantListResp) GetCode() string
func (*TenantListResp) GetData ¶
func (x *TenantListResp) GetData() map[string]string
func (*TenantListResp) GetMsg ¶
func (x *TenantListResp) GetMsg() string
func (*TenantListResp) ProtoMessage ¶
func (*TenantListResp) ProtoMessage()
func (*TenantListResp) ProtoReflect ¶
func (x *TenantListResp) ProtoReflect() protoreflect.Message
func (*TenantListResp) Reset ¶
func (x *TenantListResp) Reset()
func (*TenantListResp) String ¶
func (x *TenantListResp) String() string
type Time ¶
type Time struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds *int64 `protobuf:"varint,1,opt,name=seconds,proto3,oneof" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. This field may be limited in precision depending on context. Nanos *int32 `protobuf:"varint,2,opt,name=nanos,proto3,oneof" json:"nanos,omitempty"` // contains filtered or unexported fields }
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false
func (*Time) Descriptor
deprecated
func (*Time) GetSeconds ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) ProtoReflect ¶
func (x *Time) ProtoReflect() protoreflect.Message
type Timestamp ¶
type Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds *int64 `protobuf:"varint,1,opt,name=seconds,proto3,oneof" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. This field may be limited in precision depending on context. Nanos *int32 `protobuf:"varint,2,opt,name=nanos,proto3,oneof" json:"nanos,omitempty"` // contains filtered or unexported fields }
Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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 (x *TopologySelectorLabelRequirement) GetKey() string
func (*TopologySelectorLabelRequirement) GetValues ¶
func (x *TopologySelectorLabelRequirement) GetValues() []string
func (*TopologySelectorLabelRequirement) ProtoMessage ¶
func (*TopologySelectorLabelRequirement) ProtoMessage()
func (*TopologySelectorLabelRequirement) ProtoReflect ¶
func (x *TopologySelectorLabelRequirement) ProtoReflect() protoreflect.Message
func (*TopologySelectorLabelRequirement) Reset ¶
func (x *TopologySelectorLabelRequirement) Reset()
func (*TopologySelectorLabelRequirement) String ¶
func (x *TopologySelectorLabelRequirement) String() string
type TopologySelectorTerm ¶
type TopologySelectorTerm struct { // A list of topology selector requirements by labels. // +optional MatchLabelExpressions []*TopologySelectorLabelRequirement `protobuf:"bytes,1,rep,name=matchLabelExpressions,proto3" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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 *LabelSelector `protobuf:"bytes,4,opt,name=labelSelector,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3" 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() *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 TypeMeta ¶
type TypeMeta struct { // +optional ApiVersion *string `protobuf:"bytes,1,opt,name=apiVersion,proto3,oneof" json:"apiVersion,omitempty"` // +optional Kind *string `protobuf:"bytes,2,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*TypeMeta) Descriptor
deprecated
func (*TypeMeta) GetApiVersion ¶
func (*TypeMeta) ProtoMessage ¶
func (*TypeMeta) ProtoMessage()
func (*TypeMeta) ProtoReflect ¶
func (x *TypeMeta) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"apiGroup,omitempty"` // Kind is the type of resource being referenced Kind *string `protobuf:"bytes,2,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // Name is the name of resource being referenced Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" 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 (x *TypedLocalObjectReference) ProtoReflect() protoreflect.Message
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,proto3,oneof" json:"apiGroup,omitempty"` // Kind is the type of resource being referenced Kind *string `protobuf:"bytes,2,opt,name=kind,proto3,oneof" json:"kind,omitempty"` // Name is the name of resource being referenced Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" 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,proto3,oneof" 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 UncountedTerminatedPods ¶
type UncountedTerminatedPods struct { // succeeded holds UIDs of succeeded Pods. // +listType=set // +optional Succeeded []string `protobuf:"bytes,1,rep,name=succeeded,proto3" json:"succeeded,omitempty"` // failed holds UIDs of failed Pods. // +listType=set // +optional Failed []string `protobuf:"bytes,2,rep,name=failed,proto3" json:"failed,omitempty"` // contains filtered or unexported fields }
func (*UncountedTerminatedPods) Descriptor
deprecated
func (*UncountedTerminatedPods) Descriptor() ([]byte, []int)
Deprecated: Use UncountedTerminatedPods.ProtoReflect.Descriptor instead.
func (*UncountedTerminatedPods) GetFailed ¶
func (x *UncountedTerminatedPods) GetFailed() []string
func (*UncountedTerminatedPods) GetSucceeded ¶
func (x *UncountedTerminatedPods) GetSucceeded() []string
func (*UncountedTerminatedPods) ProtoMessage ¶
func (*UncountedTerminatedPods) ProtoMessage()
func (*UncountedTerminatedPods) ProtoReflect ¶
func (x *UncountedTerminatedPods) ProtoReflect() protoreflect.Message
func (*UncountedTerminatedPods) Reset ¶
func (x *UncountedTerminatedPods) Reset()
func (*UncountedTerminatedPods) String ¶
func (x *UncountedTerminatedPods) String() string
type UnimplementedKubernetesServer ¶
type UnimplementedKubernetesServer struct { }
UnimplementedKubernetesServer must be embedded to have forward compatible implementations.
func (UnimplementedKubernetesServer) DelApp ¶
func (UnimplementedKubernetesServer) DelApp(context.Context, *DeploymentDetailReq) (*Resp, error)
func (UnimplementedKubernetesServer) DeleteDeployment ¶
func (UnimplementedKubernetesServer) DeleteDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
func (UnimplementedKubernetesServer) DeleteYaml ¶
func (UnimplementedKubernetesServer) DeploymentDetail ¶
func (UnimplementedKubernetesServer) DeploymentDetail(context.Context, *DeploymentDetailReq) (*DeploymentDetailResp, error)
func (UnimplementedKubernetesServer) GetAppByAppName ¶
func (UnimplementedKubernetesServer) GetAppByAppName(context.Context, *DeploymentDetailReq) (*AppJsonResp, error)
func (UnimplementedKubernetesServer) GetAppDetail ¶
func (UnimplementedKubernetesServer) GetAppDetail(context.Context, *AppDetailReq) (*AppDetailResp, error)
func (UnimplementedKubernetesServer) GetAppPodsByAppName ¶
func (UnimplementedKubernetesServer) GetAppPodsByAppName(context.Context, *AppDetailReq) (*PodDetailResp, error)
func (UnimplementedKubernetesServer) JobDetail ¶
func (UnimplementedKubernetesServer) JobDetail(context.Context, *JobDetailReq) (*JobDetailResp, error)
func (UnimplementedKubernetesServer) ListDeployment ¶
func (UnimplementedKubernetesServer) ListDeployment(context.Context, *DeploymentListReq) (*DeploymentListResp, error)
func (UnimplementedKubernetesServer) ListNamespace ¶
func (UnimplementedKubernetesServer) ListNamespace(context.Context, *NamespaceListReq) (*TenantListResp, error)
func (UnimplementedKubernetesServer) PauseDeployment ¶
func (UnimplementedKubernetesServer) PauseDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
func (UnimplementedKubernetesServer) PodList ¶
func (UnimplementedKubernetesServer) PodList(context.Context, *PodListReq) (*ListPodResp, error)
func (UnimplementedKubernetesServer) RestartDeployment ¶
func (UnimplementedKubernetesServer) RestartDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
func (UnimplementedKubernetesServer) RestartStatefulSet ¶
func (UnimplementedKubernetesServer) RestartStatefulSet(context.Context, *DeploymentDetailReq) (*Resp, error)
func (UnimplementedKubernetesServer) StartDeployment ¶
func (UnimplementedKubernetesServer) StartDeployment(context.Context, *DeploymentDetailReq) (*Resp, error)
func (UnimplementedKubernetesServer) UpdateDeploymentReplica ¶
func (UnimplementedKubernetesServer) UpdateDeploymentReplica(context.Context, *UpdateDeploymentReplicaReq) (*DeploymentResp, error)
type Unknown ¶
type Unknown struct { TypeMeta *TypeMeta `protobuf:"bytes,1,opt,name=typeMeta,proto3,oneof" json:"typeMeta,omitempty"` // Raw will hold the complete serialized object which couldn't be matched // with a registered type. Most likely, nothing should be done with this // except for passing it through the system. Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3,oneof" json:"raw,omitempty"` // ContentEncoding is encoding used to encode 'Raw' data. // Unspecified means no encoding. ContentEncoding *string `protobuf:"bytes,3,opt,name=contentEncoding,proto3,oneof" json:"contentEncoding,omitempty"` // ContentType is serialization method used to serialize 'Raw'. // Unspecified means ContentTypeJSON. ContentType *string `protobuf:"bytes,4,opt,name=contentType,proto3,oneof" json:"contentType,omitempty"` // contains filtered or unexported fields }
func (*Unknown) Descriptor
deprecated
func (*Unknown) GetContentEncoding ¶
func (*Unknown) GetContentType ¶
func (*Unknown) GetTypeMeta ¶
func (*Unknown) ProtoMessage ¶
func (*Unknown) ProtoMessage()
func (*Unknown) ProtoReflect ¶
func (x *Unknown) ProtoReflect() protoreflect.Message
type UnsafeKubernetesServer ¶
type UnsafeKubernetesServer interface {
// contains filtered or unexported methods
}
UnsafeKubernetesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KubernetesServer will result in compilation errors.
type UpdateDeploymentReplicaReq ¶
type UpdateDeploymentReplicaReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Replica string `protobuf:"bytes,3,opt,name=replica,proto3" json:"replica,omitempty"` //数量 // contains filtered or unexported fields }
func (*UpdateDeploymentReplicaReq) Descriptor
deprecated
func (*UpdateDeploymentReplicaReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeploymentReplicaReq.ProtoReflect.Descriptor instead.
func (*UpdateDeploymentReplicaReq) GetName ¶
func (x *UpdateDeploymentReplicaReq) GetName() string
func (*UpdateDeploymentReplicaReq) GetNamespace ¶
func (x *UpdateDeploymentReplicaReq) GetNamespace() string
func (*UpdateDeploymentReplicaReq) GetReplica ¶
func (x *UpdateDeploymentReplicaReq) GetReplica() string
func (*UpdateDeploymentReplicaReq) ProtoMessage ¶
func (*UpdateDeploymentReplicaReq) ProtoMessage()
func (*UpdateDeploymentReplicaReq) ProtoReflect ¶
func (x *UpdateDeploymentReplicaReq) ProtoReflect() protoreflect.Message
func (*UpdateDeploymentReplicaReq) Reset ¶
func (x *UpdateDeploymentReplicaReq) Reset()
func (*UpdateDeploymentReplicaReq) String ¶
func (x *UpdateDeploymentReplicaReq) String() string
type UpdateOptions ¶
type UpdateOptions struct { // When present, indicates that modifications should not be // persisted. An invalid or unrecognized dryRun directive will // result in an error response and no further processing of the // request. Valid values are: // - All: all dry run stages will be processed // +optional DryRun []string `protobuf:"bytes,1,rep,name=dryRun,proto3" json:"dryRun,omitempty"` // fieldManager is a name associated with the actor or entity // that is making these changes. The value must be less than or // 128 characters long, and only contain printable characters, // as defined by https://golang.org/pkg/unicode/#IsPrint. // +optional FieldManager *string `protobuf:"bytes,2,opt,name=fieldManager,proto3,oneof" json:"fieldManager,omitempty"` // fieldValidation instructs the server on how to handle // objects in the request (POST/PUT/PATCH) containing unknown // or duplicate fields. Valid values are: // - Ignore: This will ignore any unknown fields that are silently // dropped from the object, and will ignore all but the last duplicate // field that the decoder encounters. This is the default behavior // prior to v1.23. // - Warn: This will send a warning via the standard warning response // header for each unknown field that is dropped from the object, and // for each duplicate field that is encountered. The request will // still succeed if there are no other errors, and will only persist // the last of any duplicate fields. This is the default in v1.23+ // - Strict: This will fail the request with a BadRequest error if // any unknown fields would be dropped from the object, or if any // duplicate fields are present. The error returned from the server // will contain all unknown and duplicate fields encountered. // +optional FieldValidation *string `protobuf:"bytes,3,opt,name=fieldValidation,proto3,oneof" json:"fieldValidation,omitempty"` // contains filtered or unexported fields }
UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.
func (*UpdateOptions) Descriptor
deprecated
func (*UpdateOptions) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOptions.ProtoReflect.Descriptor instead.
func (*UpdateOptions) GetDryRun ¶
func (x *UpdateOptions) GetDryRun() []string
func (*UpdateOptions) GetFieldManager ¶
func (x *UpdateOptions) GetFieldManager() string
func (*UpdateOptions) GetFieldValidation ¶
func (x *UpdateOptions) GetFieldValidation() string
func (*UpdateOptions) ProtoMessage ¶
func (*UpdateOptions) ProtoMessage()
func (*UpdateOptions) ProtoReflect ¶
func (x *UpdateOptions) ProtoReflect() protoreflect.Message
func (*UpdateOptions) Reset ¶
func (x *UpdateOptions) Reset()
func (*UpdateOptions) String ¶
func (x *UpdateOptions) String() string
type Verbs ¶
type Verbs struct { Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
Verbs masks the value so protobuf can generate
+protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false
func (*Verbs) Descriptor
deprecated
func (*Verbs) ProtoMessage ¶
func (*Verbs) ProtoMessage()
func (*Verbs) ProtoReflect ¶
func (x *Verbs) ProtoReflect() protoreflect.Message
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,proto3,oneof" 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,proto3,oneof" 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) GetVolumeSource ¶
func (x *Volume) GetVolumeSource() *VolumeSource
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeDevice ¶
type VolumeDevice struct { // name must match the name of a persistentVolumeClaim in the pod Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"secret,omitempty"` // downwardAPI information about the downwardAPI data to project // +optional DownwardAPI *DownwardAPIProjection `protobuf:"bytes,2,opt,name=downwardAPI,proto3,oneof" json:"downwardAPI,omitempty"` // configMap information about the configMap data to project // +optional ConfigMap *ConfigMapProjection `protobuf:"bytes,3,opt,name=configMap,proto3,oneof" json:"configMap,omitempty"` // serviceAccountToken is information about the serviceAccountToken data to project // +optional ServiceAccountToken *ServiceAccountTokenProjection `protobuf:"bytes,4,opt,name=serviceAccountToken,proto3,oneof" 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 VolumeResourceRequirements ¶
type VolumeResourceRequirements 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]*Quantity `` /* 153-byte string literal not displayed */ Requests map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
VolumeResourceRequirements describes the storage resource requirements for a volume.
func (*VolumeResourceRequirements) Descriptor
deprecated
func (*VolumeResourceRequirements) Descriptor() ([]byte, []int)
Deprecated: Use VolumeResourceRequirements.ProtoReflect.Descriptor instead.
func (*VolumeResourceRequirements) GetLimits ¶
func (x *VolumeResourceRequirements) GetLimits() map[string]*Quantity
func (*VolumeResourceRequirements) GetRequests ¶
func (x *VolumeResourceRequirements) GetRequests() map[string]string
func (*VolumeResourceRequirements) ProtoMessage ¶
func (*VolumeResourceRequirements) ProtoMessage()
func (*VolumeResourceRequirements) ProtoReflect ¶
func (x *VolumeResourceRequirements) ProtoReflect() protoreflect.Message
func (*VolumeResourceRequirements) Reset ¶
func (x *VolumeResourceRequirements) Reset()
func (*VolumeResourceRequirements) String ¶
func (x *VolumeResourceRequirements) 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"flocker,omitempty"` // downwardAPI represents downward API about the pod that should populate this volume // +optional DownwardAPI *DownwardAPIVolumeSource `protobuf:"bytes,16,opt,name=downwardAPI,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"azureFile,omitempty"` // configMap represents a configMap that should populate this volume // +optional ConfigMap *ConfigMapVolumeSource `protobuf:"bytes,19,opt,name=configMap,proto3,oneof" json:"configMap,omitempty"` // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine // +optional VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,20,opt,name=vsphereVolume,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"azureDisk,omitempty"` // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,23,opt,name=photonPersistentDisk,proto3,oneof" json:"photonPersistentDisk,omitempty"` // projected items for all in one resources secrets, configmaps, and downward API Projected *ProjectedVolumeSource `protobuf:"bytes,26,opt,name=projected,proto3,oneof" json:"projected,omitempty"` // portworxVolume represents a portworx volume attached and mounted on kubelets host machine // +optional PortworxVolume *PortworxVolumeSource `protobuf:"bytes,24,opt,name=portworxVolume,proto3,oneof" json:"portworxVolume,omitempty"` // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. // +optional ScaleIO *ScaleIOVolumeSource `protobuf:"bytes,25,opt,name=scaleIO,proto3,oneof" json:"scaleIO,omitempty"` // storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. // +optional Storageos *StorageOSVolumeSource `protobuf:"bytes,27,opt,name=storageos,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" 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,proto3,oneof" json:"fsType,omitempty"` // storagePolicyName is the storage Policy Based Management (SPBM) profile name. // +optional StoragePolicyName *string `protobuf:"bytes,3,opt,name=storagePolicyName,proto3,oneof" 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,proto3,oneof" 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 (x *VsphereVirtualDiskVolumeSource) ProtoReflect() protoreflect.Message
func (*VsphereVirtualDiskVolumeSource) Reset ¶
func (x *VsphereVirtualDiskVolumeSource) Reset()
func (*VsphereVirtualDiskVolumeSource) String ¶
func (x *VsphereVirtualDiskVolumeSource) String() string
type WatchEvent ¶
type WatchEvent struct { Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"` // Object is: // - If Type is Added or Modified: the new state of the object. // - If Type is Deleted: the state of the object immediately before deletion. // - If Type is Error: *Status is recommended; other types may make sense // depending on context. Object *RawExtension `protobuf:"bytes,2,opt,name=object,proto3,oneof" json:"object,omitempty"` // contains filtered or unexported fields }
Event represents a single event to a watched resource.
+protobuf=true +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=pb/runtime.Object
func (*WatchEvent) Descriptor
deprecated
func (*WatchEvent) Descriptor() ([]byte, []int)
Deprecated: Use WatchEvent.ProtoReflect.Descriptor instead.
func (*WatchEvent) GetObject ¶
func (x *WatchEvent) GetObject() *RawExtension
func (*WatchEvent) GetType ¶
func (x *WatchEvent) GetType() string
func (*WatchEvent) ProtoMessage ¶
func (*WatchEvent) ProtoMessage()
func (*WatchEvent) ProtoReflect ¶
func (x *WatchEvent) ProtoReflect() protoreflect.Message
func (*WatchEvent) Reset ¶
func (x *WatchEvent) Reset()
func (*WatchEvent) String ¶
func (x *WatchEvent) String() 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,proto3,oneof" json:"weight,omitempty"` // Required. A pod affinity term, associated with the corresponding weight. PodAffinityTerm *PodAffinityTerm `protobuf:"bytes,2,opt,name=podAffinityTerm,proto3,oneof" 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 *string `protobuf:"bytes,1,opt,name=gmsaCredentialSpecName,proto3,oneof" json:"gmsaCredentialSpecName,omitempty"` GmsaCredentialSpec *string `protobuf:"bytes,2,opt,name=gmsaCredentialSpec,proto3,oneof" json:"gmsaCredentialSpec,omitempty"` RunAsUserName *string `protobuf:"bytes,3,opt,name=runAsUserName,proto3,oneof" json:"runAsUserName,omitempty"` HostProcess *bool `protobuf:"varint,4,opt,name=hostProcess,proto3,oneof" 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 (x *WindowsSecurityContextOptions) ProtoReflect() protoreflect.Message
func (*WindowsSecurityContextOptions) Reset ¶
func (x *WindowsSecurityContextOptions) Reset()
func (*WindowsSecurityContextOptions) String ¶
func (x *WindowsSecurityContextOptions) String() string