final case class PersistentVolumeSpec(scaleIO: Option[ScaleIOPersistentVolumeSource] = None, csi: Option[CSIPersistentVolumeSource] = None, accessModes: Option[Seq[String]] = None, mountOptions: Option[Seq[String]] = None, nodeAffinity: Option[VolumeNodeAffinity] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFilePersistentVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, rbd: Option[RBDPersistentVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, persistentVolumeReclaimPolicy: Option[String] = None, glusterfs: Option[GlusterfsPersistentVolumeSource] = None, volumeMode: Option[String] = None, flocker: Option[FlockerVolumeSource] = None, claimRef: Option[ObjectReference] = None, fc: Option[FCVolumeSource] = None, local: Option[LocalVolumeSource] = None, storageClassName: Option[String] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None, iscsi: Option[ISCSIPersistentVolumeSource] = None, cinder: Option[CinderPersistentVolumeSource] = None, cephfs: Option[CephFSPersistentVolumeSource] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, flexVolume: Option[FlexPersistentVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, storageos: Option[StorageOSPersistentVolumeSource] = None, capacity: Option[Map[String, Quantity]] = None) extends Product with Serializable
PersistentVolumeSpec is the specification of a persistent volume.
- Alphabetic
- By Inheritance
- PersistentVolumeSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PersistentVolumeSpec(scaleIO: Option[ScaleIOPersistentVolumeSource] = None, csi: Option[CSIPersistentVolumeSource] = None, accessModes: Option[Seq[String]] = None, mountOptions: Option[Seq[String]] = None, nodeAffinity: Option[VolumeNodeAffinity] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFilePersistentVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, rbd: Option[RBDPersistentVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, persistentVolumeReclaimPolicy: Option[String] = None, glusterfs: Option[GlusterfsPersistentVolumeSource] = None, volumeMode: Option[String] = None, flocker: Option[FlockerVolumeSource] = None, claimRef: Option[ObjectReference] = None, fc: Option[FCVolumeSource] = None, local: Option[LocalVolumeSource] = None, storageClassName: Option[String] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None, iscsi: Option[ISCSIPersistentVolumeSource] = None, cinder: Option[CinderPersistentVolumeSource] = None, cephfs: Option[CephFSPersistentVolumeSource] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, flexVolume: Option[FlexPersistentVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, storageos: Option[StorageOSPersistentVolumeSource] = None, capacity: Option[Map[String, Quantity]] = None)
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: Option[Seq[String]]
-
def
addAccessModes(newValues: String*): PersistentVolumeSpec
Appends new values to accessModes
-
def
addCapacity(newValues: (String, Quantity)*): PersistentVolumeSpec
Adds new values to capacity
-
def
addMountOptions(newValues: String*): PersistentVolumeSpec
Appends new values to mountOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource]
- val azureDisk: Option[AzureDiskVolumeSource]
- val azureFile: Option[AzureFilePersistentVolumeSource]
- val capacity: Option[Map[String, Quantity]]
- val cephfs: Option[CephFSPersistentVolumeSource]
- val cinder: Option[CinderPersistentVolumeSource]
- val claimRef: Option[ObjectReference]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val csi: Option[CSIPersistentVolumeSource]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fc: Option[FCVolumeSource]
- val flexVolume: Option[FlexPersistentVolumeSource]
- val flocker: Option[FlockerVolumeSource]
- val gcePersistentDisk: Option[GCEPersistentDiskVolumeSource]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val glusterfs: Option[GlusterfsPersistentVolumeSource]
- val hostPath: Option[HostPathVolumeSource]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val iscsi: Option[ISCSIPersistentVolumeSource]
- val local: Option[LocalVolumeSource]
-
def
mapAccessModes(f: (Seq[String]) ⇒ Seq[String]): PersistentVolumeSpec
if accessModes has a value, transforms to the result of function
-
def
mapAwsElasticBlockStore(f: (AWSElasticBlockStoreVolumeSource) ⇒ AWSElasticBlockStoreVolumeSource): PersistentVolumeSpec
if awsElasticBlockStore has a value, transforms to the result of function
-
def
mapAzureDisk(f: (AzureDiskVolumeSource) ⇒ AzureDiskVolumeSource): PersistentVolumeSpec
if azureDisk has a value, transforms to the result of function
-
def
mapAzureFile(f: (AzureFilePersistentVolumeSource) ⇒ AzureFilePersistentVolumeSource): PersistentVolumeSpec
if azureFile has a value, transforms to the result of function
-
def
mapCapacity(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): PersistentVolumeSpec
if capacity has a value, transforms to the result of function
-
def
mapCephfs(f: (CephFSPersistentVolumeSource) ⇒ CephFSPersistentVolumeSource): PersistentVolumeSpec
if cephfs has a value, transforms to the result of function
-
def
mapCinder(f: (CinderPersistentVolumeSource) ⇒ CinderPersistentVolumeSource): PersistentVolumeSpec
if cinder has a value, transforms to the result of function
-
def
mapClaimRef(f: (ObjectReference) ⇒ ObjectReference): PersistentVolumeSpec
if claimRef has a value, transforms to the result of function
-
def
mapCsi(f: (CSIPersistentVolumeSource) ⇒ CSIPersistentVolumeSource): PersistentVolumeSpec
if csi has a value, transforms to the result of function
-
def
mapFc(f: (FCVolumeSource) ⇒ FCVolumeSource): PersistentVolumeSpec
if fc has a value, transforms to the result of function
-
def
mapFlexVolume(f: (FlexPersistentVolumeSource) ⇒ FlexPersistentVolumeSource): PersistentVolumeSpec
if flexVolume has a value, transforms to the result of function
-
def
mapFlocker(f: (FlockerVolumeSource) ⇒ FlockerVolumeSource): PersistentVolumeSpec
if flocker has a value, transforms to the result of function
-
def
mapGcePersistentDisk(f: (GCEPersistentDiskVolumeSource) ⇒ GCEPersistentDiskVolumeSource): PersistentVolumeSpec
if gcePersistentDisk has a value, transforms to the result of function
-
def
mapGlusterfs(f: (GlusterfsPersistentVolumeSource) ⇒ GlusterfsPersistentVolumeSource): PersistentVolumeSpec
if glusterfs has a value, transforms to the result of function
-
def
mapHostPath(f: (HostPathVolumeSource) ⇒ HostPathVolumeSource): PersistentVolumeSpec
if hostPath has a value, transforms to the result of function
-
def
mapIscsi(f: (ISCSIPersistentVolumeSource) ⇒ ISCSIPersistentVolumeSource): PersistentVolumeSpec
if iscsi has a value, transforms to the result of function
-
def
mapLocal(f: (LocalVolumeSource) ⇒ LocalVolumeSource): PersistentVolumeSpec
if local has a value, transforms to the result of function
-
def
mapMountOptions(f: (Seq[String]) ⇒ Seq[String]): PersistentVolumeSpec
if mountOptions has a value, transforms to the result of function
-
def
mapNfs(f: (NFSVolumeSource) ⇒ NFSVolumeSource): PersistentVolumeSpec
if nfs has a value, transforms to the result of function
-
def
mapNodeAffinity(f: (VolumeNodeAffinity) ⇒ VolumeNodeAffinity): PersistentVolumeSpec
if nodeAffinity has a value, transforms to the result of function
-
def
mapPersistentVolumeReclaimPolicy(f: (String) ⇒ String): PersistentVolumeSpec
if persistentVolumeReclaimPolicy has a value, transforms to the result of function
-
def
mapPhotonPersistentDisk(f: (PhotonPersistentDiskVolumeSource) ⇒ PhotonPersistentDiskVolumeSource): PersistentVolumeSpec
if photonPersistentDisk has a value, transforms to the result of function
-
def
mapPortworxVolume(f: (PortworxVolumeSource) ⇒ PortworxVolumeSource): PersistentVolumeSpec
if portworxVolume has a value, transforms to the result of function
-
def
mapQuobyte(f: (QuobyteVolumeSource) ⇒ QuobyteVolumeSource): PersistentVolumeSpec
if quobyte has a value, transforms to the result of function
-
def
mapRbd(f: (RBDPersistentVolumeSource) ⇒ RBDPersistentVolumeSource): PersistentVolumeSpec
if rbd has a value, transforms to the result of function
-
def
mapScaleIO(f: (ScaleIOPersistentVolumeSource) ⇒ ScaleIOPersistentVolumeSource): PersistentVolumeSpec
if scaleIO has a value, transforms to the result of function
-
def
mapStorageClassName(f: (String) ⇒ String): PersistentVolumeSpec
if storageClassName has a value, transforms to the result of function
-
def
mapStorageos(f: (StorageOSPersistentVolumeSource) ⇒ StorageOSPersistentVolumeSource): PersistentVolumeSpec
if storageos has a value, transforms to the result of function
-
def
mapVolumeMode(f: (String) ⇒ String): PersistentVolumeSpec
if volumeMode has a value, transforms to the result of function
-
def
mapVsphereVolume(f: (VsphereVirtualDiskVolumeSource) ⇒ VsphereVirtualDiskVolumeSource): PersistentVolumeSpec
if vsphereVolume has a value, transforms to the result of function
- val mountOptions: Option[Seq[String]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nfs: Option[NFSVolumeSource]
- val nodeAffinity: Option[VolumeNodeAffinity]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val persistentVolumeReclaimPolicy: Option[String]
- val photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource]
- val portworxVolume: Option[PortworxVolumeSource]
- val quobyte: Option[QuobyteVolumeSource]
- val rbd: Option[RBDPersistentVolumeSource]
- val scaleIO: Option[ScaleIOPersistentVolumeSource]
- val storageClassName: Option[String]
- val storageos: Option[StorageOSPersistentVolumeSource]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val volumeMode: Option[String]
- val vsphereVolume: Option[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( ... )
-
def
withAccessModes(value: Seq[String]): PersistentVolumeSpec
Returns a new data with accessModes set to new value
-
def
withAwsElasticBlockStore(value: AWSElasticBlockStoreVolumeSource): PersistentVolumeSpec
Returns a new data with awsElasticBlockStore set to new value
-
def
withAzureDisk(value: AzureDiskVolumeSource): PersistentVolumeSpec
Returns a new data with azureDisk set to new value
-
def
withAzureFile(value: AzureFilePersistentVolumeSource): PersistentVolumeSpec
Returns a new data with azureFile set to new value
-
def
withCapacity(value: Map[String, Quantity]): PersistentVolumeSpec
Returns a new data with capacity set to new value
-
def
withCephfs(value: CephFSPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with cephfs set to new value
-
def
withCinder(value: CinderPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with cinder set to new value
-
def
withClaimRef(value: ObjectReference): PersistentVolumeSpec
Returns a new data with claimRef set to new value
-
def
withCsi(value: CSIPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with csi set to new value
-
def
withFc(value: FCVolumeSource): PersistentVolumeSpec
Returns a new data with fc set to new value
-
def
withFlexVolume(value: FlexPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with flexVolume set to new value
-
def
withFlocker(value: FlockerVolumeSource): PersistentVolumeSpec
Returns a new data with flocker set to new value
-
def
withGcePersistentDisk(value: GCEPersistentDiskVolumeSource): PersistentVolumeSpec
Returns a new data with gcePersistentDisk set to new value
-
def
withGlusterfs(value: GlusterfsPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with glusterfs set to new value
-
def
withHostPath(value: HostPathVolumeSource): PersistentVolumeSpec
Returns a new data with hostPath set to new value
-
def
withIscsi(value: ISCSIPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with iscsi set to new value
-
def
withLocal(value: LocalVolumeSource): PersistentVolumeSpec
Returns a new data with local set to new value
-
def
withMountOptions(value: Seq[String]): PersistentVolumeSpec
Returns a new data with mountOptions set to new value
-
def
withNfs(value: NFSVolumeSource): PersistentVolumeSpec
Returns a new data with nfs set to new value
-
def
withNodeAffinity(value: VolumeNodeAffinity): PersistentVolumeSpec
Returns a new data with nodeAffinity set to new value
-
def
withPersistentVolumeReclaimPolicy(value: String): PersistentVolumeSpec
Returns a new data with persistentVolumeReclaimPolicy set to new value
-
def
withPhotonPersistentDisk(value: PhotonPersistentDiskVolumeSource): PersistentVolumeSpec
Returns a new data with photonPersistentDisk set to new value
-
def
withPortworxVolume(value: PortworxVolumeSource): PersistentVolumeSpec
Returns a new data with portworxVolume set to new value
-
def
withQuobyte(value: QuobyteVolumeSource): PersistentVolumeSpec
Returns a new data with quobyte set to new value
-
def
withRbd(value: RBDPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with rbd set to new value
-
def
withScaleIO(value: ScaleIOPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with scaleIO set to new value
-
def
withStorageClassName(value: String): PersistentVolumeSpec
Returns a new data with storageClassName set to new value
-
def
withStorageos(value: StorageOSPersistentVolumeSource): PersistentVolumeSpec
Returns a new data with storageos set to new value
-
def
withVolumeMode(value: String): PersistentVolumeSpec
Returns a new data with volumeMode set to new value
-
def
withVsphereVolume(value: VsphereVirtualDiskVolumeSource): PersistentVolumeSpec
Returns a new data with vsphereVolume set to new value