Versions in this module Expand all Collapse all v0 v0.1.0 Nov 19, 2015 Changes in this version + func NewDriver(hostName, storePath string) drivers.Driver + type Client struct + Endpoint url.URL + HTTP http.Client + func NewClient(e string) (*Client, error) + func (c *Client) AddVMSharedFolder(ID string, gp string, hp string, flags int) (*SharedFolder, error) + func (c *Client) CloneVM(ID, name, tag string) (*CloneVM, error) + func (c *Client) DeleteVM(ID string) error + func (c *Client) GetPowerVM(ID string) (*Response, error) + func (c *Client) GetVM(ID string) (*VM, error) + func (c *Client) GetVMIPAddress(ID string) (*Response, error) + func (c *Client) GetVMSharedFolder(ID, folderID string) (*SharedFolder, error) + func (c *Client) GetVMSharedFolders(ID string) ([]string, error) + func (c *Client) ListVMs() ([]string, error) + func (c *Client) NewRequest(params map[string]string, method string, u url.URL, body io.Reader) *http.Request + func (c *Client) PowerVM(ID, operation string) (*Response, error) + func (c *Client) SetVMSharedFolders(ID, operation string) (*Response, error) + type CloneVM struct + ID string + Name string + Tag string + type Driver struct + APIPort int + CPU int + CPUS int + DiskSize int + Memory int + VMLocation string + func (d *Driver) Create() error + func (d *Driver) DriverName() string + func (d *Driver) GetCreateFlags() []mcnflag.Flag + func (d *Driver) GetIP() (string, error) + func (d *Driver) GetMachineName() string + func (d *Driver) GetSSHHostname() (string, error) + func (d *Driver) GetSSHPort() (int, error) + func (d *Driver) GetSSHUsername() string + func (d *Driver) GetState() (state.State, error) + func (d *Driver) GetURL() (string, error) + func (d *Driver) Kill() error + func (d *Driver) PreCreateCheck() 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 Response struct + Code int + Message string + type SharedFolder struct + Flags int + GuestPath string + HostPath string + type VM struct + ID string + Name string + Tag string + type VMDelete struct + ID string + type VMInfo struct + ID string + Name string + Tag string