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 ¶ added in v1.4.0
Types ¶
type JobController ¶
type JobController struct {
// contains filtered or unexported fields
}
func NewJobController ¶
func NewJobController(podInformer cache.SharedIndexInformer, kubeClient clientset.Interface) *JobController
func NewJobControllerFromClient ¶ added in v1.3.0
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.
Click to show internal directories.
Click to hide internal directories.