case class StatusCause(field: Optional[String] = Optional.Absent, message: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent) extends Product with Serializable

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

field

The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"

message

A human-readable description of the cause of the error. This field may be presented as-is to a reader.

reason

A machine-readable description of the cause of the error. If this value is empty there is no information available.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatusCause
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatusCause(field: Optional[String] = Optional.Absent, message: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent)

    field

    The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"

    message

    A human-readable description of the cause of the error. This field may be presented as-is to a reader.

    reason

    A machine-readable description of the cause of the error. If this value is empty there is no information available.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. val field: Optional[String]
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getField: IO[K8sFailure, String]

    The field of the resource that has caused this error, as named by its JSON serialization.

    The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

    Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  10. def getMessage: IO[K8sFailure, String]

    A human-readable description of the cause of the error.

    A human-readable description of the cause of the error. This field may be presented as-is to a reader.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  11. def getReason: IO[K8sFailure, String]

    A machine-readable description of the cause of the error.

    A machine-readable description of the cause of the error. If this value is empty there is no information available.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val message: Optional[String]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val reason: Optional[String]
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped