Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Index ¶
Get list of pipelines GET /pipelines/pipeline:id/tasks?status=TASK_RUNNING&pending=1&page=1&=pagesize=10
{ "tasks": [ {"id": 1, "plugin": "", ...} ], "count": 5 }
@Summary Get task @Description get task @Description SAMPLE @Description { @Description "tasks": [ @Description {"id": 1, "plugin": "", ...} @Description ], @Description "count": 5 @Description } @Tags task @Accept application/json @Param pipelineId path int true "pipelineId" @Success 200 {string} gin.H "{"tasks": tasks, "count": count}" @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /pipelines/{pipelineId}/tasks [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.