Documentation
¶
Index ¶
- func NewDriver(hostName, storePath string) drivers.Driver
- type Client
- 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
- type Driver
- 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
- type SharedFolder
- type VM
- type VMDelete
- type VMInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { Endpoint url.URL // Endpoint is the REST api endpoint AppCatalyst is listening on HTTP http.Client // HttpClient is the client to use. Default will be used if not provided. }
Client is the struct that holds information on the AppCatalyst endpoint
func (*Client) AddVMSharedFolder ¶
func (c *Client) AddVMSharedFolder(ID string, gp string, hp string, flags int) (*SharedFolder, error)
CloneVM creates a clone starting from an existing VM
func (*Client) GetVMSharedFolder ¶
func (c *Client) GetVMSharedFolder(ID, folderID string) (*SharedFolder, error)
GetVM gets information for a specific VM
func (*Client) GetVMSharedFolders ¶
GetVMSharedFolders gets shared folders information for a specific VM
type Driver ¶
type Driver struct { *drivers.BaseDriver Memory int DiskSize int CPU int CPUS int VMLocation string APIPort int }
Driver for VMware AppCatalyst
func (*Driver) DriverName ¶
DriverName returns the name of the driver
func (*Driver) GetCreateFlags ¶
GetCreateFlags registers the flags this driver adds to "docker hosts create"
func (*Driver) GetMachineName ¶
func (*Driver) GetSSHHostname ¶
func (*Driver) GetSSHPort ¶
func (*Driver) GetSSHUsername ¶
func (*Driver) PreCreateCheck ¶
func (*Driver) SetConfigFromFlags ¶
func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
type SharedFolder ¶
type SharedFolder struct {}
Directories
¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/golang.org/x/crypto/ssh
Package ssh implements an SSH client and server.
|
Package ssh implements an SSH client and server. |
_workspace/src/golang.org/x/crypto/ssh/agent
Package agent implements a client to an ssh-agent daemon.
|
Package agent implements a client to an ssh-agent daemon. |
_workspace/src/golang.org/x/crypto/ssh/terminal
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
|
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems. |
_workspace/src/golang.org/x/crypto/ssh/test
This package contains integration tests for the golang.org/x/crypto/ssh package.
|
This package contains integration tests for the golang.org/x/crypto/ssh package. |
Click to show internal directories.
Click to hide internal directories.