package cronjob
import "k8s.io/kubernetes/pkg/controller/cronjob"
Package cronjob contains the controller for CronJob objects.
Index ¶
Functions ¶
func IsJobFinished ¶
IsJobFinished returns whether or not a job has completed successfully or failed.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for CronJobs.
func NewController ¶
func NewController(kubeClient clientset.Interface) (*Controller, error)
NewController creates and initializes a new Controller.
func (*Controller) Run ¶
func (jm *Controller) Run(stopCh <-chan struct{})
Run starts the main goroutine responsible for watching and syncing jobs.
Source Files ¶
cronjob_controller.go doc.go injection.go utils.go
- Version
- v1.18.0-rc.1
- Published
- Mar 17, 2020
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 4 minutes ago –
Tools for package owners.