urknall: github.com/dynport/urknall/target Index | Files

package target

import "github.com/dynport/urknall/target"

Index

Package Files

command.go local.go ssh.go

func NewLocalTarget Uses

func NewLocalTarget() *localTarget

Create a target for local provisioning.

func NewSshTarget Uses

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

Create a target for provisioning via SSH.

func NewSshTargetWithPrivateKey Uses

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

type ExecCommand Uses

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
}

Package target imports 11 packages (graph) and is imported by 1 packages. Updated 2017-09-09. Refresh now. Tools for package owners.