struct

Kubernetes::SubjectAccessReviewStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

SubjectAccessReviewStatus

Constructors

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)

Instance methods

allowed

allowed is required. True if the action would be allowed, false otherwise.

Source
allowed=(allowed : Bool | Nil)

allowed is required. True if the action would be allowed, false otherwise.

Source
denied

denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

Source
denied=(denied : Bool | Nil)

denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.

Source
evaluation_error

evaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

Source
evaluation_error=(evaluation_error : String | Nil)

evaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.

Source
reason

reason is optional. It indicates why a request was allowed or denied.

Source
reason=(reason : String | Nil)

reason is optional. It indicates why a request was allowed or denied.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source