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.cr

Constructors

Instance Method Summary

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.


def self.new(*, match_expressions : Array? = nil, match_fields : Array? = nil) #

Instance Method Detail

def match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)? #

def match_expressions=(match_expressions : Array(Api::Core::V1::NodeSelectorRequirement)?) #

def match_fields : Array(Api::Core::V1::NodeSelectorRequirement)? #

def match_fields=(match_fields : Array(Api::Core::V1::NodeSelectorRequirement)?) #