NodeStatus

object NodeStatus
Companion:
class
Source:
NodeStatus.scala
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Implicits

Implicits

obj.readOpt[Seq[io.k8s.api.core.v1.NodeCondition]]("conditions")(arrDecoder[NodeCondition](decoder)).flatMap[String,NodeStatus](((conditions:Option[Seq[NodeCondition]])=>obj.readOpt[io.k8s.api.core.v1.NodeSystemInfo]("nodeInfo")(decoder).flatMap[String,NodeStatus](((nodeInfo:Option[NodeSystemInfo])=>obj.readOpt[Seq[io.k8s.api.core.v1.AttachedVolume]]("volumesAttached")(arrDecoder[AttachedVolume](decoder)).flatMap[String,NodeStatus](((volumesAttached:Option[Seq[AttachedVolume]])=>obj.readOpt[String]("phase")(stringDecoder).flatMap[String,NodeStatus](((phase:Option[String])=>obj.readOpt[io.k8s.api.core.v1.NodeConfigStatus]("config")(decoder).flatMap[String,NodeStatus](((config:Option[NodeConfigStatus])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("allocatable")(mapDecoder[Quantity](decoder)).flatMap[String,NodeStatus](((allocatable:Option[Map[String,Quantity]])=>obj.readOpt[Seq[io.k8s.api.core.v1.ContainerImage]]("images")(arrDecoder[ContainerImage](decoder)).flatMap[String,NodeStatus](((images:Option[Seq[ContainerImage]])=>obj.readOpt[io.k8s.api.core.v1.NodeDaemonEndpoints]("daemonEndpoints")(decoder).flatMap[String,NodeStatus](((daemonEndpoints:Option[NodeDaemonEndpoints])=>obj.readOpt[Seq[io.k8s.api.core.v1.NodeAddress]]("addresses")(arrDecoder[NodeAddress](decoder)).flatMap[String,NodeStatus](((addresses:Option[Seq[NodeAddress]])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("capacity")(mapDecoder[Quantity](decoder)).map[NodeStatus](((capacity:Option[Map[String,Quantity]])=>NodeStatus.apply(volumesInUse=volumesInUse,conditions=conditions,nodeInfo=nodeInfo,volumesAttached=volumesAttached,phase=phase,config=config,allocatable=allocatable,images=images,daemonEndpoints=daemonEndpoints,addresses=addresses,capacity=capacity))))))))))))))))))))))))) } (new$anon():Decoder[NodeStatus]) }" class="documentableAnchor">
implicit val obj.readOpt[Seq[io.k8s.api.core.v1.NodeCondition]]("conditions")(arrDecoder[NodeCondition](decoder)).flatMap[String,NodeStatus](((conditions:Option[Seq[NodeCondition]])=>obj.readOpt[io.k8s.api.core.v1.NodeSystemInfo]("nodeInfo")(decoder).flatMap[String,NodeStatus](((nodeInfo:Option[NodeSystemInfo])=>obj.readOpt[Seq[io.k8s.api.core.v1.AttachedVolume]]("volumesAttached")(arrDecoder[AttachedVolume](decoder)).flatMap[String,NodeStatus](((volumesAttached:Option[Seq[AttachedVolume]])=>obj.readOpt[String]("phase")(stringDecoder).flatMap[String,NodeStatus](((phase:Option[String])=>obj.readOpt[io.k8s.api.core.v1.NodeConfigStatus]("config")(decoder).flatMap[String,NodeStatus](((config:Option[NodeConfigStatus])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("allocatable")(mapDecoder[Quantity](decoder)).flatMap[String,NodeStatus](((allocatable:Option[Map[String,Quantity]])=>obj.readOpt[Seq[io.k8s.api.core.v1.ContainerImage]]("images")(arrDecoder[ContainerImage](decoder)).flatMap[String,NodeStatus](((images:Option[Seq[ContainerImage]])=>obj.readOpt[io.k8s.api.core.v1.NodeDaemonEndpoints]("daemonEndpoints")(decoder).flatMap[String,NodeStatus](((daemonEndpoints:Option[NodeDaemonEndpoints])=>obj.readOpt[Seq[io.k8s.api.core.v1.NodeAddress]]("addresses")(arrDecoder[NodeAddress](decoder)).flatMap[String,NodeStatus](((addresses:Option[Seq[NodeAddress]])=>obj.readOpt[Map[String,io.k8s.apimachinery.pkg.api.resource.Quantity]]("capacity")(mapDecoder[Quantity](decoder)).map[NodeStatus](((capacity:Option[Map[String,Quantity]])=>NodeStatus.apply(volumesInUse=volumesInUse,conditions=conditions,nodeInfo=nodeInfo,volumesAttached=volumesAttached,phase=phase,config=config,allocatable=allocatable,images=images,daemonEndpoints=daemonEndpoints,addresses=addresses,capacity=capacity))))))))))))))))))))))))) } (new$anon():Decoder[NodeStatus]) }" class="documentableName ">decoder: Decoder[NodeStatus]