Packages

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterRole
  2. KObject
  3. Product
  4. Equals
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ClusterRole(aggregationRule: Option[AggregationRule] = None, metadata: Option[ObjectMeta] = None, rules: Option[Seq[PolicyRule]] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _resourceKind: ResourceKind
    Attributes
    protected
    Definition Classes
    ClusterRoleKObject
  5. def addRules(newValues: PolicyRule*): ClusterRole

    Appends new values to rules

  6. val aggregationRule: Option[AggregationRule]
  7. final lazy val apiVersion: String
    Definition Classes
    KObject
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def foldTo[T](implicit arg0: Builder[T]): T
    Definition Classes
    ClusterRoleKObject
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def group: String
    Definition Classes
    KObject
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final lazy val kind: String
    Definition Classes
    KObject
  17. def mapAggregationRule(f: (AggregationRule) => AggregationRule): ClusterRole

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

  18. def mapMetadata(f: (ObjectMeta) => ObjectMeta): ClusterRole

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

  19. def mapRules(f: (Seq[PolicyRule]) => Seq[PolicyRule]): ClusterRole

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

  20. val metadata: Option[ObjectMeta]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val rules: Option[Seq[PolicyRule]]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. final lazy val version: String
    Definition Classes
    KObject
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. def withAggregationRule(value: AggregationRule): ClusterRole

    Returns a new data with aggregationRule set to new value

  32. def withMetadata(value: ObjectMeta): ClusterRole

    Returns a new data with metadata set to new value

  33. def withRules(value: Seq[PolicyRule]): ClusterRole

    Returns a new data with rules set to new value

Inherited from KObject

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped