c
com.coralogix.zio.k8s.model.autoscaling.v2beta2
ObjectMetricStatus
Companion object ObjectMetricStatus
case class ObjectMetricStatus(current: MetricValueStatus, describedObject: CrossVersionObjectReference, metric: MetricIdentifier) extends Product with Serializable
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ObjectMetricStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ObjectMetricStatus(current: MetricValueStatus, describedObject: CrossVersionObjectReference, metric: MetricIdentifier)
Value Members
- val current: MetricValueStatus
- val describedObject: CrossVersionObjectReference
-
def
getCurrent: IO[K8sFailure, MetricValueStatus]
Gets current.
Gets current.
This effect always succeeds, it is safe to use the field current directly.
-
def
getDescribedObject: IO[K8sFailure, CrossVersionObjectReference]
Gets describedObject.
Gets describedObject.
This effect always succeeds, it is safe to use the field describedObject directly.
-
def
getMetric: IO[K8sFailure, MetricIdentifier]
Gets metric.
Gets metric.
This effect always succeeds, it is safe to use the field metric directly.
- val metric: MetricIdentifier