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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
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. val accessModes: Optional[Vector[String]]
  2. val awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource]
  3. val azureDisk: Optional[AzureDiskVolumeSource]
  4. val azureFile: Optional[AzureFilePersistentVolumeSource]
  5. val capacity: Optional[Map[String, Quantity]]
  6. val cephfs: Optional[CephFSPersistentVolumeSource]
  7. val cinder: Optional[CinderPersistentVolumeSource]
  8. val claimRef: Optional[ObjectReference]
  9. val csi: Optional[CSIPersistentVolumeSource]
  10. val fc: Optional[FCVolumeSource]
  11. val flexVolume: Optional[FlexPersistentVolumeSource]
  12. val flocker: Optional[FlockerVolumeSource]
  13. val gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource]
  14. 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.

  15. def getAwsElasticBlockStore: IO[K8sFailure, AWSElasticBlockStoreVolumeSource]

    Gets awsElasticBlockStore.

    Gets awsElasticBlockStore.

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

  16. def getAzureDisk: IO[K8sFailure, AzureDiskVolumeSource]

    Gets azureDisk.

    Gets azureDisk.

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

  17. def getAzureFile: IO[K8sFailure, AzureFilePersistentVolumeSource]

    Gets azureFile.

    Gets azureFile.

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

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

  19. def getCephfs: IO[K8sFailure, CephFSPersistentVolumeSource]

    Gets cephfs.

    Gets cephfs.

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

  20. def getCinder: IO[K8sFailure, CinderPersistentVolumeSource]

    Gets cinder.

    Gets cinder.

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

  21. def getClaimRef: IO[K8sFailure, ObjectReference]

    Gets claimRef.

    Gets claimRef.

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

  22. def getCsi: IO[K8sFailure, CSIPersistentVolumeSource]

    Gets csi.

    Gets csi.

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

  23. def getFc: IO[K8sFailure, FCVolumeSource]

    Gets fc.

    Gets fc.

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

  24. def getFlexVolume: IO[K8sFailure, FlexPersistentVolumeSource]

    Gets flexVolume.

    Gets flexVolume.

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

  25. def getFlocker: IO[K8sFailure, FlockerVolumeSource]

    Gets flocker.

    Gets flocker.

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

  26. def getGcePersistentDisk: IO[K8sFailure, GCEPersistentDiskVolumeSource]

    Gets gcePersistentDisk.

    Gets gcePersistentDisk.

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

  27. def getGlusterfs: IO[K8sFailure, GlusterfsPersistentVolumeSource]

    Gets glusterfs.

    Gets glusterfs.

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

  28. def getHostPath: IO[K8sFailure, HostPathVolumeSource]

    Gets hostPath.

    Gets hostPath.

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

  29. def getIscsi: IO[K8sFailure, ISCSIPersistentVolumeSource]

    Gets iscsi.

    Gets iscsi.

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

  30. def getLocal: IO[K8sFailure, LocalVolumeSource]

    Gets local.

    Gets local.

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

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

  32. def getNfs: IO[K8sFailure, NFSVolumeSource]

    Gets nfs.

    Gets nfs.

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

  33. def getNodeAffinity: IO[K8sFailure, VolumeNodeAffinity]

    Gets nodeAffinity.

    Gets nodeAffinity.

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

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

  35. def getPhotonPersistentDisk: IO[K8sFailure, PhotonPersistentDiskVolumeSource]

    Gets photonPersistentDisk.

    Gets photonPersistentDisk.

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

  36. def getPortworxVolume: IO[K8sFailure, PortworxVolumeSource]

    Gets portworxVolume.

    Gets portworxVolume.

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

  37. def getQuobyte: IO[K8sFailure, QuobyteVolumeSource]

    Gets quobyte.

    Gets quobyte.

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

  38. def getRbd: IO[K8sFailure, RBDPersistentVolumeSource]

    Gets rbd.

    Gets rbd.

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

  39. def getScaleIO: IO[K8sFailure, ScaleIOPersistentVolumeSource]

    Gets scaleIO.

    Gets scaleIO.

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

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

  41. def getStorageos: IO[K8sFailure, StorageOSPersistentVolumeSource]

    Gets storageos.

    Gets storageos.

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

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

  43. def getVsphereVolume: IO[K8sFailure, VsphereVirtualDiskVolumeSource]

    Gets vsphereVolume.

    Gets vsphereVolume.

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

  44. val glusterfs: Optional[GlusterfsPersistentVolumeSource]
  45. val hostPath: Optional[HostPathVolumeSource]
  46. val iscsi: Optional[ISCSIPersistentVolumeSource]
  47. val local: Optional[LocalVolumeSource]
  48. val mountOptions: Optional[Vector[String]]
  49. val nfs: Optional[NFSVolumeSource]
  50. val nodeAffinity: Optional[VolumeNodeAffinity]
  51. val persistentVolumeReclaimPolicy: Optional[String]
  52. val photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource]
  53. val portworxVolume: Optional[PortworxVolumeSource]
  54. val quobyte: Optional[QuobyteVolumeSource]
  55. val rbd: Optional[RBDPersistentVolumeSource]
  56. val scaleIO: Optional[ScaleIOPersistentVolumeSource]
  57. val storageClassName: Optional[String]
  58. val storageos: Optional[StorageOSPersistentVolumeSource]
  59. val volumeMode: Optional[String]
  60. val vsphereVolume: Optional[VsphereVirtualDiskVolumeSource]