code: func deleteJob(sj *batchv1beta1.CronJob, job *batchv1.Job, jc jobControlInterface, recorder record.EventRecorder) bool {
  	nameForLog := fmt.Sprintf("%s/%s", sj.Namespace, sj.Name)
  
  	// delete the job itself...
  	if err := jc.DeleteJob(job.Namespace, job.Name); err != nil {
  		recorder.Eventf(sj, v1.EventTypeWarning, "FailedDelete", "Deleted job: %v", err)
  		klog.Errorf("Error deleting job %s from %s: %v", job.Name, nameForLog, err)
  		return false
  	}
  	// ... and its reference from active list
  	deleteFromActiveList(sj, job.ObjectMeta.UID)
  	recorder.Eventf(sj, v1.EventTypeNormal, "SuccessfulDelete", "Deleted job %v", job.Name)
  
  	return true
  }
docs: // deleteJob reaps a job, deleting the job, the pods and the reference in the active list