Package k8s.io.api.core.v1
Interface Generated.PersistentVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PersistentVolumeSource,Generated.PersistentVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.PersistentVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.AWSElasticBlockStoreVolumeSourcegetAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AWSElasticBlockStoreVolumeSourceOrBuildergetAwsElasticBlockStoreOrBuilder()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AzureDiskVolumeSourcegetAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureDiskVolumeSourceOrBuildergetAzureDiskOrBuilder()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureFilePersistentVolumeSourcegetAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.AzureFilePersistentVolumeSourceOrBuildergetAzureFileOrBuilder()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.CephFSPersistentVolumeSourcegetCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CephFSPersistentVolumeSourceOrBuildergetCephfsOrBuilder()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CinderPersistentVolumeSourcegetCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.CinderPersistentVolumeSourceOrBuildergetCinderOrBuilder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.CSIPersistentVolumeSourcegetCsi()csi represents storage that is handled by an external CSI driver.Generated.CSIPersistentVolumeSourceOrBuildergetCsiOrBuilder()csi represents storage that is handled by an external CSI driver.Generated.FCVolumeSourcegetFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FCVolumeSourceOrBuildergetFcOrBuilder()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FlexPersistentVolumeSourcegetFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlexPersistentVolumeSourceOrBuildergetFlexVolumeOrBuilder()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlockerVolumeSourcegetFlocker()flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.Generated.FlockerVolumeSourceOrBuildergetFlockerOrBuilder()flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.Generated.GCEPersistentDiskVolumeSourcegetGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GCEPersistentDiskVolumeSourceOrBuildergetGcePersistentDiskOrBuilder()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GlusterfsPersistentVolumeSourcegetGlusterfs()glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.Generated.GlusterfsPersistentVolumeSourceOrBuildergetGlusterfsOrBuilder()glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.Generated.HostPathVolumeSourcegetHostPath()hostPath represents a directory on the host.Generated.HostPathVolumeSourceOrBuildergetHostPathOrBuilder()hostPath represents a directory on the host.Generated.ISCSIPersistentVolumeSourcegetIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.ISCSIPersistentVolumeSourceOrBuildergetIscsiOrBuilder()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.LocalVolumeSourcegetLocal()local represents directly-attached storage with node affinity +optionalGenerated.LocalVolumeSourceOrBuildergetLocalOrBuilder()local represents directly-attached storage with node affinity +optionalGenerated.NFSVolumeSourcegetNfs()nfs represents an NFS mount on the host.Generated.NFSVolumeSourceOrBuildergetNfsOrBuilder()nfs represents an NFS mount on the host.Generated.PhotonPersistentDiskVolumeSourcegetPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PhotonPersistentDiskVolumeSourceOrBuildergetPhotonPersistentDiskOrBuilder()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PortworxVolumeSourcegetPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.PortworxVolumeSourceOrBuildergetPortworxVolumeOrBuilder()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.QuobyteVolumeSourcegetQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.QuobyteVolumeSourceOrBuildergetQuobyteOrBuilder()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.RBDPersistentVolumeSourcegetRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.RBDPersistentVolumeSourceOrBuildergetRbdOrBuilder()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.ScaleIOPersistentVolumeSourcegetScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.ScaleIOPersistentVolumeSourceOrBuildergetScaleIOOrBuilder()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.StorageOSPersistentVolumeSourcegetStorageos()storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.Generated.StorageOSPersistentVolumeSourceOrBuildergetStorageosOrBuilder()storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.Generated.VsphereVirtualDiskVolumeSourcegetVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VsphereVirtualDiskVolumeSourceOrBuildergetVsphereVolumeOrBuilder()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.booleanhasAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.booleanhasAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.booleanhasCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.booleanhasCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.booleanhasCsi()csi represents storage that is handled by an external CSI driver.booleanhasFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.booleanhasFlocker()flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.booleanhasGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasGlusterfs()glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.booleanhasHostPath()hostPath represents a directory on the host.booleanhasIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasLocal()local represents directly-attached storage with node affinity +optionalbooleanhasNfs()nfs represents an NFS mount on the host.booleanhasPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.booleanhasPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.booleanhasQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.booleanhasRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.booleanhasScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.booleanhasStorageos()storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.booleanhasVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGcePersistentDisk
boolean hasGcePersistentDisk()
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. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;- Returns:
- Whether the gcePersistentDisk field is set.
-
getGcePersistentDisk
Generated.GCEPersistentDiskVolumeSource getGcePersistentDisk()
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. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;- Returns:
- The gcePersistentDisk.
-
getGcePersistentDiskOrBuilder
Generated.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
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. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 1;
-
hasAwsElasticBlockStore
boolean hasAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;- Returns:
- Whether the awsElasticBlockStore field is set.
-
getAwsElasticBlockStore
Generated.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;- Returns:
- The awsElasticBlockStore.
-
getAwsElasticBlockStoreOrBuilder
Generated.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
-
hasHostPath
boolean hasHostPath()
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
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;- Returns:
- Whether the hostPath field is set.
-
getHostPath
Generated.HostPathVolumeSource getHostPath()
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
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;- Returns:
- The hostPath.
-
getHostPathOrBuilder
Generated.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
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
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 3;
-
hasGlusterfs
boolean hasGlusterfs()
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;- Returns:
- Whether the glusterfs field is set.
-
getGlusterfs
Generated.GlusterfsPersistentVolumeSource getGlusterfs()
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;- Returns:
- The glusterfs.
-
getGlusterfsOrBuilder
Generated.GlusterfsPersistentVolumeSourceOrBuilder getGlusterfsOrBuilder()
glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsPersistentVolumeSource glusterfs = 4;
-
hasNfs
boolean hasNfs()
nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;- Returns:
- Whether the nfs field is set.
-
getNfs
Generated.NFSVolumeSource getNfs()
nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;- Returns:
- The nfs.
-
getNfsOrBuilder
Generated.NFSVolumeSourceOrBuilder getNfsOrBuilder()
nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 5;
-
hasRbd
boolean hasRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;- Returns:
- Whether the rbd field is set.
-
getRbd
Generated.RBDPersistentVolumeSource getRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;- Returns:
- The rbd.
-
getRbdOrBuilder
Generated.RBDPersistentVolumeSourceOrBuilder getRbdOrBuilder()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDPersistentVolumeSource rbd = 6;
-
hasIscsi
boolean hasIscsi()
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
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;- Returns:
- Whether the iscsi field is set.
-
getIscsi
Generated.ISCSIPersistentVolumeSource getIscsi()
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
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;- Returns:
- The iscsi.
-
getIscsiOrBuilder
Generated.ISCSIPersistentVolumeSourceOrBuilder getIscsiOrBuilder()
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
optional .k8s.io.api.core.v1.ISCSIPersistentVolumeSource iscsi = 7;
-
hasCinder
boolean hasCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;- Returns:
- Whether the cinder field is set.
-
getCinder
Generated.CinderPersistentVolumeSource getCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;- Returns:
- The cinder.
-
getCinderOrBuilder
Generated.CinderPersistentVolumeSourceOrBuilder getCinderOrBuilder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderPersistentVolumeSource cinder = 8;
-
hasCephfs
boolean hasCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;- Returns:
- Whether the cephfs field is set.
-
getCephfs
Generated.CephFSPersistentVolumeSource getCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;- Returns:
- The cephfs.
-
getCephfsOrBuilder
Generated.CephFSPersistentVolumeSourceOrBuilder getCephfsOrBuilder()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSPersistentVolumeSource cephfs = 9;
-
hasFc
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 = 10;- Returns:
- Whether the fc field is set.
-
getFc
Generated.FCVolumeSource 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 = 10;- Returns:
- The fc.
-
getFcOrBuilder
Generated.FCVolumeSourceOrBuilder 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 = 10;
-
hasFlocker
boolean hasFlocker()
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. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;- Returns:
- Whether the flocker field is set.
-
getFlocker
Generated.FlockerVolumeSource getFlocker()
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. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;- Returns:
- The flocker.
-
getFlockerOrBuilder
Generated.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
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. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 11;
-
hasFlexVolume
boolean hasFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;- Returns:
- Whether the flexVolume field is set.
-
getFlexVolume
Generated.FlexPersistentVolumeSource getFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;- Returns:
- The flexVolume.
-
getFlexVolumeOrBuilder
Generated.FlexPersistentVolumeSourceOrBuilder getFlexVolumeOrBuilder()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexPersistentVolumeSource flexVolume = 12;
-
hasAzureFile
boolean hasAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;- Returns:
- Whether the azureFile field is set.
-
getAzureFile
Generated.AzureFilePersistentVolumeSource getAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;- Returns:
- The azureFile.
-
getAzureFileOrBuilder
Generated.AzureFilePersistentVolumeSourceOrBuilder getAzureFileOrBuilder()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFilePersistentVolumeSource azureFile = 13;
-
hasVsphereVolume
boolean hasVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;- Returns:
- Whether the vsphereVolume field is set.
-
getVsphereVolume
Generated.VsphereVirtualDiskVolumeSource getVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;- Returns:
- The vsphereVolume.
-
getVsphereVolumeOrBuilder
Generated.VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 14;
-
hasQuobyte
boolean hasQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;- Returns:
- Whether the quobyte field is set.
-
getQuobyte
Generated.QuobyteVolumeSource getQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;- Returns:
- The quobyte.
-
getQuobyteOrBuilder
Generated.QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 15;
-
hasAzureDisk
boolean hasAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;- Returns:
- Whether the azureDisk field is set.
-
getAzureDisk
Generated.AzureDiskVolumeSource getAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;- Returns:
- The azureDisk.
-
getAzureDiskOrBuilder
Generated.AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 16;
-
hasPhotonPersistentDisk
boolean hasPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;- Returns:
- Whether the photonPersistentDisk field is set.
-
getPhotonPersistentDisk
Generated.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;- Returns:
- The photonPersistentDisk.
-
getPhotonPersistentDiskOrBuilder
Generated.PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 17;
-
hasPortworxVolume
boolean hasPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;- Returns:
- Whether the portworxVolume field is set.
-
getPortworxVolume
Generated.PortworxVolumeSource getPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;- Returns:
- The portworxVolume.
-
getPortworxVolumeOrBuilder
Generated.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 18;
-
hasScaleIO
boolean hasScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;- Returns:
- Whether the scaleIO field is set.
-
getScaleIO
Generated.ScaleIOPersistentVolumeSource getScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;- Returns:
- The scaleIO.
-
getScaleIOOrBuilder
Generated.ScaleIOPersistentVolumeSourceOrBuilder getScaleIOOrBuilder()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOPersistentVolumeSource scaleIO = 19;
-
hasLocal
boolean hasLocal()
local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;- Returns:
- Whether the local field is set.
-
getLocal
Generated.LocalVolumeSource getLocal()
local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;- Returns:
- The local.
-
getLocalOrBuilder
Generated.LocalVolumeSourceOrBuilder getLocalOrBuilder()
local represents directly-attached storage with node affinity +optional
optional .k8s.io.api.core.v1.LocalVolumeSource local = 20;
-
hasStorageos
boolean hasStorageos()
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;- Returns:
- Whether the storageos field is set.
-
getStorageos
Generated.StorageOSPersistentVolumeSource getStorageos()
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;- Returns:
- The storageos.
-
getStorageosOrBuilder
Generated.StorageOSPersistentVolumeSourceOrBuilder getStorageosOrBuilder()
storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md +optional
optional .k8s.io.api.core.v1.StorageOSPersistentVolumeSource storageos = 21;
-
hasCsi
boolean hasCsi()
csi represents storage that is handled by an external CSI driver. +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;- Returns:
- Whether the csi field is set.
-
getCsi
Generated.CSIPersistentVolumeSource getCsi()
csi represents storage that is handled by an external CSI driver. +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;- Returns:
- The csi.
-
getCsiOrBuilder
Generated.CSIPersistentVolumeSourceOrBuilder getCsiOrBuilder()
csi represents storage that is handled by an external CSI driver. +optional
optional .k8s.io.api.core.v1.CSIPersistentVolumeSource csi = 22;
-
-