object TopologySpreadConstraint
- Companion:
- class
- Source:
- TopologySpreadConstraint.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]("topologyKey")(stringDecoder).flatMap[String,TopologySpreadConstraint](((topologyKey:String)=>obj.read[String]("whenUnsatisfiable")(stringDecoder).flatMap[String,TopologySpreadConstraint](((whenUnsatisfiable:String)=>obj.readOpt[Seq[String]]("matchLabelKeys")(arrDecoder[String](stringDecoder)).flatMap[String,TopologySpreadConstraint](((matchLabelKeys:Option[Seq[String]])=>obj.readOpt[Int]("minDomains")(intDecoder).flatMap[String,TopologySpreadConstraint](((minDomains:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector]("labelSelector")(decoder).flatMap[String,TopologySpreadConstraint](((labelSelector:Option[LabelSelector])=>obj.readOpt[String]("nodeAffinityPolicy")(stringDecoder).flatMap[String,TopologySpreadConstraint](((nodeAffinityPolicy:Option[String])=>obj.readOpt[String]("nodeTaintsPolicy")(stringDecoder).map[TopologySpreadConstraint](((nodeTaintsPolicy:Option[String])=>TopologySpreadConstraint.apply(maxSkew=maxSkew,topologyKey=topologyKey,whenUnsatisfiable=whenUnsatisfiable,matchLabelKeys=matchLabelKeys,minDomains=minDomains,labelSelector=labelSelector,nodeAffinityPolicy=nodeAffinityPolicy,nodeTaintsPolicy=nodeTaintsPolicy)))))))))))))))))))
}
(new$anon():Decoder[TopologySpreadConstraint])
}" class="documentableAnchor">
implicit val obj.read[String]("topologyKey")(stringDecoder).flatMap[String,TopologySpreadConstraint](((topologyKey:String)=>obj.read[String]("whenUnsatisfiable")(stringDecoder).flatMap[String,TopologySpreadConstraint](((whenUnsatisfiable:String)=>obj.readOpt[Seq[String]]("matchLabelKeys")(arrDecoder[String](stringDecoder)).flatMap[String,TopologySpreadConstraint](((matchLabelKeys:Option[Seq[String]])=>obj.readOpt[Int]("minDomains")(intDecoder).flatMap[String,TopologySpreadConstraint](((minDomains:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector]("labelSelector")(decoder).flatMap[String,TopologySpreadConstraint](((labelSelector:Option[LabelSelector])=>obj.readOpt[String]("nodeAffinityPolicy")(stringDecoder).flatMap[String,TopologySpreadConstraint](((nodeAffinityPolicy:Option[String])=>obj.readOpt[String]("nodeTaintsPolicy")(stringDecoder).map[TopologySpreadConstraint](((nodeTaintsPolicy:Option[String])=>TopologySpreadConstraint.apply(maxSkew=maxSkew,topologyKey=topologyKey,whenUnsatisfiable=whenUnsatisfiable,matchLabelKeys=matchLabelKeys,minDomains=minDomains,labelSelector=labelSelector,nodeAffinityPolicy=nodeAffinityPolicy,nodeTaintsPolicy=nodeTaintsPolicy)))))))))))))))))))
}
(new$anon():Decoder[TopologySpreadConstraint])
}" class="documentableName ">decoder: Decoder[TopologySpreadConstraint]