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
- Alphabetic
- By Inheritance
- JobSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val activeDeadlineSeconds: Option[Long]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backoffLimit: Option[Int]
- val backoffLimitPerIndex: Option[Int]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val completionMode: Option[String]
- val completions: Option[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val manualSelector: Option[Boolean]
-
def
mapActiveDeadlineSeconds(f: (Long) ⇒ Long): JobSpec
if activeDeadlineSeconds has a value, transforms to the result of function
-
def
mapBackoffLimit(f: (Int) ⇒ Int): JobSpec
if backoffLimit has a value, transforms to the result of function
-
def
mapBackoffLimitPerIndex(f: (Int) ⇒ Int): JobSpec
if backoffLimitPerIndex has a value, transforms to the result of function
-
def
mapCompletionMode(f: (String) ⇒ String): JobSpec
if completionMode has a value, transforms to the result of function
-
def
mapCompletions(f: (Int) ⇒ Int): JobSpec
if completions has a value, transforms to the result of function
-
def
mapManualSelector(f: (Boolean) ⇒ Boolean): JobSpec
if manualSelector has a value, transforms to the result of function
-
def
mapMaxFailedIndexes(f: (Int) ⇒ Int): JobSpec
if maxFailedIndexes has a value, transforms to the result of function
-
def
mapParallelism(f: (Int) ⇒ Int): JobSpec
if parallelism has a value, transforms to the result of function
-
def
mapPodFailurePolicy(f: (PodFailurePolicy) ⇒ PodFailurePolicy): JobSpec
if podFailurePolicy has a value, transforms to the result of function
-
def
mapPodReplacementPolicy(f: (String) ⇒ String): JobSpec
if podReplacementPolicy has a value, transforms to the result of function
-
def
mapSelector(f: (LabelSelector) ⇒ LabelSelector): JobSpec
if selector has a value, transforms to the result of function
-
def
mapSuspend(f: (Boolean) ⇒ Boolean): JobSpec
if suspend has a value, transforms to the result of function
-
def
mapTemplate(f: (PodTemplateSpec) ⇒ PodTemplateSpec): JobSpec
transforms template to result of function
-
def
mapTtlSecondsAfterFinished(f: (Int) ⇒ Int): JobSpec
if ttlSecondsAfterFinished has a value, transforms to the result of function
- val maxFailedIndexes: Option[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parallelism: Option[Int]
- val podFailurePolicy: Option[PodFailurePolicy]
- val podReplacementPolicy: Option[String]
- val selector: Option[LabelSelector]
- val suspend: Option[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val template: PodTemplateSpec
- val ttlSecondsAfterFinished: Option[Int]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withActiveDeadlineSeconds(value: Long): JobSpec
Returns a new data with activeDeadlineSeconds set to new value
-
def
withBackoffLimit(value: Int): JobSpec
Returns a new data with backoffLimit set to new value
-
def
withBackoffLimitPerIndex(value: Int): JobSpec
Returns a new data with backoffLimitPerIndex set to new value
-
def
withCompletionMode(value: String): JobSpec
Returns a new data with completionMode set to new value
-
def
withCompletions(value: Int): JobSpec
Returns a new data with completions set to new value
-
def
withManualSelector(value: Boolean): JobSpec
Returns a new data with manualSelector set to new value
-
def
withMaxFailedIndexes(value: Int): JobSpec
Returns a new data with maxFailedIndexes set to new value
-
def
withParallelism(value: Int): JobSpec
Returns a new data with parallelism set to new value
-
def
withPodFailurePolicy(value: PodFailurePolicy): JobSpec
Returns a new data with podFailurePolicy set to new value
-
def
withPodReplacementPolicy(value: String): JobSpec
Returns a new data with podReplacementPolicy set to new value
-
def
withSelector(value: LabelSelector): JobSpec
Returns a new data with selector set to new value
-
def
withSuspend(value: Boolean): JobSpec
Returns a new data with suspend set to new value
-
def
withTemplate(value: PodTemplateSpec): JobSpec
Returns a new data with template set to new value
-
def
withTtlSecondsAfterFinished(value: Int): JobSpec
Returns a new data with ttlSecondsAfterFinished set to new value