struct

Kubernetes::PodSchedulingGate

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

PodSchedulingGate is associated to a Pod to guard its scheduling.

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

name

Name of the scheduling gate. Each scheduling gate must have a unique name field.

Source
name=(name : String | Nil)

Name of the scheduling gate. Each scheduling gate must have a unique name field.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source