RoleBinding

io.k8s.api.rbac.v1.RoleBinding
See theRoleBinding companion object
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.

Attributes

Companion
object
Source
RoleBinding.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addSubjects(newValues: Subject*): RoleBinding

Appends new values to subjects

Appends new values to subjects

Attributes

Source
RoleBinding.scala
override def foldTo[T : Builder]: T

Attributes

Definition Classes
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

Attributes

Source
RoleBinding.scala

transforms roleRef to result of function

transforms roleRef to result of function

Attributes

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

Attributes

Source
RoleBinding.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source
RoleBinding.scala

Returns a new data with roleRef set to new value

Returns a new data with roleRef set to new value

Attributes

Source
RoleBinding.scala

Returns a new data with subjects set to new value

Returns a new data with subjects set to new value

Attributes

Source
RoleBinding.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

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

Attributes

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

Attributes

Inherited from:
KObject
Source
ResourceKind.scala