fakes

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCredentials added in v0.14.0

type FakeCredentials struct {
	Host                string `json:"host"`
	Port                string `json:"port"`
	Name                string `json:"name"`
	Username            string `json:"username"`
	Password            string `json:"password"`
	URI                 string `json:"uri"`
	CACertificateBase64 string `json:"ca_certificate_base64"`
}

type FakeDBEngine

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

func (*FakeDBEngine) GenerateCredentials added in v0.11.0

func (e *FakeDBEngine) GenerateCredentials(instanceID, bindingID string) (interface{}, error)

func (*FakeDBEngine) RevokeCredentials added in v0.11.0

func (f *FakeDBEngine) RevokeCredentials(instanceID, bindingID string) error

type FakeProvider

type FakeProvider struct {
	DBEngine      dbengine.DBEngine
	DBEngineError error
}

func (FakeProvider) GetDBEngine

func (f FakeProvider) GetDBEngine(deployment *composeapi.Deployment) (dbengine.DBEngine, error)

Jump to

Keyboard shortcuts

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