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.

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 Params
kind

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.

def getKind: IO[K8sFailure, String]

Required

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

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product