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.
- Companion:
- object
- Source:
- ResourcePolicyRule.scala
Value members
Concrete methods
transforms apiGroups to result of function
transforms apiGroups to result of function
- Source:
- ResourcePolicyRule.scala
if clusterScope has a value, transforms to the result of function
if clusterScope has a value, transforms to the result of function
- Source:
- ResourcePolicyRule.scala
if namespaces has a value, transforms to the result of function
if namespaces has a value, transforms to the result of function
- Source:
- ResourcePolicyRule.scala
transforms resources to result of function
transforms resources to result of function
- Source:
- ResourcePolicyRule.scala
transforms verbs to result of function
transforms verbs to result of function
- Source:
- ResourcePolicyRule.scala
Returns a new data with apiGroups set to new value
Returns a new data with apiGroups set to new value
- Source:
- ResourcePolicyRule.scala
Returns a new data with clusterScope set to new value
Returns a new data with clusterScope set to new value
- Source:
- ResourcePolicyRule.scala
Returns a new data with namespaces set to new value
Returns a new data with namespaces set to new value
- Source:
- ResourcePolicyRule.scala
Returns a new data with resources set to new value
Returns a new data with resources set to new value
- Source:
- ResourcePolicyRule.scala
Returns a new data with verbs set to new value
Returns a new data with verbs set to new value
- Source:
- ResourcePolicyRule.scala