Class ResourceAttributesAccessReview

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ResourceAttributesAccessReview
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ResourceAttributesAccessReviewBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ResourceAttributesAccessReview defines the visibility of the perspective depending on the access review checks. `required` and `missing` can work together esp. in the case where the cluster admin wants to show another perspective to users without specific permissions. Out of `required` and `missing` atleast one property should be non-empty.
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceAttributesAccessReview

        public ResourceAttributesAccessReview()
        No args constructor for use in serialization
      • ResourceAttributesAccessReview

        public ResourceAttributesAccessReview​(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> missing,
                                              List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> required)
    • Method Detail

      • getMissing

        public List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> getMissing()
        missing defines a list of permission checks. The perspective will only be shown when at least one check fails. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the required access review list.
      • setMissing

        public void setMissing​(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> missing)
        missing defines a list of permission checks. The perspective will only be shown when at least one check fails. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the required access review list.
      • getRequired

        public List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> getRequired()
        required defines a list of permission checks. The perspective will only be shown when all checks are successful. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the missing access review list.
      • setRequired

        public void setRequired​(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> required)
        required defines a list of permission checks. The perspective will only be shown when all checks are successful. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the missing access review list.
      • getAdditionalProperties

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

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

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