case class PersistentVolumeSpec(accessModes: Optional[Vector[String]] = Optional.Absent, awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource] = Optional.Absent, azureDisk: Optional[AzureDiskVolumeSource] = Optional.Absent, azureFile: Optional[AzureFilePersistentVolumeSource] = Optional.Absent, capacity: Optional[Map[String, Quantity]] = Optional.Absent, cephfs: Optional[CephFSPersistentVolumeSource] = Optional.Absent, cinder: Optional[CinderPersistentVolumeSource] = Optional.Absent, claimRef: Optional[ObjectReference] = Optional.Absent, csi: Optional[CSIPersistentVolumeSource] = Optional.Absent, fc: Optional[FCVolumeSource] = Optional.Absent, flexVolume: Optional[FlexPersistentVolumeSource] = Optional.Absent, flocker: Optional[FlockerVolumeSource] = Optional.Absent, gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource] = Optional.Absent, glusterfs: Optional[GlusterfsPersistentVolumeSource] = Optional.Absent, hostPath: Optional[HostPathVolumeSource] = Optional.Absent, iscsi: Optional[ISCSIPersistentVolumeSource] = Optional.Absent, local: Optional[LocalVolumeSource] = Optional.Absent, mountOptions: Optional[Vector[String]] = Optional.Absent, nfs: Optional[NFSVolumeSource] = Optional.Absent, nodeAffinity: Optional[VolumeNodeAffinity] = Optional.Absent, persistentVolumeReclaimPolicy: Optional[String] = Optional.Absent, photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource] = Optional.Absent, portworxVolume: Optional[PortworxVolumeSource] = Optional.Absent, quobyte: Optional[QuobyteVolumeSource] = Optional.Absent, rbd: Optional[RBDPersistentVolumeSource] = Optional.Absent, scaleIO: Optional[ScaleIOPersistentVolumeSource] = Optional.Absent, storageClassName: Optional[String] = Optional.Absent, storageos: Optional[StorageOSPersistentVolumeSource] = Optional.Absent, volumeMode: Optional[String] = Optional.Absent, vsphereVolume: Optional[VsphereVirtualDiskVolumeSource] = Optional.Absent) extends Product with Serializable
PersistentVolumeSpec is the specification of a persistent volume.
- accessModes
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
- capacity
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
- mountOptions
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
- persistentVolumeReclaimPolicy
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
- storageClassName
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
- volumeMode
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.
- Alphabetic
- By Inheritance
- PersistentVolumeSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PersistentVolumeSpec(accessModes: Optional[Vector[String]] = Optional.Absent, awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource] = Optional.Absent, azureDisk: Optional[AzureDiskVolumeSource] = Optional.Absent, azureFile: Optional[AzureFilePersistentVolumeSource] = Optional.Absent, capacity: Optional[Map[String, Quantity]] = Optional.Absent, cephfs: Optional[CephFSPersistentVolumeSource] = Optional.Absent, cinder: Optional[CinderPersistentVolumeSource] = Optional.Absent, claimRef: Optional[ObjectReference] = Optional.Absent, csi: Optional[CSIPersistentVolumeSource] = Optional.Absent, fc: Optional[FCVolumeSource] = Optional.Absent, flexVolume: Optional[FlexPersistentVolumeSource] = Optional.Absent, flocker: Optional[FlockerVolumeSource] = Optional.Absent, gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource] = Optional.Absent, glusterfs: Optional[GlusterfsPersistentVolumeSource] = Optional.Absent, hostPath: Optional[HostPathVolumeSource] = Optional.Absent, iscsi: Optional[ISCSIPersistentVolumeSource] = Optional.Absent, local: Optional[LocalVolumeSource] = Optional.Absent, mountOptions: Optional[Vector[String]] = Optional.Absent, nfs: Optional[NFSVolumeSource] = Optional.Absent, nodeAffinity: Optional[VolumeNodeAffinity] = Optional.Absent, persistentVolumeReclaimPolicy: Optional[String] = Optional.Absent, photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource] = Optional.Absent, portworxVolume: Optional[PortworxVolumeSource] = Optional.Absent, quobyte: Optional[QuobyteVolumeSource] = Optional.Absent, rbd: Optional[RBDPersistentVolumeSource] = Optional.Absent, scaleIO: Optional[ScaleIOPersistentVolumeSource] = Optional.Absent, storageClassName: Optional[String] = Optional.Absent, storageos: Optional[StorageOSPersistentVolumeSource] = Optional.Absent, volumeMode: Optional[String] = Optional.Absent, vsphereVolume: Optional[VsphereVirtualDiskVolumeSource] = Optional.Absent)
- accessModes
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
- capacity
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
- mountOptions
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
- persistentVolumeReclaimPolicy
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
- storageClassName
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
- volumeMode
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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accessModes: Optional[Vector[String]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource]
- val azureDisk: Optional[AzureDiskVolumeSource]
- val azureFile: Optional[AzureFilePersistentVolumeSource]
- val capacity: Optional[Map[String, Quantity]]
- val cephfs: Optional[CephFSPersistentVolumeSource]
- val cinder: Optional[CinderPersistentVolumeSource]
- val claimRef: Optional[ObjectReference]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val csi: Optional[CSIPersistentVolumeSource]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fc: Optional[FCVolumeSource]
- val flexVolume: Optional[FlexPersistentVolumeSource]
- val flocker: Optional[FlockerVolumeSource]
- val gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource]
-
def
getAccessModes: IO[K8sFailure, Vector[String]]
AccessModes contains all ways the volume can be mounted.
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAwsElasticBlockStore: IO[K8sFailure, AWSElasticBlockStoreVolumeSource]
Gets awsElasticBlockStore.
Gets awsElasticBlockStore.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAzureDisk: IO[K8sFailure, AzureDiskVolumeSource]
Gets azureDisk.
Gets azureDisk.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAzureFile: IO[K8sFailure, AzureFilePersistentVolumeSource]
Gets azureFile.
Gets azureFile.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCapacity: IO[K8sFailure, Map[String, Quantity]]
A description of the persistent volume's resources and capacity.
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCephfs: IO[K8sFailure, CephFSPersistentVolumeSource]
Gets cephfs.
Gets cephfs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCinder: IO[K8sFailure, CinderPersistentVolumeSource]
Gets cinder.
Gets cinder.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getClaimRef: IO[K8sFailure, ObjectReference]
Gets claimRef.
Gets claimRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getCsi: IO[K8sFailure, CSIPersistentVolumeSource]
Gets csi.
Gets csi.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFc: IO[K8sFailure, FCVolumeSource]
Gets fc.
Gets fc.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFlexVolume: IO[K8sFailure, FlexPersistentVolumeSource]
Gets flexVolume.
Gets flexVolume.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFlocker: IO[K8sFailure, FlockerVolumeSource]
Gets flocker.
Gets flocker.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getGcePersistentDisk: IO[K8sFailure, GCEPersistentDiskVolumeSource]
Gets gcePersistentDisk.
Gets gcePersistentDisk.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getGlusterfs: IO[K8sFailure, GlusterfsPersistentVolumeSource]
Gets glusterfs.
Gets glusterfs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getHostPath: IO[K8sFailure, HostPathVolumeSource]
Gets hostPath.
Gets hostPath.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getIscsi: IO[K8sFailure, ISCSIPersistentVolumeSource]
Gets iscsi.
Gets iscsi.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getLocal: IO[K8sFailure, LocalVolumeSource]
Gets local.
Gets local.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMountOptions: IO[K8sFailure, Vector[String]]
A list of mount options, e.g.
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getNfs: IO[K8sFailure, NFSVolumeSource]
Gets nfs.
Gets nfs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getNodeAffinity: IO[K8sFailure, VolumeNodeAffinity]
Gets nodeAffinity.
Gets nodeAffinity.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPersistentVolumeReclaimPolicy: IO[K8sFailure, String]
What happens to a persistent volume when released from its claim.
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
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPhotonPersistentDisk: IO[K8sFailure, PhotonPersistentDiskVolumeSource]
Gets photonPersistentDisk.
Gets photonPersistentDisk.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPortworxVolume: IO[K8sFailure, PortworxVolumeSource]
Gets portworxVolume.
Gets portworxVolume.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getQuobyte: IO[K8sFailure, QuobyteVolumeSource]
Gets quobyte.
Gets quobyte.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRbd: IO[K8sFailure, RBDPersistentVolumeSource]
Gets rbd.
Gets rbd.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getScaleIO: IO[K8sFailure, ScaleIOPersistentVolumeSource]
Gets scaleIO.
Gets scaleIO.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStorageClassName: IO[K8sFailure, String]
Name of StorageClass to which this persistent volume belongs.
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStorageos: IO[K8sFailure, StorageOSPersistentVolumeSource]
Gets storageos.
Gets storageos.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVolumeMode: IO[K8sFailure, String]
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVsphereVolume: IO[K8sFailure, VsphereVirtualDiskVolumeSource]
Gets vsphereVolume.
Gets vsphereVolume.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val glusterfs: Optional[GlusterfsPersistentVolumeSource]
- val hostPath: Optional[HostPathVolumeSource]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val iscsi: Optional[ISCSIPersistentVolumeSource]
- val local: Optional[LocalVolumeSource]
- val mountOptions: Optional[Vector[String]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nfs: Optional[NFSVolumeSource]
- val nodeAffinity: Optional[VolumeNodeAffinity]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val persistentVolumeReclaimPolicy: Optional[String]
- val photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource]
- val portworxVolume: Optional[PortworxVolumeSource]
- val quobyte: Optional[QuobyteVolumeSource]
- val rbd: Optional[RBDPersistentVolumeSource]
- val scaleIO: Optional[ScaleIOPersistentVolumeSource]
- val storageClassName: Optional[String]
- val storageos: Optional[StorageOSPersistentVolumeSource]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val volumeMode: Optional[String]
- val vsphereVolume: Optional[VsphereVirtualDiskVolumeSource]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated