object HorizontalPodAutoscalerSpec
- Companion:
- class
- Source:
- HorizontalPodAutoscalerSpec.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Implicits
Implicits
obj.read[io.k8s.api.autoscaling.v1.CrossVersionObjectReference]("scaleTargetRef")(decoder).flatMap[String,HorizontalPodAutoscalerSpec](((scaleTargetRef:CrossVersionObjectReference)=>obj.readOpt[Int]("minReplicas")(intDecoder).flatMap[String,HorizontalPodAutoscalerSpec](((minReplicas:Option[Int])=>obj.readOpt[Int]("targetCPUUtilizationPercentage")(intDecoder).map[HorizontalPodAutoscalerSpec](((targetCPUUtilizationPercentage:Option[Int])=>HorizontalPodAutoscalerSpec.apply(maxReplicas=maxReplicas,scaleTargetRef=scaleTargetRef,minReplicas=minReplicas,targetCPUUtilizationPercentage=targetCPUUtilizationPercentage)))))))))))
}
(new$anon():Decoder[HorizontalPodAutoscalerSpec])
}" class="documentableAnchor">
implicit val obj.read[io.k8s.api.autoscaling.v1.CrossVersionObjectReference]("scaleTargetRef")(decoder).flatMap[String,HorizontalPodAutoscalerSpec](((scaleTargetRef:CrossVersionObjectReference)=>obj.readOpt[Int]("minReplicas")(intDecoder).flatMap[String,HorizontalPodAutoscalerSpec](((minReplicas:Option[Int])=>obj.readOpt[Int]("targetCPUUtilizationPercentage")(intDecoder).map[HorizontalPodAutoscalerSpec](((targetCPUUtilizationPercentage:Option[Int])=>HorizontalPodAutoscalerSpec.apply(maxReplicas=maxReplicas,scaleTargetRef=scaleTargetRef,minReplicas=minReplicas,targetCPUUtilizationPercentage=targetCPUUtilizationPercentage)))))))))))
}
(new$anon():Decoder[HorizontalPodAutoscalerSpec])
}" class="documentableName ">decoder: Decoder[HorizontalPodAutoscalerSpec]