class K8S::Api::Core::V1::NodeSelectorTerm
- K8S::Api::Core::V1::NodeSelectorTerm
- Reference
- Object
Overview
A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/core/v1/node_selector_term.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)? = nil, match_fields : Array(Api::Core::V1::NodeSelectorRequirement)? = nil)
Instance Method Summary
- #match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)?
- #match_expressions=(match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)?)
- #match_fields : Array(Api::Core::V1::NodeSelectorRequirement)?
- #match_fields=(match_fields : Array(Api::Core::V1::NodeSelectorRequirement)?)
Constructor Detail
def self.new(*, match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)? = nil, match_fields : Array(Api::Core::V1::NodeSelectorRequirement)? = nil)
#
Instance Method Detail
def match_expressions=(match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)?)
#