class K8S::Api::Rbac::V1::Subject
- K8S::Api::Rbac::V1::Subject
- Reference
- Object
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.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.18/api/rbac/v1/subject.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, kind : String, name : String, api_group : String? = nil, namespace : String? = nil)
Instance Method Summary
- #api_group : String?
- #api_group=(api_group : String?)
- #kind : String
- #kind=(kind : String)
- #name : String
- #name=(name : String)
- #namespace : String?
- #namespace=(namespace : String?)
Constructor Detail
def self.new(*, kind : String, name : String, api_group : String? = nil, namespace : String? = nil)
#