case class ComponentCondition(error: Optional[String] = Optional.Absent, message: Optional[String] = Optional.Absent, status: String, type: String) extends Product with Serializable
Information about the condition of a component.
- error
Condition error code for a component. For example, a health check error code.
- message
Message about the condition for a component. For example, information about a health check.
- status
Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
- type
Type of condition for a component. Valid value: "Healthy"
- Alphabetic
- By Inheritance
- ComponentCondition
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ComponentCondition(error: Optional[String] = Optional.Absent, message: Optional[String] = Optional.Absent, status: String, type: String)
- error
Condition error code for a component. For example, a health check error code.
- message
Message about the condition for a component. For example, information about a health check.
- status
Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
- type
Type of condition for a component. Valid value: "Healthy"
Value Members
- val error: Optional[String]
-
def
getError: IO[K8sFailure, String]
Condition error code for a component.
Condition error code for a component. For example, a health check error code.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMessage: IO[K8sFailure, String]
Message about the condition for a component.
Message about the condition for a component. For example, information about a health check.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStatus: IO[K8sFailure, String]
Status of the condition for a component.
Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
This effect always succeeds, it is safe to use the field status directly.
-
def
getType: IO[K8sFailure, String]
Type of condition for a component.
Type of condition for a component. Valid value: "Healthy"
This effect always succeeds, it is safe to use the field type directly.
- val message: Optional[String]
- val status: String
- val type: String