Package io.kubernetes.client.proto
Class V1.VolumeSource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.VolumeSource
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.VolumeSourceOrBuilder,Serializable
- Enclosing class:
- V1
public static final class V1.VolumeSource
extends com.google.protobuf.GeneratedMessageV3
implements V1.VolumeSourceOrBuilder
Represents the source of a volume to mount. Only one of its members may be specified.Protobuf type
k8s.io.api.core.v1.VolumeSource- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents the source of a volume to mount.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1.VolumeSource>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureFile represents an Azure File Service mount on the host and bind mount to the pod.AzureFile represents an Azure File Service mount on the host and bind mount to the pod.CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalCephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalCinder represents a cinder volume attached and mounted on kubelets host machine.Cinder represents a cinder volume attached and mounted on kubelets host machine.ConfigMap represents a configMap that should populate this volume +optionalConfigMap represents a configMap that should populate this volume +optionalgetCsi()CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).static V1.VolumeSourcestatic final com.google.protobuf.Descriptors.DescriptorDownwardAPI represents downward API about the pod that should populate this volume +optionalDownwardAPI represents downward API about the pod that should populate this volume +optionalEmptyDir represents a temporary directory that shares a pod's lifetime.EmptyDir represents a temporary directory that shares a pod's lifetime.Ephemeral represents a volume that is handled by a cluster storage driver.Ephemeral represents a volume that is handled by a cluster storage driver.getFc()FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Flocker represents a Flocker volume attached to a kubelet's host machine.Flocker represents a Flocker volume attached to a kubelet's host machine.GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GitRepo represents a git repository at a particular revision.GitRepo represents a git repository at a particular revision.Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.getIscsi()ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.getNfs()NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalNFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalcom.google.protobuf.Parser<V1.VolumeSource>PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machinePhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machinePortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalPortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalItems for all in one resources secrets, configmaps, and downward APIItems for all in one resources secrets, configmaps, and downward APIQuobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalQuobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalgetRbd()RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Secret represents a secret that should populate this volume.Secret represents a secret that should populate this volume.intStorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.final com.google.protobuf.UnknownFieldSetVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalbooleanAWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanAzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.booleanAzureFile represents an Azure File Service mount on the host and bind mount to the pod.booleanCephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optionalbooleanCinder represents a cinder volume attached and mounted on kubelets host machine.booleanConfigMap represents a configMap that should populate this volume +optionalbooleanhasCsi()CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).booleanDownwardAPI represents downward API about the pod that should populate this volume +optionalbooleanEmptyDir represents a temporary directory that shares a pod's lifetime.booleanEphemeral represents a volume that is handled by a cluster storage driver.booleanhasFc()FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.booleanFlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.booleanFlocker represents a Flocker volume attached to a kubelet's host machine.booleanGCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanGitRepo represents a git repository at a particular revision.booleanGlusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.inthashCode()booleanHostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.booleanhasIscsi()ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasNfs()NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalbooleanPersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.booleanPhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machinebooleanPortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optionalbooleanItems for all in one resources secrets, configmaps, and downward APIbooleanQuobyte represents a Quobyte mount on the host that shares a pod's lifetime +optionalbooleanhasRbd()RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.booleanScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.booleanSecret represents a secret that should populate this volume.booleanStorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.booleanVsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic V1.VolumeSource.Builderstatic V1.VolumeSource.BuildernewBuilder(V1.VolumeSource prototype) protected V1.VolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.VolumeSourceparseDelimitedFrom(InputStream input) static V1.VolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSourceparseFrom(byte[] data) static V1.VolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSourceparseFrom(com.google.protobuf.ByteString data) static V1.VolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSourceparseFrom(com.google.protobuf.CodedInputStream input) static V1.VolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSourceparseFrom(InputStream input) static V1.VolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeSourceparseFrom(ByteBuffer data) static V1.VolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.VolumeSource>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
HOSTPATH_FIELD_NUMBER
public static final int HOSTPATH_FIELD_NUMBER- See Also:
-
EMPTYDIR_FIELD_NUMBER
public static final int EMPTYDIR_FIELD_NUMBER- See Also:
-
GCEPERSISTENTDISK_FIELD_NUMBER
public static final int GCEPERSISTENTDISK_FIELD_NUMBER- See Also:
-
AWSELASTICBLOCKSTORE_FIELD_NUMBER
public static final int AWSELASTICBLOCKSTORE_FIELD_NUMBER- See Also:
-
GITREPO_FIELD_NUMBER
public static final int GITREPO_FIELD_NUMBER- See Also:
-
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER- See Also:
-
NFS_FIELD_NUMBER
public static final int NFS_FIELD_NUMBER- See Also:
-
ISCSI_FIELD_NUMBER
public static final int ISCSI_FIELD_NUMBER- See Also:
-
GLUSTERFS_FIELD_NUMBER
public static final int GLUSTERFS_FIELD_NUMBER- See Also:
-
PERSISTENTVOLUMECLAIM_FIELD_NUMBER
public static final int PERSISTENTVOLUMECLAIM_FIELD_NUMBER- See Also:
-
RBD_FIELD_NUMBER
public static final int RBD_FIELD_NUMBER- See Also:
-
FLEXVOLUME_FIELD_NUMBER
public static final int FLEXVOLUME_FIELD_NUMBER- See Also:
-
CINDER_FIELD_NUMBER
public static final int CINDER_FIELD_NUMBER- See Also:
-
CEPHFS_FIELD_NUMBER
public static final int CEPHFS_FIELD_NUMBER- See Also:
-
FLOCKER_FIELD_NUMBER
public static final int FLOCKER_FIELD_NUMBER- See Also:
-
DOWNWARDAPI_FIELD_NUMBER
public static final int DOWNWARDAPI_FIELD_NUMBER- See Also:
-
FC_FIELD_NUMBER
public static final int FC_FIELD_NUMBER- See Also:
-
AZUREFILE_FIELD_NUMBER
public static final int AZUREFILE_FIELD_NUMBER- See Also:
-
CONFIGMAP_FIELD_NUMBER
public static final int CONFIGMAP_FIELD_NUMBER- See Also:
-
VSPHEREVOLUME_FIELD_NUMBER
public static final int VSPHEREVOLUME_FIELD_NUMBER- See Also:
-
QUOBYTE_FIELD_NUMBER
public static final int QUOBYTE_FIELD_NUMBER- See Also:
-
AZUREDISK_FIELD_NUMBER
public static final int AZUREDISK_FIELD_NUMBER- See Also:
-
PHOTONPERSISTENTDISK_FIELD_NUMBER
public static final int PHOTONPERSISTENTDISK_FIELD_NUMBER- See Also:
-
PROJECTED_FIELD_NUMBER
public static final int PROJECTED_FIELD_NUMBER- See Also:
-
PORTWORXVOLUME_FIELD_NUMBER
public static final int PORTWORXVOLUME_FIELD_NUMBER- See Also:
-
SCALEIO_FIELD_NUMBER
public static final int SCALEIO_FIELD_NUMBER- See Also:
-
STORAGEOS_FIELD_NUMBER
public static final int STORAGEOS_FIELD_NUMBER- See Also:
-
CSI_FIELD_NUMBER
public static final int CSI_FIELD_NUMBER- See Also:
-
EPHEMERAL_FIELD_NUMBER
public static final int EPHEMERAL_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasHostPath
public boolean hasHostPath()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
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
hasHostPathin interfaceV1.VolumeSourceOrBuilder
-
getHostPath
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
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
getHostPathin interfaceV1.VolumeSourceOrBuilder
-
getHostPathOrBuilder
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
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
getHostPathOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasEmptyDir
public boolean hasEmptyDir()EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
hasEmptyDirin interfaceV1.VolumeSourceOrBuilder
-
getEmptyDir
EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
getEmptyDirin interfaceV1.VolumeSourceOrBuilder
-
getEmptyDirOrBuilder
EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
getEmptyDirOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasGcePersistentDisk
public boolean hasGcePersistentDisk()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
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
hasGcePersistentDiskin interfaceV1.VolumeSourceOrBuilder
-
getGcePersistentDisk
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
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
getGcePersistentDiskin interfaceV1.VolumeSourceOrBuilder
-
getGcePersistentDiskOrBuilder
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
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
getGcePersistentDiskOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasAwsElasticBlockStore
public boolean hasAwsElasticBlockStore()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
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
hasAwsElasticBlockStorein interfaceV1.VolumeSourceOrBuilder
-
getAwsElasticBlockStore
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
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
getAwsElasticBlockStorein interfaceV1.VolumeSourceOrBuilder
-
getAwsElasticBlockStoreOrBuilder
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
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
getAwsElasticBlockStoreOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasGitRepo
public boolean hasGitRepo()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
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
hasGitRepoin interfaceV1.VolumeSourceOrBuilder
-
getGitRepo
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
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
getGitRepoin interfaceV1.VolumeSourceOrBuilder
-
getGitRepoOrBuilder
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
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
getGitRepoOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasSecret
public boolean hasSecret()Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
hasSecretin interfaceV1.VolumeSourceOrBuilder
-
getSecret
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
getSecretin interfaceV1.VolumeSourceOrBuilder
-
getSecretOrBuilder
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
getSecretOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasNfs
public boolean hasNfs()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
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
hasNfsin interfaceV1.VolumeSourceOrBuilder
-
getNfs
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
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
getNfsin interfaceV1.VolumeSourceOrBuilder
-
getNfsOrBuilder
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
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
getNfsOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasIscsi
public boolean hasIscsi()ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
hasIscsiin interfaceV1.VolumeSourceOrBuilder
-
getIscsi
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
getIscsiin interfaceV1.VolumeSourceOrBuilder
-
getIscsiOrBuilder
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
getIscsiOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasGlusterfs
public boolean hasGlusterfs()Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
hasGlusterfsin interfaceV1.VolumeSourceOrBuilder
-
getGlusterfs
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
getGlusterfsin interfaceV1.VolumeSourceOrBuilder
-
getGlusterfsOrBuilder
Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
getGlusterfsOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasPersistentVolumeClaim
public boolean hasPersistentVolumeClaim()PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
hasPersistentVolumeClaimin interfaceV1.VolumeSourceOrBuilder
-
getPersistentVolumeClaim
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
getPersistentVolumeClaimin interfaceV1.VolumeSourceOrBuilder
-
getPersistentVolumeClaimOrBuilder
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
getPersistentVolumeClaimOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasRbd
public boolean hasRbd()RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
hasRbdin interfaceV1.VolumeSourceOrBuilder
-
getRbd
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
getRbdin interfaceV1.VolumeSourceOrBuilder
-
getRbdOrBuilder
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
getRbdOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasFlexVolume
public boolean hasFlexVolume()FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
hasFlexVolumein interfaceV1.VolumeSourceOrBuilder
-
getFlexVolume
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
getFlexVolumein interfaceV1.VolumeSourceOrBuilder
-
getFlexVolumeOrBuilder
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
getFlexVolumeOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasCinder
public boolean hasCinder()Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
hasCinderin interfaceV1.VolumeSourceOrBuilder
-
getCinder
Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
getCinderin interfaceV1.VolumeSourceOrBuilder
-
getCinderOrBuilder
Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
getCinderOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasCephfs
public boolean hasCephfs()CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
hasCephfsin interfaceV1.VolumeSourceOrBuilder
-
getCephfs
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
getCephfsin interfaceV1.VolumeSourceOrBuilder
-
getCephfsOrBuilder
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
getCephfsOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasFlocker
public boolean hasFlocker()Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
hasFlockerin interfaceV1.VolumeSourceOrBuilder
-
getFlocker
Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
getFlockerin interfaceV1.VolumeSourceOrBuilder
-
getFlockerOrBuilder
Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
getFlockerOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasDownwardAPI
public boolean hasDownwardAPI()DownwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
hasDownwardAPIin interfaceV1.VolumeSourceOrBuilder
-
getDownwardAPI
DownwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
getDownwardAPIin interfaceV1.VolumeSourceOrBuilder
-
getDownwardAPIOrBuilder
DownwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
getDownwardAPIOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasFc
public boolean hasFc()FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
hasFcin interfaceV1.VolumeSourceOrBuilder
-
getFc
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
getFcin interfaceV1.VolumeSourceOrBuilder
-
getFcOrBuilder
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
getFcOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasAzureFile
public boolean hasAzureFile()AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
hasAzureFilein interfaceV1.VolumeSourceOrBuilder
-
getAzureFile
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
getAzureFilein interfaceV1.VolumeSourceOrBuilder
-
getAzureFileOrBuilder
AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
getAzureFileOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasConfigMap
public boolean hasConfigMap()ConfigMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
hasConfigMapin interfaceV1.VolumeSourceOrBuilder
-
getConfigMap
ConfigMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
getConfigMapin interfaceV1.VolumeSourceOrBuilder
-
getConfigMapOrBuilder
ConfigMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
getConfigMapOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasVsphereVolume
public boolean hasVsphereVolume()VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
hasVsphereVolumein interfaceV1.VolumeSourceOrBuilder
-
getVsphereVolume
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
getVsphereVolumein interfaceV1.VolumeSourceOrBuilder
-
getVsphereVolumeOrBuilder
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
getVsphereVolumeOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasQuobyte
public boolean hasQuobyte()Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
hasQuobytein interfaceV1.VolumeSourceOrBuilder
-
getQuobyte
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
getQuobytein interfaceV1.VolumeSourceOrBuilder
-
getQuobyteOrBuilder
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
getQuobyteOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasAzureDisk
public boolean hasAzureDisk()AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
hasAzureDiskin interfaceV1.VolumeSourceOrBuilder
-
getAzureDisk
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
getAzureDiskin interfaceV1.VolumeSourceOrBuilder
-
getAzureDiskOrBuilder
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
getAzureDiskOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasPhotonPersistentDisk
public boolean hasPhotonPersistentDisk()PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
hasPhotonPersistentDiskin interfaceV1.VolumeSourceOrBuilder
-
getPhotonPersistentDisk
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
getPhotonPersistentDiskin interfaceV1.VolumeSourceOrBuilder
-
getPhotonPersistentDiskOrBuilder
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
getPhotonPersistentDiskOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasProjected
public boolean hasProjected()Items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
hasProjectedin interfaceV1.VolumeSourceOrBuilder
-
getProjected
Items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
getProjectedin interfaceV1.VolumeSourceOrBuilder
-
getProjectedOrBuilder
Items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
getProjectedOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasPortworxVolume
public boolean hasPortworxVolume()PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
hasPortworxVolumein interfaceV1.VolumeSourceOrBuilder
-
getPortworxVolume
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
getPortworxVolumein interfaceV1.VolumeSourceOrBuilder
-
getPortworxVolumeOrBuilder
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
getPortworxVolumeOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasScaleIO
public boolean hasScaleIO()ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
hasScaleIOin interfaceV1.VolumeSourceOrBuilder
-
getScaleIO
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
getScaleIOin interfaceV1.VolumeSourceOrBuilder
-
getScaleIOOrBuilder
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
getScaleIOOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasStorageos
public boolean hasStorageos()StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
hasStorageosin interfaceV1.VolumeSourceOrBuilder
-
getStorageos
StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
getStorageosin interfaceV1.VolumeSourceOrBuilder
-
getStorageosOrBuilder
StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
getStorageosOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasCsi
public boolean hasCsi()CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
hasCsiin interfaceV1.VolumeSourceOrBuilder
-
getCsi
CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
getCsiin interfaceV1.VolumeSourceOrBuilder
-
getCsiOrBuilder
CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
getCsiOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
hasEphemeral
public boolean hasEphemeral()Ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
hasEphemeralin interfaceV1.VolumeSourceOrBuilder
-
getEphemeral
Ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
getEphemeralin interfaceV1.VolumeSourceOrBuilder
-
getEphemeralOrBuilder
Ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
getEphemeralOrBuilderin interfaceV1.VolumeSourceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.VolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.VolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.VolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.VolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.VolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-