class Pyrite::Api::Core::V1::TopologySelectorLabelRequirement

Overview

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

Defined in:

versions/v1.14/api/core/v1/topology_selector_label_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 topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.


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

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.


def self.new(*, key : String, values : Array) #

Instance Method Detail

def key : String #

def key=(key : String) #

def values : Array(String) #

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