iptbutil

package
v0.0.0-...-ce94876 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOutput

func NewOutput(args []string, stdout, stderr []byte, exitcode int, cmderr error) testbedi.Output

func SetupOpt

func SetupOpt(cmd *exec.Cmd)

func YesNoPrompt

func YesNoPrompt(prompt string) bool

Types

type Output

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

func (*Output) Args

func (o *Output) Args() []string

func (*Output) Error

func (o *Output) Error() error

func (*Output) ExitCode

func (o *Output) ExitCode() int

func (*Output) Stderr

func (o *Output) Stderr() io.ReadCloser

func (*Output) Stdout

func (o *Output) Stdout() io.ReadCloser

Jump to

Keyboard shortcuts

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