Kubernetes::SubjectAccessReviewSpec
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
SubjectAccessReviewSpec is a description of the access request. Exactly one of resourceAttributes and nonResourceAttributes must be set
Constructors
Instance methods
extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
nonResourceAttributes describes information for a non-resource access request
nonResourceAttributes describes information for a non-resource access request
resourceAttributes describes information for a resource access request
user is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
Macros
Helper macro for defining fields with automatic camelCase conversion