github.com/redhat-appstudio/release-service@v0.0.0-20240507143925-083712697924/api/v1alpha1/release_conditions.go (about)

     1  package v1alpha1
     2  
     3  import "github.com/konflux-ci/operator-toolkit/conditions"
     4  
     5  const (
     6  	// deployedConditionType is the type used to track the status of a Release deployment
     7  	deployedConditionType conditions.ConditionType = "Deployed"
     8  
     9  	// postActionsExecutedConditionType is the type used to track the status of Release post-actions
    10  	postActionsExecutedConditionType conditions.ConditionType = "PostActionsExecuted"
    11  
    12  	// processedConditionType is the type used to track the status of a Release processing
    13  	processedConditionType conditions.ConditionType = "Processed"
    14  
    15  	// releasedConditionType is the type used to track the status of a Release
    16  	releasedConditionType conditions.ConditionType = "Released"
    17  
    18  	// validatedConditionType is the type used to track the status of a Release validation
    19  	validatedConditionType conditions.ConditionType = "Validated"
    20  )
    21  
    22  const (
    23  	// FailedReason is the reason set when a failure occurs
    24  	FailedReason conditions.ConditionReason = "Failed"
    25  
    26  	// ProgressingReason is the reason set when an action is progressing
    27  	ProgressingReason conditions.ConditionReason = "Progressing"
    28  
    29  	// SucceededReason is the reason set when an action succeeds
    30  	SucceededReason conditions.ConditionReason = "Succeeded"
    31  )