vagrant

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2016 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Debug

func Debug(msg string)

Debug

func Destroy

func Destroy() error

Destroy runs a vagrant destroy

func Error added in v0.16.7

func Error(msg, err string)

Error

func Exists added in v0.16.6

func Exists() (exists bool)

Exists ensure vagrant is installed

func Fatal

func Fatal(msg, err string)

Fatal

func Init

func Init()

Init

func Install

func Install() error

Install downloads the nanobox vagrant and adds it to the list of vagrant boxes

func NewLogger

func NewLogger(path string)

NewLogger sets the vagrant logger to the given path

func Reload

func Reload() error

Reload runs a vagrant reload

func Resume

func Resume() error

Resume runs a vagrant resume

func SSH

func SSH() error

SSH is run manually (vs Run) because the output needs to be hooked up differntly

func Status

func Status() (status string)

Status returns the current status of the VM; this command needs to be run in a way independant of a Vagrantfile to ensure that the status will always be available

func Suspend

func Suspend() error

Suspend runs a "vagrant suspend"

func Up

func Up() error

Up runs a vagrant up

func Update

func Update() error

Update downloads the nanobox vagrant and adds it to the list of vagrant boxes

Types

This section is empty.

Jump to

Keyboard shortcuts

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