NonResourcePolicyRule

io.k8s.api.flowcontrol.v1.NonResourcePolicyRule
See theNonResourcePolicyRule companion object
final case class NonResourcePolicyRule(nonResourceURLs: Seq[String], verbs: Seq[String])

NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.

Attributes

Companion
object
Source
NonResourcePolicyRule.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addNonResourceURLs(newValues: String*): NonResourcePolicyRule

Appends new values to nonResourceURLs

Appends new values to nonResourceURLs

Attributes

Source
NonResourcePolicyRule.scala
def addVerbs(newValues: String*): NonResourcePolicyRule

Appends new values to verbs

Appends new values to verbs

Attributes

Source
NonResourcePolicyRule.scala
def mapNonResourceURLs(f: (Seq[String]) => Seq[String]): NonResourcePolicyRule

transforms nonResourceURLs to result of function

transforms nonResourceURLs to result of function

Attributes

Source
NonResourcePolicyRule.scala
def mapVerbs(f: (Seq[String]) => Seq[String]): NonResourcePolicyRule

transforms verbs to result of function

transforms verbs to result of function

Attributes

Source
NonResourcePolicyRule.scala
def withNonResourceURLs(value: Seq[String]): NonResourcePolicyRule

Returns a new data with nonResourceURLs set to new value

Returns a new data with nonResourceURLs set to new value

Attributes

Source
NonResourcePolicyRule.scala
def withVerbs(value: Seq[String]): NonResourcePolicyRule

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Attributes

Source
NonResourcePolicyRule.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product