struct

Kubernetes::CustomResourceDefinitionCondition

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

CustomResourceDefinitionCondition 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_transition_time

lastTransitionTime last time the condition transitioned from one status to another.

Source
last_transition_time=(last_transition_time : Time | Nil)

lastTransitionTime last time the condition transitioned from one status to another.

Source
message

message is a human-readable message indicating details about last transition.

Source
message=(message : String | Nil)

message is a human-readable message indicating details about last transition.

Source
observed_generation

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

Source
observed_generation=(observed_generation : Int64 | Nil)

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

Source
reason

reason is a unique, one-word, CamelCase reason for the condition's last transition.

Source
reason=(reason : String | Nil)

reason is a 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.

Source
status=(status : String | Nil)

status is the status of the condition. Can be True, False, Unknown.

Source
type

type is the type of the condition. Types include Established, NamesAccepted and Terminating.

Source
type=(type : String | Nil)

type is the type of the condition. Types include Established, NamesAccepted and Terminating.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source