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
 - YAML::Serializable
 
Defined in:
versions/v1.21/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? = nil)
 
Instance Method Summary
- #key : String
 - #key=(key : String)
 - #operator : String
 - #operator=(operator : String)
 - #values : Array(String)?
 - #values=(values : Array(String)?)