Subject

io.k8s.api.flowcontrol.v1beta3.Subject
See theSubject companion object
final case class Subject(kind: String, group: Option[GroupSubject], serviceAccount: Option[ServiceAccountSubject], user: Option[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.

Attributes

Companion:
object
Source:
Subject.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

if group has a value, transforms to the result of function

if group has a value, transforms to the result of function

Attributes

Source:
Subject.scala

transforms kind to result of function

transforms kind to result of function

Attributes

Source:
Subject.scala

if serviceAccount has a value, transforms to the result of function

if serviceAccount has a value, transforms to the result of function

Attributes

Source:
Subject.scala

if user has a value, transforms to the result of function

if user has a value, transforms to the result of function

Attributes

Source:
Subject.scala

Returns a new data with group set to new value

Returns a new data with group set to new value

Attributes

Source:
Subject.scala
def withKind(value: String): Subject

Returns a new data with kind set to new value

Returns a new data with kind set to new value

Attributes

Source:
Subject.scala

Returns a new data with serviceAccount set to new value

Returns a new data with serviceAccount set to new value

Attributes

Source:
Subject.scala

Returns a new data with user set to new value

Returns a new data with user set to new value

Attributes

Source:
Subject.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product