ObjectMetricSource

com.coralogix.zio.k8s.model.autoscaling.v2beta1.ObjectMetricSource
See theObjectMetricSource companion object
case class ObjectMetricSource(averageValue: Optional[Quantity], metricName: String, selector: Optional[LabelSelector], target: CrossVersionObjectReference, targetValue: Quantity)

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Value parameters

metricName

metricName is the name of the metric in question.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Gets averageValue.

Gets averageValue.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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.

Attributes

Gets selector.

Gets selector.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets target.

Gets target.

This effect always succeeds, it is safe to use the field target directly.

Attributes

Gets targetValue.

Gets targetValue.

This effect always succeeds, it is safe to use the field targetValue directly.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product