final case class JobSpec(template: PodTemplateSpec, parallelism: Option[Int] = None, completionMode: Option[String] = None, podFailurePolicy: Option[PodFailurePolicy] = None, manualSelector: Option[Boolean] = None, suspend: Option[Boolean] = None, backoffLimit: Option[Int] = None, activeDeadlineSeconds: Option[Int] = None, completions: Option[Int] = None, ttlSecondsAfterFinished: Option[Int] = None, selector: Option[LabelSelector] = None) extends Product with Serializable

JobSpec describes how the job execution will look like.

Source
JobSpec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JobSpec
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JobSpec(template: PodTemplateSpec, parallelism: Option[Int] = None, completionMode: Option[String] = None, podFailurePolicy: Option[PodFailurePolicy] = None, manualSelector: Option[Boolean] = None, suspend: Option[Boolean] = None, backoffLimit: Option[Int] = None, activeDeadlineSeconds: Option[Int] = None, completions: Option[Int] = None, ttlSecondsAfterFinished: Option[Int] = None, selector: Option[LabelSelector] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val activeDeadlineSeconds: Option[Int]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val backoffLimit: Option[Int]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val completionMode: Option[String]
  9. val completions: Option[Int]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val manualSelector: Option[Boolean]
  15. def mapActiveDeadlineSeconds(f: (Int) => Int): JobSpec

    if activeDeadlineSeconds has a value, transforms to the result of function

  16. def mapBackoffLimit(f: (Int) => Int): JobSpec

    if backoffLimit has a value, transforms to the result of function

  17. def mapCompletionMode(f: (String) => String): JobSpec

    if completionMode has a value, transforms to the result of function

  18. def mapCompletions(f: (Int) => Int): JobSpec

    if completions has a value, transforms to the result of function

  19. def mapManualSelector(f: (Boolean) => Boolean): JobSpec

    if manualSelector has a value, transforms to the result of function

  20. def mapParallelism(f: (Int) => Int): JobSpec

    if parallelism has a value, transforms to the result of function

  21. def mapPodFailurePolicy(f: (PodFailurePolicy) => PodFailurePolicy): JobSpec

    if podFailurePolicy has a value, transforms to the result of function

  22. def mapSelector(f: (LabelSelector) => LabelSelector): JobSpec

    if selector has a value, transforms to the result of function

  23. def mapSuspend(f: (Boolean) => Boolean): JobSpec

    if suspend has a value, transforms to the result of function

  24. def mapTemplate(f: (PodTemplateSpec) => PodTemplateSpec): JobSpec

    transforms template to result of function

  25. def mapTtlSecondsAfterFinished(f: (Int) => Int): JobSpec

    if ttlSecondsAfterFinished has a value, transforms to the result of function

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val parallelism: Option[Int]
  30. val podFailurePolicy: Option[PodFailurePolicy]
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. val selector: Option[LabelSelector]
  33. val suspend: Option[Boolean]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val template: PodTemplateSpec
  36. val ttlSecondsAfterFinished: Option[Int]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. def withActiveDeadlineSeconds(value: Int): JobSpec

    Returns a new data with activeDeadlineSeconds set to new value

  41. def withBackoffLimit(value: Int): JobSpec

    Returns a new data with backoffLimit set to new value

  42. def withCompletionMode(value: String): JobSpec

    Returns a new data with completionMode set to new value

  43. def withCompletions(value: Int): JobSpec

    Returns a new data with completions set to new value

  44. def withManualSelector(value: Boolean): JobSpec

    Returns a new data with manualSelector set to new value

  45. def withParallelism(value: Int): JobSpec

    Returns a new data with parallelism set to new value

  46. def withPodFailurePolicy(value: PodFailurePolicy): JobSpec

    Returns a new data with podFailurePolicy set to new value

  47. def withSelector(value: LabelSelector): JobSpec

    Returns a new data with selector set to new value

  48. def withSuspend(value: Boolean): JobSpec

    Returns a new data with suspend set to new value

  49. def withTemplate(value: PodTemplateSpec): JobSpec

    Returns a new data with template set to new value

  50. def withTtlSecondsAfterFinished(value: Int): JobSpec

    Returns a new data with ttlSecondsAfterFinished set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped