Documentation ¶
Index ¶
Constants ¶
View Source
const ( WorkflowStarting = "Starting" WorkflowInQueue = "Queued" WorkflowInitiated = "Initiating" WorkflowInProgress = "Progressing" WorkflowAborted = "Aborted" WorkflowFailed = "Failed" WorkflowSucceeded = "Succeeded" WorkflowTimedOut = "TimedOut" WorkflowUnableToFetchState = "UnableToFetch" WorkflowTypeDeploy = "DEPLOY" WorkflowTypePre = "PRE" WorkflowTypePost = "POST" )
View Source
const ( WORKFLOW_EXECUTOR_TYPE_AWF = "AWF" WORKFLOW_EXECUTOR_TYPE_SYSTEM = "SYSTEM" NEW_DEPLOYMENT_INITIATED = "A new deployment was initiated before this deployment completed!" PIPELINE_DELETED = "The pipeline has been deleted!" FOUND_VULNERABILITY = "Found vulnerability on image" GITOPS_REPO_NOT_CONFIGURED = "GitOps repository is not configured for the app" )
Variables ¶
View Source
var ErrorDeploymentSuperseded = errors.New(NEW_DEPLOYMENT_INITIATED)
View Source
var WfrTerminalStatusList = []string{WorkflowAborted, WorkflowFailed, WorkflowSucceeded, bean.HIBERNATING, string(health.HealthStatusHealthy), string(health.HealthStatusDegraded)}
Functions ¶
This section is empty.
Types ¶
type WorkflowExecutorType ¶
type WorkflowExecutorType string
type WorkflowStatus ¶
type WorkflowStatus int
const ( WF_UNKNOWN WorkflowStatus = iota REQUEST_ACCEPTED ENQUEUED QUE_ERROR WF_STARTED DROPPED_STALE DEQUE_ERROR TRIGGER_ERROR )
func (WorkflowStatus) String ¶
func (a WorkflowStatus) String() string
Click to show internal directories.
Click to hide internal directories.