task

package
v0.11.0-test10 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(c *gin.Context)

func Index

func Index(c *gin.Context)

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.

Jump to

Keyboard shortcuts

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