c

io.k8s.api.flowcontrol.v1beta1

ResourcePolicyRule

final case class ResourcePolicyRule(clusterScope: Option[Boolean] = None, verbs: Seq[String], apiGroups: Seq[String], namespaces: Option[Seq[String]] = None, resources: Seq[String]) extends Product with Serializable

ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., Namespace=="") and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.

Source
ResourcePolicyRule.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourcePolicyRule
  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 ResourcePolicyRule(clusterScope: Option[Boolean] = None, verbs: Seq[String], apiGroups: Seq[String], namespaces: Option[Seq[String]] = None, resources: Seq[String])

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*): ResourcePolicyRule
  5. def addNamespaces(newValues: String*): ResourcePolicyRule
  6. def addResources(newValues: String*): ResourcePolicyRule
  7. def addVerbs(newValues: String*): ResourcePolicyRule
  8. val apiGroups: Seq[String]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. val clusterScope: Option[Boolean]
  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. val namespaces: Option[Seq[String]]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val resources: Seq[String]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val verbs: Seq[String]
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def withApiGroups(value: Seq[String]): ResourcePolicyRule
  27. def withClusterScope(value: Boolean): ResourcePolicyRule
  28. def withNamespaces(value: Seq[String]): ResourcePolicyRule
  29. def withResources(value: Seq[String]): ResourcePolicyRule
  30. def withVerbs(value: Seq[String]): ResourcePolicyRule

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped