Packages

case class PersistentVolumeClaimSpec(accessModes: Optional[Vector[String]] = Optional.Absent, dataSource: Optional[TypedLocalObjectReference] = Optional.Absent, dataSourceRef: Optional[TypedLocalObjectReference] = Optional.Absent, resources: Optional[ResourceRequirements] = Optional.Absent, selector: Optional[LabelSelector] = Optional.Absent, storageClassName: Optional[String] = Optional.Absent, volumeMode: Optional[String] = Optional.Absent, volumeName: Optional[String] = Optional.Absent) extends Product with Serializable

PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

accessModes

AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

storageClassName

Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

volumeMode

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.

volumeName

VolumeName is the binding reference to the PersistentVolume backing this claim.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentVolumeClaimSpec
  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 PersistentVolumeClaimSpec(accessModes: Optional[Vector[String]] = Optional.Absent, dataSource: Optional[TypedLocalObjectReference] = Optional.Absent, dataSourceRef: Optional[TypedLocalObjectReference] = Optional.Absent, resources: Optional[ResourceRequirements] = Optional.Absent, selector: Optional[LabelSelector] = Optional.Absent, storageClassName: Optional[String] = Optional.Absent, volumeMode: Optional[String] = Optional.Absent, volumeName: Optional[String] = Optional.Absent)

    accessModes

    AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

    storageClassName

    Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

    volumeMode

    volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.

    volumeName

    VolumeName is the binding reference to the PersistentVolume backing this claim.

Value Members

  1. val accessModes: Optional[Vector[String]]
  2. val dataSource: Optional[TypedLocalObjectReference]
  3. val dataSourceRef: Optional[TypedLocalObjectReference]
  4. def getAccessModes: IO[K8sFailure, Vector[String]]

    AccessModes contains the desired access modes the volume should have.

    AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

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

  5. def getDataSource: IO[K8sFailure, TypedLocalObjectReference]

    Gets dataSource.

    Gets dataSource.

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

  6. def getDataSourceRef: IO[K8sFailure, TypedLocalObjectReference]

    Gets dataSourceRef.

    Gets dataSourceRef.

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

  7. def getResources: IO[K8sFailure, ResourceRequirements]

    Gets resources.

    Gets resources.

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

  8. def getSelector: IO[K8sFailure, LabelSelector]

    Gets selector.

    Gets selector.

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

  9. def getStorageClassName: IO[K8sFailure, String]

    Name of the StorageClass required by the claim.

    Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

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

  10. def getVolumeMode: IO[K8sFailure, String]

    volumeMode defines what type of volume is required by the claim.

    volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.

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

  11. def getVolumeName: IO[K8sFailure, String]

    VolumeName is the binding reference to the PersistentVolume backing this claim.

    VolumeName is the binding reference to the PersistentVolume backing this claim.

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

  12. val resources: Optional[ResourceRequirements]
  13. val selector: Optional[LabelSelector]
  14. val storageClassName: Optional[String]
  15. val volumeMode: Optional[String]
  16. val volumeName: Optional[String]