MatchCondition

io.k8s.api.admissionregistration.v1.MatchCondition
See theMatchCondition companion object
final case class MatchCondition(expression: String, name: String)

MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.

Attributes

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

Members list

Value members

Concrete methods

def mapExpression(f: String => String): MatchCondition

transforms expression to result of function

transforms expression to result of function

Attributes

Source
MatchCondition.scala
def mapName(f: String => String): MatchCondition

transforms name to result of function

transforms name to result of function

Attributes

Source
MatchCondition.scala
def withExpression(value: String): MatchCondition

Returns a new data with expression set to new value

Returns a new data with expression set to new value

Attributes

Source
MatchCondition.scala
def withName(value: String): MatchCondition

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
MatchCondition.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product