class Pyrite::Api::Rbac::V1beta1::PolicyRule
Overview
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
Defined in:
versions/v1.14/api/rbac/v1beta1/policy_rule.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
-
.new(pull : JSON::PullParser)
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
- .new(*, api_groups : Array? = nil, non_resource_urls : Array? = nil, resource_names : Array? = nil, resources : Array? = nil, verbs : Array)
Instance Method Summary
- #api_groups : Array(String)?
- #api_groups=(api_groups : Array(String)?)
- #non_resource_urls : Array(String)?
- #non_resource_urls=(non_resource_urls : 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
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.