com.coralogix.zio.k8s.model.autoscaling.v2beta1
ExternalMetricStatus
Companion object ExternalMetricStatus
case class ExternalMetricStatus(currentAverageValue: Optional[Quantity] = Optional.Absent, currentValue: Quantity, metricName: String, metricSelector: Optional[LabelSelector] = Optional.Absent) extends Product with Serializable
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
- metricName
metricName is the name of a metric used for autoscaling in metric system.
- Alphabetic
- By Inheritance
- ExternalMetricStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ExternalMetricStatus(currentAverageValue: Optional[Quantity] = Optional.Absent, currentValue: Quantity, metricName: String, metricSelector: Optional[LabelSelector] = Optional.Absent)
- metricName
metricName is the name of a metric used for autoscaling in metric system.
Value Members
- val currentAverageValue: Optional[Quantity]
- val currentValue: Quantity
-
def
getCurrentAverageValue: IO[K8sFailure, Quantity]
Gets currentAverageValue.
Gets currentAverageValue.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCurrentValue: IO[K8sFailure, Quantity]
Gets currentValue.
Gets currentValue.
This effect always succeeds, it is safe to use the field currentValue directly.
-
def
getMetricName: IO[K8sFailure, String]
metricName is the name of a metric used for autoscaling in metric system.
metricName is the name of a metric used for autoscaling in metric system.
This effect always succeeds, it is safe to use the field metricName directly.
-
def
getMetricSelector: IO[K8sFailure, LabelSelector]
Gets metricSelector.
Gets metricSelector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metricName: String
- val metricSelector: Optional[LabelSelector]