Class SubjectAccessReviewSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SubjectAccessReviewSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SubjectAccessReviewSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
    See Also:
    Serialized Form
    • Method Detail

      • getExtra

        public Map<String,​List<String>> getExtra()
        Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
      • setExtra

        public void setExtra​(Map<String,​List<String>> extra)
        Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
      • getGroups

        public List<String> getGroups()
        Groups is the groups you're testing for.
      • setGroups

        public void setGroups​(List<String> groups)
        Groups is the groups you're testing for.
      • getNonResourceAttributes

        public NonResourceAttributes getNonResourceAttributes()
        SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
      • setNonResourceAttributes

        public void setNonResourceAttributes​(NonResourceAttributes nonResourceAttributes)
        SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
      • getResourceAttributes

        public ResourceAttributes getResourceAttributes()
        SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
      • setResourceAttributes

        public void setResourceAttributes​(ResourceAttributes resourceAttributes)
        SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
      • getUid

        public String getUid()
        UID information about the requesting user.
      • setUid

        public void setUid​(String uid)
        UID information about the requesting user.
      • getUser

        public String getUser()
        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
      • setUser

        public void setUser​(String user)
        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
      • getAdditionalProperties

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

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

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