Documentation ¶
Overview ¶
Package cronjob contains the controller for CronJob objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsJobFinished ¶ added in v1.6.0
IsJobFinished returns whether or not a job has completed successfully or failed.
Types ¶
type Controller ¶ added in v1.15.0
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for CronJobs.
func NewController ¶ added in v1.15.0
func NewController(kubeClient clientset.Interface) (*Controller, error)
NewController creates and initializes a new Controller.
func (*Controller) Run ¶ added in v1.15.0
func (jm *Controller) Run(stopCh <-chan struct{})
Run starts the main goroutine responsible for watching and syncing jobs.
Click to show internal directories.
Click to hide internal directories.