final case class ResourceRule(verbs: Seq[String], apiGroups: Option[Seq[String]] = None, resourceNames: Option[Seq[String]] = None, resources: Option[Seq[String]] = None) extends Product with Serializable

ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.

Source
ResourceRule.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceRule
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResourceRule(verbs: Seq[String], apiGroups: Option[Seq[String]] = None, resourceNames: Option[Seq[String]] = None, resources: Option[Seq[String]] = 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. def addApiGroups(newValues: String*): ResourceRule

    Appends new values to apiGroups

  5. def addResourceNames(newValues: String*): ResourceRule

    Appends new values to resourceNames

  6. def addResources(newValues: String*): ResourceRule

    Appends new values to resources

  7. def addVerbs(newValues: String*): ResourceRule

    Appends new values to verbs

  8. val apiGroups: Option[Seq[String]]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def mapApiGroups(f: (Seq[String]) => Seq[String]): ResourceRule

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

  16. def mapResourceNames(f: (Seq[String]) => Seq[String]): ResourceRule

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

  17. def mapResources(f: (Seq[String]) => Seq[String]): ResourceRule

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

  18. def mapVerbs(f: (Seq[String]) => Seq[String]): ResourceRule

    transforms verbs to result of function

  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 resourceNames: Option[Seq[String]]
  24. val resources: Option[Seq[String]]
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. val verbs: Seq[String]
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. def withApiGroups(value: Seq[String]): ResourceRule

    Returns a new data with apiGroups set to new value

  31. def withResourceNames(value: Seq[String]): ResourceRule

    Returns a new data with resourceNames set to new value

  32. def withResources(value: Seq[String]): ResourceRule

    Returns a new data with resources set to new value

  33. def withVerbs(value: Seq[String]): ResourceRule

    Returns a new data with verbs set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped