case class SubjectAccessReviewSpec(extra: Optional[Map[String, Vector[String]]] = Optional.Absent, groups: Optional[Vector[String]] = Optional.Absent, nonResourceAttributes: Optional[NonResourceAttributes] = Optional.Absent, resourceAttributes: Optional[ResourceAttributes] = Optional.Absent, uid: Optional[String] = Optional.Absent, user: Optional[String] = Optional.Absent) extends Product with Serializable

SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

extra

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

groups

Groups is the groups you're testing for.

uid

UID information about the requesting user.

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubjectAccessReviewSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubjectAccessReviewSpec(extra: Optional[Map[String, Vector[String]]] = Optional.Absent, groups: Optional[Vector[String]] = Optional.Absent, nonResourceAttributes: Optional[NonResourceAttributes] = Optional.Absent, resourceAttributes: Optional[ResourceAttributes] = Optional.Absent, uid: Optional[String] = Optional.Absent, user: Optional[String] = Optional.Absent)

    extra

    Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

    groups

    Groups is the groups you're testing for.

    uid

    UID information about the requesting user.

    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

Value Members

  1. val extra: Optional[Map[String, Vector[String]]]
  2. def getExtra: IO[K8sFailure, Map[String, Vector[String]]]

    Extra corresponds to the user.Info.GetExtra() method from the authenticator.

    Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. def getGroups: IO[K8sFailure, Vector[String]]

    Groups is the groups you're testing for.

    Groups is the groups you're testing for.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  4. def getNonResourceAttributes: IO[K8sFailure, NonResourceAttributes]

    Gets nonResourceAttributes.

    Gets nonResourceAttributes.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  5. def getResourceAttributes: IO[K8sFailure, ResourceAttributes]

    Gets resourceAttributes.

    Gets resourceAttributes.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  6. def getUid: IO[K8sFailure, String]

    UID information about the requesting user.

    UID information about the requesting user.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  7. def getUser: IO[K8sFailure, String]

    User is the user you're testing for.

    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

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  8. val groups: Optional[Vector[String]]
  9. val nonResourceAttributes: Optional[NonResourceAttributes]
  10. val resourceAttributes: Optional[ResourceAttributes]
  11. val uid: Optional[String]
  12. val user: Optional[String]