fakes

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDBEngine

type FakeDBEngine struct{}

func (*FakeDBEngine) Close

func (f *FakeDBEngine) Close()

func (*FakeDBEngine) CreateUser

func (f *FakeDBEngine) CreateUser(instanceID, bindingID string, deployment *composeapi.Deployment) (*dbengine.Credentials, error)

func (*FakeDBEngine) DropUser

func (f *FakeDBEngine) DropUser(instanceID, bindingID string, deployment *composeapi.Deployment) error

func (*FakeDBEngine) Open

func (*FakeDBEngine) ParseConnectionString

func (f *FakeDBEngine) ParseConnectionString(deployment *composeapi.Deployment) (*dbengine.Credentials, error)

type FakeProvider

type FakeProvider struct {
	DBEngine      dbengine.DBEngine
	DBEngineError error
}

func (FakeProvider) GetDBEngine

func (f FakeProvider) GetDBEngine(engine string) (dbengine.DBEngine, error)

Jump to

Keyboard shortcuts

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