target

package
v0.0.0-...-74c434d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: Apache-2.0 Imports: 11 Imported by: 1

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