// Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: BUSL-1.1 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) }