MetricSpec

io.k8s.api.autoscaling.v2.MetricSpec
See theMetricSpec companion object
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).

Attributes

Companion:
object
Source:
MetricSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source:
MetricSpec.scala

transforms type to result of function

transforms type to result of function

Attributes

Source:
MetricSpec.scala

Returns a new data with containerResource set to new value

Returns a new data with containerResource set to new value

Attributes

Source:
MetricSpec.scala

Returns a new data with external set to new value

Returns a new data with external set to new value

Attributes

Source:
MetricSpec.scala

Returns a new data with object set to new value

Returns a new data with object set to new value

Attributes

Source:
MetricSpec.scala

Returns a new data with pods set to new value

Returns a new data with pods set to new value

Attributes

Source:
MetricSpec.scala

Returns a new data with resource set to new value

Returns a new data with resource set to new value

Attributes

Source:
MetricSpec.scala

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source:
MetricSpec.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product