com.coralogix.zio.k8s.model.autoscaling.v2beta2
ContainerResourceMetricStatus
Companion object ContainerResourceMetricStatus
case class ContainerResourceMetricStatus(container: String, current: MetricValueStatus, name: String) extends Product with Serializable
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in 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.
- container
Container is the name of the container in the pods of the scaling target
- name
Name is the name of the resource in question.
- Alphabetic
- By Inheritance
- ContainerResourceMetricStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ContainerResourceMetricStatus(container: String, current: MetricValueStatus, name: String)
- container
Container is the name of the container in the pods of the scaling target
- name
Name is the name of the resource in question.
Value Members
- val container: String
- val current: MetricValueStatus
-
def
getContainer: IO[K8sFailure, String]
Container is the name of the container in the pods of the scaling target
Container is the name of the container in the pods of the scaling target
This effect always succeeds, it is safe to use the field container directly.
-
def
getCurrent: IO[K8sFailure, MetricValueStatus]
Gets current.
Gets current.
This effect always succeeds, it is safe to use the field current directly.
-
def
getName: IO[K8sFailure, String]
Name is the name of the resource in question.
Name is the name of the resource in question.
This effect always succeeds, it is safe to use the field name directly.
- val name: String