class Pyrite::Api::Authorization::V1::ResourceRule
Overview
ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
Defined in:
versions/v1.14/api/authorization/v1/resource_rule.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
ResourceRule is the list of actions the subject is allowed to perform on resources.
-
.new(pull : JSON::PullParser)
ResourceRule is the list of actions the subject is allowed to perform on resources.
- .new(*, api_groups : Array? = nil, resource_names : Array? = nil, resources : Array? = nil, verbs : Array)
Instance Method Summary
- #api_groups : Array(String)?
- #api_groups=(api_groups : Array(String)?)
- #resource_names : Array(String)?
- #resource_names=(resource_names : Array(String)?)
- #resources : Array(String)?
- #resources=(resources : Array(String)?)
- #verbs : Array(String)
- #verbs=(verbs : 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)
#
ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
def self.new(pull : JSON::PullParser)
#
ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
def self.new(*, api_groups : Array? = nil, resource_names : Array? = nil, resources : Array? = nil, verbs : Array)
#