package domain // JobStatus represents the status of a job type JobStatus string const ( StatusPending JobStatus = "pending" StatusQueued JobStatus = "queued" StatusRunning JobStatus = "running" StatusCompleted JobStatus = "completed" StatusFailed JobStatus = "failed" ) // String returns the string representation of the status func (s JobStatus) String() string { return string(s) }