public class V1JobSpec extends Object
Constructor and Description |
---|
V1JobSpec() |
Modifier and Type | Method and Description |
---|---|
V1JobSpec |
activeDeadlineSeconds(Long activeDeadlineSeconds) |
V1JobSpec |
completions(Integer completions) |
boolean |
equals(Object o) |
Long |
getActiveDeadlineSeconds()
Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
|
Integer |
getCompletions()
Completions specifies the desired number of successfully finished pods the job should be run with.
|
Integer |
getParallelism()
Parallelism specifies the maximum desired number of pods the job should run at any given time.
|
V1LabelSelector |
getSelector()
Selector is a label query over pods that should match the pod count.
|
V1PodTemplateSpec |
getTemplate()
Template is the object that describes the pod that will be created when executing a job.
|
int |
hashCode() |
Boolean |
isManualSelector()
ManualSelector controls generation of pod labels and pod selectors.
|
V1JobSpec |
manualSelector(Boolean manualSelector) |
V1JobSpec |
parallelism(Integer parallelism) |
V1JobSpec |
selector(V1LabelSelector selector) |
void |
setActiveDeadlineSeconds(Long activeDeadlineSeconds) |
void |
setCompletions(Integer completions) |
void |
setManualSelector(Boolean manualSelector) |
void |
setParallelism(Integer parallelism) |
void |
setSelector(V1LabelSelector selector) |
void |
setTemplate(V1PodTemplateSpec template) |
V1JobSpec |
template(V1PodTemplateSpec template) |
String |
toString() |
public Long getActiveDeadlineSeconds()
public void setActiveDeadlineSeconds(Long activeDeadlineSeconds)
public Integer getCompletions()
public void setCompletions(Integer completions)
public Boolean isManualSelector()
public void setManualSelector(Boolean manualSelector)
public Integer getParallelism()
public void setParallelism(Integer parallelism)
public V1JobSpec selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V1JobSpec template(V1PodTemplateSpec template)
public V1PodTemplateSpec getTemplate()
public void setTemplate(V1PodTemplateSpec template)
Copyright © 2017. All rights reserved.