class Pyrite::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.
Defined in:
versions/v1.14/api/core/v1/scoped_resource_selector_requirement.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
-
.new(pull : JSON::PullParser)
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
- .new(*, operator : String, scope_name : String, values : Array? = nil)
Instance Method Summary
- #operator : String
- #operator=(operator : String)
- #scope_name : String
- #scope_name=(scope_name : 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 scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
def self.new(pull : JSON::PullParser)
#
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.