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.

Index

Package Files

doc.go job_controller.go utils.go

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
)

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.

Directories

PathSynopsis
config
config/v1alpha1

Package job imports 27 packages (graph) and is imported by 166 packages. Updated 2019-07-21. Refresh now. Tools for package owners.