Documentation
¶
Index ¶
- Constants
- func NewDriver(hostName, storePath string) drivers.Driver
- type BlockDevice
- type Client
- type Datacenter
- type DiskImage
- type Driver
- func (d *Driver) Create() error
- func (d *Driver) DriverName() string
- func (d *Driver) GetActiveTransaction() (string, error)
- func (d *Driver) GetCreateFlags() []mcnflag.Flag
- func (d *Driver) GetIP() (string, error)
- func (d *Driver) GetSSHHostname() (string, error)
- func (d *Driver) GetState() (state.State, error)
- func (d *Driver) GetURL() (string, error)
- func (d *Driver) Kill() error
- func (d *Driver) Remove() error
- func (d *Driver) Restart() error
- func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
- func (d *Driver) Start() error
- func (d *Driver) Stop() error
- type HostSpec
- type NetworkComponent
- type NetworkVLAN
- type SSHKey
- type VirtualGuest
- func (c *VirtualGuest) ActiveTransaction(id int) (string, error)
- func (c *VirtualGuest) Cancel(id int) error
- func (c *VirtualGuest) Create(spec *HostSpec) (int, error)
- func (c *VirtualGuest) GetPrivateIP(id int) (string, error)
- func (c *VirtualGuest) GetPublicIP(id int) (string, error)
- func (c *VirtualGuest) Pause(id int) error
- func (c *VirtualGuest) PowerOff(id int) error