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

Included Modules

Defined in:

versions/v1.15/apimachinery/apis/meta/v1/label_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(String)? = 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]