Documentation
¶
Overview ¶
Package migrate provides functionality to migrate servers that have been provisioned by the OpenStack Compute service.
Example to Migrate a Server
serverID := "b16ba811-199d-4ffd-8839-ba96c1185a67" err := migrate.Migrate(computeClient, serverID).ExtractErr() if err != nil { panic(err) }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrateResult ¶
type MigrateResult struct {
gophercloud.ErrResult
}
MigrateResult is the response from a Migrate operation. Call its ExtractErr method to determine if the request suceeded or failed.
func Migrate ¶
func Migrate(client *gophercloud.ServiceClient, id string) (r MigrateResult)
Migrate will initiate a migration of the instance to another host.
Click to show internal directories.
Click to hide internal directories.