system

package
v0.0.0-...-3072089 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2015 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 CommandResult

type CommandResult struct {
	CommandRun string
	ExitStatus int
}

type System

type System interface {
	Untar(tarball io.Reader, targetDir string) (CommandResult, error)
	RunScript(scriptPath string, workingDir string) (CommandResult, error)
	TempDir(string, string) (string, error)
	FileExists(string) bool
	FileIsExecutable(string) (bool, error)
}

func NewOsSystem

func NewOsSystem() System

Jump to

Keyboard shortcuts

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