func (s *StateStore) JobSummaries(ws memdb.WatchSet) (memdb.ResultIterator, error) {
	txn := s.db.Txn(false)

	iter, err := txn.Get("job_summary", "id")
	if err != nil {
		return nil, err
	}

	ws.Add(iter.WatchCh())

	return iter, nil
}
// JobSummaries walks the entire job summary table and returns all the job
// summary objects
JobSummaries walks the entire job summary table and returns all the job
summary objects
// JobSummaries walks the entire job summary table and returns all the job // summary objects
func (s *StateStore) JobSummaries(ws memdb.WatchSet) (memdb.ResultIterator, error) {
	txn := s.db.Txn(false)
	iter, err := txn.Get("job_summary", "id")
	if err != nil {
		return nil, err
	}
	ws.Add(iter.WatchCh())
	return iter, nil
}
func ( s * StateStore ) JobSummaries ( ws memdb . WatchSet ) ( memdb . ResultIterator , error ) { txn := s . db . Txn ( false ) iter , err := txn . Get ( " " , " " ) if err != nil { return nil , err } ws . Add ( iter . WatchCh ( ) ) return iter , nil }
JobSummaries walks the entire job summary table and returns all the job
summary objects
JobSummaries walks the entire job summary table and returns all the job summary objects