migrate

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migrator

type Migrator struct {
	// contains filtered or unexported fields
}

func NewMigrator

func NewMigrator(client client, unpacker unpacker) *Migrator

func (*Migrator) CheckServiceExists

func (m *Migrator) CheckServiceExists(donorInstanceName string) error

func (*Migrator) CleanupOnError

func (m *Migrator) CleanupOnError(recipientServiceInstance string) error

func (*Migrator) CreateAndConfigureServiceInstance

func (m *Migrator) CreateAndConfigureServiceInstance(planType, serviceName string) error

func (*Migrator) MigrateData

func (m *Migrator) MigrateData(donorInstanceName, recipientInstanceName string, cleanup bool) error

func (*Migrator) RenameServiceInstances

func (m *Migrator) RenameServiceInstances(donorInstanceName, recipientInstanceName string) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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