com.coralogix.zio.k8s.model.autoscaling.v2beta1
ObjectMetricSource
Companion object ObjectMetricSource
case class ObjectMetricSource(averageValue: Optional[Quantity] = Optional.Absent, metricName: String, selector: Optional[LabelSelector] = Optional.Absent, target: CrossVersionObjectReference, targetValue: Quantity) extends Product with Serializable
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
- metricName
metricName is the name of the metric in question.
- Alphabetic
- By Inheritance
- ObjectMetricSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ObjectMetricSource(averageValue: Optional[Quantity] = Optional.Absent, metricName: String, selector: Optional[LabelSelector] = Optional.Absent, target: CrossVersionObjectReference, targetValue: Quantity)
- metricName
metricName is the name of the metric in question.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val averageValue: Optional[Quantity]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
getAverageValue: IO[K8sFailure, Quantity]
Gets averageValue.
Gets averageValue.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getMetricName: IO[K8sFailure, String]
metricName is the name of the metric in question.
metricName is the name of the metric in question.
This effect always succeeds, it is safe to use the field metricName directly.
-
def
getSelector: IO[K8sFailure, LabelSelector]
Gets selector.
Gets selector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getTarget: IO[K8sFailure, CrossVersionObjectReference]
Gets target.
Gets target.
This effect always succeeds, it is safe to use the field target directly.
-
def
getTargetValue: IO[K8sFailure, Quantity]
Gets targetValue.
Gets targetValue.
This effect always succeeds, it is safe to use the field targetValue directly.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metricName: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val selector: Optional[LabelSelector]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val target: CrossVersionObjectReference
- val targetValue: Quantity
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated