ClusterRole

io.k8s.api.rbac.v1.ClusterRole
See theClusterRole companion object
final case class ClusterRole(aggregationRule: Option[AggregationRule], metadata: Option[ObjectMeta], rules: Option[Seq[PolicyRule]]) extends KObject

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

Attributes

Companion:
object
Source:
ClusterRole.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addRules(newValues: PolicyRule*): ClusterRole

Appends new values to rules

Appends new values to rules

Attributes

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

Attributes

Definition Classes
Source:
ClusterRole.scala

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

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

Attributes

Source:
ClusterRole.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:
ClusterRole.scala

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

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

Attributes

Source:
ClusterRole.scala

Returns a new data with aggregationRule set to new value

Returns a new data with aggregationRule set to new value

Attributes

Source:
ClusterRole.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source:
ClusterRole.scala

Returns a new data with rules set to new value

Returns a new data with rules set to new value

Attributes

Source:
ClusterRole.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