kubernetesk8s.io/kubernetes/pkg/controller/job Index | Files

package job

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

Package job contains logic for watching and synchronizing jobs.

Index

Functions

func IsJobFinished

func IsJobFinished(j *batch.Job) bool

Types

type JobController

type JobController struct {
	// contains filtered or unexported fields
}

func NewJobController

func NewJobController(podInformer cache.SharedIndexInformer, kubeClient clientset.Interface) *JobController

func NewJobControllerFromClient

func NewJobControllerFromClient(kubeClient clientset.Interface, resyncPeriod controller.ResyncPeriodFunc) *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 jobcontroller.go utils.go

Version
v1.4.2
Published
Oct 15, 2016
Platform
js/wasm
Imports
21 packages
Last checked
7 seconds ago

Tools for package owners.