object EndpointSlice
- Companion:
- class
- Source:
- EndpointSlice.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[String]("addressType")(stringDecoder[T](evidence$2)).flatMap[String,EndpointSlice](((addressType:String)=>obj.readOpt[Seq[io.k8s.api.discovery.v1.EndpointPort]]("ports")(arrDecoder[T,EndpointPort](evidence$2,decoderOf[T](evidence$2))).flatMap[String,EndpointSlice](((ports:Option[Seq[EndpointPort]])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta]("metadata")(decoderOf[T](evidence$2)).map[EndpointSlice](((metadata:Option[ObjectMeta])=>EndpointSlice.apply(endpoints=endpoints,addressType=addressType,ports=ports,metadata=metadata)))))))))))
}
(new$anon():Decoder[T,EndpointSlice])
}" class="documentableAnchor">
implicit def obj.read[String]("addressType")(stringDecoder[T](evidence$2)).flatMap[String,EndpointSlice](((addressType:String)=>obj.readOpt[Seq[io.k8s.api.discovery.v1.EndpointPort]]("ports")(arrDecoder[T,EndpointPort](evidence$2,decoderOf[T](evidence$2))).flatMap[String,EndpointSlice](((ports:Option[Seq[EndpointPort]])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta]("metadata")(decoderOf[T](evidence$2)).map[EndpointSlice](((metadata:Option[ObjectMeta])=>EndpointSlice.apply(endpoints=endpoints,addressType=addressType,ports=ports,metadata=metadata)))))))))))
}
(new$anon():Decoder[T,EndpointSlice])
}" class="documentableName ">decoderOf[T : Reader]: Decoder[T, EndpointSlice]
- Source:
- EndpointSlice.scala