pub struct PodCondition {
pub last_probe_time: Option<Time>,
pub last_transition_time: Option<Time>,
pub message: Option<String>,
pub observed_generation: Option<i64>,
pub reason: Option<String>,
pub status: String,
pub type_: String,
}Expand description
PodCondition contains details for the current condition of this pod.
Fields§
§last_probe_time: Option<Time>Last time we probed the condition.
last_transition_time: Option<Time>Last time the condition transitioned from one status to another.
message: Option<String>Human-readable message indicating details about last transition.
observed_generation: Option<i64>If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
reason: Option<String>Unique, one-word, CamelCase reason for the condition’s last transition.
status: StringStatus is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
type_: StringType is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
Trait Implementations§
Source§impl Clone for PodCondition
impl Clone for PodCondition
Source§fn clone(&self) -> PodCondition
fn clone(&self) -> PodCondition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PodCondition
impl Debug for PodCondition
Source§impl DeepMerge for PodCondition
impl DeepMerge for PodCondition
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other into self.