Documentation ¶
Index ¶
- type Cmd
- func (c *Cmd) Cancel()
- func (c *Cmd) Context() context.Context
- func (c *Cmd) Execute() ([]byte, error)
- func (c *Cmd) WithBuffer(writer io.Writer) *Cmd
- func (c *Cmd) WithContext(ctx context.Context) *Cmd
- func (c *Cmd) WithDevice(dev string) *Cmd
- func (c *Cmd) WithHost(host string) *Cmd
- func (c *Cmd) WithRoot() *Cmd
- func (c *Cmd) WithShell() *Cmd
- func (c *Cmd) WithTimeout(dur time.Duration) *Cmd
- func (c *Cmd) WithVerbose() *Cmd
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 (*Cmd) WithDevice ¶
func (*Cmd) WithVerbose ¶
Click to show internal directories.
Click to hide internal directories.