case class Status(code: Optional[Int] = Optional.Absent, details: Optional[StatusDetails] = Optional.Absent, message: Optional[String] = Optional.Absent, metadata: Optional[ListMeta] = Optional.Absent, reason: Optional[String] = Optional.Absent, status: Optional[String] = Optional.Absent) extends Product with Serializable
Status is a return value for calls that don't return other objects.
- 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
- Alphabetic
- By Inheritance
- Status
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Status(code: Optional[Int] = Optional.Absent, details: Optional[StatusDetails] = Optional.Absent, message: Optional[String] = Optional.Absent, metadata: Optional[ListMeta] = Optional.Absent, reason: Optional[String] = Optional.Absent, status: Optional[String] = Optional.Absent)
- 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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val code: Optional[Int]
- val details: Optional[StatusDetails]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
def
getDetails: IO[K8sFailure, StatusDetails]
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.
-
def
getMetadata: IO[K8sFailure, ListMeta]
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.
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.
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val message: Optional[String]
- val metadata: Optional[ListMeta]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val reason: Optional[String]
- val status: Optional[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )