class K8S::Api::Rbac::V1alpha1::Subject
- K8S::Api::Rbac::V1alpha1::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
- YAML::Serializable
Defined in:
versions/v1.22/api/rbac/v1alpha1/subject.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, kind : String, name : String, api_version : String? = nil, namespace : String? = nil)
Instance Method Summary
- #api_version : String?
- #api_version=(api_version : 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_version : String? = nil, namespace : String? = nil)
#