Struct k8s_openapi::api::core::v1::PodCondition
source · [−]pub struct PodCondition {
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
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.
reason: Option<String>
Unique, one-word, CamelCase reason for the condition’s last transition.
status: String
Status 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_: String
Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
Possible enum values:
"ContainersReady"
indicates whether all containers in the pod are ready."Initialized"
means that all init containers in the pod have started successfully."PodScheduled"
represents status of the scheduling process for this pod."Ready"
means the pod is able to service requests and should be added to the load balancing pools of all matching services.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PodCondition
impl Send for PodCondition
impl Sync for PodCondition
impl Unpin for PodCondition
impl UnwindSafe for PodCondition
Blanket Implementations
Mutably borrows from an owned value. Read more