code: func removeOldestJobs(sj *batchv1beta1.CronJob, js []batchv1.Job, jc jobControlInterface, maxJobs int32, recorder record.EventRecorder) {
  	numToDelete := len(js) - int(maxJobs)
  	if numToDelete <= 0 {
  		return
  	}
  
  	nameForLog := fmt.Sprintf("%s/%s", sj.Namespace, sj.Name)
  	klog.V(4).Infof("Cleaning up %d/%d jobs from %s", numToDelete, len(js), nameForLog)
  
  	sort.Sort(byJobStartTime(js))
  	for i := 0; i < numToDelete; i++ {
  		klog.V(4).Infof("Removing job %s from %s", js[i].Name, nameForLog)
  		deleteJob(sj, &js[i], jc, recorder)
  	}
  }
docs: // removeOldestJobs removes the oldest jobs from a list of jobs