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

def mapResourceVersion(f: String => String): Preconditions

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
def mapUid(f: String => String): Preconditions

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
def withResourceVersion(value: String): Preconditions

Returns a new data with resourceVersion set to new value

Returns a new data with resourceVersion set to new value

Attributes

Source
Preconditions.scala
def withUid(value: String): Preconditions

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

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product