Class V1SubjectRulesReviewStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1SubjectRulesReviewStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1SubjectRulesReviewStatus
extends Object
SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete
depending on the set of authorizers the server is configured with and any errors experienced
during evaluation. Because authorization rules are additive, if a rule appears in a list it's
safe to assume the subject has that permission, even if that list is incomplete.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNonResourceRulesItem
(V1NonResourceRule nonResourceRulesItem) addResourceRulesItem
(V1ResourceRule resourceRulesItem) boolean
evaluationError
(String evaluationError) EvaluationError can appear in combination with Rules.Incomplete is true when the rules returned by this call are incomplete.NonResourceRules is the list of actions the subject is allowed to perform on non-resources.ResourceRules is the list of actions the subject is allowed to perform on resources.int
hashCode()
incomplete
(Boolean incomplete) nonResourceRules
(List<V1NonResourceRule> nonResourceRules) resourceRules
(List<V1ResourceRule> resourceRules) void
setEvaluationError
(String evaluationError) void
setIncomplete
(Boolean incomplete) void
setNonResourceRules
(List<V1NonResourceRule> nonResourceRules) void
setResourceRules
(List<V1ResourceRule> resourceRules) toString()
-
Field Details
-
SERIALIZED_NAME_EVALUATION_ERROR
- See Also:
-
SERIALIZED_NAME_INCOMPLETE
- See Also:
-
SERIALIZED_NAME_NON_RESOURCE_RULES
- See Also:
-
SERIALIZED_NAME_RESOURCE_RULES
- See Also:
-
-
Constructor Details
-
V1SubjectRulesReviewStatus
public V1SubjectRulesReviewStatus()
-
-
Method Details
-
evaluationError
-
getEvaluationError
EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.- Returns:
- evaluationError
-
setEvaluationError
-
incomplete
-
getIncomplete
Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.- Returns:
- incomplete
-
setIncomplete
-
nonResourceRules
-
addNonResourceRulesItem
-
getNonResourceRules
NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.- Returns:
- nonResourceRules
-
setNonResourceRules
-
resourceRules
-
addResourceRulesItem
-
getResourceRules
ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.- Returns:
- resourceRules
-
setResourceRules
-
equals
-
hashCode
public int hashCode() -
toString
-