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.15/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(String), api_groups : Array(String)? = nil, non_resource_urls : Array(String)? = nil, resource_names : Array(String)? = nil, resources : Array(String)? = 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]