Documentation ¶
Index ¶
- Constants
- func Fail(o O, name string, args ...string) bool
- func Ok(o O, name string, args ...string) bool
- func Run(o O, name string, args ...string) (output string, err error)
- func SshJumpRun(o O, jumpAddr, addr, script string) (output string, err error)
- func SshRun(o O, addr, script string, flags ...string) (output string, err error)
- func Start(o O, name string, args ...string) (cmd *exec.Cmd, err error)
- func State(o O, name string, args ...string) *os.ProcessState
- func Stream(stream io.Writer, name string, args ...string)
- func SudoWriteFile(file string, reader io.Reader)
- func TailFollow(paths ...string) *exec.Cmd
- type O
Constants ¶
View Source
` -o ControlPath=/tmp/ssh_mux_%h_%p_%r` +
` -o ControlPersist=600`Variables ¶
This section is empty.
Functions ¶
func SudoWriteFile ¶
func TailFollow ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.