kubernetes: k8s.io/kubernetes/pkg/controller/job Index | Files | Directories

package job

import "k8s.io/kubernetes/pkg/controller/job"

Package job contains logic for watching and synchronizing jobs.


Package Files

doc.go job_controller.go utils.go


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

func IsJobFinished Uses

func IsJobFinished(j *batch.Job) bool

type JobController Uses

type JobController struct {
    // contains filtered or unexported fields

func NewJobController Uses

func NewJobController(podInformer coreinformers.PodInformer, jobInformer batchinformers.JobInformer, kubeClient clientset.Interface) *JobController

func (*JobController) Run Uses

func (jm *JobController) Run(workers int, stopCh <-chan struct{})

Run the main goroutine responsible for watching and syncing jobs.



Package job imports 27 packages (graph) and is imported by 177 packages. Updated 2019-11-05. Refresh now. Tools for package owners.