// FindOneJob finds all jobs.
FindOneJob finds all jobs.
// FindOneJob finds all jobs .
func (c *CacheableWriterReader) FindOneJob(name string) (entities.Job, error) {
	for _, job := range c.FindJobs() {
		if job.Name == name {
			return job, nil
		}
	}
	return entities.Job{}, errResourceNotFound
}
func ( c * CacheableWriterReader ) FindOneJob ( name string ) ( entities . Job , error ) { for _ , job := range c . FindJobs ( ) { if job . Name == name { return job , nil } } return entities . Job { } , errResourceNotFound }
FindOneJob finds all jobs.
FindOneJob finds all jobs .