common

package
v0.0.1-rc99 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeSuccess   int64 = 0
	CodeFailed    int64 = -1
	CodeSkipped   int64 = -2
	CodeKilled    int64 = -997
	CodeTimeout   int64 = -998
	CodeSystemErr int64 = -999
)
View Source
const (
	KindDag      = "dag"
	KindStrategy = "strategy"
)
View Source
const ConsoleDone = "OSREAPI::CONSOLE::DONE"
View Source
const ConsoleStart = "OSREAPI::CONSOLE::START"

Variables

View Source
var (
	ErrTimeOut = errors.New("forced termination by timeout")
	ErrManual  = errors.New("artificial force termination")
)

Functions

This section is empty.

Types

type Action

type Action int
const (
	ActionUnknown Action = iota
	// ActionAllow 允许执行
	ActionAllow
	// ActionSkip 跳过执行
	ActionSkip
)

func ActionConvert

func ActionConvert(action string) Action

func (Action) String

func (a Action) String() string

Jump to

Keyboard shortcuts

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