manager

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrChildDied

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

func NewErrChildDied

func NewErrChildDied(c int) *ErrChildDied

func (*ErrChildDied) Error

func (e *ErrChildDied) Error() string

func (*ErrChildDied) ExitStatus

func (e *ErrChildDied) ExitStatus() int

type ErrExitable

type ErrExitable interface {
	ExitStatus() int
}

type Runner

type Runner struct {
	ErrCh  chan error
	DoneCh chan bool
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(config *config.Config, dry, once bool) (*Runner, error)

func (*Runner) Run

func (r *Runner) Run() error

func (*Runner) SetErrStream

func (r *Runner) SetErrStream(err io.Writer)

func (*Runner) SetOutStream

func (r *Runner) SetOutStream(out io.Writer)

func (*Runner) Start

func (r *Runner) Start()

func (*Runner) Stop

func (r *Runner) Stop()

Jump to

Keyboard shortcuts

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