// TrackJob extracts and stores information about the given job for later reference func (as *AgentState) TrackJob(j *job.Job) { as.trackJobPeers(j.Name, j.Peers()) as.trackJobConflicts(j.Name, j.Conflicts()) as.trackJobResources(j.Name, j.Resources()) }