struct

Kubernetes::DisruptionMode

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

DisruptionMode defines how individual entities within a group can be disrupted. Exactly one mode can be set.

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

all

All specifies that all children can only be disrupted together.

Source
all=(all : AllDisruptionMode | Nil)

All specifies that all children can only be disrupted together.

Source
single

Single specifies that children can be disrupted independently from each other.

Source
single=(single : SingleDisruptionMode | Nil)

Single specifies that children can be disrupted independently from each other.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source