package job
import "k8s.io/kubernetes/pkg/controller/job"
Package job contains logic for watching and synchronizing jobs.
Index ¶
Variables ¶
var ( // DefaultJobBackOff is the max backoff period, exported for the e2e test DefaultJobBackOff = 10 * time.Second // MaxJobBackOff is the max backoff period, exported for the e2e test MaxJobBackOff = 360 * time.Second )
Functions ¶
func IsJobFinished ¶
Types ¶
type JobController ¶
type JobController struct {
// contains filtered or unexported fields
}
func NewJobController ¶
func NewJobController(podInformer coreinformers.PodInformer, jobInformer batchinformers.JobInformer, kubeClient clientset.Interface) *JobController
func (*JobController) Run ¶
func (jm *JobController) Run(workers int, stopCh <-chan struct{})
Run the main goroutine responsible for watching and syncing jobs.
Source Files ¶
doc.go job_controller.go utils.go
Directories ¶
Path | Synopsis |
---|---|
pkg/controller/job/config | |
pkg/controller/job/config/v1alpha1 |
- Version
- v1.17.2
- Published
- Jan 18, 2020
- Platform
- js/wasm
- Imports
- 27 packages
- Last checked
- 26 seconds ago –
Tools for package owners.