NonResourceRule

io.k8s.api.authorization.v1.NonResourceRule
See theNonResourceRule companion object
final case class NonResourceRule(verbs: Seq[String], nonResourceURLs: Option[Seq[String]])

NonResourceRule holds information that describes a rule for the non-resource

Attributes

Companion
object
Source
NonResourceRule.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*): NonResourceRule

Appends new values to nonResourceURLs

Appends new values to nonResourceURLs

Attributes

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

Appends new values to verbs

Appends new values to verbs

Attributes

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

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

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

Attributes

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

transforms verbs to result of function

transforms verbs to result of function

Attributes

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

Returns a new data with nonResourceURLs set to new value

Returns a new data with nonResourceURLs set to new value

Attributes

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

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Attributes

Source
NonResourceRule.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product