pub struct PersistentVolumeClaimCondition {
pub type: Option<String>,
pub status: Option<String>,
pub last_probe_time: Option<Time>,
pub last_transition_time: Option<Time>,
pub reason: Option<String>,
pub message: Option<String>,
}
Expand description
PersistentVolumeClaimCondition contains details about state of pvc
Fields§
§type: Option<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
status: Option<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
last_probe_time: Option<Time>
lastProbeTime is the time we probed the condition. +optional
last_transition_time: Option<Time>
lastTransitionTime is the time the condition transitioned from one status to another. +optional
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. +optional
message: Option<String>
message is the human-readable message indicating details about last transition. +optional
Implementations§
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 Message for PersistentVolumeClaimCondition
impl Message for PersistentVolumeClaimCondition
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.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 ==
.