com.coralogix.zio.k8s.model.autoscaling.v2
HorizontalPodAutoscalerCondition
Companion object HorizontalPodAutoscalerCondition
case class HorizontalPodAutoscalerCondition(lastTransitionTime: Optional[Time] = Optional.Absent, message: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent, status: String, type: String) extends Product with Serializable
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
- message
message is a human-readable explanation containing details about the transition
- reason
reason is the reason for the condition's last transition.
- status
status is the status of the condition (True, False, Unknown)
- type
type describes the current condition
- Alphabetic
- By Inheritance
- HorizontalPodAutoscalerCondition
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HorizontalPodAutoscalerCondition(lastTransitionTime: Optional[Time] = Optional.Absent, message: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent, status: String, type: String)
- message
message is a human-readable explanation containing details about the transition
- reason
reason is the reason for the condition's last transition.
- status
status is the status of the condition (True, False, Unknown)
- type
type describes the current condition
Value Members
-
def
getLastTransitionTime: IO[K8sFailure, Time]
Gets lastTransitionTime.
Gets lastTransitionTime.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMessage: IO[K8sFailure, String]
message is a human-readable explanation containing details about the transition
message is a human-readable explanation containing details about the transition
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReason: IO[K8sFailure, String]
reason is the reason for the condition's last transition.
reason is the reason for the condition's last transition.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStatus: IO[K8sFailure, String]
status is the status of the condition (True, False, Unknown)
status is the status of the condition (True, False, Unknown)
This effect always succeeds, it is safe to use the field status directly.
-
def
getType: IO[K8sFailure, String]
type describes the current condition
type describes the current condition
This effect always succeeds, it is safe to use the field type directly.
- val lastTransitionTime: Optional[Time]
- val message: Optional[String]
- val reason: Optional[String]
- val status: String
- val type: String