final case class HorizontalPodAutoscalerSpec(maxReplicas: Int, scaleTargetRef: CrossVersionObjectReference, minReplicas: Option[Int] = None, metrics: Option[Seq[MetricSpec]] = None, behavior: Option[HorizontalPodAutoscalerBehavior] = None) extends Product with Serializable
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HorizontalPodAutoscalerSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HorizontalPodAutoscalerSpec(maxReplicas: Int, scaleTargetRef: CrossVersionObjectReference, minReplicas: Option[Int] = None, metrics: Option[Seq[MetricSpec]] = None, behavior: Option[HorizontalPodAutoscalerBehavior] = None)
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
-
def
addMetrics(newValues: MetricSpec*): HorizontalPodAutoscalerSpec
Appends new values to metrics
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val behavior: Option[HorizontalPodAutoscalerBehavior]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapBehavior(f: (HorizontalPodAutoscalerBehavior) ⇒ HorizontalPodAutoscalerBehavior): HorizontalPodAutoscalerSpec
if behavior has a value, transforms to the result of function
-
def
mapMaxReplicas(f: (Int) ⇒ Int): HorizontalPodAutoscalerSpec
transforms maxReplicas to result of function
-
def
mapMetrics(f: (Seq[MetricSpec]) ⇒ Seq[MetricSpec]): HorizontalPodAutoscalerSpec
if metrics has a value, transforms to the result of function
-
def
mapMinReplicas(f: (Int) ⇒ Int): HorizontalPodAutoscalerSpec
if minReplicas has a value, transforms to the result of function
-
def
mapScaleTargetRef(f: (CrossVersionObjectReference) ⇒ CrossVersionObjectReference): HorizontalPodAutoscalerSpec
transforms scaleTargetRef to result of function
- val maxReplicas: Int
- val metrics: Option[Seq[MetricSpec]]
- val minReplicas: Option[Int]
-
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 scaleTargetRef: CrossVersionObjectReference
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
-
def
withBehavior(value: HorizontalPodAutoscalerBehavior): HorizontalPodAutoscalerSpec
Returns a new data with behavior set to new value
-
def
withMaxReplicas(value: Int): HorizontalPodAutoscalerSpec
Returns a new data with maxReplicas set to new value
-
def
withMetrics(value: Seq[MetricSpec]): HorizontalPodAutoscalerSpec
Returns a new data with metrics set to new value
-
def
withMinReplicas(value: Int): HorizontalPodAutoscalerSpec
Returns a new data with minReplicas set to new value
-
def
withScaleTargetRef(value: CrossVersionObjectReference): HorizontalPodAutoscalerSpec
Returns a new data with scaleTargetRef set to new value