handler

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelWorkflowTask

func CancelWorkflowTask(c *gin.Context)

func CreateWorkflowTask

func CreateWorkflowTask(c *gin.Context)

func GetArtifactInfo added in v1.8.0

func GetArtifactInfo(c *gin.Context)

func GetWorkflowDetail added in v1.8.0

func GetWorkflowDetail(c *gin.Context)

func ListDelivery

func ListDelivery(c *gin.Context)

func ListWorkflowTask

func ListWorkflowTask(c *gin.Context)

func RestartWorkflowTask

func RestartWorkflowTask(c *gin.Context)

Types

type CreateWorkflowTaskResp

type CreateWorkflowTaskResp struct {
	ProjectName  string `json:"project_name"`
	PipelineName string `json:"pipeline_name,omitempty"`
	WorkflowName string `json:"workflow_name"`
	TaskID       int64  `json:"task_id"`
}

type EndpointResponse

type EndpointResponse struct {
	ResultCode int    `json:"resultCode"`
	ErrorMsg   string `json:"errorMsg"`
}

type Router

type Router struct{}

func (*Router) Inject

func (*Router) Inject(router *gin.RouterGroup)

Jump to

Keyboard shortcuts

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