class Pyrite::Api::Authorization::V1beta1::SubjectAccessReviewSpec

Overview

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

Defined in:

versions/v1.14/api/authorization/v1beta1/subject_access_review_spec.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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


def self.new(pull : JSON::PullParser) #

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


def self.new(*, extra : Hash(String, String)? = nil, group : Array? = nil, non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes? = nil, resource_attributes : Api::Authorization::V1beta1::ResourceAttributes? = nil, uid : String? = nil, user : String? = nil) #

Instance Method Detail

def extra : Hash(String, String)? #

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

def group : Array(String)? #

def group=(group : Array(String)?) #

def non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes? #

def non_resource_attributes=(non_resource_attributes : Api::Authorization::V1beta1::NonResourceAttributes?) #


def resource_attributes=(resource_attributes : Api::Authorization::V1beta1::ResourceAttributes?) #

def uid : String? #

def uid=(uid : String?) #

def user : String? #

def user=(user : String?) #