class K8S::Api::Flowcontrol::V1beta1::Subject
- K8S::Api::Flowcontrol::V1beta1::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
- YAML::Serializable
Defined in:
versions/v1.21/api/flowcontrol/v1beta1/subject.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, kind : String, group : Api::Flowcontrol::V1beta1::GroupSubject? = nil, service_account : Api::Flowcontrol::V1beta1::ServiceAccountSubject? = nil, user : Api::Flowcontrol::V1beta1::UserSubject? = nil)
Instance Method Summary
- #group : Api::Flowcontrol::V1beta1::GroupSubject?
- #group=(group : Api::Flowcontrol::V1beta1::GroupSubject?)
- #kind : String
- #kind=(kind : String)
- #service_account : Api::Flowcontrol::V1beta1::ServiceAccountSubject?
- #service_account=(service_account : Api::Flowcontrol::V1beta1::ServiceAccountSubject?)
- #user : Api::Flowcontrol::V1beta1::UserSubject?
- #user=(user : Api::Flowcontrol::V1beta1::UserSubject?)
Constructor Detail
def self.new(*, kind : String, group : Api::Flowcontrol::V1beta1::GroupSubject? = nil, service_account : Api::Flowcontrol::V1beta1::ServiceAccountSubject? = nil, user : Api::Flowcontrol::V1beta1::UserSubject? = nil)
#
Instance Method Detail
def service_account=(service_account : Api::Flowcontrol::V1beta1::ServiceAccountSubject?)
#