runner

package
v0.0.0-...-26c8931 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BinPath = "../../linux_backend/bin"
View Source
var GardenBin = "../../out/garden-linux"
View Source
var GraphRoot = os.Getenv("GARDEN_TEST_GRAPHPATH")
View Source
var RootFSPath = os.Getenv("GARDEN_TEST_ROOTFS")

Functions

func MustMountTmpfs

func MustMountTmpfs(destination string)

func MustUnmountTmpfs

func MustUnmountTmpfs(destination string)

Types

type RunningGarden

type RunningGarden struct {
	client.Client

	Pid int

	GraphRoot     string
	GraphPath     string
	StateDirPath  string
	DepotPath     string
	SnapshotsPath string
	// contains filtered or unexported fields
}

func Start

func Start(argv ...string) *RunningGarden

func (*RunningGarden) Buffer

func (r *RunningGarden) Buffer() *gbytes.Buffer

func (*RunningGarden) Cleanup

func (r *RunningGarden) Cleanup() error

func (*RunningGarden) DestroyAndStop

func (r *RunningGarden) DestroyAndStop() error

func (*RunningGarden) DestroyContainers

func (r *RunningGarden) DestroyContainers() error

func (*RunningGarden) Kill

func (r *RunningGarden) Kill() error

func (*RunningGarden) Stop

func (r *RunningGarden) Stop() error

Jump to

Keyboard shortcuts

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