job

package
v1.4.0-alpha.2....-4dc418c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2016 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package job contains logic for watching and synchronizing jobs.

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL