case class Subject(group: Optional[GroupSubject] = Optional.Absent, kind: String, serviceAccount: Optional[ServiceAccountSubject] = Optional.Absent, user: Optional[UserSubject] = Optional.Absent) extends Product with Serializable
Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
- kind
kind
indicates which one of the other fields is non-empty. Required
- Alphabetic
- By Inheritance
- Subject
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Subject(group: Optional[GroupSubject] = Optional.Absent, kind: String, serviceAccount: Optional[ServiceAccountSubject] = Optional.Absent, user: Optional[UserSubject] = Optional.Absent)
- kind
kind
indicates which one of the other fields is non-empty. Required
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getGroup: IO[K8sFailure, GroupSubject]
Gets group.
Gets group.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getKind: IO[K8sFailure, String]
kind
indicates which one of the other fields is non-empty.kind
indicates which one of the other fields is non-empty. RequiredThis effect always succeeds, it is safe to use the field kind directly.
-
def
getServiceAccount: IO[K8sFailure, ServiceAccountSubject]
Gets serviceAccount.
Gets serviceAccount.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUser: IO[K8sFailure, UserSubject]
Gets user.
Gets user.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val group: Optional[GroupSubject]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kind: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val serviceAccount: Optional[ServiceAccountSubject]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val user: Optional[UserSubject]
-
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