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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
transforms expression to result of function
if message has a value, transforms to the result of function
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
Returns a new data with expression set to new value
Returns a new data with message set to new value
Returns a new data with messageExpression set to new value
Returns a new data with reason set to new value
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article