// GetListOfJobs => gets us a loop of jobs with relevant info for quick reference
GetListOfJobs => gets us a loop of jobs with relevant info for quick reference
// GetListOfJobs = > gets us a loop of jobs with relevant info for quick reference
func (m Master) GetListOfJobs() (response []JobInfo) {
	for jobID, info := range m.jobs {
		response = append(response, JobInfo{
			JobID:       jobID,
			Description: info.Description,
			Message:     info.message,
			CreatedTime: info.createdTime,
			Status:      info.status,
			UpdatedTime: info.statusChangeTime,
			Priority:    info.Priority,
		})
	}
	return
}
func ( m Master ) GetListOfJobs ( ) ( response [ ] JobInfo ) { for jobID , info := range m . jobs { response = append ( response , JobInfo { JobID : jobID , Description : info . Description , Message : info . message , CreatedTime : info . createdTime , Status : info . status , UpdatedTime : info . statusChangeTime , Priority : info . Priority , } ) } return }
GetListOfJobs => gets us a loop of jobs with relevant info for quick reference
GetListOfJobs = > gets us a loop of jobs with relevant info for quick reference