JobSpec

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

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[Int]("parallelism")(intDecoder).flatMap[String,JobSpec](((parallelism:Option[Int])=>obj.readOpt[String]("completionMode")(stringDecoder).flatMap[String,JobSpec](((completionMode:Option[String])=>obj.readOpt[io.k8s.api.batch.v1.PodFailurePolicy]("podFailurePolicy")(decoder).flatMap[String,JobSpec](((podFailurePolicy:Option[PodFailurePolicy])=>obj.readOpt[Boolean]("manualSelector")(booleanDecoder).flatMap[String,JobSpec](((manualSelector:Option[Boolean])=>obj.readOpt[Boolean]("suspend")(booleanDecoder).flatMap[String,JobSpec](((suspend:Option[Boolean])=>obj.readOpt[Int]("backoffLimit")(intDecoder).flatMap[String,JobSpec](((backoffLimit:Option[Int])=>obj.readOpt[Int]("activeDeadlineSeconds")(intDecoder).flatMap[String,JobSpec](((activeDeadlineSeconds:Option[Int])=>obj.readOpt[Int]("completions")(intDecoder).flatMap[String,JobSpec](((completions:Option[Int])=>obj.readOpt[Int]("ttlSecondsAfterFinished")(intDecoder).flatMap[String,JobSpec](((ttlSecondsAfterFinished:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector]("selector")(decoder).map[JobSpec](((selector:Option[LabelSelector])=>JobSpec.apply(template=template,parallelism=parallelism,completionMode=completionMode,podFailurePolicy=podFailurePolicy,manualSelector=manualSelector,suspend=suspend,backoffLimit=backoffLimit,activeDeadlineSeconds=activeDeadlineSeconds,completions=completions,ttlSecondsAfterFinished=ttlSecondsAfterFinished,selector=selector))))))))))))))))))))))))) } (new$anon():Decoder[JobSpec]) }" class="documentableAnchor">
implicit val obj.readOpt[Int]("parallelism")(intDecoder).flatMap[String,JobSpec](((parallelism:Option[Int])=>obj.readOpt[String]("completionMode")(stringDecoder).flatMap[String,JobSpec](((completionMode:Option[String])=>obj.readOpt[io.k8s.api.batch.v1.PodFailurePolicy]("podFailurePolicy")(decoder).flatMap[String,JobSpec](((podFailurePolicy:Option[PodFailurePolicy])=>obj.readOpt[Boolean]("manualSelector")(booleanDecoder).flatMap[String,JobSpec](((manualSelector:Option[Boolean])=>obj.readOpt[Boolean]("suspend")(booleanDecoder).flatMap[String,JobSpec](((suspend:Option[Boolean])=>obj.readOpt[Int]("backoffLimit")(intDecoder).flatMap[String,JobSpec](((backoffLimit:Option[Int])=>obj.readOpt[Int]("activeDeadlineSeconds")(intDecoder).flatMap[String,JobSpec](((activeDeadlineSeconds:Option[Int])=>obj.readOpt[Int]("completions")(intDecoder).flatMap[String,JobSpec](((completions:Option[Int])=>obj.readOpt[Int]("ttlSecondsAfterFinished")(intDecoder).flatMap[String,JobSpec](((ttlSecondsAfterFinished:Option[Int])=>obj.readOpt[io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector]("selector")(decoder).map[JobSpec](((selector:Option[LabelSelector])=>JobSpec.apply(template=template,parallelism=parallelism,completionMode=completionMode,podFailurePolicy=podFailurePolicy,manualSelector=manualSelector,suspend=suspend,backoffLimit=backoffLimit,activeDeadlineSeconds=activeDeadlineSeconds,completions=completions,ttlSecondsAfterFinished=ttlSecondsAfterFinished,selector=selector))))))))))))))))))))))))) } (new$anon():Decoder[JobSpec]) }" class="documentableName ">decoder: Decoder[JobSpec]
implicit val encoder: Encoder[JobSpec]