Skip to content
Snippets Groups Projects
job_info.go 353 B
Newer Older
package core

// Contains information about a submitted job. Each JobInfo
// is only a snapshot of a given state.
type JobInfo struct {
	// The unique identifier of this job.
	Id JobId

	// The state the job was in when this JobInfo was
	// created.
	State JobState

	// In case of State == Failed, contains the cause of
	// the failure.
	Error error
}