struct
Kubernetes::DeviceTaintRuleSpec
- Kubernetes::DeviceTaintRuleSpec
- Struct
- Value
- Object
Overview
DeviceTaintRuleSpec specifies the selector and one taint.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_resource_v1alpha3.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
-
#device_selector : DeviceTaintSelector | Nil
DeviceSelector defines which device(s) the taint is applied to.
-
#device_selector=(device_selector : DeviceTaintSelector | Nil)
DeviceSelector defines which device(s) the taint is applied to.
-
#taint : DeviceTaint | Nil
The taint that gets applied to matching devices.
-
#taint=(taint : DeviceTaint | Nil)
The taint that gets applied to matching devices.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.