Documentation ¶
Overview ¶
Package cronjob contains the controller for CronJob objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsJobFinished ¶
IsJobFinished returns whether or not a job has completed successfully or failed.
Types ¶
type ControllerV2 ¶
type ControllerV2 struct {
// contains filtered or unexported fields
}
ControllerV2 is a controller for CronJobs. Refactored Cronjob controller that uses DelayingQueue and informers
func NewControllerV2 ¶
func NewControllerV2(jobInformer batchv1informers.JobInformer, cronJobsInformer batchv1informers.CronJobInformer, kubeClient clientset.Interface) (*ControllerV2, error)
NewControllerV2 creates and initializes a new Controller.
Click to show internal directories.
Click to hide internal directories.