kubernetes: k8s.io/kubernetes/pkg/controller/cronjob Index | Files

package cronjob

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

Package cronjob contains the controller for CronJob objects.

Index

Package Files

cronjob_controller.go doc.go injection.go utils.go

func IsJobFinished Uses

func IsJobFinished(j *batchv1.Job) bool

IsJobFinished returns whether or not a job has completed successfully or failed.

type Controller Uses

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

Controller is a controller for CronJobs.

func NewController Uses

func NewController(kubeClient clientset.Interface) (*Controller, error)

NewController creates and initializes a new Controller.

func (*Controller) Run Uses

func (jm *Controller) Run(stopCh <-chan struct{})

Run starts the main goroutine responsible for watching and syncing jobs.

Package cronjob imports 24 packages (graph) and is imported by 7 packages. Updated 2019-06-13. Refresh now. Tools for package owners.