MetricIdentifier

io.k8s.api.autoscaling.v2.MetricIdentifier
See theMetricIdentifier companion object
final case class MetricIdentifier(name: String, selector: Option[LabelSelector])

MetricIdentifier defines the name and optionally selector for a metric

Attributes

Companion
object
Source
MetricIdentifier.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapName(f: String => String): MetricIdentifier

transforms name to result of function

transforms name to result of function

Attributes

Source
MetricIdentifier.scala

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

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

Attributes

Source
MetricIdentifier.scala
def withName(value: String): MetricIdentifier

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
MetricIdentifier.scala

Returns a new data with selector set to new value

Returns a new data with selector set to new value

Attributes

Source
MetricIdentifier.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product