enum

package
v0.0.0-...-5893fcd Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const ExecutableStateDiscontinued = "discontinued"

任务执行停止标识

View Source
const ExecutableStateExecuting = "executing"

任务执行中标识

View Source
const SlaveVersion = "v0.2"

Variables

View Source
var TaskStateMap = map[TaskState]string{
	TaskStateRun:      "任务执行中",
	TaskStateComplete: "任务执行完成",
	TaskStateBreakOff: "任务执行被中断",
}

Functions

This section is empty.

Types

type TaskState

type TaskState int

TaskState 任务状态

const (
	TaskStateRun      TaskState = 1
	TaskStateComplete TaskState = 2
	TaskStateBreakOff TaskState = 3
)

func (TaskState) Str

func (t TaskState) Str() string

func (TaskState) Value

func (t TaskState) Value() int

Jump to

Keyboard shortcuts

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