コード例 #1
0
ファイル: state.go プロジェクト: johnmontero/fleet
// 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())
}