adapter

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL