Condition

io.k8s.apimachinery.pkg.apis.meta.v1.Condition
See theCondition companion object
final case class Condition(reason: String, status: String, lastTransitionTime: Time, message: String, `type`: String, observedGeneration: Option[Long])

Condition contains details for one aspect of the current state of this API Resource.

Attributes

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

Members list

Value members

Concrete methods

transforms lastTransitionTime to result of function

transforms lastTransitionTime to result of function

Attributes

Source
Condition.scala
def mapMessage(f: String => String): Condition

transforms message to result of function

transforms message to result of function

Attributes

Source
Condition.scala
def mapObservedGeneration(f: Long => Long): Condition

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

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

Attributes

Source
Condition.scala
def mapReason(f: String => String): Condition

transforms reason to result of function

transforms reason to result of function

Attributes

Source
Condition.scala
def mapStatus(f: String => String): Condition

transforms status to result of function

transforms status to result of function

Attributes

Source
Condition.scala
def mapType(f: String => String): Condition

transforms type to result of function

transforms type to result of function

Attributes

Source
Condition.scala

Returns a new data with lastTransitionTime set to new value

Returns a new data with lastTransitionTime set to new value

Attributes

Source
Condition.scala
def withMessage(value: String): Condition

Returns a new data with message set to new value

Returns a new data with message set to new value

Attributes

Source
Condition.scala
def withObservedGeneration(value: Long): Condition

Returns a new data with observedGeneration set to new value

Returns a new data with observedGeneration set to new value

Attributes

Source
Condition.scala
def withReason(value: String): Condition

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Attributes

Source
Condition.scala
def withStatus(value: String): Condition

Returns a new data with status set to new value

Returns a new data with status set to new value

Attributes

Source
Condition.scala
def withType(value: String): Condition

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source
Condition.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product