Lines Matching refs:jobs
126 var jobs []*Job
130 GetAll(c, &jobs)
131 if len(jobs) > 1 || err != nil {
132 return fmt.Errorf("failed to query jobs: jobs=%v err=%v", len(jobs), err)
134 if len(jobs) != 0 {
137 existingJob, jobKey := jobs[0], keys[0]
309 var jobs []*Job
313 GetAll(c, &jobs)
315 return nil, fmt.Errorf("failed to query jobs: %v", err)
318 for i, job := range jobs {
430 var jobs []*Job
435 GetAll(c, &jobs)
437 return nil, nil, fmt.Errorf("failed to query jobs: %v", err)
443 for i, job := range jobs {