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
- Version
- v1.14.6
- Published
- Aug 16, 2019
- Platform
- js/wasm
- Imports
- 27 packages
- Last checked
- 2 minutes ago –
Tools for package owners.