com.coralogix.zio.k8s.model.authorization.v1
SubjectAccessReviewSpec
Companion object SubjectAccessReviewSpec
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
- Alphabetic
- By Inheritance
- SubjectAccessReviewSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extra: Optional[Map[String, Vector[String]]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
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.
-
def
getNonResourceAttributes: IO[K8sFailure, NonResourceAttributes]
Gets nonResourceAttributes.
Gets nonResourceAttributes.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getResourceAttributes: IO[K8sFailure, ResourceAttributes]
Gets resourceAttributes.
Gets resourceAttributes.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
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.
-
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.
- val groups: Optional[Vector[String]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonResourceAttributes: Optional[NonResourceAttributes]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val resourceAttributes: Optional[ResourceAttributes]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val uid: Optional[String]
- val user: Optional[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated