object MetricSpec
- Companion:
- class
- Source:
- MetricSpec.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.readOpt[io.k8s.api.autoscaling.v2beta2.ObjectMetricSource]("object")(decoder).flatMap[String,MetricSpec](((object:Option[ObjectMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.ExternalMetricSource]("external")(decoder).flatMap[String,MetricSpec](((external:Option[ExternalMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource]("containerResource")(decoder).flatMap[String,MetricSpec](((containerResource:Option[ContainerResourceMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.ResourceMetricSource]("resource")(decoder).flatMap[String,MetricSpec](((resource:Option[ResourceMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.PodsMetricSource]("pods")(decoder).map[MetricSpec](((pods:Option[PodsMetricSource])=>MetricSpec.apply(type=type,object=object,external=external,containerResource=containerResource,resource=resource,pods=pods)))))))))))))))
}
(new$anon():Decoder[MetricSpec])
}" class="documentableAnchor">
implicit val obj.readOpt[io.k8s.api.autoscaling.v2beta2.ObjectMetricSource]("object")(decoder).flatMap[String,MetricSpec](((object:Option[ObjectMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.ExternalMetricSource]("external")(decoder).flatMap[String,MetricSpec](((external:Option[ExternalMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource]("containerResource")(decoder).flatMap[String,MetricSpec](((containerResource:Option[ContainerResourceMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.ResourceMetricSource]("resource")(decoder).flatMap[String,MetricSpec](((resource:Option[ResourceMetricSource])=>obj.readOpt[io.k8s.api.autoscaling.v2beta2.PodsMetricSource]("pods")(decoder).map[MetricSpec](((pods:Option[PodsMetricSource])=>MetricSpec.apply(type=type,object=object,external=external,containerResource=containerResource,resource=resource,pods=pods)))))))))))))))
}
(new$anon():Decoder[MetricSpec])
}" class="documentableName ">decoder: Decoder[MetricSpec]
- Source:
- MetricSpec.scala