fakedriver

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver added in v0.5.0

type Driver struct {
	*drivers.BaseDriver
	MockState state.State
	MockIP    string
	MockName  string
}

func (*Driver) Create added in v0.5.0

func (d *Driver) Create() error

func (*Driver) DriverName added in v0.5.0

func (d *Driver) DriverName() string

DriverName returns the name of the driver

func (*Driver) GetCreateFlags added in v0.5.0

func (d *Driver) GetCreateFlags() []mcnflag.Flag

func (*Driver) GetIP added in v0.5.0

func (d *Driver) GetIP() (string, error)

func (*Driver) GetMachineName added in v0.5.0

func (d *Driver) GetMachineName() string

func (*Driver) GetSSHHostname added in v0.5.0

func (d *Driver) GetSSHHostname() (string, error)

func (*Driver) GetSSHKeyPath added in v0.5.0

func (d *Driver) GetSSHKeyPath() string

func (*Driver) GetSSHPort added in v0.5.0

func (d *Driver) GetSSHPort() (int, error)

func (*Driver) GetSSHUsername added in v0.5.0

func (d *Driver) GetSSHUsername() string

func (*Driver) GetState added in v0.5.0

func (d *Driver) GetState() (state.State, error)

func (*Driver) GetURL added in v0.5.0

func (d *Driver) GetURL() (string, error)

func (*Driver) Kill added in v0.5.0

func (d *Driver) Kill() error

func (*Driver) Remove added in v0.5.0

func (d *Driver) Remove() error

func (*Driver) Restart added in v0.5.0

func (d *Driver) Restart() error

func (*Driver) SetConfigFromFlags added in v0.5.0

func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error

func (*Driver) Start added in v0.5.0

func (d *Driver) Start() error

func (*Driver) Stop added in v0.5.0

func (d *Driver) Stop() error

func (*Driver) Upgrade added in v0.5.0

func (d *Driver) Upgrade() error

Jump to

Keyboard shortcuts

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