prow/deck/jobs/jobs.go
func (ja *JobAgent) ProwJobs() []prowapi.ProwJob {
	ja.mut.Lock()
	defer ja.mut.Unlock()
	res := make([]prowapi.ProwJob, len(ja.prowJobs))
	copy(res, ja.prowJobs)
	return res
}
func (ja *JobAgent) ProwJobs() []prowapi.ProwJob {
	ja.mut.Lock()
	defer ja.mut.Unlock()
	res := make([]prowapi.ProwJob, len(ja.prowJobs))
	copy(res, ja.prowJobs)
	return res
}
func ( ja * JobAgent ) ProwJobs ( ) [ ] prowapi . ProwJob { ja . mut . Lock ( ) defer ja . mut . Unlock ( ) res := make ( [ ] prowapi . ProwJob , len ( ja . prowJobs ) ) copy ( res , ja . prowJobs ) return res }
// ProwJobs returns a thread-safe snapshot of the current prow jobs.
ProwJobs returns a thread - safe snapshot of the current prow jobs .