host

package
v0.0.0-...-b39d510 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_NAME   = utils.PROGRAM_NAME
	DEFAULT_CPU    = 2
	DEFAULT_MEMORY = 2048
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Host   *mcnHost.Host
	Client *libmachine.Client
}

func NewHost

func NewHost(create bool, force bool) (*Host, error)

func (*Host) Destroy

func (h *Host) Destroy() error

func (*Host) Restart

func (h *Host) Restart() error

func (*Host) Start

func (h *Host) Start() error

func (*Host) Stop

func (h *Host) Stop() error

Jump to

Keyboard shortcuts

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