Interface V1Authorization.SubjectAccessReviewSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1Authorization.SubjectAccessReviewSpec, V1Authorization.SubjectAccessReviewSpec.Builder
Enclosing class:
V1Authorization

public static interface V1Authorization.SubjectAccessReviewSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasResourceAttributes

      boolean hasResourceAttributes()
       ResourceAuthorizationAttributes describes information for a resource access request
       +optional
       
      optional .k8s.io.api.authorization.v1.ResourceAttributes resourceAttributes = 1;
    • getResourceAttributes

      V1Authorization.ResourceAttributes getResourceAttributes()
       ResourceAuthorizationAttributes describes information for a resource access request
       +optional
       
      optional .k8s.io.api.authorization.v1.ResourceAttributes resourceAttributes = 1;
    • getResourceAttributesOrBuilder

      V1Authorization.ResourceAttributesOrBuilder getResourceAttributesOrBuilder()
       ResourceAuthorizationAttributes describes information for a resource access request
       +optional
       
      optional .k8s.io.api.authorization.v1.ResourceAttributes resourceAttributes = 1;
    • hasNonResourceAttributes

      boolean hasNonResourceAttributes()
       NonResourceAttributes describes information for a non-resource access request
       +optional
       
      optional .k8s.io.api.authorization.v1.NonResourceAttributes nonResourceAttributes = 2;
    • getNonResourceAttributes

      V1Authorization.NonResourceAttributes getNonResourceAttributes()
       NonResourceAttributes describes information for a non-resource access request
       +optional
       
      optional .k8s.io.api.authorization.v1.NonResourceAttributes nonResourceAttributes = 2;
    • getNonResourceAttributesOrBuilder

      V1Authorization.NonResourceAttributesOrBuilder getNonResourceAttributesOrBuilder()
       NonResourceAttributes describes information for a non-resource access request
       +optional
       
      optional .k8s.io.api.authorization.v1.NonResourceAttributes nonResourceAttributes = 2;
    • hasUser

      boolean hasUser()
       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
       +optional
       
      optional string user = 3;
    • getUser

      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
       +optional
       
      optional string user = 3;
    • getUserBytes

      com.google.protobuf.ByteString getUserBytes()
       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
       +optional
       
      optional string user = 3;
    • getGroupsList

      List<String> getGroupsList()
       Groups is the groups you're testing for.
       +optional
       
      repeated string groups = 4;
    • getGroupsCount

      int getGroupsCount()
       Groups is the groups you're testing for.
       +optional
       
      repeated string groups = 4;
    • getGroups

      String getGroups(int index)
       Groups is the groups you're testing for.
       +optional
       
      repeated string groups = 4;
    • getGroupsBytes

      com.google.protobuf.ByteString getGroupsBytes(int index)
       Groups is the groups you're testing for.
       +optional
       
      repeated string groups = 4;
    • getExtraCount

      int getExtraCount()
       Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
       it needs a reflection here.
       +optional
       
      map<string, .k8s.io.api.authorization.v1.ExtraValue> extra = 5;
    • containsExtra

      boolean containsExtra(String key)
       Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
       it needs a reflection here.
       +optional
       
      map<string, .k8s.io.api.authorization.v1.ExtraValue> extra = 5;
    • getExtra

      Deprecated.
      Use getExtraMap() instead.
    • getExtraMap

       Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
       it needs a reflection here.
       +optional
       
      map<string, .k8s.io.api.authorization.v1.ExtraValue> extra = 5;
    • getExtraOrDefault

      V1Authorization.ExtraValue getExtraOrDefault(String key, V1Authorization.ExtraValue defaultValue)
       Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
       it needs a reflection here.
       +optional
       
      map<string, .k8s.io.api.authorization.v1.ExtraValue> extra = 5;
    • getExtraOrThrow

      V1Authorization.ExtraValue getExtraOrThrow(String key)
       Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
       it needs a reflection here.
       +optional
       
      map<string, .k8s.io.api.authorization.v1.ExtraValue> extra = 5;
    • hasUid

      boolean hasUid()
       UID information about the requesting user.
       +optional
       
      optional string uid = 6;
    • getUid

      String getUid()
       UID information about the requesting user.
       +optional
       
      optional string uid = 6;
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       UID information about the requesting user.
       +optional
       
      optional string uid = 6;