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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.