runner

package
v0.0.0-...-d6a8061 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MulanPSL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartManager

func StartManager(cfg *comm.ExecerConfig) error

Types

type ExecTask

type ExecTask struct {
	Status   string
	Event    string
	Error    string
	ExitCode int
	// contains filtered or unexported fields
}

ExecTask 任务的执行实体

func (*ExecTask) Stop

func (c *ExecTask) Stop()

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

* 任务管理,整个runner生命周期

func (*Manager) Send

func (c *Manager) Send(path string, body []byte, hds ...utils.Map)

把数据包加入队列

Jump to

Keyboard shortcuts

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