class K8S::Api::Rbac::V1::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.

Included Modules

Defined in:

versions/v1.20/api/rbac/v1/policy_rule.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, verbs : Array, api_groups : Array? = nil, non_resource_urls : Array? = nil, resource_names : Array? = nil, resources : Array? = nil) #

[View source]

Instance Method Detail

def api_groups : Array(String)? #

[View source]
def api_groups=(api_groups : Array(String)?) #

[View source]
def non_resource_urls : Array(String)? #

[View source]
def non_resource_urls=(non_resource_urls : Array(String)?) #

[View source]
def resource_names : Array(String)? #

[View source]
def resource_names=(resource_names : Array(String)?) #

[View source]
def resources : Array(String)? #

[View source]
def resources=(resources : Array(String)?) #

[View source]
def verbs : Array(String) #

[View source]
def verbs=(verbs : Array(String)) #

[View source]