JobSpec

io.k8s.api.batch.v1.JobSpec
See theJobSpec companion object
final case class JobSpec(template: PodTemplateSpec, parallelism: Option[Int], podReplacementPolicy: Option[String], completionMode: Option[String], maxFailedIndexes: Option[Int], podFailurePolicy: Option[PodFailurePolicy], manualSelector: Option[Boolean], backoffLimitPerIndex: Option[Int], suspend: Option[Boolean], backoffLimit: Option[Int], activeDeadlineSeconds: Option[Long], completions: Option[Int], ttlSecondsAfterFinished: Option[Int], selector: Option[LabelSelector])

JobSpec describes how the job execution will look like.

Attributes

Companion
object
Source
JobSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapActiveDeadlineSeconds(f: Long => Long): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapBackoffLimit(f: Int => Int): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapBackoffLimitPerIndex(f: Int => Int): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapCompletionMode(f: String => String): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapCompletions(f: Int => Int): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapManualSelector(f: Boolean => Boolean): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapMaxFailedIndexes(f: Int => Int): JobSpec

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

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

Attributes

Source
JobSpec.scala
def mapParallelism(f: Int => Int): JobSpec

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

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

Attributes

Source
JobSpec.scala

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

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

Attributes

Source
JobSpec.scala
def mapPodReplacementPolicy(f: String => String): JobSpec

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

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

Attributes

Source
JobSpec.scala

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

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

Attributes

Source
JobSpec.scala
def mapSuspend(f: Boolean => Boolean): JobSpec

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

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

Attributes

Source
JobSpec.scala

transforms template to result of function

transforms template to result of function

Attributes

Source
JobSpec.scala
def mapTtlSecondsAfterFinished(f: Int => Int): JobSpec

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

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

Attributes

Source
JobSpec.scala

Returns a new data with activeDeadlineSeconds set to new value

Returns a new data with activeDeadlineSeconds set to new value

Attributes

Source
JobSpec.scala
def withBackoffLimit(value: Int): JobSpec

Returns a new data with backoffLimit set to new value

Returns a new data with backoffLimit set to new value

Attributes

Source
JobSpec.scala

Returns a new data with backoffLimitPerIndex set to new value

Returns a new data with backoffLimitPerIndex set to new value

Attributes

Source
JobSpec.scala
def withCompletionMode(value: String): JobSpec

Returns a new data with completionMode set to new value

Returns a new data with completionMode set to new value

Attributes

Source
JobSpec.scala
def withCompletions(value: Int): JobSpec

Returns a new data with completions set to new value

Returns a new data with completions set to new value

Attributes

Source
JobSpec.scala
def withManualSelector(value: Boolean): JobSpec

Returns a new data with manualSelector set to new value

Returns a new data with manualSelector set to new value

Attributes

Source
JobSpec.scala
def withMaxFailedIndexes(value: Int): JobSpec

Returns a new data with maxFailedIndexes set to new value

Returns a new data with maxFailedIndexes set to new value

Attributes

Source
JobSpec.scala
def withParallelism(value: Int): JobSpec

Returns a new data with parallelism set to new value

Returns a new data with parallelism set to new value

Attributes

Source
JobSpec.scala

Returns a new data with podFailurePolicy set to new value

Returns a new data with podFailurePolicy set to new value

Attributes

Source
JobSpec.scala
def withPodReplacementPolicy(value: String): JobSpec

Returns a new data with podReplacementPolicy set to new value

Returns a new data with podReplacementPolicy set to new value

Attributes

Source
JobSpec.scala

Returns a new data with selector set to new value

Returns a new data with selector set to new value

Attributes

Source
JobSpec.scala
def withSuspend(value: Boolean): JobSpec

Returns a new data with suspend set to new value

Returns a new data with suspend set to new value

Attributes

Source
JobSpec.scala

Returns a new data with template set to new value

Returns a new data with template set to new value

Attributes

Source
JobSpec.scala

Returns a new data with ttlSecondsAfterFinished set to new value

Returns a new data with ttlSecondsAfterFinished set to new value

Attributes

Source
JobSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product