Documentation
¶
Index ¶
- type Client
- type Migrator
- func (m *Migrator) CheckServiceExists(donorInstanceName string) error
- func (m *Migrator) CleanupOnError(recipientServiceInstance string) error
- func (m *Migrator) CreateAndConfigureServiceInstance(planType, serviceName string) error
- func (m *Migrator) MigrateData(donorInstanceName, recipientInstanceName string, cleanup bool) error
- func (m *Migrator) RenameServiceInstances(donorInstanceName, recipientInstanceName string) error
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
GetHostnames(instanceName string) ([]string, error)
UpdateServiceConfig(instanceName string, jsonParams string) error
BindService(appName, serviceName string) error
DeleteApp(appName string) error
DeleteServiceInstance(instanceName string) error
DumpLogs(appName string)
PushApp(path, appName string) error
RenameService(oldName, newName string) error
RunTask(appName, command string) error
StartApp(appName string) error
}
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
func NewMigrator ¶
func (*Migrator) CheckServiceExists ¶
func (*Migrator) CleanupOnError ¶
func (*Migrator) CreateAndConfigureServiceInstance ¶
func (*Migrator) MigrateData ¶
func (*Migrator) RenameServiceInstances ¶
Click to show internal directories.
Click to hide internal directories.