fakes

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeMongoSession added in v0.15.0

type FakeMongoSession struct {
	RunStub func(cmd interface{}, result interface{}) error
	// contains filtered or unexported fields
}

func (*FakeMongoSession) Invocations added in v0.15.0

func (fake *FakeMongoSession) Invocations() map[string][][]interface{}

func (*FakeMongoSession) Run added in v0.15.0

func (fake *FakeMongoSession) Run(cmd interface{}, result interface{}) error

func (*FakeMongoSession) RunArgsForCall added in v0.15.0

func (fake *FakeMongoSession) RunArgsForCall(i int) (interface{}, interface{})

func (*FakeMongoSession) RunCallCount added in v0.15.0

func (fake *FakeMongoSession) RunCallCount() int

func (*FakeMongoSession) RunReturns added in v0.15.0

func (fake *FakeMongoSession) RunReturns(result1 error)

func (*FakeMongoSession) RunReturnsOnCall added in v0.15.0

func (fake *FakeMongoSession) RunReturnsOnCall(i int, result1 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