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
- YAML::Serializable
Defined in:
versions/v1.18/api/core/v1/node_selector_term.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, match_expressions : Array? = nil, match_fields : Array? = 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
Instance Method Detail
def match_expressions=(match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)?)
#