type Controller …
func New(ctx context.Context, jobInformer batchinformers.JobInformer, client clientset.Interface) *Controller { … }
func (tc *Controller) Run(ctx context.Context, workers int) { … }
func (tc *Controller) addJob(logger klog.Logger, obj interface{ … }
func (tc *Controller) updateJob(logger klog.Logger, old, cur interface{ … }
func (tc *Controller) enqueue(logger klog.Logger, job *batch.Job) { … }
func (tc *Controller) enqueueAfter(job *batch.Job, after time.Duration) { … }
func (tc *Controller) worker(ctx context.Context) { … }
func (tc *Controller) processNextWorkItem(ctx context.Context) bool { … }
func (tc *Controller) handleErr(err error, key string) { … }
func (tc *Controller) processJob(ctx context.Context, key string) error { … }
func (tc *Controller) processTTL(logger klog.Logger, job *batch.Job) (expiredAt *time.Time, err error) { … }
func needsCleanup(j *batch.Job) bool { … }
func getFinishAndExpireTime(j *batch.Job) (*time.Time, *time.Time, error) { … }
func timeLeft(logger klog.Logger, j *batch.Job, since *time.Time) (*time.Duration, *time.Time, error) { … }
func jobFinishTime(finishedJob *batch.Job) (metav1.Time, error) { … }