class K8S::Api::Core::V1::TopologySelectorTerm

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

Defined in:

versions/v1.21/api/core/v1/topology_selector_term.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, match_label_expressions : Array? = nil) #

[View source]

Instance Method Detail

def match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)? #

[View source]
def match_label_expressions=(match_label_expressions : Array(Api::Core::V1::TopologySelectorLabelRequirement)?) #

[View source]