Files
threshold/internal/scheduler/job/status.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
516 B
Go
Raw Normal View History

2021-05-06 14:54:10 -07:00
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
2023-02-02 17:15:17 -08:00
2021-05-06 14:54:10 -07:00
package job
type Status string
const (
// Running represents that the job run is actively running on a server
Running Status = "running"
// Failed represent that the job run had an error during execution
Failed Status = "failed"
// Interrupted represents that the job run was interrupted by a server
// other than the server running the job.
Interrupted Status = "interrupted"
)
func (s Status) string() string {
return string(s)
}