class K8S::Api::Core::V1::ScopedResourceSelectorRequirement

Overview

A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.

Included Modules

Defined in:

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

[View source]

Instance Method Detail

def operator : String #

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

[View source]
def scope_name : String #

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

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

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

[View source]