Status

case class Status(code: Optional[Int], details: Optional[StatusDetails], message: Optional[String], metadata: Optional[ListMeta], reason: Optional[String], status: Optional[String])

Status is a return value for calls that don't return other objects.

Value Params
code

Suggested HTTP return code for this status, 0 if not set.

message

A human-readable description of the status of this operation.

reason

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

status

Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getCode: IO[K8sFailure, Int]

Suggested HTTP return code for this status, 0 if not set.

Suggested HTTP return code for this status, 0 if not set.

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

Gets details.

Gets details.

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

def getMessage: IO[K8sFailure, String]

A human-readable description of the status of this operation.

A human-readable description of the status of this operation.

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

Gets metadata.

Gets metadata.

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

def getReason: IO[K8sFailure, String]

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

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

def getStatus: IO[K8sFailure, String]

Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product