Class SubjectRulesReviewStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<SubjectRulesReviewStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SubjectRulesReviewStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SubjectRulesReviewStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • SubjectRulesReviewStatus

        public SubjectRulesReviewStatus()
        No args constructor for use in serialization
    • Method Detail

      • getEvaluationError

        public String 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.
      • setEvaluationError

        public void setEvaluationError​(String evaluationError)
        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.
      • getIncomplete

        public Boolean 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.
      • setIncomplete

        public void setIncomplete​(Boolean incomplete)
        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.
      • getNonResourceRules

        public List<NonResourceRule> 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.
      • setNonResourceRules

        public void setNonResourceRules​(List<NonResourceRule> nonResourceRules)
        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.
      • getResourceRules

        public List<ResourceRule> 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.
      • setResourceRules

        public void setResourceRules​(List<ResourceRule> resourceRules)
        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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)