- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for inActiveListByName (0.17 sec)
-
pkg/controller/cronjob/utils.go
for _, j := range cj.Status.Active { if j.UID == uid { return true } } return false } // inActiveListByName checks if cronjob's status.active has a job with the same // name and namespace. func inActiveListByName(cj *batchv1.CronJob, job *batchv1.Job) bool { for _, j := range cj.Status.Active { if j.Name == job.Name && j.Namespace == job.Namespace { return true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2.go
// can see easily that there was a missed execution. t := nextScheduleTimeDuration(cronJob, now, sched) return t, updateStatus, nil } if inActiveListByName(cronJob, &batchv1.Job{ ObjectMeta: metav1.ObjectMeta{ Name: getJobName(cronJob, *scheduledTime), Namespace: cronJob.Namespace,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K bytes - Viewed (0)