Documentation
¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
k8s.io/api/core/v1/generated.proto
It has these top-level messages:
AWSElasticBlockStoreVolumeSource Affinity AttachedVolume AvoidPods AzureDiskVolumeSource AzureFilePersistentVolumeSource AzureFileVolumeSource Binding CSIPersistentVolumeSource Capabilities CephFSPersistentVolumeSource CephFSVolumeSource CinderPersistentVolumeSource CinderVolumeSource ClientIPConfig ComponentCondition ComponentStatus ComponentStatusList ConfigMap ConfigMapEnvSource ConfigMapKeySelector ConfigMapList ConfigMapNodeConfigSource ConfigMapProjection ConfigMapVolumeSource Container ContainerImage ContainerPort ContainerState ContainerStateRunning ContainerStateTerminated ContainerStateWaiting ContainerStatus DaemonEndpoint DownwardAPIProjection DownwardAPIVolumeFile DownwardAPIVolumeSource EmptyDirVolumeSource EndpointAddress EndpointPort EndpointSubset Endpoints EndpointsList EnvFromSource EnvVar EnvVarSource Event EventList EventSeries EventSource ExecAction FCVolumeSource FlexPersistentVolumeSource FlexVolumeSource FlockerVolumeSource GCEPersistentDiskVolumeSource GitRepoVolumeSource GlusterfsPersistentVolumeSource GlusterfsVolumeSource HTTPGetAction HTTPHeader Handler HostAlias HostPathVolumeSource ISCSIPersistentVolumeSource ISCSIVolumeSource KeyToPath Lifecycle LimitRange LimitRangeItem LimitRangeList LimitRangeSpec List LoadBalancerIngress LoadBalancerStatus LocalObjectReference LocalVolumeSource NFSVolumeSource Namespace NamespaceList NamespaceSpec NamespaceStatus Node NodeAddress NodeAffinity NodeCondition NodeConfigSource NodeConfigStatus NodeDaemonEndpoints NodeList NodeProxyOptions NodeResources NodeSelector NodeSelectorRequirement NodeSelectorTerm NodeSpec NodeStatus NodeSystemInfo ObjectFieldSelector ObjectReference PersistentVolume PersistentVolumeClaim PersistentVolumeClaimCondition PersistentVolumeClaimList PersistentVolumeClaimSpec PersistentVolumeClaimStatus PersistentVolumeClaimVolumeSource PersistentVolumeList PersistentVolumeSource PersistentVolumeSpec PersistentVolumeStatus PhotonPersistentDiskVolumeSource Pod PodAffinity PodAffinityTerm PodAntiAffinity PodAttachOptions PodCondition PodDNSConfig PodDNSConfigOption PodExecOptions PodList PodLogOptions PodPortForwardOptions PodProxyOptions PodReadinessGate PodSecurityContext PodSignature PodSpec PodStatus PodStatusResult PodTemplate PodTemplateList PodTemplateSpec PortworxVolumeSource Preconditions PreferAvoidPodsEntry PreferredSchedulingTerm Probe ProjectedVolumeSource QuobyteVolumeSource RBDPersistentVolumeSource RBDVolumeSource RangeAllocation ReplicationController ReplicationControllerCondition ReplicationControllerList ReplicationControllerSpec ReplicationControllerStatus ResourceFieldSelector ResourceQuota ResourceQuotaList ResourceQuotaSpec ResourceQuotaStatus ResourceRequirements SELinuxOptions ScaleIOPersistentVolumeSource ScaleIOVolumeSource ScopeSelector ScopedResourceSelectorRequirement Secret SecretEnvSource SecretKeySelector SecretList SecretProjection SecretReference SecretVolumeSource SecurityContext SerializedReference Service ServiceAccount ServiceAccountList ServiceAccountTokenProjection ServiceList ServicePort ServiceProxyOptions ServiceSpec ServiceStatus SessionAffinityConfig StorageOSPersistentVolumeSource StorageOSVolumeSource Sysctl TCPSocketAction Taint Toleration TopologySelectorLabelRequirement TopologySelectorTerm TypedLocalObjectReference Volume VolumeDevice VolumeMount VolumeNodeAffinity VolumeProjection VolumeSource VsphereVirtualDiskVolumeSource WeightedPodAffinityTerm
Index ¶
- Variables
- type AWSElasticBlockStoreVolumeSource
- func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int)
- func (m *AWSElasticBlockStoreVolumeSource) GetFsType() string
- func (m *AWSElasticBlockStoreVolumeSource) GetPartition() int32
- func (m *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool
- func (m *AWSElasticBlockStoreVolumeSource) GetVolumeID() string
- func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*AWSElasticBlockStoreVolumeSource) ProtoMessage()
- func (m *AWSElasticBlockStoreVolumeSource) Reset()
- func (m *AWSElasticBlockStoreVolumeSource) Size() (n int)
- func (m *AWSElasticBlockStoreVolumeSource) String() string
- func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(dAtA []byte) error
- type Affinity
- func (*Affinity) Descriptor() ([]byte, []int)
- func (m *Affinity) GetNodeAffinity() *NodeAffinity
- func (m *Affinity) GetPodAffinity() *PodAffinity
- func (m *Affinity) GetPodAntiAffinity() *PodAntiAffinity
- func (m *Affinity) Marshal() (dAtA []byte, err error)
- func (m *Affinity) MarshalTo(dAtA []byte) (int, error)
- func (*Affinity) ProtoMessage()
- func (m *Affinity) Reset()
- func (m *Affinity) Size() (n int)
- func (m *Affinity) String() string
- func (m *Affinity) Unmarshal(dAtA []byte) error
- type AttachedVolume
- func (*AttachedVolume) Descriptor() ([]byte, []int)
- func (m *AttachedVolume) GetDevicePath() string
- func (m *AttachedVolume) GetName() string
- func (m *AttachedVolume) Marshal() (dAtA []byte, err error)
- func (m *AttachedVolume) MarshalTo(dAtA []byte) (int, error)
- func (*AttachedVolume) ProtoMessage()
- func (m *AttachedVolume) Reset()
- func (m *AttachedVolume) Size() (n int)
- func (m *AttachedVolume) String() string
- func (m *AttachedVolume) Unmarshal(dAtA []byte) error
- type AvoidPods
- func (*AvoidPods) Descriptor() ([]byte, []int)
- func (m *AvoidPods) GetPreferAvoidPods() []*PreferAvoidPodsEntry
- func (m *AvoidPods) Marshal() (dAtA []byte, err error)
- func (m *AvoidPods) MarshalTo(dAtA []byte) (int, error)
- func (*AvoidPods) ProtoMessage()
- func (m *AvoidPods) Reset()
- func (m *AvoidPods) Size() (n int)
- func (m *AvoidPods) String() string
- func (m *AvoidPods) Unmarshal(dAtA []byte) error
- type AzureDiskVolumeSource
- func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int)
- func (m *AzureDiskVolumeSource) GetCachingMode() string
- func (m *AzureDiskVolumeSource) GetDiskName() string
- func (m *AzureDiskVolumeSource) GetDiskURI() string
- func (m *AzureDiskVolumeSource) GetFsType() string
- func (m *AzureDiskVolumeSource) GetKind() string
- func (m *AzureDiskVolumeSource) GetReadOnly() bool
- func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*AzureDiskVolumeSource) ProtoMessage()
- func (m *AzureDiskVolumeSource) Reset()
- func (m *AzureDiskVolumeSource) Size() (n int)
- func (m *AzureDiskVolumeSource) String() string
- func (m *AzureDiskVolumeSource) Unmarshal(dAtA []byte) error
- type AzureFilePersistentVolumeSource
- func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *AzureFilePersistentVolumeSource) GetReadOnly() bool
- func (m *AzureFilePersistentVolumeSource) GetSecretName() string
- func (m *AzureFilePersistentVolumeSource) GetSecretNamespace() string
- func (m *AzureFilePersistentVolumeSource) GetShareName() string
- func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*AzureFilePersistentVolumeSource) ProtoMessage()
- func (m *AzureFilePersistentVolumeSource) Reset()
- func (m *AzureFilePersistentVolumeSource) Size() (n int)
- func (m *AzureFilePersistentVolumeSource) String() string
- func (m *AzureFilePersistentVolumeSource) Unmarshal(dAtA []byte) error
- type AzureFileVolumeSource
- func (*AzureFileVolumeSource) Descriptor() ([]byte, []int)
- func (m *AzureFileVolumeSource) GetReadOnly() bool
- func (m *AzureFileVolumeSource) GetSecretName() string
- func (m *AzureFileVolumeSource) GetShareName() string
- func (m *AzureFileVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *AzureFileVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*AzureFileVolumeSource) ProtoMessage()
- func (m *AzureFileVolumeSource) Reset()
- func (m *AzureFileVolumeSource) Size() (n int)
- func (m *AzureFileVolumeSource) String() string
- func (m *AzureFileVolumeSource) Unmarshal(dAtA []byte) error
- type Binding
- func (*Binding) Descriptor() ([]byte, []int)
- func (m *Binding) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Binding) GetTarget() *ObjectReference
- func (m *Binding) Marshal() (dAtA []byte, err error)
- func (m *Binding) MarshalTo(dAtA []byte) (int, error)
- func (*Binding) ProtoMessage()
- func (m *Binding) Reset()
- func (m *Binding) Size() (n int)
- func (m *Binding) String() string
- func (m *Binding) Unmarshal(dAtA []byte) error
- type CSIPersistentVolumeSource
- func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *CSIPersistentVolumeSource) GetControllerPublishSecretRef() *SecretReference
- func (m *CSIPersistentVolumeSource) GetDriver() string
- func (m *CSIPersistentVolumeSource) GetFsType() string
- func (m *CSIPersistentVolumeSource) GetNodePublishSecretRef() *SecretReference
- func (m *CSIPersistentVolumeSource) GetNodeStageSecretRef() *SecretReference
- func (m *CSIPersistentVolumeSource) GetReadOnly() bool
- func (m *CSIPersistentVolumeSource) GetVolumeAttributes() map[string]string
- func (m *CSIPersistentVolumeSource) GetVolumeHandle() string
- func (m *CSIPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *CSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*CSIPersistentVolumeSource) ProtoMessage()
- func (m *CSIPersistentVolumeSource) Reset()
- func (m *CSIPersistentVolumeSource) Size() (n int)
- func (m *CSIPersistentVolumeSource) String() string
- func (m *CSIPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type Capabilities
- func (*Capabilities) Descriptor() ([]byte, []int)
- func (m *Capabilities) GetAdd() []string
- func (m *Capabilities) GetDrop() []string
- func (m *Capabilities) Marshal() (dAtA []byte, err error)
- func (m *Capabilities) MarshalTo(dAtA []byte) (int, error)
- func (*Capabilities) ProtoMessage()
- func (m *Capabilities) Reset()
- func (m *Capabilities) Size() (n int)
- func (m *Capabilities) String() string
- func (m *Capabilities) Unmarshal(dAtA []byte) error
- type CephFSPersistentVolumeSource
- func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *CephFSPersistentVolumeSource) GetMonitors() []string
- func (m *CephFSPersistentVolumeSource) GetPath() string
- func (m *CephFSPersistentVolumeSource) GetReadOnly() bool
- func (m *CephFSPersistentVolumeSource) GetSecretFile() string
- func (m *CephFSPersistentVolumeSource) GetSecretRef() *SecretReference
- func (m *CephFSPersistentVolumeSource) GetUser() string
- func (m *CephFSPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *CephFSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*CephFSPersistentVolumeSource) ProtoMessage()
- func (m *CephFSPersistentVolumeSource) Reset()
- func (m *CephFSPersistentVolumeSource) Size() (n int)
- func (m *CephFSPersistentVolumeSource) String() string
- func (m *CephFSPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type CephFSVolumeSource
- func (*CephFSVolumeSource) Descriptor() ([]byte, []int)
- func (m *CephFSVolumeSource) GetMonitors() []string
- func (m *CephFSVolumeSource) GetPath() string
- func (m *CephFSVolumeSource) GetReadOnly() bool
- func (m *CephFSVolumeSource) GetSecretFile() string
- func (m *CephFSVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *CephFSVolumeSource) GetUser() string
- func (m *CephFSVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *CephFSVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*CephFSVolumeSource) ProtoMessage()
- func (m *CephFSVolumeSource) Reset()
- func (m *CephFSVolumeSource) Size() (n int)
- func (m *CephFSVolumeSource) String() string
- func (m *CephFSVolumeSource) Unmarshal(dAtA []byte) error
- type CinderPersistentVolumeSource
- func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *CinderPersistentVolumeSource) GetFsType() string
- func (m *CinderPersistentVolumeSource) GetReadOnly() bool
- func (m *CinderPersistentVolumeSource) GetSecretRef() *SecretReference
- func (m *CinderPersistentVolumeSource) GetVolumeID() string
- func (m *CinderPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *CinderPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*CinderPersistentVolumeSource) ProtoMessage()
- func (m *CinderPersistentVolumeSource) Reset()
- func (m *CinderPersistentVolumeSource) Size() (n int)
- func (m *CinderPersistentVolumeSource) String() string
- func (m *CinderPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type CinderVolumeSource
- func (*CinderVolumeSource) Descriptor() ([]byte, []int)
- func (m *CinderVolumeSource) GetFsType() string
- func (m *CinderVolumeSource) GetReadOnly() bool
- func (m *CinderVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *CinderVolumeSource) GetVolumeID() string
- func (m *CinderVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *CinderVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*CinderVolumeSource) ProtoMessage()
- func (m *CinderVolumeSource) Reset()
- func (m *CinderVolumeSource) Size() (n int)
- func (m *CinderVolumeSource) String() string
- func (m *CinderVolumeSource) Unmarshal(dAtA []byte) error
- type ClientIPConfig
- func (*ClientIPConfig) Descriptor() ([]byte, []int)
- func (m *ClientIPConfig) GetTimeoutSeconds() int32
- func (m *ClientIPConfig) Marshal() (dAtA []byte, err error)
- func (m *ClientIPConfig) MarshalTo(dAtA []byte) (int, error)
- func (*ClientIPConfig) ProtoMessage()
- func (m *ClientIPConfig) Reset()
- func (m *ClientIPConfig) Size() (n int)
- func (m *ClientIPConfig) String() string
- func (m *ClientIPConfig) Unmarshal(dAtA []byte) error
- type ComponentCondition
- func (*ComponentCondition) Descriptor() ([]byte, []int)
- func (m *ComponentCondition) GetError() string
- func (m *ComponentCondition) GetMessage() string
- func (m *ComponentCondition) GetStatus() string
- func (m *ComponentCondition) GetType() string
- func (m *ComponentCondition) Marshal() (dAtA []byte, err error)
- func (m *ComponentCondition) MarshalTo(dAtA []byte) (int, error)
- func (*ComponentCondition) ProtoMessage()
- func (m *ComponentCondition) Reset()
- func (m *ComponentCondition) Size() (n int)
- func (m *ComponentCondition) String() string
- func (m *ComponentCondition) Unmarshal(dAtA []byte) error
- type ComponentStatus
- func (*ComponentStatus) Descriptor() ([]byte, []int)
- func (m *ComponentStatus) GetConditions() []*ComponentCondition
- func (m *ComponentStatus) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *ComponentStatus) Marshal() (dAtA []byte, err error)
- func (m *ComponentStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ComponentStatus) ProtoMessage()
- func (m *ComponentStatus) Reset()
- func (m *ComponentStatus) Size() (n int)
- func (m *ComponentStatus) String() string
- func (m *ComponentStatus) Unmarshal(dAtA []byte) error
- type ComponentStatusList
- func (*ComponentStatusList) Descriptor() ([]byte, []int)
- func (m *ComponentStatusList) GetItems() []*ComponentStatus
- func (m *ComponentStatusList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *ComponentStatusList) Marshal() (dAtA []byte, err error)
- func (m *ComponentStatusList) MarshalTo(dAtA []byte) (int, error)
- func (*ComponentStatusList) ProtoMessage()
- func (m *ComponentStatusList) Reset()
- func (m *ComponentStatusList) Size() (n int)
- func (m *ComponentStatusList) String() string
- func (m *ComponentStatusList) Unmarshal(dAtA []byte) error
- type ConfigMap
- func (*ConfigMap) Descriptor() ([]byte, []int)
- func (m *ConfigMap) GetBinaryData() map[string][]byte
- func (m *ConfigMap) GetData() map[string]string
- func (m *ConfigMap) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *ConfigMap) Marshal() (dAtA []byte, err error)
- func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMap) ProtoMessage()
- func (m *ConfigMap) Reset()
- func (m *ConfigMap) Size() (n int)
- func (m *ConfigMap) String() string
- func (m *ConfigMap) Unmarshal(dAtA []byte) error
- type ConfigMapEnvSource
- func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)
- func (m *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference
- func (m *ConfigMapEnvSource) GetOptional() bool
- func (m *ConfigMapEnvSource) Marshal() (dAtA []byte, err error)
- func (m *ConfigMapEnvSource) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMapEnvSource) ProtoMessage()
- func (m *ConfigMapEnvSource) Reset()
- func (m *ConfigMapEnvSource) Size() (n int)
- func (m *ConfigMapEnvSource) String() string
- func (m *ConfigMapEnvSource) Unmarshal(dAtA []byte) error
- type ConfigMapKeySelector
- func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)
- func (m *ConfigMapKeySelector) GetKey() string
- func (m *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference
- func (m *ConfigMapKeySelector) GetOptional() bool
- func (m *ConfigMapKeySelector) Marshal() (dAtA []byte, err error)
- func (m *ConfigMapKeySelector) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMapKeySelector) ProtoMessage()
- func (m *ConfigMapKeySelector) Reset()
- func (m *ConfigMapKeySelector) Size() (n int)
- func (m *ConfigMapKeySelector) String() string
- func (m *ConfigMapKeySelector) Unmarshal(dAtA []byte) error
- type ConfigMapList
- func (*ConfigMapList) Descriptor() ([]byte, []int)
- func (m *ConfigMapList) GetItems() []*ConfigMap
- func (m *ConfigMapList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *ConfigMapList) Marshal() (dAtA []byte, err error)
- func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMapList) ProtoMessage()
- func (m *ConfigMapList) Reset()
- func (m *ConfigMapList) Size() (n int)
- func (m *ConfigMapList) String() string
- func (m *ConfigMapList) Unmarshal(dAtA []byte) error
- type ConfigMapNodeConfigSource
- func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int)
- func (m *ConfigMapNodeConfigSource) GetKubeletConfigKey() string
- func (m *ConfigMapNodeConfigSource) GetName() string
- func (m *ConfigMapNodeConfigSource) GetNamespace() string
- func (m *ConfigMapNodeConfigSource) GetResourceVersion() string
- func (m *ConfigMapNodeConfigSource) GetUid() string
- func (m *ConfigMapNodeConfigSource) Marshal() (dAtA []byte, err error)
- func (m *ConfigMapNodeConfigSource) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMapNodeConfigSource) ProtoMessage()
- func (m *ConfigMapNodeConfigSource) Reset()
- func (m *ConfigMapNodeConfigSource) Size() (n int)
- func (m *ConfigMapNodeConfigSource) String() string
- func (m *ConfigMapNodeConfigSource) Unmarshal(dAtA []byte) error
- type ConfigMapProjection
- func (*ConfigMapProjection) Descriptor() ([]byte, []int)
- func (m *ConfigMapProjection) GetItems() []*KeyToPath
- func (m *ConfigMapProjection) GetLocalObjectReference() *LocalObjectReference
- func (m *ConfigMapProjection) GetOptional() bool
- func (m *ConfigMapProjection) Marshal() (dAtA []byte, err error)
- func (m *ConfigMapProjection) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMapProjection) ProtoMessage()
- func (m *ConfigMapProjection) Reset()
- func (m *ConfigMapProjection) Size() (n int)
- func (m *ConfigMapProjection) String() string
- func (m *ConfigMapProjection) Unmarshal(dAtA []byte) error
- type ConfigMapVolumeSource
- func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)
- func (m *ConfigMapVolumeSource) GetDefaultMode() int32
- func (m *ConfigMapVolumeSource) GetItems() []*KeyToPath
- func (m *ConfigMapVolumeSource) GetLocalObjectReference() *LocalObjectReference
- func (m *ConfigMapVolumeSource) GetOptional() bool
- func (m *ConfigMapVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *ConfigMapVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*ConfigMapVolumeSource) ProtoMessage()
- func (m *ConfigMapVolumeSource) Reset()
- func (m *ConfigMapVolumeSource) Size() (n int)
- func (m *ConfigMapVolumeSource) String() string
- func (m *ConfigMapVolumeSource) Unmarshal(dAtA []byte) error
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetArgs() []string
- func (m *Container) GetCommand() []string
- func (m *Container) GetEnv() []*EnvVar
- func (m *Container) GetEnvFrom() []*EnvFromSource
- func (m *Container) GetImage() string
- func (m *Container) GetImagePullPolicy() string
- func (m *Container) GetLifecycle() *Lifecycle
- func (m *Container) GetLivenessProbe() *Probe
- func (m *Container) GetName() string
- func (m *Container) GetPorts() []*ContainerPort
- func (m *Container) GetReadinessProbe() *Probe
- func (m *Container) GetResources() *ResourceRequirements
- func (m *Container) GetSecurityContext() *SecurityContext
- func (m *Container) GetStdin() bool
- func (m *Container) GetStdinOnce() bool
- func (m *Container) GetTerminationMessagePath() string
- func (m *Container) GetTerminationMessagePolicy() string
- func (m *Container) GetTty() bool
- func (m *Container) GetVolumeDevices() []*VolumeDevice
- func (m *Container) GetVolumeMounts() []*VolumeMount
- func (m *Container) GetWorkingDir() string
- func (m *Container) Marshal() (dAtA []byte, err error)
- func (m *Container) MarshalTo(dAtA []byte) (int, error)
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) Size() (n int)
- func (m *Container) String() string
- func (m *Container) Unmarshal(dAtA []byte) error
- type ContainerImage
- func (*ContainerImage) Descriptor() ([]byte, []int)
- func (m *ContainerImage) GetNames() []string
- func (m *ContainerImage) GetSizeBytes() int64
- func (m *ContainerImage) Marshal() (dAtA []byte, err error)
- func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerImage) ProtoMessage()
- func (m *ContainerImage) Reset()
- func (m *ContainerImage) Size() (n int)
- func (m *ContainerImage) String() string
- func (m *ContainerImage) Unmarshal(dAtA []byte) error
- type ContainerPort
- func (*ContainerPort) Descriptor() ([]byte, []int)
- func (m *ContainerPort) GetContainerPort() int32
- func (m *ContainerPort) GetHostIP() string
- func (m *ContainerPort) GetHostPort() int32
- func (m *ContainerPort) GetName() string
- func (m *ContainerPort) GetProtocol() string
- func (m *ContainerPort) Marshal() (dAtA []byte, err error)
- func (m *ContainerPort) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerPort) ProtoMessage()
- func (m *ContainerPort) Reset()
- func (m *ContainerPort) Size() (n int)
- func (m *ContainerPort) String() string
- func (m *ContainerPort) Unmarshal(dAtA []byte) error
- type ContainerState
- func (*ContainerState) Descriptor() ([]byte, []int)
- func (m *ContainerState) GetRunning() *ContainerStateRunning
- func (m *ContainerState) GetTerminated() *ContainerStateTerminated
- func (m *ContainerState) GetWaiting() *ContainerStateWaiting
- func (m *ContainerState) Marshal() (dAtA []byte, err error)
- func (m *ContainerState) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerState) ProtoMessage()
- func (m *ContainerState) Reset()
- func (m *ContainerState) Size() (n int)
- func (m *ContainerState) String() string
- func (m *ContainerState) Unmarshal(dAtA []byte) error
- type ContainerStateRunning
- func (*ContainerStateRunning) Descriptor() ([]byte, []int)
- func (m *ContainerStateRunning) GetStartedAt() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error)
- func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStateRunning) ProtoMessage()
- func (m *ContainerStateRunning) Reset()
- func (m *ContainerStateRunning) Size() (n int)
- func (m *ContainerStateRunning) String() string
- func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error
- type ContainerStateTerminated
- func (*ContainerStateTerminated) Descriptor() ([]byte, []int)
- func (m *ContainerStateTerminated) GetContainerID() string
- func (m *ContainerStateTerminated) GetExitCode() int32
- func (m *ContainerStateTerminated) GetFinishedAt() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *ContainerStateTerminated) GetMessage() string
- func (m *ContainerStateTerminated) GetReason() string
- func (m *ContainerStateTerminated) GetSignal() int32
- func (m *ContainerStateTerminated) GetStartedAt() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error)
- func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStateTerminated) ProtoMessage()
- func (m *ContainerStateTerminated) Reset()
- func (m *ContainerStateTerminated) Size() (n int)
- func (m *ContainerStateTerminated) String() string
- func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error
- type ContainerStateWaiting
- func (*ContainerStateWaiting) Descriptor() ([]byte, []int)
- func (m *ContainerStateWaiting) GetMessage() string
- func (m *ContainerStateWaiting) GetReason() string
- func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error)
- func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStateWaiting) ProtoMessage()
- func (m *ContainerStateWaiting) Reset()
- func (m *ContainerStateWaiting) Size() (n int)
- func (m *ContainerStateWaiting) String() string
- func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error
- type ContainerStatus
- func (*ContainerStatus) Descriptor() ([]byte, []int)
- func (m *ContainerStatus) GetContainerID() string
- func (m *ContainerStatus) GetImage() string
- func (m *ContainerStatus) GetImageID() string
- func (m *ContainerStatus) GetLastState() *ContainerState
- func (m *ContainerStatus) GetName() string
- func (m *ContainerStatus) GetReady() bool
- func (m *ContainerStatus) GetRestartCount() int32
- func (m *ContainerStatus) GetState() *ContainerState
- func (m *ContainerStatus) Marshal() (dAtA []byte, err error)
- func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerStatus) ProtoMessage()
- func (m *ContainerStatus) Reset()
- func (m *ContainerStatus) Size() (n int)
- func (m *ContainerStatus) String() string
- func (m *ContainerStatus) Unmarshal(dAtA []byte) error
- type DaemonEndpoint
- func (*DaemonEndpoint) Descriptor() ([]byte, []int)
- func (m *DaemonEndpoint) GetPort() int32
- func (m *DaemonEndpoint) Marshal() (dAtA []byte, err error)
- func (m *DaemonEndpoint) MarshalTo(dAtA []byte) (int, error)
- func (*DaemonEndpoint) ProtoMessage()
- func (m *DaemonEndpoint) Reset()
- func (m *DaemonEndpoint) Size() (n int)
- func (m *DaemonEndpoint) String() string
- func (m *DaemonEndpoint) Unmarshal(dAtA []byte) error
- type DownwardAPIProjection
- func (*DownwardAPIProjection) Descriptor() ([]byte, []int)
- func (m *DownwardAPIProjection) GetItems() []*DownwardAPIVolumeFile
- func (m *DownwardAPIProjection) Marshal() (dAtA []byte, err error)
- func (m *DownwardAPIProjection) MarshalTo(dAtA []byte) (int, error)
- func (*DownwardAPIProjection) ProtoMessage()
- func (m *DownwardAPIProjection) Reset()
- func (m *DownwardAPIProjection) Size() (n int)
- func (m *DownwardAPIProjection) String() string
- func (m *DownwardAPIProjection) Unmarshal(dAtA []byte) error
- type DownwardAPIVolumeFile
- func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int)
- func (m *DownwardAPIVolumeFile) GetFieldRef() *ObjectFieldSelector
- func (m *DownwardAPIVolumeFile) GetMode() int32
- func (m *DownwardAPIVolumeFile) GetPath() string
- func (m *DownwardAPIVolumeFile) GetResourceFieldRef() *ResourceFieldSelector
- func (m *DownwardAPIVolumeFile) Marshal() (dAtA []byte, err error)
- func (m *DownwardAPIVolumeFile) MarshalTo(dAtA []byte) (int, error)
- func (*DownwardAPIVolumeFile) ProtoMessage()
- func (m *DownwardAPIVolumeFile) Reset()
- func (m *DownwardAPIVolumeFile) Size() (n int)
- func (m *DownwardAPIVolumeFile) String() string
- func (m *DownwardAPIVolumeFile) Unmarshal(dAtA []byte) error
- type DownwardAPIVolumeSource
- func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int)
- func (m *DownwardAPIVolumeSource) GetDefaultMode() int32
- func (m *DownwardAPIVolumeSource) GetItems() []*DownwardAPIVolumeFile
- func (m *DownwardAPIVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *DownwardAPIVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*DownwardAPIVolumeSource) ProtoMessage()
- func (m *DownwardAPIVolumeSource) Reset()
- func (m *DownwardAPIVolumeSource) Size() (n int)
- func (m *DownwardAPIVolumeSource) String() string
- func (m *DownwardAPIVolumeSource) Unmarshal(dAtA []byte) error
- type EmptyDirVolumeSource
- func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int)
- func (m *EmptyDirVolumeSource) GetMedium() string
- func (m *EmptyDirVolumeSource) GetSizeLimit() *k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *EmptyDirVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *EmptyDirVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*EmptyDirVolumeSource) ProtoMessage()
- func (m *EmptyDirVolumeSource) Reset()
- func (m *EmptyDirVolumeSource) Size() (n int)
- func (m *EmptyDirVolumeSource) String() string
- func (m *EmptyDirVolumeSource) Unmarshal(dAtA []byte) error
- type EndpointAddress
- func (*EndpointAddress) Descriptor() ([]byte, []int)
- func (m *EndpointAddress) GetHostname() string
- func (m *EndpointAddress) GetIp() string
- func (m *EndpointAddress) GetNodeName() string
- func (m *EndpointAddress) GetTargetRef() *ObjectReference
- func (m *EndpointAddress) Marshal() (dAtA []byte, err error)
- func (m *EndpointAddress) MarshalTo(dAtA []byte) (int, error)
- func (*EndpointAddress) ProtoMessage()
- func (m *EndpointAddress) Reset()
- func (m *EndpointAddress) Size() (n int)
- func (m *EndpointAddress) String() string
- func (m *EndpointAddress) Unmarshal(dAtA []byte) error
- type EndpointPort
- func (*EndpointPort) Descriptor() ([]byte, []int)
- func (m *EndpointPort) GetName() string
- func (m *EndpointPort) GetPort() int32
- func (m *EndpointPort) GetProtocol() string
- func (m *EndpointPort) Marshal() (dAtA []byte, err error)
- func (m *EndpointPort) MarshalTo(dAtA []byte) (int, error)
- func (*EndpointPort) ProtoMessage()
- func (m *EndpointPort) Reset()
- func (m *EndpointPort) Size() (n int)
- func (m *EndpointPort) String() string
- func (m *EndpointPort) Unmarshal(dAtA []byte) error
- type EndpointSubset
- func (*EndpointSubset) Descriptor() ([]byte, []int)
- func (m *EndpointSubset) GetAddresses() []*EndpointAddress
- func (m *EndpointSubset) GetNotReadyAddresses() []*EndpointAddress
- func (m *EndpointSubset) GetPorts() []*EndpointPort
- func (m *EndpointSubset) Marshal() (dAtA []byte, err error)
- func (m *EndpointSubset) MarshalTo(dAtA []byte) (int, error)
- func (*EndpointSubset) ProtoMessage()
- func (m *EndpointSubset) Reset()
- func (m *EndpointSubset) Size() (n int)
- func (m *EndpointSubset) String() string
- func (m *EndpointSubset) Unmarshal(dAtA []byte) error
- type Endpoints
- func (*Endpoints) Descriptor() ([]byte, []int)
- func (m *Endpoints) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Endpoints) GetSubsets() []*EndpointSubset
- func (m *Endpoints) Marshal() (dAtA []byte, err error)
- func (m *Endpoints) MarshalTo(dAtA []byte) (int, error)
- func (*Endpoints) ProtoMessage()
- func (m *Endpoints) Reset()
- func (m *Endpoints) Size() (n int)
- func (m *Endpoints) String() string
- func (m *Endpoints) Unmarshal(dAtA []byte) error
- type EndpointsList
- func (*EndpointsList) Descriptor() ([]byte, []int)
- func (m *EndpointsList) GetItems() []*Endpoints
- func (m *EndpointsList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *EndpointsList) Marshal() (dAtA []byte, err error)
- func (m *EndpointsList) MarshalTo(dAtA []byte) (int, error)
- func (*EndpointsList) ProtoMessage()
- func (m *EndpointsList) Reset()
- func (m *EndpointsList) Size() (n int)
- func (m *EndpointsList) String() string
- func (m *EndpointsList) Unmarshal(dAtA []byte) error
- type EnvFromSource
- func (*EnvFromSource) Descriptor() ([]byte, []int)
- func (m *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource
- func (m *EnvFromSource) GetPrefix() string
- func (m *EnvFromSource) GetSecretRef() *SecretEnvSource
- func (m *EnvFromSource) Marshal() (dAtA []byte, err error)
- func (m *EnvFromSource) MarshalTo(dAtA []byte) (int, error)
- func (*EnvFromSource) ProtoMessage()
- func (m *EnvFromSource) Reset()
- func (m *EnvFromSource) Size() (n int)
- func (m *EnvFromSource) String() string
- func (m *EnvFromSource) Unmarshal(dAtA []byte) error
- type EnvVar
- func (*EnvVar) Descriptor() ([]byte, []int)
- func (m *EnvVar) GetName() string
- func (m *EnvVar) GetValue() string
- func (m *EnvVar) GetValueFrom() *EnvVarSource
- func (m *EnvVar) Marshal() (dAtA []byte, err error)
- func (m *EnvVar) MarshalTo(dAtA []byte) (int, error)
- func (*EnvVar) ProtoMessage()
- func (m *EnvVar) Reset()
- func (m *EnvVar) Size() (n int)
- func (m *EnvVar) String() string
- func (m *EnvVar) Unmarshal(dAtA []byte) error
- type EnvVarSource
- func (*EnvVarSource) Descriptor() ([]byte, []int)
- func (m *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector
- func (m *EnvVarSource) GetFieldRef() *ObjectFieldSelector
- func (m *EnvVarSource) GetResourceFieldRef() *ResourceFieldSelector
- func (m *EnvVarSource) GetSecretKeyRef() *SecretKeySelector
- func (m *EnvVarSource) Marshal() (dAtA []byte, err error)
- func (m *EnvVarSource) MarshalTo(dAtA []byte) (int, error)
- func (*EnvVarSource) ProtoMessage()
- func (m *EnvVarSource) Reset()
- func (m *EnvVarSource) Size() (n int)
- func (m *EnvVarSource) String() string
- func (m *EnvVarSource) Unmarshal(dAtA []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetAction() string
- func (m *Event) GetCount() int32
- func (m *Event) GetEventTime() *k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime
- func (m *Event) GetFirstTimestamp() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *Event) GetInvolvedObject() *ObjectReference
- func (m *Event) GetLastTimestamp() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *Event) GetMessage() string
- func (m *Event) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Event) GetReason() string
- func (m *Event) GetRelated() *ObjectReference
- func (m *Event) GetReportingComponent() string
- func (m *Event) GetReportingInstance() string
- func (m *Event) GetSeries() *EventSeries
- func (m *Event) GetSource() *EventSource
- func (m *Event) GetType() string
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- type EventList
- func (*EventList) Descriptor() ([]byte, []int)
- func (m *EventList) GetItems() []*Event
- func (m *EventList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *EventList) Marshal() (dAtA []byte, err error)
- func (m *EventList) MarshalTo(dAtA []byte) (int, error)
- func (*EventList) ProtoMessage()
- func (m *EventList) Reset()
- func (m *EventList) Size() (n int)
- func (m *EventList) String() string
- func (m *EventList) Unmarshal(dAtA []byte) error
- type EventSeries
- func (*EventSeries) Descriptor() ([]byte, []int)
- func (m *EventSeries) GetCount() int32
- func (m *EventSeries) GetLastObservedTime() *k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime
- func (m *EventSeries) GetState() string
- func (m *EventSeries) Marshal() (dAtA []byte, err error)
- func (m *EventSeries) MarshalTo(dAtA []byte) (int, error)
- func (*EventSeries) ProtoMessage()
- func (m *EventSeries) Reset()
- func (m *EventSeries) Size() (n int)
- func (m *EventSeries) String() string
- func (m *EventSeries) Unmarshal(dAtA []byte) error
- type EventSource
- func (*EventSource) Descriptor() ([]byte, []int)
- func (m *EventSource) GetComponent() string
- func (m *EventSource) GetHost() string
- func (m *EventSource) Marshal() (dAtA []byte, err error)
- func (m *EventSource) MarshalTo(dAtA []byte) (int, error)
- func (*EventSource) ProtoMessage()
- func (m *EventSource) Reset()
- func (m *EventSource) Size() (n int)
- func (m *EventSource) String() string
- func (m *EventSource) Unmarshal(dAtA []byte) error
- type ExecAction
- func (*ExecAction) Descriptor() ([]byte, []int)
- func (m *ExecAction) GetCommand() []string
- func (m *ExecAction) Marshal() (dAtA []byte, err error)
- func (m *ExecAction) MarshalTo(dAtA []byte) (int, error)
- func (*ExecAction) ProtoMessage()
- func (m *ExecAction) Reset()
- func (m *ExecAction) Size() (n int)
- func (m *ExecAction) String() string
- func (m *ExecAction) Unmarshal(dAtA []byte) error
- type FCVolumeSource
- func (*FCVolumeSource) Descriptor() ([]byte, []int)
- func (m *FCVolumeSource) GetFsType() string
- func (m *FCVolumeSource) GetLun() int32
- func (m *FCVolumeSource) GetReadOnly() bool
- func (m *FCVolumeSource) GetTargetWWNs() []string
- func (m *FCVolumeSource) GetWwids() []string
- func (m *FCVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *FCVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*FCVolumeSource) ProtoMessage()
- func (m *FCVolumeSource) Reset()
- func (m *FCVolumeSource) Size() (n int)
- func (m *FCVolumeSource) String() string
- func (m *FCVolumeSource) Unmarshal(dAtA []byte) error
- type FlexPersistentVolumeSource
- func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *FlexPersistentVolumeSource) GetDriver() string
- func (m *FlexPersistentVolumeSource) GetFsType() string
- func (m *FlexPersistentVolumeSource) GetOptions() map[string]string
- func (m *FlexPersistentVolumeSource) GetReadOnly() bool
- func (m *FlexPersistentVolumeSource) GetSecretRef() *SecretReference
- func (m *FlexPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *FlexPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*FlexPersistentVolumeSource) ProtoMessage()
- func (m *FlexPersistentVolumeSource) Reset()
- func (m *FlexPersistentVolumeSource) Size() (n int)
- func (m *FlexPersistentVolumeSource) String() string
- func (m *FlexPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type FlexVolumeSource
- func (*FlexVolumeSource) Descriptor() ([]byte, []int)
- func (m *FlexVolumeSource) GetDriver() string
- func (m *FlexVolumeSource) GetFsType() string
- func (m *FlexVolumeSource) GetOptions() map[string]string
- func (m *FlexVolumeSource) GetReadOnly() bool
- func (m *FlexVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *FlexVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *FlexVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*FlexVolumeSource) ProtoMessage()
- func (m *FlexVolumeSource) Reset()
- func (m *FlexVolumeSource) Size() (n int)
- func (m *FlexVolumeSource) String() string
- func (m *FlexVolumeSource) Unmarshal(dAtA []byte) error
- type FlockerVolumeSource
- func (*FlockerVolumeSource) Descriptor() ([]byte, []int)
- func (m *FlockerVolumeSource) GetDatasetName() string
- func (m *FlockerVolumeSource) GetDatasetUUID() string
- func (m *FlockerVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *FlockerVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*FlockerVolumeSource) ProtoMessage()
- func (m *FlockerVolumeSource) Reset()
- func (m *FlockerVolumeSource) Size() (n int)
- func (m *FlockerVolumeSource) String() string
- func (m *FlockerVolumeSource) Unmarshal(dAtA []byte) error
- type GCEPersistentDiskVolumeSource
- func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int)
- func (m *GCEPersistentDiskVolumeSource) GetFsType() string
- func (m *GCEPersistentDiskVolumeSource) GetPartition() int32
- func (m *GCEPersistentDiskVolumeSource) GetPdName() string
- func (m *GCEPersistentDiskVolumeSource) GetReadOnly() bool
- func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*GCEPersistentDiskVolumeSource) ProtoMessage()
- func (m *GCEPersistentDiskVolumeSource) Reset()
- func (m *GCEPersistentDiskVolumeSource) Size() (n int)
- func (m *GCEPersistentDiskVolumeSource) String() string
- func (m *GCEPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error
- type GitRepoVolumeSource
- func (*GitRepoVolumeSource) Descriptor() ([]byte, []int)
- func (m *GitRepoVolumeSource) GetDirectory() string
- func (m *GitRepoVolumeSource) GetRepository() string
- func (m *GitRepoVolumeSource) GetRevision() string
- func (m *GitRepoVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *GitRepoVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*GitRepoVolumeSource) ProtoMessage()
- func (m *GitRepoVolumeSource) Reset()
- func (m *GitRepoVolumeSource) Size() (n int)
- func (m *GitRepoVolumeSource) String() string
- func (m *GitRepoVolumeSource) Unmarshal(dAtA []byte) error
- type GlusterfsPersistentVolumeSource
- func (*GlusterfsPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *GlusterfsPersistentVolumeSource) GetEndpoints() string
- func (m *GlusterfsPersistentVolumeSource) GetEndpointsNamespace() string
- func (m *GlusterfsPersistentVolumeSource) GetPath() string
- func (m *GlusterfsPersistentVolumeSource) GetReadOnly() bool
- func (m *GlusterfsPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *GlusterfsPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*GlusterfsPersistentVolumeSource) ProtoMessage()
- func (m *GlusterfsPersistentVolumeSource) Reset()
- func (m *GlusterfsPersistentVolumeSource) Size() (n int)
- func (m *GlusterfsPersistentVolumeSource) String() string
- func (m *GlusterfsPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type GlusterfsVolumeSource
- func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int)
- func (m *GlusterfsVolumeSource) GetEndpoints() string
- func (m *GlusterfsVolumeSource) GetPath() string
- func (m *GlusterfsVolumeSource) GetReadOnly() bool
- func (m *GlusterfsVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *GlusterfsVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*GlusterfsVolumeSource) ProtoMessage()
- func (m *GlusterfsVolumeSource) Reset()
- func (m *GlusterfsVolumeSource) Size() (n int)
- func (m *GlusterfsVolumeSource) String() string
- func (m *GlusterfsVolumeSource) Unmarshal(dAtA []byte) error
- type HTTPGetAction
- func (*HTTPGetAction) Descriptor() ([]byte, []int)
- func (m *HTTPGetAction) GetHost() string
- func (m *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
- func (m *HTTPGetAction) GetPath() string
- func (m *HTTPGetAction) GetPort() *k8s_io_apimachinery_pkg_util_intstr.IntOrString
- func (m *HTTPGetAction) GetScheme() string
- func (m *HTTPGetAction) Marshal() (dAtA []byte, err error)
- func (m *HTTPGetAction) MarshalTo(dAtA []byte) (int, error)
- func (*HTTPGetAction) ProtoMessage()
- func (m *HTTPGetAction) Reset()
- func (m *HTTPGetAction) Size() (n int)
- func (m *HTTPGetAction) String() string
- func (m *HTTPGetAction) Unmarshal(dAtA []byte) error
- type HTTPHeader
- func (*HTTPHeader) Descriptor() ([]byte, []int)
- func (m *HTTPHeader) GetName() string
- func (m *HTTPHeader) GetValue() string
- func (m *HTTPHeader) Marshal() (dAtA []byte, err error)
- func (m *HTTPHeader) MarshalTo(dAtA []byte) (int, error)
- func (*HTTPHeader) ProtoMessage()
- func (m *HTTPHeader) Reset()
- func (m *HTTPHeader) Size() (n int)
- func (m *HTTPHeader) String() string
- func (m *HTTPHeader) Unmarshal(dAtA []byte) error
- type Handler
- func (*Handler) Descriptor() ([]byte, []int)
- func (m *Handler) GetExec() *ExecAction
- func (m *Handler) GetHttpGet() *HTTPGetAction
- func (m *Handler) GetTcpSocket() *TCPSocketAction
- func (m *Handler) Marshal() (dAtA []byte, err error)
- func (m *Handler) MarshalTo(dAtA []byte) (int, error)
- func (*Handler) ProtoMessage()
- func (m *Handler) Reset()
- func (m *Handler) Size() (n int)
- func (m *Handler) String() string
- func (m *Handler) Unmarshal(dAtA []byte) error
- type HostAlias
- func (*HostAlias) Descriptor() ([]byte, []int)
- func (m *HostAlias) GetHostnames() []string
- func (m *HostAlias) GetIp() string
- func (m *HostAlias) Marshal() (dAtA []byte, err error)
- func (m *HostAlias) MarshalTo(dAtA []byte) (int, error)
- func (*HostAlias) ProtoMessage()
- func (m *HostAlias) Reset()
- func (m *HostAlias) Size() (n int)
- func (m *HostAlias) String() string
- func (m *HostAlias) Unmarshal(dAtA []byte) error
- type HostPathVolumeSource
- func (*HostPathVolumeSource) Descriptor() ([]byte, []int)
- func (m *HostPathVolumeSource) GetPath() string
- func (m *HostPathVolumeSource) GetType() string
- func (m *HostPathVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *HostPathVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*HostPathVolumeSource) ProtoMessage()
- func (m *HostPathVolumeSource) Reset()
- func (m *HostPathVolumeSource) Size() (n int)
- func (m *HostPathVolumeSource) String() string
- func (m *HostPathVolumeSource) Unmarshal(dAtA []byte) error
- type ISCSIPersistentVolumeSource
- func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *ISCSIPersistentVolumeSource) GetChapAuthDiscovery() bool
- func (m *ISCSIPersistentVolumeSource) GetChapAuthSession() bool
- func (m *ISCSIPersistentVolumeSource) GetFsType() string
- func (m *ISCSIPersistentVolumeSource) GetInitiatorName() string
- func (m *ISCSIPersistentVolumeSource) GetIqn() string
- func (m *ISCSIPersistentVolumeSource) GetIscsiInterface() string
- func (m *ISCSIPersistentVolumeSource) GetLun() int32
- func (m *ISCSIPersistentVolumeSource) GetPortals() []string
- func (m *ISCSIPersistentVolumeSource) GetReadOnly() bool
- func (m *ISCSIPersistentVolumeSource) GetSecretRef() *SecretReference
- func (m *ISCSIPersistentVolumeSource) GetTargetPortal() string
- func (m *ISCSIPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *ISCSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*ISCSIPersistentVolumeSource) ProtoMessage()
- func (m *ISCSIPersistentVolumeSource) Reset()
- func (m *ISCSIPersistentVolumeSource) Size() (n int)
- func (m *ISCSIPersistentVolumeSource) String() string
- func (m *ISCSIPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type ISCSIVolumeSource
- func (*ISCSIVolumeSource) Descriptor() ([]byte, []int)
- func (m *ISCSIVolumeSource) GetChapAuthDiscovery() bool
- func (m *ISCSIVolumeSource) GetChapAuthSession() bool
- func (m *ISCSIVolumeSource) GetFsType() string
- func (m *ISCSIVolumeSource) GetInitiatorName() string
- func (m *ISCSIVolumeSource) GetIqn() string
- func (m *ISCSIVolumeSource) GetIscsiInterface() string
- func (m *ISCSIVolumeSource) GetLun() int32
- func (m *ISCSIVolumeSource) GetPortals() []string
- func (m *ISCSIVolumeSource) GetReadOnly() bool
- func (m *ISCSIVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *ISCSIVolumeSource) GetTargetPortal() string
- func (m *ISCSIVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *ISCSIVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*ISCSIVolumeSource) ProtoMessage()
- func (m *ISCSIVolumeSource) Reset()
- func (m *ISCSIVolumeSource) Size() (n int)
- func (m *ISCSIVolumeSource) String() string
- func (m *ISCSIVolumeSource) Unmarshal(dAtA []byte) error
- type KeyToPath
- func (*KeyToPath) Descriptor() ([]byte, []int)
- func (m *KeyToPath) GetKey() string
- func (m *KeyToPath) GetMode() int32
- func (m *KeyToPath) GetPath() string
- func (m *KeyToPath) Marshal() (dAtA []byte, err error)
- func (m *KeyToPath) MarshalTo(dAtA []byte) (int, error)
- func (*KeyToPath) ProtoMessage()
- func (m *KeyToPath) Reset()
- func (m *KeyToPath) Size() (n int)
- func (m *KeyToPath) String() string
- func (m *KeyToPath) Unmarshal(dAtA []byte) error
- type Lifecycle
- func (*Lifecycle) Descriptor() ([]byte, []int)
- func (m *Lifecycle) GetPostStart() *Handler
- func (m *Lifecycle) GetPreStop() *Handler
- func (m *Lifecycle) Marshal() (dAtA []byte, err error)
- func (m *Lifecycle) MarshalTo(dAtA []byte) (int, error)
- func (*Lifecycle) ProtoMessage()
- func (m *Lifecycle) Reset()
- func (m *Lifecycle) Size() (n int)
- func (m *Lifecycle) String() string
- func (m *Lifecycle) Unmarshal(dAtA []byte) error
- type LimitRange
- func (*LimitRange) Descriptor() ([]byte, []int)
- func (m *LimitRange) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *LimitRange) GetSpec() *LimitRangeSpec
- func (m *LimitRange) Marshal() (dAtA []byte, err error)
- func (m *LimitRange) MarshalTo(dAtA []byte) (int, error)
- func (*LimitRange) ProtoMessage()
- func (m *LimitRange) Reset()
- func (m *LimitRange) Size() (n int)
- func (m *LimitRange) String() string
- func (m *LimitRange) Unmarshal(dAtA []byte) error
- type LimitRangeItem
- func (*LimitRangeItem) Descriptor() ([]byte, []int)
- func (m *LimitRangeItem) GetDefault() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *LimitRangeItem) GetDefaultRequest() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *LimitRangeItem) GetMax() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *LimitRangeItem) GetMaxLimitRequestRatio() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *LimitRangeItem) GetMin() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *LimitRangeItem) GetType() string
- func (m *LimitRangeItem) Marshal() (dAtA []byte, err error)
- func (m *LimitRangeItem) MarshalTo(dAtA []byte) (int, error)
- func (*LimitRangeItem) ProtoMessage()
- func (m *LimitRangeItem) Reset()
- func (m *LimitRangeItem) Size() (n int)
- func (m *LimitRangeItem) String() string
- func (m *LimitRangeItem) Unmarshal(dAtA []byte) error
- type LimitRangeList
- func (*LimitRangeList) Descriptor() ([]byte, []int)
- func (m *LimitRangeList) GetItems() []*LimitRange
- func (m *LimitRangeList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *LimitRangeList) Marshal() (dAtA []byte, err error)
- func (m *LimitRangeList) MarshalTo(dAtA []byte) (int, error)
- func (*LimitRangeList) ProtoMessage()
- func (m *LimitRangeList) Reset()
- func (m *LimitRangeList) Size() (n int)
- func (m *LimitRangeList) String() string
- func (m *LimitRangeList) Unmarshal(dAtA []byte) error
- type LimitRangeSpec
- func (*LimitRangeSpec) Descriptor() ([]byte, []int)
- func (m *LimitRangeSpec) GetLimits() []*LimitRangeItem
- func (m *LimitRangeSpec) Marshal() (dAtA []byte, err error)
- func (m *LimitRangeSpec) MarshalTo(dAtA []byte) (int, error)
- func (*LimitRangeSpec) ProtoMessage()
- func (m *LimitRangeSpec) Reset()
- func (m *LimitRangeSpec) Size() (n int)
- func (m *LimitRangeSpec) String() string
- func (m *LimitRangeSpec) Unmarshal(dAtA []byte) error
- type List
- func (*List) Descriptor() ([]byte, []int)
- func (m *List) GetItems() []*k8s_io_apimachinery_pkg_runtime.RawExtension
- func (m *List) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *List) Marshal() (dAtA []byte, err error)
- func (m *List) MarshalTo(dAtA []byte) (int, error)
- func (*List) ProtoMessage()
- func (m *List) Reset()
- func (m *List) Size() (n int)
- func (m *List) String() string
- func (m *List) Unmarshal(dAtA []byte) error
- type LoadBalancerIngress
- func (*LoadBalancerIngress) Descriptor() ([]byte, []int)
- func (m *LoadBalancerIngress) GetHostname() string
- func (m *LoadBalancerIngress) GetIp() string
- func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error)
- func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error)
- func (*LoadBalancerIngress) ProtoMessage()
- func (m *LoadBalancerIngress) Reset()
- func (m *LoadBalancerIngress) Size() (n int)
- func (m *LoadBalancerIngress) String() string
- func (m *LoadBalancerIngress) Unmarshal(dAtA []byte) error
- type LoadBalancerStatus
- func (*LoadBalancerStatus) Descriptor() ([]byte, []int)
- func (m *LoadBalancerStatus) GetIngress() []*LoadBalancerIngress
- func (m *LoadBalancerStatus) Marshal() (dAtA []byte, err error)
- func (m *LoadBalancerStatus) MarshalTo(dAtA []byte) (int, error)
- func (*LoadBalancerStatus) ProtoMessage()
- func (m *LoadBalancerStatus) Reset()
- func (m *LoadBalancerStatus) Size() (n int)
- func (m *LoadBalancerStatus) String() string
- func (m *LoadBalancerStatus) Unmarshal(dAtA []byte) error
- type LocalObjectReference
- func (*LocalObjectReference) Descriptor() ([]byte, []int)
- func (m *LocalObjectReference) GetName() string
- func (m *LocalObjectReference) Marshal() (dAtA []byte, err error)
- func (m *LocalObjectReference) MarshalTo(dAtA []byte) (int, error)
- func (*LocalObjectReference) ProtoMessage()
- func (m *LocalObjectReference) Reset()
- func (m *LocalObjectReference) Size() (n int)
- func (m *LocalObjectReference) String() string
- func (m *LocalObjectReference) Unmarshal(dAtA []byte) error
- type LocalVolumeSource
- func (*LocalVolumeSource) Descriptor() ([]byte, []int)
- func (m *LocalVolumeSource) GetFsType() string
- func (m *LocalVolumeSource) GetPath() string
- func (m *LocalVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *LocalVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*LocalVolumeSource) ProtoMessage()
- func (m *LocalVolumeSource) Reset()
- func (m *LocalVolumeSource) Size() (n int)
- func (m *LocalVolumeSource) String() string
- func (m *LocalVolumeSource) Unmarshal(dAtA []byte) error
- type NFSVolumeSource
- func (*NFSVolumeSource) Descriptor() ([]byte, []int)
- func (m *NFSVolumeSource) GetPath() string
- func (m *NFSVolumeSource) GetReadOnly() bool
- func (m *NFSVolumeSource) GetServer() string
- func (m *NFSVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *NFSVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*NFSVolumeSource) ProtoMessage()
- func (m *NFSVolumeSource) Reset()
- func (m *NFSVolumeSource) Size() (n int)
- func (m *NFSVolumeSource) String() string
- func (m *NFSVolumeSource) Unmarshal(dAtA []byte) error
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)
- func (m *Namespace) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Namespace) GetSpec() *NamespaceSpec
- func (m *Namespace) GetStatus() *NamespaceStatus
- func (m *Namespace) Marshal() (dAtA []byte, err error)
- func (m *Namespace) MarshalTo(dAtA []byte) (int, error)
- func (*Namespace) ProtoMessage()
- func (m *Namespace) Reset()
- func (m *Namespace) Size() (n int)
- func (m *Namespace) String() string
- func (m *Namespace) Unmarshal(dAtA []byte) error
- type NamespaceList
- func (*NamespaceList) Descriptor() ([]byte, []int)
- func (m *NamespaceList) GetItems() []*Namespace
- func (m *NamespaceList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *NamespaceList) Marshal() (dAtA []byte, err error)
- func (m *NamespaceList) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceList) ProtoMessage()
- func (m *NamespaceList) Reset()
- func (m *NamespaceList) Size() (n int)
- func (m *NamespaceList) String() string
- func (m *NamespaceList) Unmarshal(dAtA []byte) error
- type NamespaceSpec
- func (*NamespaceSpec) Descriptor() ([]byte, []int)
- func (m *NamespaceSpec) GetFinalizers() []string
- func (m *NamespaceSpec) Marshal() (dAtA []byte, err error)
- func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceSpec) ProtoMessage()
- func (m *NamespaceSpec) Reset()
- func (m *NamespaceSpec) Size() (n int)
- func (m *NamespaceSpec) String() string
- func (m *NamespaceSpec) Unmarshal(dAtA []byte) error
- type NamespaceStatus
- func (*NamespaceStatus) Descriptor() ([]byte, []int)
- func (m *NamespaceStatus) GetPhase() string
- func (m *NamespaceStatus) Marshal() (dAtA []byte, err error)
- func (m *NamespaceStatus) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceStatus) ProtoMessage()
- func (m *NamespaceStatus) Reset()
- func (m *NamespaceStatus) Size() (n int)
- func (m *NamespaceStatus) String() string
- func (m *NamespaceStatus) Unmarshal(dAtA []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Node) GetSpec() *NodeSpec
- func (m *Node) GetStatus() *NodeStatus
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- type NodeAddress
- func (*NodeAddress) Descriptor() ([]byte, []int)
- func (m *NodeAddress) GetAddress() string
- func (m *NodeAddress) GetType() string
- func (m *NodeAddress) Marshal() (dAtA []byte, err error)
- func (m *NodeAddress) MarshalTo(dAtA []byte) (int, error)
- func (*NodeAddress) ProtoMessage()
- func (m *NodeAddress) Reset()
- func (m *NodeAddress) Size() (n int)
- func (m *NodeAddress) String() string
- func (m *NodeAddress) Unmarshal(dAtA []byte) error
- type NodeAffinity
- func (*NodeAffinity) Descriptor() ([]byte, []int)
- func (m *NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*PreferredSchedulingTerm
- func (m *NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() *NodeSelector
- func (m *NodeAffinity) Marshal() (dAtA []byte, err error)
- func (m *NodeAffinity) MarshalTo(dAtA []byte) (int, error)
- func (*NodeAffinity) ProtoMessage()
- func (m *NodeAffinity) Reset()
- func (m *NodeAffinity) Size() (n int)
- func (m *NodeAffinity) String() string
- func (m *NodeAffinity) Unmarshal(dAtA []byte) error
- type NodeCondition
- func (*NodeCondition) Descriptor() ([]byte, []int)
- func (m *NodeCondition) GetLastHeartbeatTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *NodeCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *NodeCondition) GetMessage() string
- func (m *NodeCondition) GetReason() string
- func (m *NodeCondition) GetStatus() string
- func (m *NodeCondition) GetType() string
- func (m *NodeCondition) Marshal() (dAtA []byte, err error)
- func (m *NodeCondition) MarshalTo(dAtA []byte) (int, error)
- func (*NodeCondition) ProtoMessage()
- func (m *NodeCondition) Reset()
- func (m *NodeCondition) Size() (n int)
- func (m *NodeCondition) String() string
- func (m *NodeCondition) Unmarshal(dAtA []byte) error
- type NodeConfigSource
- func (*NodeConfigSource) Descriptor() ([]byte, []int)
- func (m *NodeConfigSource) GetConfigMap() *ConfigMapNodeConfigSource
- func (m *NodeConfigSource) Marshal() (dAtA []byte, err error)
- func (m *NodeConfigSource) MarshalTo(dAtA []byte) (int, error)
- func (*NodeConfigSource) ProtoMessage()
- func (m *NodeConfigSource) Reset()
- func (m *NodeConfigSource) Size() (n int)
- func (m *NodeConfigSource) String() string
- func (m *NodeConfigSource) Unmarshal(dAtA []byte) error
- type NodeConfigStatus
- func (*NodeConfigStatus) Descriptor() ([]byte, []int)
- func (m *NodeConfigStatus) GetActive() *NodeConfigSource
- func (m *NodeConfigStatus) GetAssigned() *NodeConfigSource
- func (m *NodeConfigStatus) GetError() string
- func (m *NodeConfigStatus) GetLastKnownGood() *NodeConfigSource
- func (m *NodeConfigStatus) Marshal() (dAtA []byte, err error)
- func (m *NodeConfigStatus) MarshalTo(dAtA []byte) (int, error)
- func (*NodeConfigStatus) ProtoMessage()
- func (m *NodeConfigStatus) Reset()
- func (m *NodeConfigStatus) Size() (n int)
- func (m *NodeConfigStatus) String() string
- func (m *NodeConfigStatus) Unmarshal(dAtA []byte) error
- type NodeDaemonEndpoints
- func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int)
- func (m *NodeDaemonEndpoints) GetKubeletEndpoint() *DaemonEndpoint
- func (m *NodeDaemonEndpoints) Marshal() (dAtA []byte, err error)
- func (m *NodeDaemonEndpoints) MarshalTo(dAtA []byte) (int, error)
- func (*NodeDaemonEndpoints) ProtoMessage()
- func (m *NodeDaemonEndpoints) Reset()
- func (m *NodeDaemonEndpoints) Size() (n int)
- func (m *NodeDaemonEndpoints) String() string
- func (m *NodeDaemonEndpoints) Unmarshal(dAtA []byte) error
- type NodeList
- func (*NodeList) Descriptor() ([]byte, []int)
- func (m *NodeList) GetItems() []*Node
- func (m *NodeList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *NodeList) Marshal() (dAtA []byte, err error)
- func (m *NodeList) MarshalTo(dAtA []byte) (int, error)
- func (*NodeList) ProtoMessage()
- func (m *NodeList) Reset()
- func (m *NodeList) Size() (n int)
- func (m *NodeList) String() string
- func (m *NodeList) Unmarshal(dAtA []byte) error
- type NodeProxyOptions
- func (*NodeProxyOptions) Descriptor() ([]byte, []int)
- func (m *NodeProxyOptions) GetPath() string
- func (m *NodeProxyOptions) Marshal() (dAtA []byte, err error)
- func (m *NodeProxyOptions) MarshalTo(dAtA []byte) (int, error)
- func (*NodeProxyOptions) ProtoMessage()
- func (m *NodeProxyOptions) Reset()
- func (m *NodeProxyOptions) Size() (n int)
- func (m *NodeProxyOptions) String() string
- func (m *NodeProxyOptions) Unmarshal(dAtA []byte) error
- type NodeResources
- func (*NodeResources) Descriptor() ([]byte, []int)
- func (m *NodeResources) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *NodeResources) Marshal() (dAtA []byte, err error)
- func (m *NodeResources) MarshalTo(dAtA []byte) (int, error)
- func (*NodeResources) ProtoMessage()
- func (m *NodeResources) Reset()
- func (m *NodeResources) Size() (n int)
- func (m *NodeResources) String() string
- func (m *NodeResources) Unmarshal(dAtA []byte) error
- type NodeSelector
- func (*NodeSelector) Descriptor() ([]byte, []int)
- func (m *NodeSelector) GetNodeSelectorTerms() []*NodeSelectorTerm
- func (m *NodeSelector) Marshal() (dAtA []byte, err error)
- func (m *NodeSelector) MarshalTo(dAtA []byte) (int, error)
- func (*NodeSelector) ProtoMessage()
- func (m *NodeSelector) Reset()
- func (m *NodeSelector) Size() (n int)
- func (m *NodeSelector) String() string
- func (m *NodeSelector) Unmarshal(dAtA []byte) error
- type NodeSelectorRequirement
- func (*NodeSelectorRequirement) Descriptor() ([]byte, []int)
- func (m *NodeSelectorRequirement) GetKey() string
- func (m *NodeSelectorRequirement) GetOperator() string
- func (m *NodeSelectorRequirement) GetValues() []string
- func (m *NodeSelectorRequirement) Marshal() (dAtA []byte, err error)
- func (m *NodeSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
- func (*NodeSelectorRequirement) ProtoMessage()
- func (m *NodeSelectorRequirement) Reset()
- func (m *NodeSelectorRequirement) Size() (n int)
- func (m *NodeSelectorRequirement) String() string
- func (m *NodeSelectorRequirement) Unmarshal(dAtA []byte) error
- type NodeSelectorTerm
- func (*NodeSelectorTerm) Descriptor() ([]byte, []int)
- func (m *NodeSelectorTerm) GetMatchExpressions() []*NodeSelectorRequirement
- func (m *NodeSelectorTerm) GetMatchFields() []*NodeSelectorRequirement
- func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error)
- func (m *NodeSelectorTerm) MarshalTo(dAtA []byte) (int, error)
- func (*NodeSelectorTerm) ProtoMessage()
- func (m *NodeSelectorTerm) Reset()
- func (m *NodeSelectorTerm) Size() (n int)
- func (m *NodeSelectorTerm) String() string
- func (m *NodeSelectorTerm) Unmarshal(dAtA []byte) error
- type NodeSpec
- func (*NodeSpec) Descriptor() ([]byte, []int)
- func (m *NodeSpec) GetConfigSource() *NodeConfigSource
- func (m *NodeSpec) GetExternalID() string
- func (m *NodeSpec) GetPodCIDR() string
- func (m *NodeSpec) GetProviderID() string
- func (m *NodeSpec) GetTaints() []*Taint
- func (m *NodeSpec) GetUnschedulable() bool
- func (m *NodeSpec) Marshal() (dAtA []byte, err error)
- func (m *NodeSpec) MarshalTo(dAtA []byte) (int, error)
- func (*NodeSpec) ProtoMessage()
- func (m *NodeSpec) Reset()
- func (m *NodeSpec) Size() (n int)
- func (m *NodeSpec) String() string
- func (m *NodeSpec) Unmarshal(dAtA []byte) error
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)
- func (m *NodeStatus) GetAddresses() []*NodeAddress
- func (m *NodeStatus) GetAllocatable() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *NodeStatus) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *NodeStatus) GetConditions() []*NodeCondition
- func (m *NodeStatus) GetConfig() *NodeConfigStatus
- func (m *NodeStatus) GetDaemonEndpoints() *NodeDaemonEndpoints
- func (m *NodeStatus) GetImages() []*ContainerImage
- func (m *NodeStatus) GetNodeInfo() *NodeSystemInfo
- func (m *NodeStatus) GetPhase() string
- func (m *NodeStatus) GetVolumesAttached() []*AttachedVolume
- func (m *NodeStatus) GetVolumesInUse() []string
- func (m *NodeStatus) Marshal() (dAtA []byte, err error)
- func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error)
- func (*NodeStatus) ProtoMessage()
- func (m *NodeStatus) Reset()
- func (m *NodeStatus) Size() (n int)
- func (m *NodeStatus) String() string
- func (m *NodeStatus) Unmarshal(dAtA []byte) error
- type NodeSystemInfo
- func (*NodeSystemInfo) Descriptor() ([]byte, []int)
- func (m *NodeSystemInfo) GetArchitecture() string
- func (m *NodeSystemInfo) GetBootID() string
- func (m *NodeSystemInfo) GetContainerRuntimeVersion() string
- func (m *NodeSystemInfo) GetKernelVersion() string
- func (m *NodeSystemInfo) GetKubeProxyVersion() string
- func (m *NodeSystemInfo) GetKubeletVersion() string
- func (m *NodeSystemInfo) GetMachineID() string
- func (m *NodeSystemInfo) GetOperatingSystem() string
- func (m *NodeSystemInfo) GetOsImage() string
- func (m *NodeSystemInfo) GetSystemUUID() string
- func (m *NodeSystemInfo) Marshal() (dAtA []byte, err error)
- func (m *NodeSystemInfo) MarshalTo(dAtA []byte) (int, error)
- func (*NodeSystemInfo) ProtoMessage()
- func (m *NodeSystemInfo) Reset()
- func (m *NodeSystemInfo) Size() (n int)
- func (m *NodeSystemInfo) String() string
- func (m *NodeSystemInfo) Unmarshal(dAtA []byte) error
- type ObjectFieldSelector
- func (*ObjectFieldSelector) Descriptor() ([]byte, []int)
- func (m *ObjectFieldSelector) GetApiVersion() string
- func (m *ObjectFieldSelector) GetFieldPath() string
- func (m *ObjectFieldSelector) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldSelector) MarshalTo(dAtA []byte) (int, error)
- func (*ObjectFieldSelector) ProtoMessage()
- func (m *ObjectFieldSelector) Reset()
- func (m *ObjectFieldSelector) Size() (n int)
- func (m *ObjectFieldSelector) String() string
- func (m *ObjectFieldSelector) Unmarshal(dAtA []byte) error
- type ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)
- func (m *ObjectReference) GetApiVersion() string
- func (m *ObjectReference) GetFieldPath() string
- func (m *ObjectReference) GetKind() string
- func (m *ObjectReference) GetName() string
- func (m *ObjectReference) GetNamespace() string
- func (m *ObjectReference) GetResourceVersion() string
- func (m *ObjectReference) GetUid() string
- func (m *ObjectReference) Marshal() (dAtA []byte, err error)
- func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error)
- func (*ObjectReference) ProtoMessage()
- func (m *ObjectReference) Reset()
- func (m *ObjectReference) Size() (n int)
- func (m *ObjectReference) String() string
- func (m *ObjectReference) Unmarshal(dAtA []byte) error
- type PersistentVolume
- func (*PersistentVolume) Descriptor() ([]byte, []int)
- func (m *PersistentVolume) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *PersistentVolume) GetSpec() *PersistentVolumeSpec
- func (m *PersistentVolume) GetStatus() *PersistentVolumeStatus
- func (m *PersistentVolume) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolume) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolume) ProtoMessage()
- func (m *PersistentVolume) Reset()
- func (m *PersistentVolume) Size() (n int)
- func (m *PersistentVolume) String() string
- func (m *PersistentVolume) Unmarshal(dAtA []byte) error
- type PersistentVolumeClaim
- func (*PersistentVolumeClaim) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaim) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec
- func (m *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus
- func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeClaim) ProtoMessage()
- func (m *PersistentVolumeClaim) Reset()
- func (m *PersistentVolumeClaim) Size() (n int)
- func (m *PersistentVolumeClaim) String() string
- func (m *PersistentVolumeClaim) Unmarshal(dAtA []byte) error
- type PersistentVolumeClaimCondition
- func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaimCondition) GetLastProbeTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PersistentVolumeClaimCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PersistentVolumeClaimCondition) GetMessage() string
- func (m *PersistentVolumeClaimCondition) GetReason() string
- func (m *PersistentVolumeClaimCondition) GetStatus() string
- func (m *PersistentVolumeClaimCondition) GetType() string
- func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeClaimCondition) ProtoMessage()
- func (m *PersistentVolumeClaimCondition) Reset()
- func (m *PersistentVolumeClaimCondition) Size() (n int)
- func (m *PersistentVolumeClaimCondition) String() string
- func (m *PersistentVolumeClaimCondition) Unmarshal(dAtA []byte) error
- type PersistentVolumeClaimList
- func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaimList) GetItems() []*PersistentVolumeClaim
- func (m *PersistentVolumeClaimList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *PersistentVolumeClaimList) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaimList) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeClaimList) ProtoMessage()
- func (m *PersistentVolumeClaimList) Reset()
- func (m *PersistentVolumeClaimList) Size() (n int)
- func (m *PersistentVolumeClaimList) String() string
- func (m *PersistentVolumeClaimList) Unmarshal(dAtA []byte) error
- type PersistentVolumeClaimSpec
- func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaimSpec) GetAccessModes() []string
- func (m *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference
- func (m *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements
- func (m *PersistentVolumeClaimSpec) GetSelector() *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector
- func (m *PersistentVolumeClaimSpec) GetStorageClassName() string
- func (m *PersistentVolumeClaimSpec) GetVolumeMode() string
- func (m *PersistentVolumeClaimSpec) GetVolumeName() string
- func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeClaimSpec) ProtoMessage()
- func (m *PersistentVolumeClaimSpec) Reset()
- func (m *PersistentVolumeClaimSpec) Size() (n int)
- func (m *PersistentVolumeClaimSpec) String() string
- func (m *PersistentVolumeClaimSpec) Unmarshal(dAtA []byte) error
- type PersistentVolumeClaimStatus
- func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaimStatus) GetAccessModes() []string
- func (m *PersistentVolumeClaimStatus) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition
- func (m *PersistentVolumeClaimStatus) GetPhase() string
- func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeClaimStatus) ProtoMessage()
- func (m *PersistentVolumeClaimStatus) Reset()
- func (m *PersistentVolumeClaimStatus) Size() (n int)
- func (m *PersistentVolumeClaimStatus) String() string
- func (m *PersistentVolumeClaimStatus) Unmarshal(dAtA []byte) error
- type PersistentVolumeClaimVolumeSource
- func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaimVolumeSource) GetClaimName() string
- func (m *PersistentVolumeClaimVolumeSource) GetReadOnly() bool
- func (m *PersistentVolumeClaimVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaimVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeClaimVolumeSource) ProtoMessage()
- func (m *PersistentVolumeClaimVolumeSource) Reset()
- func (m *PersistentVolumeClaimVolumeSource) Size() (n int)
- func (m *PersistentVolumeClaimVolumeSource) String() string
- func (m *PersistentVolumeClaimVolumeSource) Unmarshal(dAtA []byte) error
- type PersistentVolumeList
- func (*PersistentVolumeList) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeList) GetItems() []*PersistentVolume
- func (m *PersistentVolumeList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *PersistentVolumeList) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeList) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeList) ProtoMessage()
- func (m *PersistentVolumeList) Reset()
- func (m *PersistentVolumeList) Size() (n int)
- func (m *PersistentVolumeList) String() string
- func (m *PersistentVolumeList) Unmarshal(dAtA []byte) error
- type PersistentVolumeSource
- func (*PersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource
- func (m *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource
- func (m *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource
- func (m *PersistentVolumeSource) GetCephfs() *CephFSPersistentVolumeSource
- func (m *PersistentVolumeSource) GetCinder() *CinderPersistentVolumeSource
- func (m *PersistentVolumeSource) GetCsi() *CSIPersistentVolumeSource
- func (m *PersistentVolumeSource) GetFc() *FCVolumeSource
- func (m *PersistentVolumeSource) GetFlexVolume() *FlexPersistentVolumeSource
- func (m *PersistentVolumeSource) GetFlocker() *FlockerVolumeSource
- func (m *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
- func (m *PersistentVolumeSource) GetGlusterfs() *GlusterfsPersistentVolumeSource
- func (m *PersistentVolumeSource) GetHostPath() *HostPathVolumeSource
- func (m *PersistentVolumeSource) GetIscsi() *ISCSIPersistentVolumeSource
- func (m *PersistentVolumeSource) GetLocal() *LocalVolumeSource
- func (m *PersistentVolumeSource) GetNfs() *NFSVolumeSource
- func (m *PersistentVolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
- func (m *PersistentVolumeSource) GetPortworxVolume() *PortworxVolumeSource
- func (m *PersistentVolumeSource) GetQuobyte() *QuobyteVolumeSource
- func (m *PersistentVolumeSource) GetRbd() *RBDPersistentVolumeSource
- func (m *PersistentVolumeSource) GetScaleIO() *ScaleIOPersistentVolumeSource
- func (m *PersistentVolumeSource) GetStorageos() *StorageOSPersistentVolumeSource
- func (m *PersistentVolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
- func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeSource) ProtoMessage()
- func (m *PersistentVolumeSource) Reset()
- func (m *PersistentVolumeSource) Size() (n int)
- func (m *PersistentVolumeSource) String() string
- func (m *PersistentVolumeSource) Unmarshal(dAtA []byte) error
- type PersistentVolumeSpec
- func (*PersistentVolumeSpec) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeSpec) GetAccessModes() []string
- func (m *PersistentVolumeSpec) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *PersistentVolumeSpec) GetClaimRef() *ObjectReference
- func (m *PersistentVolumeSpec) GetMountOptions() []string
- func (m *PersistentVolumeSpec) GetNodeAffinity() *VolumeNodeAffinity
- func (m *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string
- func (m *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource
- func (m *PersistentVolumeSpec) GetStorageClassName() string
- func (m *PersistentVolumeSpec) GetVolumeMode() string
- func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeSpec) ProtoMessage()
- func (m *PersistentVolumeSpec) Reset()
- func (m *PersistentVolumeSpec) Size() (n int)
- func (m *PersistentVolumeSpec) String() string
- func (m *PersistentVolumeSpec) Unmarshal(dAtA []byte) error
- type PersistentVolumeStatus
- func (*PersistentVolumeStatus) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeStatus) GetMessage() string
- func (m *PersistentVolumeStatus) GetPhase() string
- func (m *PersistentVolumeStatus) GetReason() string
- func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error)
- func (*PersistentVolumeStatus) ProtoMessage()
- func (m *PersistentVolumeStatus) Reset()
- func (m *PersistentVolumeStatus) Size() (n int)
- func (m *PersistentVolumeStatus) String() string
- func (m *PersistentVolumeStatus) Unmarshal(dAtA []byte) error
- type PhotonPersistentDiskVolumeSource
- func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int)
- func (m *PhotonPersistentDiskVolumeSource) GetFsType() string
- func (m *PhotonPersistentDiskVolumeSource) GetPdID() string
- func (m *PhotonPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *PhotonPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*PhotonPersistentDiskVolumeSource) ProtoMessage()
- func (m *PhotonPersistentDiskVolumeSource) Reset()
- func (m *PhotonPersistentDiskVolumeSource) Size() (n int)
- func (m *PhotonPersistentDiskVolumeSource) String() string
- func (m *PhotonPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error
- type Pod
- func (*Pod) Descriptor() ([]byte, []int)
- func (m *Pod) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Pod) GetSpec() *PodSpec
- func (m *Pod) GetStatus() *PodStatus
- func (m *Pod) Marshal() (dAtA []byte, err error)
- func (m *Pod) MarshalTo(dAtA []byte) (int, error)
- func (*Pod) ProtoMessage()
- func (m *Pod) Reset()
- func (m *Pod) Size() (n int)
- func (m *Pod) String() string
- func (m *Pod) Unmarshal(dAtA []byte) error
- type PodAffinity
- func (*PodAffinity) Descriptor() ([]byte, []int)
- func (m *PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm
- func (m *PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm
- func (m *PodAffinity) Marshal() (dAtA []byte, err error)
- func (m *PodAffinity) MarshalTo(dAtA []byte) (int, error)
- func (*PodAffinity) ProtoMessage()
- func (m *PodAffinity) Reset()
- func (m *PodAffinity) Size() (n int)
- func (m *PodAffinity) String() string
- func (m *PodAffinity) Unmarshal(dAtA []byte) error
- type PodAffinityTerm
- func (*PodAffinityTerm) Descriptor() ([]byte, []int)
- func (m *PodAffinityTerm) GetLabelSelector() *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector
- func (m *PodAffinityTerm) GetNamespaces() []string
- func (m *PodAffinityTerm) GetTopologyKey() string
- func (m *PodAffinityTerm) Marshal() (dAtA []byte, err error)
- func (m *PodAffinityTerm) MarshalTo(dAtA []byte) (int, error)
- func (*PodAffinityTerm) ProtoMessage()
- func (m *PodAffinityTerm) Reset()
- func (m *PodAffinityTerm) Size() (n int)
- func (m *PodAffinityTerm) String() string
- func (m *PodAffinityTerm) Unmarshal(dAtA []byte) error
- type PodAntiAffinity
- func (*PodAntiAffinity) Descriptor() ([]byte, []int)
- func (m *PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm
- func (m *PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm
- func (m *PodAntiAffinity) Marshal() (dAtA []byte, err error)
- func (m *PodAntiAffinity) MarshalTo(dAtA []byte) (int, error)
- func (*PodAntiAffinity) ProtoMessage()
- func (m *PodAntiAffinity) Reset()
- func (m *PodAntiAffinity) Size() (n int)
- func (m *PodAntiAffinity) String() string
- func (m *PodAntiAffinity) Unmarshal(dAtA []byte) error
- type PodAttachOptions
- func (*PodAttachOptions) Descriptor() ([]byte, []int)
- func (m *PodAttachOptions) GetContainer() string
- func (m *PodAttachOptions) GetStderr() bool
- func (m *PodAttachOptions) GetStdin() bool
- func (m *PodAttachOptions) GetStdout() bool
- func (m *PodAttachOptions) GetTty() bool
- func (m *PodAttachOptions) Marshal() (dAtA []byte, err error)
- func (m *PodAttachOptions) MarshalTo(dAtA []byte) (int, error)
- func (*PodAttachOptions) ProtoMessage()
- func (m *PodAttachOptions) Reset()
- func (m *PodAttachOptions) Size() (n int)
- func (m *PodAttachOptions) String() string
- func (m *PodAttachOptions) Unmarshal(dAtA []byte) error
- type PodCondition
- func (*PodCondition) Descriptor() ([]byte, []int)
- func (m *PodCondition) GetLastProbeTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PodCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PodCondition) GetMessage() string
- func (m *PodCondition) GetReason() string
- func (m *PodCondition) GetStatus() string
- func (m *PodCondition) GetType() string
- func (m *PodCondition) Marshal() (dAtA []byte, err error)
- func (m *PodCondition) MarshalTo(dAtA []byte) (int, error)
- func (*PodCondition) ProtoMessage()
- func (m *PodCondition) Reset()
- func (m *PodCondition) Size() (n int)
- func (m *PodCondition) String() string
- func (m *PodCondition) Unmarshal(dAtA []byte) error
- type PodDNSConfig
- func (*PodDNSConfig) Descriptor() ([]byte, []int)
- func (m *PodDNSConfig) GetNameservers() []string
- func (m *PodDNSConfig) GetOptions() []*PodDNSConfigOption
- func (m *PodDNSConfig) GetSearches() []string
- func (m *PodDNSConfig) Marshal() (dAtA []byte, err error)
- func (m *PodDNSConfig) MarshalTo(dAtA []byte) (int, error)
- func (*PodDNSConfig) ProtoMessage()
- func (m *PodDNSConfig) Reset()
- func (m *PodDNSConfig) Size() (n int)
- func (m *PodDNSConfig) String() string
- func (m *PodDNSConfig) Unmarshal(dAtA []byte) error
- type PodDNSConfigOption
- func (*PodDNSConfigOption) Descriptor() ([]byte, []int)
- func (m *PodDNSConfigOption) GetName() string
- func (m *PodDNSConfigOption) GetValue() string
- func (m *PodDNSConfigOption) Marshal() (dAtA []byte, err error)
- func (m *PodDNSConfigOption) MarshalTo(dAtA []byte) (int, error)
- func (*PodDNSConfigOption) ProtoMessage()
- func (m *PodDNSConfigOption) Reset()
- func (m *PodDNSConfigOption) Size() (n int)
- func (m *PodDNSConfigOption) String() string
- func (m *PodDNSConfigOption) Unmarshal(dAtA []byte) error
- type PodExecOptions
- func (*PodExecOptions) Descriptor() ([]byte, []int)
- func (m *PodExecOptions) GetCommand() []string
- func (m *PodExecOptions) GetContainer() string
- func (m *PodExecOptions) GetStderr() bool
- func (m *PodExecOptions) GetStdin() bool
- func (m *PodExecOptions) GetStdout() bool
- func (m *PodExecOptions) GetTty() bool
- func (m *PodExecOptions) Marshal() (dAtA []byte, err error)
- func (m *PodExecOptions) MarshalTo(dAtA []byte) (int, error)
- func (*PodExecOptions) ProtoMessage()
- func (m *PodExecOptions) Reset()
- func (m *PodExecOptions) Size() (n int)
- func (m *PodExecOptions) String() string
- func (m *PodExecOptions) Unmarshal(dAtA []byte) error
- type PodList
- func (*PodList) Descriptor() ([]byte, []int)
- func (m *PodList) GetItems() []*Pod
- func (m *PodList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *PodList) Marshal() (dAtA []byte, err error)
- func (m *PodList) MarshalTo(dAtA []byte) (int, error)
- func (*PodList) ProtoMessage()
- func (m *PodList) Reset()
- func (m *PodList) Size() (n int)
- func (m *PodList) String() string
- func (m *PodList) Unmarshal(dAtA []byte) error
- type PodLogOptions
- func (*PodLogOptions) Descriptor() ([]byte, []int)
- func (m *PodLogOptions) GetContainer() string
- func (m *PodLogOptions) GetFollow() bool
- func (m *PodLogOptions) GetLimitBytes() int64
- func (m *PodLogOptions) GetPrevious() bool
- func (m *PodLogOptions) GetSinceSeconds() int64
- func (m *PodLogOptions) GetSinceTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PodLogOptions) GetTailLines() int64
- func (m *PodLogOptions) GetTimestamps() bool
- func (m *PodLogOptions) Marshal() (dAtA []byte, err error)
- func (m *PodLogOptions) MarshalTo(dAtA []byte) (int, error)
- func (*PodLogOptions) ProtoMessage()
- func (m *PodLogOptions) Reset()
- func (m *PodLogOptions) Size() (n int)
- func (m *PodLogOptions) String() string
- func (m *PodLogOptions) Unmarshal(dAtA []byte) error
- type PodPortForwardOptions
- func (*PodPortForwardOptions) Descriptor() ([]byte, []int)
- func (m *PodPortForwardOptions) GetPorts() []int32
- func (m *PodPortForwardOptions) Marshal() (dAtA []byte, err error)
- func (m *PodPortForwardOptions) MarshalTo(dAtA []byte) (int, error)
- func (*PodPortForwardOptions) ProtoMessage()
- func (m *PodPortForwardOptions) Reset()
- func (m *PodPortForwardOptions) Size() (n int)
- func (m *PodPortForwardOptions) String() string
- func (m *PodPortForwardOptions) Unmarshal(dAtA []byte) error
- type PodProxyOptions
- func (*PodProxyOptions) Descriptor() ([]byte, []int)
- func (m *PodProxyOptions) GetPath() string
- func (m *PodProxyOptions) Marshal() (dAtA []byte, err error)
- func (m *PodProxyOptions) MarshalTo(dAtA []byte) (int, error)
- func (*PodProxyOptions) ProtoMessage()
- func (m *PodProxyOptions) Reset()
- func (m *PodProxyOptions) Size() (n int)
- func (m *PodProxyOptions) String() string
- func (m *PodProxyOptions) Unmarshal(dAtA []byte) error
- type PodReadinessGate
- func (*PodReadinessGate) Descriptor() ([]byte, []int)
- func (m *PodReadinessGate) GetConditionType() string
- func (m *PodReadinessGate) Marshal() (dAtA []byte, err error)
- func (m *PodReadinessGate) MarshalTo(dAtA []byte) (int, error)
- func (*PodReadinessGate) ProtoMessage()
- func (m *PodReadinessGate) Reset()
- func (m *PodReadinessGate) Size() (n int)
- func (m *PodReadinessGate) String() string
- func (m *PodReadinessGate) Unmarshal(dAtA []byte) error
- type PodSecurityContext
- func (*PodSecurityContext) Descriptor() ([]byte, []int)
- func (m *PodSecurityContext) GetFsGroup() int64
- func (m *PodSecurityContext) GetRunAsGroup() int64
- func (m *PodSecurityContext) GetRunAsNonRoot() bool
- func (m *PodSecurityContext) GetRunAsUser() int64
- func (m *PodSecurityContext) GetSeLinuxOptions() *SELinuxOptions
- func (m *PodSecurityContext) GetSupplementalGroups() []int64
- func (m *PodSecurityContext) GetSysctls() []*Sysctl
- func (m *PodSecurityContext) Marshal() (dAtA []byte, err error)
- func (m *PodSecurityContext) MarshalTo(dAtA []byte) (int, error)
- func (*PodSecurityContext) ProtoMessage()
- func (m *PodSecurityContext) Reset()
- func (m *PodSecurityContext) Size() (n int)
- func (m *PodSecurityContext) String() string
- func (m *PodSecurityContext) Unmarshal(dAtA []byte) error
- type PodSignature
- func (*PodSignature) Descriptor() ([]byte, []int)
- func (m *PodSignature) GetPodController() *k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference
- func (m *PodSignature) Marshal() (dAtA []byte, err error)
- func (m *PodSignature) MarshalTo(dAtA []byte) (int, error)
- func (*PodSignature) ProtoMessage()
- func (m *PodSignature) Reset()
- func (m *PodSignature) Size() (n int)
- func (m *PodSignature) String() string
- func (m *PodSignature) Unmarshal(dAtA []byte) error
- type PodSpec
- func (*PodSpec) Descriptor() ([]byte, []int)
- func (m *PodSpec) GetActiveDeadlineSeconds() int64
- func (m *PodSpec) GetAffinity() *Affinity
- func (m *PodSpec) GetAutomountServiceAccountToken() bool
- func (m *PodSpec) GetContainers() []*Container
- func (m *PodSpec) GetDnsConfig() *PodDNSConfig
- func (m *PodSpec) GetDnsPolicy() string
- func (m *PodSpec) GetEnableServiceLinks() bool
- func (m *PodSpec) GetHostAliases() []*HostAlias
- func (m *PodSpec) GetHostIPC() bool
- func (m *PodSpec) GetHostNetwork() bool
- func (m *PodSpec) GetHostPID() bool
- func (m *PodSpec) GetHostname() string
- func (m *PodSpec) GetImagePullSecrets() []*LocalObjectReference
- func (m *PodSpec) GetInitContainers() []*Container
- func (m *PodSpec) GetNodeName() string
- func (m *PodSpec) GetNodeSelector() map[string]string
- func (m *PodSpec) GetPriority() int32
- func (m *PodSpec) GetPriorityClassName() string
- func (m *PodSpec) GetReadinessGates() []*PodReadinessGate
- func (m *PodSpec) GetRestartPolicy() string
- func (m *PodSpec) GetRuntimeClassName() string
- func (m *PodSpec) GetSchedulerName() string
- func (m *PodSpec) GetSecurityContext() *PodSecurityContext
- func (m *PodSpec) GetServiceAccount() string
- func (m *PodSpec) GetServiceAccountName() string
- func (m *PodSpec) GetShareProcessNamespace() bool
- func (m *PodSpec) GetSubdomain() string
- func (m *PodSpec) GetTerminationGracePeriodSeconds() int64
- func (m *PodSpec) GetTolerations() []*Toleration
- func (m *PodSpec) GetVolumes() []*Volume
- func (m *PodSpec) Marshal() (dAtA []byte, err error)
- func (m *PodSpec) MarshalTo(dAtA []byte) (int, error)
- func (*PodSpec) ProtoMessage()
- func (m *PodSpec) Reset()
- func (m *PodSpec) Size() (n int)
- func (m *PodSpec) String() string
- func (m *PodSpec) Unmarshal(dAtA []byte) error
- type PodStatus
- func (*PodStatus) Descriptor() ([]byte, []int)
- func (m *PodStatus) GetConditions() []*PodCondition
- func (m *PodStatus) GetContainerStatuses() []*ContainerStatus
- func (m *PodStatus) GetHostIP() string
- func (m *PodStatus) GetInitContainerStatuses() []*ContainerStatus
- func (m *PodStatus) GetMessage() string
- func (m *PodStatus) GetNominatedNodeName() string
- func (m *PodStatus) GetPhase() string
- func (m *PodStatus) GetPodIP() string
- func (m *PodStatus) GetQosClass() string
- func (m *PodStatus) GetReason() string
- func (m *PodStatus) GetStartTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PodStatus) Marshal() (dAtA []byte, err error)
- func (m *PodStatus) MarshalTo(dAtA []byte) (int, error)
- func (*PodStatus) ProtoMessage()
- func (m *PodStatus) Reset()
- func (m *PodStatus) Size() (n int)
- func (m *PodStatus) String() string
- func (m *PodStatus) Unmarshal(dAtA []byte) error
- type PodStatusResult
- func (*PodStatusResult) Descriptor() ([]byte, []int)
- func (m *PodStatusResult) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *PodStatusResult) GetStatus() *PodStatus
- func (m *PodStatusResult) Marshal() (dAtA []byte, err error)
- func (m *PodStatusResult) MarshalTo(dAtA []byte) (int, error)
- func (*PodStatusResult) ProtoMessage()
- func (m *PodStatusResult) Reset()
- func (m *PodStatusResult) Size() (n int)
- func (m *PodStatusResult) String() string
- func (m *PodStatusResult) Unmarshal(dAtA []byte) error
- type PodTemplate
- func (*PodTemplate) Descriptor() ([]byte, []int)
- func (m *PodTemplate) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *PodTemplate) GetTemplate() *PodTemplateSpec
- func (m *PodTemplate) Marshal() (dAtA []byte, err error)
- func (m *PodTemplate) MarshalTo(dAtA []byte) (int, error)
- func (*PodTemplate) ProtoMessage()
- func (m *PodTemplate) Reset()
- func (m *PodTemplate) Size() (n int)
- func (m *PodTemplate) String() string
- func (m *PodTemplate) Unmarshal(dAtA []byte) error
- type PodTemplateList
- func (*PodTemplateList) Descriptor() ([]byte, []int)
- func (m *PodTemplateList) GetItems() []*PodTemplate
- func (m *PodTemplateList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *PodTemplateList) Marshal() (dAtA []byte, err error)
- func (m *PodTemplateList) MarshalTo(dAtA []byte) (int, error)
- func (*PodTemplateList) ProtoMessage()
- func (m *PodTemplateList) Reset()
- func (m *PodTemplateList) Size() (n int)
- func (m *PodTemplateList) String() string
- func (m *PodTemplateList) Unmarshal(dAtA []byte) error
- type PodTemplateSpec
- func (*PodTemplateSpec) Descriptor() ([]byte, []int)
- func (m *PodTemplateSpec) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *PodTemplateSpec) GetSpec() *PodSpec
- func (m *PodTemplateSpec) Marshal() (dAtA []byte, err error)
- func (m *PodTemplateSpec) MarshalTo(dAtA []byte) (int, error)
- func (*PodTemplateSpec) ProtoMessage()
- func (m *PodTemplateSpec) Reset()
- func (m *PodTemplateSpec) Size() (n int)
- func (m *PodTemplateSpec) String() string
- func (m *PodTemplateSpec) Unmarshal(dAtA []byte) error
- type PortworxVolumeSource
- func (*PortworxVolumeSource) Descriptor() ([]byte, []int)
- func (m *PortworxVolumeSource) GetFsType() string
- func (m *PortworxVolumeSource) GetReadOnly() bool
- func (m *PortworxVolumeSource) GetVolumeID() string
- func (m *PortworxVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *PortworxVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*PortworxVolumeSource) ProtoMessage()
- func (m *PortworxVolumeSource) Reset()
- func (m *PortworxVolumeSource) Size() (n int)
- func (m *PortworxVolumeSource) String() string
- func (m *PortworxVolumeSource) Unmarshal(dAtA []byte) error
- type Preconditions
- func (*Preconditions) Descriptor() ([]byte, []int)
- func (m *Preconditions) GetUid() string
- func (m *Preconditions) Marshal() (dAtA []byte, err error)
- func (m *Preconditions) MarshalTo(dAtA []byte) (int, error)
- func (*Preconditions) ProtoMessage()
- func (m *Preconditions) Reset()
- func (m *Preconditions) Size() (n int)
- func (m *Preconditions) String() string
- func (m *Preconditions) Unmarshal(dAtA []byte) error
- type PreferAvoidPodsEntry
- func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int)
- func (m *PreferAvoidPodsEntry) GetEvictionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *PreferAvoidPodsEntry) GetMessage() string
- func (m *PreferAvoidPodsEntry) GetPodSignature() *PodSignature
- func (m *PreferAvoidPodsEntry) GetReason() string
- func (m *PreferAvoidPodsEntry) Marshal() (dAtA []byte, err error)
- func (m *PreferAvoidPodsEntry) MarshalTo(dAtA []byte) (int, error)
- func (*PreferAvoidPodsEntry) ProtoMessage()
- func (m *PreferAvoidPodsEntry) Reset()
- func (m *PreferAvoidPodsEntry) Size() (n int)
- func (m *PreferAvoidPodsEntry) String() string
- func (m *PreferAvoidPodsEntry) Unmarshal(dAtA []byte) error
- type PreferredSchedulingTerm
- func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int)
- func (m *PreferredSchedulingTerm) GetPreference() *NodeSelectorTerm
- func (m *PreferredSchedulingTerm) GetWeight() int32
- func (m *PreferredSchedulingTerm) Marshal() (dAtA []byte, err error)
- func (m *PreferredSchedulingTerm) MarshalTo(dAtA []byte) (int, error)
- func (*PreferredSchedulingTerm) ProtoMessage()
- func (m *PreferredSchedulingTerm) Reset()
- func (m *PreferredSchedulingTerm) Size() (n int)
- func (m *PreferredSchedulingTerm) String() string
- func (m *PreferredSchedulingTerm) Unmarshal(dAtA []byte) error
- type Probe
- func (*Probe) Descriptor() ([]byte, []int)
- func (m *Probe) GetFailureThreshold() int32
- func (m *Probe) GetHandler() *Handler
- func (m *Probe) GetInitialDelaySeconds() int32
- func (m *Probe) GetPeriodSeconds() int32
- func (m *Probe) GetSuccessThreshold() int32
- func (m *Probe) GetTimeoutSeconds() int32
- func (m *Probe) Marshal() (dAtA []byte, err error)
- func (m *Probe) MarshalTo(dAtA []byte) (int, error)
- func (*Probe) ProtoMessage()
- func (m *Probe) Reset()
- func (m *Probe) Size() (n int)
- func (m *Probe) String() string
- func (m *Probe) Unmarshal(dAtA []byte) error
- type ProjectedVolumeSource
- func (*ProjectedVolumeSource) Descriptor() ([]byte, []int)
- func (m *ProjectedVolumeSource) GetDefaultMode() int32
- func (m *ProjectedVolumeSource) GetSources() []*VolumeProjection
- func (m *ProjectedVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *ProjectedVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*ProjectedVolumeSource) ProtoMessage()
- func (m *ProjectedVolumeSource) Reset()
- func (m *ProjectedVolumeSource) Size() (n int)
- func (m *ProjectedVolumeSource) String() string
- func (m *ProjectedVolumeSource) Unmarshal(dAtA []byte) error
- type QuobyteVolumeSource
- func (*QuobyteVolumeSource) Descriptor() ([]byte, []int)
- func (m *QuobyteVolumeSource) GetGroup() string
- func (m *QuobyteVolumeSource) GetReadOnly() bool
- func (m *QuobyteVolumeSource) GetRegistry() string
- func (m *QuobyteVolumeSource) GetUser() string
- func (m *QuobyteVolumeSource) GetVolume() string
- func (m *QuobyteVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *QuobyteVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*QuobyteVolumeSource) ProtoMessage()
- func (m *QuobyteVolumeSource) Reset()
- func (m *QuobyteVolumeSource) Size() (n int)
- func (m *QuobyteVolumeSource) String() string
- func (m *QuobyteVolumeSource) Unmarshal(dAtA []byte) error
- type RBDPersistentVolumeSource
- func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *RBDPersistentVolumeSource) GetFsType() string
- func (m *RBDPersistentVolumeSource) GetImage() string
- func (m *RBDPersistentVolumeSource) GetKeyring() string
- func (m *RBDPersistentVolumeSource) GetMonitors() []string
- func (m *RBDPersistentVolumeSource) GetPool() string
- func (m *RBDPersistentVolumeSource) GetReadOnly() bool
- func (m *RBDPersistentVolumeSource) GetSecretRef() *SecretReference
- func (m *RBDPersistentVolumeSource) GetUser() string
- func (m *RBDPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *RBDPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*RBDPersistentVolumeSource) ProtoMessage()
- func (m *RBDPersistentVolumeSource) Reset()
- func (m *RBDPersistentVolumeSource) Size() (n int)
- func (m *RBDPersistentVolumeSource) String() string
- func (m *RBDPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type RBDVolumeSource
- func (*RBDVolumeSource) Descriptor() ([]byte, []int)
- func (m *RBDVolumeSource) GetFsType() string
- func (m *RBDVolumeSource) GetImage() string
- func (m *RBDVolumeSource) GetKeyring() string
- func (m *RBDVolumeSource) GetMonitors() []string
- func (m *RBDVolumeSource) GetPool() string
- func (m *RBDVolumeSource) GetReadOnly() bool
- func (m *RBDVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *RBDVolumeSource) GetUser() string
- func (m *RBDVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *RBDVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*RBDVolumeSource) ProtoMessage()
- func (m *RBDVolumeSource) Reset()
- func (m *RBDVolumeSource) Size() (n int)
- func (m *RBDVolumeSource) String() string
- func (m *RBDVolumeSource) Unmarshal(dAtA []byte) error
- type RangeAllocation
- func (*RangeAllocation) Descriptor() ([]byte, []int)
- func (m *RangeAllocation) GetData() []byte
- func (m *RangeAllocation) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *RangeAllocation) GetRange() string
- func (m *RangeAllocation) Marshal() (dAtA []byte, err error)
- func (m *RangeAllocation) MarshalTo(dAtA []byte) (int, error)
- func (*RangeAllocation) ProtoMessage()
- func (m *RangeAllocation) Reset()
- func (m *RangeAllocation) Size() (n int)
- func (m *RangeAllocation) String() string
- func (m *RangeAllocation) Unmarshal(dAtA []byte) error
- type ReplicationController
- func (*ReplicationController) Descriptor() ([]byte, []int)
- func (m *ReplicationController) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *ReplicationController) GetSpec() *ReplicationControllerSpec
- func (m *ReplicationController) GetStatus() *ReplicationControllerStatus
- func (m *ReplicationController) Marshal() (dAtA []byte, err error)
- func (m *ReplicationController) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicationController) ProtoMessage()
- func (m *ReplicationController) Reset()
- func (m *ReplicationController) Size() (n int)
- func (m *ReplicationController) String() string
- func (m *ReplicationController) Unmarshal(dAtA []byte) error
- type ReplicationControllerCondition
- func (*ReplicationControllerCondition) Descriptor() ([]byte, []int)
- func (m *ReplicationControllerCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *ReplicationControllerCondition) GetMessage() string
- func (m *ReplicationControllerCondition) GetReason() string
- func (m *ReplicationControllerCondition) GetStatus() string
- func (m *ReplicationControllerCondition) GetType() string
- func (m *ReplicationControllerCondition) Marshal() (dAtA []byte, err error)
- func (m *ReplicationControllerCondition) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicationControllerCondition) ProtoMessage()
- func (m *ReplicationControllerCondition) Reset()
- func (m *ReplicationControllerCondition) Size() (n int)
- func (m *ReplicationControllerCondition) String() string
- func (m *ReplicationControllerCondition) Unmarshal(dAtA []byte) error
- type ReplicationControllerList
- func (*ReplicationControllerList) Descriptor() ([]byte, []int)
- func (m *ReplicationControllerList) GetItems() []*ReplicationController
- func (m *ReplicationControllerList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *ReplicationControllerList) Marshal() (dAtA []byte, err error)
- func (m *ReplicationControllerList) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicationControllerList) ProtoMessage()
- func (m *ReplicationControllerList) Reset()
- func (m *ReplicationControllerList) Size() (n int)
- func (m *ReplicationControllerList) String() string
- func (m *ReplicationControllerList) Unmarshal(dAtA []byte) error
- type ReplicationControllerSpec
- func (*ReplicationControllerSpec) Descriptor() ([]byte, []int)
- func (m *ReplicationControllerSpec) GetMinReadySeconds() int32
- func (m *ReplicationControllerSpec) GetReplicas() int32
- func (m *ReplicationControllerSpec) GetSelector() map[string]string
- func (m *ReplicationControllerSpec) GetTemplate() *PodTemplateSpec
- func (m *ReplicationControllerSpec) Marshal() (dAtA []byte, err error)
- func (m *ReplicationControllerSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicationControllerSpec) ProtoMessage()
- func (m *ReplicationControllerSpec) Reset()
- func (m *ReplicationControllerSpec) Size() (n int)
- func (m *ReplicationControllerSpec) String() string
- func (m *ReplicationControllerSpec) Unmarshal(dAtA []byte) error
- type ReplicationControllerStatus
- func (*ReplicationControllerStatus) Descriptor() ([]byte, []int)
- func (m *ReplicationControllerStatus) GetAvailableReplicas() int32
- func (m *ReplicationControllerStatus) GetConditions() []*ReplicationControllerCondition
- func (m *ReplicationControllerStatus) GetFullyLabeledReplicas() int32
- func (m *ReplicationControllerStatus) GetObservedGeneration() int64
- func (m *ReplicationControllerStatus) GetReadyReplicas() int32
- func (m *ReplicationControllerStatus) GetReplicas() int32
- func (m *ReplicationControllerStatus) Marshal() (dAtA []byte, err error)
- func (m *ReplicationControllerStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicationControllerStatus) ProtoMessage()
- func (m *ReplicationControllerStatus) Reset()
- func (m *ReplicationControllerStatus) Size() (n int)
- func (m *ReplicationControllerStatus) String() string
- func (m *ReplicationControllerStatus) Unmarshal(dAtA []byte) error
- type ResourceFieldSelector
- func (*ResourceFieldSelector) Descriptor() ([]byte, []int)
- func (m *ResourceFieldSelector) GetContainerName() string
- func (m *ResourceFieldSelector) GetDivisor() *k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *ResourceFieldSelector) GetResource() string
- func (m *ResourceFieldSelector) Marshal() (dAtA []byte, err error)
- func (m *ResourceFieldSelector) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceFieldSelector) ProtoMessage()
- func (m *ResourceFieldSelector) Reset()
- func (m *ResourceFieldSelector) Size() (n int)
- func (m *ResourceFieldSelector) String() string
- func (m *ResourceFieldSelector) Unmarshal(dAtA []byte) error
- type ResourceQuota
- func (*ResourceQuota) Descriptor() ([]byte, []int)
- func (m *ResourceQuota) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *ResourceQuota) GetSpec() *ResourceQuotaSpec
- func (m *ResourceQuota) GetStatus() *ResourceQuotaStatus
- func (m *ResourceQuota) Marshal() (dAtA []byte, err error)
- func (m *ResourceQuota) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceQuota) ProtoMessage()
- func (m *ResourceQuota) Reset()
- func (m *ResourceQuota) Size() (n int)
- func (m *ResourceQuota) String() string
- func (m *ResourceQuota) Unmarshal(dAtA []byte) error
- type ResourceQuotaList
- func (*ResourceQuotaList) Descriptor() ([]byte, []int)
- func (m *ResourceQuotaList) GetItems() []*ResourceQuota
- func (m *ResourceQuotaList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *ResourceQuotaList) Marshal() (dAtA []byte, err error)
- func (m *ResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceQuotaList) ProtoMessage()
- func (m *ResourceQuotaList) Reset()
- func (m *ResourceQuotaList) Size() (n int)
- func (m *ResourceQuotaList) String() string
- func (m *ResourceQuotaList) Unmarshal(dAtA []byte) error
- type ResourceQuotaSpec
- func (*ResourceQuotaSpec) Descriptor() ([]byte, []int)
- func (m *ResourceQuotaSpec) GetHard() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *ResourceQuotaSpec) GetScopeSelector() *ScopeSelector
- func (m *ResourceQuotaSpec) GetScopes() []string
- func (m *ResourceQuotaSpec) Marshal() (dAtA []byte, err error)
- func (m *ResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceQuotaSpec) ProtoMessage()
- func (m *ResourceQuotaSpec) Reset()
- func (m *ResourceQuotaSpec) Size() (n int)
- func (m *ResourceQuotaSpec) String() string
- func (m *ResourceQuotaSpec) Unmarshal(dAtA []byte) error
- type ResourceQuotaStatus
- func (*ResourceQuotaStatus) Descriptor() ([]byte, []int)
- func (m *ResourceQuotaStatus) GetHard() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *ResourceQuotaStatus) GetUsed() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *ResourceQuotaStatus) Marshal() (dAtA []byte, err error)
- func (m *ResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceQuotaStatus) ProtoMessage()
- func (m *ResourceQuotaStatus) Reset()
- func (m *ResourceQuotaStatus) Size() (n int)
- func (m *ResourceQuotaStatus) String() string
- func (m *ResourceQuotaStatus) Unmarshal(dAtA []byte) error
- type ResourceRequirements
- func (*ResourceRequirements) Descriptor() ([]byte, []int)
- func (m *ResourceRequirements) GetLimits() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *ResourceRequirements) GetRequests() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
- func (m *ResourceRequirements) Marshal() (dAtA []byte, err error)
- func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error)
- func (*ResourceRequirements) ProtoMessage()
- func (m *ResourceRequirements) Reset()
- func (m *ResourceRequirements) Size() (n int)
- func (m *ResourceRequirements) String() string
- func (m *ResourceRequirements) Unmarshal(dAtA []byte) error
- type SELinuxOptions
- func (*SELinuxOptions) Descriptor() ([]byte, []int)
- func (m *SELinuxOptions) GetLevel() string
- func (m *SELinuxOptions) GetRole() string
- func (m *SELinuxOptions) GetType() string
- func (m *SELinuxOptions) GetUser() string
- func (m *SELinuxOptions) Marshal() (dAtA []byte, err error)
- func (m *SELinuxOptions) MarshalTo(dAtA []byte) (int, error)
- func (*SELinuxOptions) ProtoMessage()
- func (m *SELinuxOptions) Reset()
- func (m *SELinuxOptions) Size() (n int)
- func (m *SELinuxOptions) String() string
- func (m *SELinuxOptions) Unmarshal(dAtA []byte) error
- type ScaleIOPersistentVolumeSource
- func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *ScaleIOPersistentVolumeSource) GetFsType() string
- func (m *ScaleIOPersistentVolumeSource) GetGateway() string
- func (m *ScaleIOPersistentVolumeSource) GetProtectionDomain() string
- func (m *ScaleIOPersistentVolumeSource) GetReadOnly() bool
- func (m *ScaleIOPersistentVolumeSource) GetSecretRef() *SecretReference
- func (m *ScaleIOPersistentVolumeSource) GetSslEnabled() bool
- func (m *ScaleIOPersistentVolumeSource) GetStorageMode() string
- func (m *ScaleIOPersistentVolumeSource) GetStoragePool() string
- func (m *ScaleIOPersistentVolumeSource) GetSystem() string
- func (m *ScaleIOPersistentVolumeSource) GetVolumeName() string
- func (m *ScaleIOPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *ScaleIOPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*ScaleIOPersistentVolumeSource) ProtoMessage()
- func (m *ScaleIOPersistentVolumeSource) Reset()
- func (m *ScaleIOPersistentVolumeSource) Size() (n int)
- func (m *ScaleIOPersistentVolumeSource) String() string
- func (m *ScaleIOPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type ScaleIOVolumeSource
- func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int)
- func (m *ScaleIOVolumeSource) GetFsType() string
- func (m *ScaleIOVolumeSource) GetGateway() string
- func (m *ScaleIOVolumeSource) GetProtectionDomain() string
- func (m *ScaleIOVolumeSource) GetReadOnly() bool
- func (m *ScaleIOVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *ScaleIOVolumeSource) GetSslEnabled() bool
- func (m *ScaleIOVolumeSource) GetStorageMode() string
- func (m *ScaleIOVolumeSource) GetStoragePool() string
- func (m *ScaleIOVolumeSource) GetSystem() string
- func (m *ScaleIOVolumeSource) GetVolumeName() string
- func (m *ScaleIOVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *ScaleIOVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*ScaleIOVolumeSource) ProtoMessage()
- func (m *ScaleIOVolumeSource) Reset()
- func (m *ScaleIOVolumeSource) Size() (n int)
- func (m *ScaleIOVolumeSource) String() string
- func (m *ScaleIOVolumeSource) Unmarshal(dAtA []byte) error
- type ScopeSelector
- func (*ScopeSelector) Descriptor() ([]byte, []int)
- func (m *ScopeSelector) GetMatchExpressions() []*ScopedResourceSelectorRequirement
- func (m *ScopeSelector) Marshal() (dAtA []byte, err error)
- func (m *ScopeSelector) MarshalTo(dAtA []byte) (int, error)
- func (*ScopeSelector) ProtoMessage()
- func (m *ScopeSelector) Reset()
- func (m *ScopeSelector) Size() (n int)
- func (m *ScopeSelector) String() string
- func (m *ScopeSelector) Unmarshal(dAtA []byte) error
- type ScopedResourceSelectorRequirement
- func (*ScopedResourceSelectorRequirement) Descriptor() ([]byte, []int)
- func (m *ScopedResourceSelectorRequirement) GetOperator() string
- func (m *ScopedResourceSelectorRequirement) GetScopeName() string
- func (m *ScopedResourceSelectorRequirement) GetValues() []string
- func (m *ScopedResourceSelectorRequirement) Marshal() (dAtA []byte, err error)
- func (m *ScopedResourceSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
- func (*ScopedResourceSelectorRequirement) ProtoMessage()
- func (m *ScopedResourceSelectorRequirement) Reset()
- func (m *ScopedResourceSelectorRequirement) Size() (n int)
- func (m *ScopedResourceSelectorRequirement) String() string
- func (m *ScopedResourceSelectorRequirement) Unmarshal(dAtA []byte) error
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetData() map[string][]byte
- func (m *Secret) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Secret) GetStringData() map[string]string
- func (m *Secret) GetType() string
- func (m *Secret) Marshal() (dAtA []byte, err error)
- func (m *Secret) MarshalTo(dAtA []byte) (int, error)
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) Size() (n int)
- func (m *Secret) String() string
- func (m *Secret) Unmarshal(dAtA []byte) error
- type SecretEnvSource
- func (*SecretEnvSource) Descriptor() ([]byte, []int)
- func (m *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference
- func (m *SecretEnvSource) GetOptional() bool
- func (m *SecretEnvSource) Marshal() (dAtA []byte, err error)
- func (m *SecretEnvSource) MarshalTo(dAtA []byte) (int, error)
- func (*SecretEnvSource) ProtoMessage()
- func (m *SecretEnvSource) Reset()
- func (m *SecretEnvSource) Size() (n int)
- func (m *SecretEnvSource) String() string
- func (m *SecretEnvSource) Unmarshal(dAtA []byte) error
- type SecretKeySelector
- func (*SecretKeySelector) Descriptor() ([]byte, []int)
- func (m *SecretKeySelector) GetKey() string
- func (m *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference
- func (m *SecretKeySelector) GetOptional() bool
- func (m *SecretKeySelector) Marshal() (dAtA []byte, err error)
- func (m *SecretKeySelector) MarshalTo(dAtA []byte) (int, error)
- func (*SecretKeySelector) ProtoMessage()
- func (m *SecretKeySelector) Reset()
- func (m *SecretKeySelector) Size() (n int)
- func (m *SecretKeySelector) String() string
- func (m *SecretKeySelector) Unmarshal(dAtA []byte) error
- type SecretList
- func (*SecretList) Descriptor() ([]byte, []int)
- func (m *SecretList) GetItems() []*Secret
- func (m *SecretList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *SecretList) Marshal() (dAtA []byte, err error)
- func (m *SecretList) MarshalTo(dAtA []byte) (int, error)
- func (*SecretList) ProtoMessage()
- func (m *SecretList) Reset()
- func (m *SecretList) Size() (n int)
- func (m *SecretList) String() string
- func (m *SecretList) Unmarshal(dAtA []byte) error
- type SecretProjection
- func (*SecretProjection) Descriptor() ([]byte, []int)
- func (m *SecretProjection) GetItems() []*KeyToPath
- func (m *SecretProjection) GetLocalObjectReference() *LocalObjectReference
- func (m *SecretProjection) GetOptional() bool
- func (m *SecretProjection) Marshal() (dAtA []byte, err error)
- func (m *SecretProjection) MarshalTo(dAtA []byte) (int, error)
- func (*SecretProjection) ProtoMessage()
- func (m *SecretProjection) Reset()
- func (m *SecretProjection) Size() (n int)
- func (m *SecretProjection) String() string
- func (m *SecretProjection) Unmarshal(dAtA []byte) error
- type SecretReference
- func (*SecretReference) Descriptor() ([]byte, []int)
- func (m *SecretReference) GetName() string
- func (m *SecretReference) GetNamespace() string
- func (m *SecretReference) Marshal() (dAtA []byte, err error)
- func (m *SecretReference) MarshalTo(dAtA []byte) (int, error)
- func (*SecretReference) ProtoMessage()
- func (m *SecretReference) Reset()
- func (m *SecretReference) Size() (n int)
- func (m *SecretReference) String() string
- func (m *SecretReference) Unmarshal(dAtA []byte) error
- type SecretVolumeSource
- func (*SecretVolumeSource) Descriptor() ([]byte, []int)
- func (m *SecretVolumeSource) GetDefaultMode() int32
- func (m *SecretVolumeSource) GetItems() []*KeyToPath
- func (m *SecretVolumeSource) GetOptional() bool
- func (m *SecretVolumeSource) GetSecretName() string
- func (m *SecretVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *SecretVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*SecretVolumeSource) ProtoMessage()
- func (m *SecretVolumeSource) Reset()
- func (m *SecretVolumeSource) Size() (n int)
- func (m *SecretVolumeSource) String() string
- func (m *SecretVolumeSource) Unmarshal(dAtA []byte) error
- type SecurityContext
- func (*SecurityContext) Descriptor() ([]byte, []int)
- func (m *SecurityContext) GetAllowPrivilegeEscalation() bool
- func (m *SecurityContext) GetCapabilities() *Capabilities
- func (m *SecurityContext) GetPrivileged() bool
- func (m *SecurityContext) GetProcMount() string
- func (m *SecurityContext) GetReadOnlyRootFilesystem() bool
- func (m *SecurityContext) GetRunAsGroup() int64
- func (m *SecurityContext) GetRunAsNonRoot() bool
- func (m *SecurityContext) GetRunAsUser() int64
- func (m *SecurityContext) GetSeLinuxOptions() *SELinuxOptions
- func (m *SecurityContext) Marshal() (dAtA []byte, err error)
- func (m *SecurityContext) MarshalTo(dAtA []byte) (int, error)
- func (*SecurityContext) ProtoMessage()
- func (m *SecurityContext) Reset()
- func (m *SecurityContext) Size() (n int)
- func (m *SecurityContext) String() string
- func (m *SecurityContext) Unmarshal(dAtA []byte) error
- type SerializedReference
- func (*SerializedReference) Descriptor() ([]byte, []int)
- func (m *SerializedReference) GetReference() *ObjectReference
- func (m *SerializedReference) Marshal() (dAtA []byte, err error)
- func (m *SerializedReference) MarshalTo(dAtA []byte) (int, error)
- func (*SerializedReference) ProtoMessage()
- func (m *SerializedReference) Reset()
- func (m *SerializedReference) Size() (n int)
- func (m *SerializedReference) String() string
- func (m *SerializedReference) Unmarshal(dAtA []byte) error
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *Service) GetSpec() *ServiceSpec
- func (m *Service) GetStatus() *ServiceStatus
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- type ServiceAccount
- func (*ServiceAccount) Descriptor() ([]byte, []int)
- func (m *ServiceAccount) GetAutomountServiceAccountToken() bool
- func (m *ServiceAccount) GetImagePullSecrets() []*LocalObjectReference
- func (m *ServiceAccount) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
- func (m *ServiceAccount) GetSecrets() []*ObjectReference
- func (m *ServiceAccount) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceAccount) ProtoMessage()
- func (m *ServiceAccount) Reset()
- func (m *ServiceAccount) Size() (n int)
- func (m *ServiceAccount) String() string
- func (m *ServiceAccount) Unmarshal(dAtA []byte) error
- type ServiceAccountList
- func (*ServiceAccountList) Descriptor() ([]byte, []int)
- func (m *ServiceAccountList) GetItems() []*ServiceAccount
- func (m *ServiceAccountList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *ServiceAccountList) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccountList) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceAccountList) ProtoMessage()
- func (m *ServiceAccountList) Reset()
- func (m *ServiceAccountList) Size() (n int)
- func (m *ServiceAccountList) String() string
- func (m *ServiceAccountList) Unmarshal(dAtA []byte) error
- type ServiceAccountTokenProjection
- func (*ServiceAccountTokenProjection) Descriptor() ([]byte, []int)
- func (m *ServiceAccountTokenProjection) GetAudience() string
- func (m *ServiceAccountTokenProjection) GetExpirationSeconds() int64
- func (m *ServiceAccountTokenProjection) GetPath() string
- func (m *ServiceAccountTokenProjection) Marshal() (dAtA []byte, err error)
- func (m *ServiceAccountTokenProjection) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceAccountTokenProjection) ProtoMessage()
- func (m *ServiceAccountTokenProjection) Reset()
- func (m *ServiceAccountTokenProjection) Size() (n int)
- func (m *ServiceAccountTokenProjection) String() string
- func (m *ServiceAccountTokenProjection) Unmarshal(dAtA []byte) error
- type ServiceList
- func (*ServiceList) Descriptor() ([]byte, []int)
- func (m *ServiceList) GetItems() []*Service
- func (m *ServiceList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
- func (m *ServiceList) Marshal() (dAtA []byte, err error)
- func (m *ServiceList) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceList) ProtoMessage()
- func (m *ServiceList) Reset()
- func (m *ServiceList) Size() (n int)
- func (m *ServiceList) String() string
- func (m *ServiceList) Unmarshal(dAtA []byte) error
- type ServicePort
- func (*ServicePort) Descriptor() ([]byte, []int)
- func (m *ServicePort) GetName() string
- func (m *ServicePort) GetNodePort() int32
- func (m *ServicePort) GetPort() int32
- func (m *ServicePort) GetProtocol() string
- func (m *ServicePort) GetTargetPort() *k8s_io_apimachinery_pkg_util_intstr.IntOrString
- func (m *ServicePort) Marshal() (dAtA []byte, err error)
- func (m *ServicePort) MarshalTo(dAtA []byte) (int, error)
- func (*ServicePort) ProtoMessage()
- func (m *ServicePort) Reset()
- func (m *ServicePort) Size() (n int)
- func (m *ServicePort) String() string
- func (m *ServicePort) Unmarshal(dAtA []byte) error
- type ServiceProxyOptions
- func (*ServiceProxyOptions) Descriptor() ([]byte, []int)
- func (m *ServiceProxyOptions) GetPath() string
- func (m *ServiceProxyOptions) Marshal() (dAtA []byte, err error)
- func (m *ServiceProxyOptions) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceProxyOptions) ProtoMessage()
- func (m *ServiceProxyOptions) Reset()
- func (m *ServiceProxyOptions) Size() (n int)
- func (m *ServiceProxyOptions) String() string
- func (m *ServiceProxyOptions) Unmarshal(dAtA []byte) error
- type ServiceSpec
- func (*ServiceSpec) Descriptor() ([]byte, []int)
- func (m *ServiceSpec) GetClusterIP() string
- func (m *ServiceSpec) GetExternalIPs() []string
- func (m *ServiceSpec) GetExternalName() string
- func (m *ServiceSpec) GetExternalTrafficPolicy() string
- func (m *ServiceSpec) GetHealthCheckNodePort() int32
- func (m *ServiceSpec) GetLoadBalancerIP() string
- func (m *ServiceSpec) GetLoadBalancerSourceRanges() []string
- func (m *ServiceSpec) GetPorts() []*ServicePort
- func (m *ServiceSpec) GetPublishNotReadyAddresses() bool
- func (m *ServiceSpec) GetSelector() map[string]string
- func (m *ServiceSpec) GetSessionAffinity() string
- func (m *ServiceSpec) GetSessionAffinityConfig() *SessionAffinityConfig
- func (m *ServiceSpec) GetType() string
- func (m *ServiceSpec) Marshal() (dAtA []byte, err error)
- func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceSpec) ProtoMessage()
- func (m *ServiceSpec) Reset()
- func (m *ServiceSpec) Size() (n int)
- func (m *ServiceSpec) String() string
- func (m *ServiceSpec) Unmarshal(dAtA []byte) error
- type ServiceStatus
- func (*ServiceStatus) Descriptor() ([]byte, []int)
- func (m *ServiceStatus) GetLoadBalancer() *LoadBalancerStatus
- func (m *ServiceStatus) Marshal() (dAtA []byte, err error)
- func (m *ServiceStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceStatus) ProtoMessage()
- func (m *ServiceStatus) Reset()
- func (m *ServiceStatus) Size() (n int)
- func (m *ServiceStatus) String() string
- func (m *ServiceStatus) Unmarshal(dAtA []byte) error
- type SessionAffinityConfig
- func (*SessionAffinityConfig) Descriptor() ([]byte, []int)
- func (m *SessionAffinityConfig) GetClientIP() *ClientIPConfig
- func (m *SessionAffinityConfig) Marshal() (dAtA []byte, err error)
- func (m *SessionAffinityConfig) MarshalTo(dAtA []byte) (int, error)
- func (*SessionAffinityConfig) ProtoMessage()
- func (m *SessionAffinityConfig) Reset()
- func (m *SessionAffinityConfig) Size() (n int)
- func (m *SessionAffinityConfig) String() string
- func (m *SessionAffinityConfig) Unmarshal(dAtA []byte) error
- type StorageOSPersistentVolumeSource
- func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int)
- func (m *StorageOSPersistentVolumeSource) GetFsType() string
- func (m *StorageOSPersistentVolumeSource) GetReadOnly() bool
- func (m *StorageOSPersistentVolumeSource) GetSecretRef() *ObjectReference
- func (m *StorageOSPersistentVolumeSource) GetVolumeName() string
- func (m *StorageOSPersistentVolumeSource) GetVolumeNamespace() string
- func (m *StorageOSPersistentVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *StorageOSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*StorageOSPersistentVolumeSource) ProtoMessage()
- func (m *StorageOSPersistentVolumeSource) Reset()
- func (m *StorageOSPersistentVolumeSource) Size() (n int)
- func (m *StorageOSPersistentVolumeSource) String() string
- func (m *StorageOSPersistentVolumeSource) Unmarshal(dAtA []byte) error
- type StorageOSVolumeSource
- func (*StorageOSVolumeSource) Descriptor() ([]byte, []int)
- func (m *StorageOSVolumeSource) GetFsType() string
- func (m *StorageOSVolumeSource) GetReadOnly() bool
- func (m *StorageOSVolumeSource) GetSecretRef() *LocalObjectReference
- func (m *StorageOSVolumeSource) GetVolumeName() string
- func (m *StorageOSVolumeSource) GetVolumeNamespace() string
- func (m *StorageOSVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *StorageOSVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*StorageOSVolumeSource) ProtoMessage()
- func (m *StorageOSVolumeSource) Reset()
- func (m *StorageOSVolumeSource) Size() (n int)
- func (m *StorageOSVolumeSource) String() string
- func (m *StorageOSVolumeSource) Unmarshal(dAtA []byte) error
- type Sysctl
- func (*Sysctl) Descriptor() ([]byte, []int)
- func (m *Sysctl) GetName() string
- func (m *Sysctl) GetValue() string
- func (m *Sysctl) Marshal() (dAtA []byte, err error)
- func (m *Sysctl) MarshalTo(dAtA []byte) (int, error)
- func (*Sysctl) ProtoMessage()
- func (m *Sysctl) Reset()
- func (m *Sysctl) Size() (n int)
- func (m *Sysctl) String() string
- func (m *Sysctl) Unmarshal(dAtA []byte) error
- type TCPSocketAction
- func (*TCPSocketAction) Descriptor() ([]byte, []int)
- func (m *TCPSocketAction) GetHost() string
- func (m *TCPSocketAction) GetPort() *k8s_io_apimachinery_pkg_util_intstr.IntOrString
- func (m *TCPSocketAction) Marshal() (dAtA []byte, err error)
- func (m *TCPSocketAction) MarshalTo(dAtA []byte) (int, error)
- func (*TCPSocketAction) ProtoMessage()
- func (m *TCPSocketAction) Reset()
- func (m *TCPSocketAction) Size() (n int)
- func (m *TCPSocketAction) String() string
- func (m *TCPSocketAction) Unmarshal(dAtA []byte) error
- type Taint
- func (*Taint) Descriptor() ([]byte, []int)
- func (m *Taint) GetEffect() string
- func (m *Taint) GetKey() string
- func (m *Taint) GetTimeAdded() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
- func (m *Taint) GetValue() string
- func (m *Taint) Marshal() (dAtA []byte, err error)
- func (m *Taint) MarshalTo(dAtA []byte) (int, error)
- func (*Taint) ProtoMessage()
- func (m *Taint) Reset()
- func (m *Taint) Size() (n int)
- func (m *Taint) String() string
- func (m *Taint) Unmarshal(dAtA []byte) error
- type Toleration
- func (*Toleration) Descriptor() ([]byte, []int)
- func (m *Toleration) GetEffect() string
- func (m *Toleration) GetKey() string
- func (m *Toleration) GetOperator() string
- func (m *Toleration) GetTolerationSeconds() int64
- func (m *Toleration) GetValue() string
- func (m *Toleration) Marshal() (dAtA []byte, err error)
- func (m *Toleration) MarshalTo(dAtA []byte) (int, error)
- func (*Toleration) ProtoMessage()
- func (m *Toleration) Reset()
- func (m *Toleration) Size() (n int)
- func (m *Toleration) String() string
- func (m *Toleration) Unmarshal(dAtA []byte) error
- type TopologySelectorLabelRequirement
- func (*TopologySelectorLabelRequirement) Descriptor() ([]byte, []int)
- func (m *TopologySelectorLabelRequirement) GetKey() string
- func (m *TopologySelectorLabelRequirement) GetValues() []string
- func (m *TopologySelectorLabelRequirement) Marshal() (dAtA []byte, err error)
- func (m *TopologySelectorLabelRequirement) MarshalTo(dAtA []byte) (int, error)
- func (*TopologySelectorLabelRequirement) ProtoMessage()
- func (m *TopologySelectorLabelRequirement) Reset()
- func (m *TopologySelectorLabelRequirement) Size() (n int)
- func (m *TopologySelectorLabelRequirement) String() string
- func (m *TopologySelectorLabelRequirement) Unmarshal(dAtA []byte) error
- type TopologySelectorTerm
- func (*TopologySelectorTerm) Descriptor() ([]byte, []int)
- func (m *TopologySelectorTerm) GetMatchLabelExpressions() []*TopologySelectorLabelRequirement
- func (m *TopologySelectorTerm) Marshal() (dAtA []byte, err error)
- func (m *TopologySelectorTerm) MarshalTo(dAtA []byte) (int, error)
- func (*TopologySelectorTerm) ProtoMessage()
- func (m *TopologySelectorTerm) Reset()
- func (m *TopologySelectorTerm) Size() (n int)
- func (m *TopologySelectorTerm) String() string
- func (m *TopologySelectorTerm) Unmarshal(dAtA []byte) error
- type TypedLocalObjectReference
- func (*TypedLocalObjectReference) Descriptor() ([]byte, []int)
- func (m *TypedLocalObjectReference) GetApiGroup() string
- func (m *TypedLocalObjectReference) GetKind() string
- func (m *TypedLocalObjectReference) GetName() string
- func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error)
- func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error)
- func (*TypedLocalObjectReference) ProtoMessage()
- func (m *TypedLocalObjectReference) Reset()
- func (m *TypedLocalObjectReference) Size() (n int)
- func (m *TypedLocalObjectReference) String() string
- func (m *TypedLocalObjectReference) Unmarshal(dAtA []byte) error
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)
- func (m *Volume) GetName() string
- func (m *Volume) GetVolumeSource() *VolumeSource
- func (m *Volume) Marshal() (dAtA []byte, err error)
- func (m *Volume) MarshalTo(dAtA []byte) (int, error)
- func (*Volume) ProtoMessage()
- func (m *Volume) Reset()
- func (m *Volume) Size() (n int)
- func (m *Volume) String() string
- func (m *Volume) Unmarshal(dAtA []byte) error
- type VolumeDevice
- func (*VolumeDevice) Descriptor() ([]byte, []int)
- func (m *VolumeDevice) GetDevicePath() string
- func (m *VolumeDevice) GetName() string
- func (m *VolumeDevice) Marshal() (dAtA []byte, err error)
- func (m *VolumeDevice) MarshalTo(dAtA []byte) (int, error)
- func (*VolumeDevice) ProtoMessage()
- func (m *VolumeDevice) Reset()
- func (m *VolumeDevice) Size() (n int)
- func (m *VolumeDevice) String() string
- func (m *VolumeDevice) Unmarshal(dAtA []byte) error
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)
- func (m *VolumeMount) GetMountPath() string
- func (m *VolumeMount) GetMountPropagation() string
- func (m *VolumeMount) GetName() string
- func (m *VolumeMount) GetReadOnly() bool
- func (m *VolumeMount) GetSubPath() string
- func (m *VolumeMount) Marshal() (dAtA []byte, err error)
- func (m *VolumeMount) MarshalTo(dAtA []byte) (int, error)
- func (*VolumeMount) ProtoMessage()
- func (m *VolumeMount) Reset()
- func (m *VolumeMount) Size() (n int)
- func (m *VolumeMount) String() string
- func (m *VolumeMount) Unmarshal(dAtA []byte) error
- type VolumeNodeAffinity
- func (*VolumeNodeAffinity) Descriptor() ([]byte, []int)
- func (m *VolumeNodeAffinity) GetRequired() *NodeSelector
- func (m *VolumeNodeAffinity) Marshal() (dAtA []byte, err error)
- func (m *VolumeNodeAffinity) MarshalTo(dAtA []byte) (int, error)
- func (*VolumeNodeAffinity) ProtoMessage()
- func (m *VolumeNodeAffinity) Reset()
- func (m *VolumeNodeAffinity) Size() (n int)
- func (m *VolumeNodeAffinity) String() string
- func (m *VolumeNodeAffinity) Unmarshal(dAtA []byte) error
- type VolumeProjection
- func (*VolumeProjection) Descriptor() ([]byte, []int)
- func (m *VolumeProjection) GetConfigMap() *ConfigMapProjection
- func (m *VolumeProjection) GetDownwardAPI() *DownwardAPIProjection
- func (m *VolumeProjection) GetSecret() *SecretProjection
- func (m *VolumeProjection) GetServiceAccountToken() *ServiceAccountTokenProjection
- func (m *VolumeProjection) Marshal() (dAtA []byte, err error)
- func (m *VolumeProjection) MarshalTo(dAtA []byte) (int, error)
- func (*VolumeProjection) ProtoMessage()
- func (m *VolumeProjection) Reset()
- func (m *VolumeProjection) Size() (n int)
- func (m *VolumeProjection) String() string
- func (m *VolumeProjection) Unmarshal(dAtA []byte) error
- type VolumeSource
- func (*VolumeSource) Descriptor() ([]byte, []int)
- func (m *VolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource
- func (m *VolumeSource) GetAzureDisk() *AzureDiskVolumeSource
- func (m *VolumeSource) GetAzureFile() *AzureFileVolumeSource
- func (m *VolumeSource) GetCephfs() *CephFSVolumeSource
- func (m *VolumeSource) GetCinder() *CinderVolumeSource
- func (m *VolumeSource) GetConfigMap() *ConfigMapVolumeSource
- func (m *VolumeSource) GetDownwardAPI() *DownwardAPIVolumeSource
- func (m *VolumeSource) GetEmptyDir() *EmptyDirVolumeSource
- func (m *VolumeSource) GetFc() *FCVolumeSource
- func (m *VolumeSource) GetFlexVolume() *FlexVolumeSource
- func (m *VolumeSource) GetFlocker() *FlockerVolumeSource
- func (m *VolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
- func (m *VolumeSource) GetGitRepo() *GitRepoVolumeSource
- func (m *VolumeSource) GetGlusterfs() *GlusterfsVolumeSource
- func (m *VolumeSource) GetHostPath() *HostPathVolumeSource
- func (m *VolumeSource) GetIscsi() *ISCSIVolumeSource
- func (m *VolumeSource) GetNfs() *NFSVolumeSource
- func (m *VolumeSource) GetPersistentVolumeClaim() *PersistentVolumeClaimVolumeSource
- func (m *VolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
- func (m *VolumeSource) GetPortworxVolume() *PortworxVolumeSource
- func (m *VolumeSource) GetProjected() *ProjectedVolumeSource
- func (m *VolumeSource) GetQuobyte() *QuobyteVolumeSource
- func (m *VolumeSource) GetRbd() *RBDVolumeSource
- func (m *VolumeSource) GetScaleIO() *ScaleIOVolumeSource
- func (m *VolumeSource) GetSecret() *SecretVolumeSource
- func (m *VolumeSource) GetStorageos() *StorageOSVolumeSource
- func (m *VolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
- func (m *VolumeSource) Marshal() (dAtA []byte, err error)
- func (m *VolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*VolumeSource) ProtoMessage()
- func (m *VolumeSource) Reset()
- func (m *VolumeSource) Size() (n int)
- func (m *VolumeSource) String() string
- func (m *VolumeSource) Unmarshal(dAtA []byte) error
- type VsphereVirtualDiskVolumeSource
- func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int)
- func (m *VsphereVirtualDiskVolumeSource) GetFsType() string
- func (m *VsphereVirtualDiskVolumeSource) GetStoragePolicyID() string
- func (m *VsphereVirtualDiskVolumeSource) GetStoragePolicyName() string
- func (m *VsphereVirtualDiskVolumeSource) GetVolumePath() string
- func (m *VsphereVirtualDiskVolumeSource) Marshal() (dAtA []byte, err error)
- func (m *VsphereVirtualDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
- func (*VsphereVirtualDiskVolumeSource) ProtoMessage()
- func (m *VsphereVirtualDiskVolumeSource) Reset()
- func (m *VsphereVirtualDiskVolumeSource) Size() (n int)
- func (m *VsphereVirtualDiskVolumeSource) String() string
- func (m *VsphereVirtualDiskVolumeSource) Unmarshal(dAtA []byte) error
- type WeightedPodAffinityTerm
- func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int)
- func (m *WeightedPodAffinityTerm) GetPodAffinityTerm() *PodAffinityTerm
- func (m *WeightedPodAffinityTerm) GetWeight() int32
- func (m *WeightedPodAffinityTerm) Marshal() (dAtA []byte, err error)
- func (m *WeightedPodAffinityTerm) MarshalTo(dAtA []byte) (int, error)
- func (*WeightedPodAffinityTerm) ProtoMessage()
- func (m *WeightedPodAffinityTerm) Reset()
- func (m *WeightedPodAffinityTerm) Size() (n int)
- func (m *WeightedPodAffinityTerm) String() string
- func (m *WeightedPodAffinityTerm) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type AWSElasticBlockStoreVolumeSource ¶
type AWSElasticBlockStoreVolumeSource struct {
// Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
// Filesystem type of the volume that you want to mount.
// Tip: Ensure that the filesystem type is supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// The partition in the volume that you want to mount.
// If omitted, the default is to mount by volume name.
// Examples: For volume /dev/sda1, you specify the partition as "1".
// Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
// +optional
Partition *int32 `protobuf:"varint,3,opt,name=partition" json:"partition,omitempty"`
// Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
// If omitted, the default is "false".
// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Persistent Disk resource in AWS.
An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.
func (*AWSElasticBlockStoreVolumeSource) Descriptor ¶
func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int)
func (*AWSElasticBlockStoreVolumeSource) GetFsType ¶
func (m *AWSElasticBlockStoreVolumeSource) GetFsType() string
func (*AWSElasticBlockStoreVolumeSource) GetPartition ¶
func (m *AWSElasticBlockStoreVolumeSource) GetPartition() int32
func (*AWSElasticBlockStoreVolumeSource) GetReadOnly ¶
func (m *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool
func (*AWSElasticBlockStoreVolumeSource) GetVolumeID ¶
func (m *AWSElasticBlockStoreVolumeSource) GetVolumeID() string
func (*AWSElasticBlockStoreVolumeSource) Marshal ¶
func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error)
func (*AWSElasticBlockStoreVolumeSource) MarshalTo ¶
func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*AWSElasticBlockStoreVolumeSource) ProtoMessage ¶
func (*AWSElasticBlockStoreVolumeSource) ProtoMessage()
func (*AWSElasticBlockStoreVolumeSource) Reset ¶
func (m *AWSElasticBlockStoreVolumeSource) Reset()
func (*AWSElasticBlockStoreVolumeSource) Size ¶
func (m *AWSElasticBlockStoreVolumeSource) Size() (n int)
func (*AWSElasticBlockStoreVolumeSource) String ¶
func (m *AWSElasticBlockStoreVolumeSource) String() string
func (*AWSElasticBlockStoreVolumeSource) Unmarshal ¶
func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(dAtA []byte) error
type Affinity ¶
type Affinity struct {
// Describes node affinity scheduling rules for the pod.
// +optional
NodeAffinity *NodeAffinity `protobuf:"bytes,1,opt,name=nodeAffinity" json:"nodeAffinity,omitempty"`
// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
// +optional
PodAffinity *PodAffinity `protobuf:"bytes,2,opt,name=podAffinity" json:"podAffinity,omitempty"`
// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
// +optional
PodAntiAffinity *PodAntiAffinity `protobuf:"bytes,3,opt,name=podAntiAffinity" json:"podAntiAffinity,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Affinity is a group of affinity scheduling rules.
func (*Affinity) Descriptor ¶
func (*Affinity) GetNodeAffinity ¶
func (m *Affinity) GetNodeAffinity() *NodeAffinity
func (*Affinity) GetPodAffinity ¶
func (m *Affinity) GetPodAffinity() *PodAffinity
func (*Affinity) GetPodAntiAffinity ¶
func (m *Affinity) GetPodAntiAffinity() *PodAntiAffinity
func (*Affinity) ProtoMessage ¶
func (*Affinity) ProtoMessage()
type AttachedVolume ¶
type AttachedVolume struct {
// Name of the attached volume
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// DevicePath represents the device path where the volume should be available
DevicePath *string `protobuf:"bytes,2,opt,name=devicePath" json:"devicePath,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
AttachedVolume describes a volume attached to a node
func (*AttachedVolume) Descriptor ¶
func (*AttachedVolume) Descriptor() ([]byte, []int)
func (*AttachedVolume) GetDevicePath ¶
func (m *AttachedVolume) GetDevicePath() string
func (*AttachedVolume) GetName ¶
func (m *AttachedVolume) GetName() string
func (*AttachedVolume) Marshal ¶
func (m *AttachedVolume) Marshal() (dAtA []byte, err error)
func (*AttachedVolume) ProtoMessage ¶
func (*AttachedVolume) ProtoMessage()
func (*AttachedVolume) Reset ¶
func (m *AttachedVolume) Reset()
func (*AttachedVolume) Size ¶
func (m *AttachedVolume) Size() (n int)
func (*AttachedVolume) String ¶
func (m *AttachedVolume) String() string
func (*AttachedVolume) Unmarshal ¶
func (m *AttachedVolume) Unmarshal(dAtA []byte) error
type AvoidPods ¶
type AvoidPods struct {
// Bounded-sized list of signatures of pods that should avoid this node, sorted
// in timestamp order from oldest to newest. Size of the slice is unspecified.
// +optional
PreferAvoidPods []*PreferAvoidPodsEntry `protobuf:"bytes,1,rep,name=preferAvoidPods" json:"preferAvoidPods,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*AvoidPods) GetPreferAvoidPods ¶
func (m *AvoidPods) GetPreferAvoidPods() []*PreferAvoidPodsEntry
func (*AvoidPods) ProtoMessage ¶
func (*AvoidPods) ProtoMessage()
type AzureDiskVolumeSource ¶
type AzureDiskVolumeSource struct {
// The Name of the data disk in the blob storage
DiskName *string `protobuf:"bytes,1,opt,name=diskName" json:"diskName,omitempty"`
// The URI the data disk in the blob storage
DiskURI *string `protobuf:"bytes,2,opt,name=diskURI" json:"diskURI,omitempty"`
// Host Caching mode: None, Read Only, Read Write.
// +optional
CachingMode *string `protobuf:"bytes,3,opt,name=cachingMode" json:"cachingMode,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// +optional
FsType *string `protobuf:"bytes,4,opt,name=fsType" json:"fsType,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,5,opt,name=readOnly" json:"readOnly,omitempty"`
// Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared
Kind *string `protobuf:"bytes,6,opt,name=kind" json:"kind,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
func (*AzureDiskVolumeSource) Descriptor ¶
func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int)
func (*AzureDiskVolumeSource) GetCachingMode ¶
func (m *AzureDiskVolumeSource) GetCachingMode() string
func (*AzureDiskVolumeSource) GetDiskName ¶
func (m *AzureDiskVolumeSource) GetDiskName() string
func (*AzureDiskVolumeSource) GetDiskURI ¶
func (m *AzureDiskVolumeSource) GetDiskURI() string
func (*AzureDiskVolumeSource) GetFsType ¶
func (m *AzureDiskVolumeSource) GetFsType() string
func (*AzureDiskVolumeSource) GetKind ¶
func (m *AzureDiskVolumeSource) GetKind() string
func (*AzureDiskVolumeSource) GetReadOnly ¶
func (m *AzureDiskVolumeSource) GetReadOnly() bool
func (*AzureDiskVolumeSource) Marshal ¶
func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error)
func (*AzureDiskVolumeSource) MarshalTo ¶
func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*AzureDiskVolumeSource) ProtoMessage ¶
func (*AzureDiskVolumeSource) ProtoMessage()
func (*AzureDiskVolumeSource) Reset ¶
func (m *AzureDiskVolumeSource) Reset()
func (*AzureDiskVolumeSource) Size ¶
func (m *AzureDiskVolumeSource) Size() (n int)
func (*AzureDiskVolumeSource) String ¶
func (m *AzureDiskVolumeSource) String() string
func (*AzureDiskVolumeSource) Unmarshal ¶
func (m *AzureDiskVolumeSource) Unmarshal(dAtA []byte) error
type AzureFilePersistentVolumeSource ¶
type AzureFilePersistentVolumeSource struct {
// the name of secret that contains Azure Storage Account Name and Key
SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"`
ShareName *string `protobuf:"bytes,2,opt,name=shareName" json:"shareName,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
// the namespace of the secret that contains Azure Storage Account Name and Key
// default is the same as the Pod
// +optional
SecretNamespace *string `protobuf:"bytes,4,opt,name=secretNamespace" json:"secretNamespace,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
func (*AzureFilePersistentVolumeSource) Descriptor ¶
func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int)
func (*AzureFilePersistentVolumeSource) GetReadOnly ¶
func (m *AzureFilePersistentVolumeSource) GetReadOnly() bool
func (*AzureFilePersistentVolumeSource) GetSecretName ¶
func (m *AzureFilePersistentVolumeSource) GetSecretName() string
func (*AzureFilePersistentVolumeSource) GetSecretNamespace ¶
func (m *AzureFilePersistentVolumeSource) GetSecretNamespace() string
func (*AzureFilePersistentVolumeSource) GetShareName ¶
func (m *AzureFilePersistentVolumeSource) GetShareName() string
func (*AzureFilePersistentVolumeSource) Marshal ¶
func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*AzureFilePersistentVolumeSource) MarshalTo ¶
func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*AzureFilePersistentVolumeSource) ProtoMessage ¶
func (*AzureFilePersistentVolumeSource) ProtoMessage()
func (*AzureFilePersistentVolumeSource) Reset ¶
func (m *AzureFilePersistentVolumeSource) Reset()
func (*AzureFilePersistentVolumeSource) Size ¶
func (m *AzureFilePersistentVolumeSource) Size() (n int)
func (*AzureFilePersistentVolumeSource) String ¶
func (m *AzureFilePersistentVolumeSource) String() string
func (*AzureFilePersistentVolumeSource) Unmarshal ¶
func (m *AzureFilePersistentVolumeSource) Unmarshal(dAtA []byte) error
type AzureFileVolumeSource ¶
type AzureFileVolumeSource struct {
// the name of secret that contains Azure Storage Account Name and Key
SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"`
ShareName *string `protobuf:"bytes,2,opt,name=shareName" json:"shareName,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
func (*AzureFileVolumeSource) Descriptor ¶
func (*AzureFileVolumeSource) Descriptor() ([]byte, []int)
func (*AzureFileVolumeSource) GetReadOnly ¶
func (m *AzureFileVolumeSource) GetReadOnly() bool
func (*AzureFileVolumeSource) GetSecretName ¶
func (m *AzureFileVolumeSource) GetSecretName() string
func (*AzureFileVolumeSource) GetShareName ¶
func (m *AzureFileVolumeSource) GetShareName() string
func (*AzureFileVolumeSource) Marshal ¶
func (m *AzureFileVolumeSource) Marshal() (dAtA []byte, err error)
func (*AzureFileVolumeSource) MarshalTo ¶
func (m *AzureFileVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*AzureFileVolumeSource) ProtoMessage ¶
func (*AzureFileVolumeSource) ProtoMessage()
func (*AzureFileVolumeSource) Reset ¶
func (m *AzureFileVolumeSource) Reset()
func (*AzureFileVolumeSource) Size ¶
func (m *AzureFileVolumeSource) Size() (n int)
func (*AzureFileVolumeSource) String ¶
func (m *AzureFileVolumeSource) String() string
func (*AzureFileVolumeSource) Unmarshal ¶
func (m *AzureFileVolumeSource) Unmarshal(dAtA []byte) error
type Binding ¶
type Binding struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// The target object that you want to bind to the standard object.
Target *ObjectReference `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Binding) GetMetadata ¶
func (m *Binding) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Binding) GetTarget ¶
func (m *Binding) GetTarget() *ObjectReference
func (*Binding) ProtoMessage ¶
func (*Binding) ProtoMessage()
type CSIPersistentVolumeSource ¶
type CSIPersistentVolumeSource struct {
// Driver is the name of the driver to use for this volume.
// Required.
Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
// VolumeHandle is the unique volume name returned by the CSI volume
// plugin’s CreateVolume to refer to the volume on all subsequent calls.
// Required.
VolumeHandle *string `protobuf:"bytes,2,opt,name=volumeHandle" json:"volumeHandle,omitempty"`
// Optional: The value to pass to ControllerPublishVolumeRequest.
// Defaults to false (read/write).
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs".
// +optional
FsType *string `protobuf:"bytes,4,opt,name=fsType" json:"fsType,omitempty"`
// Attributes of the volume to publish.
// +optional
VolumeAttributes map[string]string `` /* 152-byte string literal not displayed */
// ControllerPublishSecretRef is a reference to the secret object containing
// sensitive information to pass to the CSI driver to complete the CSI
// ControllerPublishVolume and ControllerUnpublishVolume calls.
// This field is optional, and may be empty if no secret is required. If the
// secret object contains more than one secret, all secrets are passed.
// +optional
ControllerPublishSecretRef *SecretReference `protobuf:"bytes,6,opt,name=controllerPublishSecretRef" json:"controllerPublishSecretRef,omitempty"`
// NodeStageSecretRef is a reference to the secret object containing sensitive
// information to pass to the CSI driver to complete the CSI NodeStageVolume
// and NodeStageVolume and NodeUnstageVolume calls.
// This field is optional, and may be empty if no secret is required. If the
// secret object contains more than one secret, all secrets are passed.
// +optional
NodeStageSecretRef *SecretReference `protobuf:"bytes,7,opt,name=nodeStageSecretRef" json:"nodeStageSecretRef,omitempty"`
// NodePublishSecretRef is a reference to the secret object containing
// sensitive information to pass to the CSI driver to complete the CSI
// NodePublishVolume and NodeUnpublishVolume calls.
// This field is optional, and may be empty if no secret is required. If the
// secret object contains more than one secret, all secrets are passed.
// +optional
NodePublishSecretRef *SecretReference `protobuf:"bytes,8,opt,name=nodePublishSecretRef" json:"nodePublishSecretRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents storage that is managed by an external CSI volume driver (Beta feature)
func (*CSIPersistentVolumeSource) Descriptor ¶
func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*CSIPersistentVolumeSource) GetControllerPublishSecretRef ¶ added in v1.1.0
func (m *CSIPersistentVolumeSource) GetControllerPublishSecretRef() *SecretReference
func (*CSIPersistentVolumeSource) GetDriver ¶
func (m *CSIPersistentVolumeSource) GetDriver() string
func (*CSIPersistentVolumeSource) GetFsType ¶ added in v1.1.0
func (m *CSIPersistentVolumeSource) GetFsType() string
func (*CSIPersistentVolumeSource) GetNodePublishSecretRef ¶ added in v1.1.0
func (m *CSIPersistentVolumeSource) GetNodePublishSecretRef() *SecretReference
func (*CSIPersistentVolumeSource) GetNodeStageSecretRef ¶ added in v1.1.0
func (m *CSIPersistentVolumeSource) GetNodeStageSecretRef() *SecretReference
func (*CSIPersistentVolumeSource) GetReadOnly ¶
func (m *CSIPersistentVolumeSource) GetReadOnly() bool
func (*CSIPersistentVolumeSource) GetVolumeAttributes ¶ added in v1.1.0
func (m *CSIPersistentVolumeSource) GetVolumeAttributes() map[string]string
func (*CSIPersistentVolumeSource) GetVolumeHandle ¶
func (m *CSIPersistentVolumeSource) GetVolumeHandle() string
func (*CSIPersistentVolumeSource) Marshal ¶
func (m *CSIPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*CSIPersistentVolumeSource) MarshalTo ¶
func (m *CSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*CSIPersistentVolumeSource) ProtoMessage ¶
func (*CSIPersistentVolumeSource) ProtoMessage()
func (*CSIPersistentVolumeSource) Reset ¶
func (m *CSIPersistentVolumeSource) Reset()
func (*CSIPersistentVolumeSource) Size ¶
func (m *CSIPersistentVolumeSource) Size() (n int)
func (*CSIPersistentVolumeSource) String ¶
func (m *CSIPersistentVolumeSource) String() string
func (*CSIPersistentVolumeSource) Unmarshal ¶
func (m *CSIPersistentVolumeSource) Unmarshal(dAtA []byte) error
type Capabilities ¶
type Capabilities struct {
// Added capabilities
// +optional
Add []string `protobuf:"bytes,1,rep,name=add" json:"add,omitempty"`
// Removed capabilities
// +optional
Drop []string `protobuf:"bytes,2,rep,name=drop" json:"drop,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Adds and removes POSIX capabilities from running containers.
func (*Capabilities) Descriptor ¶
func (*Capabilities) Descriptor() ([]byte, []int)
func (*Capabilities) GetAdd ¶
func (m *Capabilities) GetAdd() []string
func (*Capabilities) GetDrop ¶
func (m *Capabilities) GetDrop() []string
func (*Capabilities) Marshal ¶
func (m *Capabilities) Marshal() (dAtA []byte, err error)
func (*Capabilities) ProtoMessage ¶
func (*Capabilities) ProtoMessage()
func (*Capabilities) Reset ¶
func (m *Capabilities) Reset()
func (*Capabilities) Size ¶
func (m *Capabilities) Size() (n int)
func (*Capabilities) String ¶
func (m *Capabilities) String() string
func (*Capabilities) Unmarshal ¶
func (m *Capabilities) Unmarshal(dAtA []byte) error
type CephFSPersistentVolumeSource ¶
type CephFSPersistentVolumeSource struct {
// Required: Monitors is a collection of Ceph monitors
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
// +optional
Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
// Optional: User is the rados user name, default is admin
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
User *string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
SecretFile *string `protobuf:"bytes,4,opt,name=secretFile" json:"secretFile,omitempty"`
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
SecretRef *SecretReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*CephFSPersistentVolumeSource) GetMonitors ¶
func (m *CephFSPersistentVolumeSource) GetMonitors() []string
func (*CephFSPersistentVolumeSource) GetPath ¶
func (m *CephFSPersistentVolumeSource) GetPath() string
func (*CephFSPersistentVolumeSource) GetReadOnly ¶
func (m *CephFSPersistentVolumeSource) GetReadOnly() bool
func (*CephFSPersistentVolumeSource) GetSecretFile ¶
func (m *CephFSPersistentVolumeSource) GetSecretFile() string
func (*CephFSPersistentVolumeSource) GetSecretRef ¶
func (m *CephFSPersistentVolumeSource) GetSecretRef() *SecretReference
func (*CephFSPersistentVolumeSource) GetUser ¶
func (m *CephFSPersistentVolumeSource) GetUser() string
func (*CephFSPersistentVolumeSource) Marshal ¶
func (m *CephFSPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*CephFSPersistentVolumeSource) MarshalTo ¶
func (m *CephFSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*CephFSPersistentVolumeSource) ProtoMessage ¶
func (*CephFSPersistentVolumeSource) ProtoMessage()
func (*CephFSPersistentVolumeSource) Reset ¶
func (m *CephFSPersistentVolumeSource) Reset()
func (*CephFSPersistentVolumeSource) Size ¶
func (m *CephFSPersistentVolumeSource) Size() (n int)
func (*CephFSPersistentVolumeSource) String ¶
func (m *CephFSPersistentVolumeSource) String() string
func (*CephFSPersistentVolumeSource) Unmarshal ¶
func (m *CephFSPersistentVolumeSource) Unmarshal(dAtA []byte) error
type CephFSVolumeSource ¶
type CephFSVolumeSource struct {
// Required: Monitors is a collection of Ceph monitors
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
// +optional
Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
// Optional: User is the rados user name, default is admin
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
User *string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
SecretFile *string `protobuf:"bytes,4,opt,name=secretFile" json:"secretFile,omitempty"`
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
SecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
// +optional
ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*CephFSVolumeSource) Descriptor() ([]byte, []int)
func (*CephFSVolumeSource) GetMonitors ¶
func (m *CephFSVolumeSource) GetMonitors() []string
func (*CephFSVolumeSource) GetPath ¶
func (m *CephFSVolumeSource) GetPath() string
func (*CephFSVolumeSource) GetReadOnly ¶
func (m *CephFSVolumeSource) GetReadOnly() bool
func (*CephFSVolumeSource) GetSecretFile ¶
func (m *CephFSVolumeSource) GetSecretFile() string
func (*CephFSVolumeSource) GetSecretRef ¶
func (m *CephFSVolumeSource) GetSecretRef() *LocalObjectReference
func (*CephFSVolumeSource) GetUser ¶
func (m *CephFSVolumeSource) GetUser() string
func (*CephFSVolumeSource) Marshal ¶
func (m *CephFSVolumeSource) Marshal() (dAtA []byte, err error)
func (*CephFSVolumeSource) MarshalTo ¶
func (m *CephFSVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*CephFSVolumeSource) ProtoMessage ¶
func (*CephFSVolumeSource) ProtoMessage()
func (*CephFSVolumeSource) Reset ¶
func (m *CephFSVolumeSource) Reset()
func (*CephFSVolumeSource) Size ¶
func (m *CephFSVolumeSource) Size() (n int)
func (*CephFSVolumeSource) String ¶
func (m *CephFSVolumeSource) String() string
func (*CephFSVolumeSource) Unmarshal ¶
func (m *CephFSVolumeSource) Unmarshal(dAtA []byte) error
type CinderPersistentVolumeSource ¶ added in v1.4.0
type CinderPersistentVolumeSource struct {
// volume id used to identify the volume in cinder
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
// 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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
// Optional: points to a secret object containing parameters used to connect
// to OpenStack.
// +optional
SecretRef *SecretReference `protobuf:"bytes,4,opt,name=secretRef" json:"secretRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶ added in v1.4.0
func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*CinderPersistentVolumeSource) GetFsType ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) GetFsType() string
func (*CinderPersistentVolumeSource) GetReadOnly ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) GetReadOnly() bool
func (*CinderPersistentVolumeSource) GetSecretRef ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) GetSecretRef() *SecretReference
func (*CinderPersistentVolumeSource) GetVolumeID ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) GetVolumeID() string
func (*CinderPersistentVolumeSource) Marshal ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*CinderPersistentVolumeSource) MarshalTo ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*CinderPersistentVolumeSource) ProtoMessage ¶ added in v1.4.0
func (*CinderPersistentVolumeSource) ProtoMessage()
func (*CinderPersistentVolumeSource) Reset ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) Reset()
func (*CinderPersistentVolumeSource) Size ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) Size() (n int)
func (*CinderPersistentVolumeSource) String ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) String() string
func (*CinderPersistentVolumeSource) Unmarshal ¶ added in v1.4.0
func (m *CinderPersistentVolumeSource) Unmarshal(dAtA []byte) error
type CinderVolumeSource ¶
type CinderVolumeSource struct {
// volume id used to identify the volume in cinder
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
// 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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
// Optional: points to a secret object containing parameters used to connect
// to OpenStack.
// +optional
SecretRef *LocalObjectReference `protobuf:"bytes,4,opt,name=secretRef" json:"secretRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*CinderVolumeSource) Descriptor() ([]byte, []int)
func (*CinderVolumeSource) GetFsType ¶
func (m *CinderVolumeSource) GetFsType() string
func (*CinderVolumeSource) GetReadOnly ¶
func (m *CinderVolumeSource) GetReadOnly() bool
func (*CinderVolumeSource) GetSecretRef ¶ added in v1.4.0
func (m *CinderVolumeSource) GetSecretRef() *LocalObjectReference
func (*CinderVolumeSource) GetVolumeID ¶
func (m *CinderVolumeSource) GetVolumeID() string
func (*CinderVolumeSource) Marshal ¶
func (m *CinderVolumeSource) Marshal() (dAtA []byte, err error)
func (*CinderVolumeSource) MarshalTo ¶
func (m *CinderVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*CinderVolumeSource) ProtoMessage ¶
func (*CinderVolumeSource) ProtoMessage()
func (*CinderVolumeSource) Reset ¶
func (m *CinderVolumeSource) Reset()
func (*CinderVolumeSource) Size ¶
func (m *CinderVolumeSource) Size() (n int)
func (*CinderVolumeSource) String ¶
func (m *CinderVolumeSource) String() string
func (*CinderVolumeSource) Unmarshal ¶
func (m *CinderVolumeSource) Unmarshal(dAtA []byte) error
type ClientIPConfig ¶
type ClientIPConfig struct {
// timeoutSeconds specifies the seconds of ClientIP type session sticky time.
// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".
// Default value is 10800(for 3 hours).
// +optional
TimeoutSeconds *int32 `protobuf:"varint,1,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ClientIPConfig represents the configurations of Client IP based session affinity.
func (*ClientIPConfig) Descriptor ¶
func (*ClientIPConfig) Descriptor() ([]byte, []int)
func (*ClientIPConfig) GetTimeoutSeconds ¶
func (m *ClientIPConfig) GetTimeoutSeconds() int32
func (*ClientIPConfig) Marshal ¶
func (m *ClientIPConfig) Marshal() (dAtA []byte, err error)
func (*ClientIPConfig) ProtoMessage ¶
func (*ClientIPConfig) ProtoMessage()
func (*ClientIPConfig) Reset ¶
func (m *ClientIPConfig) Reset()
func (*ClientIPConfig) Size ¶
func (m *ClientIPConfig) Size() (n int)
func (*ClientIPConfig) String ¶
func (m *ClientIPConfig) String() string
func (*ClientIPConfig) Unmarshal ¶
func (m *ClientIPConfig) Unmarshal(dAtA []byte) error
type ComponentCondition ¶
type ComponentCondition struct {
// Type of condition for a component.
// Valid value: "Healthy"
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// Status of the condition for a component.
// Valid values for "Healthy": "True", "False", or "Unknown".
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
// Message about the condition for a component.
// For example, information about a health check.
// +optional
Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
// Condition error code for a component.
// For example, a health check error code.
// +optional
Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Information about the condition of a component.
func (*ComponentCondition) Descriptor ¶
func (*ComponentCondition) Descriptor() ([]byte, []int)
func (*ComponentCondition) GetError ¶
func (m *ComponentCondition) GetError() string
func (*ComponentCondition) GetMessage ¶
func (m *ComponentCondition) GetMessage() string
func (*ComponentCondition) GetStatus ¶
func (m *ComponentCondition) GetStatus() string
func (*ComponentCondition) GetType ¶
func (m *ComponentCondition) GetType() string
func (*ComponentCondition) Marshal ¶
func (m *ComponentCondition) Marshal() (dAtA []byte, err error)
func (*ComponentCondition) MarshalTo ¶
func (m *ComponentCondition) MarshalTo(dAtA []byte) (int, error)
func (*ComponentCondition) ProtoMessage ¶
func (*ComponentCondition) ProtoMessage()
func (*ComponentCondition) Reset ¶
func (m *ComponentCondition) Reset()
func (*ComponentCondition) Size ¶
func (m *ComponentCondition) Size() (n int)
func (*ComponentCondition) String ¶
func (m *ComponentCondition) String() string
func (*ComponentCondition) Unmarshal ¶
func (m *ComponentCondition) Unmarshal(dAtA []byte) error
type ComponentStatus ¶
type ComponentStatus struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of component conditions observed
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []*ComponentCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ComponentStatus (and ComponentStatusList) holds the cluster validation info.
func (*ComponentStatus) Descriptor ¶
func (*ComponentStatus) Descriptor() ([]byte, []int)
func (*ComponentStatus) GetConditions ¶
func (m *ComponentStatus) GetConditions() []*ComponentCondition
func (*ComponentStatus) GetMetadata ¶
func (m *ComponentStatus) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*ComponentStatus) Marshal ¶
func (m *ComponentStatus) Marshal() (dAtA []byte, err error)
func (*ComponentStatus) ProtoMessage ¶
func (*ComponentStatus) ProtoMessage()
func (*ComponentStatus) Reset ¶
func (m *ComponentStatus) Reset()
func (*ComponentStatus) Size ¶
func (m *ComponentStatus) Size() (n int)
func (*ComponentStatus) String ¶
func (m *ComponentStatus) String() string
func (*ComponentStatus) Unmarshal ¶
func (m *ComponentStatus) Unmarshal(dAtA []byte) error
type ComponentStatusList ¶
type ComponentStatusList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of ComponentStatus objects.
Items []*ComponentStatus `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Status of all the conditions for the component as a list of ComponentStatus objects.
func (*ComponentStatusList) Descriptor ¶
func (*ComponentStatusList) Descriptor() ([]byte, []int)
func (*ComponentStatusList) GetItems ¶
func (m *ComponentStatusList) GetItems() []*ComponentStatus
func (*ComponentStatusList) GetMetadata ¶
func (m *ComponentStatusList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*ComponentStatusList) Marshal ¶
func (m *ComponentStatusList) Marshal() (dAtA []byte, err error)
func (*ComponentStatusList) MarshalTo ¶
func (m *ComponentStatusList) MarshalTo(dAtA []byte) (int, error)
func (*ComponentStatusList) ProtoMessage ¶
func (*ComponentStatusList) ProtoMessage()
func (*ComponentStatusList) Reset ¶
func (m *ComponentStatusList) Reset()
func (*ComponentStatusList) Size ¶
func (m *ComponentStatusList) Size() (n int)
func (*ComponentStatusList) String ¶
func (m *ComponentStatusList) String() string
func (*ComponentStatusList) Unmarshal ¶
func (m *ComponentStatusList) Unmarshal(dAtA []byte) error
type ConfigMap ¶
type ConfigMap struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Data contains the configuration data.
// Each key must consist of alphanumeric characters, '-', '_' or '.'.
// Values with non-UTF-8 byte sequences must use the BinaryData field.
// The keys stored in Data must not overlap with the keys in
// the BinaryData field, this is enforced during validation process.
// +optional
Data map[string]string `` /* 128-byte string literal not displayed */
// BinaryData contains the binary data.
// Each key must consist of alphanumeric characters, '-', '_' or '.'.
// BinaryData can contain byte sequences that are not in the UTF-8 range.
// The keys stored in BinaryData must not overlap with the ones in
// the Data field, this is enforced during validation process.
// Using this field will require 1.10+ apiserver and
// kubelet.
// +optional
BinaryData map[string][]byte `` /* 140-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
ConfigMap holds configuration data for pods to consume.
func (*ConfigMap) Descriptor ¶
func (*ConfigMap) GetBinaryData ¶ added in v1.1.0
func (*ConfigMap) GetMetadata ¶
func (m *ConfigMap) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*ConfigMap) ProtoMessage ¶
func (*ConfigMap) ProtoMessage()
type ConfigMapEnvSource ¶
type ConfigMapEnvSource struct {
// The ConfigMap to select from.
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// Specify whether the ConfigMap must be defined
// +optional
Optional *bool `protobuf:"varint,2,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)
func (*ConfigMapEnvSource) GetLocalObjectReference ¶
func (m *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference
func (*ConfigMapEnvSource) GetOptional ¶
func (m *ConfigMapEnvSource) GetOptional() bool
func (*ConfigMapEnvSource) Marshal ¶
func (m *ConfigMapEnvSource) Marshal() (dAtA []byte, err error)
func (*ConfigMapEnvSource) MarshalTo ¶
func (m *ConfigMapEnvSource) MarshalTo(dAtA []byte) (int, error)
func (*ConfigMapEnvSource) ProtoMessage ¶
func (*ConfigMapEnvSource) ProtoMessage()
func (*ConfigMapEnvSource) Reset ¶
func (m *ConfigMapEnvSource) Reset()
func (*ConfigMapEnvSource) Size ¶
func (m *ConfigMapEnvSource) Size() (n int)
func (*ConfigMapEnvSource) String ¶
func (m *ConfigMapEnvSource) String() string
func (*ConfigMapEnvSource) Unmarshal ¶
func (m *ConfigMapEnvSource) Unmarshal(dAtA []byte) error
type ConfigMapKeySelector ¶
type ConfigMapKeySelector struct {
// The ConfigMap to select from.
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// The key to select.
Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
// Specify whether the ConfigMap or it's key must be defined
// +optional
Optional *bool `protobuf:"varint,3,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Selects a key from a ConfigMap.
func (*ConfigMapKeySelector) Descriptor ¶
func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)
func (*ConfigMapKeySelector) GetKey ¶
func (m *ConfigMapKeySelector) GetKey() string
func (*ConfigMapKeySelector) GetLocalObjectReference ¶
func (m *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference
func (*ConfigMapKeySelector) GetOptional ¶
func (m *ConfigMapKeySelector) GetOptional() bool
func (*ConfigMapKeySelector) Marshal ¶
func (m *ConfigMapKeySelector) Marshal() (dAtA []byte, err error)
func (*ConfigMapKeySelector) MarshalTo ¶
func (m *ConfigMapKeySelector) MarshalTo(dAtA []byte) (int, error)
func (*ConfigMapKeySelector) ProtoMessage ¶
func (*ConfigMapKeySelector) ProtoMessage()
func (*ConfigMapKeySelector) Reset ¶
func (m *ConfigMapKeySelector) Reset()
func (*ConfigMapKeySelector) Size ¶
func (m *ConfigMapKeySelector) Size() (n int)
func (*ConfigMapKeySelector) String ¶
func (m *ConfigMapKeySelector) String() string
func (*ConfigMapKeySelector) Unmarshal ¶
func (m *ConfigMapKeySelector) Unmarshal(dAtA []byte) error
type ConfigMapList ¶
type ConfigMapList struct {
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Items is the list of ConfigMaps.
Items []*ConfigMap `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ConfigMapList is a resource containing a list of ConfigMap objects.
func (*ConfigMapList) Descriptor ¶
func (*ConfigMapList) Descriptor() ([]byte, []int)
func (*ConfigMapList) GetItems ¶
func (m *ConfigMapList) GetItems() []*ConfigMap
func (*ConfigMapList) GetMetadata ¶
func (m *ConfigMapList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*ConfigMapList) Marshal ¶
func (m *ConfigMapList) Marshal() (dAtA []byte, err error)
func (*ConfigMapList) ProtoMessage ¶
func (*ConfigMapList) ProtoMessage()
func (*ConfigMapList) Reset ¶
func (m *ConfigMapList) Reset()
func (*ConfigMapList) Size ¶
func (m *ConfigMapList) Size() (n int)
func (*ConfigMapList) String ¶
func (m *ConfigMapList) String() string
func (*ConfigMapList) Unmarshal ¶
func (m *ConfigMapList) Unmarshal(dAtA []byte) error
type ConfigMapNodeConfigSource ¶ added in v1.4.0
type ConfigMapNodeConfigSource struct {
// Namespace is the metadata.namespace of the referenced ConfigMap.
// This field is required in all cases.
Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
// Name is the metadata.name of the referenced ConfigMap.
// This field is required in all cases.
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// UID is the metadata.UID of the referenced ConfigMap.
// This field is forbidden in Node.Spec, and required in Node.Status.
// +optional
Uid *string `protobuf:"bytes,3,opt,name=uid" json:"uid,omitempty"`
// ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap.
// This field is forbidden in Node.Spec, and required in Node.Status.
// +optional
ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
// KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure
// This field is required in all cases.
KubeletConfigKey *string `protobuf:"bytes,5,opt,name=kubeletConfigKey" json:"kubeletConfigKey,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.
func (*ConfigMapNodeConfigSource) Descriptor ¶ added in v1.4.0
func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int)
func (*ConfigMapNodeConfigSource) GetKubeletConfigKey ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) GetKubeletConfigKey() string
func (*ConfigMapNodeConfigSource) GetName ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) GetName() string
func (*ConfigMapNodeConfigSource) GetNamespace ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) GetNamespace() string
func (*ConfigMapNodeConfigSource) GetResourceVersion ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) GetResourceVersion() string
func (*ConfigMapNodeConfigSource) GetUid ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) GetUid() string
func (*ConfigMapNodeConfigSource) Marshal ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) Marshal() (dAtA []byte, err error)
func (*ConfigMapNodeConfigSource) MarshalTo ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) MarshalTo(dAtA []byte) (int, error)
func (*ConfigMapNodeConfigSource) ProtoMessage ¶ added in v1.4.0
func (*ConfigMapNodeConfigSource) ProtoMessage()
func (*ConfigMapNodeConfigSource) Reset ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) Reset()
func (*ConfigMapNodeConfigSource) Size ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) Size() (n int)
func (*ConfigMapNodeConfigSource) String ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) String() string
func (*ConfigMapNodeConfigSource) Unmarshal ¶ added in v1.4.0
func (m *ConfigMapNodeConfigSource) Unmarshal(dAtA []byte) error
type ConfigMapProjection ¶
type ConfigMapProjection struct {
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// If unspecified, each key-value pair in the Data field of the referenced
// ConfigMap will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be
// projected into the specified paths, and unlisted keys will not be
// present. If a key is specified which is not present in the ConfigMap,
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
// Specify whether the ConfigMap or it's keys must be defined
// +optional
Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ConfigMapProjection) Descriptor() ([]byte, []int)
func (*ConfigMapProjection) GetItems ¶
func (m *ConfigMapProjection) GetItems() []*KeyToPath
func (*ConfigMapProjection) GetLocalObjectReference ¶
func (m *ConfigMapProjection) GetLocalObjectReference() *LocalObjectReference
func (*ConfigMapProjection) GetOptional ¶
func (m *ConfigMapProjection) GetOptional() bool
func (*ConfigMapProjection) Marshal ¶
func (m *ConfigMapProjection) Marshal() (dAtA []byte, err error)
func (*ConfigMapProjection) MarshalTo ¶
func (m *ConfigMapProjection) MarshalTo(dAtA []byte) (int, error)
func (*ConfigMapProjection) ProtoMessage ¶
func (*ConfigMapProjection) ProtoMessage()
func (*ConfigMapProjection) Reset ¶
func (m *ConfigMapProjection) Reset()
func (*ConfigMapProjection) Size ¶
func (m *ConfigMapProjection) Size() (n int)
func (*ConfigMapProjection) String ¶
func (m *ConfigMapProjection) String() string
func (*ConfigMapProjection) Unmarshal ¶
func (m *ConfigMapProjection) Unmarshal(dAtA []byte) error
type ConfigMapVolumeSource ¶
type ConfigMapVolumeSource struct {
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// If unspecified, each key-value pair in the Data field of the referenced
// ConfigMap will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be
// projected into the specified paths, and unlisted keys will not be
// present. If a key is specified which is not present in the ConfigMap,
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
// Optional: mode bits to use on created files by default. Must be a
// value between 0 and 0777. Defaults to 0644.
// Directories within the path are not affected by this setting.
// This might be in conflict with other options that affect the file
// mode, like fsGroup, and the result can be other mode bits set.
// +optional
DefaultMode *int32 `protobuf:"varint,3,opt,name=defaultMode" json:"defaultMode,omitempty"`
// Specify whether the ConfigMap or it's keys must be defined
// +optional
Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)
func (*ConfigMapVolumeSource) GetDefaultMode ¶
func (m *ConfigMapVolumeSource) GetDefaultMode() int32
func (*ConfigMapVolumeSource) GetItems ¶
func (m *ConfigMapVolumeSource) GetItems() []*KeyToPath
func (*ConfigMapVolumeSource) GetLocalObjectReference ¶
func (m *ConfigMapVolumeSource) GetLocalObjectReference() *LocalObjectReference
func (*ConfigMapVolumeSource) GetOptional ¶
func (m *ConfigMapVolumeSource) GetOptional() bool
func (*ConfigMapVolumeSource) Marshal ¶
func (m *ConfigMapVolumeSource) Marshal() (dAtA []byte, err error)
func (*ConfigMapVolumeSource) MarshalTo ¶
func (m *ConfigMapVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*ConfigMapVolumeSource) ProtoMessage ¶
func (*ConfigMapVolumeSource) ProtoMessage()
func (*ConfigMapVolumeSource) Reset ¶
func (m *ConfigMapVolumeSource) Reset()
func (*ConfigMapVolumeSource) Size ¶
func (m *ConfigMapVolumeSource) Size() (n int)
func (*ConfigMapVolumeSource) String ¶
func (m *ConfigMapVolumeSource) String() string
func (*ConfigMapVolumeSource) Unmarshal ¶
func (m *ConfigMapVolumeSource) Unmarshal(dAtA []byte) error
type Container ¶
type Container struct {
// Name of the container specified as a DNS_LABEL.
// Each container in a pod must have a unique name (DNS_LABEL).
// Cannot be updated.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Docker image name.
// More info: https://kubernetes.io/docs/concepts/containers/images
// This field is optional to allow higher level config management to default or override
// container images in workload controllers like Deployments and StatefulSets.
// +optional
Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
// Entrypoint array. Not executed within a shell.
// The docker 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. The $(VAR_NAME) syntax
// can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
// regardless of whether the variable exists or not.
// Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
Command []string `protobuf:"bytes,3,rep,name=command" json:"command,omitempty"`
// Arguments to the entrypoint.
// The docker 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. The $(VAR_NAME) syntax
// can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
// regardless of whether the variable exists or not.
// Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"`
// Container's working directory.
// If not specified, the container runtime's default will be used, which
// might be configured in the container image.
// Cannot be updated.
// +optional
WorkingDir *string `protobuf:"bytes,5,opt,name=workingDir" json:"workingDir,omitempty"`
// List of ports to expose from the container. Exposing a port here gives
// the system additional information about the network connections a
// container uses, but is primarily informational. 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.
// Cannot be updated.
// +optional
// +patchMergeKey=containerPort
// +patchStrategy=merge
// +listType=map
// +listMapKey=containerPort
// +listMapKey=protocol
Ports []*ContainerPort `protobuf:"bytes,6,rep,name=ports" json:"ports,omitempty"`
// List of sources to populate environment variables in the container.
// The keys defined within a source must be a C_IDENTIFIER. All invalid keys
// will be reported as an event when the container is starting. When a key exists in multiple
// sources, the value associated with the last source will take precedence.
// Values defined by an Env with a duplicate key will take precedence.
// Cannot be updated.
// +optional
EnvFrom []*EnvFromSource `protobuf:"bytes,19,rep,name=envFrom" json:"envFrom,omitempty"`
// List of environment variables to set in the container.
// Cannot be updated.
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
Env []*EnvVar `protobuf:"bytes,7,rep,name=env" json:"env,omitempty"`
// Compute Resources required by this container.
// Cannot be updated.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
// +optional
Resources *ResourceRequirements `protobuf:"bytes,8,opt,name=resources" json:"resources,omitempty"`
// Pod volumes to mount into the container's filesystem.
// Cannot be updated.
// +optional
// +patchMergeKey=mountPath
// +patchStrategy=merge
VolumeMounts []*VolumeMount `protobuf:"bytes,9,rep,name=volumeMounts" json:"volumeMounts,omitempty"`
// volumeDevices is the list of block devices to be used by the container.
// This is a beta feature.
// +patchMergeKey=devicePath
// +patchStrategy=merge
// +optional
VolumeDevices []*VolumeDevice `protobuf:"bytes,21,rep,name=volumeDevices" json:"volumeDevices,omitempty"`
// Periodic probe of container liveness.
// Container will be restarted if the probe fails.
// Cannot be updated.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
// +optional
LivenessProbe *Probe `protobuf:"bytes,10,opt,name=livenessProbe" json:"livenessProbe,omitempty"`
// Periodic probe of container service readiness.
// Container will be removed from service endpoints if the probe fails.
// Cannot be updated.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
// +optional
ReadinessProbe *Probe `protobuf:"bytes,11,opt,name=readinessProbe" json:"readinessProbe,omitempty"`
// Actions that the management system should take in response to container lifecycle events.
// Cannot be updated.
// +optional
Lifecycle *Lifecycle `protobuf:"bytes,12,opt,name=lifecycle" json:"lifecycle,omitempty"`
// Optional: Path at which the file to which the container's termination message
// will be written is mounted into the container's filesystem.
// Message written is intended to be brief final status, such as an assertion failure message.
// Will be truncated by the node if greater than 4096 bytes. The total message length across
// all containers will be limited to 12kb.
// Defaults to /dev/termination-log.
// Cannot be updated.
// +optional
TerminationMessagePath *string `protobuf:"bytes,13,opt,name=terminationMessagePath" json:"terminationMessagePath,omitempty"`
// Indicate how the termination message should be populated. File will use the contents of
// terminationMessagePath to populate the container status message on both success and failure.
// FallbackToLogsOnError will use the last chunk of container log output if the termination
// message file is empty and the container exited with an error.
// The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
// Defaults to File.
// Cannot be updated.
// +optional
TerminationMessagePolicy *string `protobuf:"bytes,20,opt,name=terminationMessagePolicy" json:"terminationMessagePolicy,omitempty"`
// Image pull policy.
// One of Always, Never, IfNotPresent.
// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
// Cannot be updated.
// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
// +optional
ImagePullPolicy *string `protobuf:"bytes,14,opt,name=imagePullPolicy" json:"imagePullPolicy,omitempty"`
// Security options the pod should run with.
// More info: https://kubernetes.io/docs/concepts/policy/security-context/
// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
// +optional
SecurityContext *SecurityContext `protobuf:"bytes,15,opt,name=securityContext" json:"securityContext,omitempty"`
// Whether this container should allocate a buffer for stdin in the container runtime. If this
// is not set, reads from stdin in the container will always result in EOF.
// Default is false.
// +optional
Stdin *bool `protobuf:"varint,16,opt,name=stdin" json:"stdin,omitempty"`
// Whether the container runtime should close the stdin channel after it has been opened by
// a single attach. When stdin is true the stdin stream will remain open across multiple attach
// sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
// first client attaches to stdin, and then remains open and accepts data until the client disconnects,
// at which time stdin is closed and remains closed until the container is restarted. If this
// flag is false, a container processes that reads from stdin will never receive an EOF.
// Default is false
// +optional
StdinOnce *bool `protobuf:"varint,17,opt,name=stdinOnce" json:"stdinOnce,omitempty"`
// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
// Default is false.
// +optional
Tty *bool `protobuf:"varint,18,opt,name=tty" json:"tty,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
A single application container that you want to run within a pod.
func (*Container) Descriptor ¶
func (*Container) GetCommand ¶
func (*Container) GetEnvFrom ¶
func (m *Container) GetEnvFrom() []*EnvFromSource
func (*Container) GetImagePullPolicy ¶
func (*Container) GetLifecycle ¶
func (*Container) GetLivenessProbe ¶
func (*Container) GetPorts ¶
func (m *Container) GetPorts() []*ContainerPort
func (*Container) GetReadinessProbe ¶
func (*Container) GetResources ¶
func (m *Container) GetResources() *ResourceRequirements
func (*Container) GetSecurityContext ¶
func (m *Container) GetSecurityContext() *SecurityContext
func (*Container) GetStdinOnce ¶
func (*Container) GetTerminationMessagePath ¶
func (*Container) GetTerminationMessagePolicy ¶
func (*Container) GetVolumeDevices ¶
func (m *Container) GetVolumeDevices() []*VolumeDevice
func (*Container) GetVolumeMounts ¶
func (m *Container) GetVolumeMounts() []*VolumeMount
func (*Container) GetWorkingDir ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
type ContainerImage ¶
type ContainerImage struct {
// Names by which this image is known.
// e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
// The size of the image in bytes.
// +optional
SizeBytes *int64 `protobuf:"varint,2,opt,name=sizeBytes" json:"sizeBytes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Describe a container image
func (*ContainerImage) Descriptor ¶
func (*ContainerImage) Descriptor() ([]byte, []int)
func (*ContainerImage) GetNames ¶
func (m *ContainerImage) GetNames() []string
func (*ContainerImage) GetSizeBytes ¶
func (m *ContainerImage) GetSizeBytes() int64
func (*ContainerImage) Marshal ¶
func (m *ContainerImage) Marshal() (dAtA []byte, err error)
func (*ContainerImage) ProtoMessage ¶
func (*ContainerImage) ProtoMessage()
func (*ContainerImage) Reset ¶
func (m *ContainerImage) Reset()
func (*ContainerImage) Size ¶
func (m *ContainerImage) Size() (n int)
func (*ContainerImage) String ¶
func (m *ContainerImage) String() string
func (*ContainerImage) Unmarshal ¶
func (m *ContainerImage) Unmarshal(dAtA []byte) error
type ContainerPort ¶
type ContainerPort struct {
// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
// named port in a pod must have a unique name. Name for the port that can be
// referred to by services.
// +optional
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Number of port to expose on the host.
// If specified, this must be a valid port number, 0 < x < 65536.
// If HostNetwork is specified, this must match ContainerPort.
// Most containers do not need this.
// +optional
HostPort *int32 `protobuf:"varint,2,opt,name=hostPort" json:"hostPort,omitempty"`
// Number of port to expose on the pod's IP address.
// This must be a valid port number, 0 < x < 65536.
ContainerPort *int32 `protobuf:"varint,3,opt,name=containerPort" json:"containerPort,omitempty"`
// Protocol for port. Must be UDP, TCP, or SCTP.
// Defaults to "TCP".
// +optional
Protocol *string `protobuf:"bytes,4,opt,name=protocol" json:"protocol,omitempty"`
// What host IP to bind the external port to.
// +optional
HostIP *string `protobuf:"bytes,5,opt,name=hostIP" json:"hostIP,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ContainerPort represents a network port in a single container.
func (*ContainerPort) Descriptor ¶
func (*ContainerPort) Descriptor() ([]byte, []int)
func (*ContainerPort) GetContainerPort ¶
func (m *ContainerPort) GetContainerPort() int32
func (*ContainerPort) GetHostIP ¶
func (m *ContainerPort) GetHostIP() string
func (*ContainerPort) GetHostPort ¶
func (m *ContainerPort) GetHostPort() int32
func (*ContainerPort) GetName ¶
func (m *ContainerPort) GetName() string
func (*ContainerPort) GetProtocol ¶
func (m *ContainerPort) GetProtocol() string
func (*ContainerPort) Marshal ¶
func (m *ContainerPort) Marshal() (dAtA []byte, err error)
func (*ContainerPort) ProtoMessage ¶
func (*ContainerPort) ProtoMessage()
func (*ContainerPort) Reset ¶
func (m *ContainerPort) Reset()
func (*ContainerPort) Size ¶
func (m *ContainerPort) Size() (n int)
func (*ContainerPort) String ¶
func (m *ContainerPort) String() string
func (*ContainerPort) Unmarshal ¶
func (m *ContainerPort) Unmarshal(dAtA []byte) error
type ContainerState ¶
type ContainerState struct {
// Details about a waiting container
// +optional
Waiting *ContainerStateWaiting `protobuf:"bytes,1,opt,name=waiting" json:"waiting,omitempty"`
// Details about a running container
// +optional
Running *ContainerStateRunning `protobuf:"bytes,2,opt,name=running" json:"running,omitempty"`
// Details about a terminated container
// +optional
Terminated *ContainerStateTerminated `protobuf:"bytes,3,opt,name=terminated" json:"terminated,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ContainerState) Descriptor() ([]byte, []int)
func (*ContainerState) GetRunning ¶
func (m *ContainerState) GetRunning() *ContainerStateRunning
func (*ContainerState) GetTerminated ¶
func (m *ContainerState) GetTerminated() *ContainerStateTerminated
func (*ContainerState) GetWaiting ¶
func (m *ContainerState) GetWaiting() *ContainerStateWaiting
func (*ContainerState) Marshal ¶
func (m *ContainerState) Marshal() (dAtA []byte, err error)
func (*ContainerState) ProtoMessage ¶
func (*ContainerState) ProtoMessage()
func (*ContainerState) Reset ¶
func (m *ContainerState) Reset()
func (*ContainerState) Size ¶
func (m *ContainerState) Size() (n int)
func (*ContainerState) String ¶
func (m *ContainerState) String() string
func (*ContainerState) Unmarshal ¶
func (m *ContainerState) Unmarshal(dAtA []byte) error
type ContainerStateRunning ¶
type ContainerStateRunning struct {
// Time at which the container was last (re-)started
// +optional
StartedAt *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,1,opt,name=startedAt" json:"startedAt,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ContainerStateRunning is a running state of a container.
func (*ContainerStateRunning) Descriptor ¶
func (*ContainerStateRunning) Descriptor() ([]byte, []int)
func (*ContainerStateRunning) GetStartedAt ¶
func (m *ContainerStateRunning) GetStartedAt() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*ContainerStateRunning) Marshal ¶
func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error)
func (*ContainerStateRunning) MarshalTo ¶
func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error)
func (*ContainerStateRunning) ProtoMessage ¶
func (*ContainerStateRunning) ProtoMessage()
func (*ContainerStateRunning) Reset ¶
func (m *ContainerStateRunning) Reset()
func (*ContainerStateRunning) Size ¶
func (m *ContainerStateRunning) Size() (n int)
func (*ContainerStateRunning) String ¶
func (m *ContainerStateRunning) String() string
func (*ContainerStateRunning) Unmarshal ¶
func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error
type ContainerStateTerminated ¶
type ContainerStateTerminated struct {
// Exit status from the last termination of the container
ExitCode *int32 `protobuf:"varint,1,opt,name=exitCode" json:"exitCode,omitempty"`
// Signal from the last termination of the container
// +optional
Signal *int32 `protobuf:"varint,2,opt,name=signal" json:"signal,omitempty"`
// (brief) reason from the last termination of the container
// +optional
Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
// Message regarding the last termination of the container
// +optional
Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
// Time at which previous execution of the container started
// +optional
StartedAt *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,5,opt,name=startedAt" json:"startedAt,omitempty"`
// Time at which the container last terminated
// +optional
FinishedAt *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,6,opt,name=finishedAt" json:"finishedAt,omitempty"`
// Container's ID in the format 'docker://<container_id>'
// +optional
ContainerID *string `protobuf:"bytes,7,opt,name=containerID" json:"containerID,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ContainerStateTerminated is a terminated state of a container.
func (*ContainerStateTerminated) Descriptor ¶
func (*ContainerStateTerminated) Descriptor() ([]byte, []int)
func (*ContainerStateTerminated) GetContainerID ¶
func (m *ContainerStateTerminated) GetContainerID() string
func (*ContainerStateTerminated) GetExitCode ¶
func (m *ContainerStateTerminated) GetExitCode() int32
func (*ContainerStateTerminated) GetFinishedAt ¶
func (m *ContainerStateTerminated) GetFinishedAt() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*ContainerStateTerminated) GetMessage ¶
func (m *ContainerStateTerminated) GetMessage() string
func (*ContainerStateTerminated) GetReason ¶
func (m *ContainerStateTerminated) GetReason() string
func (*ContainerStateTerminated) GetSignal ¶
func (m *ContainerStateTerminated) GetSignal() int32
func (*ContainerStateTerminated) GetStartedAt ¶
func (m *ContainerStateTerminated) GetStartedAt() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*ContainerStateTerminated) Marshal ¶
func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error)
func (*ContainerStateTerminated) MarshalTo ¶
func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error)
func (*ContainerStateTerminated) ProtoMessage ¶
func (*ContainerStateTerminated) ProtoMessage()
func (*ContainerStateTerminated) Reset ¶
func (m *ContainerStateTerminated) Reset()
func (*ContainerStateTerminated) Size ¶
func (m *ContainerStateTerminated) Size() (n int)
func (*ContainerStateTerminated) String ¶
func (m *ContainerStateTerminated) String() string
func (*ContainerStateTerminated) Unmarshal ¶
func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error
type ContainerStateWaiting ¶
type ContainerStateWaiting struct {
// (brief) reason the container is not yet running.
// +optional
Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"`
// Message regarding why the container is not yet running.
// +optional
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ContainerStateWaiting is a waiting state of a container.
func (*ContainerStateWaiting) Descriptor ¶
func (*ContainerStateWaiting) Descriptor() ([]byte, []int)
func (*ContainerStateWaiting) GetMessage ¶
func (m *ContainerStateWaiting) GetMessage() string
func (*ContainerStateWaiting) GetReason ¶
func (m *ContainerStateWaiting) GetReason() string
func (*ContainerStateWaiting) Marshal ¶
func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error)
func (*ContainerStateWaiting) MarshalTo ¶
func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error)
func (*ContainerStateWaiting) ProtoMessage ¶
func (*ContainerStateWaiting) ProtoMessage()
func (*ContainerStateWaiting) Reset ¶
func (m *ContainerStateWaiting) Reset()
func (*ContainerStateWaiting) Size ¶
func (m *ContainerStateWaiting) Size() (n int)
func (*ContainerStateWaiting) String ¶
func (m *ContainerStateWaiting) String() string
func (*ContainerStateWaiting) Unmarshal ¶
func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error
type ContainerStatus ¶
type ContainerStatus struct {
// This must be a DNS_LABEL. Each container in a pod must have a unique name.
// Cannot be updated.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Details about the container's current condition.
// +optional
State *ContainerState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
// Details about the container's last termination condition.
// +optional
LastState *ContainerState `protobuf:"bytes,3,opt,name=lastState" json:"lastState,omitempty"`
// Specifies whether the container has passed its readiness probe.
Ready *bool `protobuf:"varint,4,opt,name=ready" json:"ready,omitempty"`
// The number of times the container has been restarted, currently based on
// the number of dead containers that have not yet been removed.
// Note that this is calculated from dead containers. But those containers are subject to
// garbage collection. This value will get capped at 5 by GC.
RestartCount *int32 `protobuf:"varint,5,opt,name=restartCount" json:"restartCount,omitempty"`
// The image the container is running.
// More info: https://kubernetes.io/docs/concepts/containers/images
// TODO(dchen1107): Which image the container is running with?
Image *string `protobuf:"bytes,6,opt,name=image" json:"image,omitempty"`
// ImageID of the container's image.
ImageID *string `protobuf:"bytes,7,opt,name=imageID" json:"imageID,omitempty"`
// Container's ID in the format 'docker://<container_id>'.
// +optional
ContainerID *string `protobuf:"bytes,8,opt,name=containerID" json:"containerID,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ContainerStatus contains details for the current status of this container.
func (*ContainerStatus) Descriptor ¶
func (*ContainerStatus) Descriptor() ([]byte, []int)
func (*ContainerStatus) GetContainerID ¶
func (m *ContainerStatus) GetContainerID() string
func (*ContainerStatus) GetImage ¶
func (m *ContainerStatus) GetImage() string
func (*ContainerStatus) GetImageID ¶
func (m *ContainerStatus) GetImageID() string
func (*ContainerStatus) GetLastState ¶
func (m *ContainerStatus) GetLastState() *ContainerState
func (*ContainerStatus) GetName ¶
func (m *ContainerStatus) GetName() string
func (*ContainerStatus) GetReady ¶
func (m *ContainerStatus) GetReady() bool
func (*ContainerStatus) GetRestartCount ¶
func (m *ContainerStatus) GetRestartCount() int32
func (*ContainerStatus) GetState ¶
func (m *ContainerStatus) GetState() *ContainerState
func (*ContainerStatus) Marshal ¶
func (m *ContainerStatus) Marshal() (dAtA []byte, err error)
func (*ContainerStatus) ProtoMessage ¶
func (*ContainerStatus) ProtoMessage()
func (*ContainerStatus) Reset ¶
func (m *ContainerStatus) Reset()
func (*ContainerStatus) Size ¶
func (m *ContainerStatus) Size() (n int)
func (*ContainerStatus) String ¶
func (m *ContainerStatus) String() string
func (*ContainerStatus) Unmarshal ¶
func (m *ContainerStatus) Unmarshal(dAtA []byte) error
type DaemonEndpoint ¶
type DaemonEndpoint struct {
// Port number of the given endpoint.
Port *int32 `protobuf:"varint,1,opt,name=Port" json:"Port,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
DaemonEndpoint contains information about a single Daemon endpoint.
func (*DaemonEndpoint) Descriptor ¶
func (*DaemonEndpoint) Descriptor() ([]byte, []int)
func (*DaemonEndpoint) GetPort ¶
func (m *DaemonEndpoint) GetPort() int32
func (*DaemonEndpoint) Marshal ¶
func (m *DaemonEndpoint) Marshal() (dAtA []byte, err error)
func (*DaemonEndpoint) ProtoMessage ¶
func (*DaemonEndpoint) ProtoMessage()
func (*DaemonEndpoint) Reset ¶
func (m *DaemonEndpoint) Reset()
func (*DaemonEndpoint) Size ¶
func (m *DaemonEndpoint) Size() (n int)
func (*DaemonEndpoint) String ¶
func (m *DaemonEndpoint) String() string
func (*DaemonEndpoint) Unmarshal ¶
func (m *DaemonEndpoint) Unmarshal(dAtA []byte) error
type DownwardAPIProjection ¶
type DownwardAPIProjection struct {
// Items is a list of DownwardAPIVolume file
// +optional
Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*DownwardAPIProjection) Descriptor() ([]byte, []int)
func (*DownwardAPIProjection) GetItems ¶
func (m *DownwardAPIProjection) GetItems() []*DownwardAPIVolumeFile
func (*DownwardAPIProjection) Marshal ¶
func (m *DownwardAPIProjection) Marshal() (dAtA []byte, err error)
func (*DownwardAPIProjection) MarshalTo ¶
func (m *DownwardAPIProjection) MarshalTo(dAtA []byte) (int, error)
func (*DownwardAPIProjection) ProtoMessage ¶
func (*DownwardAPIProjection) ProtoMessage()
func (*DownwardAPIProjection) Reset ¶
func (m *DownwardAPIProjection) Reset()
func (*DownwardAPIProjection) Size ¶
func (m *DownwardAPIProjection) Size() (n int)
func (*DownwardAPIProjection) String ¶
func (m *DownwardAPIProjection) String() string
func (*DownwardAPIProjection) Unmarshal ¶
func (m *DownwardAPIProjection) Unmarshal(dAtA []byte) error
type DownwardAPIVolumeFile ¶
type DownwardAPIVolumeFile struct {
// Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
// +optional
FieldRef *ObjectFieldSelector `protobuf:"bytes,2,opt,name=fieldRef" json:"fieldRef,omitempty"`
// Selects a resource of the container: only resources limits and requests
// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
// +optional
ResourceFieldRef *ResourceFieldSelector `protobuf:"bytes,3,opt,name=resourceFieldRef" json:"resourceFieldRef,omitempty"`
// Optional: mode bits to use on this file, must be a value between 0
// and 0777. If not specified, the volume defaultMode will be used.
// This might be in conflict with other options that affect the file
// mode, like fsGroup, and the result can be other mode bits set.
// +optional
Mode *int32 `protobuf:"varint,4,opt,name=mode" json:"mode,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
DownwardAPIVolumeFile represents information to create the file containing the pod field
func (*DownwardAPIVolumeFile) Descriptor ¶
func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int)
func (*DownwardAPIVolumeFile) GetFieldRef ¶
func (m *DownwardAPIVolumeFile) GetFieldRef() *ObjectFieldSelector
func (*DownwardAPIVolumeFile) GetMode ¶
func (m *DownwardAPIVolumeFile) GetMode() int32
func (*DownwardAPIVolumeFile) GetPath ¶
func (m *DownwardAPIVolumeFile) GetPath() string
func (*DownwardAPIVolumeFile) GetResourceFieldRef ¶
func (m *DownwardAPIVolumeFile) GetResourceFieldRef() *ResourceFieldSelector
func (*DownwardAPIVolumeFile) Marshal ¶
func (m *DownwardAPIVolumeFile) Marshal() (dAtA []byte, err error)
func (*DownwardAPIVolumeFile) MarshalTo ¶
func (m *DownwardAPIVolumeFile) MarshalTo(dAtA []byte) (int, error)
func (*DownwardAPIVolumeFile) ProtoMessage ¶
func (*DownwardAPIVolumeFile) ProtoMessage()
func (*DownwardAPIVolumeFile) Reset ¶
func (m *DownwardAPIVolumeFile) Reset()
func (*DownwardAPIVolumeFile) Size ¶
func (m *DownwardAPIVolumeFile) Size() (n int)
func (*DownwardAPIVolumeFile) String ¶
func (m *DownwardAPIVolumeFile) String() string
func (*DownwardAPIVolumeFile) Unmarshal ¶
func (m *DownwardAPIVolumeFile) Unmarshal(dAtA []byte) error
type DownwardAPIVolumeSource ¶
type DownwardAPIVolumeSource struct {
// Items is a list of downward API volume file
// +optional
Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// Optional: mode bits to use on created files by default. Must be a
// value between 0 and 0777. Defaults to 0644.
// Directories within the path are not affected by this setting.
// This might be in conflict with other options that affect the file
// mode, like fsGroup, and the result can be other mode bits set.
// +optional
DefaultMode *int32 `protobuf:"varint,2,opt,name=defaultMode" json:"defaultMode,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
func (*DownwardAPIVolumeSource) Descriptor ¶
func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int)
func (*DownwardAPIVolumeSource) GetDefaultMode ¶
func (m *DownwardAPIVolumeSource) GetDefaultMode() int32
func (*DownwardAPIVolumeSource) GetItems ¶
func (m *DownwardAPIVolumeSource) GetItems() []*DownwardAPIVolumeFile
func (*DownwardAPIVolumeSource) Marshal ¶
func (m *DownwardAPIVolumeSource) Marshal() (dAtA []byte, err error)
func (*DownwardAPIVolumeSource) MarshalTo ¶
func (m *DownwardAPIVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*DownwardAPIVolumeSource) ProtoMessage ¶
func (*DownwardAPIVolumeSource) ProtoMessage()
func (*DownwardAPIVolumeSource) Reset ¶
func (m *DownwardAPIVolumeSource) Reset()
func (*DownwardAPIVolumeSource) Size ¶
func (m *DownwardAPIVolumeSource) Size() (n int)
func (*DownwardAPIVolumeSource) String ¶
func (m *DownwardAPIVolumeSource) String() string
func (*DownwardAPIVolumeSource) Unmarshal ¶
func (m *DownwardAPIVolumeSource) Unmarshal(dAtA []byte) error
type EmptyDirVolumeSource ¶
type EmptyDirVolumeSource struct {
// What type of storage medium should back this directory.
// The default is "" which means to use the node's default medium.
// Must be an empty string (default) or Memory.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
// +optional
Medium *string `protobuf:"bytes,1,opt,name=medium" json:"medium,omitempty"`
// 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: http://kubernetes.io/docs/user-guide/volumes#emptydir
// +optional
SizeLimit *k8s_io_apimachinery_pkg_api_resource.Quantity `protobuf:"bytes,2,opt,name=sizeLimit" json:"sizeLimit,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
func (*EmptyDirVolumeSource) Descriptor ¶
func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int)
func (*EmptyDirVolumeSource) GetMedium ¶
func (m *EmptyDirVolumeSource) GetMedium() string
func (*EmptyDirVolumeSource) GetSizeLimit ¶
func (m *EmptyDirVolumeSource) GetSizeLimit() *k8s_io_apimachinery_pkg_api_resource.Quantity
func (*EmptyDirVolumeSource) Marshal ¶
func (m *EmptyDirVolumeSource) Marshal() (dAtA []byte, err error)
func (*EmptyDirVolumeSource) MarshalTo ¶
func (m *EmptyDirVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*EmptyDirVolumeSource) ProtoMessage ¶
func (*EmptyDirVolumeSource) ProtoMessage()
func (*EmptyDirVolumeSource) Reset ¶
func (m *EmptyDirVolumeSource) Reset()
func (*EmptyDirVolumeSource) Size ¶
func (m *EmptyDirVolumeSource) Size() (n int)
func (*EmptyDirVolumeSource) String ¶
func (m *EmptyDirVolumeSource) String() string
func (*EmptyDirVolumeSource) Unmarshal ¶
func (m *EmptyDirVolumeSource) Unmarshal(dAtA []byte) error
type EndpointAddress ¶
type EndpointAddress struct {
// The IP of this endpoint.
// May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16),
// or link-local multicast ((224.0.0.0/24).
// IPv6 is also accepted but not fully supported on all platforms. Also, certain
// kubernetes components, like kube-proxy, are not IPv6 ready.
// TODO: This should allow hostname or IP, See #4447.
Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
// The Hostname of this endpoint
// +optional
Hostname *string `protobuf:"bytes,3,opt,name=hostname" json:"hostname,omitempty"`
// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
// +optional
NodeName *string `protobuf:"bytes,4,opt,name=nodeName" json:"nodeName,omitempty"`
// Reference to object providing the endpoint.
// +optional
TargetRef *ObjectReference `protobuf:"bytes,2,opt,name=targetRef" json:"targetRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EndpointAddress is a tuple that describes single IP address.
func (*EndpointAddress) Descriptor ¶
func (*EndpointAddress) Descriptor() ([]byte, []int)
func (*EndpointAddress) GetHostname ¶
func (m *EndpointAddress) GetHostname() string
func (*EndpointAddress) GetIp ¶
func (m *EndpointAddress) GetIp() string
func (*EndpointAddress) GetNodeName ¶
func (m *EndpointAddress) GetNodeName() string
func (*EndpointAddress) GetTargetRef ¶
func (m *EndpointAddress) GetTargetRef() *ObjectReference
func (*EndpointAddress) Marshal ¶
func (m *EndpointAddress) Marshal() (dAtA []byte, err error)
func (*EndpointAddress) ProtoMessage ¶
func (*EndpointAddress) ProtoMessage()
func (*EndpointAddress) Reset ¶
func (m *EndpointAddress) Reset()
func (*EndpointAddress) Size ¶
func (m *EndpointAddress) Size() (n int)
func (*EndpointAddress) String ¶
func (m *EndpointAddress) String() string
func (*EndpointAddress) Unmarshal ¶
func (m *EndpointAddress) Unmarshal(dAtA []byte) error
type EndpointPort ¶
type EndpointPort struct {
// The name of this port (corresponds to ServicePort.Name).
// Must be a DNS_LABEL.
// Optional only if one port is defined.
// +optional
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The port number of the endpoint.
Port *int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
// The IP protocol for this port.
// Must be UDP, TCP, or SCTP.
// Default is TCP.
// +optional
Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EndpointPort is a tuple that describes a single port.
func (*EndpointPort) Descriptor ¶
func (*EndpointPort) Descriptor() ([]byte, []int)
func (*EndpointPort) GetName ¶
func (m *EndpointPort) GetName() string
func (*EndpointPort) GetPort ¶
func (m *EndpointPort) GetPort() int32
func (*EndpointPort) GetProtocol ¶
func (m *EndpointPort) GetProtocol() string
func (*EndpointPort) Marshal ¶
func (m *EndpointPort) Marshal() (dAtA []byte, err error)
func (*EndpointPort) ProtoMessage ¶
func (*EndpointPort) ProtoMessage()
func (*EndpointPort) Reset ¶
func (m *EndpointPort) Reset()
func (*EndpointPort) Size ¶
func (m *EndpointPort) Size() (n int)
func (*EndpointPort) String ¶
func (m *EndpointPort) String() string
func (*EndpointPort) Unmarshal ¶
func (m *EndpointPort) Unmarshal(dAtA []byte) error
type EndpointSubset ¶
type EndpointSubset struct {
// IP addresses which offer the related ports that are marked as ready. These endpoints
// should be considered safe for load balancers and clients to utilize.
// +optional
Addresses []*EndpointAddress `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"`
// IP addresses which offer the related ports but are not currently marked as ready
// because they have not yet finished starting, have recently failed a readiness check,
// or have recently failed a liveness check.
// +optional
NotReadyAddresses []*EndpointAddress `protobuf:"bytes,2,rep,name=notReadyAddresses" json:"notReadyAddresses,omitempty"`
// Port numbers available on the related IP addresses.
// +optional
Ports []*EndpointPort `protobuf:"bytes,3,rep,name=ports" json:"ports,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*EndpointSubset) Descriptor() ([]byte, []int)
func (*EndpointSubset) GetAddresses ¶
func (m *EndpointSubset) GetAddresses() []*EndpointAddress
func (*EndpointSubset) GetNotReadyAddresses ¶
func (m *EndpointSubset) GetNotReadyAddresses() []*EndpointAddress
func (*EndpointSubset) GetPorts ¶
func (m *EndpointSubset) GetPorts() []*EndpointPort
func (*EndpointSubset) Marshal ¶
func (m *EndpointSubset) Marshal() (dAtA []byte, err error)
func (*EndpointSubset) ProtoMessage ¶
func (*EndpointSubset) ProtoMessage()
func (*EndpointSubset) Reset ¶
func (m *EndpointSubset) Reset()
func (*EndpointSubset) Size ¶
func (m *EndpointSubset) Size() (n int)
func (*EndpointSubset) String ¶
func (m *EndpointSubset) String() string
func (*EndpointSubset) Unmarshal ¶
func (m *EndpointSubset) Unmarshal(dAtA []byte) error
type Endpoints ¶
type Endpoints struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// The set of all endpoints is the union of all subsets. Addresses are placed into
// subsets according to the IPs they share. A single address with multiple ports,
// some of which are ready and some of which are not (because they come from
// different containers) will result in the address being displayed in different
// subsets for the different ports. No address will appear in both Addresses and
// NotReadyAddresses in the same subset.
// Sets of addresses and ports that comprise a service.
// +optional
Subsets []*EndpointSubset `protobuf:"bytes,2,rep,name=subsets" json:"subsets,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Endpoints) GetMetadata ¶
func (m *Endpoints) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Endpoints) GetSubsets ¶
func (m *Endpoints) GetSubsets() []*EndpointSubset
func (*Endpoints) ProtoMessage ¶
func (*Endpoints) ProtoMessage()
type EndpointsList ¶
type EndpointsList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of endpoints.
Items []*Endpoints `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EndpointsList is a list of endpoints.
func (*EndpointsList) Descriptor ¶
func (*EndpointsList) Descriptor() ([]byte, []int)
func (*EndpointsList) GetItems ¶
func (m *EndpointsList) GetItems() []*Endpoints
func (*EndpointsList) GetMetadata ¶
func (m *EndpointsList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*EndpointsList) Marshal ¶
func (m *EndpointsList) Marshal() (dAtA []byte, err error)
func (*EndpointsList) ProtoMessage ¶
func (*EndpointsList) ProtoMessage()
func (*EndpointsList) Reset ¶
func (m *EndpointsList) Reset()
func (*EndpointsList) Size ¶
func (m *EndpointsList) Size() (n int)
func (*EndpointsList) String ¶
func (m *EndpointsList) String() string
func (*EndpointsList) Unmarshal ¶
func (m *EndpointsList) Unmarshal(dAtA []byte) error
type EnvFromSource ¶
type EnvFromSource struct {
// An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
// +optional
Prefix *string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
// The ConfigMap to select from
// +optional
ConfigMapRef *ConfigMapEnvSource `protobuf:"bytes,2,opt,name=configMapRef" json:"configMapRef,omitempty"`
// The Secret to select from
// +optional
SecretRef *SecretEnvSource `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EnvFromSource represents the source of a set of ConfigMaps
func (*EnvFromSource) Descriptor ¶
func (*EnvFromSource) Descriptor() ([]byte, []int)
func (*EnvFromSource) GetConfigMapRef ¶
func (m *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource
func (*EnvFromSource) GetPrefix ¶
func (m *EnvFromSource) GetPrefix() string
func (*EnvFromSource) GetSecretRef ¶
func (m *EnvFromSource) GetSecretRef() *SecretEnvSource
func (*EnvFromSource) Marshal ¶
func (m *EnvFromSource) Marshal() (dAtA []byte, err error)
func (*EnvFromSource) ProtoMessage ¶
func (*EnvFromSource) ProtoMessage()
func (*EnvFromSource) Reset ¶
func (m *EnvFromSource) Reset()
func (*EnvFromSource) Size ¶
func (m *EnvFromSource) Size() (n int)
func (*EnvFromSource) String ¶
func (m *EnvFromSource) String() string
func (*EnvFromSource) Unmarshal ¶
func (m *EnvFromSource) Unmarshal(dAtA []byte) error
type EnvVar ¶
type EnvVar struct {
// Name of the environment variable. Must be a C_IDENTIFIER.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Variable references $(VAR_NAME) are expanded
// using the previous 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. The $(VAR_NAME)
// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
// references will never be expanded, regardless of whether the variable
// exists or not.
// Defaults to "".
// +optional
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
// Source for the environment variable's value. Cannot be used if value is not empty.
// +optional
ValueFrom *EnvVarSource `protobuf:"bytes,3,opt,name=valueFrom" json:"valueFrom,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EnvVar represents an environment variable present in a Container.
func (*EnvVar) Descriptor ¶
func (*EnvVar) GetValueFrom ¶
func (m *EnvVar) GetValueFrom() *EnvVarSource
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
type EnvVarSource ¶
type EnvVarSource struct {
// Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
// +optional
FieldRef *ObjectFieldSelector `protobuf:"bytes,1,opt,name=fieldRef" json:"fieldRef,omitempty"`
// Selects a resource of the container: only resources limits and requests
// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
// +optional
ResourceFieldRef *ResourceFieldSelector `protobuf:"bytes,2,opt,name=resourceFieldRef" json:"resourceFieldRef,omitempty"`
// Selects a key of a ConfigMap.
// +optional
ConfigMapKeyRef *ConfigMapKeySelector `protobuf:"bytes,3,opt,name=configMapKeyRef" json:"configMapKeyRef,omitempty"`
// Selects a key of a secret in the pod's namespace
// +optional
SecretKeyRef *SecretKeySelector `protobuf:"bytes,4,opt,name=secretKeyRef" json:"secretKeyRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EnvVarSource represents a source for the value of an EnvVar.
func (*EnvVarSource) Descriptor ¶
func (*EnvVarSource) Descriptor() ([]byte, []int)
func (*EnvVarSource) GetConfigMapKeyRef ¶
func (m *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector
func (*EnvVarSource) GetFieldRef ¶
func (m *EnvVarSource) GetFieldRef() *ObjectFieldSelector
func (*EnvVarSource) GetResourceFieldRef ¶
func (m *EnvVarSource) GetResourceFieldRef() *ResourceFieldSelector
func (*EnvVarSource) GetSecretKeyRef ¶
func (m *EnvVarSource) GetSecretKeyRef() *SecretKeySelector
func (*EnvVarSource) Marshal ¶
func (m *EnvVarSource) Marshal() (dAtA []byte, err error)
func (*EnvVarSource) ProtoMessage ¶
func (*EnvVarSource) ProtoMessage()
func (*EnvVarSource) Reset ¶
func (m *EnvVarSource) Reset()
func (*EnvVarSource) Size ¶
func (m *EnvVarSource) Size() (n int)
func (*EnvVarSource) String ¶
func (m *EnvVarSource) String() string
func (*EnvVarSource) Unmarshal ¶
func (m *EnvVarSource) Unmarshal(dAtA []byte) error
type Event ¶
type Event struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// The object that this event is about.
InvolvedObject *ObjectReference `protobuf:"bytes,2,opt,name=involvedObject" json:"involvedObject,omitempty"`
// This should be a short, machine understandable string that gives the reason
// for the transition into the object's current status.
// TODO: provide exact specification for format.
// +optional
Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
// A human-readable description of the status of this operation.
// TODO: decide on maximum length.
// +optional
Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
// The component reporting this event. Should be a short machine understandable string.
// +optional
Source *EventSource `protobuf:"bytes,5,opt,name=source" json:"source,omitempty"`
// The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
// +optional
FirstTimestamp *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,6,opt,name=firstTimestamp" json:"firstTimestamp,omitempty"`
// The time at which the most recent occurrence of this event was recorded.
// +optional
LastTimestamp *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,7,opt,name=lastTimestamp" json:"lastTimestamp,omitempty"`
// The number of times this event has occurred.
// +optional
Count *int32 `protobuf:"varint,8,opt,name=count" json:"count,omitempty"`
// Type of this event (Normal, Warning), new types could be added in the future
// +optional
Type *string `protobuf:"bytes,9,opt,name=type" json:"type,omitempty"`
// Time when this Event was first observed.
// +optional
EventTime *k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime `protobuf:"bytes,10,opt,name=eventTime" json:"eventTime,omitempty"`
// Data about the Event series this event represents or nil if it's a singleton Event.
// +optional
Series *EventSeries `protobuf:"bytes,11,opt,name=series" json:"series,omitempty"`
// What action was taken/failed regarding to the Regarding object.
// +optional
Action *string `protobuf:"bytes,12,opt,name=action" json:"action,omitempty"`
// Optional secondary object for more complex actions.
// +optional
Related *ObjectReference `protobuf:"bytes,13,opt,name=related" json:"related,omitempty"`
// Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
// +optional
ReportingComponent *string `protobuf:"bytes,14,opt,name=reportingComponent" json:"reportingComponent,omitempty"`
// ID of the controller instance, e.g. `kubelet-xyzf`.
// +optional
ReportingInstance *string `protobuf:"bytes,15,opt,name=reportingInstance" json:"reportingInstance,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Event is a report of an event somewhere in the cluster.
func (*Event) Descriptor ¶
func (*Event) GetEventTime ¶
func (m *Event) GetEventTime() *k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime
func (*Event) GetFirstTimestamp ¶
func (m *Event) GetFirstTimestamp() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*Event) GetInvolvedObject ¶
func (m *Event) GetInvolvedObject() *ObjectReference
func (*Event) GetLastTimestamp ¶
func (m *Event) GetLastTimestamp() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*Event) GetMessage ¶
func (*Event) GetMetadata ¶
func (m *Event) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Event) GetRelated ¶
func (m *Event) GetRelated() *ObjectReference
func (*Event) GetReportingComponent ¶
func (*Event) GetReportingInstance ¶
func (*Event) GetSeries ¶
func (m *Event) GetSeries() *EventSeries
func (*Event) GetSource ¶
func (m *Event) GetSource() *EventSource
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type EventList ¶
type EventList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of events
Items []*Event `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EventList is a list of events.
func (*EventList) Descriptor ¶
func (*EventList) GetMetadata ¶
func (m *EventList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*EventList) ProtoMessage ¶
func (*EventList) ProtoMessage()
type EventSeries ¶
type EventSeries struct {
// Number of occurrences in this series up to the last heartbeat time
Count *int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
// Time of the last occurrence observed
LastObservedTime *k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime `protobuf:"bytes,2,opt,name=lastObservedTime" json:"lastObservedTime,omitempty"`
// State of this Series: Ongoing or Finished
State *string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
func (*EventSeries) Descriptor ¶
func (*EventSeries) Descriptor() ([]byte, []int)
func (*EventSeries) GetCount ¶
func (m *EventSeries) GetCount() int32
func (*EventSeries) GetLastObservedTime ¶
func (m *EventSeries) GetLastObservedTime() *k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime
func (*EventSeries) GetState ¶
func (m *EventSeries) GetState() string
func (*EventSeries) Marshal ¶
func (m *EventSeries) Marshal() (dAtA []byte, err error)
func (*EventSeries) ProtoMessage ¶
func (*EventSeries) ProtoMessage()
func (*EventSeries) Reset ¶
func (m *EventSeries) Reset()
func (*EventSeries) Size ¶
func (m *EventSeries) Size() (n int)
func (*EventSeries) String ¶
func (m *EventSeries) String() string
func (*EventSeries) Unmarshal ¶
func (m *EventSeries) Unmarshal(dAtA []byte) error
type EventSource ¶
type EventSource struct {
// Component from which the event is generated.
// +optional
Component *string `protobuf:"bytes,1,opt,name=component" json:"component,omitempty"`
// Node name on which the event is generated.
// +optional
Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
EventSource contains information for an event.
func (*EventSource) Descriptor ¶
func (*EventSource) Descriptor() ([]byte, []int)
func (*EventSource) GetComponent ¶
func (m *EventSource) GetComponent() string
func (*EventSource) GetHost ¶
func (m *EventSource) GetHost() string
func (*EventSource) Marshal ¶
func (m *EventSource) Marshal() (dAtA []byte, err error)
func (*EventSource) ProtoMessage ¶
func (*EventSource) ProtoMessage()
func (*EventSource) Reset ¶
func (m *EventSource) Reset()
func (*EventSource) Size ¶
func (m *EventSource) Size() (n int)
func (*EventSource) String ¶
func (m *EventSource) String() string
func (*EventSource) Unmarshal ¶
func (m *EventSource) Unmarshal(dAtA []byte) error
type ExecAction ¶
type ExecAction struct {
// Command is the command line to execute inside the container, the working directory for the
// command is root ('/') in the container's filesystem. The command is simply exec'd, it is
// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
// a shell, you need to explicitly call out to that shell.
// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
// +optional
Command []string `protobuf:"bytes,1,rep,name=command" json:"command,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ExecAction describes a "run in container" action.
func (*ExecAction) Descriptor ¶
func (*ExecAction) Descriptor() ([]byte, []int)
func (*ExecAction) GetCommand ¶
func (m *ExecAction) GetCommand() []string
func (*ExecAction) Marshal ¶
func (m *ExecAction) Marshal() (dAtA []byte, err error)
func (*ExecAction) ProtoMessage ¶
func (*ExecAction) ProtoMessage()
func (*ExecAction) Reset ¶
func (m *ExecAction) Reset()
func (*ExecAction) Size ¶
func (m *ExecAction) Size() (n int)
func (*ExecAction) String ¶
func (m *ExecAction) String() string
func (*ExecAction) Unmarshal ¶
func (m *ExecAction) Unmarshal(dAtA []byte) error
type FCVolumeSource ¶
type FCVolumeSource struct {
// Optional: FC target worldwide names (WWNs)
// +optional
TargetWWNs []string `protobuf:"bytes,1,rep,name=targetWWNs" json:"targetWWNs,omitempty"`
// Optional: FC target lun number
// +optional
Lun *int32 `protobuf:"varint,2,opt,name=lun" json:"lun,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
// Optional: FC volume world wide identifiers (wwids)
// Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
// +optional
Wwids []string `protobuf:"bytes,5,rep,name=wwids" json:"wwids,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*FCVolumeSource) Descriptor() ([]byte, []int)
func (*FCVolumeSource) GetFsType ¶
func (m *FCVolumeSource) GetFsType() string
func (*FCVolumeSource) GetLun ¶
func (m *FCVolumeSource) GetLun() int32
func (*FCVolumeSource) GetReadOnly ¶
func (m *FCVolumeSource) GetReadOnly() bool
func (*FCVolumeSource) GetTargetWWNs ¶
func (m *FCVolumeSource) GetTargetWWNs() []string
func (*FCVolumeSource) GetWwids ¶
func (m *FCVolumeSource) GetWwids() []string
func (*FCVolumeSource) Marshal ¶
func (m *FCVolumeSource) Marshal() (dAtA []byte, err error)
func (*FCVolumeSource) ProtoMessage ¶
func (*FCVolumeSource) ProtoMessage()
func (*FCVolumeSource) Reset ¶
func (m *FCVolumeSource) Reset()
func (*FCVolumeSource) Size ¶
func (m *FCVolumeSource) Size() (n int)
func (*FCVolumeSource) String ¶
func (m *FCVolumeSource) String() string
func (*FCVolumeSource) Unmarshal ¶
func (m *FCVolumeSource) Unmarshal(dAtA []byte) error
type FlexPersistentVolumeSource ¶ added in v1.1.0
type FlexPersistentVolumeSource struct {
// Driver is the name of the driver to use for this volume.
Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// Optional: SecretRef is reference to the secret object containing
// sensitive information to pass to the plugin scripts. This may be
// empty if no secret object is specified. If the secret object
// contains more than one secret, all secrets are passed to the plugin
// scripts.
// +optional
SecretRef *SecretReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
// Optional: Extra command options if any.
// +optional
Options map[string]string `` /* 134-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
func (*FlexPersistentVolumeSource) Descriptor ¶ added in v1.1.0
func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*FlexPersistentVolumeSource) GetDriver ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) GetDriver() string
func (*FlexPersistentVolumeSource) GetFsType ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) GetFsType() string
func (*FlexPersistentVolumeSource) GetOptions ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) GetOptions() map[string]string
func (*FlexPersistentVolumeSource) GetReadOnly ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) GetReadOnly() bool
func (*FlexPersistentVolumeSource) GetSecretRef ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) GetSecretRef() *SecretReference
func (*FlexPersistentVolumeSource) Marshal ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*FlexPersistentVolumeSource) MarshalTo ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*FlexPersistentVolumeSource) ProtoMessage ¶ added in v1.1.0
func (*FlexPersistentVolumeSource) ProtoMessage()
func (*FlexPersistentVolumeSource) Reset ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) Reset()
func (*FlexPersistentVolumeSource) Size ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) Size() (n int)
func (*FlexPersistentVolumeSource) String ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) String() string
func (*FlexPersistentVolumeSource) Unmarshal ¶ added in v1.1.0
func (m *FlexPersistentVolumeSource) Unmarshal(dAtA []byte) error
type FlexVolumeSource ¶
type FlexVolumeSource struct {
// Driver is the name of the driver to use for this volume.
Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// Optional: SecretRef is reference to the secret object containing
// sensitive information to pass to the plugin scripts. This may be
// empty if no secret object is specified. If the secret object
// contains more than one secret, all secrets are passed to the plugin
// scripts.
// +optional
SecretRef *LocalObjectReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
// Optional: Extra command options if any.
// +optional
Options map[string]string `` /* 134-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
func (*FlexVolumeSource) Descriptor ¶
func (*FlexVolumeSource) Descriptor() ([]byte, []int)
func (*FlexVolumeSource) GetDriver ¶
func (m *FlexVolumeSource) GetDriver() string
func (*FlexVolumeSource) GetFsType ¶
func (m *FlexVolumeSource) GetFsType() string
func (*FlexVolumeSource) GetOptions ¶
func (m *FlexVolumeSource) GetOptions() map[string]string
func (*FlexVolumeSource) GetReadOnly ¶
func (m *FlexVolumeSource) GetReadOnly() bool
func (*FlexVolumeSource) GetSecretRef ¶
func (m *FlexVolumeSource) GetSecretRef() *LocalObjectReference
func (*FlexVolumeSource) Marshal ¶
func (m *FlexVolumeSource) Marshal() (dAtA []byte, err error)
func (*FlexVolumeSource) ProtoMessage ¶
func (*FlexVolumeSource) ProtoMessage()
func (*FlexVolumeSource) Reset ¶
func (m *FlexVolumeSource) Reset()
func (*FlexVolumeSource) Size ¶
func (m *FlexVolumeSource) Size() (n int)
func (*FlexVolumeSource) String ¶
func (m *FlexVolumeSource) String() string
func (*FlexVolumeSource) Unmarshal ¶
func (m *FlexVolumeSource) Unmarshal(dAtA []byte) error
type FlockerVolumeSource ¶
type FlockerVolumeSource struct {
// Name of the dataset stored as metadata -> name on the dataset for Flocker
// should be considered as deprecated
// +optional
DatasetName *string `protobuf:"bytes,1,opt,name=datasetName" json:"datasetName,omitempty"`
// UUID of the dataset. This is unique identifier of a Flocker dataset
// +optional
DatasetUUID *string `protobuf:"bytes,2,opt,name=datasetUUID" json:"datasetUUID,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*FlockerVolumeSource) Descriptor() ([]byte, []int)
func (*FlockerVolumeSource) GetDatasetName ¶
func (m *FlockerVolumeSource) GetDatasetName() string
func (*FlockerVolumeSource) GetDatasetUUID ¶
func (m *FlockerVolumeSource) GetDatasetUUID() string
func (*FlockerVolumeSource) Marshal ¶
func (m *FlockerVolumeSource) Marshal() (dAtA []byte, err error)
func (*FlockerVolumeSource) MarshalTo ¶
func (m *FlockerVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*FlockerVolumeSource) ProtoMessage ¶
func (*FlockerVolumeSource) ProtoMessage()
func (*FlockerVolumeSource) Reset ¶
func (m *FlockerVolumeSource) Reset()
func (*FlockerVolumeSource) Size ¶
func (m *FlockerVolumeSource) Size() (n int)
func (*FlockerVolumeSource) String ¶
func (m *FlockerVolumeSource) String() string
func (*FlockerVolumeSource) Unmarshal ¶
func (m *FlockerVolumeSource) Unmarshal(dAtA []byte) error
type GCEPersistentDiskVolumeSource ¶
type GCEPersistentDiskVolumeSource struct {
// Unique name of the PD resource in GCE. Used to identify the disk in GCE.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
PdName *string `protobuf:"bytes,1,opt,name=pdName" json:"pdName,omitempty"`
// Filesystem type of the volume that you want to mount.
// Tip: Ensure that the filesystem type is supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// The partition in the volume that you want to mount.
// If omitted, the default is to mount by volume name.
// Examples: For volume /dev/sda1, you specify the partition as "1".
// Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
// +optional
Partition *int32 `protobuf:"varint,3,opt,name=partition" json:"partition,omitempty"`
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int)
func (*GCEPersistentDiskVolumeSource) GetFsType ¶
func (m *GCEPersistentDiskVolumeSource) GetFsType() string
func (*GCEPersistentDiskVolumeSource) GetPartition ¶
func (m *GCEPersistentDiskVolumeSource) GetPartition() int32
func (*GCEPersistentDiskVolumeSource) GetPdName ¶
func (m *GCEPersistentDiskVolumeSource) GetPdName() string
func (*GCEPersistentDiskVolumeSource) GetReadOnly ¶
func (m *GCEPersistentDiskVolumeSource) GetReadOnly() bool
func (*GCEPersistentDiskVolumeSource) Marshal ¶
func (m *GCEPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error)
func (*GCEPersistentDiskVolumeSource) MarshalTo ¶
func (m *GCEPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*GCEPersistentDiskVolumeSource) ProtoMessage ¶
func (*GCEPersistentDiskVolumeSource) ProtoMessage()
func (*GCEPersistentDiskVolumeSource) Reset ¶
func (m *GCEPersistentDiskVolumeSource) Reset()
func (*GCEPersistentDiskVolumeSource) Size ¶
func (m *GCEPersistentDiskVolumeSource) Size() (n int)
func (*GCEPersistentDiskVolumeSource) String ¶
func (m *GCEPersistentDiskVolumeSource) String() string
func (*GCEPersistentDiskVolumeSource) Unmarshal ¶
func (m *GCEPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error
type GitRepoVolumeSource ¶
type GitRepoVolumeSource struct {
// Repository URL
Repository *string `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Commit hash for the specified revision.
// +optional
Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"`
// Target directory name.
// Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
// git repository. Otherwise, if specified, the volume will contain the git repository in
// the subdirectory with the given name.
// +optional
Directory *string `protobuf:"bytes,3,opt,name=directory" json:"directory,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*GitRepoVolumeSource) Descriptor() ([]byte, []int)
func (*GitRepoVolumeSource) GetDirectory ¶
func (m *GitRepoVolumeSource) GetDirectory() string
func (*GitRepoVolumeSource) GetRepository ¶
func (m *GitRepoVolumeSource) GetRepository() string
func (*GitRepoVolumeSource) GetRevision ¶
func (m *GitRepoVolumeSource) GetRevision() string
func (*GitRepoVolumeSource) Marshal ¶
func (m *GitRepoVolumeSource) Marshal() (dAtA []byte, err error)
func (*GitRepoVolumeSource) MarshalTo ¶
func (m *GitRepoVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*GitRepoVolumeSource) ProtoMessage ¶
func (*GitRepoVolumeSource) ProtoMessage()
func (*GitRepoVolumeSource) Reset ¶
func (m *GitRepoVolumeSource) Reset()
func (*GitRepoVolumeSource) Size ¶
func (m *GitRepoVolumeSource) Size() (n int)
func (*GitRepoVolumeSource) String ¶
func (m *GitRepoVolumeSource) String() string
func (*GitRepoVolumeSource) Unmarshal ¶
func (m *GitRepoVolumeSource) Unmarshal(dAtA []byte) error
type GlusterfsPersistentVolumeSource ¶ added in v1.4.0
type GlusterfsPersistentVolumeSource struct {
// EndpointsName is the endpoint name that details Glusterfs topology.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
Endpoints *string `protobuf:"bytes,1,opt,name=endpoints" json:"endpoints,omitempty"`
// Path is the Glusterfs volume path.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
// Defaults to false.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
// +optional
EndpointsNamespace *string `protobuf:"bytes,4,opt,name=endpointsNamespace" json:"endpointsNamespace,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
func (*GlusterfsPersistentVolumeSource) Descriptor ¶ added in v1.4.0
func (*GlusterfsPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*GlusterfsPersistentVolumeSource) GetEndpoints ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) GetEndpoints() string
func (*GlusterfsPersistentVolumeSource) GetEndpointsNamespace ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) GetEndpointsNamespace() string
func (*GlusterfsPersistentVolumeSource) GetPath ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) GetPath() string
func (*GlusterfsPersistentVolumeSource) GetReadOnly ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) GetReadOnly() bool
func (*GlusterfsPersistentVolumeSource) Marshal ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*GlusterfsPersistentVolumeSource) MarshalTo ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*GlusterfsPersistentVolumeSource) ProtoMessage ¶ added in v1.4.0
func (*GlusterfsPersistentVolumeSource) ProtoMessage()
func (*GlusterfsPersistentVolumeSource) Reset ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) Reset()
func (*GlusterfsPersistentVolumeSource) Size ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) Size() (n int)
func (*GlusterfsPersistentVolumeSource) String ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) String() string
func (*GlusterfsPersistentVolumeSource) Unmarshal ¶ added in v1.4.0
func (m *GlusterfsPersistentVolumeSource) Unmarshal(dAtA []byte) error
type GlusterfsVolumeSource ¶
type GlusterfsVolumeSource struct {
// EndpointsName is the endpoint name that details Glusterfs topology.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
Endpoints *string `protobuf:"bytes,1,opt,name=endpoints" json:"endpoints,omitempty"`
// Path is the Glusterfs volume path.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
// Defaults to false.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
func (*GlusterfsVolumeSource) Descriptor ¶
func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int)
func (*GlusterfsVolumeSource) GetEndpoints ¶
func (m *GlusterfsVolumeSource) GetEndpoints() string
func (*GlusterfsVolumeSource) GetPath ¶
func (m *GlusterfsVolumeSource) GetPath() string
func (*GlusterfsVolumeSource) GetReadOnly ¶
func (m *GlusterfsVolumeSource) GetReadOnly() bool
func (*GlusterfsVolumeSource) Marshal ¶
func (m *GlusterfsVolumeSource) Marshal() (dAtA []byte, err error)
func (*GlusterfsVolumeSource) MarshalTo ¶
func (m *GlusterfsVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*GlusterfsVolumeSource) ProtoMessage ¶
func (*GlusterfsVolumeSource) ProtoMessage()
func (*GlusterfsVolumeSource) Reset ¶
func (m *GlusterfsVolumeSource) Reset()
func (*GlusterfsVolumeSource) Size ¶
func (m *GlusterfsVolumeSource) Size() (n int)
func (*GlusterfsVolumeSource) String ¶
func (m *GlusterfsVolumeSource) String() string
func (*GlusterfsVolumeSource) Unmarshal ¶
func (m *GlusterfsVolumeSource) Unmarshal(dAtA []byte) error
type HTTPGetAction ¶
type HTTPGetAction struct {
// Path to access on the HTTP server.
// +optional
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
// Name or number of the port to access on the container.
// Number must be in the range 1 to 65535.
// Name must be an IANA_SVC_NAME.
Port *k8s_io_apimachinery_pkg_util_intstr.IntOrString `protobuf:"bytes,2,opt,name=port" json:"port,omitempty"`
// Host name to connect to, defaults to the pod IP. You probably want to set
// "Host" in httpHeaders instead.
// +optional
Host *string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"`
// Scheme to use for connecting to the host.
// Defaults to HTTP.
// +optional
Scheme *string `protobuf:"bytes,4,opt,name=scheme" json:"scheme,omitempty"`
// Custom headers to set in the request. HTTP allows repeated headers.
// +optional
HttpHeaders []*HTTPHeader `protobuf:"bytes,5,rep,name=httpHeaders" json:"httpHeaders,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
HTTPGetAction describes an action based on HTTP Get requests.
func (*HTTPGetAction) Descriptor ¶
func (*HTTPGetAction) Descriptor() ([]byte, []int)
func (*HTTPGetAction) GetHost ¶
func (m *HTTPGetAction) GetHost() string
func (*HTTPGetAction) GetHttpHeaders ¶
func (m *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
func (*HTTPGetAction) GetPath ¶
func (m *HTTPGetAction) GetPath() string
func (*HTTPGetAction) GetPort ¶
func (m *HTTPGetAction) GetPort() *k8s_io_apimachinery_pkg_util_intstr.IntOrString
func (*HTTPGetAction) GetScheme ¶
func (m *HTTPGetAction) GetScheme() string
func (*HTTPGetAction) Marshal ¶
func (m *HTTPGetAction) Marshal() (dAtA []byte, err error)
func (*HTTPGetAction) ProtoMessage ¶
func (*HTTPGetAction) ProtoMessage()
func (*HTTPGetAction) Reset ¶
func (m *HTTPGetAction) Reset()
func (*HTTPGetAction) Size ¶
func (m *HTTPGetAction) Size() (n int)
func (*HTTPGetAction) String ¶
func (m *HTTPGetAction) String() string
func (*HTTPGetAction) Unmarshal ¶
func (m *HTTPGetAction) Unmarshal(dAtA []byte) error
type HTTPHeader ¶
type HTTPHeader struct {
// The header field name
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The header field value
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
HTTPHeader describes a custom header to be used in HTTP probes
func (*HTTPHeader) Descriptor ¶
func (*HTTPHeader) Descriptor() ([]byte, []int)
func (*HTTPHeader) GetName ¶
func (m *HTTPHeader) GetName() string
func (*HTTPHeader) GetValue ¶
func (m *HTTPHeader) GetValue() string
func (*HTTPHeader) Marshal ¶
func (m *HTTPHeader) Marshal() (dAtA []byte, err error)
func (*HTTPHeader) ProtoMessage ¶
func (*HTTPHeader) ProtoMessage()
func (*HTTPHeader) Reset ¶
func (m *HTTPHeader) Reset()
func (*HTTPHeader) Size ¶
func (m *HTTPHeader) Size() (n int)
func (*HTTPHeader) String ¶
func (m *HTTPHeader) String() string
func (*HTTPHeader) Unmarshal ¶
func (m *HTTPHeader) Unmarshal(dAtA []byte) error
type Handler ¶
type Handler struct {
// One and only one of the following should be specified.
// Exec specifies the action to take.
// +optional
Exec *ExecAction `protobuf:"bytes,1,opt,name=exec" json:"exec,omitempty"`
// HTTPGet specifies the http request to perform.
// +optional
HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet" json:"httpGet,omitempty"`
// TCPSocket specifies an action involving a TCP port.
// TCP hooks not yet supported
// TODO: implement a realistic TCP lifecycle hook
// +optional
TcpSocket *TCPSocketAction `protobuf:"bytes,3,opt,name=tcpSocket" json:"tcpSocket,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Handler defines a specific action that should be taken TODO: pass structured data to these actions, and document that data here.
func (*Handler) Descriptor ¶
func (*Handler) GetExec ¶
func (m *Handler) GetExec() *ExecAction
func (*Handler) GetHttpGet ¶
func (m *Handler) GetHttpGet() *HTTPGetAction
func (*Handler) GetTcpSocket ¶
func (m *Handler) GetTcpSocket() *TCPSocketAction
func (*Handler) ProtoMessage ¶
func (*Handler) ProtoMessage()
type HostAlias ¶
type HostAlias struct {
// IP address of the host file entry.
Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
// Hostnames for the above IP address.
Hostnames []string `protobuf:"bytes,2,rep,name=hostnames" json:"hostnames,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
func (*HostAlias) Descriptor ¶
func (*HostAlias) GetHostnames ¶
func (*HostAlias) ProtoMessage ¶
func (*HostAlias) ProtoMessage()
type HostPathVolumeSource ¶
type HostPathVolumeSource struct {
// Path of the directory on the host.
// If the path is a symlink, it will follow the link to the real path.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
// Type for HostPath Volume
// Defaults to ""
// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
// +optional
Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
func (*HostPathVolumeSource) Descriptor ¶
func (*HostPathVolumeSource) Descriptor() ([]byte, []int)
func (*HostPathVolumeSource) GetPath ¶
func (m *HostPathVolumeSource) GetPath() string
func (*HostPathVolumeSource) GetType ¶
func (m *HostPathVolumeSource) GetType() string
func (*HostPathVolumeSource) Marshal ¶
func (m *HostPathVolumeSource) Marshal() (dAtA []byte, err error)
func (*HostPathVolumeSource) MarshalTo ¶
func (m *HostPathVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*HostPathVolumeSource) ProtoMessage ¶
func (*HostPathVolumeSource) ProtoMessage()
func (*HostPathVolumeSource) Reset ¶
func (m *HostPathVolumeSource) Reset()
func (*HostPathVolumeSource) Size ¶
func (m *HostPathVolumeSource) Size() (n int)
func (*HostPathVolumeSource) String ¶
func (m *HostPathVolumeSource) String() string
func (*HostPathVolumeSource) Unmarshal ¶
func (m *HostPathVolumeSource) Unmarshal(dAtA []byte) error
type ISCSIPersistentVolumeSource ¶
type ISCSIPersistentVolumeSource struct {
// iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
TargetPortal *string `protobuf:"bytes,1,opt,name=targetPortal" json:"targetPortal,omitempty"`
// Target iSCSI Qualified Name.
Iqn *string `protobuf:"bytes,2,opt,name=iqn" json:"iqn,omitempty"`
// iSCSI Target Lun number.
Lun *int32 `protobuf:"varint,3,opt,name=lun" json:"lun,omitempty"`
// iSCSI Interface Name that uses an iSCSI transport.
// Defaults to 'default' (tcp).
// +optional
IscsiInterface *string `protobuf:"bytes,4,opt,name=iscsiInterface" json:"iscsiInterface,omitempty"`
// Filesystem type of the volume that you want to mount.
// Tip: Ensure that the filesystem type is supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,5,opt,name=fsType" json:"fsType,omitempty"`
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
// +optional
ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
// iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
// +optional
Portals []string `protobuf:"bytes,7,rep,name=portals" json:"portals,omitempty"`
// whether support iSCSI Discovery CHAP authentication
// +optional
ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery" json:"chapAuthDiscovery,omitempty"`
// whether support iSCSI Session CHAP authentication
// +optional
ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession" json:"chapAuthSession,omitempty"`
// CHAP Secret for iSCSI target and initiator authentication
// +optional
SecretRef *SecretReference `protobuf:"bytes,10,opt,name=secretRef" json:"secretRef,omitempty"`
// Custom iSCSI Initiator Name.
// If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
// <target portal>:<volume name> will be created for the connection.
// +optional
InitiatorName *string `protobuf:"bytes,12,opt,name=initiatorName" json:"initiatorName,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*ISCSIPersistentVolumeSource) GetChapAuthDiscovery ¶
func (m *ISCSIPersistentVolumeSource) GetChapAuthDiscovery() bool
func (*ISCSIPersistentVolumeSource) GetChapAuthSession ¶
func (m *ISCSIPersistentVolumeSource) GetChapAuthSession() bool
func (*ISCSIPersistentVolumeSource) GetFsType ¶
func (m *ISCSIPersistentVolumeSource) GetFsType() string
func (*ISCSIPersistentVolumeSource) GetInitiatorName ¶
func (m *ISCSIPersistentVolumeSource) GetInitiatorName() string
func (*ISCSIPersistentVolumeSource) GetIqn ¶
func (m *ISCSIPersistentVolumeSource) GetIqn() string
func (*ISCSIPersistentVolumeSource) GetIscsiInterface ¶
func (m *ISCSIPersistentVolumeSource) GetIscsiInterface() string
func (*ISCSIPersistentVolumeSource) GetLun ¶
func (m *ISCSIPersistentVolumeSource) GetLun() int32
func (*ISCSIPersistentVolumeSource) GetPortals ¶
func (m *ISCSIPersistentVolumeSource) GetPortals() []string
func (*ISCSIPersistentVolumeSource) GetReadOnly ¶
func (m *ISCSIPersistentVolumeSource) GetReadOnly() bool
func (*ISCSIPersistentVolumeSource) GetSecretRef ¶
func (m *ISCSIPersistentVolumeSource) GetSecretRef() *SecretReference
func (*ISCSIPersistentVolumeSource) GetTargetPortal ¶
func (m *ISCSIPersistentVolumeSource) GetTargetPortal() string
func (*ISCSIPersistentVolumeSource) Marshal ¶
func (m *ISCSIPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*ISCSIPersistentVolumeSource) MarshalTo ¶
func (m *ISCSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*ISCSIPersistentVolumeSource) ProtoMessage ¶
func (*ISCSIPersistentVolumeSource) ProtoMessage()
func (*ISCSIPersistentVolumeSource) Reset ¶
func (m *ISCSIPersistentVolumeSource) Reset()
func (*ISCSIPersistentVolumeSource) Size ¶
func (m *ISCSIPersistentVolumeSource) Size() (n int)
func (*ISCSIPersistentVolumeSource) String ¶
func (m *ISCSIPersistentVolumeSource) String() string
func (*ISCSIPersistentVolumeSource) Unmarshal ¶
func (m *ISCSIPersistentVolumeSource) Unmarshal(dAtA []byte) error
type ISCSIVolumeSource ¶
type ISCSIVolumeSource struct {
// iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
TargetPortal *string `protobuf:"bytes,1,opt,name=targetPortal" json:"targetPortal,omitempty"`
// Target iSCSI Qualified Name.
Iqn *string `protobuf:"bytes,2,opt,name=iqn" json:"iqn,omitempty"`
// iSCSI Target Lun number.
Lun *int32 `protobuf:"varint,3,opt,name=lun" json:"lun,omitempty"`
// iSCSI Interface Name that uses an iSCSI transport.
// Defaults to 'default' (tcp).
// +optional
IscsiInterface *string `protobuf:"bytes,4,opt,name=iscsiInterface" json:"iscsiInterface,omitempty"`
// Filesystem type of the volume that you want to mount.
// Tip: Ensure that the filesystem type is supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,5,opt,name=fsType" json:"fsType,omitempty"`
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
// +optional
ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"`
// iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
// +optional
Portals []string `protobuf:"bytes,7,rep,name=portals" json:"portals,omitempty"`
// whether support iSCSI Discovery CHAP authentication
// +optional
ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery" json:"chapAuthDiscovery,omitempty"`
// whether support iSCSI Session CHAP authentication
// +optional
ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession" json:"chapAuthSession,omitempty"`
// CHAP Secret for iSCSI target and initiator authentication
// +optional
SecretRef *LocalObjectReference `protobuf:"bytes,10,opt,name=secretRef" json:"secretRef,omitempty"`
// Custom iSCSI Initiator Name.
// If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
// <target portal>:<volume name> will be created for the connection.
// +optional
InitiatorName *string `protobuf:"bytes,12,opt,name=initiatorName" json:"initiatorName,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ISCSIVolumeSource) Descriptor() ([]byte, []int)
func (*ISCSIVolumeSource) GetChapAuthDiscovery ¶
func (m *ISCSIVolumeSource) GetChapAuthDiscovery() bool
func (*ISCSIVolumeSource) GetChapAuthSession ¶
func (m *ISCSIVolumeSource) GetChapAuthSession() bool
func (*ISCSIVolumeSource) GetFsType ¶
func (m *ISCSIVolumeSource) GetFsType() string
func (*ISCSIVolumeSource) GetInitiatorName ¶
func (m *ISCSIVolumeSource) GetInitiatorName() string
func (*ISCSIVolumeSource) GetIqn ¶
func (m *ISCSIVolumeSource) GetIqn() string
func (*ISCSIVolumeSource) GetIscsiInterface ¶
func (m *ISCSIVolumeSource) GetIscsiInterface() string
func (*ISCSIVolumeSource) GetLun ¶
func (m *ISCSIVolumeSource) GetLun() int32
func (*ISCSIVolumeSource) GetPortals ¶
func (m *ISCSIVolumeSource) GetPortals() []string
func (*ISCSIVolumeSource) GetReadOnly ¶
func (m *ISCSIVolumeSource) GetReadOnly() bool
func (*ISCSIVolumeSource) GetSecretRef ¶
func (m *ISCSIVolumeSource) GetSecretRef() *LocalObjectReference
func (*ISCSIVolumeSource) GetTargetPortal ¶
func (m *ISCSIVolumeSource) GetTargetPortal() string
func (*ISCSIVolumeSource) Marshal ¶
func (m *ISCSIVolumeSource) Marshal() (dAtA []byte, err error)
func (*ISCSIVolumeSource) MarshalTo ¶
func (m *ISCSIVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*ISCSIVolumeSource) ProtoMessage ¶
func (*ISCSIVolumeSource) ProtoMessage()
func (*ISCSIVolumeSource) Reset ¶
func (m *ISCSIVolumeSource) Reset()
func (*ISCSIVolumeSource) Size ¶
func (m *ISCSIVolumeSource) Size() (n int)
func (*ISCSIVolumeSource) String ¶
func (m *ISCSIVolumeSource) String() string
func (*ISCSIVolumeSource) Unmarshal ¶
func (m *ISCSIVolumeSource) Unmarshal(dAtA []byte) error
type KeyToPath ¶
type KeyToPath struct {
// The key to project.
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
// The relative path of the file to map the key to.
// May not be an absolute path.
// May not contain the path element '..'.
// May not start with the string '..'.
Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
// Optional: mode bits to use on this file, must be a value between 0
// and 0777. If not specified, the volume defaultMode will be used.
// This might be in conflict with other options that affect the file
// mode, like fsGroup, and the result can be other mode bits set.
// +optional
Mode *int32 `protobuf:"varint,3,opt,name=mode" json:"mode,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Maps a string key to a path within a volume.
func (*KeyToPath) Descriptor ¶
func (*KeyToPath) ProtoMessage ¶
func (*KeyToPath) ProtoMessage()
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 *Handler `protobuf:"bytes,1,opt,name=postStart" json:"postStart,omitempty"`
// PreStop is called immediately before a container is terminated.
// The container is terminated after the handler completes.
// The reason for termination is passed to the handler.
// Regardless of the outcome of the handler, the container is eventually terminated.
// Other management of the container blocks until the hook completes.
// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
// +optional
PreStop *Handler `protobuf:"bytes,2,opt,name=preStop" json:"preStop,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Lifecycle) GetPostStart ¶
func (*Lifecycle) GetPreStop ¶
func (*Lifecycle) ProtoMessage ¶
func (*Lifecycle) ProtoMessage()
type LimitRange ¶
type LimitRange struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the limits enforced.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *LimitRangeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
LimitRange sets resource usage limits for each kind of resource in a Namespace.
func (*LimitRange) Descriptor ¶
func (*LimitRange) Descriptor() ([]byte, []int)
func (*LimitRange) GetMetadata ¶
func (m *LimitRange) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*LimitRange) GetSpec ¶
func (m *LimitRange) GetSpec() *LimitRangeSpec
func (*LimitRange) Marshal ¶
func (m *LimitRange) Marshal() (dAtA []byte, err error)
func (*LimitRange) ProtoMessage ¶
func (*LimitRange) ProtoMessage()
func (*LimitRange) Reset ¶
func (m *LimitRange) Reset()
func (*LimitRange) Size ¶
func (m *LimitRange) Size() (n int)
func (*LimitRange) String ¶
func (m *LimitRange) String() string
func (*LimitRange) Unmarshal ¶
func (m *LimitRange) Unmarshal(dAtA []byte) error
type LimitRangeItem ¶
type LimitRangeItem struct {
// Type of resource that this limit applies to.
// +optional
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// Max usage constraints on this kind by resource name.
// +optional
Max map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 126-byte string literal not displayed */
// Min usage constraints on this kind by resource name.
// +optional
Min map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 126-byte string literal not displayed */
// Default resource requirement limit value by resource name if resource limit is omitted.
// +optional
Default map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 134-byte string literal not displayed */
// DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
// +optional
DefaultRequest map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 148-byte string literal not displayed */
// MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
// +optional
MaxLimitRequestRatio map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 160-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
func (*LimitRangeItem) Descriptor ¶
func (*LimitRangeItem) Descriptor() ([]byte, []int)
func (*LimitRangeItem) GetDefault ¶
func (m *LimitRangeItem) GetDefault() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*LimitRangeItem) GetDefaultRequest ¶
func (m *LimitRangeItem) GetDefaultRequest() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*LimitRangeItem) GetMax ¶
func (m *LimitRangeItem) GetMax() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*LimitRangeItem) GetMaxLimitRequestRatio ¶
func (m *LimitRangeItem) GetMaxLimitRequestRatio() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*LimitRangeItem) GetMin ¶
func (m *LimitRangeItem) GetMin() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*LimitRangeItem) GetType ¶
func (m *LimitRangeItem) GetType() string
func (*LimitRangeItem) Marshal ¶
func (m *LimitRangeItem) Marshal() (dAtA []byte, err error)
func (*LimitRangeItem) ProtoMessage ¶
func (*LimitRangeItem) ProtoMessage()
func (*LimitRangeItem) Reset ¶
func (m *LimitRangeItem) Reset()
func (*LimitRangeItem) Size ¶
func (m *LimitRangeItem) Size() (n int)
func (*LimitRangeItem) String ¶
func (m *LimitRangeItem) String() string
func (*LimitRangeItem) Unmarshal ¶
func (m *LimitRangeItem) Unmarshal(dAtA []byte) error
type LimitRangeList ¶
type LimitRangeList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Items is a list of LimitRange objects.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
Items []*LimitRange `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
LimitRangeList is a list of LimitRange items.
func (*LimitRangeList) Descriptor ¶
func (*LimitRangeList) Descriptor() ([]byte, []int)
func (*LimitRangeList) GetItems ¶
func (m *LimitRangeList) GetItems() []*LimitRange
func (*LimitRangeList) GetMetadata ¶
func (m *LimitRangeList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*LimitRangeList) Marshal ¶
func (m *LimitRangeList) Marshal() (dAtA []byte, err error)
func (*LimitRangeList) ProtoMessage ¶
func (*LimitRangeList) ProtoMessage()
func (*LimitRangeList) Reset ¶
func (m *LimitRangeList) Reset()
func (*LimitRangeList) Size ¶
func (m *LimitRangeList) Size() (n int)
func (*LimitRangeList) String ¶
func (m *LimitRangeList) String() string
func (*LimitRangeList) Unmarshal ¶
func (m *LimitRangeList) Unmarshal(dAtA []byte) error
type LimitRangeSpec ¶
type LimitRangeSpec struct {
// Limits is the list of LimitRangeItem objects that are enforced.
Limits []*LimitRangeItem `protobuf:"bytes,1,rep,name=limits" json:"limits,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
func (*LimitRangeSpec) Descriptor ¶
func (*LimitRangeSpec) Descriptor() ([]byte, []int)
func (*LimitRangeSpec) GetLimits ¶
func (m *LimitRangeSpec) GetLimits() []*LimitRangeItem
func (*LimitRangeSpec) Marshal ¶
func (m *LimitRangeSpec) Marshal() (dAtA []byte, err error)
func (*LimitRangeSpec) ProtoMessage ¶
func (*LimitRangeSpec) ProtoMessage()
func (*LimitRangeSpec) Reset ¶
func (m *LimitRangeSpec) Reset()
func (*LimitRangeSpec) Size ¶
func (m *LimitRangeSpec) Size() (n int)
func (*LimitRangeSpec) String ¶
func (m *LimitRangeSpec) String() string
func (*LimitRangeSpec) Unmarshal ¶
func (m *LimitRangeSpec) Unmarshal(dAtA []byte) error
type List ¶
type List struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of objects
Items []*k8s_io_apimachinery_pkg_runtime.RawExtension `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
List holds a list of objects, which may not be known by the server.
func (*List) Descriptor ¶
func (*List) GetItems ¶
func (m *List) GetItems() []*k8s_io_apimachinery_pkg_runtime.RawExtension
func (*List) GetMetadata ¶
func (m *List) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
type LoadBalancerIngress ¶
type LoadBalancerIngress struct {
// IP is set for load-balancer ingress points that are IP based
// (typically GCE or OpenStack load-balancers)
// +optional
Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
// Hostname is set for load-balancer ingress points that are DNS based
// (typically AWS load-balancers)
// +optional
Hostname *string `protobuf:"bytes,2,opt,name=hostname" json:"hostname,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*LoadBalancerIngress) Descriptor() ([]byte, []int)
func (*LoadBalancerIngress) GetHostname ¶
func (m *LoadBalancerIngress) GetHostname() string
func (*LoadBalancerIngress) GetIp ¶
func (m *LoadBalancerIngress) GetIp() string
func (*LoadBalancerIngress) Marshal ¶
func (m *LoadBalancerIngress) Marshal() (dAtA []byte, err error)
func (*LoadBalancerIngress) MarshalTo ¶
func (m *LoadBalancerIngress) MarshalTo(dAtA []byte) (int, error)
func (*LoadBalancerIngress) ProtoMessage ¶
func (*LoadBalancerIngress) ProtoMessage()
func (*LoadBalancerIngress) Reset ¶
func (m *LoadBalancerIngress) Reset()
func (*LoadBalancerIngress) Size ¶
func (m *LoadBalancerIngress) Size() (n int)
func (*LoadBalancerIngress) String ¶
func (m *LoadBalancerIngress) String() string
func (*LoadBalancerIngress) Unmarshal ¶
func (m *LoadBalancerIngress) Unmarshal(dAtA []byte) error
type LoadBalancerStatus ¶
type LoadBalancerStatus struct {
// Ingress is a list containing ingress points for the load-balancer.
// Traffic intended for the service should be sent to these ingress points.
// +optional
Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress" json:"ingress,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
LoadBalancerStatus represents the status of a load-balancer.
func (*LoadBalancerStatus) Descriptor ¶
func (*LoadBalancerStatus) Descriptor() ([]byte, []int)
func (*LoadBalancerStatus) GetIngress ¶
func (m *LoadBalancerStatus) GetIngress() []*LoadBalancerIngress
func (*LoadBalancerStatus) Marshal ¶
func (m *LoadBalancerStatus) Marshal() (dAtA []byte, err error)
func (*LoadBalancerStatus) MarshalTo ¶
func (m *LoadBalancerStatus) MarshalTo(dAtA []byte) (int, error)
func (*LoadBalancerStatus) ProtoMessage ¶
func (*LoadBalancerStatus) ProtoMessage()
func (*LoadBalancerStatus) Reset ¶
func (m *LoadBalancerStatus) Reset()
func (*LoadBalancerStatus) Size ¶
func (m *LoadBalancerStatus) Size() (n int)
func (*LoadBalancerStatus) String ¶
func (m *LoadBalancerStatus) String() string
func (*LoadBalancerStatus) Unmarshal ¶
func (m *LoadBalancerStatus) Unmarshal(dAtA []byte) error
type LocalObjectReference ¶
type LocalObjectReference struct {
// Name of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// TODO: Add other useful fields. apiVersion, kind, uid?
// +optional
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
func (*LocalObjectReference) Descriptor ¶
func (*LocalObjectReference) Descriptor() ([]byte, []int)
func (*LocalObjectReference) GetName ¶
func (m *LocalObjectReference) GetName() string
func (*LocalObjectReference) Marshal ¶
func (m *LocalObjectReference) Marshal() (dAtA []byte, err error)
func (*LocalObjectReference) MarshalTo ¶
func (m *LocalObjectReference) MarshalTo(dAtA []byte) (int, error)
func (*LocalObjectReference) ProtoMessage ¶
func (*LocalObjectReference) ProtoMessage()
func (*LocalObjectReference) Reset ¶
func (m *LocalObjectReference) Reset()
func (*LocalObjectReference) Size ¶
func (m *LocalObjectReference) Size() (n int)
func (*LocalObjectReference) String ¶
func (m *LocalObjectReference) String() string
func (*LocalObjectReference) Unmarshal ¶
func (m *LocalObjectReference) Unmarshal(dAtA []byte) error
type LocalVolumeSource ¶
type LocalVolumeSource struct {
// The full path to the volume on the node.
// It can be either a directory or block device (disk, partition, ...).
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
// 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 fileystem if unspecified.
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Local represents directly-attached storage with node affinity (Beta feature)
func (*LocalVolumeSource) Descriptor ¶
func (*LocalVolumeSource) Descriptor() ([]byte, []int)
func (*LocalVolumeSource) GetFsType ¶ added in v1.4.0
func (m *LocalVolumeSource) GetFsType() string
func (*LocalVolumeSource) GetPath ¶
func (m *LocalVolumeSource) GetPath() string
func (*LocalVolumeSource) Marshal ¶
func (m *LocalVolumeSource) Marshal() (dAtA []byte, err error)
func (*LocalVolumeSource) MarshalTo ¶
func (m *LocalVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*LocalVolumeSource) ProtoMessage ¶
func (*LocalVolumeSource) ProtoMessage()
func (*LocalVolumeSource) Reset ¶
func (m *LocalVolumeSource) Reset()
func (*LocalVolumeSource) Size ¶
func (m *LocalVolumeSource) Size() (n int)
func (*LocalVolumeSource) String ¶
func (m *LocalVolumeSource) String() string
func (*LocalVolumeSource) Unmarshal ¶
func (m *LocalVolumeSource) Unmarshal(dAtA []byte) error
type NFSVolumeSource ¶
type NFSVolumeSource struct {
// Server is the hostname or IP address of the NFS server.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Server *string `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
// Path that is exported by the NFS server.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
// ReadOnly here will force
// the NFS export to be mounted with read-only permissions.
// Defaults to false.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
func (*NFSVolumeSource) Descriptor ¶
func (*NFSVolumeSource) Descriptor() ([]byte, []int)
func (*NFSVolumeSource) GetPath ¶
func (m *NFSVolumeSource) GetPath() string
func (*NFSVolumeSource) GetReadOnly ¶
func (m *NFSVolumeSource) GetReadOnly() bool
func (*NFSVolumeSource) GetServer ¶
func (m *NFSVolumeSource) GetServer() string
func (*NFSVolumeSource) Marshal ¶
func (m *NFSVolumeSource) Marshal() (dAtA []byte, err error)
func (*NFSVolumeSource) ProtoMessage ¶
func (*NFSVolumeSource) ProtoMessage()
func (*NFSVolumeSource) Reset ¶
func (m *NFSVolumeSource) Reset()
func (*NFSVolumeSource) Size ¶
func (m *NFSVolumeSource) Size() (n int)
func (*NFSVolumeSource) String ¶
func (m *NFSVolumeSource) String() string
func (*NFSVolumeSource) Unmarshal ¶
func (m *NFSVolumeSource) Unmarshal(dAtA []byte) error
type Namespace ¶
type Namespace struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the behavior of the Namespace.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *NamespaceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Status describes the current status of a Namespace.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *NamespaceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Namespace provides a scope for Names. Use of multiple namespaces is optional.
func (*Namespace) Descriptor ¶
func (*Namespace) GetMetadata ¶
func (m *Namespace) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Namespace) GetSpec ¶
func (m *Namespace) GetSpec() *NamespaceSpec
func (*Namespace) GetStatus ¶
func (m *Namespace) GetStatus() *NamespaceStatus
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
type NamespaceList ¶
type NamespaceList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Items is the list of Namespace objects in the list.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
Items []*Namespace `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NamespaceList is a list of Namespaces.
func (*NamespaceList) Descriptor ¶
func (*NamespaceList) Descriptor() ([]byte, []int)
func (*NamespaceList) GetItems ¶
func (m *NamespaceList) GetItems() []*Namespace
func (*NamespaceList) GetMetadata ¶
func (m *NamespaceList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*NamespaceList) Marshal ¶
func (m *NamespaceList) Marshal() (dAtA []byte, err error)
func (*NamespaceList) ProtoMessage ¶
func (*NamespaceList) ProtoMessage()
func (*NamespaceList) Reset ¶
func (m *NamespaceList) Reset()
func (*NamespaceList) Size ¶
func (m *NamespaceList) Size() (n int)
func (*NamespaceList) String ¶
func (m *NamespaceList) String() string
func (*NamespaceList) Unmarshal ¶
func (m *NamespaceList) Unmarshal(dAtA []byte) error
type NamespaceSpec ¶
type NamespaceSpec struct {
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
// +optional
Finalizers []string `protobuf:"bytes,1,rep,name=finalizers" json:"finalizers,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NamespaceSpec describes the attributes on a Namespace.
func (*NamespaceSpec) Descriptor ¶
func (*NamespaceSpec) Descriptor() ([]byte, []int)
func (*NamespaceSpec) GetFinalizers ¶
func (m *NamespaceSpec) GetFinalizers() []string
func (*NamespaceSpec) Marshal ¶
func (m *NamespaceSpec) Marshal() (dAtA []byte, err error)
func (*NamespaceSpec) ProtoMessage ¶
func (*NamespaceSpec) ProtoMessage()
func (*NamespaceSpec) Reset ¶
func (m *NamespaceSpec) Reset()
func (*NamespaceSpec) Size ¶
func (m *NamespaceSpec) Size() (n int)
func (*NamespaceSpec) String ¶
func (m *NamespaceSpec) String() string
func (*NamespaceSpec) Unmarshal ¶
func (m *NamespaceSpec) Unmarshal(dAtA []byte) error
type NamespaceStatus ¶
type NamespaceStatus struct {
// Phase is the current lifecycle phase of the namespace.
// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
// +optional
Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NamespaceStatus is information about the current status of a Namespace.
func (*NamespaceStatus) Descriptor ¶
func (*NamespaceStatus) Descriptor() ([]byte, []int)
func (*NamespaceStatus) GetPhase ¶
func (m *NamespaceStatus) GetPhase() string
func (*NamespaceStatus) Marshal ¶
func (m *NamespaceStatus) Marshal() (dAtA []byte, err error)
func (*NamespaceStatus) ProtoMessage ¶
func (*NamespaceStatus) ProtoMessage()
func (*NamespaceStatus) Reset ¶
func (m *NamespaceStatus) Reset()
func (*NamespaceStatus) Size ¶
func (m *NamespaceStatus) Size() (n int)
func (*NamespaceStatus) String ¶
func (m *NamespaceStatus) String() string
func (*NamespaceStatus) Unmarshal ¶
func (m *NamespaceStatus) Unmarshal(dAtA []byte) error
type Node ¶
type Node struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the behavior of a node.
// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *NodeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Most recently observed status of the node.
// Populated by the system.
// Read-only.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *NodeStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).
func (*Node) Descriptor ¶
func (*Node) GetMetadata ¶
func (m *Node) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Node) GetStatus ¶
func (m *Node) GetStatus() *NodeStatus
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
type NodeAddress ¶
type NodeAddress struct {
// Node address type, one of Hostname, ExternalIP or InternalIP.
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// The node address.
Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeAddress contains information for the node's address.
func (*NodeAddress) Descriptor ¶
func (*NodeAddress) Descriptor() ([]byte, []int)
func (*NodeAddress) GetAddress ¶
func (m *NodeAddress) GetAddress() string
func (*NodeAddress) GetType ¶
func (m *NodeAddress) GetType() string
func (*NodeAddress) Marshal ¶
func (m *NodeAddress) Marshal() (dAtA []byte, err error)
func (*NodeAddress) ProtoMessage ¶
func (*NodeAddress) ProtoMessage()
func (*NodeAddress) Reset ¶
func (m *NodeAddress) Reset()
func (*NodeAddress) Size ¶
func (m *NodeAddress) Size() (n int)
func (*NodeAddress) String ¶
func (m *NodeAddress) String() string
func (*NodeAddress) Unmarshal ¶
func (m *NodeAddress) Unmarshal(dAtA []byte) error
type NodeAffinity ¶
type NodeAffinity struct {
// If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
// +optional
RequiredDuringSchedulingIgnoredDuringExecution *NodeSelector `` /* 138-byte string literal not displayed */
// The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
// +optional
PreferredDuringSchedulingIgnoredDuringExecution []*PreferredSchedulingTerm `` /* 140-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
Node affinity is a group of node affinity scheduling rules.
func (*NodeAffinity) Descriptor ¶
func (*NodeAffinity) Descriptor() ([]byte, []int)
func (*NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution ¶
func (m *NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*PreferredSchedulingTerm
func (*NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution ¶
func (m *NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() *NodeSelector
func (*NodeAffinity) Marshal ¶
func (m *NodeAffinity) Marshal() (dAtA []byte, err error)
func (*NodeAffinity) ProtoMessage ¶
func (*NodeAffinity) ProtoMessage()
func (*NodeAffinity) Reset ¶
func (m *NodeAffinity) Reset()
func (*NodeAffinity) Size ¶
func (m *NodeAffinity) Size() (n int)
func (*NodeAffinity) String ¶
func (m *NodeAffinity) String() string
func (*NodeAffinity) Unmarshal ¶
func (m *NodeAffinity) Unmarshal(dAtA []byte) error
type NodeCondition ¶
type NodeCondition struct {
// Type of node condition.
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// Status of the condition, one of True, False, Unknown.
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
// Last time we got an update on a given condition.
// +optional
LastHeartbeatTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,3,opt,name=lastHeartbeatTime" json:"lastHeartbeatTime,omitempty"`
// Last time the condition transit from one status to another.
// +optional
LastTransitionTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
// (brief) reason for the condition's last transition.
// +optional
Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
// Human readable message indicating details about last transition.
// +optional
Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeCondition contains condition information for a node.
func (*NodeCondition) Descriptor ¶
func (*NodeCondition) Descriptor() ([]byte, []int)
func (*NodeCondition) GetLastHeartbeatTime ¶
func (m *NodeCondition) GetLastHeartbeatTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*NodeCondition) GetLastTransitionTime ¶
func (m *NodeCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*NodeCondition) GetMessage ¶
func (m *NodeCondition) GetMessage() string
func (*NodeCondition) GetReason ¶
func (m *NodeCondition) GetReason() string
func (*NodeCondition) GetStatus ¶
func (m *NodeCondition) GetStatus() string
func (*NodeCondition) GetType ¶
func (m *NodeCondition) GetType() string
func (*NodeCondition) Marshal ¶
func (m *NodeCondition) Marshal() (dAtA []byte, err error)
func (*NodeCondition) ProtoMessage ¶
func (*NodeCondition) ProtoMessage()
func (*NodeCondition) Reset ¶
func (m *NodeCondition) Reset()
func (*NodeCondition) Size ¶
func (m *NodeCondition) Size() (n int)
func (*NodeCondition) String ¶
func (m *NodeCondition) String() string
func (*NodeCondition) Unmarshal ¶
func (m *NodeCondition) Unmarshal(dAtA []byte) error
type NodeConfigSource ¶
type NodeConfigSource struct {
// ConfigMap is a reference to a Node's ConfigMap
ConfigMap *ConfigMapNodeConfigSource `protobuf:"bytes,2,opt,name=configMap" json:"configMap,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.
func (*NodeConfigSource) Descriptor ¶
func (*NodeConfigSource) Descriptor() ([]byte, []int)
func (*NodeConfigSource) GetConfigMap ¶ added in v1.4.0
func (m *NodeConfigSource) GetConfigMap() *ConfigMapNodeConfigSource
func (*NodeConfigSource) Marshal ¶
func (m *NodeConfigSource) Marshal() (dAtA []byte, err error)
func (*NodeConfigSource) ProtoMessage ¶
func (*NodeConfigSource) ProtoMessage()
func (*NodeConfigSource) Reset ¶
func (m *NodeConfigSource) Reset()
func (*NodeConfigSource) Size ¶
func (m *NodeConfigSource) Size() (n int)
func (*NodeConfigSource) String ¶
func (m *NodeConfigSource) String() string
func (*NodeConfigSource) Unmarshal ¶
func (m *NodeConfigSource) Unmarshal(dAtA []byte) error
type NodeConfigStatus ¶ added in v1.4.0
type NodeConfigStatus struct {
// Assigned reports the checkpointed config the node will try to use.
// When Node.Spec.ConfigSource is updated, the node checkpoints the associated
// config payload to local disk, along with a record indicating intended
// config. The node refers to this record to choose its config checkpoint, and
// reports this record in Assigned. Assigned only updates in the status after
// the record has been checkpointed to disk. When the Kubelet is restarted,
// it tries to make the Assigned config the Active config by loading and
// validating the checkpointed payload identified by Assigned.
// +optional
Assigned *NodeConfigSource `protobuf:"bytes,1,opt,name=assigned" json:"assigned,omitempty"`
// Active reports the checkpointed config the node is actively using.
// Active will represent either the current version of the Assigned config,
// or the current LastKnownGood config, depending on whether attempting to use the
// Assigned config results in an error.
// +optional
Active *NodeConfigSource `protobuf:"bytes,2,opt,name=active" json:"active,omitempty"`
// LastKnownGood reports the checkpointed config the node will fall back to
// when it encounters an error attempting to use the Assigned config.
// The Assigned config becomes the LastKnownGood config when the node determines
// that the Assigned config is stable and correct.
// This is currently implemented as a 10-minute soak period starting when the local
// record of Assigned config is updated. If the Assigned config is Active at the end
// of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is
// reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil,
// because the local default config is always assumed good.
// You should not make assumptions about the node's method of determining config stability
// and correctness, as this may change or become configurable in the future.
// +optional
LastKnownGood *NodeConfigSource `protobuf:"bytes,3,opt,name=lastKnownGood" json:"lastKnownGood,omitempty"`
// Error describes any problems reconciling the Spec.ConfigSource to the Active config.
// Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned
// record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting
// to load or validate the Assigned config, etc.
// Errors may occur at different points while syncing config. Earlier errors (e.g. download or
// checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across
// Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in
// a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error
// by fixing the config assigned in Spec.ConfigSource.
// You can find additional information for debugging by searching the error message in the Kubelet log.
// Error is a human-readable description of the error state; machines can check whether or not Error
// is empty, but should not rely on the stability of the Error text across Kubelet versions.
// +optional
Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
func (*NodeConfigStatus) Descriptor ¶ added in v1.4.0
func (*NodeConfigStatus) Descriptor() ([]byte, []int)
func (*NodeConfigStatus) GetActive ¶ added in v1.4.0
func (m *NodeConfigStatus) GetActive() *NodeConfigSource
func (*NodeConfigStatus) GetAssigned ¶ added in v1.4.0
func (m *NodeConfigStatus) GetAssigned() *NodeConfigSource
func (*NodeConfigStatus) GetError ¶ added in v1.4.0
func (m *NodeConfigStatus) GetError() string
func (*NodeConfigStatus) GetLastKnownGood ¶ added in v1.4.0
func (m *NodeConfigStatus) GetLastKnownGood() *NodeConfigSource
func (*NodeConfigStatus) Marshal ¶ added in v1.4.0
func (m *NodeConfigStatus) Marshal() (dAtA []byte, err error)
func (*NodeConfigStatus) MarshalTo ¶ added in v1.4.0
func (m *NodeConfigStatus) MarshalTo(dAtA []byte) (int, error)
func (*NodeConfigStatus) ProtoMessage ¶ added in v1.4.0
func (*NodeConfigStatus) ProtoMessage()
func (*NodeConfigStatus) Reset ¶ added in v1.4.0
func (m *NodeConfigStatus) Reset()
func (*NodeConfigStatus) Size ¶ added in v1.4.0
func (m *NodeConfigStatus) Size() (n int)
func (*NodeConfigStatus) String ¶ added in v1.4.0
func (m *NodeConfigStatus) String() string
func (*NodeConfigStatus) Unmarshal ¶ added in v1.4.0
func (m *NodeConfigStatus) Unmarshal(dAtA []byte) error
type NodeDaemonEndpoints ¶
type NodeDaemonEndpoints struct {
// Endpoint on which Kubelet is listening.
// +optional
KubeletEndpoint *DaemonEndpoint `protobuf:"bytes,1,opt,name=kubeletEndpoint" json:"kubeletEndpoint,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeDaemonEndpoints lists ports opened by daemons running on the Node.
func (*NodeDaemonEndpoints) Descriptor ¶
func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int)
func (*NodeDaemonEndpoints) GetKubeletEndpoint ¶
func (m *NodeDaemonEndpoints) GetKubeletEndpoint() *DaemonEndpoint
func (*NodeDaemonEndpoints) Marshal ¶
func (m *NodeDaemonEndpoints) Marshal() (dAtA []byte, err error)
func (*NodeDaemonEndpoints) MarshalTo ¶
func (m *NodeDaemonEndpoints) MarshalTo(dAtA []byte) (int, error)
func (*NodeDaemonEndpoints) ProtoMessage ¶
func (*NodeDaemonEndpoints) ProtoMessage()
func (*NodeDaemonEndpoints) Reset ¶
func (m *NodeDaemonEndpoints) Reset()
func (*NodeDaemonEndpoints) Size ¶
func (m *NodeDaemonEndpoints) Size() (n int)
func (*NodeDaemonEndpoints) String ¶
func (m *NodeDaemonEndpoints) String() string
func (*NodeDaemonEndpoints) Unmarshal ¶
func (m *NodeDaemonEndpoints) Unmarshal(dAtA []byte) error
type NodeList ¶
type NodeList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of nodes
Items []*Node `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeList is the whole list of all Nodes which have been registered with master.
func (*NodeList) Descriptor ¶
func (*NodeList) GetMetadata ¶
func (m *NodeList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*NodeList) ProtoMessage ¶
func (*NodeList) ProtoMessage()
type NodeProxyOptions ¶
type NodeProxyOptions struct {
// Path is the URL path to use for the current proxy request to node.
// +optional
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeProxyOptions is the query options to a Node's proxy call.
func (*NodeProxyOptions) Descriptor ¶
func (*NodeProxyOptions) Descriptor() ([]byte, []int)
func (*NodeProxyOptions) GetPath ¶
func (m *NodeProxyOptions) GetPath() string
func (*NodeProxyOptions) Marshal ¶
func (m *NodeProxyOptions) Marshal() (dAtA []byte, err error)
func (*NodeProxyOptions) ProtoMessage ¶
func (*NodeProxyOptions) ProtoMessage()
func (*NodeProxyOptions) Reset ¶
func (m *NodeProxyOptions) Reset()
func (*NodeProxyOptions) Size ¶
func (m *NodeProxyOptions) Size() (n int)
func (*NodeProxyOptions) String ¶
func (m *NodeProxyOptions) String() string
func (*NodeProxyOptions) Unmarshal ¶
func (m *NodeProxyOptions) Unmarshal(dAtA []byte) error
type NodeResources ¶
type NodeResources struct {
// Capacity represents the available resources of a node
Capacity map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 136-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
NodeResources is an object for conveying resource information about a node. see http://releases.k8s.io/HEAD/docs/design/resources.md for more details.
func (*NodeResources) Descriptor ¶
func (*NodeResources) Descriptor() ([]byte, []int)
func (*NodeResources) GetCapacity ¶
func (m *NodeResources) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*NodeResources) Marshal ¶
func (m *NodeResources) Marshal() (dAtA []byte, err error)
func (*NodeResources) ProtoMessage ¶
func (*NodeResources) ProtoMessage()
func (*NodeResources) Reset ¶
func (m *NodeResources) Reset()
func (*NodeResources) Size ¶
func (m *NodeResources) Size() (n int)
func (*NodeResources) String ¶
func (m *NodeResources) String() string
func (*NodeResources) Unmarshal ¶
func (m *NodeResources) Unmarshal(dAtA []byte) error
type NodeSelector ¶
type NodeSelector struct {
// Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []*NodeSelectorTerm `protobuf:"bytes,1,rep,name=nodeSelectorTerms" json:"nodeSelectorTerms,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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.
func (*NodeSelector) Descriptor ¶
func (*NodeSelector) Descriptor() ([]byte, []int)
func (*NodeSelector) GetNodeSelectorTerms ¶
func (m *NodeSelector) GetNodeSelectorTerms() []*NodeSelectorTerm
func (*NodeSelector) Marshal ¶
func (m *NodeSelector) Marshal() (dAtA []byte, err error)
func (*NodeSelector) ProtoMessage ¶
func (*NodeSelector) ProtoMessage()
func (*NodeSelector) Reset ¶
func (m *NodeSelector) Reset()
func (*NodeSelector) Size ¶
func (m *NodeSelector) Size() (n int)
func (*NodeSelector) String ¶
func (m *NodeSelector) String() string
func (*NodeSelector) Unmarshal ¶
func (m *NodeSelector) Unmarshal(dAtA []byte) error
type NodeSelectorRequirement ¶
type NodeSelectorRequirement struct {
// The label key that the selector applies to.
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
// Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
// An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
// +optional
Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
func (*NodeSelectorRequirement) Descriptor ¶
func (*NodeSelectorRequirement) Descriptor() ([]byte, []int)
func (*NodeSelectorRequirement) GetKey ¶
func (m *NodeSelectorRequirement) GetKey() string
func (*NodeSelectorRequirement) GetOperator ¶
func (m *NodeSelectorRequirement) GetOperator() string
func (*NodeSelectorRequirement) GetValues ¶
func (m *NodeSelectorRequirement) GetValues() []string
func (*NodeSelectorRequirement) Marshal ¶
func (m *NodeSelectorRequirement) Marshal() (dAtA []byte, err error)
func (*NodeSelectorRequirement) MarshalTo ¶
func (m *NodeSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
func (*NodeSelectorRequirement) ProtoMessage ¶
func (*NodeSelectorRequirement) ProtoMessage()
func (*NodeSelectorRequirement) Reset ¶
func (m *NodeSelectorRequirement) Reset()
func (*NodeSelectorRequirement) Size ¶
func (m *NodeSelectorRequirement) Size() (n int)
func (*NodeSelectorRequirement) String ¶
func (m *NodeSelectorRequirement) String() string
func (*NodeSelectorRequirement) Unmarshal ¶
func (m *NodeSelectorRequirement) Unmarshal(dAtA []byte) error
type NodeSelectorTerm ¶
type NodeSelectorTerm struct {
// A list of node selector requirements by node's labels.
// +optional
MatchExpressions []*NodeSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions" json:"matchExpressions,omitempty"`
// A list of node selector requirements by node's fields.
// +optional
MatchFields []*NodeSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields" json:"matchFields,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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.
func (*NodeSelectorTerm) Descriptor ¶
func (*NodeSelectorTerm) Descriptor() ([]byte, []int)
func (*NodeSelectorTerm) GetMatchExpressions ¶
func (m *NodeSelectorTerm) GetMatchExpressions() []*NodeSelectorRequirement
func (*NodeSelectorTerm) GetMatchFields ¶ added in v1.4.0
func (m *NodeSelectorTerm) GetMatchFields() []*NodeSelectorRequirement
func (*NodeSelectorTerm) Marshal ¶
func (m *NodeSelectorTerm) Marshal() (dAtA []byte, err error)
func (*NodeSelectorTerm) ProtoMessage ¶
func (*NodeSelectorTerm) ProtoMessage()
func (*NodeSelectorTerm) Reset ¶
func (m *NodeSelectorTerm) Reset()
func (*NodeSelectorTerm) Size ¶
func (m *NodeSelectorTerm) Size() (n int)
func (*NodeSelectorTerm) String ¶
func (m *NodeSelectorTerm) String() string
func (*NodeSelectorTerm) Unmarshal ¶
func (m *NodeSelectorTerm) Unmarshal(dAtA []byte) error
type NodeSpec ¶
type NodeSpec struct {
// PodCIDR represents the pod IP range assigned to the node.
// +optional
PodCIDR *string `protobuf:"bytes,1,opt,name=podCIDR" json:"podCIDR,omitempty"`
// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
// +optional
ProviderID *string `protobuf:"bytes,3,opt,name=providerID" json:"providerID,omitempty"`
// Unschedulable controls node schedulability of new pods. By default, node is schedulable.
// More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
// +optional
Unschedulable *bool `protobuf:"varint,4,opt,name=unschedulable" json:"unschedulable,omitempty"`
// If specified, the node's taints.
// +optional
Taints []*Taint `protobuf:"bytes,5,rep,name=taints" json:"taints,omitempty"`
// If specified, the source to get node configuration from
// The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
// +optional
ConfigSource *NodeConfigSource `protobuf:"bytes,6,opt,name=configSource" json:"configSource,omitempty"`
// Deprecated. Not all kubelets will set this field. Remove field after 1.13.
// see: https://issues.k8s.io/61966
// +optional
ExternalID *string `protobuf:"bytes,2,opt,name=externalID" json:"externalID,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeSpec describes the attributes that a node is created with.
func (*NodeSpec) Descriptor ¶
func (*NodeSpec) GetConfigSource ¶
func (m *NodeSpec) GetConfigSource() *NodeConfigSource
func (*NodeSpec) GetExternalID ¶
func (*NodeSpec) GetPodCIDR ¶
func (*NodeSpec) GetProviderID ¶
func (*NodeSpec) GetUnschedulable ¶
func (*NodeSpec) ProtoMessage ¶
func (*NodeSpec) ProtoMessage()
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]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 136-byte string literal not displayed */
// Allocatable represents the resources of a node that are available for scheduling.
// Defaults to Capacity.
// +optional
Allocatable map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 142-byte string literal not displayed */
// NodePhase is the recently observed lifecycle phase of the node.
// More info: https://kubernetes.io/docs/concepts/nodes/node/#phase
// The field is never populated, and now is deprecated.
// +optional
Phase *string `protobuf:"bytes,3,opt,name=phase" json:"phase,omitempty"`
// Conditions is an array of current observed node conditions.
// More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []*NodeCondition `protobuf:"bytes,4,rep,name=conditions" json:"conditions,omitempty"`
// List of addresses reachable to the node.
// Queried from cloud provider, if available.
// More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Addresses []*NodeAddress `protobuf:"bytes,5,rep,name=addresses" json:"addresses,omitempty"`
// Endpoints of daemons running on the Node.
// +optional
DaemonEndpoints *NodeDaemonEndpoints `protobuf:"bytes,6,opt,name=daemonEndpoints" json:"daemonEndpoints,omitempty"`
// Set of ids/uuids to uniquely identify the node.
// More info: https://kubernetes.io/docs/concepts/nodes/node/#info
// +optional
NodeInfo *NodeSystemInfo `protobuf:"bytes,7,opt,name=nodeInfo" json:"nodeInfo,omitempty"`
// List of container images on this node
// +optional
Images []*ContainerImage `protobuf:"bytes,8,rep,name=images" json:"images,omitempty"`
// List of attachable volumes in use (mounted) by the node.
// +optional
VolumesInUse []string `protobuf:"bytes,9,rep,name=volumesInUse" json:"volumesInUse,omitempty"`
// List of volumes that are attached to the node.
// +optional
VolumesAttached []*AttachedVolume `protobuf:"bytes,10,rep,name=volumesAttached" json:"volumesAttached,omitempty"`
// Status of the config assigned to the node via the dynamic Kubelet config feature.
// +optional
Config *NodeConfigStatus `protobuf:"bytes,11,opt,name=config" json:"config,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeStatus is information about the current status of a node.
func (*NodeStatus) Descriptor ¶
func (*NodeStatus) Descriptor() ([]byte, []int)
func (*NodeStatus) GetAddresses ¶
func (m *NodeStatus) GetAddresses() []*NodeAddress
func (*NodeStatus) GetAllocatable ¶
func (m *NodeStatus) GetAllocatable() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*NodeStatus) GetCapacity ¶
func (m *NodeStatus) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*NodeStatus) GetConditions ¶
func (m *NodeStatus) GetConditions() []*NodeCondition
func (*NodeStatus) GetConfig ¶ added in v1.4.0
func (m *NodeStatus) GetConfig() *NodeConfigStatus
func (*NodeStatus) GetDaemonEndpoints ¶
func (m *NodeStatus) GetDaemonEndpoints() *NodeDaemonEndpoints
func (*NodeStatus) GetImages ¶
func (m *NodeStatus) GetImages() []*ContainerImage
func (*NodeStatus) GetNodeInfo ¶
func (m *NodeStatus) GetNodeInfo() *NodeSystemInfo
func (*NodeStatus) GetPhase ¶
func (m *NodeStatus) GetPhase() string
func (*NodeStatus) GetVolumesAttached ¶
func (m *NodeStatus) GetVolumesAttached() []*AttachedVolume
func (*NodeStatus) GetVolumesInUse ¶
func (m *NodeStatus) GetVolumesInUse() []string
func (*NodeStatus) Marshal ¶
func (m *NodeStatus) Marshal() (dAtA []byte, err error)
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) Reset ¶
func (m *NodeStatus) Reset()
func (*NodeStatus) Size ¶
func (m *NodeStatus) Size() (n int)
func (*NodeStatus) String ¶
func (m *NodeStatus) String() string
func (*NodeStatus) Unmarshal ¶
func (m *NodeStatus) Unmarshal(dAtA []byte) error
type NodeSystemInfo ¶
type NodeSystemInfo struct {
// MachineID reported by the node. For unique machine identification
// in the cluster this field is preferred. Learn more from man(5)
// machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
MachineID *string `protobuf:"bytes,1,opt,name=machineID" json:"machineID,omitempty"`
// SystemUUID reported by the node. For unique machine identification
// MachineID is preferred. This field is specific to Red Hat hosts
// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
SystemUUID *string `protobuf:"bytes,2,opt,name=systemUUID" json:"systemUUID,omitempty"`
// Boot ID reported by the node.
BootID *string `protobuf:"bytes,3,opt,name=bootID" json:"bootID,omitempty"`
// Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
KernelVersion *string `protobuf:"bytes,4,opt,name=kernelVersion" json:"kernelVersion,omitempty"`
// OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
OsImage *string `protobuf:"bytes,5,opt,name=osImage" json:"osImage,omitempty"`
// ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
ContainerRuntimeVersion *string `protobuf:"bytes,6,opt,name=containerRuntimeVersion" json:"containerRuntimeVersion,omitempty"`
// Kubelet Version reported by the node.
KubeletVersion *string `protobuf:"bytes,7,opt,name=kubeletVersion" json:"kubeletVersion,omitempty"`
// KubeProxy Version reported by the node.
KubeProxyVersion *string `protobuf:"bytes,8,opt,name=kubeProxyVersion" json:"kubeProxyVersion,omitempty"`
// The Operating System reported by the node
OperatingSystem *string `protobuf:"bytes,9,opt,name=operatingSystem" json:"operatingSystem,omitempty"`
// The Architecture reported by the node
Architecture *string `protobuf:"bytes,10,opt,name=architecture" json:"architecture,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
func (*NodeSystemInfo) Descriptor ¶
func (*NodeSystemInfo) Descriptor() ([]byte, []int)
func (*NodeSystemInfo) GetArchitecture ¶
func (m *NodeSystemInfo) GetArchitecture() string
func (*NodeSystemInfo) GetBootID ¶
func (m *NodeSystemInfo) GetBootID() string
func (*NodeSystemInfo) GetContainerRuntimeVersion ¶
func (m *NodeSystemInfo) GetContainerRuntimeVersion() string
func (*NodeSystemInfo) GetKernelVersion ¶
func (m *NodeSystemInfo) GetKernelVersion() string
func (*NodeSystemInfo) GetKubeProxyVersion ¶
func (m *NodeSystemInfo) GetKubeProxyVersion() string
func (*NodeSystemInfo) GetKubeletVersion ¶
func (m *NodeSystemInfo) GetKubeletVersion() string
func (*NodeSystemInfo) GetMachineID ¶
func (m *NodeSystemInfo) GetMachineID() string
func (*NodeSystemInfo) GetOperatingSystem ¶
func (m *NodeSystemInfo) GetOperatingSystem() string
func (*NodeSystemInfo) GetOsImage ¶
func (m *NodeSystemInfo) GetOsImage() string
func (*NodeSystemInfo) GetSystemUUID ¶
func (m *NodeSystemInfo) GetSystemUUID() string
func (*NodeSystemInfo) Marshal ¶
func (m *NodeSystemInfo) Marshal() (dAtA []byte, err error)
func (*NodeSystemInfo) ProtoMessage ¶
func (*NodeSystemInfo) ProtoMessage()
func (*NodeSystemInfo) Reset ¶
func (m *NodeSystemInfo) Reset()
func (*NodeSystemInfo) Size ¶
func (m *NodeSystemInfo) Size() (n int)
func (*NodeSystemInfo) String ¶
func (m *NodeSystemInfo) String() string
func (*NodeSystemInfo) Unmarshal ¶
func (m *NodeSystemInfo) Unmarshal(dAtA []byte) error
type ObjectFieldSelector ¶
type ObjectFieldSelector struct {
// Version of the schema the FieldPath is written in terms of, defaults to "v1".
// +optional
ApiVersion *string `protobuf:"bytes,1,opt,name=apiVersion" json:"apiVersion,omitempty"`
// Path of the field to select in the specified API version.
FieldPath *string `protobuf:"bytes,2,opt,name=fieldPath" json:"fieldPath,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ObjectFieldSelector selects an APIVersioned field of an object.
func (*ObjectFieldSelector) Descriptor ¶
func (*ObjectFieldSelector) Descriptor() ([]byte, []int)
func (*ObjectFieldSelector) GetApiVersion ¶
func (m *ObjectFieldSelector) GetApiVersion() string
func (*ObjectFieldSelector) GetFieldPath ¶
func (m *ObjectFieldSelector) GetFieldPath() string
func (*ObjectFieldSelector) Marshal ¶
func (m *ObjectFieldSelector) Marshal() (dAtA []byte, err error)
func (*ObjectFieldSelector) MarshalTo ¶
func (m *ObjectFieldSelector) MarshalTo(dAtA []byte) (int, error)
func (*ObjectFieldSelector) ProtoMessage ¶
func (*ObjectFieldSelector) ProtoMessage()
func (*ObjectFieldSelector) Reset ¶
func (m *ObjectFieldSelector) Reset()
func (*ObjectFieldSelector) Size ¶
func (m *ObjectFieldSelector) Size() (n int)
func (*ObjectFieldSelector) String ¶
func (m *ObjectFieldSelector) String() string
func (*ObjectFieldSelector) Unmarshal ¶
func (m *ObjectFieldSelector) Unmarshal(dAtA []byte) error
type ObjectReference ¶
type ObjectReference struct {
// Kind of the referent.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
// Namespace of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
// +optional
Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
// Name of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// +optional
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
// UID of the referent.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
// +optional
Uid *string `protobuf:"bytes,4,opt,name=uid" json:"uid,omitempty"`
// API version of the referent.
// +optional
ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion" json:"apiVersion,omitempty"`
// Specific resourceVersion to which this reference is made, if any.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
// +optional
ResourceVersion *string `protobuf:"bytes,6,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
// If referring to a piece of an object instead of an entire object, this string
// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
// For example, if the object reference is to a container within a pod, this would take on a value like:
// "spec.containers{name}" (where "name" refers to the name of the container that triggered
// the event) or if no container name is specified "spec.containers[2]" (container with
// index 2 in this pod). This syntax is chosen only to have some well-defined way of
// referencing a part of an object.
// TODO: this design is not final and this field is subject to change in the future.
// +optional
FieldPath *string `protobuf:"bytes,7,opt,name=fieldPath" json:"fieldPath,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ObjectReference contains enough information to let you inspect or modify the referred object. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ObjectReference) Descriptor ¶
func (*ObjectReference) Descriptor() ([]byte, []int)
func (*ObjectReference) GetApiVersion ¶
func (m *ObjectReference) GetApiVersion() string
func (*ObjectReference) GetFieldPath ¶
func (m *ObjectReference) GetFieldPath() string
func (*ObjectReference) GetKind ¶
func (m *ObjectReference) GetKind() string
func (*ObjectReference) GetName ¶
func (m *ObjectReference) GetName() string
func (*ObjectReference) GetNamespace ¶
func (m *ObjectReference) GetNamespace() string
func (*ObjectReference) GetResourceVersion ¶
func (m *ObjectReference) GetResourceVersion() string
func (*ObjectReference) GetUid ¶
func (m *ObjectReference) GetUid() string
func (*ObjectReference) Marshal ¶
func (m *ObjectReference) Marshal() (dAtA []byte, err error)
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) Reset ¶
func (m *ObjectReference) Reset()
func (*ObjectReference) Size ¶
func (m *ObjectReference) Size() (n int)
func (*ObjectReference) String ¶
func (m *ObjectReference) String() string
func (*ObjectReference) Unmarshal ¶
func (m *ObjectReference) Unmarshal(dAtA []byte) error
type PersistentVolume ¶
type PersistentVolume struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines a specification of a persistent volume owned by the cluster.
// Provisioned by an administrator.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
// +optional
Spec *PersistentVolumeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Status represents the current information/status for the persistent volume.
// Populated by the system.
// Read-only.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
// +optional
Status *PersistentVolumeStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PersistentVolume) Descriptor() ([]byte, []int)
func (*PersistentVolume) GetMetadata ¶
func (m *PersistentVolume) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*PersistentVolume) GetSpec ¶
func (m *PersistentVolume) GetSpec() *PersistentVolumeSpec
func (*PersistentVolume) GetStatus ¶
func (m *PersistentVolume) GetStatus() *PersistentVolumeStatus
func (*PersistentVolume) Marshal ¶
func (m *PersistentVolume) Marshal() (dAtA []byte, err error)
func (*PersistentVolume) ProtoMessage ¶
func (*PersistentVolume) ProtoMessage()
func (*PersistentVolume) Reset ¶
func (m *PersistentVolume) Reset()
func (*PersistentVolume) Size ¶
func (m *PersistentVolume) Size() (n int)
func (*PersistentVolume) String ¶
func (m *PersistentVolume) String() string
func (*PersistentVolume) Unmarshal ¶
func (m *PersistentVolume) Unmarshal(dAtA []byte) error
type PersistentVolumeClaim ¶
type PersistentVolumeClaim struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the desired characteristics of a volume requested by a pod author.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
// +optional
Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Status represents the current information/status of a persistent volume claim.
// Read-only.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
// +optional
Status *PersistentVolumeClaimStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeClaim is a user's request for and claim to a persistent volume
func (*PersistentVolumeClaim) Descriptor ¶
func (*PersistentVolumeClaim) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaim) GetMetadata ¶
func (m *PersistentVolumeClaim) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*PersistentVolumeClaim) GetSpec ¶
func (m *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec
func (*PersistentVolumeClaim) GetStatus ¶
func (m *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus
func (*PersistentVolumeClaim) Marshal ¶
func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaim) MarshalTo ¶
func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaim) ProtoMessage ¶
func (*PersistentVolumeClaim) ProtoMessage()
func (*PersistentVolumeClaim) Reset ¶
func (m *PersistentVolumeClaim) Reset()
func (*PersistentVolumeClaim) Size ¶
func (m *PersistentVolumeClaim) Size() (n int)
func (*PersistentVolumeClaim) String ¶
func (m *PersistentVolumeClaim) String() string
func (*PersistentVolumeClaim) Unmarshal ¶
func (m *PersistentVolumeClaim) Unmarshal(dAtA []byte) error
type PersistentVolumeClaimCondition ¶
type PersistentVolumeClaimCondition struct {
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
// Last time we probed the condition.
// +optional
LastProbeTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,3,opt,name=lastProbeTime" json:"lastProbeTime,omitempty"`
// Last time the condition transitioned from one status to another.
// +optional
LastTransitionTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
// Unique, this should be a short, machine understandable string that gives the reason
// for condition's last transition. If it reports "ResizeStarted" that means the underlying
// persistent volume is being resized.
// +optional
Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
// Human-readable message indicating details about last transition.
// +optional
Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeClaimCondition contails details about state of pvc
func (*PersistentVolumeClaimCondition) Descriptor ¶
func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaimCondition) GetLastProbeTime ¶
func (m *PersistentVolumeClaimCondition) GetLastProbeTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PersistentVolumeClaimCondition) GetLastTransitionTime ¶
func (m *PersistentVolumeClaimCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PersistentVolumeClaimCondition) GetMessage ¶
func (m *PersistentVolumeClaimCondition) GetMessage() string
func (*PersistentVolumeClaimCondition) GetReason ¶
func (m *PersistentVolumeClaimCondition) GetReason() string
func (*PersistentVolumeClaimCondition) GetStatus ¶
func (m *PersistentVolumeClaimCondition) GetStatus() string
func (*PersistentVolumeClaimCondition) GetType ¶
func (m *PersistentVolumeClaimCondition) GetType() string
func (*PersistentVolumeClaimCondition) Marshal ¶
func (m *PersistentVolumeClaimCondition) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaimCondition) MarshalTo ¶
func (m *PersistentVolumeClaimCondition) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaimCondition) ProtoMessage ¶
func (*PersistentVolumeClaimCondition) ProtoMessage()
func (*PersistentVolumeClaimCondition) Reset ¶
func (m *PersistentVolumeClaimCondition) Reset()
func (*PersistentVolumeClaimCondition) Size ¶
func (m *PersistentVolumeClaimCondition) Size() (n int)
func (*PersistentVolumeClaimCondition) String ¶
func (m *PersistentVolumeClaimCondition) String() string
func (*PersistentVolumeClaimCondition) Unmarshal ¶
func (m *PersistentVolumeClaimCondition) Unmarshal(dAtA []byte) error
type PersistentVolumeClaimList ¶
type PersistentVolumeClaimList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// A list of persistent volume claims.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
Items []*PersistentVolumeClaim `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeClaimList is a list of PersistentVolumeClaim items.
func (*PersistentVolumeClaimList) Descriptor ¶
func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaimList) GetItems ¶
func (m *PersistentVolumeClaimList) GetItems() []*PersistentVolumeClaim
func (*PersistentVolumeClaimList) GetMetadata ¶
func (m *PersistentVolumeClaimList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*PersistentVolumeClaimList) Marshal ¶
func (m *PersistentVolumeClaimList) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaimList) MarshalTo ¶
func (m *PersistentVolumeClaimList) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaimList) ProtoMessage ¶
func (*PersistentVolumeClaimList) ProtoMessage()
func (*PersistentVolumeClaimList) Reset ¶
func (m *PersistentVolumeClaimList) Reset()
func (*PersistentVolumeClaimList) Size ¶
func (m *PersistentVolumeClaimList) Size() (n int)
func (*PersistentVolumeClaimList) String ¶
func (m *PersistentVolumeClaimList) String() string
func (*PersistentVolumeClaimList) Unmarshal ¶
func (m *PersistentVolumeClaimList) Unmarshal(dAtA []byte) error
type PersistentVolumeClaimSpec ¶
type PersistentVolumeClaimSpec struct {
// AccessModes contains the desired access modes the volume should have.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
// +optional
AccessModes []string `protobuf:"bytes,1,rep,name=accessModes" json:"accessModes,omitempty"`
// A label query over volumes to consider for binding.
// +optional
Selector *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector `protobuf:"bytes,4,opt,name=selector" json:"selector,omitempty"`
// Resources represents the minimum resources the volume should have.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
// +optional
Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty"`
// VolumeName is the binding reference to the PersistentVolume backing this claim.
// +optional
VolumeName *string `protobuf:"bytes,3,opt,name=volumeName" json:"volumeName,omitempty"`
// Name of the StorageClass required by the claim.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
// +optional
StorageClassName *string `protobuf:"bytes,5,opt,name=storageClassName" json:"storageClassName,omitempty"`
// volumeMode defines what type of volume is required by the claim.
// Value of Filesystem is implied when not included in claim spec.
// This is a beta feature.
// +optional
VolumeMode *string `protobuf:"bytes,6,opt,name=volumeMode" json:"volumeMode,omitempty"`
// This field requires the VolumeSnapshotDataSource alpha feature gate to be
// enabled and currently VolumeSnapshot is the only supported data source.
// If the provisioner can support VolumeSnapshot data source, it will create
// a new volume and data will be restored to the volume at the same time.
// If the provisioner does not support VolumeSnapshot data source, volume will
// not be created and the failure will be reported as an event.
// In the future, we plan to support more data source types and the behavior
// of the provisioner may change.
// +optional
DataSource *TypedLocalObjectReference `protobuf:"bytes,7,opt,name=dataSource" json:"dataSource,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes
func (*PersistentVolumeClaimSpec) Descriptor ¶
func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaimSpec) GetAccessModes ¶
func (m *PersistentVolumeClaimSpec) GetAccessModes() []string
func (*PersistentVolumeClaimSpec) GetDataSource ¶ added in v1.4.0
func (m *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference
func (*PersistentVolumeClaimSpec) GetResources ¶
func (m *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements
func (*PersistentVolumeClaimSpec) GetSelector ¶
func (m *PersistentVolumeClaimSpec) GetSelector() *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector
func (*PersistentVolumeClaimSpec) GetStorageClassName ¶
func (m *PersistentVolumeClaimSpec) GetStorageClassName() string
func (*PersistentVolumeClaimSpec) GetVolumeMode ¶
func (m *PersistentVolumeClaimSpec) GetVolumeMode() string
func (*PersistentVolumeClaimSpec) GetVolumeName ¶
func (m *PersistentVolumeClaimSpec) GetVolumeName() string
func (*PersistentVolumeClaimSpec) Marshal ¶
func (m *PersistentVolumeClaimSpec) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaimSpec) MarshalTo ¶
func (m *PersistentVolumeClaimSpec) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaimSpec) ProtoMessage ¶
func (*PersistentVolumeClaimSpec) ProtoMessage()
func (*PersistentVolumeClaimSpec) Reset ¶
func (m *PersistentVolumeClaimSpec) Reset()
func (*PersistentVolumeClaimSpec) Size ¶
func (m *PersistentVolumeClaimSpec) Size() (n int)
func (*PersistentVolumeClaimSpec) String ¶
func (m *PersistentVolumeClaimSpec) String() string
func (*PersistentVolumeClaimSpec) Unmarshal ¶
func (m *PersistentVolumeClaimSpec) Unmarshal(dAtA []byte) error
type PersistentVolumeClaimStatus ¶
type PersistentVolumeClaimStatus struct {
// Phase represents the current phase of PersistentVolumeClaim.
// +optional
Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
// AccessModes contains the actual access modes the volume backing the PVC has.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
// +optional
AccessModes []string `protobuf:"bytes,2,rep,name=accessModes" json:"accessModes,omitempty"`
// Represents the actual resources of the underlying volume.
// +optional
Capacity map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 136-byte string literal not displayed */
// Current Condition of persistent volume claim. If underlying persistent volume is being
// resized then the Condition will be set to 'ResizeStarted'.
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []*PersistentVolumeClaimCondition `protobuf:"bytes,4,rep,name=conditions" json:"conditions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeClaimStatus is the current status of a persistent volume claim.
func (*PersistentVolumeClaimStatus) Descriptor ¶
func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaimStatus) GetAccessModes ¶
func (m *PersistentVolumeClaimStatus) GetAccessModes() []string
func (*PersistentVolumeClaimStatus) GetCapacity ¶
func (m *PersistentVolumeClaimStatus) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*PersistentVolumeClaimStatus) GetConditions ¶
func (m *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition
func (*PersistentVolumeClaimStatus) GetPhase ¶
func (m *PersistentVolumeClaimStatus) GetPhase() string
func (*PersistentVolumeClaimStatus) Marshal ¶
func (m *PersistentVolumeClaimStatus) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaimStatus) MarshalTo ¶
func (m *PersistentVolumeClaimStatus) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaimStatus) ProtoMessage ¶
func (*PersistentVolumeClaimStatus) ProtoMessage()
func (*PersistentVolumeClaimStatus) Reset ¶
func (m *PersistentVolumeClaimStatus) Reset()
func (*PersistentVolumeClaimStatus) Size ¶
func (m *PersistentVolumeClaimStatus) Size() (n int)
func (*PersistentVolumeClaimStatus) String ¶
func (m *PersistentVolumeClaimStatus) String() string
func (*PersistentVolumeClaimStatus) Unmarshal ¶
func (m *PersistentVolumeClaimStatus) Unmarshal(dAtA []byte) error
type PersistentVolumeClaimVolumeSource ¶
type PersistentVolumeClaimVolumeSource struct {
// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
ClaimName *string `protobuf:"bytes,1,opt,name=claimName" json:"claimName,omitempty"`
// Will force the ReadOnly setting in VolumeMounts.
// Default false.
// +optional
ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaimVolumeSource) GetClaimName ¶
func (m *PersistentVolumeClaimVolumeSource) GetClaimName() string
func (*PersistentVolumeClaimVolumeSource) GetReadOnly ¶
func (m *PersistentVolumeClaimVolumeSource) GetReadOnly() bool
func (*PersistentVolumeClaimVolumeSource) Marshal ¶
func (m *PersistentVolumeClaimVolumeSource) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaimVolumeSource) MarshalTo ¶
func (m *PersistentVolumeClaimVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaimVolumeSource) ProtoMessage ¶
func (*PersistentVolumeClaimVolumeSource) ProtoMessage()
func (*PersistentVolumeClaimVolumeSource) Reset ¶
func (m *PersistentVolumeClaimVolumeSource) Reset()
func (*PersistentVolumeClaimVolumeSource) Size ¶
func (m *PersistentVolumeClaimVolumeSource) Size() (n int)
func (*PersistentVolumeClaimVolumeSource) String ¶
func (m *PersistentVolumeClaimVolumeSource) String() string
func (*PersistentVolumeClaimVolumeSource) Unmarshal ¶
func (m *PersistentVolumeClaimVolumeSource) Unmarshal(dAtA []byte) error
type PersistentVolumeList ¶
type PersistentVolumeList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of persistent volumes.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
Items []*PersistentVolume `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeList is a list of PersistentVolume items.
func (*PersistentVolumeList) Descriptor ¶
func (*PersistentVolumeList) Descriptor() ([]byte, []int)
func (*PersistentVolumeList) GetItems ¶
func (m *PersistentVolumeList) GetItems() []*PersistentVolume
func (*PersistentVolumeList) GetMetadata ¶
func (m *PersistentVolumeList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*PersistentVolumeList) Marshal ¶
func (m *PersistentVolumeList) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeList) MarshalTo ¶
func (m *PersistentVolumeList) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeList) ProtoMessage ¶
func (*PersistentVolumeList) ProtoMessage()
func (*PersistentVolumeList) Reset ¶
func (m *PersistentVolumeList) Reset()
func (*PersistentVolumeList) Size ¶
func (m *PersistentVolumeList) Size() (n int)
func (*PersistentVolumeList) String ¶
func (m *PersistentVolumeList) String() string
func (*PersistentVolumeList) Unmarshal ¶
func (m *PersistentVolumeList) Unmarshal(dAtA []byte) error
type PersistentVolumeSource ¶
type PersistentVolumeSource struct {
// GCEPersistentDisk represents a GCE Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod. Provisioned by an admin.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
// +optional
GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,1,opt,name=gcePersistentDisk" json:"gcePersistentDisk,omitempty"`
// AWSElasticBlockStore represents an AWS Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
// +optional
AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,2,opt,name=awsElasticBlockStore" json:"awsElasticBlockStore,omitempty"`
// HostPath represents a directory on the host.
// Provisioned by a developer or tester.
// This is useful for single-node development and testing only!
// On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
// +optional
HostPath *HostPathVolumeSource `protobuf:"bytes,3,opt,name=hostPath" json:"hostPath,omitempty"`
// Glusterfs represents a Glusterfs volume that is attached to a host and
// exposed to the pod. Provisioned by an admin.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
// +optional
Glusterfs *GlusterfsPersistentVolumeSource `protobuf:"bytes,4,opt,name=glusterfs" json:"glusterfs,omitempty"`
// NFS represents an NFS mount on the host. Provisioned by an admin.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
// +optional
Nfs *NFSVolumeSource `protobuf:"bytes,5,opt,name=nfs" json:"nfs,omitempty"`
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
// +optional
Rbd *RBDPersistentVolumeSource `protobuf:"bytes,6,opt,name=rbd" json:"rbd,omitempty"`
// ISCSI represents an ISCSI Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod. Provisioned by an admin.
// +optional
Iscsi *ISCSIPersistentVolumeSource `protobuf:"bytes,7,opt,name=iscsi" json:"iscsi,omitempty"`
// Cinder represents a cinder volume attached and mounted on kubelets host machine
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
// +optional
Cinder *CinderPersistentVolumeSource `protobuf:"bytes,8,opt,name=cinder" json:"cinder,omitempty"`
// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
// +optional
Cephfs *CephFSPersistentVolumeSource `protobuf:"bytes,9,opt,name=cephfs" json:"cephfs,omitempty"`
// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
// +optional
Fc *FCVolumeSource `protobuf:"bytes,10,opt,name=fc" json:"fc,omitempty"`
// Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running
// +optional
Flocker *FlockerVolumeSource `protobuf:"bytes,11,opt,name=flocker" json:"flocker,omitempty"`
// FlexVolume represents a generic volume resource that is
// provisioned/attached using an exec based plugin.
// +optional
FlexVolume *FlexPersistentVolumeSource `protobuf:"bytes,12,opt,name=flexVolume" json:"flexVolume,omitempty"`
// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
// +optional
AzureFile *AzureFilePersistentVolumeSource `protobuf:"bytes,13,opt,name=azureFile" json:"azureFile,omitempty"`
// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
// +optional
VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,14,opt,name=vsphereVolume" json:"vsphereVolume,omitempty"`
// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
// +optional
Quobyte *QuobyteVolumeSource `protobuf:"bytes,15,opt,name=quobyte" json:"quobyte,omitempty"`
// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
// +optional
AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,16,opt,name=azureDisk" json:"azureDisk,omitempty"`
// PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,17,opt,name=photonPersistentDisk" json:"photonPersistentDisk,omitempty"`
// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
// +optional
PortworxVolume *PortworxVolumeSource `protobuf:"bytes,18,opt,name=portworxVolume" json:"portworxVolume,omitempty"`
// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
// +optional
ScaleIO *ScaleIOPersistentVolumeSource `protobuf:"bytes,19,opt,name=scaleIO" json:"scaleIO,omitempty"`
// Local represents directly-attached storage with node affinity
// +optional
Local *LocalVolumeSource `protobuf:"bytes,20,opt,name=local" json:"local,omitempty"`
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
// More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
// +optional
Storageos *StorageOSPersistentVolumeSource `protobuf:"bytes,21,opt,name=storageos" json:"storageos,omitempty"`
// CSI represents storage that handled by an external CSI driver (Beta feature).
// +optional
Csi *CSIPersistentVolumeSource `protobuf:"bytes,22,opt,name=csi" json:"csi,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.
func (*PersistentVolumeSource) Descriptor ¶
func (*PersistentVolumeSource) Descriptor() ([]byte, []int)
func (*PersistentVolumeSource) GetAwsElasticBlockStore ¶
func (m *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource
func (*PersistentVolumeSource) GetAzureDisk ¶
func (m *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource
func (*PersistentVolumeSource) GetAzureFile ¶
func (m *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource
func (*PersistentVolumeSource) GetCephfs ¶
func (m *PersistentVolumeSource) GetCephfs() *CephFSPersistentVolumeSource
func (*PersistentVolumeSource) GetCinder ¶
func (m *PersistentVolumeSource) GetCinder() *CinderPersistentVolumeSource
func (*PersistentVolumeSource) GetCsi ¶
func (m *PersistentVolumeSource) GetCsi() *CSIPersistentVolumeSource
func (*PersistentVolumeSource) GetFc ¶
func (m *PersistentVolumeSource) GetFc() *FCVolumeSource
func (*PersistentVolumeSource) GetFlexVolume ¶
func (m *PersistentVolumeSource) GetFlexVolume() *FlexPersistentVolumeSource
func (*PersistentVolumeSource) GetFlocker ¶
func (m *PersistentVolumeSource) GetFlocker() *FlockerVolumeSource
func (*PersistentVolumeSource) GetGcePersistentDisk ¶
func (m *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
func (*PersistentVolumeSource) GetGlusterfs ¶
func (m *PersistentVolumeSource) GetGlusterfs() *GlusterfsPersistentVolumeSource
func (*PersistentVolumeSource) GetHostPath ¶
func (m *PersistentVolumeSource) GetHostPath() *HostPathVolumeSource
func (*PersistentVolumeSource) GetIscsi ¶
func (m *PersistentVolumeSource) GetIscsi() *ISCSIPersistentVolumeSource
func (*PersistentVolumeSource) GetLocal ¶
func (m *PersistentVolumeSource) GetLocal() *LocalVolumeSource
func (*PersistentVolumeSource) GetNfs ¶
func (m *PersistentVolumeSource) GetNfs() *NFSVolumeSource
func (*PersistentVolumeSource) GetPhotonPersistentDisk ¶
func (m *PersistentVolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
func (*PersistentVolumeSource) GetPortworxVolume ¶
func (m *PersistentVolumeSource) GetPortworxVolume() *PortworxVolumeSource
func (*PersistentVolumeSource) GetQuobyte ¶
func (m *PersistentVolumeSource) GetQuobyte() *QuobyteVolumeSource
func (*PersistentVolumeSource) GetRbd ¶
func (m *PersistentVolumeSource) GetRbd() *RBDPersistentVolumeSource
func (*PersistentVolumeSource) GetScaleIO ¶
func (m *PersistentVolumeSource) GetScaleIO() *ScaleIOPersistentVolumeSource
func (*PersistentVolumeSource) GetStorageos ¶
func (m *PersistentVolumeSource) GetStorageos() *StorageOSPersistentVolumeSource
func (*PersistentVolumeSource) GetVsphereVolume ¶
func (m *PersistentVolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
func (*PersistentVolumeSource) Marshal ¶
func (m *PersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeSource) MarshalTo ¶
func (m *PersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeSource) ProtoMessage ¶
func (*PersistentVolumeSource) ProtoMessage()
func (*PersistentVolumeSource) Reset ¶
func (m *PersistentVolumeSource) Reset()
func (*PersistentVolumeSource) Size ¶
func (m *PersistentVolumeSource) Size() (n int)
func (*PersistentVolumeSource) String ¶
func (m *PersistentVolumeSource) String() string
func (*PersistentVolumeSource) Unmarshal ¶
func (m *PersistentVolumeSource) Unmarshal(dAtA []byte) error
type PersistentVolumeSpec ¶
type PersistentVolumeSpec struct {
// A description of the persistent volume's resources and capacity.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
// +optional
Capacity map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 136-byte string literal not displayed */
// The actual volume backing the persistent volume.
PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,2,opt,name=persistentVolumeSource" json:"persistentVolumeSource,omitempty"`
// AccessModes contains all ways the volume can be mounted.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
// +optional
AccessModes []string `protobuf:"bytes,3,rep,name=accessModes" json:"accessModes,omitempty"`
// ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
// Expected to be non-nil when bound.
// claim.VolumeName is the authoritative bind between PV and PVC.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
// +optional
ClaimRef *ObjectReference `protobuf:"bytes,4,opt,name=claimRef" json:"claimRef,omitempty"`
// What happens to a persistent volume when released from its claim.
// Valid options are Retain (default for manually created PersistentVolumes), Delete (default
// for dynamically provisioned PersistentVolumes), and Recycle (deprecated).
// Recycle must be supported by the volume plugin underlying this PersistentVolume.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
// +optional
PersistentVolumeReclaimPolicy *string `protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy" json:"persistentVolumeReclaimPolicy,omitempty"`
// Name of StorageClass to which this persistent volume belongs. Empty value
// means that this volume does not belong to any StorageClass.
// +optional
StorageClassName *string `protobuf:"bytes,6,opt,name=storageClassName" json:"storageClassName,omitempty"`
// A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will
// simply fail if one is invalid.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
// +optional
MountOptions []string `protobuf:"bytes,7,rep,name=mountOptions" json:"mountOptions,omitempty"`
// volumeMode defines if a volume is intended to be used with a formatted filesystem
// or to remain in raw block state. Value of Filesystem is implied when not included in spec.
// This is a beta feature.
// +optional
VolumeMode *string `protobuf:"bytes,8,opt,name=volumeMode" json:"volumeMode,omitempty"`
// NodeAffinity defines constraints that limit what nodes this volume can be accessed from.
// This field influences the scheduling of pods that use this volume.
// +optional
NodeAffinity *VolumeNodeAffinity `protobuf:"bytes,9,opt,name=nodeAffinity" json:"nodeAffinity,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeSpec is the specification of a persistent volume.
func (*PersistentVolumeSpec) Descriptor ¶
func (*PersistentVolumeSpec) Descriptor() ([]byte, []int)
func (*PersistentVolumeSpec) GetAccessModes ¶
func (m *PersistentVolumeSpec) GetAccessModes() []string
func (*PersistentVolumeSpec) GetCapacity ¶
func (m *PersistentVolumeSpec) GetCapacity() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*PersistentVolumeSpec) GetClaimRef ¶
func (m *PersistentVolumeSpec) GetClaimRef() *ObjectReference
func (*PersistentVolumeSpec) GetMountOptions ¶
func (m *PersistentVolumeSpec) GetMountOptions() []string
func (*PersistentVolumeSpec) GetNodeAffinity ¶ added in v1.1.0
func (m *PersistentVolumeSpec) GetNodeAffinity() *VolumeNodeAffinity
func (*PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy ¶
func (m *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string
func (*PersistentVolumeSpec) GetPersistentVolumeSource ¶
func (m *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource
func (*PersistentVolumeSpec) GetStorageClassName ¶
func (m *PersistentVolumeSpec) GetStorageClassName() string
func (*PersistentVolumeSpec) GetVolumeMode ¶
func (m *PersistentVolumeSpec) GetVolumeMode() string
func (*PersistentVolumeSpec) Marshal ¶
func (m *PersistentVolumeSpec) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeSpec) MarshalTo ¶
func (m *PersistentVolumeSpec) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeSpec) ProtoMessage ¶
func (*PersistentVolumeSpec) ProtoMessage()
func (*PersistentVolumeSpec) Reset ¶
func (m *PersistentVolumeSpec) Reset()
func (*PersistentVolumeSpec) Size ¶
func (m *PersistentVolumeSpec) Size() (n int)
func (*PersistentVolumeSpec) String ¶
func (m *PersistentVolumeSpec) String() string
func (*PersistentVolumeSpec) Unmarshal ¶
func (m *PersistentVolumeSpec) Unmarshal(dAtA []byte) error
type PersistentVolumeStatus ¶
type PersistentVolumeStatus struct {
// Phase indicates if a volume is available, bound to a claim, or released by a claim.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
// +optional
Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
// A human-readable message indicating details about why the volume is in this state.
// +optional
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
// Reason is a brief CamelCase string that describes any failure and is meant
// for machine parsing and tidy display in the CLI.
// +optional
Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PersistentVolumeStatus is the current status of a persistent volume.
func (*PersistentVolumeStatus) Descriptor ¶
func (*PersistentVolumeStatus) Descriptor() ([]byte, []int)
func (*PersistentVolumeStatus) GetMessage ¶
func (m *PersistentVolumeStatus) GetMessage() string
func (*PersistentVolumeStatus) GetPhase ¶
func (m *PersistentVolumeStatus) GetPhase() string
func (*PersistentVolumeStatus) GetReason ¶
func (m *PersistentVolumeStatus) GetReason() string
func (*PersistentVolumeStatus) Marshal ¶
func (m *PersistentVolumeStatus) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeStatus) MarshalTo ¶
func (m *PersistentVolumeStatus) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeStatus) ProtoMessage ¶
func (*PersistentVolumeStatus) ProtoMessage()
func (*PersistentVolumeStatus) Reset ¶
func (m *PersistentVolumeStatus) Reset()
func (*PersistentVolumeStatus) Size ¶
func (m *PersistentVolumeStatus) Size() (n int)
func (*PersistentVolumeStatus) String ¶
func (m *PersistentVolumeStatus) String() string
func (*PersistentVolumeStatus) Unmarshal ¶
func (m *PersistentVolumeStatus) Unmarshal(dAtA []byte) error
type PhotonPersistentDiskVolumeSource ¶
type PhotonPersistentDiskVolumeSource struct {
// ID that identifies Photon Controller persistent disk
PdID *string `protobuf:"bytes,1,opt,name=pdID" json:"pdID,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Photon Controller persistent disk resource.
func (*PhotonPersistentDiskVolumeSource) Descriptor ¶
func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int)
func (*PhotonPersistentDiskVolumeSource) GetFsType ¶
func (m *PhotonPersistentDiskVolumeSource) GetFsType() string
func (*PhotonPersistentDiskVolumeSource) GetPdID ¶
func (m *PhotonPersistentDiskVolumeSource) GetPdID() string
func (*PhotonPersistentDiskVolumeSource) Marshal ¶
func (m *PhotonPersistentDiskVolumeSource) Marshal() (dAtA []byte, err error)
func (*PhotonPersistentDiskVolumeSource) MarshalTo ¶
func (m *PhotonPersistentDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*PhotonPersistentDiskVolumeSource) ProtoMessage ¶
func (*PhotonPersistentDiskVolumeSource) ProtoMessage()
func (*PhotonPersistentDiskVolumeSource) Reset ¶
func (m *PhotonPersistentDiskVolumeSource) Reset()
func (*PhotonPersistentDiskVolumeSource) Size ¶
func (m *PhotonPersistentDiskVolumeSource) Size() (n int)
func (*PhotonPersistentDiskVolumeSource) String ¶
func (m *PhotonPersistentDiskVolumeSource) String() string
func (*PhotonPersistentDiskVolumeSource) Unmarshal ¶
func (m *PhotonPersistentDiskVolumeSource) Unmarshal(dAtA []byte) error
type Pod ¶
type Pod struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Specification of the desired behavior of the pod.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *PodSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Most recently observed status of the pod.
// This data may not be up to date.
// Populated by the system.
// Read-only.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *PodStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Pod) GetMetadata ¶
func (m *Pod) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Pod) ProtoMessage ¶
func (*Pod) ProtoMessage()
type PodAffinity ¶
type PodAffinity struct {
// If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
// +optional
RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `` /* 138-byte string literal not displayed */
// The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
// +optional
PreferredDuringSchedulingIgnoredDuringExecution []*WeightedPodAffinityTerm `` /* 140-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
Pod affinity is a group of inter pod affinity scheduling rules.
func (*PodAffinity) Descriptor ¶
func (*PodAffinity) Descriptor() ([]byte, []int)
func (*PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution ¶
func (m *PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm
func (*PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution ¶
func (m *PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm
func (*PodAffinity) Marshal ¶
func (m *PodAffinity) Marshal() (dAtA []byte, err error)
func (*PodAffinity) ProtoMessage ¶
func (*PodAffinity) ProtoMessage()
func (*PodAffinity) Reset ¶
func (m *PodAffinity) Reset()
func (*PodAffinity) Size ¶
func (m *PodAffinity) Size() (n int)
func (*PodAffinity) String ¶
func (m *PodAffinity) String() string
func (*PodAffinity) Unmarshal ¶
func (m *PodAffinity) Unmarshal(dAtA []byte) error
type PodAffinityTerm ¶
type PodAffinityTerm struct {
// A label query over a set of resources, in this case pods.
// +optional
LabelSelector *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector `protobuf:"bytes,1,opt,name=labelSelector" json:"labelSelector,omitempty"`
// namespaces specifies which namespaces the labelSelector applies to (matches against);
// null or empty list means "this pod's namespace"
// +optional
Namespaces []string `protobuf:"bytes,2,rep,name=namespaces" json:"namespaces,omitempty"`
// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey *string `protobuf:"bytes,3,opt,name=topologyKey" json:"topologyKey,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PodAffinityTerm) Descriptor() ([]byte, []int)
func (*PodAffinityTerm) GetLabelSelector ¶
func (m *PodAffinityTerm) GetLabelSelector() *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector
func (*PodAffinityTerm) GetNamespaces ¶
func (m *PodAffinityTerm) GetNamespaces() []string
func (*PodAffinityTerm) GetTopologyKey ¶
func (m *PodAffinityTerm) GetTopologyKey() string
func (*PodAffinityTerm) Marshal ¶
func (m *PodAffinityTerm) Marshal() (dAtA []byte, err error)
func (*PodAffinityTerm) ProtoMessage ¶
func (*PodAffinityTerm) ProtoMessage()
func (*PodAffinityTerm) Reset ¶
func (m *PodAffinityTerm) Reset()
func (*PodAffinityTerm) Size ¶
func (m *PodAffinityTerm) Size() (n int)
func (*PodAffinityTerm) String ¶
func (m *PodAffinityTerm) String() string
func (*PodAffinityTerm) Unmarshal ¶
func (m *PodAffinityTerm) Unmarshal(dAtA []byte) error
type PodAntiAffinity ¶
type PodAntiAffinity struct {
// If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
// +optional
RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `` /* 138-byte string literal not displayed */
// The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
// +optional
PreferredDuringSchedulingIgnoredDuringExecution []*WeightedPodAffinityTerm `` /* 140-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
Pod anti affinity is a group of inter pod anti affinity scheduling rules.
func (*PodAntiAffinity) Descriptor ¶
func (*PodAntiAffinity) Descriptor() ([]byte, []int)
func (*PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution ¶
func (m *PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm
func (*PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution ¶
func (m *PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm
func (*PodAntiAffinity) Marshal ¶
func (m *PodAntiAffinity) Marshal() (dAtA []byte, err error)
func (*PodAntiAffinity) ProtoMessage ¶
func (*PodAntiAffinity) ProtoMessage()
func (*PodAntiAffinity) Reset ¶
func (m *PodAntiAffinity) Reset()
func (*PodAntiAffinity) Size ¶
func (m *PodAntiAffinity) Size() (n int)
func (*PodAntiAffinity) String ¶
func (m *PodAntiAffinity) String() string
func (*PodAntiAffinity) Unmarshal ¶
func (m *PodAntiAffinity) Unmarshal(dAtA []byte) error
type PodAttachOptions ¶
type PodAttachOptions struct {
// Stdin if true, redirects the standard input stream of the pod for this call.
// Defaults to false.
// +optional
Stdin *bool `protobuf:"varint,1,opt,name=stdin" json:"stdin,omitempty"`
// Stdout if true indicates that stdout is to be redirected for the attach call.
// Defaults to true.
// +optional
Stdout *bool `protobuf:"varint,2,opt,name=stdout" json:"stdout,omitempty"`
// Stderr if true indicates that stderr is to be redirected for the attach call.
// Defaults to true.
// +optional
Stderr *bool `protobuf:"varint,3,opt,name=stderr" json:"stderr,omitempty"`
// TTY if true indicates that a tty will be allocated for the attach call.
// This is passed through the container runtime so the tty
// is allocated on the worker node by the container runtime.
// Defaults to false.
// +optional
Tty *bool `protobuf:"varint,4,opt,name=tty" json:"tty,omitempty"`
// The container in which to execute the command.
// Defaults to only container if there is only one container in the pod.
// +optional
Container *string `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PodAttachOptions) Descriptor() ([]byte, []int)
func (*PodAttachOptions) GetContainer ¶
func (m *PodAttachOptions) GetContainer() string
func (*PodAttachOptions) GetStderr ¶
func (m *PodAttachOptions) GetStderr() bool
func (*PodAttachOptions) GetStdin ¶
func (m *PodAttachOptions) GetStdin() bool
func (*PodAttachOptions) GetStdout ¶
func (m *PodAttachOptions) GetStdout() bool
func (*PodAttachOptions) GetTty ¶
func (m *PodAttachOptions) GetTty() bool
func (*PodAttachOptions) Marshal ¶
func (m *PodAttachOptions) Marshal() (dAtA []byte, err error)
func (*PodAttachOptions) ProtoMessage ¶
func (*PodAttachOptions) ProtoMessage()
func (*PodAttachOptions) Reset ¶
func (m *PodAttachOptions) Reset()
func (*PodAttachOptions) Size ¶
func (m *PodAttachOptions) Size() (n int)
func (*PodAttachOptions) String ¶
func (m *PodAttachOptions) String() string
func (*PodAttachOptions) Unmarshal ¶
func (m *PodAttachOptions) Unmarshal(dAtA []byte) error
type PodCondition ¶
type PodCondition struct {
// Type is the type of the condition.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// Status is the status of the condition.
// Can be True, False, Unknown.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
// Last time we probed the condition.
// +optional
LastProbeTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,3,opt,name=lastProbeTime" json:"lastProbeTime,omitempty"`
// Last time the condition transitioned from one status to another.
// +optional
LastTransitionTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
// Unique, one-word, CamelCase reason for the condition's last transition.
// +optional
Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
// Human-readable message indicating details about last transition.
// +optional
Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodCondition contains details for the current condition of this pod.
func (*PodCondition) Descriptor ¶
func (*PodCondition) Descriptor() ([]byte, []int)
func (*PodCondition) GetLastProbeTime ¶
func (m *PodCondition) GetLastProbeTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PodCondition) GetLastTransitionTime ¶
func (m *PodCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PodCondition) GetMessage ¶
func (m *PodCondition) GetMessage() string
func (*PodCondition) GetReason ¶
func (m *PodCondition) GetReason() string
func (*PodCondition) GetStatus ¶
func (m *PodCondition) GetStatus() string
func (*PodCondition) GetType ¶
func (m *PodCondition) GetType() string
func (*PodCondition) Marshal ¶
func (m *PodCondition) Marshal() (dAtA []byte, err error)
func (*PodCondition) ProtoMessage ¶
func (*PodCondition) ProtoMessage()
func (*PodCondition) Reset ¶
func (m *PodCondition) Reset()
func (*PodCondition) Size ¶
func (m *PodCondition) Size() (n int)
func (*PodCondition) String ¶
func (m *PodCondition) String() string
func (*PodCondition) Unmarshal ¶
func (m *PodCondition) Unmarshal(dAtA []byte) error
type PodDNSConfig ¶
type PodDNSConfig struct {
// A list of DNS name server IP addresses.
// This will be appended to the base nameservers generated from DNSPolicy.
// Duplicated nameservers will be removed.
// +optional
Nameservers []string `protobuf:"bytes,1,rep,name=nameservers" json:"nameservers,omitempty"`
// A list of DNS search domains for host-name lookup.
// This will be appended to the base search paths generated from DNSPolicy.
// Duplicated search paths will be removed.
// +optional
Searches []string `protobuf:"bytes,2,rep,name=searches" json:"searches,omitempty"`
// A list of DNS resolver options.
// This will be merged with the base options generated from DNSPolicy.
// Duplicated entries will be removed. Resolution options given in Options
// will override those that appear in the base DNSPolicy.
// +optional
Options []*PodDNSConfigOption `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
func (*PodDNSConfig) Descriptor ¶
func (*PodDNSConfig) Descriptor() ([]byte, []int)
func (*PodDNSConfig) GetNameservers ¶
func (m *PodDNSConfig) GetNameservers() []string
func (*PodDNSConfig) GetOptions ¶
func (m *PodDNSConfig) GetOptions() []*PodDNSConfigOption
func (*PodDNSConfig) GetSearches ¶
func (m *PodDNSConfig) GetSearches() []string
func (*PodDNSConfig) Marshal ¶
func (m *PodDNSConfig) Marshal() (dAtA []byte, err error)
func (*PodDNSConfig) ProtoMessage ¶
func (*PodDNSConfig) ProtoMessage()
func (*PodDNSConfig) Reset ¶
func (m *PodDNSConfig) Reset()
func (*PodDNSConfig) Size ¶
func (m *PodDNSConfig) Size() (n int)
func (*PodDNSConfig) String ¶
func (m *PodDNSConfig) String() string
func (*PodDNSConfig) Unmarshal ¶
func (m *PodDNSConfig) Unmarshal(dAtA []byte) error
type PodDNSConfigOption ¶
type PodDNSConfigOption struct {
// Required.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// +optional
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodDNSConfigOption defines DNS resolver options of a pod.
func (*PodDNSConfigOption) Descriptor ¶
func (*PodDNSConfigOption) Descriptor() ([]byte, []int)
func (*PodDNSConfigOption) GetName ¶
func (m *PodDNSConfigOption) GetName() string
func (*PodDNSConfigOption) GetValue ¶
func (m *PodDNSConfigOption) GetValue() string
func (*PodDNSConfigOption) Marshal ¶
func (m *PodDNSConfigOption) Marshal() (dAtA []byte, err error)
func (*PodDNSConfigOption) MarshalTo ¶
func (m *PodDNSConfigOption) MarshalTo(dAtA []byte) (int, error)
func (*PodDNSConfigOption) ProtoMessage ¶
func (*PodDNSConfigOption) ProtoMessage()
func (*PodDNSConfigOption) Reset ¶
func (m *PodDNSConfigOption) Reset()
func (*PodDNSConfigOption) Size ¶
func (m *PodDNSConfigOption) Size() (n int)
func (*PodDNSConfigOption) String ¶
func (m *PodDNSConfigOption) String() string
func (*PodDNSConfigOption) Unmarshal ¶
func (m *PodDNSConfigOption) Unmarshal(dAtA []byte) error
type PodExecOptions ¶
type PodExecOptions struct {
// Redirect the standard input stream of the pod for this call.
// Defaults to false.
// +optional
Stdin *bool `protobuf:"varint,1,opt,name=stdin" json:"stdin,omitempty"`
// Redirect the standard output stream of the pod for this call.
// Defaults to true.
// +optional
Stdout *bool `protobuf:"varint,2,opt,name=stdout" json:"stdout,omitempty"`
// Redirect the standard error stream of the pod for this call.
// Defaults to true.
// +optional
Stderr *bool `protobuf:"varint,3,opt,name=stderr" json:"stderr,omitempty"`
// TTY if true indicates that a tty will be allocated for the exec call.
// Defaults to false.
// +optional
Tty *bool `protobuf:"varint,4,opt,name=tty" json:"tty,omitempty"`
// Container in which to execute the command.
// Defaults to only container if there is only one container in the pod.
// +optional
Container *string `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"`
// Command is the remote command to execute. argv array. Not executed within a shell.
Command []string `protobuf:"bytes,6,rep,name=command" json:"command,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PodExecOptions) Descriptor() ([]byte, []int)
func (*PodExecOptions) GetCommand ¶
func (m *PodExecOptions) GetCommand() []string
func (*PodExecOptions) GetContainer ¶
func (m *PodExecOptions) GetContainer() string
func (*PodExecOptions) GetStderr ¶
func (m *PodExecOptions) GetStderr() bool
func (*PodExecOptions) GetStdin ¶
func (m *PodExecOptions) GetStdin() bool
func (*PodExecOptions) GetStdout ¶
func (m *PodExecOptions) GetStdout() bool
func (*PodExecOptions) GetTty ¶
func (m *PodExecOptions) GetTty() bool
func (*PodExecOptions) Marshal ¶
func (m *PodExecOptions) Marshal() (dAtA []byte, err error)
func (*PodExecOptions) ProtoMessage ¶
func (*PodExecOptions) ProtoMessage()
func (*PodExecOptions) Reset ¶
func (m *PodExecOptions) Reset()
func (*PodExecOptions) Size ¶
func (m *PodExecOptions) Size() (n int)
func (*PodExecOptions) String ¶
func (m *PodExecOptions) String() string
func (*PodExecOptions) Unmarshal ¶
func (m *PodExecOptions) Unmarshal(dAtA []byte) error
type PodList ¶
type PodList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of pods.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md
Items []*Pod `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodList is a list of Pods.
func (*PodList) Descriptor ¶
func (*PodList) GetMetadata ¶
func (m *PodList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*PodList) ProtoMessage ¶
func (*PodList) ProtoMessage()
type PodLogOptions ¶
type PodLogOptions struct {
// The container for which to stream logs. Defaults to only container if there is one container in the pod.
// +optional
Container *string `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
// Follow the log stream of the pod. Defaults to false.
// +optional
Follow *bool `protobuf:"varint,2,opt,name=follow" json:"follow,omitempty"`
// Return previous terminated container logs. Defaults to false.
// +optional
Previous *bool `protobuf:"varint,3,opt,name=previous" json:"previous,omitempty"`
// A relative time in seconds before the current time from which to show logs. If this value
// precedes the time a pod was started, only logs since the pod start will be returned.
// If this value is in the future, no logs will be returned.
// Only one of sinceSeconds or sinceTime may be specified.
// +optional
SinceSeconds *int64 `protobuf:"varint,4,opt,name=sinceSeconds" json:"sinceSeconds,omitempty"`
// An RFC3339 timestamp from which to show logs. If this value
// precedes the time a pod was started, only logs since the pod start will be returned.
// If this value is in the future, no logs will be returned.
// Only one of sinceSeconds or sinceTime may be specified.
// +optional
SinceTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,5,opt,name=sinceTime" json:"sinceTime,omitempty"`
// If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
// of log output. Defaults to false.
// +optional
Timestamps *bool `protobuf:"varint,6,opt,name=timestamps" json:"timestamps,omitempty"`
// If set, the number of lines from the end of the logs to show. If not specified,
// logs are shown from the creation of the container or sinceSeconds or sinceTime
// +optional
TailLines *int64 `protobuf:"varint,7,opt,name=tailLines" json:"tailLines,omitempty"`
// If set, the number of bytes to read from the server before terminating the
// log output. This may not display a complete final line of logging, and may return
// slightly more or slightly less than the specified limit.
// +optional
LimitBytes *int64 `protobuf:"varint,8,opt,name=limitBytes" json:"limitBytes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodLogOptions is the query options for a Pod's logs REST call.
func (*PodLogOptions) Descriptor ¶
func (*PodLogOptions) Descriptor() ([]byte, []int)
func (*PodLogOptions) GetContainer ¶
func (m *PodLogOptions) GetContainer() string
func (*PodLogOptions) GetFollow ¶
func (m *PodLogOptions) GetFollow() bool
func (*PodLogOptions) GetLimitBytes ¶
func (m *PodLogOptions) GetLimitBytes() int64
func (*PodLogOptions) GetPrevious ¶
func (m *PodLogOptions) GetPrevious() bool
func (*PodLogOptions) GetSinceSeconds ¶
func (m *PodLogOptions) GetSinceSeconds() int64
func (*PodLogOptions) GetSinceTime ¶
func (m *PodLogOptions) GetSinceTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PodLogOptions) GetTailLines ¶
func (m *PodLogOptions) GetTailLines() int64
func (*PodLogOptions) GetTimestamps ¶
func (m *PodLogOptions) GetTimestamps() bool
func (*PodLogOptions) Marshal ¶
func (m *PodLogOptions) Marshal() (dAtA []byte, err error)
func (*PodLogOptions) ProtoMessage ¶
func (*PodLogOptions) ProtoMessage()
func (*PodLogOptions) Reset ¶
func (m *PodLogOptions) Reset()
func (*PodLogOptions) Size ¶
func (m *PodLogOptions) Size() (n int)
func (*PodLogOptions) String ¶
func (m *PodLogOptions) String() string
func (*PodLogOptions) Unmarshal ¶
func (m *PodLogOptions) Unmarshal(dAtA []byte) error
type PodPortForwardOptions ¶
type PodPortForwardOptions struct {
// List of ports to forward
// Required when using WebSockets
// +optional
Ports []int32 `protobuf:"varint,1,rep,name=ports" json:"ports,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PodPortForwardOptions) Descriptor() ([]byte, []int)
func (*PodPortForwardOptions) GetPorts ¶
func (m *PodPortForwardOptions) GetPorts() []int32
func (*PodPortForwardOptions) Marshal ¶
func (m *PodPortForwardOptions) Marshal() (dAtA []byte, err error)
func (*PodPortForwardOptions) MarshalTo ¶
func (m *PodPortForwardOptions) MarshalTo(dAtA []byte) (int, error)
func (*PodPortForwardOptions) ProtoMessage ¶
func (*PodPortForwardOptions) ProtoMessage()
func (*PodPortForwardOptions) Reset ¶
func (m *PodPortForwardOptions) Reset()
func (*PodPortForwardOptions) Size ¶
func (m *PodPortForwardOptions) Size() (n int)
func (*PodPortForwardOptions) String ¶
func (m *PodPortForwardOptions) String() string
func (*PodPortForwardOptions) Unmarshal ¶
func (m *PodPortForwardOptions) Unmarshal(dAtA []byte) error
type PodProxyOptions ¶
type PodProxyOptions struct {
// Path is the URL path to use for the current proxy request to pod.
// +optional
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodProxyOptions is the query options to a Pod's proxy call.
func (*PodProxyOptions) Descriptor ¶
func (*PodProxyOptions) Descriptor() ([]byte, []int)
func (*PodProxyOptions) GetPath ¶
func (m *PodProxyOptions) GetPath() string
func (*PodProxyOptions) Marshal ¶
func (m *PodProxyOptions) Marshal() (dAtA []byte, err error)
func (*PodProxyOptions) ProtoMessage ¶
func (*PodProxyOptions) ProtoMessage()
func (*PodProxyOptions) Reset ¶
func (m *PodProxyOptions) Reset()
func (*PodProxyOptions) Size ¶
func (m *PodProxyOptions) Size() (n int)
func (*PodProxyOptions) String ¶
func (m *PodProxyOptions) String() string
func (*PodProxyOptions) Unmarshal ¶
func (m *PodProxyOptions) Unmarshal(dAtA []byte) error
type PodReadinessGate ¶ added in v1.4.0
type PodReadinessGate struct {
// ConditionType refers to a condition in the pod's condition list with matching type.
ConditionType *string `protobuf:"bytes,1,opt,name=conditionType" json:"conditionType,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodReadinessGate contains the reference to a pod condition
func (*PodReadinessGate) Descriptor ¶ added in v1.4.0
func (*PodReadinessGate) Descriptor() ([]byte, []int)
func (*PodReadinessGate) GetConditionType ¶ added in v1.4.0
func (m *PodReadinessGate) GetConditionType() string
func (*PodReadinessGate) Marshal ¶ added in v1.4.0
func (m *PodReadinessGate) Marshal() (dAtA []byte, err error)
func (*PodReadinessGate) MarshalTo ¶ added in v1.4.0
func (m *PodReadinessGate) MarshalTo(dAtA []byte) (int, error)
func (*PodReadinessGate) ProtoMessage ¶ added in v1.4.0
func (*PodReadinessGate) ProtoMessage()
func (*PodReadinessGate) Reset ¶ added in v1.4.0
func (m *PodReadinessGate) Reset()
func (*PodReadinessGate) Size ¶ added in v1.4.0
func (m *PodReadinessGate) Size() (n int)
func (*PodReadinessGate) String ¶ added in v1.4.0
func (m *PodReadinessGate) String() string
func (*PodReadinessGate) Unmarshal ¶ added in v1.4.0
func (m *PodReadinessGate) Unmarshal(dAtA []byte) error
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.
// +optional
SeLinuxOptions *SELinuxOptions `protobuf:"bytes,1,opt,name=seLinuxOptions" json:"seLinuxOptions,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.
// +optional
RunAsUser *int64 `protobuf:"varint,2,opt,name=runAsUser" json:"runAsUser,omitempty"`
// The GID to run the entrypoint of the container process.
// Uses runtime default if unset.
// May also be set in SecurityContext. If set in both SecurityContext and
// PodSecurityContext, the value specified in SecurityContext takes precedence
// for that container.
// +optional
RunAsGroup *int64 `protobuf:"varint,6,opt,name=runAsGroup" json:"runAsGroup,omitempty"`
// Indicates that the container must run as a non-root user.
// If true, the Kubelet will validate the image at runtime to ensure that it
// does not run as UID 0 (root) and fail to start the container if it does.
// If unset or false, no such validation will be performed.
// May also be set in SecurityContext. If set in both SecurityContext and
// PodSecurityContext, the value specified in SecurityContext takes precedence.
// +optional
RunAsNonRoot *bool `protobuf:"varint,3,opt,name=runAsNonRoot" json:"runAsNonRoot,omitempty"`
// A list of groups applied to the first process run in each container, in addition
// to the container's primary GID. If unspecified, no groups will be added to
// any container.
// +optional
SupplementalGroups []int64 `protobuf:"varint,4,rep,name=supplementalGroups" json:"supplementalGroups,omitempty"`
// A special supplemental group that applies to all containers in a pod.
// Some volume types allow the Kubelet to change the ownership of that volume
// to be owned by the pod:
//
// 1. The owning GID will be the FSGroup
// 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
// 3. The permission bits are OR'd with rw-rw----
//
// If unset, the Kubelet will not modify the ownership and permissions of any volume.
// +optional
FsGroup *int64 `protobuf:"varint,5,opt,name=fsGroup" json:"fsGroup,omitempty"`
// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
// sysctls (by the container runtime) might fail to launch.
// +optional
Sysctls []*Sysctl `protobuf:"bytes,7,rep,name=sysctls" json:"sysctls,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PodSecurityContext) Descriptor() ([]byte, []int)
func (*PodSecurityContext) GetFsGroup ¶
func (m *PodSecurityContext) GetFsGroup() int64
func (*PodSecurityContext) GetRunAsGroup ¶ added in v1.1.0
func (m *PodSecurityContext) GetRunAsGroup() int64
func (*PodSecurityContext) GetRunAsNonRoot ¶
func (m *PodSecurityContext) GetRunAsNonRoot() bool
func (*PodSecurityContext) GetRunAsUser ¶
func (m *PodSecurityContext) GetRunAsUser() int64
func (*PodSecurityContext) GetSeLinuxOptions ¶
func (m *PodSecurityContext) GetSeLinuxOptions() *SELinuxOptions
func (*PodSecurityContext) GetSupplementalGroups ¶
func (m *PodSecurityContext) GetSupplementalGroups() []int64
func (*PodSecurityContext) GetSysctls ¶ added in v1.4.0
func (m *PodSecurityContext) GetSysctls() []*Sysctl
func (*PodSecurityContext) Marshal ¶
func (m *PodSecurityContext) Marshal() (dAtA []byte, err error)
func (*PodSecurityContext) MarshalTo ¶
func (m *PodSecurityContext) MarshalTo(dAtA []byte) (int, error)
func (*PodSecurityContext) ProtoMessage ¶
func (*PodSecurityContext) ProtoMessage()
func (*PodSecurityContext) Reset ¶
func (m *PodSecurityContext) Reset()
func (*PodSecurityContext) Size ¶
func (m *PodSecurityContext) Size() (n int)
func (*PodSecurityContext) String ¶
func (m *PodSecurityContext) String() string
func (*PodSecurityContext) Unmarshal ¶
func (m *PodSecurityContext) Unmarshal(dAtA []byte) error
type PodSignature ¶
type PodSignature struct {
// Reference to controller whose pods should avoid this node.
// +optional
PodController *k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference `protobuf:"bytes,1,opt,name=podController" json:"podController,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Describes the class of pods that should avoid this node. Exactly one field should be set.
func (*PodSignature) Descriptor ¶
func (*PodSignature) Descriptor() ([]byte, []int)
func (*PodSignature) GetPodController ¶
func (m *PodSignature) GetPodController() *k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference
func (*PodSignature) Marshal ¶
func (m *PodSignature) Marshal() (dAtA []byte, err error)
func (*PodSignature) ProtoMessage ¶
func (*PodSignature) ProtoMessage()
func (*PodSignature) Reset ¶
func (m *PodSignature) Reset()
func (*PodSignature) Size ¶
func (m *PodSignature) Size() (n int)
func (*PodSignature) String ¶
func (m *PodSignature) String() string
func (*PodSignature) Unmarshal ¶
func (m *PodSignature) Unmarshal(dAtA []byte) error
type PodSpec ¶
type PodSpec struct {
// List of volumes that can be mounted by containers belonging to the pod.
// More info: https://kubernetes.io/docs/concepts/storage/volumes
// +optional
// +patchMergeKey=name
// +patchStrategy=merge,retainKeys
Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"`
// List of initialization containers belonging to the pod.
// Init containers are executed in order prior to containers being started. If any
// init container fails, the pod is considered to have failed and is handled according
// to its restartPolicy. The name for an init container or normal container must be
// unique among all containers.
// Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes.
// The resourceRequirements of an init container are taken into account during scheduling
// by finding the highest request/limit for each resource type, and then using the max of
// of that value or the sum of the normal containers. Limits are applied to init containers
// in a similar fashion.
// Init containers cannot currently be added or removed.
// Cannot be updated.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
// +patchMergeKey=name
// +patchStrategy=merge
InitContainers []*Container `protobuf:"bytes,20,rep,name=initContainers" json:"initContainers,omitempty"`
// List of containers belonging to the pod.
// Containers cannot currently be added or removed.
// There must be at least one container in a Pod.
// Cannot be updated.
// +patchMergeKey=name
// +patchStrategy=merge
Containers []*Container `protobuf:"bytes,2,rep,name=containers" json:"containers,omitempty"`
// Restart policy for all containers within the pod.
// One of Always, OnFailure, Never.
// Default to Always.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
// +optional
RestartPolicy *string `protobuf:"bytes,3,opt,name=restartPolicy" json:"restartPolicy,omitempty"`
// Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
// Value must be non-negative integer. The value zero indicates delete immediately.
// If this value is nil, the default grace period will be used instead.
// The grace period is the duration in seconds after the processes running in the pod are sent
// a termination signal and the time when the processes are forcibly halted with a kill signal.
// Set this value longer than the expected cleanup time for your process.
// Defaults to 30 seconds.
// +optional
TerminationGracePeriodSeconds *int64 `protobuf:"varint,4,opt,name=terminationGracePeriodSeconds" json:"terminationGracePeriodSeconds,omitempty"`
// Optional duration in seconds the pod may be active on the node relative to
// StartTime before the system will actively try to mark it failed and kill associated containers.
// Value must be a positive integer.
// +optional
ActiveDeadlineSeconds *int64 `protobuf:"varint,5,opt,name=activeDeadlineSeconds" json:"activeDeadlineSeconds,omitempty"`
// Set DNS policy for the pod.
// Defaults to "ClusterFirst".
// Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
// DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.
// To have DNS options set along with hostNetwork, you have to specify DNS policy
// explicitly to 'ClusterFirstWithHostNet'.
// +optional
DnsPolicy *string `protobuf:"bytes,6,opt,name=dnsPolicy" json:"dnsPolicy,omitempty"`
// NodeSelector is a selector which must be true for the pod to fit on a node.
// Selector which must match a node's labels for the pod to be scheduled on that node.
// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
// +optional
NodeSelector map[string]string `` /* 144-byte string literal not displayed */
// ServiceAccountName is the name of the ServiceAccount to use to run this pod.
// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
// +optional
ServiceAccountName *string `protobuf:"bytes,8,opt,name=serviceAccountName" json:"serviceAccountName,omitempty"`
// DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
// Deprecated: Use serviceAccountName instead.
// +k8s:conversion-gen=false
// +optional
ServiceAccount *string `protobuf:"bytes,9,opt,name=serviceAccount" json:"serviceAccount,omitempty"`
// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
// +optional
AutomountServiceAccountToken *bool `protobuf:"varint,21,opt,name=automountServiceAccountToken" json:"automountServiceAccountToken,omitempty"`
// NodeName is a request to schedule this pod onto a specific node. If it is non-empty,
// the scheduler simply schedules this pod onto that node, assuming that it fits resource
// requirements.
// +optional
NodeName *string `protobuf:"bytes,10,opt,name=nodeName" json:"nodeName,omitempty"`
// Host networking requested for this pod. Use the host's network namespace.
// If this option is set, the ports that will be used must be specified.
// Default to false.
// +k8s:conversion-gen=false
// +optional
HostNetwork *bool `protobuf:"varint,11,opt,name=hostNetwork" json:"hostNetwork,omitempty"`
// Use the host's pid namespace.
// Optional: Default to false.
// +k8s:conversion-gen=false
// +optional
HostPID *bool `protobuf:"varint,12,opt,name=hostPID" json:"hostPID,omitempty"`
// Use the host's ipc namespace.
// Optional: Default to false.
// +k8s:conversion-gen=false
// +optional
HostIPC *bool `protobuf:"varint,13,opt,name=hostIPC" json:"hostIPC,omitempty"`
// 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.
// This field is beta-level and may be disabled with the PodShareProcessNamespace feature.
// +k8s:conversion-gen=false
// +optional
ShareProcessNamespace *bool `protobuf:"varint,27,opt,name=shareProcessNamespace" json:"shareProcessNamespace,omitempty"`
// SecurityContext holds pod-level security attributes and common container settings.
// Optional: Defaults to empty. See type description for default values of each field.
// +optional
SecurityContext *PodSecurityContext `protobuf:"bytes,14,opt,name=securityContext" json:"securityContext,omitempty"`
// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
// If specified, these secrets will be passed to individual puller implementations for them to use. For example,
// in the case of docker, only DockerConfig type secrets are honored.
// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
ImagePullSecrets []*LocalObjectReference `protobuf:"bytes,15,rep,name=imagePullSecrets" json:"imagePullSecrets,omitempty"`
// Specifies the hostname of the Pod
// If not specified, the pod's hostname will be set to a system-defined value.
// +optional
Hostname *string `protobuf:"bytes,16,opt,name=hostname" json:"hostname,omitempty"`
// If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
// If not specified, the pod will not have a domainname at all.
// +optional
Subdomain *string `protobuf:"bytes,17,opt,name=subdomain" json:"subdomain,omitempty"`
// If specified, the pod's scheduling constraints
// +optional
Affinity *Affinity `protobuf:"bytes,18,opt,name=affinity" json:"affinity,omitempty"`
// If specified, the pod will be dispatched by specified scheduler.
// If not specified, the pod will be dispatched by default scheduler.
// +optional
SchedulerName *string `protobuf:"bytes,19,opt,name=schedulerName" json:"schedulerName,omitempty"`
// If specified, the pod's tolerations.
// +optional
Tolerations []*Toleration `protobuf:"bytes,22,rep,name=tolerations" json:"tolerations,omitempty"`
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
// file if specified. This is only valid for non-hostNetwork pods.
// +optional
// +patchMergeKey=ip
// +patchStrategy=merge
HostAliases []*HostAlias `protobuf:"bytes,23,rep,name=hostAliases" json:"hostAliases,omitempty"`
// If specified, indicates the pod's priority. "system-node-critical" and
// "system-cluster-critical" are two special keywords which indicate the
// highest priorities with the former being the highest priority. Any other
// name must be defined by creating a PriorityClass object with that name.
// If not specified, the pod priority will be default or zero if there is no
// default.
// +optional
PriorityClassName *string `protobuf:"bytes,24,opt,name=priorityClassName" json:"priorityClassName,omitempty"`
// The priority value. Various system components use this field to find the
// priority of the pod. When Priority Admission Controller is enabled, it
// prevents users from setting this field. The admission controller populates
// this field from PriorityClassName.
// The higher the value, the higher the priority.
// +optional
Priority *int32 `protobuf:"varint,25,opt,name=priority" json:"priority,omitempty"`
// Specifies the DNS parameters of a pod.
// Parameters specified here will be merged to the generated DNS
// configuration based on DNSPolicy.
// +optional
DnsConfig *PodDNSConfig `protobuf:"bytes,26,opt,name=dnsConfig" json:"dnsConfig,omitempty"`
// If specified, all readiness gates will be evaluated for pod readiness.
// A pod is ready when all its containers are ready AND
// all conditions specified in the readiness gates have status equal to "True"
// More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md
// +optional
ReadinessGates []*PodReadinessGate `protobuf:"bytes,28,rep,name=readinessGates" json:"readinessGates,omitempty"`
// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
// to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run.
// If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an
// empty definition that uses the default runtime handler.
// More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md
// This is an alpha feature and may change in the future.
// +optional
RuntimeClassName *string `protobuf:"bytes,29,opt,name=runtimeClassName" json:"runtimeClassName,omitempty"`
// EnableServiceLinks indicates whether information about services should be injected into pod's
// environment variables, matching the syntax of Docker links.
// +optional
EnableServiceLinks *bool `protobuf:"varint,30,opt,name=enableServiceLinks" json:"enableServiceLinks,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodSpec is a description of a pod.
func (*PodSpec) Descriptor ¶
func (*PodSpec) GetActiveDeadlineSeconds ¶
func (*PodSpec) GetAffinity ¶
func (*PodSpec) GetAutomountServiceAccountToken ¶
func (*PodSpec) GetContainers ¶
func (*PodSpec) GetDnsConfig ¶
func (m *PodSpec) GetDnsConfig() *PodDNSConfig
func (*PodSpec) GetDnsPolicy ¶
func (*PodSpec) GetEnableServiceLinks ¶ added in v1.4.0
func (*PodSpec) GetHostAliases ¶
func (*PodSpec) GetHostIPC ¶
func (*PodSpec) GetHostNetwork ¶
func (*PodSpec) GetHostPID ¶
func (*PodSpec) GetHostname ¶
func (*PodSpec) GetImagePullSecrets ¶
func (m *PodSpec) GetImagePullSecrets() []*LocalObjectReference
func (*PodSpec) GetInitContainers ¶
func (*PodSpec) GetNodeName ¶
func (*PodSpec) GetNodeSelector ¶
func (*PodSpec) GetPriority ¶
func (*PodSpec) GetPriorityClassName ¶
func (*PodSpec) GetReadinessGates ¶ added in v1.4.0
func (m *PodSpec) GetReadinessGates() []*PodReadinessGate
func (*PodSpec) GetRestartPolicy ¶
func (*PodSpec) GetRuntimeClassName ¶ added in v1.4.0
func (*PodSpec) GetSchedulerName ¶
func (*PodSpec) GetSecurityContext ¶
func (m *PodSpec) GetSecurityContext() *PodSecurityContext
func (*PodSpec) GetServiceAccount ¶
func (*PodSpec) GetServiceAccountName ¶
func (*PodSpec) GetShareProcessNamespace ¶ added in v1.1.0
func (*PodSpec) GetSubdomain ¶
func (*PodSpec) GetTerminationGracePeriodSeconds ¶
func (*PodSpec) GetTolerations ¶
func (m *PodSpec) GetTolerations() []*Toleration
func (*PodSpec) GetVolumes ¶
func (*PodSpec) ProtoMessage ¶
func (*PodSpec) ProtoMessage()
type PodStatus ¶
type PodStatus struct {
// The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle.
// The conditions array, the reason and message fields, and the individual container status
// arrays contain more detail about the pod's status.
// There are five possible phase values:
//
// Pending: The pod has been accepted by the Kubernetes system, but one or more of the
// container images has not been created. This includes time before being scheduled as
// well as time spent downloading images over the network, which could take a while.
// Running: The pod has been bound to a node, and all of the containers have been created.
// At least one container is still running, or is in the process of starting or restarting.
// Succeeded: All containers in the pod have terminated in success, and will not be restarted.
// Failed: All containers in the pod have terminated, and at least one container has
// terminated in failure. The container either exited with non-zero status or was terminated
// by the system.
// Unknown: For some reason the state of the pod could not be obtained, typically due to an
// error in communicating with the host of the pod.
//
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
// +optional
Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"`
// Current service state of pod.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []*PodCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"`
// A human readable message indicating details about why the pod is in this condition.
// +optional
Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
// A brief CamelCase message indicating details about why the pod is in this state.
// e.g. 'Evicted'
// +optional
Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
// nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
// scheduled right away as preemption victims receive their graceful termination periods.
// This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
// to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
// give the resources on this node to a higher priority pod that is created after preemption.
// As a result, this field may be different than PodSpec.nodeName when the pod is
// scheduled.
// +optional
NominatedNodeName *string `protobuf:"bytes,11,opt,name=nominatedNodeName" json:"nominatedNodeName,omitempty"`
// IP address of the host to which the pod is assigned. Empty if not yet scheduled.
// +optional
HostIP *string `protobuf:"bytes,5,opt,name=hostIP" json:"hostIP,omitempty"`
// IP address allocated to the pod. Routable at least within the cluster.
// Empty if not yet allocated.
// +optional
PodIP *string `protobuf:"bytes,6,opt,name=podIP" json:"podIP,omitempty"`
// 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 *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,7,opt,name=startTime" json:"startTime,omitempty"`
// The list has one entry per init container in the manifest. The most recent successful
// init container will have ready = true, the most recently started container will have
// startTime set.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
InitContainerStatuses []*ContainerStatus `protobuf:"bytes,10,rep,name=initContainerStatuses" json:"initContainerStatuses,omitempty"`
// The list has one entry per container in the manifest. Each entry is currently the output
// of `docker inspect`.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
// +optional
ContainerStatuses []*ContainerStatus `protobuf:"bytes,8,rep,name=containerStatuses" json:"containerStatuses,omitempty"`
// The Quality of Service (QOS) classification assigned to the pod based on resource requirements
// See PodQOSClass type for available QOS classes
// More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md
// +optional
QosClass *string `protobuf:"bytes,9,opt,name=qosClass" json:"qosClass,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PodStatus) GetConditions ¶
func (m *PodStatus) GetConditions() []*PodCondition
func (*PodStatus) GetContainerStatuses ¶
func (m *PodStatus) GetContainerStatuses() []*ContainerStatus
func (*PodStatus) GetInitContainerStatuses ¶
func (m *PodStatus) GetInitContainerStatuses() []*ContainerStatus
func (*PodStatus) GetMessage ¶
func (*PodStatus) GetNominatedNodeName ¶ added in v1.1.0
func (*PodStatus) GetQosClass ¶
func (*PodStatus) GetStartTime ¶
func (m *PodStatus) GetStartTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PodStatus) ProtoMessage ¶
func (*PodStatus) ProtoMessage()
type PodStatusResult ¶
type PodStatusResult struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Most recently observed status of the pod.
// This data may not be up to date.
// Populated by the system.
// Read-only.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *PodStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded
func (*PodStatusResult) Descriptor ¶
func (*PodStatusResult) Descriptor() ([]byte, []int)
func (*PodStatusResult) GetMetadata ¶
func (m *PodStatusResult) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*PodStatusResult) GetStatus ¶
func (m *PodStatusResult) GetStatus() *PodStatus
func (*PodStatusResult) Marshal ¶
func (m *PodStatusResult) Marshal() (dAtA []byte, err error)
func (*PodStatusResult) ProtoMessage ¶
func (*PodStatusResult) ProtoMessage()
func (*PodStatusResult) Reset ¶
func (m *PodStatusResult) Reset()
func (*PodStatusResult) Size ¶
func (m *PodStatusResult) Size() (n int)
func (*PodStatusResult) String ¶
func (m *PodStatusResult) String() string
func (*PodStatusResult) Unmarshal ¶
func (m *PodStatusResult) Unmarshal(dAtA []byte) error
type PodTemplate ¶
type PodTemplate struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Template defines the pods that will be created from this pod template.
// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Template *PodTemplateSpec `protobuf:"bytes,2,opt,name=template" json:"template,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodTemplate describes a template for creating copies of a predefined pod.
func (*PodTemplate) Descriptor ¶
func (*PodTemplate) Descriptor() ([]byte, []int)
func (*PodTemplate) GetMetadata ¶
func (m *PodTemplate) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*PodTemplate) GetTemplate ¶
func (m *PodTemplate) GetTemplate() *PodTemplateSpec
func (*PodTemplate) Marshal ¶
func (m *PodTemplate) Marshal() (dAtA []byte, err error)
func (*PodTemplate) ProtoMessage ¶
func (*PodTemplate) ProtoMessage()
func (*PodTemplate) Reset ¶
func (m *PodTemplate) Reset()
func (*PodTemplate) Size ¶
func (m *PodTemplate) Size() (n int)
func (*PodTemplate) String ¶
func (m *PodTemplate) String() string
func (*PodTemplate) Unmarshal ¶
func (m *PodTemplate) Unmarshal(dAtA []byte) error
type PodTemplateList ¶
type PodTemplateList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of pod templates
Items []*PodTemplate `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodTemplateList is a list of PodTemplates.
func (*PodTemplateList) Descriptor ¶
func (*PodTemplateList) Descriptor() ([]byte, []int)
func (*PodTemplateList) GetItems ¶
func (m *PodTemplateList) GetItems() []*PodTemplate
func (*PodTemplateList) GetMetadata ¶
func (m *PodTemplateList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*PodTemplateList) Marshal ¶
func (m *PodTemplateList) Marshal() (dAtA []byte, err error)
func (*PodTemplateList) ProtoMessage ¶
func (*PodTemplateList) ProtoMessage()
func (*PodTemplateList) Reset ¶
func (m *PodTemplateList) Reset()
func (*PodTemplateList) Size ¶
func (m *PodTemplateList) Size() (n int)
func (*PodTemplateList) String ¶
func (m *PodTemplateList) String() string
func (*PodTemplateList) Unmarshal ¶
func (m *PodTemplateList) Unmarshal(dAtA []byte) error
type PodTemplateSpec ¶
type PodTemplateSpec struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Specification of the desired behavior of the pod.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *PodSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PodTemplateSpec describes the data a pod should have when created from a template
func (*PodTemplateSpec) Descriptor ¶
func (*PodTemplateSpec) Descriptor() ([]byte, []int)
func (*PodTemplateSpec) GetMetadata ¶
func (m *PodTemplateSpec) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*PodTemplateSpec) GetSpec ¶
func (m *PodTemplateSpec) GetSpec() *PodSpec
func (*PodTemplateSpec) Marshal ¶
func (m *PodTemplateSpec) Marshal() (dAtA []byte, err error)
func (*PodTemplateSpec) ProtoMessage ¶
func (*PodTemplateSpec) ProtoMessage()
func (*PodTemplateSpec) Reset ¶
func (m *PodTemplateSpec) Reset()
func (*PodTemplateSpec) Size ¶
func (m *PodTemplateSpec) Size() (n int)
func (*PodTemplateSpec) String ¶
func (m *PodTemplateSpec) String() string
func (*PodTemplateSpec) Unmarshal ¶
func (m *PodTemplateSpec) Unmarshal(dAtA []byte) error
type PortworxVolumeSource ¶
type PortworxVolumeSource struct {
// VolumeID uniquely identifies a Portworx volume
VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
// FSType represents the filesystem type to mount
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
PortworxVolumeSource represents a Portworx volume resource.
func (*PortworxVolumeSource) Descriptor ¶
func (*PortworxVolumeSource) Descriptor() ([]byte, []int)
func (*PortworxVolumeSource) GetFsType ¶
func (m *PortworxVolumeSource) GetFsType() string
func (*PortworxVolumeSource) GetReadOnly ¶
func (m *PortworxVolumeSource) GetReadOnly() bool
func (*PortworxVolumeSource) GetVolumeID ¶
func (m *PortworxVolumeSource) GetVolumeID() string
func (*PortworxVolumeSource) Marshal ¶
func (m *PortworxVolumeSource) Marshal() (dAtA []byte, err error)
func (*PortworxVolumeSource) MarshalTo ¶
func (m *PortworxVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*PortworxVolumeSource) ProtoMessage ¶
func (*PortworxVolumeSource) ProtoMessage()
func (*PortworxVolumeSource) Reset ¶
func (m *PortworxVolumeSource) Reset()
func (*PortworxVolumeSource) Size ¶
func (m *PortworxVolumeSource) Size() (n int)
func (*PortworxVolumeSource) String ¶
func (m *PortworxVolumeSource) String() string
func (*PortworxVolumeSource) Unmarshal ¶
func (m *PortworxVolumeSource) Unmarshal(dAtA []byte) error
type Preconditions ¶
type Preconditions struct {
// Specifies the target UID.
// +optional
Uid *string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. +k8s:openapi-gen=false
func (*Preconditions) Descriptor ¶
func (*Preconditions) Descriptor() ([]byte, []int)
func (*Preconditions) GetUid ¶
func (m *Preconditions) GetUid() string
func (*Preconditions) Marshal ¶
func (m *Preconditions) Marshal() (dAtA []byte, err error)
func (*Preconditions) ProtoMessage ¶
func (*Preconditions) ProtoMessage()
func (*Preconditions) Reset ¶
func (m *Preconditions) Reset()
func (*Preconditions) Size ¶
func (m *Preconditions) Size() (n int)
func (*Preconditions) String ¶
func (m *Preconditions) String() string
func (*Preconditions) Unmarshal ¶
func (m *Preconditions) Unmarshal(dAtA []byte) error
type PreferAvoidPodsEntry ¶
type PreferAvoidPodsEntry struct {
// The class of pods.
PodSignature *PodSignature `protobuf:"bytes,1,opt,name=podSignature" json:"podSignature,omitempty"`
// Time at which this entry was added to the list.
// +optional
EvictionTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,2,opt,name=evictionTime" json:"evictionTime,omitempty"`
// (brief) reason why this entry was added to the list.
// +optional
Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
// Human readable message indicating why this entry was added to the list.
// +optional
Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Describes a class of pods that should avoid this node.
func (*PreferAvoidPodsEntry) Descriptor ¶
func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int)
func (*PreferAvoidPodsEntry) GetEvictionTime ¶
func (m *PreferAvoidPodsEntry) GetEvictionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*PreferAvoidPodsEntry) GetMessage ¶
func (m *PreferAvoidPodsEntry) GetMessage() string
func (*PreferAvoidPodsEntry) GetPodSignature ¶
func (m *PreferAvoidPodsEntry) GetPodSignature() *PodSignature
func (*PreferAvoidPodsEntry) GetReason ¶
func (m *PreferAvoidPodsEntry) GetReason() string
func (*PreferAvoidPodsEntry) Marshal ¶
func (m *PreferAvoidPodsEntry) Marshal() (dAtA []byte, err error)
func (*PreferAvoidPodsEntry) MarshalTo ¶
func (m *PreferAvoidPodsEntry) MarshalTo(dAtA []byte) (int, error)
func (*PreferAvoidPodsEntry) ProtoMessage ¶
func (*PreferAvoidPodsEntry) ProtoMessage()
func (*PreferAvoidPodsEntry) Reset ¶
func (m *PreferAvoidPodsEntry) Reset()
func (*PreferAvoidPodsEntry) Size ¶
func (m *PreferAvoidPodsEntry) Size() (n int)
func (*PreferAvoidPodsEntry) String ¶
func (m *PreferAvoidPodsEntry) String() string
func (*PreferAvoidPodsEntry) Unmarshal ¶
func (m *PreferAvoidPodsEntry) Unmarshal(dAtA []byte) error
type PreferredSchedulingTerm ¶
type PreferredSchedulingTerm struct {
// Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight *int32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"`
// A node selector term, associated with the corresponding weight.
Preference *NodeSelectorTerm `protobuf:"bytes,2,opt,name=preference" json:"preference,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int)
func (*PreferredSchedulingTerm) GetPreference ¶
func (m *PreferredSchedulingTerm) GetPreference() *NodeSelectorTerm
func (*PreferredSchedulingTerm) GetWeight ¶
func (m *PreferredSchedulingTerm) GetWeight() int32
func (*PreferredSchedulingTerm) Marshal ¶
func (m *PreferredSchedulingTerm) Marshal() (dAtA []byte, err error)
func (*PreferredSchedulingTerm) MarshalTo ¶
func (m *PreferredSchedulingTerm) MarshalTo(dAtA []byte) (int, error)
func (*PreferredSchedulingTerm) ProtoMessage ¶
func (*PreferredSchedulingTerm) ProtoMessage()
func (*PreferredSchedulingTerm) Reset ¶
func (m *PreferredSchedulingTerm) Reset()
func (*PreferredSchedulingTerm) Size ¶
func (m *PreferredSchedulingTerm) Size() (n int)
func (*PreferredSchedulingTerm) String ¶
func (m *PreferredSchedulingTerm) String() string
func (*PreferredSchedulingTerm) Unmarshal ¶
func (m *PreferredSchedulingTerm) Unmarshal(dAtA []byte) error
type Probe ¶
type Probe struct {
// The action taken to determine the health of a container
Handler *Handler `protobuf:"bytes,1,opt,name=handler" json:"handler,omitempty"`
// Number of seconds after the container has started before liveness probes are initiated.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
// +optional
InitialDelaySeconds *int32 `protobuf:"varint,2,opt,name=initialDelaySeconds" json:"initialDelaySeconds,omitempty"`
// Number of seconds after which the probe times out.
// Defaults to 1 second. Minimum value is 1.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
// +optional
TimeoutSeconds *int32 `protobuf:"varint,3,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
// How often (in seconds) to perform the probe.
// Default to 10 seconds. Minimum value is 1.
// +optional
PeriodSeconds *int32 `protobuf:"varint,4,opt,name=periodSeconds" json:"periodSeconds,omitempty"`
// Minimum consecutive successes for the probe to be considered successful after having failed.
// Defaults to 1. Must be 1 for liveness. Minimum value is 1.
// +optional
SuccessThreshold *int32 `protobuf:"varint,5,opt,name=successThreshold" json:"successThreshold,omitempty"`
// Minimum consecutive failures for the probe to be considered failed after having succeeded.
// Defaults to 3. Minimum value is 1.
// +optional
FailureThreshold *int32 `protobuf:"varint,6,opt,name=failureThreshold" json:"failureThreshold,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Probe) GetFailureThreshold ¶
func (*Probe) GetHandler ¶
func (*Probe) GetInitialDelaySeconds ¶
func (*Probe) GetPeriodSeconds ¶
func (*Probe) GetSuccessThreshold ¶
func (*Probe) GetTimeoutSeconds ¶
func (*Probe) ProtoMessage ¶
func (*Probe) ProtoMessage()
type ProjectedVolumeSource ¶
type ProjectedVolumeSource struct {
// list of volume projections
Sources []*VolumeProjection `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
// Mode bits to use on created files by default. Must be a value between
// 0 and 0777.
// Directories within the path are not affected by this setting.
// This might be in conflict with other options that affect the file
// mode, like fsGroup, and the result can be other mode bits set.
// +optional
DefaultMode *int32 `protobuf:"varint,2,opt,name=defaultMode" json:"defaultMode,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a projected volume source
func (*ProjectedVolumeSource) Descriptor ¶
func (*ProjectedVolumeSource) Descriptor() ([]byte, []int)
func (*ProjectedVolumeSource) GetDefaultMode ¶
func (m *ProjectedVolumeSource) GetDefaultMode() int32
func (*ProjectedVolumeSource) GetSources ¶
func (m *ProjectedVolumeSource) GetSources() []*VolumeProjection
func (*ProjectedVolumeSource) Marshal ¶
func (m *ProjectedVolumeSource) Marshal() (dAtA []byte, err error)
func (*ProjectedVolumeSource) MarshalTo ¶
func (m *ProjectedVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*ProjectedVolumeSource) ProtoMessage ¶
func (*ProjectedVolumeSource) ProtoMessage()
func (*ProjectedVolumeSource) Reset ¶
func (m *ProjectedVolumeSource) Reset()
func (*ProjectedVolumeSource) Size ¶
func (m *ProjectedVolumeSource) Size() (n int)
func (*ProjectedVolumeSource) String ¶
func (m *ProjectedVolumeSource) String() string
func (*ProjectedVolumeSource) Unmarshal ¶
func (m *ProjectedVolumeSource) Unmarshal(dAtA []byte) error
type QuobyteVolumeSource ¶
type QuobyteVolumeSource struct {
// Registry represents a single or multiple Quobyte Registry services
// specified as a string as host:port pair (multiple entries are separated with commas)
// which acts as the central registry for volumes
Registry *string `protobuf:"bytes,1,opt,name=registry" json:"registry,omitempty"`
// Volume is a string that references an already created Quobyte volume by name.
Volume *string `protobuf:"bytes,2,opt,name=volume" json:"volume,omitempty"`
// ReadOnly here will force the Quobyte volume to be mounted with read-only permissions.
// Defaults to false.
// +optional
ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"`
// User to map volume access to
// Defaults to serivceaccount user
// +optional
User *string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
// Group to map volume access to
// Default is no group
// +optional
Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.
func (*QuobyteVolumeSource) Descriptor ¶
func (*QuobyteVolumeSource) Descriptor() ([]byte, []int)
func (*QuobyteVolumeSource) GetGroup ¶
func (m *QuobyteVolumeSource) GetGroup() string
func (*QuobyteVolumeSource) GetReadOnly ¶
func (m *QuobyteVolumeSource) GetReadOnly() bool
func (*QuobyteVolumeSource) GetRegistry ¶
func (m *QuobyteVolumeSource) GetRegistry() string
func (*QuobyteVolumeSource) GetUser ¶
func (m *QuobyteVolumeSource) GetUser() string
func (*QuobyteVolumeSource) GetVolume ¶
func (m *QuobyteVolumeSource) GetVolume() string
func (*QuobyteVolumeSource) Marshal ¶
func (m *QuobyteVolumeSource) Marshal() (dAtA []byte, err error)
func (*QuobyteVolumeSource) MarshalTo ¶
func (m *QuobyteVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*QuobyteVolumeSource) ProtoMessage ¶
func (*QuobyteVolumeSource) ProtoMessage()
func (*QuobyteVolumeSource) Reset ¶
func (m *QuobyteVolumeSource) Reset()
func (*QuobyteVolumeSource) Size ¶
func (m *QuobyteVolumeSource) Size() (n int)
func (*QuobyteVolumeSource) String ¶
func (m *QuobyteVolumeSource) String() string
func (*QuobyteVolumeSource) Unmarshal ¶
func (m *QuobyteVolumeSource) Unmarshal(dAtA []byte) error
type RBDPersistentVolumeSource ¶
type RBDPersistentVolumeSource struct {
// A collection of Ceph monitors.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
// The rados image name.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
// Filesystem type of the volume that you want to mount.
// Tip: Ensure that the filesystem type is supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
// The rados pool name.
// Default is rbd.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"`
// The rados user name.
// Default is admin.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"`
// Keyring is the path to key ring for RBDUser.
// Default is /etc/ceph/keyring.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
Keyring *string `protobuf:"bytes,6,opt,name=keyring" json:"keyring,omitempty"`
// SecretRef is name of the authentication secret for RBDUser. If provided
// overrides keyring.
// Default is nil.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
SecretRef *SecretReference `protobuf:"bytes,7,opt,name=secretRef" json:"secretRef,omitempty"`
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
ReadOnly *bool `protobuf:"varint,8,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
func (*RBDPersistentVolumeSource) Descriptor ¶
func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*RBDPersistentVolumeSource) GetFsType ¶
func (m *RBDPersistentVolumeSource) GetFsType() string
func (*RBDPersistentVolumeSource) GetImage ¶
func (m *RBDPersistentVolumeSource) GetImage() string
func (*RBDPersistentVolumeSource) GetKeyring ¶
func (m *RBDPersistentVolumeSource) GetKeyring() string
func (*RBDPersistentVolumeSource) GetMonitors ¶
func (m *RBDPersistentVolumeSource) GetMonitors() []string
func (*RBDPersistentVolumeSource) GetPool ¶
func (m *RBDPersistentVolumeSource) GetPool() string
func (*RBDPersistentVolumeSource) GetReadOnly ¶
func (m *RBDPersistentVolumeSource) GetReadOnly() bool
func (*RBDPersistentVolumeSource) GetSecretRef ¶
func (m *RBDPersistentVolumeSource) GetSecretRef() *SecretReference
func (*RBDPersistentVolumeSource) GetUser ¶
func (m *RBDPersistentVolumeSource) GetUser() string
func (*RBDPersistentVolumeSource) Marshal ¶
func (m *RBDPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*RBDPersistentVolumeSource) MarshalTo ¶
func (m *RBDPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*RBDPersistentVolumeSource) ProtoMessage ¶
func (*RBDPersistentVolumeSource) ProtoMessage()
func (*RBDPersistentVolumeSource) Reset ¶
func (m *RBDPersistentVolumeSource) Reset()
func (*RBDPersistentVolumeSource) Size ¶
func (m *RBDPersistentVolumeSource) Size() (n int)
func (*RBDPersistentVolumeSource) String ¶
func (m *RBDPersistentVolumeSource) String() string
func (*RBDPersistentVolumeSource) Unmarshal ¶
func (m *RBDPersistentVolumeSource) Unmarshal(dAtA []byte) error
type RBDVolumeSource ¶
type RBDVolumeSource struct {
// A collection of Ceph monitors.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"`
// The rados image name.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"`
// Filesystem type of the volume that you want to mount.
// Tip: Ensure that the filesystem type is supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
// TODO: how do we prevent errors in the filesystem from compromising the machine
// +optional
FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
// The rados pool name.
// Default is rbd.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"`
// The rados user name.
// Default is admin.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"`
// Keyring is the path to key ring for RBDUser.
// Default is /etc/ceph/keyring.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
Keyring *string `protobuf:"bytes,6,opt,name=keyring" json:"keyring,omitempty"`
// SecretRef is name of the authentication secret for RBDUser. If provided
// overrides keyring.
// Default is nil.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
SecretRef *LocalObjectReference `protobuf:"bytes,7,opt,name=secretRef" json:"secretRef,omitempty"`
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
// +optional
ReadOnly *bool `protobuf:"varint,8,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
func (*RBDVolumeSource) Descriptor ¶
func (*RBDVolumeSource) Descriptor() ([]byte, []int)
func (*RBDVolumeSource) GetFsType ¶
func (m *RBDVolumeSource) GetFsType() string
func (*RBDVolumeSource) GetImage ¶
func (m *RBDVolumeSource) GetImage() string
func (*RBDVolumeSource) GetKeyring ¶
func (m *RBDVolumeSource) GetKeyring() string
func (*RBDVolumeSource) GetMonitors ¶
func (m *RBDVolumeSource) GetMonitors() []string
func (*RBDVolumeSource) GetPool ¶
func (m *RBDVolumeSource) GetPool() string
func (*RBDVolumeSource) GetReadOnly ¶
func (m *RBDVolumeSource) GetReadOnly() bool
func (*RBDVolumeSource) GetSecretRef ¶
func (m *RBDVolumeSource) GetSecretRef() *LocalObjectReference
func (*RBDVolumeSource) GetUser ¶
func (m *RBDVolumeSource) GetUser() string
func (*RBDVolumeSource) Marshal ¶
func (m *RBDVolumeSource) Marshal() (dAtA []byte, err error)
func (*RBDVolumeSource) ProtoMessage ¶
func (*RBDVolumeSource) ProtoMessage()
func (*RBDVolumeSource) Reset ¶
func (m *RBDVolumeSource) Reset()
func (*RBDVolumeSource) Size ¶
func (m *RBDVolumeSource) Size() (n int)
func (*RBDVolumeSource) String ¶
func (m *RBDVolumeSource) String() string
func (*RBDVolumeSource) Unmarshal ¶
func (m *RBDVolumeSource) Unmarshal(dAtA []byte) error
type RangeAllocation ¶
type RangeAllocation struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Range is string that identifies the range represented by 'data'.
Range *string `protobuf:"bytes,2,opt,name=range" json:"range,omitempty"`
// Data is a bit array containing all allocated addresses in the previous segment.
Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
RangeAllocation is not a public type.
func (*RangeAllocation) Descriptor ¶
func (*RangeAllocation) Descriptor() ([]byte, []int)
func (*RangeAllocation) GetData ¶
func (m *RangeAllocation) GetData() []byte
func (*RangeAllocation) GetMetadata ¶
func (m *RangeAllocation) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*RangeAllocation) GetRange ¶
func (m *RangeAllocation) GetRange() string
func (*RangeAllocation) Marshal ¶
func (m *RangeAllocation) Marshal() (dAtA []byte, err error)
func (*RangeAllocation) ProtoMessage ¶
func (*RangeAllocation) ProtoMessage()
func (*RangeAllocation) Reset ¶
func (m *RangeAllocation) Reset()
func (*RangeAllocation) Size ¶
func (m *RangeAllocation) Size() (n int)
func (*RangeAllocation) String ¶
func (m *RangeAllocation) String() string
func (*RangeAllocation) Unmarshal ¶
func (m *RangeAllocation) Unmarshal(dAtA []byte) error
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/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the specification of the desired behavior of the replication controller.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *ReplicationControllerSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Status is the most recently observed status of the replication controller.
// This data may be out of date by some window of time.
// Populated by the system.
// Read-only.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *ReplicationControllerStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ReplicationController represents the configuration of a replication controller.
func (*ReplicationController) Descriptor ¶
func (*ReplicationController) Descriptor() ([]byte, []int)
func (*ReplicationController) GetMetadata ¶
func (m *ReplicationController) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*ReplicationController) GetSpec ¶
func (m *ReplicationController) GetSpec() *ReplicationControllerSpec
func (*ReplicationController) GetStatus ¶
func (m *ReplicationController) GetStatus() *ReplicationControllerStatus
func (*ReplicationController) Marshal ¶
func (m *ReplicationController) Marshal() (dAtA []byte, err error)
func (*ReplicationController) MarshalTo ¶
func (m *ReplicationController) MarshalTo(dAtA []byte) (int, error)
func (*ReplicationController) ProtoMessage ¶
func (*ReplicationController) ProtoMessage()
func (*ReplicationController) Reset ¶
func (m *ReplicationController) Reset()
func (*ReplicationController) Size ¶
func (m *ReplicationController) Size() (n int)
func (*ReplicationController) String ¶
func (m *ReplicationController) String() string
func (*ReplicationController) Unmarshal ¶
func (m *ReplicationController) Unmarshal(dAtA []byte) error
type ReplicationControllerCondition ¶
type ReplicationControllerCondition struct {
// Type of replication controller condition.
Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
// Status of the condition, one of True, False, Unknown.
Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
// The last time the condition transitioned from one status to another.
// +optional
LastTransitionTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
// The reason for the condition's last transition.
// +optional
Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
// A human readable message indicating details about the transition.
// +optional
Message *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ReplicationControllerCondition describes the state of a replication controller at a certain point.
func (*ReplicationControllerCondition) Descriptor ¶
func (*ReplicationControllerCondition) Descriptor() ([]byte, []int)
func (*ReplicationControllerCondition) GetLastTransitionTime ¶
func (m *ReplicationControllerCondition) GetLastTransitionTime() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*ReplicationControllerCondition) GetMessage ¶
func (m *ReplicationControllerCondition) GetMessage() string
func (*ReplicationControllerCondition) GetReason ¶
func (m *ReplicationControllerCondition) GetReason() string
func (*ReplicationControllerCondition) GetStatus ¶
func (m *ReplicationControllerCondition) GetStatus() string
func (*ReplicationControllerCondition) GetType ¶
func (m *ReplicationControllerCondition) GetType() string
func (*ReplicationControllerCondition) Marshal ¶
func (m *ReplicationControllerCondition) Marshal() (dAtA []byte, err error)
func (*ReplicationControllerCondition) MarshalTo ¶
func (m *ReplicationControllerCondition) MarshalTo(dAtA []byte) (int, error)
func (*ReplicationControllerCondition) ProtoMessage ¶
func (*ReplicationControllerCondition) ProtoMessage()
func (*ReplicationControllerCondition) Reset ¶
func (m *ReplicationControllerCondition) Reset()
func (*ReplicationControllerCondition) Size ¶
func (m *ReplicationControllerCondition) Size() (n int)
func (*ReplicationControllerCondition) String ¶
func (m *ReplicationControllerCondition) String() string
func (*ReplicationControllerCondition) Unmarshal ¶
func (m *ReplicationControllerCondition) Unmarshal(dAtA []byte) error
type ReplicationControllerList ¶
type ReplicationControllerList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of replication controllers.
// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
Items []*ReplicationController `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ReplicationControllerList is a collection of replication controllers.
func (*ReplicationControllerList) Descriptor ¶
func (*ReplicationControllerList) Descriptor() ([]byte, []int)
func (*ReplicationControllerList) GetItems ¶
func (m *ReplicationControllerList) GetItems() []*ReplicationController
func (*ReplicationControllerList) GetMetadata ¶
func (m *ReplicationControllerList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*ReplicationControllerList) Marshal ¶
func (m *ReplicationControllerList) Marshal() (dAtA []byte, err error)
func (*ReplicationControllerList) MarshalTo ¶
func (m *ReplicationControllerList) MarshalTo(dAtA []byte) (int, error)
func (*ReplicationControllerList) ProtoMessage ¶
func (*ReplicationControllerList) ProtoMessage()
func (*ReplicationControllerList) Reset ¶
func (m *ReplicationControllerList) Reset()
func (*ReplicationControllerList) Size ¶
func (m *ReplicationControllerList) Size() (n int)
func (*ReplicationControllerList) String ¶
func (m *ReplicationControllerList) String() string
func (*ReplicationControllerList) Unmarshal ¶
func (m *ReplicationControllerList) Unmarshal(dAtA []byte) error
type ReplicationControllerSpec ¶
type ReplicationControllerSpec struct {
// Replicas is the number of desired replicas.
// This is a pointer to distinguish between explicit zero and unspecified.
// Defaults to 1.
// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
// +optional
Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
// Minimum number of seconds for which a newly created pod should be ready
// without any of its container crashing, for it to be considered available.
// Defaults to 0 (pod will be considered available as soon as it is ready)
// +optional
MinReadySeconds *int32 `protobuf:"varint,4,opt,name=minReadySeconds" json:"minReadySeconds,omitempty"`
// Selector is a label query over pods that should match the Replicas count.
// If Selector is empty, it is defaulted to the labels present on the Pod template.
// Label keys and values that must match in order to be controlled by this replication
// controller, if empty defaulted to labels on Pod template.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
// +optional
Selector map[string]string `` /* 136-byte string literal not displayed */
// Template is the object that describes the pod that will be created if
// insufficient replicas are detected. This takes precedence over a TemplateRef.
// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
// +optional
Template *PodTemplateSpec `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ReplicationControllerSpec is the specification of a replication controller.
func (*ReplicationControllerSpec) Descriptor ¶
func (*ReplicationControllerSpec) Descriptor() ([]byte, []int)
func (*ReplicationControllerSpec) GetMinReadySeconds ¶
func (m *ReplicationControllerSpec) GetMinReadySeconds() int32
func (*ReplicationControllerSpec) GetReplicas ¶
func (m *ReplicationControllerSpec) GetReplicas() int32
func (*ReplicationControllerSpec) GetSelector ¶
func (m *ReplicationControllerSpec) GetSelector() map[string]string
func (*ReplicationControllerSpec) GetTemplate ¶
func (m *ReplicationControllerSpec) GetTemplate() *PodTemplateSpec
func (*ReplicationControllerSpec) Marshal ¶
func (m *ReplicationControllerSpec) Marshal() (dAtA []byte, err error)
func (*ReplicationControllerSpec) MarshalTo ¶
func (m *ReplicationControllerSpec) MarshalTo(dAtA []byte) (int, error)
func (*ReplicationControllerSpec) ProtoMessage ¶
func (*ReplicationControllerSpec) ProtoMessage()
func (*ReplicationControllerSpec) Reset ¶
func (m *ReplicationControllerSpec) Reset()
func (*ReplicationControllerSpec) Size ¶
func (m *ReplicationControllerSpec) Size() (n int)
func (*ReplicationControllerSpec) String ¶
func (m *ReplicationControllerSpec) String() string
func (*ReplicationControllerSpec) Unmarshal ¶
func (m *ReplicationControllerSpec) Unmarshal(dAtA []byte) error
type ReplicationControllerStatus ¶
type ReplicationControllerStatus struct {
// Replicas is the most recently oberved number of replicas.
// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
// The number of pods that have labels matching the labels of the pod template of the replication controller.
// +optional
FullyLabeledReplicas *int32 `protobuf:"varint,2,opt,name=fullyLabeledReplicas" json:"fullyLabeledReplicas,omitempty"`
// The number of ready replicas for this replication controller.
// +optional
ReadyReplicas *int32 `protobuf:"varint,4,opt,name=readyReplicas" json:"readyReplicas,omitempty"`
// The number of available replicas (ready for at least minReadySeconds) for this replication controller.
// +optional
AvailableReplicas *int32 `protobuf:"varint,5,opt,name=availableReplicas" json:"availableReplicas,omitempty"`
// ObservedGeneration reflects the generation of the most recently observed replication controller.
// +optional
ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration" json:"observedGeneration,omitempty"`
// Represents the latest available observations of a replication controller's current state.
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []*ReplicationControllerCondition `protobuf:"bytes,6,rep,name=conditions" json:"conditions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ReplicationControllerStatus represents the current status of a replication controller.
func (*ReplicationControllerStatus) Descriptor ¶
func (*ReplicationControllerStatus) Descriptor() ([]byte, []int)
func (*ReplicationControllerStatus) GetAvailableReplicas ¶
func (m *ReplicationControllerStatus) GetAvailableReplicas() int32
func (*ReplicationControllerStatus) GetConditions ¶
func (m *ReplicationControllerStatus) GetConditions() []*ReplicationControllerCondition
func (*ReplicationControllerStatus) GetFullyLabeledReplicas ¶
func (m *ReplicationControllerStatus) GetFullyLabeledReplicas() int32
func (*ReplicationControllerStatus) GetObservedGeneration ¶
func (m *ReplicationControllerStatus) GetObservedGeneration() int64
func (*ReplicationControllerStatus) GetReadyReplicas ¶
func (m *ReplicationControllerStatus) GetReadyReplicas() int32
func (*ReplicationControllerStatus) GetReplicas ¶
func (m *ReplicationControllerStatus) GetReplicas() int32
func (*ReplicationControllerStatus) Marshal ¶
func (m *ReplicationControllerStatus) Marshal() (dAtA []byte, err error)
func (*ReplicationControllerStatus) MarshalTo ¶
func (m *ReplicationControllerStatus) MarshalTo(dAtA []byte) (int, error)
func (*ReplicationControllerStatus) ProtoMessage ¶
func (*ReplicationControllerStatus) ProtoMessage()
func (*ReplicationControllerStatus) Reset ¶
func (m *ReplicationControllerStatus) Reset()
func (*ReplicationControllerStatus) Size ¶
func (m *ReplicationControllerStatus) Size() (n int)
func (*ReplicationControllerStatus) String ¶
func (m *ReplicationControllerStatus) String() string
func (*ReplicationControllerStatus) Unmarshal ¶
func (m *ReplicationControllerStatus) Unmarshal(dAtA []byte) error
type ResourceFieldSelector ¶
type ResourceFieldSelector struct {
// Container name: required for volumes, optional for env vars
// +optional
ContainerName *string `protobuf:"bytes,1,opt,name=containerName" json:"containerName,omitempty"`
// Required: resource to select
Resource *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
// Specifies the output format of the exposed resources, defaults to "1"
// +optional
Divisor *k8s_io_apimachinery_pkg_api_resource.Quantity `protobuf:"bytes,3,opt,name=divisor" json:"divisor,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ResourceFieldSelector represents container resources (cpu, memory) and their output format
func (*ResourceFieldSelector) Descriptor ¶
func (*ResourceFieldSelector) Descriptor() ([]byte, []int)
func (*ResourceFieldSelector) GetContainerName ¶
func (m *ResourceFieldSelector) GetContainerName() string
func (*ResourceFieldSelector) GetDivisor ¶
func (m *ResourceFieldSelector) GetDivisor() *k8s_io_apimachinery_pkg_api_resource.Quantity
func (*ResourceFieldSelector) GetResource ¶
func (m *ResourceFieldSelector) GetResource() string
func (*ResourceFieldSelector) Marshal ¶
func (m *ResourceFieldSelector) Marshal() (dAtA []byte, err error)
func (*ResourceFieldSelector) MarshalTo ¶
func (m *ResourceFieldSelector) MarshalTo(dAtA []byte) (int, error)
func (*ResourceFieldSelector) ProtoMessage ¶
func (*ResourceFieldSelector) ProtoMessage()
func (*ResourceFieldSelector) Reset ¶
func (m *ResourceFieldSelector) Reset()
func (*ResourceFieldSelector) Size ¶
func (m *ResourceFieldSelector) Size() (n int)
func (*ResourceFieldSelector) String ¶
func (m *ResourceFieldSelector) String() string
func (*ResourceFieldSelector) Unmarshal ¶
func (m *ResourceFieldSelector) Unmarshal(dAtA []byte) error
type ResourceQuota ¶
type ResourceQuota struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the desired quota.
// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *ResourceQuotaSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Status defines the actual enforced quota and its current usage.
// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *ResourceQuotaStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ResourceQuota sets aggregate quota restrictions enforced per namespace
func (*ResourceQuota) Descriptor ¶
func (*ResourceQuota) Descriptor() ([]byte, []int)
func (*ResourceQuota) GetMetadata ¶
func (m *ResourceQuota) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*ResourceQuota) GetSpec ¶
func (m *ResourceQuota) GetSpec() *ResourceQuotaSpec
func (*ResourceQuota) GetStatus ¶
func (m *ResourceQuota) GetStatus() *ResourceQuotaStatus
func (*ResourceQuota) Marshal ¶
func (m *ResourceQuota) Marshal() (dAtA []byte, err error)
func (*ResourceQuota) ProtoMessage ¶
func (*ResourceQuota) ProtoMessage()
func (*ResourceQuota) Reset ¶
func (m *ResourceQuota) Reset()
func (*ResourceQuota) Size ¶
func (m *ResourceQuota) Size() (n int)
func (*ResourceQuota) String ¶
func (m *ResourceQuota) String() string
func (*ResourceQuota) Unmarshal ¶
func (m *ResourceQuota) Unmarshal(dAtA []byte) error
type ResourceQuotaList ¶
type ResourceQuotaList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Items is a list of ResourceQuota objects.
// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
Items []*ResourceQuota `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ResourceQuotaList is a list of ResourceQuota items.
func (*ResourceQuotaList) Descriptor ¶
func (*ResourceQuotaList) Descriptor() ([]byte, []int)
func (*ResourceQuotaList) GetItems ¶
func (m *ResourceQuotaList) GetItems() []*ResourceQuota
func (*ResourceQuotaList) GetMetadata ¶
func (m *ResourceQuotaList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*ResourceQuotaList) Marshal ¶
func (m *ResourceQuotaList) Marshal() (dAtA []byte, err error)
func (*ResourceQuotaList) MarshalTo ¶
func (m *ResourceQuotaList) MarshalTo(dAtA []byte) (int, error)
func (*ResourceQuotaList) ProtoMessage ¶
func (*ResourceQuotaList) ProtoMessage()
func (*ResourceQuotaList) Reset ¶
func (m *ResourceQuotaList) Reset()
func (*ResourceQuotaList) Size ¶
func (m *ResourceQuotaList) Size() (n int)
func (*ResourceQuotaList) String ¶
func (m *ResourceQuotaList) String() string
func (*ResourceQuotaList) Unmarshal ¶
func (m *ResourceQuotaList) Unmarshal(dAtA []byte) error
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]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 128-byte string literal not displayed */
// A collection of filters that must match each object tracked by a quota.
// If not specified, the quota matches all objects.
// +optional
Scopes []string `protobuf:"bytes,2,rep,name=scopes" json:"scopes,omitempty"`
// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
// but expressed using ScopeSelectorOperator in combination with possible values.
// For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
// +optional
ScopeSelector *ScopeSelector `protobuf:"bytes,3,opt,name=scopeSelector" json:"scopeSelector,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
func (*ResourceQuotaSpec) Descriptor ¶
func (*ResourceQuotaSpec) Descriptor() ([]byte, []int)
func (*ResourceQuotaSpec) GetHard ¶
func (m *ResourceQuotaSpec) GetHard() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*ResourceQuotaSpec) GetScopeSelector ¶ added in v1.4.0
func (m *ResourceQuotaSpec) GetScopeSelector() *ScopeSelector
func (*ResourceQuotaSpec) GetScopes ¶
func (m *ResourceQuotaSpec) GetScopes() []string
func (*ResourceQuotaSpec) Marshal ¶
func (m *ResourceQuotaSpec) Marshal() (dAtA []byte, err error)
func (*ResourceQuotaSpec) MarshalTo ¶
func (m *ResourceQuotaSpec) MarshalTo(dAtA []byte) (int, error)
func (*ResourceQuotaSpec) ProtoMessage ¶
func (*ResourceQuotaSpec) ProtoMessage()
func (*ResourceQuotaSpec) Reset ¶
func (m *ResourceQuotaSpec) Reset()
func (*ResourceQuotaSpec) Size ¶
func (m *ResourceQuotaSpec) Size() (n int)
func (*ResourceQuotaSpec) String ¶
func (m *ResourceQuotaSpec) String() string
func (*ResourceQuotaSpec) Unmarshal ¶
func (m *ResourceQuotaSpec) Unmarshal(dAtA []byte) error
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]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 128-byte string literal not displayed */
// Used is the current observed total usage of the resource in the namespace.
// +optional
Used map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 128-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
ResourceQuotaStatus defines the enforced hard limits and observed use.
func (*ResourceQuotaStatus) Descriptor ¶
func (*ResourceQuotaStatus) Descriptor() ([]byte, []int)
func (*ResourceQuotaStatus) GetHard ¶
func (m *ResourceQuotaStatus) GetHard() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*ResourceQuotaStatus) GetUsed ¶
func (m *ResourceQuotaStatus) GetUsed() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*ResourceQuotaStatus) Marshal ¶
func (m *ResourceQuotaStatus) Marshal() (dAtA []byte, err error)
func (*ResourceQuotaStatus) MarshalTo ¶
func (m *ResourceQuotaStatus) MarshalTo(dAtA []byte) (int, error)
func (*ResourceQuotaStatus) ProtoMessage ¶
func (*ResourceQuotaStatus) ProtoMessage()
func (*ResourceQuotaStatus) Reset ¶
func (m *ResourceQuotaStatus) Reset()
func (*ResourceQuotaStatus) Size ¶
func (m *ResourceQuotaStatus) Size() (n int)
func (*ResourceQuotaStatus) String ¶
func (m *ResourceQuotaStatus) String() string
func (*ResourceQuotaStatus) Unmarshal ¶
func (m *ResourceQuotaStatus) Unmarshal(dAtA []byte) error
type ResourceRequirements ¶
type ResourceRequirements struct {
// Limits describes the maximum amount of compute resources allowed.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
// +optional
Limits map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 132-byte string literal not displayed */
// Requests describes the minimum amount of compute resources required.
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
// otherwise to an implementation-defined value.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
// +optional
Requests map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity `` /* 136-byte string literal not displayed */
XXX_unrecognized []byte `json:"-"`
}
ResourceRequirements describes the compute resource requirements.
func (*ResourceRequirements) Descriptor ¶
func (*ResourceRequirements) Descriptor() ([]byte, []int)
func (*ResourceRequirements) GetLimits ¶
func (m *ResourceRequirements) GetLimits() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*ResourceRequirements) GetRequests ¶
func (m *ResourceRequirements) GetRequests() map[string]*k8s_io_apimachinery_pkg_api_resource.Quantity
func (*ResourceRequirements) Marshal ¶
func (m *ResourceRequirements) Marshal() (dAtA []byte, err error)
func (*ResourceRequirements) MarshalTo ¶
func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error)
func (*ResourceRequirements) ProtoMessage ¶
func (*ResourceRequirements) ProtoMessage()
func (*ResourceRequirements) Reset ¶
func (m *ResourceRequirements) Reset()
func (*ResourceRequirements) Size ¶
func (m *ResourceRequirements) Size() (n int)
func (*ResourceRequirements) String ¶
func (m *ResourceRequirements) String() string
func (*ResourceRequirements) Unmarshal ¶
func (m *ResourceRequirements) Unmarshal(dAtA []byte) error
type SELinuxOptions ¶
type SELinuxOptions struct {
// User is a SELinux user label that applies to the container.
// +optional
User *string `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
// Role is a SELinux role label that applies to the container.
// +optional
Role *string `protobuf:"bytes,2,opt,name=role" json:"role,omitempty"`
// Type is a SELinux type label that applies to the container.
// +optional
Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
// Level is SELinux level label that applies to the container.
// +optional
Level *string `protobuf:"bytes,4,opt,name=level" json:"level,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
SELinuxOptions are the labels to be applied to the container
func (*SELinuxOptions) Descriptor ¶
func (*SELinuxOptions) Descriptor() ([]byte, []int)
func (*SELinuxOptions) GetLevel ¶
func (m *SELinuxOptions) GetLevel() string
func (*SELinuxOptions) GetRole ¶
func (m *SELinuxOptions) GetRole() string
func (*SELinuxOptions) GetType ¶
func (m *SELinuxOptions) GetType() string
func (*SELinuxOptions) GetUser ¶
func (m *SELinuxOptions) GetUser() string
func (*SELinuxOptions) Marshal ¶
func (m *SELinuxOptions) Marshal() (dAtA []byte, err error)
func (*SELinuxOptions) ProtoMessage ¶
func (*SELinuxOptions) ProtoMessage()
func (*SELinuxOptions) Reset ¶
func (m *SELinuxOptions) Reset()
func (*SELinuxOptions) Size ¶
func (m *SELinuxOptions) Size() (n int)
func (*SELinuxOptions) String ¶
func (m *SELinuxOptions) String() string
func (*SELinuxOptions) Unmarshal ¶
func (m *SELinuxOptions) Unmarshal(dAtA []byte) error
type ScaleIOPersistentVolumeSource ¶
type ScaleIOPersistentVolumeSource struct {
// The host address of the ScaleIO API Gateway.
Gateway *string `protobuf:"bytes,1,opt,name=gateway" json:"gateway,omitempty"`
// The name of the storage system as configured in ScaleIO.
System *string `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"`
// SecretRef references to the secret for ScaleIO user and other
// sensitive information. If this is not provided, Login operation will fail.
SecretRef *SecretReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
// Flag to enable/disable SSL communication with Gateway, default false
// +optional
SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled" json:"sslEnabled,omitempty"`
// The name of the ScaleIO Protection Domain for the configured storage.
// +optional
ProtectionDomain *string `protobuf:"bytes,5,opt,name=protectionDomain" json:"protectionDomain,omitempty"`
// The ScaleIO Storage Pool associated with the protection domain.
// +optional
StoragePool *string `protobuf:"bytes,6,opt,name=storagePool" json:"storagePool,omitempty"`
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
// Default is ThinProvisioned.
// +optional
StorageMode *string `protobuf:"bytes,7,opt,name=storageMode" json:"storageMode,omitempty"`
// The name of a volume already created in the ScaleIO system
// that is associated with this volume source.
VolumeName *string `protobuf:"bytes,8,opt,name=volumeName" json:"volumeName,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs".
// Default is "xfs"
// +optional
FsType *string `protobuf:"bytes,9,opt,name=fsType" json:"fsType,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,10,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
func (*ScaleIOPersistentVolumeSource) Descriptor ¶
func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*ScaleIOPersistentVolumeSource) GetFsType ¶
func (m *ScaleIOPersistentVolumeSource) GetFsType() string
func (*ScaleIOPersistentVolumeSource) GetGateway ¶
func (m *ScaleIOPersistentVolumeSource) GetGateway() string
func (*ScaleIOPersistentVolumeSource) GetProtectionDomain ¶
func (m *ScaleIOPersistentVolumeSource) GetProtectionDomain() string
func (*ScaleIOPersistentVolumeSource) GetReadOnly ¶
func (m *ScaleIOPersistentVolumeSource) GetReadOnly() bool
func (*ScaleIOPersistentVolumeSource) GetSecretRef ¶
func (m *ScaleIOPersistentVolumeSource) GetSecretRef() *SecretReference
func (*ScaleIOPersistentVolumeSource) GetSslEnabled ¶
func (m *ScaleIOPersistentVolumeSource) GetSslEnabled() bool
func (*ScaleIOPersistentVolumeSource) GetStorageMode ¶
func (m *ScaleIOPersistentVolumeSource) GetStorageMode() string
func (*ScaleIOPersistentVolumeSource) GetStoragePool ¶
func (m *ScaleIOPersistentVolumeSource) GetStoragePool() string
func (*ScaleIOPersistentVolumeSource) GetSystem ¶
func (m *ScaleIOPersistentVolumeSource) GetSystem() string
func (*ScaleIOPersistentVolumeSource) GetVolumeName ¶
func (m *ScaleIOPersistentVolumeSource) GetVolumeName() string
func (*ScaleIOPersistentVolumeSource) Marshal ¶
func (m *ScaleIOPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*ScaleIOPersistentVolumeSource) MarshalTo ¶
func (m *ScaleIOPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*ScaleIOPersistentVolumeSource) ProtoMessage ¶
func (*ScaleIOPersistentVolumeSource) ProtoMessage()
func (*ScaleIOPersistentVolumeSource) Reset ¶
func (m *ScaleIOPersistentVolumeSource) Reset()
func (*ScaleIOPersistentVolumeSource) Size ¶
func (m *ScaleIOPersistentVolumeSource) Size() (n int)
func (*ScaleIOPersistentVolumeSource) String ¶
func (m *ScaleIOPersistentVolumeSource) String() string
func (*ScaleIOPersistentVolumeSource) Unmarshal ¶
func (m *ScaleIOPersistentVolumeSource) Unmarshal(dAtA []byte) error
type ScaleIOVolumeSource ¶
type ScaleIOVolumeSource struct {
// The host address of the ScaleIO API Gateway.
Gateway *string `protobuf:"bytes,1,opt,name=gateway" json:"gateway,omitempty"`
// The name of the storage system as configured in ScaleIO.
System *string `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"`
// SecretRef references to the secret for ScaleIO user and other
// sensitive information. If this is not provided, Login operation will fail.
SecretRef *LocalObjectReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"`
// Flag to enable/disable SSL communication with Gateway, default false
// +optional
SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled" json:"sslEnabled,omitempty"`
// The name of the ScaleIO Protection Domain for the configured storage.
// +optional
ProtectionDomain *string `protobuf:"bytes,5,opt,name=protectionDomain" json:"protectionDomain,omitempty"`
// The ScaleIO Storage Pool associated with the protection domain.
// +optional
StoragePool *string `protobuf:"bytes,6,opt,name=storagePool" json:"storagePool,omitempty"`
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
// Default is ThinProvisioned.
// +optional
StorageMode *string `protobuf:"bytes,7,opt,name=storageMode" json:"storageMode,omitempty"`
// The name of a volume already created in the ScaleIO system
// that is associated with this volume source.
VolumeName *string `protobuf:"bytes,8,opt,name=volumeName" json:"volumeName,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs".
// Default is "xfs".
// +optional
FsType *string `protobuf:"bytes,9,opt,name=fsType" json:"fsType,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,10,opt,name=readOnly" json:"readOnly,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ScaleIOVolumeSource represents a persistent ScaleIO volume
func (*ScaleIOVolumeSource) Descriptor ¶
func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int)
func (*ScaleIOVolumeSource) GetFsType ¶
func (m *ScaleIOVolumeSource) GetFsType() string
func (*ScaleIOVolumeSource) GetGateway ¶
func (m *ScaleIOVolumeSource) GetGateway() string
func (*ScaleIOVolumeSource) GetProtectionDomain ¶
func (m *ScaleIOVolumeSource) GetProtectionDomain() string
func (*ScaleIOVolumeSource) GetReadOnly ¶
func (m *ScaleIOVolumeSource) GetReadOnly() bool
func (*ScaleIOVolumeSource) GetSecretRef ¶
func (m *ScaleIOVolumeSource) GetSecretRef() *LocalObjectReference
func (*ScaleIOVolumeSource) GetSslEnabled ¶
func (m *ScaleIOVolumeSource) GetSslEnabled() bool
func (*ScaleIOVolumeSource) GetStorageMode ¶
func (m *ScaleIOVolumeSource) GetStorageMode() string
func (*ScaleIOVolumeSource) GetStoragePool ¶
func (m *ScaleIOVolumeSource) GetStoragePool() string
func (*ScaleIOVolumeSource) GetSystem ¶
func (m *ScaleIOVolumeSource) GetSystem() string
func (*ScaleIOVolumeSource) GetVolumeName ¶
func (m *ScaleIOVolumeSource) GetVolumeName() string
func (*ScaleIOVolumeSource) Marshal ¶
func (m *ScaleIOVolumeSource) Marshal() (dAtA []byte, err error)
func (*ScaleIOVolumeSource) MarshalTo ¶
func (m *ScaleIOVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*ScaleIOVolumeSource) ProtoMessage ¶
func (*ScaleIOVolumeSource) ProtoMessage()
func (*ScaleIOVolumeSource) Reset ¶
func (m *ScaleIOVolumeSource) Reset()
func (*ScaleIOVolumeSource) Size ¶
func (m *ScaleIOVolumeSource) Size() (n int)
func (*ScaleIOVolumeSource) String ¶
func (m *ScaleIOVolumeSource) String() string
func (*ScaleIOVolumeSource) Unmarshal ¶
func (m *ScaleIOVolumeSource) Unmarshal(dAtA []byte) error
type ScopeSelector ¶ added in v1.4.0
type ScopeSelector struct {
// A list of scope selector requirements by scope of the resources.
// +optional
MatchExpressions []*ScopedResourceSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions" json:"matchExpressions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
func (*ScopeSelector) Descriptor ¶ added in v1.4.0
func (*ScopeSelector) Descriptor() ([]byte, []int)
func (*ScopeSelector) GetMatchExpressions ¶ added in v1.4.0
func (m *ScopeSelector) GetMatchExpressions() []*ScopedResourceSelectorRequirement
func (*ScopeSelector) Marshal ¶ added in v1.4.0
func (m *ScopeSelector) Marshal() (dAtA []byte, err error)
func (*ScopeSelector) MarshalTo ¶ added in v1.4.0
func (m *ScopeSelector) MarshalTo(dAtA []byte) (int, error)
func (*ScopeSelector) ProtoMessage ¶ added in v1.4.0
func (*ScopeSelector) ProtoMessage()
func (*ScopeSelector) Reset ¶ added in v1.4.0
func (m *ScopeSelector) Reset()
func (*ScopeSelector) Size ¶ added in v1.4.0
func (m *ScopeSelector) Size() (n int)
func (*ScopeSelector) String ¶ added in v1.4.0
func (m *ScopeSelector) String() string
func (*ScopeSelector) Unmarshal ¶ added in v1.4.0
func (m *ScopeSelector) Unmarshal(dAtA []byte) error
type ScopedResourceSelectorRequirement ¶ added in v1.4.0
type ScopedResourceSelectorRequirement struct {
// The name of the scope that the selector applies to.
ScopeName *string `protobuf:"bytes,1,opt,name=scopeName" json:"scopeName,omitempty"`
// Represents a scope's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist.
Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
// An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty.
// This array is replaced during a strategic merge patch.
// +optional
Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶ added in v1.4.0
func (*ScopedResourceSelectorRequirement) Descriptor() ([]byte, []int)
func (*ScopedResourceSelectorRequirement) GetOperator ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) GetOperator() string
func (*ScopedResourceSelectorRequirement) GetScopeName ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) GetScopeName() string
func (*ScopedResourceSelectorRequirement) GetValues ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) GetValues() []string
func (*ScopedResourceSelectorRequirement) Marshal ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) Marshal() (dAtA []byte, err error)
func (*ScopedResourceSelectorRequirement) MarshalTo ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
func (*ScopedResourceSelectorRequirement) ProtoMessage ¶ added in v1.4.0
func (*ScopedResourceSelectorRequirement) ProtoMessage()
func (*ScopedResourceSelectorRequirement) Reset ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) Reset()
func (*ScopedResourceSelectorRequirement) Size ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) Size() (n int)
func (*ScopedResourceSelectorRequirement) String ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) String() string
func (*ScopedResourceSelectorRequirement) Unmarshal ¶ added in v1.4.0
func (m *ScopedResourceSelectorRequirement) Unmarshal(dAtA []byte) error
type Secret ¶
type Secret struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Data contains the secret data. Each key must consist of alphanumeric
// characters, '-', '_' or '.'. The serialized form of the secret data is a
// base64 encoded string, representing the arbitrary (possibly non-string)
// data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
// +optional
Data map[string][]byte `` /* 128-byte string literal not displayed */
// stringData allows specifying non-binary secret data in string form.
// It is provided as a write-only convenience method.
// All keys and values are merged into the data field on write, overwriting any existing values.
// It is never output when reading from the API.
// +k8s:conversion-gen=false
// +optional
StringData map[string]string `` /* 140-byte string literal not displayed */
// Used to facilitate programmatic handling of secret data.
// +optional
Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Secret) GetMetadata ¶
func (m *Secret) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Secret) GetStringData ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
type SecretEnvSource ¶
type SecretEnvSource struct {
// The Secret to select from.
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// Specify whether the Secret must be defined
// +optional
Optional *bool `protobuf:"varint,2,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*SecretEnvSource) Descriptor() ([]byte, []int)
func (*SecretEnvSource) GetLocalObjectReference ¶
func (m *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference
func (*SecretEnvSource) GetOptional ¶
func (m *SecretEnvSource) GetOptional() bool
func (*SecretEnvSource) Marshal ¶
func (m *SecretEnvSource) Marshal() (dAtA []byte, err error)
func (*SecretEnvSource) ProtoMessage ¶
func (*SecretEnvSource) ProtoMessage()
func (*SecretEnvSource) Reset ¶
func (m *SecretEnvSource) Reset()
func (*SecretEnvSource) Size ¶
func (m *SecretEnvSource) Size() (n int)
func (*SecretEnvSource) String ¶
func (m *SecretEnvSource) String() string
func (*SecretEnvSource) Unmarshal ¶
func (m *SecretEnvSource) Unmarshal(dAtA []byte) error
type SecretKeySelector ¶
type SecretKeySelector struct {
// The name of the secret in the pod's namespace to select from.
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// The key of the secret to select from. Must be a valid secret key.
Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
// Specify whether the Secret or it's key must be defined
// +optional
Optional *bool `protobuf:"varint,3,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
SecretKeySelector selects a key of a Secret.
func (*SecretKeySelector) Descriptor ¶
func (*SecretKeySelector) Descriptor() ([]byte, []int)
func (*SecretKeySelector) GetKey ¶
func (m *SecretKeySelector) GetKey() string
func (*SecretKeySelector) GetLocalObjectReference ¶
func (m *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference
func (*SecretKeySelector) GetOptional ¶
func (m *SecretKeySelector) GetOptional() bool
func (*SecretKeySelector) Marshal ¶
func (m *SecretKeySelector) Marshal() (dAtA []byte, err error)
func (*SecretKeySelector) MarshalTo ¶
func (m *SecretKeySelector) MarshalTo(dAtA []byte) (int, error)
func (*SecretKeySelector) ProtoMessage ¶
func (*SecretKeySelector) ProtoMessage()
func (*SecretKeySelector) Reset ¶
func (m *SecretKeySelector) Reset()
func (*SecretKeySelector) Size ¶
func (m *SecretKeySelector) Size() (n int)
func (*SecretKeySelector) String ¶
func (m *SecretKeySelector) String() string
func (*SecretKeySelector) Unmarshal ¶
func (m *SecretKeySelector) Unmarshal(dAtA []byte) error
type SecretList ¶
type SecretList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Items is a list of secret objects.
// More info: https://kubernetes.io/docs/concepts/configuration/secret
Items []*Secret `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
SecretList is a list of Secret.
func (*SecretList) Descriptor ¶
func (*SecretList) Descriptor() ([]byte, []int)
func (*SecretList) GetItems ¶
func (m *SecretList) GetItems() []*Secret
func (*SecretList) GetMetadata ¶
func (m *SecretList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*SecretList) Marshal ¶
func (m *SecretList) Marshal() (dAtA []byte, err error)
func (*SecretList) ProtoMessage ¶
func (*SecretList) ProtoMessage()
func (*SecretList) Reset ¶
func (m *SecretList) Reset()
func (*SecretList) Size ¶
func (m *SecretList) Size() (n int)
func (*SecretList) String ¶
func (m *SecretList) String() string
func (*SecretList) Unmarshal ¶
func (m *SecretList) Unmarshal(dAtA []byte) error
type SecretProjection ¶
type SecretProjection struct {
LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"`
// If unspecified, each key-value pair in the Data field of the referenced
// Secret will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be
// projected into the specified paths, and unlisted keys will not be
// present. If a key is specified which is not present in the Secret,
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
// Specify whether the Secret or its key must be defined
// +optional
Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*SecretProjection) Descriptor() ([]byte, []int)
func (*SecretProjection) GetItems ¶
func (m *SecretProjection) GetItems() []*KeyToPath
func (*SecretProjection) GetLocalObjectReference ¶
func (m *SecretProjection) GetLocalObjectReference() *LocalObjectReference
func (*SecretProjection) GetOptional ¶
func (m *SecretProjection) GetOptional() bool
func (*SecretProjection) Marshal ¶
func (m *SecretProjection) Marshal() (dAtA []byte, err error)
func (*SecretProjection) ProtoMessage ¶
func (*SecretProjection) ProtoMessage()
func (*SecretProjection) Reset ¶
func (m *SecretProjection) Reset()
func (*SecretProjection) Size ¶
func (m *SecretProjection) Size() (n int)
func (*SecretProjection) String ¶
func (m *SecretProjection) String() string
func (*SecretProjection) Unmarshal ¶
func (m *SecretProjection) Unmarshal(dAtA []byte) error
type SecretReference ¶
type SecretReference struct {
// Name is unique within a namespace to reference a secret resource.
// +optional
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Namespace defines the space within which the secret name must be unique.
// +optional
Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
func (*SecretReference) Descriptor ¶
func (*SecretReference) Descriptor() ([]byte, []int)
func (*SecretReference) GetName ¶
func (m *SecretReference) GetName() string
func (*SecretReference) GetNamespace ¶
func (m *SecretReference) GetNamespace() string
func (*SecretReference) Marshal ¶
func (m *SecretReference) Marshal() (dAtA []byte, err error)
func (*SecretReference) ProtoMessage ¶
func (*SecretReference) ProtoMessage()
func (*SecretReference) Reset ¶
func (m *SecretReference) Reset()
func (*SecretReference) Size ¶
func (m *SecretReference) Size() (n int)
func (*SecretReference) String ¶
func (m *SecretReference) String() string
func (*SecretReference) Unmarshal ¶
func (m *SecretReference) Unmarshal(dAtA []byte) error
type SecretVolumeSource ¶
type SecretVolumeSource struct {
// Name of the secret in the pod's namespace to use.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
// +optional
SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"`
// If unspecified, each key-value pair in the Data field of the referenced
// Secret will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be
// projected into the specified paths, and unlisted keys will not be
// present. If a key is specified which is not present in the Secret,
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
// Optional: mode bits to use on created files by default. Must be a
// value between 0 and 0777. Defaults to 0644.
// Directories within the path are not affected by this setting.
// This might be in conflict with other options that affect the file
// mode, like fsGroup, and the result can be other mode bits set.
// +optional
DefaultMode *int32 `protobuf:"varint,3,opt,name=defaultMode" json:"defaultMode,omitempty"`
// Specify whether the Secret or it's keys must be defined
// +optional
Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*SecretVolumeSource) Descriptor() ([]byte, []int)
func (*SecretVolumeSource) GetDefaultMode ¶
func (m *SecretVolumeSource) GetDefaultMode() int32
func (*SecretVolumeSource) GetItems ¶
func (m *SecretVolumeSource) GetItems() []*KeyToPath
func (*SecretVolumeSource) GetOptional ¶
func (m *SecretVolumeSource) GetOptional() bool
func (*SecretVolumeSource) GetSecretName ¶
func (m *SecretVolumeSource) GetSecretName() string
func (*SecretVolumeSource) Marshal ¶
func (m *SecretVolumeSource) Marshal() (dAtA []byte, err error)
func (*SecretVolumeSource) MarshalTo ¶
func (m *SecretVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*SecretVolumeSource) ProtoMessage ¶
func (*SecretVolumeSource) ProtoMessage()
func (*SecretVolumeSource) Reset ¶
func (m *SecretVolumeSource) Reset()
func (*SecretVolumeSource) Size ¶
func (m *SecretVolumeSource) Size() (n int)
func (*SecretVolumeSource) String ¶
func (m *SecretVolumeSource) String() string
func (*SecretVolumeSource) Unmarshal ¶
func (m *SecretVolumeSource) Unmarshal(dAtA []byte) error
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.
// +optional
Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities" json:"capabilities,omitempty"`
// Run container in privileged mode.
// Processes in privileged containers are essentially equivalent to root on the host.
// Defaults to false.
// +optional
Privileged *bool `protobuf:"varint,2,opt,name=privileged" json:"privileged,omitempty"`
// The SELinux context to be applied to the container.
// If unspecified, the container runtime will allocate a random SELinux context for each
// container. May also be set in PodSecurityContext. If set in both SecurityContext and
// PodSecurityContext, the value specified in SecurityContext takes precedence.
// +optional
SeLinuxOptions *SELinuxOptions `protobuf:"bytes,3,opt,name=seLinuxOptions" json:"seLinuxOptions,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.
// +optional
RunAsUser *int64 `protobuf:"varint,4,opt,name=runAsUser" json:"runAsUser,omitempty"`
// The GID to run the entrypoint of the container process.
// Uses runtime default if unset.
// May also be set in PodSecurityContext. If set in both SecurityContext and
// PodSecurityContext, the value specified in SecurityContext takes precedence.
// +optional
RunAsGroup *int64 `protobuf:"varint,8,opt,name=runAsGroup" json:"runAsGroup,omitempty"`
// Indicates that the container must run as a non-root user.
// If true, the Kubelet will validate the image at runtime to ensure that it
// does not run as UID 0 (root) and fail to start the container if it does.
// If unset or false, no such validation will be performed.
// May also be set in PodSecurityContext. If set in both SecurityContext and
// PodSecurityContext, the value specified in SecurityContext takes precedence.
// +optional
RunAsNonRoot *bool `protobuf:"varint,5,opt,name=runAsNonRoot" json:"runAsNonRoot,omitempty"`
// Whether this container has a read-only root filesystem.
// Default is false.
// +optional
ReadOnlyRootFilesystem *bool `protobuf:"varint,6,opt,name=readOnlyRootFilesystem" json:"readOnlyRootFilesystem,omitempty"`
// AllowPrivilegeEscalation controls whether a process can gain more
// privileges than its parent process. This bool directly controls if
// the no_new_privs flag will be set on the container process.
// AllowPrivilegeEscalation is true always when the container is:
// 1) run as Privileged
// 2) has CAP_SYS_ADMIN
// +optional
AllowPrivilegeEscalation *bool `protobuf:"varint,7,opt,name=allowPrivilegeEscalation" json:"allowPrivilegeEscalation,omitempty"`
// procMount denotes the type of proc mount to use for the containers.
// The default is DefaultProcMount which uses the container runtime defaults for
// readonly paths and masked paths.
// This requires the ProcMountType feature flag to be enabled.
// +optional
ProcMount *string `protobuf:"bytes,9,opt,name=procMount" json:"procMount,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*SecurityContext) Descriptor() ([]byte, []int)
func (*SecurityContext) GetAllowPrivilegeEscalation ¶
func (m *SecurityContext) GetAllowPrivilegeEscalation() bool
func (*SecurityContext) GetCapabilities ¶
func (m *SecurityContext) GetCapabilities() *Capabilities
func (*SecurityContext) GetPrivileged ¶
func (m *SecurityContext) GetPrivileged() bool
func (*SecurityContext) GetProcMount ¶ added in v1.4.0
func (m *SecurityContext) GetProcMount() string
func (*SecurityContext) GetReadOnlyRootFilesystem ¶
func (m *SecurityContext) GetReadOnlyRootFilesystem() bool
func (*SecurityContext) GetRunAsGroup ¶ added in v1.1.0
func (m *SecurityContext) GetRunAsGroup() int64
func (*SecurityContext) GetRunAsNonRoot ¶
func (m *SecurityContext) GetRunAsNonRoot() bool
func (*SecurityContext) GetRunAsUser ¶
func (m *SecurityContext) GetRunAsUser() int64
func (*SecurityContext) GetSeLinuxOptions ¶
func (m *SecurityContext) GetSeLinuxOptions() *SELinuxOptions
func (*SecurityContext) Marshal ¶
func (m *SecurityContext) Marshal() (dAtA []byte, err error)
func (*SecurityContext) ProtoMessage ¶
func (*SecurityContext) ProtoMessage()
func (*SecurityContext) Reset ¶
func (m *SecurityContext) Reset()
func (*SecurityContext) Size ¶
func (m *SecurityContext) Size() (n int)
func (*SecurityContext) String ¶
func (m *SecurityContext) String() string
func (*SecurityContext) Unmarshal ¶
func (m *SecurityContext) Unmarshal(dAtA []byte) error
type SerializedReference ¶
type SerializedReference struct {
// The reference to an object in the system.
// +optional
Reference *ObjectReference `protobuf:"bytes,1,opt,name=reference" json:"reference,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
SerializedReference is a reference to serialized object.
func (*SerializedReference) Descriptor ¶
func (*SerializedReference) Descriptor() ([]byte, []int)
func (*SerializedReference) GetReference ¶
func (m *SerializedReference) GetReference() *ObjectReference
func (*SerializedReference) Marshal ¶
func (m *SerializedReference) Marshal() (dAtA []byte, err error)
func (*SerializedReference) MarshalTo ¶
func (m *SerializedReference) MarshalTo(dAtA []byte) (int, error)
func (*SerializedReference) ProtoMessage ¶
func (*SerializedReference) ProtoMessage()
func (*SerializedReference) Reset ¶
func (m *SerializedReference) Reset()
func (*SerializedReference) Size ¶
func (m *SerializedReference) Size() (n int)
func (*SerializedReference) String ¶
func (m *SerializedReference) String() string
func (*SerializedReference) Unmarshal ¶
func (m *SerializedReference) Unmarshal(dAtA []byte) error
type Service ¶
type Service struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Spec defines the behavior of a service.
// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
// Most recently observed status of the service.
// Populated by the system.
// Read-only.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
// +optional
Status *ServiceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Service) GetMetadata ¶
func (m *Service) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*Service) GetSpec ¶
func (m *Service) GetSpec() *ServiceSpec
func (*Service) GetStatus ¶
func (m *Service) GetStatus() *ServiceStatus
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
type ServiceAccount ¶
type ServiceAccount struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
// More info: https://kubernetes.io/docs/concepts/configuration/secret
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
Secrets []*ObjectReference `protobuf:"bytes,2,rep,name=secrets" json:"secrets,omitempty"`
// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
// in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
// More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
// +optional
ImagePullSecrets []*LocalObjectReference `protobuf:"bytes,3,rep,name=imagePullSecrets" json:"imagePullSecrets,omitempty"`
// AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
// Can be overridden at the pod level.
// +optional
AutomountServiceAccountToken *bool `protobuf:"varint,4,opt,name=automountServiceAccountToken" json:"automountServiceAccountToken,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*ServiceAccount) Descriptor() ([]byte, []int)
func (*ServiceAccount) GetAutomountServiceAccountToken ¶
func (m *ServiceAccount) GetAutomountServiceAccountToken() bool
func (*ServiceAccount) GetImagePullSecrets ¶
func (m *ServiceAccount) GetImagePullSecrets() []*LocalObjectReference
func (*ServiceAccount) GetMetadata ¶
func (m *ServiceAccount) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta
func (*ServiceAccount) GetSecrets ¶
func (m *ServiceAccount) GetSecrets() []*ObjectReference
func (*ServiceAccount) Marshal ¶
func (m *ServiceAccount) Marshal() (dAtA []byte, err error)
func (*ServiceAccount) ProtoMessage ¶
func (*ServiceAccount) ProtoMessage()
func (*ServiceAccount) Reset ¶
func (m *ServiceAccount) Reset()
func (*ServiceAccount) Size ¶
func (m *ServiceAccount) Size() (n int)
func (*ServiceAccount) String ¶
func (m *ServiceAccount) String() string
func (*ServiceAccount) Unmarshal ¶
func (m *ServiceAccount) Unmarshal(dAtA []byte) error
type ServiceAccountList ¶
type ServiceAccountList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of ServiceAccounts.
// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
Items []*ServiceAccount `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ServiceAccountList is a list of ServiceAccount objects
func (*ServiceAccountList) Descriptor ¶
func (*ServiceAccountList) Descriptor() ([]byte, []int)
func (*ServiceAccountList) GetItems ¶
func (m *ServiceAccountList) GetItems() []*ServiceAccount
func (*ServiceAccountList) GetMetadata ¶
func (m *ServiceAccountList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*ServiceAccountList) Marshal ¶
func (m *ServiceAccountList) Marshal() (dAtA []byte, err error)
func (*ServiceAccountList) MarshalTo ¶
func (m *ServiceAccountList) MarshalTo(dAtA []byte) (int, error)
func (*ServiceAccountList) ProtoMessage ¶
func (*ServiceAccountList) ProtoMessage()
func (*ServiceAccountList) Reset ¶
func (m *ServiceAccountList) Reset()
func (*ServiceAccountList) Size ¶
func (m *ServiceAccountList) Size() (n int)
func (*ServiceAccountList) String ¶
func (m *ServiceAccountList) String() string
func (*ServiceAccountList) Unmarshal ¶
func (m *ServiceAccountList) Unmarshal(dAtA []byte) error
type ServiceAccountTokenProjection ¶ added in v1.4.0
type ServiceAccountTokenProjection struct {
// Audience is the intended audience of the token. A recipient of a token
// must identify itself with an identifier specified in the audience of the
// token, and otherwise should reject the token. The audience defaults to the
// identifier of the apiserver.
// +optional
Audience *string `protobuf:"bytes,1,opt,name=audience" json:"audience,omitempty"`
// ExpirationSeconds is the requested duration of validity of the service
// account token. As the token approaches expiration, the kubelet volume
// plugin will proactively rotate the service account token. The kubelet will
// start trying to rotate the token if the token is older than 80 percent of
// its time to live or if the token is older than 24 hours.Defaults to 1 hour
// and must be at least 10 minutes.
// +optional
ExpirationSeconds *int64 `protobuf:"varint,2,opt,name=expirationSeconds" json:"expirationSeconds,omitempty"`
// Path is the path relative to the mount point of the file to project the
// token into.
Path *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶ added in v1.4.0
func (*ServiceAccountTokenProjection) Descriptor() ([]byte, []int)
func (*ServiceAccountTokenProjection) GetAudience ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) GetAudience() string
func (*ServiceAccountTokenProjection) GetExpirationSeconds ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) GetExpirationSeconds() int64
func (*ServiceAccountTokenProjection) GetPath ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) GetPath() string
func (*ServiceAccountTokenProjection) Marshal ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) Marshal() (dAtA []byte, err error)
func (*ServiceAccountTokenProjection) MarshalTo ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) MarshalTo(dAtA []byte) (int, error)
func (*ServiceAccountTokenProjection) ProtoMessage ¶ added in v1.4.0
func (*ServiceAccountTokenProjection) ProtoMessage()
func (*ServiceAccountTokenProjection) Reset ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) Reset()
func (*ServiceAccountTokenProjection) Size ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) Size() (n int)
func (*ServiceAccountTokenProjection) String ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) String() string
func (*ServiceAccountTokenProjection) Unmarshal ¶ added in v1.4.0
func (m *ServiceAccountTokenProjection) Unmarshal(dAtA []byte) error
type ServiceList ¶
type ServiceList struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of services
Items []*Service `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ServiceList holds a list of services.
func (*ServiceList) Descriptor ¶
func (*ServiceList) Descriptor() ([]byte, []int)
func (*ServiceList) GetItems ¶
func (m *ServiceList) GetItems() []*Service
func (*ServiceList) GetMetadata ¶
func (m *ServiceList) GetMetadata() *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta
func (*ServiceList) Marshal ¶
func (m *ServiceList) Marshal() (dAtA []byte, err error)
func (*ServiceList) ProtoMessage ¶
func (*ServiceList) ProtoMessage()
func (*ServiceList) Reset ¶
func (m *ServiceList) Reset()
func (*ServiceList) Size ¶
func (m *ServiceList) Size() (n int)
func (*ServiceList) String ¶
func (m *ServiceList) String() string
func (*ServiceList) Unmarshal ¶
func (m *ServiceList) Unmarshal(dAtA []byte) error
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. This maps to
// the 'Name' field in EndpointPort objects.
// Optional if only one ServicePort is defined on this service.
// +optional
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".
// Default is TCP.
// +optional
Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
// The port that will be exposed by this service.
Port *int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
// Number or name of the port to access on the pods targeted by the service.
// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
// If this is a string, it will be looked up as a named port in the
// target Pod's container ports. If this is not specified, the value
// of the 'port' field is used (an identity map).
// This field is ignored for services with clusterIP=None, and should be
// omitted or set equal to the 'port' field.
// More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
// +optional
TargetPort *k8s_io_apimachinery_pkg_util_intstr.IntOrString `protobuf:"bytes,4,opt,name=targetPort" json:"targetPort,omitempty"`
// The port on each node on which this service is exposed when type=NodePort or LoadBalancer.
// Usually assigned by the system. If specified, it will be allocated to the service
// if unused or else creation of the service will fail.
// Default is to auto-allocate a port if the ServiceType of this Service requires one.
// More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
// +optional
NodePort *int32 `protobuf:"varint,5,opt,name=nodePort" json:"nodePort,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ServicePort contains information on service's port.
func (*ServicePort) Descriptor ¶
func (*ServicePort) Descriptor() ([]byte, []int)
func (*ServicePort) GetName ¶
func (m *ServicePort) GetName() string
func (*ServicePort) GetNodePort ¶
func (m *ServicePort) GetNodePort() int32
func (*ServicePort) GetPort ¶
func (m *ServicePort) GetPort() int32
func (*ServicePort) GetProtocol ¶
func (m *ServicePort) GetProtocol() string
func (*ServicePort) GetTargetPort ¶
func (m *ServicePort) GetTargetPort() *k8s_io_apimachinery_pkg_util_intstr.IntOrString
func (*ServicePort) Marshal ¶
func (m *ServicePort) Marshal() (dAtA []byte, err error)
func (*ServicePort) ProtoMessage ¶
func (*ServicePort) ProtoMessage()
func (*ServicePort) Reset ¶
func (m *ServicePort) Reset()
func (*ServicePort) Size ¶
func (m *ServicePort) Size() (n int)
func (*ServicePort) String ¶
func (m *ServicePort) String() string
func (*ServicePort) Unmarshal ¶
func (m *ServicePort) Unmarshal(dAtA []byte) error
type ServiceProxyOptions ¶
type ServiceProxyOptions struct {
// Path is the part of URLs that include service endpoints, suffixes,
// and parameters to use for the current proxy request to service.
// For example, the whole request URL is
// http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy.
// Path is _search?q=user:kimchy.
// +optional
Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ServiceProxyOptions is the query options to a Service's proxy call.
func (*ServiceProxyOptions) Descriptor ¶
func (*ServiceProxyOptions) Descriptor() ([]byte, []int)
func (*ServiceProxyOptions) GetPath ¶
func (m *ServiceProxyOptions) GetPath() string
func (*ServiceProxyOptions) Marshal ¶
func (m *ServiceProxyOptions) Marshal() (dAtA []byte, err error)
func (*ServiceProxyOptions) MarshalTo ¶
func (m *ServiceProxyOptions) MarshalTo(dAtA []byte) (int, error)
func (*ServiceProxyOptions) ProtoMessage ¶
func (*ServiceProxyOptions) ProtoMessage()
func (*ServiceProxyOptions) Reset ¶
func (m *ServiceProxyOptions) Reset()
func (*ServiceProxyOptions) Size ¶
func (m *ServiceProxyOptions) Size() (n int)
func (*ServiceProxyOptions) String ¶
func (m *ServiceProxyOptions) String() string
func (*ServiceProxyOptions) Unmarshal ¶
func (m *ServiceProxyOptions) Unmarshal(dAtA []byte) error
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
Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"`
// Route service traffic to pods with label keys and values matching this
// selector. If empty or not present, the service is assumed to have an
// external process managing its endpoints, which Kubernetes will not
// modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.
// Ignored if type is ExternalName.
// More info: https://kubernetes.io/docs/concepts/services-networking/service/
// +optional
Selector map[string]string `` /* 136-byte string literal not displayed */
// clusterIP is the IP address of the service and is usually assigned
// randomly by the master. If an address is specified manually and is not in
// use by others, it will be allocated to the service; otherwise, creation
// of the service will fail. This field can not be changed through updates.
// Valid values are "None", empty string (""), or a valid IP address. "None"
// can be specified for headless services when proxying is not required.
// Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if
// type is ExternalName.
// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
// +optional
ClusterIP *string `protobuf:"bytes,3,opt,name=clusterIP" json:"clusterIP,omitempty"`
// type determines how the Service is exposed. Defaults to ClusterIP. Valid
// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
// "ExternalName" maps to the specified externalName.
// "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. If clusterIP is
// "None", no virtual IP is allocated and the endpoints are published as a
// set of endpoints rather than a stable IP.
// "NodePort" builds on ClusterIP and allocates a port on every node which
// routes to the clusterIP.
// "LoadBalancer" builds on NodePort and creates an
// external load-balancer (if supported in the current cloud) which routes
// to the clusterIP.
// More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
// +optional
Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
// externalIPs is a list of IP addresses for which nodes in the cluster
// will also accept traffic for this service. These IPs are not managed by
// Kubernetes. The user is responsible for ensuring that traffic arrives
// at a node with this IP. A common example is external load-balancers
// that are not part of the Kubernetes system.
// +optional
ExternalIPs []string `protobuf:"bytes,5,rep,name=externalIPs" json:"externalIPs,omitempty"`
// Supports "ClientIP" and "None". Used to maintain session affinity.
// Enable client IP based session affinity.
// Must be ClientIP or None.
// Defaults to None.
// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
// +optional
SessionAffinity *string `protobuf:"bytes,7,opt,name=sessionAffinity" json:"sessionAffinity,omitempty"`
// Only applies to Service Type: LoadBalancer
// LoadBalancer will get created with the IP specified in this field.
// 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.
// +optional
LoadBalancerIP *string `protobuf:"bytes,8,opt,name=loadBalancerIP" json:"loadBalancerIP,omitempty"`
// If specified and supported by the platform, this will restrict traffic through the cloud-provider
// load-balancer will be restricted to the specified client IPs. This field will be ignored if the
// cloud-provider does not support the feature."
// More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/
// +optional
LoadBalancerSourceRanges []string `protobuf:"bytes,9,rep,name=loadBalancerSourceRanges" json:"loadBalancerSourceRanges,omitempty"`
// externalName is the external reference that kubedns or equivalent will
// return as a CNAME record for this service. No proxying will be involved.
// Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123)
// and requires Type to be ExternalName.
// +optional
ExternalName *string `protobuf:"bytes,10,opt,name=externalName" json:"externalName,omitempty"`
// externalTrafficPolicy denotes if this Service desires to route external
// traffic to node-local or cluster-wide endpoints. "Local" preserves the
// client source IP and avoids a second hop for LoadBalancer and Nodeport
// type services, but risks potentially imbalanced traffic spreading.
// "Cluster" obscures the client source IP and may cause a second hop to
// another node, but should have good overall load-spreading.
// +optional
ExternalTrafficPolicy *string `protobuf:"bytes,11,opt,name=externalTrafficPolicy" json:"externalTrafficPolicy,omitempty"`
// healthCheckNodePort specifies the healthcheck nodePort for the service.
// If not specified, HealthCheckNodePort is created by the service api
// backend with the allocated nodePort. Will use user-specified nodePort value
// if specified by the client. Only effects when Type is set to LoadBalancer
// and ExternalTrafficPolicy is set to Local.
// +optional
HealthCheckNodePort *int32 `protobuf:"varint,12,opt,name=healthCheckNodePort" json:"healthCheckNodePort,omitempty"`
// publishNotReadyAddresses, when set to true, indicates that DNS implementations
// must publish the notReadyAddresses of subsets for the Endpoints associated with
// the Service. The default value is false.
// The primary use case for setting this field is to use a StatefulSet's Headless Service
// to propagate SRV records for its Pods without respect to their readiness for purpose
// of peer discovery.
// +optional
PublishNotReadyAddresses *bool `protobuf:"varint,13,opt,name=publishNotReadyAddresses" json:"publishNotReadyAddresses,omitempty"`
// sessionAffinityConfig contains the configurations of session affinity.
// +optional
SessionAffinityConfig *SessionAffinityConfig `protobuf:"bytes,14,opt,name=sessionAffinityConfig" json:"sessionAffinityConfig,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ServiceSpec describes the attributes that a user creates on a service.
func (*ServiceSpec) Descriptor ¶
func (*ServiceSpec) Descriptor() ([]byte, []int)
func (*ServiceSpec) GetClusterIP ¶
func (m *ServiceSpec) GetClusterIP() string
func (*ServiceSpec) GetExternalIPs ¶
func (m *ServiceSpec) GetExternalIPs() []string
func (*ServiceSpec) GetExternalName ¶
func (m *ServiceSpec) GetExternalName() string
func (*ServiceSpec) GetExternalTrafficPolicy ¶
func (m *ServiceSpec) GetExternalTrafficPolicy() string
func (*ServiceSpec) GetHealthCheckNodePort ¶
func (m *ServiceSpec) GetHealthCheckNodePort() int32
func (*ServiceSpec) GetLoadBalancerIP ¶
func (m *ServiceSpec) GetLoadBalancerIP() string
func (*ServiceSpec) GetLoadBalancerSourceRanges ¶
func (m *ServiceSpec) GetLoadBalancerSourceRanges() []string
func (*ServiceSpec) GetPorts ¶
func (m *ServiceSpec) GetPorts() []*ServicePort
func (*ServiceSpec) GetPublishNotReadyAddresses ¶
func (m *ServiceSpec) GetPublishNotReadyAddresses() bool
func (*ServiceSpec) GetSelector ¶
func (m *ServiceSpec) GetSelector() map[string]string
func (*ServiceSpec) GetSessionAffinity ¶
func (m *ServiceSpec) GetSessionAffinity() string
func (*ServiceSpec) GetSessionAffinityConfig ¶
func (m *ServiceSpec) GetSessionAffinityConfig() *SessionAffinityConfig
func (*ServiceSpec) GetType ¶
func (m *ServiceSpec) GetType() string
func (*ServiceSpec) Marshal ¶
func (m *ServiceSpec) Marshal() (dAtA []byte, err error)
func (*ServiceSpec) ProtoMessage ¶
func (*ServiceSpec) ProtoMessage()
func (*ServiceSpec) Reset ¶
func (m *ServiceSpec) Reset()
func (*ServiceSpec) Size ¶
func (m *ServiceSpec) Size() (n int)
func (*ServiceSpec) String ¶
func (m *ServiceSpec) String() string
func (*ServiceSpec) Unmarshal ¶
func (m *ServiceSpec) Unmarshal(dAtA []byte) error
type ServiceStatus ¶
type ServiceStatus struct {
// LoadBalancer contains the current status of the load-balancer,
// if one is present.
// +optional
LoadBalancer *LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer" json:"loadBalancer,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
ServiceStatus represents the current status of a service.
func (*ServiceStatus) Descriptor ¶
func (*ServiceStatus) Descriptor() ([]byte, []int)
func (*ServiceStatus) GetLoadBalancer ¶
func (m *ServiceStatus) GetLoadBalancer() *LoadBalancerStatus
func (*ServiceStatus) Marshal ¶
func (m *ServiceStatus) Marshal() (dAtA []byte, err error)
func (*ServiceStatus) ProtoMessage ¶
func (*ServiceStatus) ProtoMessage()
func (*ServiceStatus) Reset ¶
func (m *ServiceStatus) Reset()
func (*ServiceStatus) Size ¶
func (m *ServiceStatus) Size() (n int)
func (*ServiceStatus) String ¶
func (m *ServiceStatus) String() string
func (*ServiceStatus) Unmarshal ¶
func (m *ServiceStatus) Unmarshal(dAtA []byte) error
type SessionAffinityConfig ¶
type SessionAffinityConfig struct {
// clientIP contains the configurations of Client IP based session affinity.
// +optional
ClientIP *ClientIPConfig `protobuf:"bytes,1,opt,name=clientIP" json:"clientIP,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
SessionAffinityConfig represents the configurations of session affinity.
func (*SessionAffinityConfig) Descriptor ¶
func (*SessionAffinityConfig) Descriptor() ([]byte, []int)
func (*SessionAffinityConfig) GetClientIP ¶
func (m *SessionAffinityConfig) GetClientIP() *ClientIPConfig
func (*SessionAffinityConfig) Marshal ¶
func (m *SessionAffinityConfig) Marshal() (dAtA []byte, err error)
func (*SessionAffinityConfig) MarshalTo ¶
func (m *SessionAffinityConfig) MarshalTo(dAtA []byte) (int, error)
func (*SessionAffinityConfig) ProtoMessage ¶
func (*SessionAffinityConfig) ProtoMessage()
func (*SessionAffinityConfig) Reset ¶
func (m *SessionAffinityConfig) Reset()
func (*SessionAffinityConfig) Size ¶
func (m *SessionAffinityConfig) Size() (n int)
func (*SessionAffinityConfig) String ¶
func (m *SessionAffinityConfig) String() string
func (*SessionAffinityConfig) Unmarshal ¶
func (m *SessionAffinityConfig) Unmarshal(dAtA []byte) error
type StorageOSPersistentVolumeSource ¶
type StorageOSPersistentVolumeSource struct {
// VolumeName is the human-readable name of the StorageOS volume. Volume
// names are only unique within a namespace.
VolumeName *string `protobuf:"bytes,1,opt,name=volumeName" json:"volumeName,omitempty"`
// VolumeNamespace specifies the scope of the volume within StorageOS. If no
// namespace is specified then the Pod's namespace will be used. This allows the
// Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
// Set VolumeName to any name to override the default behaviour.
// Set to "default" if you are not using namespaces within StorageOS.
// Namespaces that do not pre-exist within StorageOS will be created.
// +optional
VolumeNamespace *string `protobuf:"bytes,2,opt,name=volumeNamespace" json:"volumeNamespace,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// +optional
FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
// SecretRef specifies the secret to use for obtaining the StorageOS API
// credentials. If not specified, default values will be attempted.
// +optional
SecretRef *ObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a StorageOS persistent volume resource.
func (*StorageOSPersistentVolumeSource) Descriptor ¶
func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int)
func (*StorageOSPersistentVolumeSource) GetFsType ¶
func (m *StorageOSPersistentVolumeSource) GetFsType() string
func (*StorageOSPersistentVolumeSource) GetReadOnly ¶
func (m *StorageOSPersistentVolumeSource) GetReadOnly() bool
func (*StorageOSPersistentVolumeSource) GetSecretRef ¶
func (m *StorageOSPersistentVolumeSource) GetSecretRef() *ObjectReference
func (*StorageOSPersistentVolumeSource) GetVolumeName ¶
func (m *StorageOSPersistentVolumeSource) GetVolumeName() string
func (*StorageOSPersistentVolumeSource) GetVolumeNamespace ¶
func (m *StorageOSPersistentVolumeSource) GetVolumeNamespace() string
func (*StorageOSPersistentVolumeSource) Marshal ¶
func (m *StorageOSPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (*StorageOSPersistentVolumeSource) MarshalTo ¶
func (m *StorageOSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*StorageOSPersistentVolumeSource) ProtoMessage ¶
func (*StorageOSPersistentVolumeSource) ProtoMessage()
func (*StorageOSPersistentVolumeSource) Reset ¶
func (m *StorageOSPersistentVolumeSource) Reset()
func (*StorageOSPersistentVolumeSource) Size ¶
func (m *StorageOSPersistentVolumeSource) Size() (n int)
func (*StorageOSPersistentVolumeSource) String ¶
func (m *StorageOSPersistentVolumeSource) String() string
func (*StorageOSPersistentVolumeSource) Unmarshal ¶
func (m *StorageOSPersistentVolumeSource) Unmarshal(dAtA []byte) error
type StorageOSVolumeSource ¶
type StorageOSVolumeSource struct {
// VolumeName is the human-readable name of the StorageOS volume. Volume
// names are only unique within a namespace.
VolumeName *string `protobuf:"bytes,1,opt,name=volumeName" json:"volumeName,omitempty"`
// VolumeNamespace specifies the scope of the volume within StorageOS. If no
// namespace is specified then the Pod's namespace will be used. This allows the
// Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
// Set VolumeName to any name to override the default behaviour.
// Set to "default" if you are not using namespaces within StorageOS.
// Namespaces that do not pre-exist within StorageOS will be created.
// +optional
VolumeNamespace *string `protobuf:"bytes,2,opt,name=volumeNamespace" json:"volumeNamespace,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// +optional
FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"`
// Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
// +optional
ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"`
// SecretRef specifies the secret to use for obtaining the StorageOS API
// credentials. If not specified, default values will be attempted.
// +optional
SecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a StorageOS persistent volume resource.
func (*StorageOSVolumeSource) Descriptor ¶
func (*StorageOSVolumeSource) Descriptor() ([]byte, []int)
func (*StorageOSVolumeSource) GetFsType ¶
func (m *StorageOSVolumeSource) GetFsType() string
func (*StorageOSVolumeSource) GetReadOnly ¶
func (m *StorageOSVolumeSource) GetReadOnly() bool
func (*StorageOSVolumeSource) GetSecretRef ¶
func (m *StorageOSVolumeSource) GetSecretRef() *LocalObjectReference
func (*StorageOSVolumeSource) GetVolumeName ¶
func (m *StorageOSVolumeSource) GetVolumeName() string
func (*StorageOSVolumeSource) GetVolumeNamespace ¶
func (m *StorageOSVolumeSource) GetVolumeNamespace() string
func (*StorageOSVolumeSource) Marshal ¶
func (m *StorageOSVolumeSource) Marshal() (dAtA []byte, err error)
func (*StorageOSVolumeSource) MarshalTo ¶
func (m *StorageOSVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*StorageOSVolumeSource) ProtoMessage ¶
func (*StorageOSVolumeSource) ProtoMessage()
func (*StorageOSVolumeSource) Reset ¶
func (m *StorageOSVolumeSource) Reset()
func (*StorageOSVolumeSource) Size ¶
func (m *StorageOSVolumeSource) Size() (n int)
func (*StorageOSVolumeSource) String ¶
func (m *StorageOSVolumeSource) String() string
func (*StorageOSVolumeSource) Unmarshal ¶
func (m *StorageOSVolumeSource) Unmarshal(dAtA []byte) error
type Sysctl ¶
type Sysctl struct {
// Name of a property to set
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Value of a property to set
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Sysctl defines a kernel parameter to be set
func (*Sysctl) Descriptor ¶
func (*Sysctl) ProtoMessage ¶
func (*Sysctl) ProtoMessage()
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 *k8s_io_apimachinery_pkg_util_intstr.IntOrString `protobuf:"bytes,1,opt,name=port" json:"port,omitempty"`
// Optional: Host name to connect to, defaults to the pod IP.
// +optional
Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
TCPSocketAction describes an action based on opening a socket
func (*TCPSocketAction) Descriptor ¶
func (*TCPSocketAction) Descriptor() ([]byte, []int)
func (*TCPSocketAction) GetHost ¶
func (m *TCPSocketAction) GetHost() string
func (*TCPSocketAction) GetPort ¶
func (m *TCPSocketAction) GetPort() *k8s_io_apimachinery_pkg_util_intstr.IntOrString
func (*TCPSocketAction) Marshal ¶
func (m *TCPSocketAction) Marshal() (dAtA []byte, err error)
func (*TCPSocketAction) ProtoMessage ¶
func (*TCPSocketAction) ProtoMessage()
func (*TCPSocketAction) Reset ¶
func (m *TCPSocketAction) Reset()
func (*TCPSocketAction) Size ¶
func (m *TCPSocketAction) Size() (n int)
func (*TCPSocketAction) String ¶
func (m *TCPSocketAction) String() string
func (*TCPSocketAction) Unmarshal ¶
func (m *TCPSocketAction) Unmarshal(dAtA []byte) error
type Taint ¶
type Taint struct {
// Required. The taint key to be applied to a node.
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
// Required. The taint value corresponding to the taint key.
// +optional
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
// Required. The effect of the taint on pods
// that do not tolerate the taint.
// Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
Effect *string `protobuf:"bytes,3,opt,name=effect" json:"effect,omitempty"`
// TimeAdded represents the time at which the taint was added.
// It is only written for NoExecute taints.
// +optional
TimeAdded *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,4,opt,name=timeAdded" json:"timeAdded,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
func (*Taint) Descriptor ¶
func (*Taint) GetTimeAdded ¶
func (m *Taint) GetTimeAdded() *k8s_io_apimachinery_pkg_apis_meta_v1.Time
func (*Taint) ProtoMessage ¶
func (*Taint) ProtoMessage()
type Toleration ¶
type Toleration struct {
// Key is the taint key that the toleration applies to. Empty means match all taint keys.
// If the key is empty, operator must be Exists; this combination means to match all values and all keys.
// +optional
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
// Operator represents a key's relationship to the value.
// Valid operators are Exists and Equal. Defaults to Equal.
// Exists is equivalent to wildcard for value, so that a pod can
// tolerate all taints of a particular category.
// +optional
Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
// Value is the taint value the toleration matches to.
// If the operator is Exists, the value should be empty, otherwise just a regular string.
// +optional
Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
// Effect indicates the taint effect to match. Empty means match all taint effects.
// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
// +optional
Effect *string `protobuf:"bytes,4,opt,name=effect" json:"effect,omitempty"`
// TolerationSeconds represents the period of time the toleration (which must be
// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
// it is not set, which means tolerate the taint forever (do not evict). Zero and
// negative values will be treated as 0 (evict immediately) by the system.
// +optional
TolerationSeconds *int64 `protobuf:"varint,5,opt,name=tolerationSeconds" json:"tolerationSeconds,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶
func (*Toleration) Descriptor() ([]byte, []int)
func (*Toleration) GetEffect ¶
func (m *Toleration) GetEffect() string
func (*Toleration) GetKey ¶
func (m *Toleration) GetKey() string
func (*Toleration) GetOperator ¶
func (m *Toleration) GetOperator() string
func (*Toleration) GetTolerationSeconds ¶
func (m *Toleration) GetTolerationSeconds() int64
func (*Toleration) GetValue ¶
func (m *Toleration) GetValue() string
func (*Toleration) Marshal ¶
func (m *Toleration) Marshal() (dAtA []byte, err error)
func (*Toleration) ProtoMessage ¶
func (*Toleration) ProtoMessage()
func (*Toleration) Reset ¶
func (m *Toleration) Reset()
func (*Toleration) Size ¶
func (m *Toleration) Size() (n int)
func (*Toleration) String ¶
func (m *Toleration) String() string
func (*Toleration) Unmarshal ¶
func (m *Toleration) Unmarshal(dAtA []byte) error
type TopologySelectorLabelRequirement ¶ added in v1.4.0
type TopologySelectorLabelRequirement struct {
// The label key that the selector applies to.
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
// An array of string values. One value must match the label to be selected.
// Each entry in Values is ORed.
Values []string `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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 ¶ added in v1.4.0
func (*TopologySelectorLabelRequirement) Descriptor() ([]byte, []int)
func (*TopologySelectorLabelRequirement) GetKey ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) GetKey() string
func (*TopologySelectorLabelRequirement) GetValues ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) GetValues() []string
func (*TopologySelectorLabelRequirement) Marshal ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) Marshal() (dAtA []byte, err error)
func (*TopologySelectorLabelRequirement) MarshalTo ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) MarshalTo(dAtA []byte) (int, error)
func (*TopologySelectorLabelRequirement) ProtoMessage ¶ added in v1.4.0
func (*TopologySelectorLabelRequirement) ProtoMessage()
func (*TopologySelectorLabelRequirement) Reset ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) Reset()
func (*TopologySelectorLabelRequirement) Size ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) Size() (n int)
func (*TopologySelectorLabelRequirement) String ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) String() string
func (*TopologySelectorLabelRequirement) Unmarshal ¶ added in v1.4.0
func (m *TopologySelectorLabelRequirement) Unmarshal(dAtA []byte) error
type TopologySelectorTerm ¶ added in v1.4.0
type TopologySelectorTerm struct {
// A list of topology selector requirements by labels.
// +optional
MatchLabelExpressions []*TopologySelectorLabelRequirement `protobuf:"bytes,1,rep,name=matchLabelExpressions" json:"matchLabelExpressions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
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.
func (*TopologySelectorTerm) Descriptor ¶ added in v1.4.0
func (*TopologySelectorTerm) Descriptor() ([]byte, []int)
func (*TopologySelectorTerm) GetMatchLabelExpressions ¶ added in v1.4.0
func (m *TopologySelectorTerm) GetMatchLabelExpressions() []*TopologySelectorLabelRequirement
func (*TopologySelectorTerm) Marshal ¶ added in v1.4.0
func (m *TopologySelectorTerm) Marshal() (dAtA []byte, err error)
func (*TopologySelectorTerm) MarshalTo ¶ added in v1.4.0
func (m *TopologySelectorTerm) MarshalTo(dAtA []byte) (int, error)
func (*TopologySelectorTerm) ProtoMessage ¶ added in v1.4.0
func (*TopologySelectorTerm) ProtoMessage()
func (*TopologySelectorTerm) Reset ¶ added in v1.4.0
func (m *TopologySelectorTerm) Reset()
func (*TopologySelectorTerm) Size ¶ added in v1.4.0
func (m *TopologySelectorTerm) Size() (n int)
func (*TopologySelectorTerm) String ¶ added in v1.4.0
func (m *TopologySelectorTerm) String() string
func (*TopologySelectorTerm) Unmarshal ¶ added in v1.4.0
func (m *TopologySelectorTerm) Unmarshal(dAtA []byte) error
type TypedLocalObjectReference ¶ added in v1.4.0
type TypedLocalObjectReference struct {
// APIGroup is the group for the resource being referenced.
// If APIGroup is not specified, the specified Kind must be in the core API group.
// For any other third-party types, APIGroup is required.
// +optional
ApiGroup *string `protobuf:"bytes,1,opt,name=apiGroup" json:"apiGroup,omitempty"`
// Kind is the type of resource being referenced
Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
// Name is the name of resource being referenced
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
func (*TypedLocalObjectReference) Descriptor ¶ added in v1.4.0
func (*TypedLocalObjectReference) Descriptor() ([]byte, []int)
func (*TypedLocalObjectReference) GetApiGroup ¶ added in v1.4.0
func (m *TypedLocalObjectReference) GetApiGroup() string
func (*TypedLocalObjectReference) GetKind ¶ added in v1.4.0
func (m *TypedLocalObjectReference) GetKind() string
func (*TypedLocalObjectReference) GetName ¶ added in v1.4.0
func (m *TypedLocalObjectReference) GetName() string
func (*TypedLocalObjectReference) Marshal ¶ added in v1.4.0
func (m *TypedLocalObjectReference) Marshal() (dAtA []byte, err error)
func (*TypedLocalObjectReference) MarshalTo ¶ added in v1.4.0
func (m *TypedLocalObjectReference) MarshalTo(dAtA []byte) (int, error)
func (*TypedLocalObjectReference) ProtoMessage ¶ added in v1.4.0
func (*TypedLocalObjectReference) ProtoMessage()
func (*TypedLocalObjectReference) Reset ¶ added in v1.4.0
func (m *TypedLocalObjectReference) Reset()
func (*TypedLocalObjectReference) Size ¶ added in v1.4.0
func (m *TypedLocalObjectReference) Size() (n int)
func (*TypedLocalObjectReference) String ¶ added in v1.4.0
func (m *TypedLocalObjectReference) String() string
func (*TypedLocalObjectReference) Unmarshal ¶ added in v1.4.0
func (m *TypedLocalObjectReference) Unmarshal(dAtA []byte) error
type Volume ¶
type Volume struct {
// Volume's name.
// Must be a DNS_LABEL and unique within the pod.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// VolumeSource represents the location and type of the mounted volume.
// If not specified, the Volume is implied to be an EmptyDir.
// This implied behavior is deprecated and will be removed in a future version.
VolumeSource *VolumeSource `protobuf:"bytes,2,opt,name=volumeSource" json:"volumeSource,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Volume represents a named volume in a pod that may be accessed by any container in the pod.
func (*Volume) Descriptor ¶
func (*Volume) GetVolumeSource ¶
func (m *Volume) GetVolumeSource() *VolumeSource
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
type VolumeDevice ¶
type VolumeDevice struct {
// name must match the name of a persistentVolumeClaim in the pod
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// devicePath is the path inside of the container that the device will be mapped to.
DevicePath *string `protobuf:"bytes,2,opt,name=devicePath" json:"devicePath,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
volumeDevice describes a mapping of a raw block device within a container.
func (*VolumeDevice) Descriptor ¶
func (*VolumeDevice) Descriptor() ([]byte, []int)
func (*VolumeDevice) GetDevicePath ¶
func (m *VolumeDevice) GetDevicePath() string
func (*VolumeDevice) GetName ¶
func (m *VolumeDevice) GetName() string
func (*VolumeDevice) Marshal ¶
func (m *VolumeDevice) Marshal() (dAtA []byte, err error)
func (*VolumeDevice) ProtoMessage ¶
func (*VolumeDevice) ProtoMessage()
func (*VolumeDevice) Reset ¶
func (m *VolumeDevice) Reset()
func (*VolumeDevice) Size ¶
func (m *VolumeDevice) Size() (n int)
func (*VolumeDevice) String ¶
func (m *VolumeDevice) String() string
func (*VolumeDevice) Unmarshal ¶
func (m *VolumeDevice) Unmarshal(dAtA []byte) error
type VolumeMount ¶
type VolumeMount struct {
// This must match the Name of a Volume.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Mounted read-only if true, read-write otherwise (false or unspecified).
// Defaults to false.
// +optional
ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"`
// Path within the container at which the volume should be mounted. Must
// not contain ':'.
MountPath *string `protobuf:"bytes,3,opt,name=mountPath" json:"mountPath,omitempty"`
// Path within the volume from which the container's volume should be mounted.
// Defaults to "" (volume's root).
// +optional
SubPath *string `protobuf:"bytes,4,opt,name=subPath" json:"subPath,omitempty"`
// mountPropagation determines how mounts are propagated from the host
// to container and the other way around.
// When not set, MountPropagationNone is used.
// This field is beta in 1.10.
// +optional
MountPropagation *string `protobuf:"bytes,5,opt,name=mountPropagation" json:"mountPropagation,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
VolumeMount describes a mounting of a Volume within a container.
func (*VolumeMount) Descriptor ¶
func (*VolumeMount) Descriptor() ([]byte, []int)
func (*VolumeMount) GetMountPath ¶
func (m *VolumeMount) GetMountPath() string
func (*VolumeMount) GetMountPropagation ¶
func (m *VolumeMount) GetMountPropagation() string
func (*VolumeMount) GetName ¶
func (m *VolumeMount) GetName() string
func (*VolumeMount) GetReadOnly ¶
func (m *VolumeMount) GetReadOnly() bool
func (*VolumeMount) GetSubPath ¶
func (m *VolumeMount) GetSubPath() string
func (*VolumeMount) Marshal ¶
func (m *VolumeMount) Marshal() (dAtA []byte, err error)
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) Reset ¶
func (m *VolumeMount) Reset()
func (*VolumeMount) Size ¶
func (m *VolumeMount) Size() (n int)
func (*VolumeMount) String ¶
func (m *VolumeMount) String() string
func (*VolumeMount) Unmarshal ¶
func (m *VolumeMount) Unmarshal(dAtA []byte) error
type VolumeNodeAffinity ¶ added in v1.1.0
type VolumeNodeAffinity struct {
// Required specifies hard node constraints that must be met.
Required *NodeSelector `protobuf:"bytes,1,opt,name=required" json:"required,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.
func (*VolumeNodeAffinity) Descriptor ¶ added in v1.1.0
func (*VolumeNodeAffinity) Descriptor() ([]byte, []int)
func (*VolumeNodeAffinity) GetRequired ¶ added in v1.1.0
func (m *VolumeNodeAffinity) GetRequired() *NodeSelector
func (*VolumeNodeAffinity) Marshal ¶ added in v1.1.0
func (m *VolumeNodeAffinity) Marshal() (dAtA []byte, err error)
func (*VolumeNodeAffinity) MarshalTo ¶ added in v1.1.0
func (m *VolumeNodeAffinity) MarshalTo(dAtA []byte) (int, error)
func (*VolumeNodeAffinity) ProtoMessage ¶ added in v1.1.0
func (*VolumeNodeAffinity) ProtoMessage()
func (*VolumeNodeAffinity) Reset ¶ added in v1.1.0
func (m *VolumeNodeAffinity) Reset()
func (*VolumeNodeAffinity) Size ¶ added in v1.1.0
func (m *VolumeNodeAffinity) Size() (n int)
func (*VolumeNodeAffinity) String ¶ added in v1.1.0
func (m *VolumeNodeAffinity) String() string
func (*VolumeNodeAffinity) Unmarshal ¶ added in v1.1.0
func (m *VolumeNodeAffinity) Unmarshal(dAtA []byte) error
type VolumeProjection ¶
type VolumeProjection struct {
// information about the secret data to project
// +optional
Secret *SecretProjection `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"`
// information about the downwardAPI data to project
// +optional
DownwardAPI *DownwardAPIProjection `protobuf:"bytes,2,opt,name=downwardAPI" json:"downwardAPI,omitempty"`
// information about the configMap data to project
// +optional
ConfigMap *ConfigMapProjection `protobuf:"bytes,3,opt,name=configMap" json:"configMap,omitempty"`
// information about the serviceAccountToken data to project
// +optional
ServiceAccountToken *ServiceAccountTokenProjection `protobuf:"bytes,4,opt,name=serviceAccountToken" json:"serviceAccountToken,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Projection that may be projected along with other supported volume types
func (*VolumeProjection) Descriptor ¶
func (*VolumeProjection) Descriptor() ([]byte, []int)
func (*VolumeProjection) GetConfigMap ¶
func (m *VolumeProjection) GetConfigMap() *ConfigMapProjection
func (*VolumeProjection) GetDownwardAPI ¶
func (m *VolumeProjection) GetDownwardAPI() *DownwardAPIProjection
func (*VolumeProjection) GetSecret ¶
func (m *VolumeProjection) GetSecret() *SecretProjection
func (*VolumeProjection) GetServiceAccountToken ¶ added in v1.4.0
func (m *VolumeProjection) GetServiceAccountToken() *ServiceAccountTokenProjection
func (*VolumeProjection) Marshal ¶
func (m *VolumeProjection) Marshal() (dAtA []byte, err error)
func (*VolumeProjection) ProtoMessage ¶
func (*VolumeProjection) ProtoMessage()
func (*VolumeProjection) Reset ¶
func (m *VolumeProjection) Reset()
func (*VolumeProjection) Size ¶
func (m *VolumeProjection) Size() (n int)
func (*VolumeProjection) String ¶
func (m *VolumeProjection) String() string
func (*VolumeProjection) Unmarshal ¶
func (m *VolumeProjection) Unmarshal(dAtA []byte) error
type VolumeSource ¶
type VolumeSource struct {
// HostPath represents a pre-existing file or directory on the host
// machine that is directly exposed to the container. This is generally
// used for system agents or other privileged things that are allowed
// to see the host machine. Most containers will NOT need this.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
// ---
// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
// mount host directories as read/write.
// +optional
HostPath *HostPathVolumeSource `protobuf:"bytes,1,opt,name=hostPath" json:"hostPath,omitempty"`
// EmptyDir represents a temporary directory that shares a pod's lifetime.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
// +optional
EmptyDir *EmptyDirVolumeSource `protobuf:"bytes,2,opt,name=emptyDir" json:"emptyDir,omitempty"`
// GCEPersistentDisk represents a GCE Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
// +optional
GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,3,opt,name=gcePersistentDisk" json:"gcePersistentDisk,omitempty"`
// AWSElasticBlockStore represents an AWS Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
// +optional
AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,4,opt,name=awsElasticBlockStore" json:"awsElasticBlockStore,omitempty"`
// GitRepo represents a git repository at a particular revision.
// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an
// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir
// into the Pod's container.
// +optional
GitRepo *GitRepoVolumeSource `protobuf:"bytes,5,opt,name=gitRepo" json:"gitRepo,omitempty"`
// Secret represents a secret that should populate this volume.
// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
// +optional
Secret *SecretVolumeSource `protobuf:"bytes,6,opt,name=secret" json:"secret,omitempty"`
// NFS represents an NFS mount on the host that shares a pod's lifetime
// More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
// +optional
Nfs *NFSVolumeSource `protobuf:"bytes,7,opt,name=nfs" json:"nfs,omitempty"`
// ISCSI represents an ISCSI Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
// More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md
// +optional
Iscsi *ISCSIVolumeSource `protobuf:"bytes,8,opt,name=iscsi" json:"iscsi,omitempty"`
// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
// More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
// +optional
Glusterfs *GlusterfsVolumeSource `protobuf:"bytes,9,opt,name=glusterfs" json:"glusterfs,omitempty"`
// PersistentVolumeClaimVolumeSource represents a reference to a
// PersistentVolumeClaim in the same namespace.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
// +optional
PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `protobuf:"bytes,10,opt,name=persistentVolumeClaim" json:"persistentVolumeClaim,omitempty"`
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
// More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
// +optional
Rbd *RBDVolumeSource `protobuf:"bytes,11,opt,name=rbd" json:"rbd,omitempty"`
// FlexVolume represents a generic volume resource that is
// provisioned/attached using an exec based plugin.
// +optional
FlexVolume *FlexVolumeSource `protobuf:"bytes,12,opt,name=flexVolume" json:"flexVolume,omitempty"`
// Cinder represents a cinder volume attached and mounted on kubelets host machine
// More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
// +optional
Cinder *CinderVolumeSource `protobuf:"bytes,13,opt,name=cinder" json:"cinder,omitempty"`
// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
// +optional
Cephfs *CephFSVolumeSource `protobuf:"bytes,14,opt,name=cephfs" json:"cephfs,omitempty"`
// Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
// +optional
Flocker *FlockerVolumeSource `protobuf:"bytes,15,opt,name=flocker" json:"flocker,omitempty"`
// DownwardAPI represents downward API about the pod that should populate this volume
// +optional
DownwardAPI *DownwardAPIVolumeSource `protobuf:"bytes,16,opt,name=downwardAPI" json:"downwardAPI,omitempty"`
// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
// +optional
Fc *FCVolumeSource `protobuf:"bytes,17,opt,name=fc" json:"fc,omitempty"`
// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
// +optional
AzureFile *AzureFileVolumeSource `protobuf:"bytes,18,opt,name=azureFile" json:"azureFile,omitempty"`
// ConfigMap represents a configMap that should populate this volume
// +optional
ConfigMap *ConfigMapVolumeSource `protobuf:"bytes,19,opt,name=configMap" json:"configMap,omitempty"`
// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
// +optional
VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,20,opt,name=vsphereVolume" json:"vsphereVolume,omitempty"`
// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
// +optional
Quobyte *QuobyteVolumeSource `protobuf:"bytes,21,opt,name=quobyte" json:"quobyte,omitempty"`
// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
// +optional
AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,22,opt,name=azureDisk" json:"azureDisk,omitempty"`
// PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,23,opt,name=photonPersistentDisk" json:"photonPersistentDisk,omitempty"`
// Items for all in one resources secrets, configmaps, and downward API
Projected *ProjectedVolumeSource `protobuf:"bytes,26,opt,name=projected" json:"projected,omitempty"`
// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
// +optional
PortworxVolume *PortworxVolumeSource `protobuf:"bytes,24,opt,name=portworxVolume" json:"portworxVolume,omitempty"`
// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
// +optional
ScaleIO *ScaleIOVolumeSource `protobuf:"bytes,25,opt,name=scaleIO" json:"scaleIO,omitempty"`
// StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
// +optional
Storageos *StorageOSVolumeSource `protobuf:"bytes,27,opt,name=storageos" json:"storageos,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents the source of a volume to mount. Only one of its members may be specified.
func (*VolumeSource) Descriptor ¶
func (*VolumeSource) Descriptor() ([]byte, []int)
func (*VolumeSource) GetAwsElasticBlockStore ¶
func (m *VolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource
func (*VolumeSource) GetAzureDisk ¶
func (m *VolumeSource) GetAzureDisk() *AzureDiskVolumeSource
func (*VolumeSource) GetAzureFile ¶
func (m *VolumeSource) GetAzureFile() *AzureFileVolumeSource
func (*VolumeSource) GetCephfs ¶
func (m *VolumeSource) GetCephfs() *CephFSVolumeSource
func (*VolumeSource) GetCinder ¶
func (m *VolumeSource) GetCinder() *CinderVolumeSource
func (*VolumeSource) GetConfigMap ¶
func (m *VolumeSource) GetConfigMap() *ConfigMapVolumeSource
func (*VolumeSource) GetDownwardAPI ¶
func (m *VolumeSource) GetDownwardAPI() *DownwardAPIVolumeSource
func (*VolumeSource) GetEmptyDir ¶
func (m *VolumeSource) GetEmptyDir() *EmptyDirVolumeSource
func (*VolumeSource) GetFc ¶
func (m *VolumeSource) GetFc() *FCVolumeSource
func (*VolumeSource) GetFlexVolume ¶
func (m *VolumeSource) GetFlexVolume() *FlexVolumeSource
func (*VolumeSource) GetFlocker ¶
func (m *VolumeSource) GetFlocker() *FlockerVolumeSource
func (*VolumeSource) GetGcePersistentDisk ¶
func (m *VolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource
func (*VolumeSource) GetGitRepo ¶
func (m *VolumeSource) GetGitRepo() *GitRepoVolumeSource
func (*VolumeSource) GetGlusterfs ¶
func (m *VolumeSource) GetGlusterfs() *GlusterfsVolumeSource
func (*VolumeSource) GetHostPath ¶
func (m *VolumeSource) GetHostPath() *HostPathVolumeSource
func (*VolumeSource) GetIscsi ¶
func (m *VolumeSource) GetIscsi() *ISCSIVolumeSource
func (*VolumeSource) GetNfs ¶
func (m *VolumeSource) GetNfs() *NFSVolumeSource
func (*VolumeSource) GetPersistentVolumeClaim ¶
func (m *VolumeSource) GetPersistentVolumeClaim() *PersistentVolumeClaimVolumeSource
func (*VolumeSource) GetPhotonPersistentDisk ¶
func (m *VolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource
func (*VolumeSource) GetPortworxVolume ¶
func (m *VolumeSource) GetPortworxVolume() *PortworxVolumeSource
func (*VolumeSource) GetProjected ¶
func (m *VolumeSource) GetProjected() *ProjectedVolumeSource
func (*VolumeSource) GetQuobyte ¶
func (m *VolumeSource) GetQuobyte() *QuobyteVolumeSource
func (*VolumeSource) GetRbd ¶
func (m *VolumeSource) GetRbd() *RBDVolumeSource
func (*VolumeSource) GetScaleIO ¶
func (m *VolumeSource) GetScaleIO() *ScaleIOVolumeSource
func (*VolumeSource) GetSecret ¶
func (m *VolumeSource) GetSecret() *SecretVolumeSource
func (*VolumeSource) GetStorageos ¶
func (m *VolumeSource) GetStorageos() *StorageOSVolumeSource
func (*VolumeSource) GetVsphereVolume ¶
func (m *VolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource
func (*VolumeSource) Marshal ¶
func (m *VolumeSource) Marshal() (dAtA []byte, err error)
func (*VolumeSource) ProtoMessage ¶
func (*VolumeSource) ProtoMessage()
func (*VolumeSource) Reset ¶
func (m *VolumeSource) Reset()
func (*VolumeSource) Size ¶
func (m *VolumeSource) Size() (n int)
func (*VolumeSource) String ¶
func (m *VolumeSource) String() string
func (*VolumeSource) Unmarshal ¶
func (m *VolumeSource) Unmarshal(dAtA []byte) error
type VsphereVirtualDiskVolumeSource ¶
type VsphereVirtualDiskVolumeSource struct {
// Path that identifies vSphere volume vmdk
VolumePath *string `protobuf:"bytes,1,opt,name=volumePath" json:"volumePath,omitempty"`
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
// +optional
FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"`
// Storage Policy Based Management (SPBM) profile name.
// +optional
StoragePolicyName *string `protobuf:"bytes,3,opt,name=storagePolicyName" json:"storagePolicyName,omitempty"`
// Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
// +optional
StoragePolicyID *string `protobuf:"bytes,4,opt,name=storagePolicyID" json:"storagePolicyID,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
Represents a vSphere volume resource.
func (*VsphereVirtualDiskVolumeSource) Descriptor ¶
func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int)
func (*VsphereVirtualDiskVolumeSource) GetFsType ¶
func (m *VsphereVirtualDiskVolumeSource) GetFsType() string
func (*VsphereVirtualDiskVolumeSource) GetStoragePolicyID ¶
func (m *VsphereVirtualDiskVolumeSource) GetStoragePolicyID() string
func (*VsphereVirtualDiskVolumeSource) GetStoragePolicyName ¶
func (m *VsphereVirtualDiskVolumeSource) GetStoragePolicyName() string
func (*VsphereVirtualDiskVolumeSource) GetVolumePath ¶
func (m *VsphereVirtualDiskVolumeSource) GetVolumePath() string
func (*VsphereVirtualDiskVolumeSource) Marshal ¶
func (m *VsphereVirtualDiskVolumeSource) Marshal() (dAtA []byte, err error)
func (*VsphereVirtualDiskVolumeSource) MarshalTo ¶
func (m *VsphereVirtualDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (*VsphereVirtualDiskVolumeSource) ProtoMessage ¶
func (*VsphereVirtualDiskVolumeSource) ProtoMessage()
func (*VsphereVirtualDiskVolumeSource) Reset ¶
func (m *VsphereVirtualDiskVolumeSource) Reset()
func (*VsphereVirtualDiskVolumeSource) Size ¶
func (m *VsphereVirtualDiskVolumeSource) Size() (n int)
func (*VsphereVirtualDiskVolumeSource) String ¶
func (m *VsphereVirtualDiskVolumeSource) String() string
func (*VsphereVirtualDiskVolumeSource) Unmarshal ¶
func (m *VsphereVirtualDiskVolumeSource) Unmarshal(dAtA []byte) error
type WeightedPodAffinityTerm ¶
type WeightedPodAffinityTerm struct {
// weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight *int32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"`
// Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm *PodAffinityTerm `protobuf:"bytes,2,opt,name=podAffinityTerm" json:"podAffinityTerm,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
func (*WeightedPodAffinityTerm) Descriptor ¶
func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int)
func (*WeightedPodAffinityTerm) GetPodAffinityTerm ¶
func (m *WeightedPodAffinityTerm) GetPodAffinityTerm() *PodAffinityTerm
func (*WeightedPodAffinityTerm) GetWeight ¶
func (m *WeightedPodAffinityTerm) GetWeight() int32
func (*WeightedPodAffinityTerm) Marshal ¶
func (m *WeightedPodAffinityTerm) Marshal() (dAtA []byte, err error)
func (*WeightedPodAffinityTerm) MarshalTo ¶
func (m *WeightedPodAffinityTerm) MarshalTo(dAtA []byte) (int, error)
func (*WeightedPodAffinityTerm) ProtoMessage ¶
func (*WeightedPodAffinityTerm) ProtoMessage()
func (*WeightedPodAffinityTerm) Reset ¶
func (m *WeightedPodAffinityTerm) Reset()
func (*WeightedPodAffinityTerm) Size ¶
func (m *WeightedPodAffinityTerm) Size() (n int)
func (*WeightedPodAffinityTerm) String ¶
func (m *WeightedPodAffinityTerm) String() string
func (*WeightedPodAffinityTerm) Unmarshal ¶
func (m *WeightedPodAffinityTerm) Unmarshal(dAtA []byte) error