class K8S::Api::Flowcontrol::V1alpha1::Subject
- K8S::Api::Flowcontrol::V1alpha1::Subject
- Reference
- Object
Overview
Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.18/api/flowcontrol/v1alpha1/subject.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, kind : String, group : Api::Flowcontrol::V1alpha1::GroupSubject? = nil, service_account : Api::Flowcontrol::V1alpha1::ServiceAccountSubject? = nil, user : Api::Flowcontrol::V1alpha1::UserSubject? = nil)
Instance Method Summary
- #group : Api::Flowcontrol::V1alpha1::GroupSubject?
- #group=(group : Api::Flowcontrol::V1alpha1::GroupSubject?)
- #kind : String
- #kind=(kind : String)
- #service_account : Api::Flowcontrol::V1alpha1::ServiceAccountSubject?
- #service_account=(service_account : Api::Flowcontrol::V1alpha1::ServiceAccountSubject?)
- #user : Api::Flowcontrol::V1alpha1::UserSubject?
- #user=(user : Api::Flowcontrol::V1alpha1::UserSubject?)
Constructor Detail
def self.new(*, kind : String, group : Api::Flowcontrol::V1alpha1::GroupSubject? = nil, service_account : Api::Flowcontrol::V1alpha1::ServiceAccountSubject? = nil, user : Api::Flowcontrol::V1alpha1::UserSubject? = nil)
#
Instance Method Detail
def service_account=(service_account : Api::Flowcontrol::V1alpha1::ServiceAccountSubject?)
#