taskController

package
v0.0.0-...-fdfd418 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx *gin.Context)

func Detail

func Detail(ctx *gin.Context)

Detail 用户详情

func Disable

func Disable(ctx *gin.Context)

暂停任务

func Enable

func Enable(ctx *gin.Context)

激活任务

func HostAllList

func HostAllList(ctx *gin.Context)

Index 用户列表页

func Index

func Index(ctx *gin.Context)

Index 用户列表页

func Run

func Run(ctx *gin.Context)

手动运行任务

func Save

func Save(ctx *gin.Context)

func Stop

func Stop(ctx *gin.Context)

停止运行中的任务

func Update

func Update(ctx *gin.Context)

Types

type TaskForm

type TaskForm struct {
	TaskId           int
	TaskIds          []int
	TaskName         string
	TaskLevel        int8
	DependencyTaskId string
	DependencyStatus int8
	CronExpression   string
	Protocol         int8
	Command          string
	HttpMethod       int8
	HostId           string
	Timeout          int
	IsMultiInstance  int8
	RetryTimes       int8
	RetryInterval    int16
	NotifyStatus     int8
	NotifyType       int8
	NotifyReceiverId string
	NotifyKeyword    string
	TaskTag          string
	TaskRemark       string
	TaskStatus       int8
	CreateTime       string
	UpdateTime       string
	DeleteTime       string
	Hosts            []taskHostModel.TaskHost
	NextRunTime      string
}

任务

Jump to

Keyboard shortcuts

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