adb

package
v0.0.0-...-31fda41 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

func NewCommand

func NewCommand(args ...string) *Cmd

func (*Cmd) Cancel

func (c *Cmd) Cancel()

func (*Cmd) Context

func (c *Cmd) Context() context.Context

func (*Cmd) Execute

func (c *Cmd) Execute() ([]byte, error)

func (*Cmd) WithBuffer

func (c *Cmd) WithBuffer(writer io.Writer) *Cmd

func (*Cmd) WithContext

func (c *Cmd) WithContext(ctx context.Context) *Cmd

func (*Cmd) WithDevice

func (c *Cmd) WithDevice(dev string) *Cmd

func (*Cmd) WithHost

func (c *Cmd) WithHost(host string) *Cmd

func (*Cmd) WithRoot

func (c *Cmd) WithRoot() *Cmd

func (*Cmd) WithShell

func (c *Cmd) WithShell() *Cmd

func (*Cmd) WithTimeout

func (c *Cmd) WithTimeout(dur time.Duration) *Cmd

func (*Cmd) WithVerbose

func (c *Cmd) WithVerbose() *Cmd

Jump to

Keyboard shortcuts

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