cliutils

package
v0.0.0-...-3b8f57b Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2015 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(path, out, goarch, goos string) (string, error)

func KeyPair

func KeyPair(s abstract.Suite) config.KeyPair

KeyPair will generate a keypair (private + public key) from a given suite

func KillGo

func KillGo()

func ReadLines

func ReadLines(filename string) ([]string, error)

func Rsync

func Rsync(username, host, file, dest string) error

func Scp

func Scp(username, host, file, dest string) error

func SshRun

func SshRun(username, host, command string) ([]byte, error)

func SshRunBackground

func SshRunBackground(username, host, command string) error

func SshRunStdout

func SshRunStdout(username, host, command string) error

func TimeoutRun

func TimeoutRun(d time.Duration, f func() error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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