target

package
v0.0.0-...-83cb5db Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalTarget

func NewLocalTarget() *localTarget

Create a target for local provisioning.

func NewSshTarget

func NewSshTarget(addr string) (target *sshTarget, e error)

Create a target for provisioning via SSH.

func NewSshTargetWithPrivateKey

func NewSshTargetWithPrivateKey(addr string, key []byte) (target *sshTarget, err error)

Types

type ExecCommand

type ExecCommand interface {
	StdoutPipe() (io.Reader, error)
	StderrPipe() (io.Reader, error)
	StdinPipe() (io.WriteCloser, error)
	SetStdout(io.Writer)
	SetStderr(io.Writer)
	SetStdin(io.Reader)
	Run() error
	Start() error
	Wait() error
}

Jump to

Keyboard shortcuts

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