class K8S::Api::Core::V1::TopologySelectorTerm
- K8S::Api::Core::V1::TopologySelectorTerm
- Reference
- Object
Overview
A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/topology_selector_term.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)? = nil)
Instance Method Summary
- #match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)?
- #match_label_expressions=(match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)?)
Constructor Detail
def self.new(*, match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)? = nil)
#
Instance Method Detail
def match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)?
#
def match_label_expressions=(match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)?)
#