Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶
Cmd represents an external command being prepared or run.
func (*Cmd) Env ¶
Env is a fluent setter for the env option. Elements should be of the form NAME=value.
func (*Cmd) SetPseudoTTY ¶
SetPseudoTTY is a fluent setter for the pty option.
type RemoteCmd ¶
RemoteCmd is a command that is executed over SSH
func RemoteCommand ¶
RemoteCommand creates a new remote command. You can specify the whole command as a single string, or as separate arguments that get joined by spaces.
func (*RemoteCmd) RequestPseudoTTY ¶
RequestPseudoTTY will force the command to request a pty on the remote server.
Click to show internal directories.
Click to hide internal directories.