PersistentVolumeClaimSpec

case
class PersistentVolumeClaimSpec(accessModes: Optional[Vector[String]], dataSource: Optional[TypedLocalObjectReference], dataSourceRef: Optional[TypedLocalObjectReference], resources: Optional[ResourceRequirements], selector: Optional[LabelSelector], storageClassName: Optional[String], volumeMode: Optional[String], volumeName: Optional[String])

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

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getAccessModes: IO[K8sFailure, Vector[String]]

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

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.

Gets dataSource.

Gets dataSource.

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

Gets dataSourceRef.

Gets dataSourceRef.

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

Gets resources.

Gets resources.

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

Gets selector.

Gets selector.

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

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

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.

def getVolumeMode: IO[K8sFailure, String]

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

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.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product