Documentation ¶
Index ¶
- type Client
- type MigrateOptions
- type Migrator
- func (m *Migrator) CheckServiceExists(donorInstanceName string) error
- func (m *Migrator) CleanupOnError(recipientServiceInstance string) error
- func (m *Migrator) CreateServiceInstance(planType, serviceName string) error
- func (m *Migrator) MigrateData(opts MigrateOptions) error
- func (m *Migrator) RenameServiceInstances(donorInstanceName, recipientInstanceName string) error
- type Unpacker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { ServiceExists(serviceName string) bool CreateServiceInstance(planType, instanceName string) error BindService(appName, serviceName string) error DeleteApp(appName string) error DeleteServiceInstance(instanceName string) error GetLogs(appName, filter string) ([]string, error) PushApp(path, appName string) error RenameService(oldName, newName string) error RunTask(appName, command string) error StartApp(appName string) error }
type MigrateOptions ¶ added in v0.7.1
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
func NewMigrator ¶
func (*Migrator) CheckServiceExists ¶
func (*Migrator) CleanupOnError ¶
func (*Migrator) CreateServiceInstance ¶ added in v0.8.0
func (*Migrator) MigrateData ¶
func (m *Migrator) MigrateData(opts MigrateOptions) error
func (*Migrator) RenameServiceInstances ¶
Click to show internal directories.
Click to hide internal directories.