object Affinity
- Companion:
- class
- Source:
- Affinity.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.core.v1.PodAffinity]("podAffinity")(decoder).flatMap[String,Affinity](((podAffinity:Option[PodAffinity])=>obj.readOpt[io.k8s.api.core.v1.PodAntiAffinity]("podAntiAffinity")(decoder).map[Affinity](((podAntiAffinity:Option[PodAntiAffinity])=>Affinity.apply(nodeAffinity=nodeAffinity,podAffinity=podAffinity,podAntiAffinity=podAntiAffinity)))))))))
}
(new$anon():Decoder[Affinity])
}" class="documentableAnchor">
implicit val obj.readOpt[io.k8s.api.core.v1.PodAffinity]("podAffinity")(decoder).flatMap[String,Affinity](((podAffinity:Option[PodAffinity])=>obj.readOpt[io.k8s.api.core.v1.PodAntiAffinity]("podAntiAffinity")(decoder).map[Affinity](((podAntiAffinity:Option[PodAntiAffinity])=>Affinity.apply(nodeAffinity=nodeAffinity,podAffinity=podAffinity,podAntiAffinity=podAntiAffinity)))))))))
}
(new$anon():Decoder[Affinity])
}" class="documentableName ">decoder: Decoder[Affinity]
- Source:
- Affinity.scala