Versions in this module Expand all Collapse all v0 v0.0.2 Feb 16, 2015 v0.0.1 Dec 1, 2014 Changes in this version + type Catalog struct + Catalog *types.Catalog + func NewCatalog(c *Client) *Catalog + func (c *Catalog) FindCatalogItem(catalogitem string) (CatalogItem, error) + type CatalogItem struct + CatalogItem *types.CatalogItem + func NewCatalogItem(c *Client) *CatalogItem + func (ci *CatalogItem) GetVAppTemplate() (VAppTemplate, error) + type Client struct + Http http.Client + Region string + VAEndpoint url.URL + VAToken string + VCDAuthHeader string + VCDToken string + VCDVDCHREF url.URL + func NewClient() (*Client, error) + func (c *Client) Authenticate(username, password, computeid, vdcid string) (Vdc, error) + func (c *Client) Disconnect() error + func (c *Client) NewRequest(params map[string]string, method string, u url.URL, body io.Reader) *http.Request + type EdgeGateway struct + EdgeGateway *types.EdgeGateway + func NewEdgeGateway(c *Client) *EdgeGateway + func (e *EdgeGateway) Create1to1Mapping(internal, external, description string) (Task, error) + func (e *EdgeGateway) Refresh() error + func (e *EdgeGateway) Remove1to1Mapping(internal, external string) (Task, error) + type Org struct + Org *types.Org + func NewOrg(c *Client) *Org + func (o *Org) FindCatalog(catalog string) (Catalog, error) + type OrgVDCNetwork struct + OrgVDCNetwork *types.OrgVDCNetwork + func NewOrgVDCNetwork(c *Client) *OrgVDCNetwork + type Task struct + Task *types.Task + func NewTask(c *Client) *Task + func (t *Task) Refresh() error + func (t *Task) WaitTaskCompletion() error + type VApp struct + VApp *types.VApp + func NewVApp(c *Client) *VApp + func (v *VApp) ChangeCPUcount(size int) (Task, error) + func (v *VApp) ChangeMemorySize(size int) (Task, error) + func (v *VApp) ComposeVApp(orgvdcnetwork OrgVDCNetwork, vapptemplate VAppTemplate, name string, ...) (Task, error) + func (v *VApp) Delete() (Task, error) + func (v *VApp) Deploy() (Task, error) + func (v *VApp) GetStatus() (string, error) + func (v *VApp) PowerOff() (Task, error) + func (v *VApp) PowerOn() (Task, error) + func (v *VApp) Reboot() (Task, error) + func (v *VApp) Refresh() error + func (v *VApp) Reset() (Task, error) + func (v *VApp) RunCustomizationScript(computername, script string) (Task, error) + func (v *VApp) Shutdown() (Task, error) + func (v *VApp) Suspend() (Task, error) + func (v *VApp) Undeploy() (Task, error) + type VAppTemplate struct + VAppTemplate *types.VAppTemplate + func NewVAppTemplate(c *Client) *VAppTemplate + type Vdc struct + Vdc *types.Vdc + func NewVdc(c *Client) *Vdc + func (v *Vdc) FindEdgeGateway(edgegateway string) (EdgeGateway, error) + func (v *Vdc) FindVAppByID(vappid string) (VApp, error) + func (v *Vdc) FindVAppByName(vapp string) (VApp, error) + func (v *Vdc) FindVDCNetwork(network string) (OrgVDCNetwork, error) + func (v *Vdc) GetVDCOrg() (Org, error) + func (v *Vdc) Refresh() error