struct

Kubernetes::PodCondition

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

PodCondition contains details for the current condition of this pod.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

last_probe_time

Last time we probed the condition.

Source
last_probe_time=(last_probe_time : Time | Nil)

Last time we probed the condition.

Source
last_transition_time

Last time the condition transitioned from one status to another.

Source
last_transition_time=(last_transition_time : Time | Nil)

Last time the condition transitioned from one status to another.

Source
message

Human-readable message indicating details about last transition.

Source
message=(message : String | Nil)

Human-readable message indicating details about last transition.

Source
observed_generation

If set, this represents the .metadata.generation that the pod condition was set based upon.

Source
observed_generation=(observed_generation : Int64 | Nil)

If set, this represents the .metadata.generation that the pod condition was set based upon.

Source
reason

Unique, one-word, CamelCase reason for the condition's last transition.

Source
reason=(reason : String | Nil)

Unique, one-word, CamelCase reason for the condition's last transition.

Source
status

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

Source
status=(status : String | Nil)

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

Source
type

Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

Source
type=(type : String | Nil)

Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source