Validation

io.k8s.api.admissionregistration.v1alpha1.Validation
See theValidation companion object
final case class Validation(expression: String, message: Option[String], messageExpression: Option[String], reason: Option[String])

Validation specifies the CEL expression which is used to apply the validation.

Attributes

Companion:
object
Source:
Validation.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

transforms expression to result of function

transforms expression to result of function

Attributes

Source:
Validation.scala

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

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

Attributes

Source:
Validation.scala

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

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

Attributes

Source:
Validation.scala

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

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

Attributes

Source:
Validation.scala

Returns a new data with expression set to new value

Returns a new data with expression set to new value

Attributes

Source:
Validation.scala

Returns a new data with message set to new value

Returns a new data with message set to new value

Attributes

Source:
Validation.scala

Returns a new data with messageExpression set to new value

Returns a new data with messageExpression set to new value

Attributes

Source:
Validation.scala

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Attributes

Source:
Validation.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product