ComponentCondition

io.k8s.api.core.v1.ComponentCondition
See theComponentCondition companion object
final case class ComponentCondition(status: String, `type`: String, error: Option[String], message: Option[String])

Information about the condition of a component.

Attributes

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

Members list

Value members

Concrete methods

def mapError(f: String => String): ComponentCondition

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

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

Attributes

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

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

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

Attributes

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

transforms status to result of function

transforms status to result of function

Attributes

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

transforms type to result of function

transforms type to result of function

Attributes

Source
ComponentCondition.scala
def withError(value: String): ComponentCondition

Returns a new data with error set to new value

Returns a new data with error set to new value

Attributes

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

Returns a new data with message set to new value

Returns a new data with message set to new value

Attributes

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

Returns a new data with status set to new value

Returns a new data with status set to new value

Attributes

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

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source
ComponentCondition.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product