plugin

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindBindings added in v0.7.1

func FindBindings(bf BindingFinder, args []string) error

func Migrate

func Migrate(migrator Migrator, args []string) error

Types

type BindingFinder added in v0.7.1

type BindingFinder interface {
	FindBindings(serviceLabel string) ([]find_bindings.Binding, error)
}

type Migrator

type Migrator interface {
	CheckServiceExists(donorInstanceName string) error
	CreateServiceInstance(planType, serviceName string) error
	MigrateData(options migrate.MigrateOptions) error
	RenameServiceInstances(donorInstanceName, recipientInstanceName string) error
	CleanupOnError(recipientInstanceName string) error
}

type MySQLPlugin

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

func (*MySQLPlugin) Err

func (c *MySQLPlugin) Err() error

func (*MySQLPlugin) GetMetadata

func (c *MySQLPlugin) GetMetadata() plugin.PluginMetadata

func (*MySQLPlugin) Run

func (c *MySQLPlugin) Run(cliConnection plugin.CliConnection, args []string)

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