Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2014 Changes in this version + const HardReboot + const OSReboot + const PowerCycle + const SoftReboot + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func WaitForStatus(c *gophercloud.ServiceClient, id, status string, secs int) error + type ActionResult struct + func ChangeAdminPassword(client *gophercloud.ServiceClient, id, newPassword string) ActionResult + func ConfirmResize(client *gophercloud.ServiceClient, id string) ActionResult + func Reboot(client *gophercloud.ServiceClient, id string, how RebootMethod) ActionResult + func Resize(client *gophercloud.ServiceClient, id string, opts ResizeOptsBuilder) ActionResult + func RevertResize(client *gophercloud.ServiceClient, id string) ActionResult + type CreateOpts struct + AvailabilityZone string + ConfigDrive bool + FlavorRef string + ImageRef string + Metadata map[string]string + Name string + Networks []Network + Personality []byte + SecurityGroups []string + UserData []byte + func (opts CreateOpts) ToServerCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToServerCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) CreateResult + func (r CreateResult) Extract() (*Server, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) DeleteResult + type ErrArgument struct + Argument string + Function string + Value interface{} + func (e *ErrArgument) Error() string + func (e *ErrArgument) String() string + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) GetResult + func (r GetResult) Extract() (*Server, error) + type ListOpts struct + ChangesSince string + Flavor string + Host string + Image string + Limit int + Marker string + Name string + Status string + func (opts ListOpts) ToServerListQuery() (string, error) + type ListOptsBuilder interface + ToServerListQuery func() (string, error) + type Network struct + FixedIP string + Port string + UUID string + type RebootMethod string + type RebuildOpts struct + AccessIPv4 string + AccessIPv6 string + AdminPass string + ImageID string + Metadata map[string]string + Name string + Personality []byte + func (opts RebuildOpts) ToServerRebuildMap() (map[string]interface{}, error) + type RebuildOptsBuilder interface + ToServerRebuildMap func() (map[string]interface{}, error) + type RebuildResult struct + func Rebuild(client *gophercloud.ServiceClient, id string, opts RebuildOptsBuilder) RebuildResult + func (r RebuildResult) Extract() (*Server, error) + type ResizeOpts struct + FlavorRef string + func (opts ResizeOpts) ToServerResizeMap() (map[string]interface{}, error) + type ResizeOptsBuilder interface + ToServerResizeMap func() (map[string]interface{}, 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{} + KeyName string + Links []interface{} + Metadata map[string]interface{} + Name string + Progress int + Status string + TenantID string + Updated string + UserID string + func ExtractServers(page pagination.Page) ([]Server, error) + type ServerPage struct + func (page ServerPage) IsEmpty() (bool, error) + func (page ServerPage) NextPageURL() (string, error) + type UpdateOpts struct + AccessIPv4 string + AccessIPv6 string + Name string + func (opts UpdateOpts) ToServerUpdateMap() map[string]interface{} + type UpdateOptsBuilder interface + ToServerUpdateMap func() map[string]interface{} + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) UpdateResult + func (r UpdateResult) Extract() (*Server, error)