class K8S::Api::Rbac::V1::PolicyRule
- K8S::Api::Rbac::V1::PolicyRule
- Reference
- Object
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.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/rbac/v1/policy_rule.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, verbs : Array(String), api_groups : Array(String)? = nil, non_resource_urls : Array(String)? = nil, resource_names : Array(String)? = nil, resources : Array(String)? = nil)
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 Detail
def self.new(*, verbs : Array(String), api_groups : Array(String)? = nil, non_resource_urls : Array(String)? = nil, resource_names : Array(String)? = nil, resources : Array(String)? = nil)
#