ValidationRule

io.k8s.apiextensions_apiserver.pkg.apis.apiextensions.v1.ValidationRule
See theValidationRule companion object
final case class ValidationRule(rule: String, fieldPath: Option[String], reason: Option[String], messageExpression: Option[String], message: Option[String], optionalOldSelf: Option[Boolean])

ValidationRule describes a validation rule written in the CEL expression language.

Attributes

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

Members list

Value members

Concrete methods

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

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

Attributes

Source
ValidationRule.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
ValidationRule.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
ValidationRule.scala

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

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

Attributes

Source
ValidationRule.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
ValidationRule.scala

transforms rule to result of function

transforms rule to result of function

Attributes

Source
ValidationRule.scala

Returns a new data with fieldPath set to new value

Returns a new data with fieldPath set to new value

Attributes

Source
ValidationRule.scala

Returns a new data with message set to new value

Returns a new data with message set to new value

Attributes

Source
ValidationRule.scala

Returns a new data with messageExpression set to new value

Returns a new data with messageExpression set to new value

Attributes

Source
ValidationRule.scala

Returns a new data with optionalOldSelf set to new value

Returns a new data with optionalOldSelf set to new value

Attributes

Source
ValidationRule.scala

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Attributes

Source
ValidationRule.scala

Returns a new data with rule set to new value

Returns a new data with rule set to new value

Attributes

Source
ValidationRule.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product