c
com.coralogix.zio.k8s.model.autoscaling.v2beta2
MetricIdentifier
Companion object MetricIdentifier
case class MetricIdentifier(name: String, selector: Optional[LabelSelector] = Optional.Absent) extends Product with Serializable
MetricIdentifier defines the name and optionally selector for a metric
- name
name is the name of the given metric
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricIdentifier
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
MetricIdentifier(name: String, selector: Optional[LabelSelector] = Optional.Absent)
- name
name is the name of the given metric
Value Members
-
def
getName: IO[K8sFailure, String]
name is the name of the given metric
name is the name of the given metric
This effect always succeeds, it is safe to use the field name directly.
-
def
getSelector: IO[K8sFailure, LabelSelector]
Gets selector.
Gets selector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val name: String
- val selector: Optional[LabelSelector]