class Pyrite::Api::Authorization::V1beta1::SelfSubjectAccessReview
- Pyrite::Api::Authorization::V1beta1::SelfSubjectAccessReview
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action
Defined in:
versions/v1.14/api/authorization/v1beta1/self_subject_access_review.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
SelfSubjectAccessReview checks whether or the current user can perform an action.
-
.new(pull : JSON::PullParser)
SelfSubjectAccessReview checks whether or the current user can perform an action.
- .new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Authorization::V1beta1::SelfSubjectAccessReviewSpec, status : Api::Authorization::V1beta1::SubjectAccessReviewStatus? = nil)
Instance Method Summary
- #spec : Api::Authorization::V1beta1::SelfSubjectAccessReviewSpec
- #spec=(spec : Api::Authorization::V1beta1::SelfSubjectAccessReviewSpec)
- #status : Api::Authorization::V1beta1::SubjectAccessReviewStatus?
- #status=(status : Api::Authorization::V1beta1::SubjectAccessReviewStatus?)
Instance methods inherited from class Pyrite::Kubernetes::Object
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
metadata=
Constructor methods inherited from class Pyrite::Kubernetes::Object
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Instance methods inherited from class Pyrite::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class Pyrite::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action
SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action