final case class JobSpec(template: PodTemplateSpec, parallelism: Option[Int] = None, podReplacementPolicy: Option[String] = None, completionMode: Option[String] = None, maxFailedIndexes: Option[Int] = None, podFailurePolicy: Option[PodFailurePolicy] = None, manualSelector: Option[Boolean] = None, backoffLimitPerIndex: Option[Int] = None, suspend: Option[Boolean] = None, backoffLimit: Option[Int] = None, activeDeadlineSeconds: Option[Long] = 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JobSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JobSpec(template: PodTemplateSpec, parallelism: Option[Int] = None, podReplacementPolicy: Option[String] = None, completionMode: Option[String] = None, maxFailedIndexes: Option[Int] = None, podFailurePolicy: Option[PodFailurePolicy] = None, manualSelector: Option[Boolean] = None, backoffLimitPerIndex: Option[Int] = None, suspend: Option[Boolean] = None, backoffLimit: Option[Int] = None, activeDeadlineSeconds: Option[Long] = 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[Long]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val backoffLimit: Option[Int]
  7. val backoffLimitPerIndex: Option[Int]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. val completionMode: Option[String]
  10. val completions: Option[Int]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val manualSelector: Option[Boolean]
  15. def mapActiveDeadlineSeconds(f: (Long) ⇒ Long): 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 mapBackoffLimitPerIndex(f: (Int) ⇒ Int): JobSpec

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

  18. def mapCompletionMode(f: (String) ⇒ String): JobSpec

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

  19. def mapCompletions(f: (Int) ⇒ Int): JobSpec

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

  20. def mapManualSelector(f: (Boolean) ⇒ Boolean): JobSpec

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

  21. def mapMaxFailedIndexes(f: (Int) ⇒ Int): JobSpec

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

  22. def mapParallelism(f: (Int) ⇒ Int): JobSpec

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

  23. def mapPodFailurePolicy(f: (PodFailurePolicy) ⇒ PodFailurePolicy): JobSpec

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

  24. def mapPodReplacementPolicy(f: (String) ⇒ String): JobSpec

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

  25. def mapSelector(f: (LabelSelector) ⇒ LabelSelector): JobSpec

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

  26. def mapSuspend(f: (Boolean) ⇒ Boolean): JobSpec

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

  27. def mapTemplate(f: (PodTemplateSpec) ⇒ PodTemplateSpec): JobSpec

    transforms template to result of function

  28. def mapTtlSecondsAfterFinished(f: (Int) ⇒ Int): JobSpec

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

  29. val maxFailedIndexes: Option[Int]
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. val parallelism: Option[Int]
  34. val podFailurePolicy: Option[PodFailurePolicy]
  35. val podReplacementPolicy: Option[String]
  36. val selector: Option[LabelSelector]
  37. val suspend: Option[Boolean]
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. val template: PodTemplateSpec
  40. val ttlSecondsAfterFinished: Option[Int]
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def withActiveDeadlineSeconds(value: Long): JobSpec

    Returns a new data with activeDeadlineSeconds set to new value

  45. def withBackoffLimit(value: Int): JobSpec

    Returns a new data with backoffLimit set to new value

  46. def withBackoffLimitPerIndex(value: Int): JobSpec

    Returns a new data with backoffLimitPerIndex set to new value

  47. def withCompletionMode(value: String): JobSpec

    Returns a new data with completionMode set to new value

  48. def withCompletions(value: Int): JobSpec

    Returns a new data with completions set to new value

  49. def withManualSelector(value: Boolean): JobSpec

    Returns a new data with manualSelector set to new value

  50. def withMaxFailedIndexes(value: Int): JobSpec

    Returns a new data with maxFailedIndexes set to new value

  51. def withParallelism(value: Int): JobSpec

    Returns a new data with parallelism set to new value

  52. def withPodFailurePolicy(value: PodFailurePolicy): JobSpec

    Returns a new data with podFailurePolicy set to new value

  53. def withPodReplacementPolicy(value: String): JobSpec

    Returns a new data with podReplacementPolicy set to new value

  54. def withSelector(value: LabelSelector): JobSpec

    Returns a new data with selector set to new value

  55. def withSuspend(value: Boolean): JobSpec

    Returns a new data with suspend set to new value

  56. def withTemplate(value: PodTemplateSpec): JobSpec

    Returns a new data with template set to new value

  57. def withTtlSecondsAfterFinished(value: Int): JobSpec

    Returns a new data with ttlSecondsAfterFinished set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped