case class ObjectMetricSource(averageValue: Optional[Quantity] = Optional.Absent, metricName: String, selector: Optional[LabelSelector] = Optional.Absent, target: CrossVersionObjectReference, targetValue: Quantity) 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).

metricName

metricName is the name of the metric in question.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectMetricSource
  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 ObjectMetricSource(averageValue: Optional[Quantity] = Optional.Absent, metricName: String, selector: Optional[LabelSelector] = Optional.Absent, target: CrossVersionObjectReference, targetValue: Quantity)

    metricName

    metricName is the name of the metric in question.

Value Members

  1. val averageValue: Optional[Quantity]
  2. def getAverageValue: IO[K8sFailure, Quantity]

    Gets averageValue.

    Gets averageValue.

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

  3. 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.

  4. def getSelector: IO[K8sFailure, LabelSelector]

    Gets selector.

    Gets selector.

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

  5. def getTarget: IO[K8sFailure, CrossVersionObjectReference]

    Gets target.

    Gets target.

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

  6. def getTargetValue: IO[K8sFailure, Quantity]

    Gets targetValue.

    Gets targetValue.

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

  7. val metricName: String
  8. val selector: Optional[LabelSelector]
  9. val target: CrossVersionObjectReference
  10. val targetValue: Quantity