env

package
v0.0.0-...-dbe1bcb Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Handlers = map[string]func(map[string]interface{}) (Env, error){
	"local": initLocal,
	"ssh":   initSsh,
}

Functions

This section is empty.

Types

type Env

type Env interface {
	CopyFile(local, filename string, perm os.FileMode) error
	WriteFile(filename string, data []byte, perm os.FileMode) error

	Cmd(cmd string, args []string, sout io.Writer, serr io.Writer) func() error

	Close()
}

Jump to

Keyboard shortcuts

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