Kubernetes::LimitResponse
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
LimitResponse defines how to handle requests that can not be executed right now.
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
queuing
queuing holds the configuration parameters for queuing. This field may be non-empty only if type is "Queue".
queuing=(queuing : QueuingConfiguration | Nil)
queuing holds the configuration parameters for queuing. This field may be non-empty only if type is "Queue".
type
type is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion