Versions in this module Expand all Collapse all v0 v0.2.0 May 30, 2014 Changes in this version + const HardReboot + const OSReboot + const PowerCycle + const SoftReboot + var ErrNotImplemented = fmt.Errorf("Compute Servers feature not implemented.") + func ChangeAdminPassword(c *Client, id, newPassword string) error + func ConfirmResize(c *Client, id string) error + func Delete(c *Client, id string) error + func Reboot(c *Client, id, how string) error + func Resize(c *Client, id, flavorRef string) error + func RevertResize(c *Client, id string) error + type Client struct + func NewClient(e string, a identity.AuthResults, o identity.AuthOptions) *Client + type ErrArgument struct + Argument string + Function string + Value interface{} + func (e *ErrArgument) Error() string + func (e *ErrArgument) String() string + type ListResult map[string]interface + func List(c *Client) (ListResult, error) + type Server struct + AccessIPv4 string + AccessIPv6 string + Addresses map[string]interface{} + AdminPass string + Created string + Flavor map[string]interface{} + HostId string + Id string + Image map[string]interface{} + Links []interface{} + Metadata map[string]interface{} + Name string + Progress int + Status string + TenantId string + Updated string + UserId string + func GetServer(sr ServerResult) (*Server, error) + func GetServers(lr ListResult) ([]Server, error) + type ServerResult map[string]interface + func Create(c *Client, opts map[string]interface{}) (ServerResult, error) + func GetDetail(c *Client, id string) (ServerResult, error) + func Rebuild(c *Client, id, name, password, imageRef string, ...) (ServerResult, error) + func Update(c *Client, id string, opts map[string]interface{}) (ServerResult, error)