local

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2015 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package local implements a driver that provisions the host system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Hostname string
}

Driver is a driver for the host system.

func NewDriver

func NewDriver() (*Driver, error)

NewDriver creates a new driver that provisions the host system.

func (Driver) RunCommand

func (drv Driver) RunCommand(args []string) error

RunCommand runs the specified command on the host system.

func (Driver) String

func (drv Driver) String() string

String returns the driver's name.

func (Driver) Upload

func (drv Driver) Upload(dst string, src ...string) error

Upload copies files to the right place on the host system.

Jump to

Keyboard shortcuts

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