pub struct PersistentVolumeClaimCondition {
pub last_probe_time: Option<Time>,
pub last_transition_time: Option<Time>,
pub message: Option<String>,
pub reason: Option<String>,
pub status: String,
pub type_: String,
}
Expand description
PersistentVolumeClaimCondition contains details about state of pvc
Fields§
§last_probe_time: Option<Time>
lastProbeTime is the time we probed the condition.
last_transition_time: Option<Time>
lastTransitionTime is the time the condition transitioned from one status to another.
message: Option<String>
message is the human-readable message indicating details about last transition.
reason: Option<String>
reason is a unique, this should be a short, machine understandable string that gives the reason for condition’s last transition. If it reports “Resizing” that means the underlying persistent volume is being resized.
status: String
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
type_: String
Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
Trait Implementations§
Source§impl Clone for PersistentVolumeClaimCondition
impl Clone for PersistentVolumeClaimCondition
Source§fn clone(&self) -> PersistentVolumeClaimCondition
fn clone(&self) -> PersistentVolumeClaimCondition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl DeepMerge for PersistentVolumeClaimCondition
impl DeepMerge for PersistentVolumeClaimCondition
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.Source§impl Default for PersistentVolumeClaimCondition
impl Default for PersistentVolumeClaimCondition
Source§fn default() -> PersistentVolumeClaimCondition
fn default() -> PersistentVolumeClaimCondition
Source§impl<'de> Deserialize<'de> for PersistentVolumeClaimCondition
impl<'de> Deserialize<'de> for PersistentVolumeClaimCondition
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl PartialEq for PersistentVolumeClaimCondition
impl PartialEq for PersistentVolumeClaimCondition
Source§fn eq(&self, other: &PersistentVolumeClaimCondition) -> bool
fn eq(&self, other: &PersistentVolumeClaimCondition) -> bool
self
and other
values to be equal, and is used by ==
.