class Pyrite::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.

Defined in:

versions/v1.14/api/core/v1/node_selector_requirement.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 requirement is a selector that contains values, a key, and an operator that relates the key and values.


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

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


def self.new(*, key : String, operator : String, values : Array? = nil) #

Instance Method Detail

def key : String #

def key=(key : String) #

def operator : String #

def operator=(operator : String) #

def values : Array(String)? #

def values=(values : Array(String)?) #