class K8S::Api::Core::V1::NodeSelectorRequirement

Overview

A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

Included Modules

Defined in:

versions/v1.23/api/core/v1/node_selector_requirement.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(*, key : String, operator : String, values : Array? = nil) #

[View source]

Instance Method Detail

def key : String #

[View source]
def key=(key : String) #

[View source]
def operator : String #

[View source]
def operator=(operator : String) #

[View source]
def values : Array(String)? #

[View source]
def values=(values : Array(String)?) #

[View source]