struct

Kubernetes::PodFailurePolicyOnPodConditionsPattern

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

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

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

status

Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.

Source
status=(status : String | Nil)

Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.

Source
type

Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.

Source
type=(type : String | Nil)

Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source