class K8S::Apimachinery::Apis::Meta::V1::LabelSelectorRequirement
- K8S::Apimachinery::Apis::Meta::V1::LabelSelectorRequirement
- Reference
- Object
Overview
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/apimachinery/apis/meta/v1/label_selector_requirement.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, key : String, operator : String, values : Array(String)? = nil)
Instance Method Summary
- #key : String
- #key=(key : String)
- #operator : String
- #operator=(operator : String)
- #values : Array(String)?
- #values=(values : Array(String)?)