run

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDirty = errors.New("Runner was already started")

ErrDirty _

Functions

This section is empty.

Types

type Instance

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

Instance _

func New

func New(command []string) *Instance

New _

func (*Instance) Cancel

func (i *Instance) Cancel()

Cancel _

func (*Instance) Run

func (i *Instance) Run() (err error)

Run _

func (*Instance) StreamOutput

func (i *Instance) StreamOutput() (done chan struct{}, stdout chan string, stderr chan string, failures chan error)

StreamOutput _

type PipeCloser

type PipeCloser interface {
	Close() error
}

PipeCloser _

type Waiter

type Waiter interface {
	Wait() error
}

Waiter _

Jump to

Keyboard shortcuts

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