Documentation
¶
Index ¶
- func ConvertDBWorkflowStageToDto(stage *repository.WorkflowExecutionStage) *bean.WorkflowStageDto
- func ConvertStatusToDevtronStatus(wfStatus string, wfMessage string) bean.WorkflowStageStatus
- func GetDefaultPipelineStatusForWorkflow(wfId int, wfType string) []*repository.WorkflowExecutionStage
- func GetDefaultPodExecutionStage(workflowId int, workflowType string) *repository.WorkflowExecutionStage
- func GetDefaultWorkflowExecutionStage(workflowId int, workflowType string) *repository.WorkflowExecutionStage
- func GetDefaultWorkflowPreparationStage(workflowId int, workflowType string) *repository.WorkflowExecutionStage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDBWorkflowStageToDto ¶
func ConvertDBWorkflowStageToDto(stage *repository.WorkflowExecutionStage) *bean.WorkflowStageDto
func ConvertStatusToDevtronStatus ¶
func ConvertStatusToDevtronStatus(wfStatus string, wfMessage string) bean.WorkflowStageStatus
for workflow there can be other status map than for pod status like in aborted case
func GetDefaultPipelineStatusForWorkflow ¶
func GetDefaultPipelineStatusForWorkflow(wfId int, wfType string) []*repository.WorkflowExecutionStage
func GetDefaultPodExecutionStage ¶
func GetDefaultPodExecutionStage(workflowId int, workflowType string) *repository.WorkflowExecutionStage
func GetDefaultWorkflowExecutionStage ¶
func GetDefaultWorkflowExecutionStage(workflowId int, workflowType string) *repository.WorkflowExecutionStage
func GetDefaultWorkflowPreparationStage ¶
func GetDefaultWorkflowPreparationStage(workflowId int, workflowType string) *repository.WorkflowExecutionStage
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.