daemon

package
v0.0.0-...-46d4b59 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WORK_DIRECTORY = "/curve/init.d/"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Task

type Task struct {
	ID         int      `json:"ID"`
	Path       string   `json:"Path"`
	Args       []string `json:"Args"`
	Env        []string `json:"Env"`
	Dir        string   `json:"Dir"`
	OutputPath string   `json:"OutputPath"`
	InputPath  string   `json:"InputPath"`
}

func GetTasks

func GetTasks() []*Task

func NewTask

func NewTask(str []byte) *Task

func (*Task) Run

func (task *Task) Run() error

func (*Task) Write

func (task *Task) Write(path string)

Jump to

Keyboard shortcuts

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