class Pyrite::Api::Core::V1::NodeSelector

Overview

A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.

Defined in:

versions/v1.14/api/core/v1/node_selector.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 node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.


def self.new(pull : JSON::PullParser) #

A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.


def self.new(*, node_selector_terms : Array) #

Instance Method Detail

def node_selector_terms : Array(Api::Core::V1::NodeSelectorTerm) #

def node_selector_terms=(node_selector_terms : Array(Api::Core::V1::NodeSelectorTerm)) #