final case class HorizontalPodAutoscalerSpec(maxReplicas: Int, scaleTargetRef: CrossVersionObjectReference, minReplicas: Option[Int] = None, targetCPUUtilizationPercentage: Option[Int] = None) extends Product with Serializable
specification of a horizontal pod autoscaler.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HorizontalPodAutoscalerSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapMaxReplicas(f: (Int) ⇒ Int): HorizontalPodAutoscalerSpec
transforms maxReplicas to 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
-
def
mapTargetCPUUtilizationPercentage(f: (Int) ⇒ Int): HorizontalPodAutoscalerSpec
if targetCPUUtilizationPercentage has a value, transforms to the result of function
- val maxReplicas: Int
- val minReplicas: Option[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val scaleTargetRef: CrossVersionObjectReference
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val targetCPUUtilizationPercentage: Option[Int]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
-
def
withMaxReplicas(value: Int): HorizontalPodAutoscalerSpec
Returns a new data with maxReplicas 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
-
def
withTargetCPUUtilizationPercentage(value: Int): HorizontalPodAutoscalerSpec
Returns a new data with targetCPUUtilizationPercentage set to new value