ginkgomon

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: MIT, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interrupt

func Interrupt(process ifrit.Process)

func Invoke

func Invoke(runner ifrit.Runner) ifrit.Process

func Kill

func Kill(process ifrit.Process)

Types

type Config

type Config struct {
	Command           *exec.Cmd
	Name              string
	AnsiColorCode     string
	StartCheck        string
	StartCheckTimeout time.Duration
	Cleanup           func()
}

type Runner

type Runner struct {
	Command           *exec.Cmd
	Name              string
	AnsiColorCode     string
	StartCheck        string
	StartCheckTimeout time.Duration
	Cleanup           func()
	// contains filtered or unexported fields
}

func New

func New(config Config) *Runner

func (*Runner) Buffer

func (r *Runner) Buffer() *gbytes.Buffer

func (*Runner) ExitCode

func (r *Runner) ExitCode() int

func (*Runner) Run

func (r *Runner) Run(sigChan <-chan os.Signal, ready chan<- struct{}) error

Jump to

Keyboard shortcuts

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