shell

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionOptions

type ConnectionOptions struct {
	Username      string
	Port          int
	PrivateKeyPEM []byte
}

type ParallelRunner

type ParallelRunner struct {
	Runner runner
}

func (*ParallelRunner) ConnectAndRun

func (r *ParallelRunner) ConnectAndRun(hosts []string, command string, options *ConnectionOptions) map[string]Result

type Result

type Result struct {
	Host   string
	Stdout string
	Error  error
}

type Runner

type Runner struct{}

func (*Runner) ConnectAndRun

func (r *Runner) ConnectAndRun(host, command string, options *ConnectionOptions) (string, error)

Jump to

Keyboard shortcuts

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