sealed
Custom option type used in the generated Kubernetes data models.
Instances of Optional are either Optional.Present or Optional.Absent.
The only difference between this type and scala.Option is that there is an implicit
conversion defined from A`` to
Optional[A], and from
Option[A]`` to Optional[A]
.
This allows boilerplate-free definition of Kubernetes resources where most of the fields are optional.
- Companion
- object