class Pyrite::Api::Core::V1::NodeSelectorTerm
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.
Defined in:
versions/v1.14/api/core/v1/node_selector_term.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
A null or empty node selector term matches no objects.
-
.new(pull : JSON::PullParser)
A null or empty node selector term matches no objects.
- .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 methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
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.
def self.new(pull : JSON::PullParser)
#
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.