Subject

io.k8s.api.rbac.v1.Subject
See theSubject companion object
final case class Subject(kind: String, name: String, apiGroup: Option[String], namespace: Option[String])

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

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 apiGroup has a value, transforms to the result of function

if apiGroup 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

transforms name to result of function

transforms name to result of function

Attributes

Source:
Subject.scala

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

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

Attributes

Source:
Subject.scala

Returns a new data with apiGroup set to new value

Returns a new data with apiGroup 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
def withName(value: String): Subject

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source:
Subject.scala

Returns a new data with namespace set to new value

Returns a new data with namespace set to new value

Attributes

Source:
Subject.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product