class Pyrite::Api::Rbac::V1beta1::Subject

Overview

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

Defined in:

versions/v1.14/api/rbac/v1beta1/subject.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) #

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.


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

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.


def self.new(*, api_group : String? = nil, kind : String, name : String, namespace : String? = nil) #

Instance Method Detail

def api_group : String? #

def api_group=(api_group : String?) #

def kind : String #

def kind=(kind : String) #

def name : String #

def name=(name : String) #

def namespace : String? #

def namespace=(namespace : String?) #