com.coralogix.zio.k8s.model.core.v1
PersistentVolumeStatus
Companion object PersistentVolumeStatus
case class PersistentVolumeStatus(message: Optional[String] = Optional.Absent, phase: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent) extends Product with Serializable
PersistentVolumeStatus is the current status of a persistent volume.
- message
A human-readable message indicating details about why the volume is in this state.
- phase
Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
- reason
Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
- Alphabetic
- By Inheritance
- PersistentVolumeStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PersistentVolumeStatus(message: Optional[String] = Optional.Absent, phase: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent)
- message
A human-readable message indicating details about why the volume is in this state.
- phase
Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
- reason
Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
Value Members
-
def
getMessage: IO[K8sFailure, String]
A human-readable message indicating details about why the volume is in this state.
A human-readable message indicating details about why the volume is in this state.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPhase: IO[K8sFailure, String]
Phase indicates if a volume is available, bound to a claim, or released by a claim.
Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReason: IO[K8sFailure, String]
Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val message: Optional[String]
- val phase: Optional[String]
- val reason: Optional[String]