ResourceMetricStatus

io.k8s.api.autoscaling.v2.ResourceMetricStatus
See theResourceMetricStatus companion object
final case class ResourceMetricStatus(current: MetricValueStatus, name: String)

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

Attributes

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

Members list

Value members

Concrete methods

transforms current to result of function

transforms current to result of function

Attributes

Source
ResourceMetricStatus.scala
def mapName(f: String => String): ResourceMetricStatus

transforms name to result of function

transforms name to result of function

Attributes

Source
ResourceMetricStatus.scala

Returns a new data with current set to new value

Returns a new data with current set to new value

Attributes

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

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
ResourceMetricStatus.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product