Subject

case class Subject(group: Optional[GroupSubject], kind: String, serviceAccount: Optional[ServiceAccountSubject], user: Optional[UserSubject])

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.

Value parameters:
kind

kind indicates which one of the other fields is non-empty. Required

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets group.

Gets group.

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

kind indicates which one of the other fields is non-empty. Required

kind indicates which one of the other fields is non-empty. Required

This effect always succeeds, it is safe to use the field kind directly.

Gets serviceAccount.

Gets serviceAccount.

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

Gets user.

Gets user.

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

Inherited methods

Inherited from:
Product