Packages

c

io.k8s.api.rbac.v1

PolicyRule

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

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

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

Instance Constructors

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

    Appends new values to apiGroups

  5. def addNonResourceURLs(newValues: String*): PolicyRule

    Appends new values to nonResourceURLs

  6. def addResourceNames(newValues: String*): PolicyRule

    Appends new values to resourceNames

  7. def addResources(newValues: String*): PolicyRule

    Appends new values to resources

  8. def addVerbs(newValues: String*): PolicyRule

    Appends new values to verbs

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

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

  17. def mapNonResourceURLs(f: (Seq[String]) ⇒ Seq[String]): PolicyRule

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

  18. def mapResourceNames(f: (Seq[String]) ⇒ Seq[String]): PolicyRule

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

  19. def mapResources(f: (Seq[String]) ⇒ Seq[String]): PolicyRule

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

  20. def mapVerbs(f: (Seq[String]) ⇒ Seq[String]): PolicyRule

    transforms verbs to result of function

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. val nonResourceURLs: Option[Seq[String]]
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val resourceNames: Option[Seq[String]]
  26. val resources: Option[Seq[String]]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val verbs: Seq[String]
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. def withApiGroups(value: Seq[String]): PolicyRule

    Returns a new data with apiGroups set to new value

  33. def withNonResourceURLs(value: Seq[String]): PolicyRule

    Returns a new data with nonResourceURLs set to new value

  34. def withResourceNames(value: Seq[String]): PolicyRule

    Returns a new data with resourceNames set to new value

  35. def withResources(value: Seq[String]): PolicyRule

    Returns a new data with resources set to new value

  36. def withVerbs(value: Seq[String]): PolicyRule

    Returns a new data with verbs set to new value

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped