Packages

case class PersistentVolumeClaimVolumeSource(claimName: String, readOnly: Optional[Boolean] = Optional.Absent) extends Product with Serializable

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

claimName

ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

readOnly

Will force the ReadOnly setting in VolumeMounts. Default false.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentVolumeClaimVolumeSource
  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 PersistentVolumeClaimVolumeSource(claimName: String, readOnly: Optional[Boolean] = Optional.Absent)

    claimName

    ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

    readOnly

    Will force the ReadOnly setting in VolumeMounts. Default false.

Value Members

  1. val claimName: String
  2. def getClaimName: IO[K8sFailure, String]

    ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.

    ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

    This effect always succeeds, it is safe to use the field claimName directly.

  3. def getReadOnly: IO[K8sFailure, Boolean]

    Will force the ReadOnly setting in VolumeMounts.

    Will force the ReadOnly setting in VolumeMounts. Default false.

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

  4. val readOnly: Optional[Boolean]