ValidationRule

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

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

Attributes

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

Members list

Concise view

Value members

Concrete methods

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

transforms rule to result of function

transforms rule to result of function

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 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