struct
Kubernetes::SubjectAccessReviewSpec
- Kubernetes::SubjectAccessReviewSpec
- Struct
- Value
- Object
Overview
SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_authorization_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#extra : Hash(String, Array(String)) | Nil
Extra corresponds to the user.Info.GetExtra() method from the authenticator.
-
#extra=(extra : Hash(String, Array(String)) | Nil)
Extra corresponds to the user.Info.GetExtra() method from the authenticator.
-
#groups : Array(String) | Nil
Groups is the groups you're testing for.
-
#groups=(groups : Array(String) | Nil)
Groups is the groups you're testing for.
-
#non_resource_attributes : NonResourceAttributes | Nil
NonResourceAttributes describes information for a non-resource access request
-
#non_resource_attributes=(non_resource_attributes : NonResourceAttributes | Nil)
NonResourceAttributes describes information for a non-resource access request
-
#resource_attributes : ResourceAttributes | Nil
ResourceAuthorizationAttributes describes information for a resource access request
-
#resource_attributes=(resource_attributes : ResourceAttributes | Nil)
ResourceAuthorizationAttributes describes information for a resource access request
-
#uid : String | Nil
UID information about the requesting user.
-
#uid=(uid : String | Nil)
UID information about the requesting user.
-
#user : String | Nil
User is the user you're testing for.
-
#user=(user : String | Nil)
User is the user you're testing for.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
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
ResourceAuthorizationAttributes describes information for a resource access request
ResourceAuthorizationAttributes 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
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