struct

Kubernetes::DeploymentCondition

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

DeploymentCondition describes the state of a deployment at a certain point.

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

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
last_update_time

The last time this condition was updated.

Source
last_update_time=(last_update_time : Time | Nil)

The last time this condition was updated.

Source
message

A human readable message indicating details about the transition.

Source
message=(message : String | Nil)

A human readable message indicating details about the transition.

Source
reason

The reason for the condition's last transition.

Source
reason=(reason : String | Nil)

The reason for the condition's last transition.

Source
status

Status of the condition, one of True, False, Unknown.

Source
status=(status : String | Nil)

Status of the condition, one of True, False, Unknown.

Source
type

Type of deployment condition.

Source
type=(type : String | Nil)

Type of deployment condition.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source