Documentation ¶
Index ¶
- func CalculatePipelineStageStatus(ps *spec.PipelineStageWithTask) (apistructs.PipelineStatus, error)
- func CalculatePipelineStatusV2(tasks []*spec.PipelineTask) apistructs.PipelineStatus
- func CalculatePipelineTaskAllDone(tasks []*spec.PipelineTask) bool
- func CalculatePipelineTaskStatus(pt *spec.PipelineTask) (apistructs.PipelineStatus, error)
- func CalculateStatus(p spec.PipelineWithStage) (apistructs.PipelineStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculatePipelineStageStatus ¶
func CalculatePipelineStageStatus(ps *spec.PipelineStageWithTask) (apistructs.PipelineStatus, error)
func CalculatePipelineStatusV2 ¶
func CalculatePipelineStatusV2(tasks []*spec.PipelineTask) apistructs.PipelineStatus
CalculatePipelineStatusV2
func CalculatePipelineTaskAllDone ¶
func CalculatePipelineTaskAllDone(tasks []*spec.PipelineTask) bool
CalculatePipelineTaskAllDone all task was Disabled or EndStatus, return true
func CalculatePipelineTaskStatus ¶
func CalculatePipelineTaskStatus(pt *spec.PipelineTask) (apistructs.PipelineStatus, error)
func CalculateStatus ¶
func CalculateStatus(p spec.PipelineWithStage) (apistructs.PipelineStatus, error)
stage 递归调用 stage.CalculateStatus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.