StatusCause

io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause
See theStatusCause companion object
final case class StatusCause(field: Option[String], message: Option[String], reason: Option[String])

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

Attributes

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

Members list

Value members

Concrete methods

def mapField(f: String => String): StatusCause

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Source
StatusCause.scala
def withField(value: String): StatusCause

Returns a new data with field set to new value

Returns a new data with field set to new value

Attributes

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

Returns a new data with message set to new value

Returns a new data with message set to new value

Attributes

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

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Attributes

Source
StatusCause.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product