Documentation ¶
Index ¶
- type FakeDriver
- func (d *FakeDriver) Create() error
- func (d *FakeDriver) DriverName() string
- func (d *FakeDriver) GetIP() (string, error)
- func (d *FakeDriver) GetMachineName() string
- func (d *FakeDriver) GetSSHHostname() (string, error)
- func (d *FakeDriver) GetSSHKeyPath() string
- func (d *FakeDriver) GetSSHPort() (int, error)
- func (d *FakeDriver) GetSSHUsername() string
- func (d *FakeDriver) GetState() (state.State, error)
- func (d *FakeDriver) GetURL() (string, error)
- func (d *FakeDriver) Kill() error
- func (d *FakeDriver) PreCreateCheck() error
- func (d *FakeDriver) Remove() error
- func (d *FakeDriver) Restart() error
- func (d *FakeDriver) SetConfigFromFlags(flags drivers.DriverOptions) error
- func (d *FakeDriver) Start() error
- func (d *FakeDriver) Stop() error
- func (d *FakeDriver) Upgrade() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDriver ¶
type FakeDriver struct { *drivers.BaseDriver MockState state.State }
func (*FakeDriver) Create ¶
func (d *FakeDriver) Create() error
func (*FakeDriver) DriverName ¶
func (d *FakeDriver) DriverName() string
func (*FakeDriver) GetIP ¶
func (d *FakeDriver) GetIP() (string, error)
func (*FakeDriver) GetMachineName ¶
func (d *FakeDriver) GetMachineName() string
func (*FakeDriver) GetSSHHostname ¶
func (d *FakeDriver) GetSSHHostname() (string, error)
func (*FakeDriver) GetSSHKeyPath ¶
func (d *FakeDriver) GetSSHKeyPath() string
func (*FakeDriver) GetSSHPort ¶
func (d *FakeDriver) GetSSHPort() (int, error)
func (*FakeDriver) GetSSHUsername ¶
func (d *FakeDriver) GetSSHUsername() string
func (*FakeDriver) GetURL ¶
func (d *FakeDriver) GetURL() (string, error)
func (*FakeDriver) Kill ¶
func (d *FakeDriver) Kill() error
func (*FakeDriver) PreCreateCheck ¶
func (d *FakeDriver) PreCreateCheck() error
func (*FakeDriver) Remove ¶
func (d *FakeDriver) Remove() error
func (*FakeDriver) Restart ¶
func (d *FakeDriver) Restart() error
func (*FakeDriver) SetConfigFromFlags ¶
func (d *FakeDriver) SetConfigFromFlags(flags drivers.DriverOptions) error
func (*FakeDriver) Start ¶
func (d *FakeDriver) Start() error
func (*FakeDriver) Stop ¶
func (d *FakeDriver) Stop() error
func (*FakeDriver) Upgrade ¶
func (d *FakeDriver) Upgrade() error
Click to show internal directories.
Click to hide internal directories.