object MetricTarget
- Companion:
- class
- Source:
- MetricTarget.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[Int]("averageUtilization")(intDecoder[T](evidence$1)).flatMap[String,MetricTarget](((averageUtilization:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("averageValue")(decoder[T](evidence$1)).flatMap[String,MetricTarget](((averageValue:Option[Quantity])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("value")(decoder[T](evidence$1)).map[MetricTarget](((value:Option[Quantity])=>MetricTarget.apply(type=type,averageUtilization=averageUtilization,averageValue=averageValue,value=value)))))))))))
}
(new$anon():Decoder[T,MetricTarget])
}" class="documentableAnchor">
implicit def obj.readOpt[Int]("averageUtilization")(intDecoder[T](evidence$1)).flatMap[String,MetricTarget](((averageUtilization:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("averageValue")(decoder[T](evidence$1)).flatMap[String,MetricTarget](((averageValue:Option[Quantity])=>obj.readOpt[io.k8s.apimachinery.pkg.api.resource.Quantity]("value")(decoder[T](evidence$1)).map[MetricTarget](((value:Option[Quantity])=>MetricTarget.apply(type=type,averageUtilization=averageUtilization,averageValue=averageValue,value=value)))))))))))
}
(new$anon():Decoder[T,MetricTarget])
}" class="documentableName ">decoderOf[T : Reader]: Decoder[T, MetricTarget]
- Source:
- MetricTarget.scala