Packages

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentVolumeSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accessModes: Optional[Vector[String]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource]
  7. val azureDisk: Optional[AzureDiskVolumeSource]
  8. val azureFile: Optional[AzureFilePersistentVolumeSource]
  9. val capacity: Optional[Map[String, Quantity]]
  10. val cephfs: Optional[CephFSPersistentVolumeSource]
  11. val cinder: Optional[CinderPersistentVolumeSource]
  12. val claimRef: Optional[ObjectReference]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  14. val csi: Optional[CSIPersistentVolumeSource]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val fc: Optional[FCVolumeSource]
  17. val flexVolume: Optional[FlexPersistentVolumeSource]
  18. val flocker: Optional[FlockerVolumeSource]
  19. val gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource]
  20. 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.

  21. def getAwsElasticBlockStore: IO[K8sFailure, AWSElasticBlockStoreVolumeSource]

    Gets awsElasticBlockStore.

    Gets awsElasticBlockStore.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  22. def getAzureDisk: IO[K8sFailure, AzureDiskVolumeSource]

    Gets azureDisk.

    Gets azureDisk.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  23. def getAzureFile: IO[K8sFailure, AzureFilePersistentVolumeSource]

    Gets azureFile.

    Gets azureFile.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  24. 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.

  25. def getCephfs: IO[K8sFailure, CephFSPersistentVolumeSource]

    Gets cephfs.

    Gets cephfs.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  26. def getCinder: IO[K8sFailure, CinderPersistentVolumeSource]

    Gets cinder.

    Gets cinder.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  27. def getClaimRef: IO[K8sFailure, ObjectReference]

    Gets claimRef.

    Gets claimRef.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def getCsi: IO[K8sFailure, CSIPersistentVolumeSource]

    Gets csi.

    Gets csi.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  30. def getFc: IO[K8sFailure, FCVolumeSource]

    Gets fc.

    Gets fc.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  31. def getFlexVolume: IO[K8sFailure, FlexPersistentVolumeSource]

    Gets flexVolume.

    Gets flexVolume.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  32. def getFlocker: IO[K8sFailure, FlockerVolumeSource]

    Gets flocker.

    Gets flocker.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  33. def getGcePersistentDisk: IO[K8sFailure, GCEPersistentDiskVolumeSource]

    Gets gcePersistentDisk.

    Gets gcePersistentDisk.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  34. def getGlusterfs: IO[K8sFailure, GlusterfsPersistentVolumeSource]

    Gets glusterfs.

    Gets glusterfs.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  35. def getHostPath: IO[K8sFailure, HostPathVolumeSource]

    Gets hostPath.

    Gets hostPath.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  36. def getIscsi: IO[K8sFailure, ISCSIPersistentVolumeSource]

    Gets iscsi.

    Gets iscsi.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  37. def getLocal: IO[K8sFailure, LocalVolumeSource]

    Gets local.

    Gets local.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  38. 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.

  39. def getNfs: IO[K8sFailure, NFSVolumeSource]

    Gets nfs.

    Gets nfs.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  40. def getNodeAffinity: IO[K8sFailure, VolumeNodeAffinity]

    Gets nodeAffinity.

    Gets nodeAffinity.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  41. 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.

  42. def getPhotonPersistentDisk: IO[K8sFailure, PhotonPersistentDiskVolumeSource]

    Gets photonPersistentDisk.

    Gets photonPersistentDisk.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  43. def getPortworxVolume: IO[K8sFailure, PortworxVolumeSource]

    Gets portworxVolume.

    Gets portworxVolume.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  44. def getQuobyte: IO[K8sFailure, QuobyteVolumeSource]

    Gets quobyte.

    Gets quobyte.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  45. def getRbd: IO[K8sFailure, RBDPersistentVolumeSource]

    Gets rbd.

    Gets rbd.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  46. def getScaleIO: IO[K8sFailure, ScaleIOPersistentVolumeSource]

    Gets scaleIO.

    Gets scaleIO.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  47. 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.

  48. def getStorageos: IO[K8sFailure, StorageOSPersistentVolumeSource]

    Gets storageos.

    Gets storageos.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  49. 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.

  50. def getVsphereVolume: IO[K8sFailure, VsphereVirtualDiskVolumeSource]

    Gets vsphereVolume.

    Gets vsphereVolume.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  51. val glusterfs: Optional[GlusterfsPersistentVolumeSource]
  52. val hostPath: Optional[HostPathVolumeSource]
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. val iscsi: Optional[ISCSIPersistentVolumeSource]
  55. val local: Optional[LocalVolumeSource]
  56. val mountOptions: Optional[Vector[String]]
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. val nfs: Optional[NFSVolumeSource]
  59. val nodeAffinity: Optional[VolumeNodeAffinity]
  60. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  61. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  62. val persistentVolumeReclaimPolicy: Optional[String]
  63. val photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource]
  64. val portworxVolume: Optional[PortworxVolumeSource]
  65. val quobyte: Optional[QuobyteVolumeSource]
  66. val rbd: Optional[RBDPersistentVolumeSource]
  67. val scaleIO: Optional[ScaleIOPersistentVolumeSource]
  68. val storageClassName: Optional[String]
  69. val storageos: Optional[StorageOSPersistentVolumeSource]
  70. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  71. val volumeMode: Optional[String]
  72. val vsphereVolume: Optional[VsphereVirtualDiskVolumeSource]
  73. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  75. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped