object ContainerStatus
- Companion:
- class
- Source:
- ContainerStatus.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]("image")(stringDecoder).flatMap[String,ContainerStatus](((image:String)=>obj.read[Int]("restartCount")(intDecoder).flatMap[String,ContainerStatus](((restartCount:Int)=>obj.read[Boolean]("ready")(booleanDecoder).flatMap[String,ContainerStatus](((ready:Boolean)=>obj.read[String]("imageID")(stringDecoder).flatMap[String,ContainerStatus](((imageID:String)=>obj.readOpt[io.k8s.api.core.v1.ContainerState]("state")(decoder).flatMap[String,ContainerStatus](((state:Option[ContainerState])=>obj.readOpt[io.k8s.api.core.v1.ContainerState]("lastState")(decoder).flatMap[String,ContainerStatus](((lastState:Option[ContainerState])=>obj.readOpt[String]("containerID")(stringDecoder).flatMap[String,ContainerStatus](((containerID:Option[String])=>obj.readOpt[Boolean]("started")(booleanDecoder).map[ContainerStatus](((started:Option[Boolean])=>ContainerStatus.apply(name=name,image=image,restartCount=restartCount,ready=ready,imageID=imageID,state=state,lastState=lastState,containerID=containerID,started=started)))))))))))))))))))))
}
(new$anon():Decoder[ContainerStatus])
}" class="documentableAnchor">
implicit val obj.read[String]("image")(stringDecoder).flatMap[String,ContainerStatus](((image:String)=>obj.read[Int]("restartCount")(intDecoder).flatMap[String,ContainerStatus](((restartCount:Int)=>obj.read[Boolean]("ready")(booleanDecoder).flatMap[String,ContainerStatus](((ready:Boolean)=>obj.read[String]("imageID")(stringDecoder).flatMap[String,ContainerStatus](((imageID:String)=>obj.readOpt[io.k8s.api.core.v1.ContainerState]("state")(decoder).flatMap[String,ContainerStatus](((state:Option[ContainerState])=>obj.readOpt[io.k8s.api.core.v1.ContainerState]("lastState")(decoder).flatMap[String,ContainerStatus](((lastState:Option[ContainerState])=>obj.readOpt[String]("containerID")(stringDecoder).flatMap[String,ContainerStatus](((containerID:Option[String])=>obj.readOpt[Boolean]("started")(booleanDecoder).map[ContainerStatus](((started:Option[Boolean])=>ContainerStatus.apply(name=name,image=image,restartCount=restartCount,ready=ready,imageID=imageID,state=state,lastState=lastState,containerID=containerID,started=started)))))))))))))))))))))
}
(new$anon():Decoder[ContainerStatus])
}" class="documentableName ">decoder: Decoder[ContainerStatus]
- Source:
- ContainerStatus.scala