c
com.coralogix.zio.k8s.model.autoscaling.v2beta1
PodsMetricStatus
Companion object PodsMetricStatus
case class PodsMetricStatus(currentAverageValue: Quantity, metricName: String, selector: Optional[LabelSelector] = Optional.Absent) extends Product with Serializable
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
- metricName
metricName is the name of the metric in question
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodsMetricStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
PodsMetricStatus(currentAverageValue: Quantity, metricName: String, selector: Optional[LabelSelector] = Optional.Absent)
- metricName
metricName is the name of the metric in question
Value Members
- val currentAverageValue: Quantity
-
def
getCurrentAverageValue: IO[K8sFailure, Quantity]
Gets currentAverageValue.
Gets currentAverageValue.
This effect always succeeds, it is safe to use the field currentAverageValue directly.
-
def
getMetricName: IO[K8sFailure, String]
metricName is the name of the metric in question
metricName is the name of the metric in question
This effect always succeeds, it is safe to use the field metricName directly.
-
def
getSelector: IO[K8sFailure, LabelSelector]
Gets selector.
Gets selector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metricName: String
- val selector: Optional[LabelSelector]