final case class ClusterRole(aggregationRule: Option[AggregationRule] = None, metadata: Option[ObjectMeta] = None, rules: Option[Seq[PolicyRule]] = None) extends KObject with Product with Serializable
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
- Source
- ClusterRole.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterRole
- KObject
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ClusterRole(aggregationRule: Option[AggregationRule] = None, metadata: Option[ObjectMeta] = None, rules: Option[Seq[PolicyRule]] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _resourceKind: ResourceKind
- Attributes
- protected
- Definition Classes
- ClusterRole → KObject
- def addRules(newValues: PolicyRule*): ClusterRole
Appends new values to rules
- val aggregationRule: Option[AggregationRule]
- final lazy val apiVersion: String
- Definition Classes
- KObject
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foldTo[T](implicit arg0: Builder[T]): T
- Definition Classes
- ClusterRole → KObject
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def group: String
- Definition Classes
- KObject
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final lazy val kind: String
- Definition Classes
- KObject
- def mapAggregationRule(f: (AggregationRule) => AggregationRule): ClusterRole
if aggregationRule has a value, transforms to the result of function
- def mapMetadata(f: (ObjectMeta) => ObjectMeta): ClusterRole
if metadata has a value, transforms to the result of function
- def mapRules(f: (Seq[PolicyRule]) => Seq[PolicyRule]): ClusterRole
if rules has a value, transforms to the result of function
- val metadata: Option[ObjectMeta]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rules: Option[Seq[PolicyRule]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final lazy val version: String
- Definition Classes
- KObject
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAggregationRule(value: AggregationRule): ClusterRole
Returns a new data with aggregationRule set to new value
- def withMetadata(value: ObjectMeta): ClusterRole
Returns a new data with metadata set to new value
- def withRules(value: Seq[PolicyRule]): ClusterRole
Returns a new data with rules set to new value