Documentation ¶
Index ¶
- func Exists(api libmachine.API, name string) bool
- func State(api libmachine.API, name string) state.State
- type FakeAPI
- func (api *FakeAPI) Close() error
- func (api *FakeAPI) Create(h *host.Host) error
- func (api *FakeAPI) Exists(name string) (bool, error)
- func (api FakeAPI) GetMachinesDir() string
- func (api *FakeAPI) List() ([]string, error)
- func (api *FakeAPI) Load(name string) (*host.Host, error)
- func (api *FakeAPI) NewHost(driverName string, rawDriver []byte) (*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) GetMachinesDir ¶
func (*FakeAPI) NewPluginDriver ¶
Click to show internal directories.
Click to hide internal directories.