class Pyrite::Apimachinery::Apis::Meta::V1::LabelSelectorRequirement
- Pyrite::Apimachinery::Apis::Meta::V1::LabelSelectorRequirement
- Pyrite::Kubernetes::Spec
- Reference
- Object
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.crConstructors
-
.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.
-
.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.
- .new(*, key : String, operator : String, values : Array? = nil)
Instance Method Summary
- #key : String
- #key=(key : String)
- #operator : String
- #operator=(operator : String)
- #values : Array(String)?
- #values=(values : Array(String)?)
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.