Documentation
¶
Overview ¶
Package job contains logic for watching and synchronizing jobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
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 ¶ added in v1.4.0
func IsJobFinished(j *batch.Job) bool
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
Click to show internal directories.
Click to hide internal directories.