class K8S::Api::Authorization::V1::SubjectAccessReviewSpec

Overview

SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

Included Modules

Defined in:

versions/v1.21/api/authorization/v1/subject_access_review_spec.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(*, extra : Hash(String, Array(String))? = nil, groups : Array(String)? = nil, non_resource_attributes : Api::Authorization::V1::NonResourceAttributes? = nil, resource_attributes : Api::Authorization::V1::ResourceAttributes? = nil, uid : String? = nil, user : String? = nil) #

[View source]

Instance Method Detail

def extra : Hash(String, Array(String))? #

[View source]
def extra=(extra : Hash(String, Array(String))?) #

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

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

[View source]
def non_resource_attributes : Api::Authorization::V1::NonResourceAttributes? #

[View source]
def non_resource_attributes=(non_resource_attributes : Api::Authorization::V1::NonResourceAttributes?) #

[View source]
def resource_attributes : Api::Authorization::V1::ResourceAttributes? #

[View source]
def resource_attributes=(resource_attributes : Api::Authorization::V1::ResourceAttributes?) #

[View source]
def uid : String? #

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

[View source]
def user : String? #

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

[View source]