Packages

case class PersistentVolumeClaimStatus(accessModes: Optional[Vector[String]] = Optional.Absent, allocatedResources: Optional[Map[String, Quantity]] = Optional.Absent, capacity: Optional[Map[String, Quantity]] = Optional.Absent, conditions: Optional[Vector[PersistentVolumeClaimCondition]] = Optional.Absent, phase: Optional[String] = Optional.Absent, resizeStatus: Optional[String] = Optional.Absent) extends Product with Serializable

PersistentVolumeClaimStatus is the current status of a persistent volume claim.

accessModes

AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

allocatedResources

The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

capacity

Represents the actual resources of the underlying volume.

conditions

Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.

phase

Phase represents the current phase of PersistentVolumeClaim.

resizeStatus

ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentVolumeClaimStatus
  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 PersistentVolumeClaimStatus(accessModes: Optional[Vector[String]] = Optional.Absent, allocatedResources: Optional[Map[String, Quantity]] = Optional.Absent, capacity: Optional[Map[String, Quantity]] = Optional.Absent, conditions: Optional[Vector[PersistentVolumeClaimCondition]] = Optional.Absent, phase: Optional[String] = Optional.Absent, resizeStatus: Optional[String] = Optional.Absent)

    accessModes

    AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

    allocatedResources

    The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

    capacity

    Represents the actual resources of the underlying volume.

    conditions

    Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.

    phase

    Phase represents the current phase of PersistentVolumeClaim.

    resizeStatus

    ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

Value Members

  1. val accessModes: Optional[Vector[String]]
  2. val allocatedResources: Optional[Map[String, Quantity]]
  3. val capacity: Optional[Map[String, Quantity]]
  4. val conditions: Optional[Vector[PersistentVolumeClaimCondition]]
  5. def getAccessModes: IO[K8sFailure, Vector[String]]

    AccessModes contains the actual access modes the volume backing the PVC has.

    AccessModes contains the actual access modes the volume backing the PVC has. 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.

  6. def getAllocatedResources: IO[K8sFailure, Map[String, Quantity]]

    The storage resource within AllocatedResources tracks the capacity allocated to a PVC.

    The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

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

  7. def getCapacity: IO[K8sFailure, Map[String, Quantity]]

    Represents the actual resources of the underlying volume.

    Represents the actual resources of the underlying volume.

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

  8. def getConditions: IO[K8sFailure, Vector[PersistentVolumeClaimCondition]]

    Current Condition of persistent volume claim.

    Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.

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

  9. def getPhase: IO[K8sFailure, String]

    Phase represents the current phase of PersistentVolumeClaim.

    Phase represents the current phase of PersistentVolumeClaim.

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

  10. def getResizeStatus: IO[K8sFailure, String]

    ResizeStatus stores status of resize operation.

    ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.

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

  11. val phase: Optional[String]
  12. val resizeStatus: Optional[String]