ClusterRole

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.

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

Value members

Concrete methods

def addRules(newValues: PolicyRule*): ClusterRole

Appends new values to rules

Appends new values to rules

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

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

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

Source:
ClusterRole.scala

Returns a new data with aggregationRule set to new value

Returns a new data with aggregationRule set to new value

Source:
ClusterRole.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
ClusterRole.scala

Returns a new data with rules set to new value

Returns a new data with rules set to new value

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