migrate

package
v0.0.0-...-4d2733c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Directories

Path Synopsis
compute_extensions_startstop_v2
compute_extensions_startstop_v2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL