class Pyrite::Apimachinery::Apis::Meta::V1::LabelSelectorRequirement

Overview

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

Defined in:

versions/v1.14/apimachinery/apis/meta/v1/label_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 label 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 label 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)?) #