libmachinetest

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2015 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(api libmachine.API, name string) bool

func State

func State(api libmachine.API, name string) state.State

Types

type FakeAPI

type FakeAPI struct {
	Hosts []*host.Host
}

func (*FakeAPI) Create

func (api *FakeAPI) Create(h *host.Host) error

func (*FakeAPI) Exists

func (api *FakeAPI) Exists(name string) (bool, error)

func (*FakeAPI) List

func (api *FakeAPI) List() ([]string, error)

func (*FakeAPI) Load

func (api *FakeAPI) Load(name string) (*host.Host, error)

func (*FakeAPI) NewHost

func (api *FakeAPI) NewHost(driver drivers.Driver) (*host.Host, error)

func (*FakeAPI) NewPluginDriver

func (api *FakeAPI) NewPluginDriver(string, []byte) (drivers.Driver, error)

func (*FakeAPI) Remove

func (api *FakeAPI) Remove(name string) error

func (*FakeAPI) Save

func (api *FakeAPI) Save(host *host.Host) error

Jump to

Keyboard shortcuts

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