class K8S::Api::Core::V1::NodeSelectorRequirement
- K8S::Api::Core::V1::NodeSelectorRequirement
- Reference
- Object
Overview
A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.17/api/core/v1/node_selector_requirement.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, key : String, operator : String, values : Array(String)? = nil)
Instance Method Summary
- #key : String
- #key=(key : String)
- #operator : String
- #operator=(operator : String)
- #values : Array(String)?
- #values=(values : Array(String)?)