Documentation ¶
Index ¶
Constants ¶
View Source
const ColumnPipelineStatus = "pipelineStatus"
View Source
const ColumnPipelineTriggerMode = "pipelineTriggerMode"
Variables ¶
View Source
var PipelineDefinitionStatus = []apistructs.PipelineStatus{ apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusRunning, apistructs.PipelineStatusCanceling, apistructs.PipelineStatusSuccess, apistructs.PipelineStatusFailed, apistructs.PipelineStatusStopByUser, }
View Source
var PipelineDefinitionStatusMap = map[apistructs.PipelineStatus]apistructs.PipelineStatus{ apistructs.PipelineStatusAnalyzed: apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusBorn: apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusCreated: apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusMark: apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusQueue: apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusInitializing: apistructs.PipelineStatusAnalyzed, apistructs.PipelineStatusRunning: apistructs.PipelineStatusRunning, apistructs.PipelineStatusCanceling: apistructs.PipelineStatusCanceling, apistructs.PipelineStatusSuccess: apistructs.PipelineStatusSuccess, apistructs.PipelineStatusFailed: apistructs.PipelineStatusFailed, apistructs.PipelineStatusAnalyzeFailed: apistructs.PipelineStatusFailed, apistructs.PipelineStatusPaused: apistructs.PipelineStatusRunning, apistructs.PipelineStatusCreateError: apistructs.PipelineStatusFailed, apistructs.PipelineStatusStartError: apistructs.PipelineStatusFailed, apistructs.PipelineStatusTimeout: apistructs.PipelineStatusFailed, apistructs.PipelineStatusStopByUser: apistructs.PipelineStatusStopByUser, apistructs.PipelineStatusNoNeedBySystem: apistructs.PipelineStatusFailed, apistructs.PipelineStatusCancelByRemote: apistructs.PipelineStatusFailed, apistructs.PipelineStatusError: apistructs.PipelineStatusFailed, apistructs.PipelineStatusUnknown: apistructs.PipelineStatusFailed, apistructs.PipelineStatusDBError: apistructs.PipelineStatusFailed, apistructs.PipelineStatusLostConn: apistructs.PipelineStatusFailed, apistructs.PipelineStatusDisabled: apistructs.PipelineStatusFailed, apistructs.PipelineStatusWaitApproval: apistructs.PipelineStatusFailed, apistructs.PipelineStatusApprovalSuccess: apistructs.PipelineStatusFailed, apistructs.PipelineStatusApprovalFail: apistructs.PipelineStatusFailed, }
View Source
var PipelineDefinitionStatusMapList = func() map[apistructs.PipelineStatus][]apistructs.PipelineStatus { var mapList = map[apistructs.PipelineStatus][]apistructs.PipelineStatus{} for k, v := range PipelineDefinitionStatusMap { if mapList[v] == nil { mapList[v] = []apistructs.PipelineStatus{} } mapList[v] = append(mapList[v], k) } return mapList }()
View Source
var PipelineDefinitionTriggers = []apistructs.PipelineTriggerMode{ apistructs.PipelineTriggerModeCron, apistructs.PipelineTriggerModeManual, }
Functions ¶
func DisplayTriggerModeText ¶
func IsDeepEqual ¶
IsDeepEqual return true if objA and objB is deep equal. Used for unit testing.
func TransferStatus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.