struct
Kubernetes::PriorityLevelConfigurationSpec
- Kubernetes::PriorityLevelConfigurationSpec
- Struct
- Value
- Object
Overview
PriorityLevelConfigurationSpec specifies the configuration of a priority level.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_flowcontrol_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#exempt : ExemptPriorityLevelConfiguration | Nil
#exemptspecifies how requests are handled for an exempt priority level. -
#exempt=(exempt : ExemptPriorityLevelConfiguration | Nil)
#exemptspecifies how requests are handled for an exempt priority level. -
#limited : LimitedPriorityLevelConfiguration | Nil
#limitedspecifies how requests are handled for a Limited priority level. -
#limited=(limited : LimitedPriorityLevelConfiguration | Nil)
#limitedspecifies how requests are handled for a Limited priority level. -
#type : String | Nil
#typeindicates whether this priority level is subject to limitation on request execution. -
#type=(type : String | Nil)
#typeindicates whether this priority level is subject to limitation on request execution.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
#exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if #type is "Limited". This field MAY be non-empty if #type is "Exempt". If empty and #type is "Exempt" then the default values for ExemptPriorityLevelConfiguration apply.
#exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if #type is "Limited". This field MAY be non-empty if #type is "Exempt". If empty and #type is "Exempt" then the default values for ExemptPriorityLevelConfiguration apply.
#limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if #type is "Limited".
#limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if #type is "Limited".
#type indicates whether this priority level is subject to limitation on request execution. A value of "Exempt" means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of "Limited" means that (a) requests of this priority level are subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
#type indicates whether this priority level is subject to limitation on request execution. A value of "Exempt" means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of "Limited" means that (a) requests of this priority level are subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.