case class ExternalMetricSource(metric: MetricIdentifier, target: MetricTarget) extends Product with Serializable

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalMetricSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExternalMetricSource(metric: MetricIdentifier, target: MetricTarget)

Value Members

  1. def getMetric: IO[K8sFailure, MetricIdentifier]

    Gets metric.

    Gets metric.

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

  2. def getTarget: IO[K8sFailure, MetricTarget]

    Gets target.

    Gets target.

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

  3. val metric: MetricIdentifier
  4. val target: MetricTarget