io.k8s.apiextensions_apiserver.pkg.apis.apiextensions.v1.ValidationRule
See theValidationRule companion object
final case class ValidationRule(rule: String, message: Option[String], messageExpression: Option[String])
ValidationRule describes a validation rule written in the CEL expression language.
Attributes
- Companion
- object
- Source
- ValidationRule.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
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
- ValidationRule.scala
transforms rule to result of function
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 rule set to new value
In this article