Versions in this module Expand all Collapse all v0 v0.7.1 Dec 27, 2019 Changes in this version + func List(client *gophercloud.ServiceClient) pagination.Pager + type ActionResult struct + func Resize(client *gophercloud.ServiceClient, id, flavorRef string) (r ActionResult) + func ResizeVolume(client *gophercloud.ServiceClient, id string, size int) (r ActionResult) + func Restart(client *gophercloud.ServiceClient, id string) (r ActionResult) + type ConfigurationResult struct + func AttachConfigurationGroup(client *gophercloud.ServiceClient, instanceID string, configID string) (r ConfigurationResult) + func DetachConfigurationGroup(client *gophercloud.ServiceClient, instanceID string) (r ConfigurationResult) + type CreateOpts struct + Databases db.CreateOptsBuilder + Datastore *DatastoreOpts + FlavorRef string + Name string + Networks []NetworkOpts + Size int + Users users.CreateOptsBuilder + func (opts CreateOpts) ToInstanceCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToInstanceCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Instance, error) + type DatastoreOpts struct + Type string + Version string + func (opts DatastoreOpts) ToMap() (map[string]interface{}, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type EnableRootUserResult struct + func EnableRootUser(client *gophercloud.ServiceClient, id string) (r EnableRootUserResult) + func (r EnableRootUserResult) Extract() (*users.User, error) + type Fault struct + Created time.Time + Details string + Message string + func (r *Fault) UnmarshalJSON(b []byte) error + type Flavor struct + ID string + Links []gophercloud.Link + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Instance, error) + type Instance struct + Created time.Time + Datastore datastores.DatastorePartial + Fault *Fault + Flavor Flavor + Hostname string + ID string + IP []string + Links []gophercloud.Link + Name string + Status string + Updated time.Time + Volume Volume + func ExtractInstances(r pagination.Page) ([]Instance, error) + func (r *Instance) UnmarshalJSON(b []byte) error + type InstancePage struct + func (page InstancePage) IsEmpty() (bool, error) + func (page InstancePage) NextPageURL() (string, error) + type IsRootEnabledResult struct + func IsRootEnabled(client *gophercloud.ServiceClient, id string) (r IsRootEnabledResult) + func (r IsRootEnabledResult) Extract() (bool, error) + type NetworkOpts struct + Port string + UUID string + V4FixedIP string + V6FixedIP string + func (opts NetworkOpts) ToMap() (map[string]interface{}, error) + type Volume struct + Size int + Used float64