iptbutil

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOutput added in v1.4.0

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

func SetupOpt added in v1.4.0

func SetupOpt(cmd *exec.Cmd)

func YesNoPrompt

func YesNoPrompt(prompt string) bool

Types

type Output added in v1.4.0

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

func (*Output) Args added in v1.4.0

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

func (*Output) Error added in v1.4.0

func (o *Output) Error() error

func (*Output) ExitCode added in v1.4.0

func (o *Output) ExitCode() int

func (*Output) Stderr added in v1.4.0

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

func (*Output) Stdout added in v1.4.0

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

Jump to

Keyboard shortcuts

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