task

package
v0.0.0-...-1fa52ee Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, BSD-2-Clause, ISC, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *gin.Context)

func GetSubtaskByPipeline

func GetSubtaskByPipeline(c *gin.Context)

GetSubtasksByPipeline return most recent subtasks @Summary Get subtasks, only the most recent subtasks will be returned @Tags framework/tasks @Accept application/json @Param pipelineId path int true "pipelineId" @Success 200 {object} models.SubTasksOuput @Failure 400 {object} shared.ApiBody "Bad Request" @Failure 500 {object} shared.ApiBody "Internal Error" @Router /pipelines/{pipelineId}/subtasks [get]

func GetTaskByPipeline

func GetTaskByPipeline(c *gin.Context)

GetTaskByPipeline return most recent tasks @Summary Get tasks, only the most recent tasks will be returned @Tags framework/tasks @Accept application/json @Param pipelineId path int true "pipelineId" @Success 200 {object} getTaskResponse @Failure 400 {object} shared.ApiBody "Bad Request" @Failure 500 {object} shared.ApiBody "Internal Error" @Router /pipelines/{pipelineId}/tasks [get]

func PostRerun

func PostRerun(c *gin.Context)

RerunTask rerun the specified task. @Summary rerun task @Tags framework/tasks @Accept application/json @Success 200 {object} models.Task @Failure 400 {object} shared.ApiBody "Bad Request" @Failure 500 {object} shared.ApiBody "Internal Error" @Router /tasks/{taskId}/rerun [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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