Preconditions

io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions
See thePreconditions companion object
final case class Preconditions(resourceVersion: Option[String], uid: Option[String])

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

Attributes

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

Members list

Value members

Concrete methods

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

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

Attributes

Source
Preconditions.scala

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

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

Attributes

Source
Preconditions.scala

Returns a new data with resourceVersion set to new value

Returns a new data with resourceVersion set to new value

Attributes

Source
Preconditions.scala

Returns a new data with uid set to new value

Returns a new data with uid set to new value

Attributes

Source
Preconditions.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product