step

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(c *gin.Context)

List @Summary List @description Get the list of steps for a specified task @Tags Step @Accept application/json @Accept application/yaml @Produce application/json @Produce application/yaml @Param task path string true "task name" @Success 200 {object} types.Base[[]types.TaskStepRes] @Failure 500 {object} types.Base[any] @Router /api/v1/task/{task} [get]

func Log

func Log(c *gin.Context)

Log @Summary Log @description Step Execution Output @Tags Step @Accept application/json @Accept application/yaml @Produce application/json @Produce application/yaml @Param task path string true "task name" @Param step path string true "step name" @Success 200 {object} types.Base[[]types.TaskStepLogRes] @Failure 500 {object} types.Base[any] @Router /api/v1/task/{task}/step/{step} [get]

func Manager

func Manager(c *gin.Context)

Manager @Summary Manager @description Step management, can terminate, suspend, and resolve @Tags Step @Accept application/json @Accept application/yaml @Produce application/json @Produce application/yaml @Param task path string true "task name" @Param step path string true "step name" @Param action query string false "management action" Enums(paused,kill,pause,resume) default(paused) @Param duration query string false "how long to pause; if empty, manual continuation is required" default(1m) @Success 200 {object} types.Base[any] @Failure 500 {object} types.Base[any] @Router /api/v1/task/{task}/step/{step} [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

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