process

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ForceHardRestart = "__hard_reload"
	ForceSoftRestart = "__soft_reload"
)

Variables

This section is empty.

Functions

func NewChildProcess added in v0.6.0

func NewChildProcess(cfg config.Config) (*childProcess, error)

func NewDummy added in v0.5.10

func NewDummy() *dummyProcess

func NewOutOfBandTask added in v0.6.0

func NewOutOfBandTask(rootDirectory string, task string, envVars []string) *outOfBandTask

Types

type AtomicChildProcess added in v0.6.0

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

func (*AtomicChildProcess) Load added in v0.6.0

func (a *AtomicChildProcess) Load() *childProcess

func (*AtomicChildProcess) Store added in v0.6.0

func (a *AtomicChildProcess) Store(p *childProcess)

type ConsoleOutput

type ConsoleOutput interface {
	Stdout() io.Writer
	Stderr() io.Writer
}

type ProcessState added in v0.6.0

type ProcessState int
const (
	ProcessStateStopped ProcessState = iota
	ProcessStateStarting
	ProcessStateStarted
	ProcessStateStopping
)

Jump to

Keyboard shortcuts

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