pipe

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipedCmd

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

func NewPiped

func NewPiped(cmd string, args ...string) *PipedCmd

func (*PipedCmd) Execute

func (p *PipedCmd) Execute(ctx context.Context, stdin io.Reader, stdout io.Writer, stderr io.Writer) error

func (*PipedCmd) Pipe

func (p *PipedCmd) Pipe(cmd string, args ...string) *PipedCmd

func (*PipedCmd) Run

func (p *PipedCmd) Run(ctx context.Context) error

func (*PipedCmd) WithEnv

func (p *PipedCmd) WithEnv(e []string) *PipedCmd

Jump to

Keyboard shortcuts

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