struct

Kubernetes::HorizontalPodAutoscalerCondition

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

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler 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

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

Source
last_transition_time=(last_transition_time : Time | Nil)

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

Source
message

message is a human-readable explanation containing details about the transition

Source
message=(message : String | Nil)

message is a human-readable explanation containing details about the 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 the reason for the condition's last transition.

Source
reason=(reason : String | Nil)

reason is the reason for the condition's last transition.

Source
status

status is the status of the condition (True, False, Unknown)

Source
status=(status : String | Nil)

status is the status of the condition (True, False, Unknown)

Source
type

type describes the current condition

Source
type=(type : String | Nil)

type describes the current condition

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source