RoleBinding

final case class RoleBinding(roleRef: RoleRef, subjects: Option[Seq[Subject]], metadata: Option[ObjectMeta]) extends KObject

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

Source:
RoleBinding.scala
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addSubjects(newValues: Subject*): RoleBinding

Appends new values to subjects

Appends new values to subjects

Source:
RoleBinding.scala

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

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

Source:
RoleBinding.scala

transforms roleRef to result of function

transforms roleRef to result of function

Source:
RoleBinding.scala

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

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

Source:
RoleBinding.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
RoleBinding.scala

Returns a new data with roleRef set to new value

Returns a new data with roleRef set to new value

Source:
RoleBinding.scala

Returns a new data with subjects set to new value

Returns a new data with subjects set to new value

Source:
RoleBinding.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala