Packages

final case class Role(metadata: Option[ObjectMeta] = None, rules: Option[Seq[PolicyRule]] = None) extends KObject with Product with Serializable

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

Source
Role.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Role
  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 Role(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
    RoleKObject
  5. def addRules(newValues: PolicyRule*): Role

    Appends new values to rules

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

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

  17. def mapRules(f: (Seq[PolicyRule]) => Seq[PolicyRule]): Role

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

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

    Returns a new data with metadata set to new value

  30. def withRules(value: Seq[PolicyRule]): Role

    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