Documentation ¶
Index ¶
- func Exists(api libmachine.API, name string) bool
- func State(api libmachine.API, name string) state.State
- type FakeAPI
- func (api *FakeAPI) Create(h *host.Host) error
- func (api *FakeAPI) Exists(name string) (bool, error)
- func (api *FakeAPI) List() ([]string, error)
- func (api *FakeAPI) Load(name string) (*host.Host, error)
- func (api *FakeAPI) NewHost(driver drivers.Driver) (*host.Host, error)
- func (api *FakeAPI) NewPluginDriver(string, []byte) (drivers.Driver, error)
- func (api *FakeAPI) Remove(name string) error
- func (api *FakeAPI) Save(host *host.Host) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FakeAPI ¶
func (*FakeAPI) NewPluginDriver ¶
Click to show internal directories.
Click to hide internal directories.