c
com.coralogix.zio.k8s.model.autoscaling.v2beta2
ObjectMetricSource
Companion object ObjectMetricSource
case class ObjectMetricSource(describedObject: CrossVersionObjectReference, metric: MetricIdentifier, target: MetricTarget) extends Product with Serializable
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ObjectMetricSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ObjectMetricSource(describedObject: CrossVersionObjectReference, metric: MetricIdentifier, target: MetricTarget)
Value Members
- val describedObject: CrossVersionObjectReference
-
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.
-
def
getTarget: IO[K8sFailure, MetricTarget]
Gets target.
Gets target.
This effect always succeeds, it is safe to use the field target directly.
- val metric: MetricIdentifier
- val target: MetricTarget