MetricSpec

final case class MetricSpec(`type`: String, `object`: Option[ObjectMetricSource], external: Option[ExternalMetricSource], containerResource: Option[ContainerResourceMetricSource], resource: Option[ResourceMetricSource], pods: Option[PodsMetricSource])

MetricSpec specifies how to scale based on a single metric (only type and one other matching field should be set at once).

Source:
MetricSpec.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

if containerResource has a value, transforms to the result of function

if containerResource has a value, transforms to the result of function

Source:
MetricSpec.scala

if external has a value, transforms to the result of function

if external has a value, transforms to the result of function

Source:
MetricSpec.scala

if object has a value, transforms to the result of function

if object has a value, transforms to the result of function

Source:
MetricSpec.scala

if pods has a value, transforms to the result of function

if pods has a value, transforms to the result of function

Source:
MetricSpec.scala

if resource has a value, transforms to the result of function

if resource has a value, transforms to the result of function

Source:
MetricSpec.scala

transforms type to result of function

transforms type to result of function

Source:
MetricSpec.scala

Returns a new data with containerResource set to new value

Returns a new data with containerResource set to new value

Source:
MetricSpec.scala

Returns a new data with external set to new value

Returns a new data with external set to new value

Source:
MetricSpec.scala

Returns a new data with object set to new value

Returns a new data with object set to new value

Source:
MetricSpec.scala

Returns a new data with pods set to new value

Returns a new data with pods set to new value

Source:
MetricSpec.scala

Returns a new data with resource set to new value

Returns a new data with resource set to new value

Source:
MetricSpec.scala

Returns a new data with type set to new value

Returns a new data with type set to new value

Source:
MetricSpec.scala

Inherited methods

Inherited from:
Product