com.coralogix.zio.k8s.model.core.v1
PersistentVolumeClaimStatus
Companion object PersistentVolumeClaimStatus
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.
- Alphabetic
- By Inheritance
- PersistentVolumeClaimStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accessModes: Optional[Vector[String]]
- val allocatedResources: Optional[Map[String, Quantity]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val capacity: Optional[Map[String, Quantity]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val conditions: Optional[Vector[PersistentVolumeClaimCondition]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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.
-
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.
-
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.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
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.
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val phase: Optional[String]
- val resizeStatus: Optional[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated