brokerfakes

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 6 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 FakeServiceProvider

type FakeServiceProvider struct {
	ProvisionStub func(ctx context.Context, provisionContext *varcontext.VarContext) (models.ServiceInstanceDetails, error)

	BindStub func(ctx context.Context, vc *varcontext.VarContext) (map[string]interface{}, error)

	BuildInstanceCredentialsStub func(ctx context.Context, bindRecord models.ServiceBindingCredentials, instance models.ServiceInstanceDetails) (map[string]interface{}, error)

	UnbindStub func(ctx context.Context, instance models.ServiceInstanceDetails, details models.ServiceBindingCredentials) error

	DeprovisionStub func(ctx context.Context, instance models.ServiceInstanceDetails, details brokerapi.DeprovisionDetails) (operationId *string, err error)

	PollInstanceStub func(ctx context.Context, instance models.ServiceInstanceDetails) (bool, error)

	ProvisionsAsyncStub func() bool

	DeprovisionsAsyncStub func() bool

	UpdateInstanceDetailsStub func(ctx context.Context, instance *models.ServiceInstanceDetails) error
	// contains filtered or unexported fields
}

func (*FakeServiceProvider) Bind

func (fake *FakeServiceProvider) Bind(ctx context.Context, vc *varcontext.VarContext) (map[string]interface{}, error)

func (*FakeServiceProvider) BindArgsForCall

func (fake *FakeServiceProvider) BindArgsForCall(i int) (context.Context, *varcontext.VarContext)

func (*FakeServiceProvider) BindCallCount

func (fake *FakeServiceProvider) BindCallCount() int

func (*FakeServiceProvider) BindReturns

func (fake *FakeServiceProvider) BindReturns(result1 map[string]interface{}, result2 error)

func (*FakeServiceProvider) BindReturnsOnCall

func (fake *FakeServiceProvider) BindReturnsOnCall(i int, result1 map[string]interface{}, result2 error)

func (*FakeServiceProvider) BuildInstanceCredentials

func (fake *FakeServiceProvider) BuildInstanceCredentials(ctx context.Context, bindRecord models.ServiceBindingCredentials, instance models.ServiceInstanceDetails) (map[string]interface{}, error)

func (*FakeServiceProvider) BuildInstanceCredentialsArgsForCall

func (fake *FakeServiceProvider) BuildInstanceCredentialsArgsForCall(i int) (context.Context, models.ServiceBindingCredentials, models.ServiceInstanceDetails)

func (*FakeServiceProvider) BuildInstanceCredentialsCallCount

func (fake *FakeServiceProvider) BuildInstanceCredentialsCallCount() int

func (*FakeServiceProvider) BuildInstanceCredentialsReturns

func (fake *FakeServiceProvider) BuildInstanceCredentialsReturns(result1 map[string]interface{}, result2 error)

func (*FakeServiceProvider) BuildInstanceCredentialsReturnsOnCall

func (fake *FakeServiceProvider) BuildInstanceCredentialsReturnsOnCall(i int, result1 map[string]interface{}, result2 error)

func (*FakeServiceProvider) Deprovision

func (fake *FakeServiceProvider) Deprovision(ctx context.Context, instance models.ServiceInstanceDetails, details brokerapi.DeprovisionDetails) (operationId *string, err error)

func (*FakeServiceProvider) DeprovisionArgsForCall

func (*FakeServiceProvider) DeprovisionCallCount

func (fake *FakeServiceProvider) DeprovisionCallCount() int

func (*FakeServiceProvider) DeprovisionReturns

func (fake *FakeServiceProvider) DeprovisionReturns(result1 *string, result2 error)

func (*FakeServiceProvider) DeprovisionReturnsOnCall

func (fake *FakeServiceProvider) DeprovisionReturnsOnCall(i int, result1 *string, result2 error)

func (*FakeServiceProvider) DeprovisionsAsync

func (fake *FakeServiceProvider) DeprovisionsAsync() bool

func (*FakeServiceProvider) DeprovisionsAsyncCallCount

func (fake *FakeServiceProvider) DeprovisionsAsyncCallCount() int

func (*FakeServiceProvider) DeprovisionsAsyncReturns

func (fake *FakeServiceProvider) DeprovisionsAsyncReturns(result1 bool)

func (*FakeServiceProvider) DeprovisionsAsyncReturnsOnCall

func (fake *FakeServiceProvider) DeprovisionsAsyncReturnsOnCall(i int, result1 bool)

func (*FakeServiceProvider) Invocations

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

func (*FakeServiceProvider) PollInstance

func (fake *FakeServiceProvider) PollInstance(ctx context.Context, instance models.ServiceInstanceDetails) (bool, error)

func (*FakeServiceProvider) PollInstanceArgsForCall

func (fake *FakeServiceProvider) PollInstanceArgsForCall(i int) (context.Context, models.ServiceInstanceDetails)

func (*FakeServiceProvider) PollInstanceCallCount

func (fake *FakeServiceProvider) PollInstanceCallCount() int

func (*FakeServiceProvider) PollInstanceReturns

func (fake *FakeServiceProvider) PollInstanceReturns(result1 bool, result2 error)

func (*FakeServiceProvider) PollInstanceReturnsOnCall

func (fake *FakeServiceProvider) PollInstanceReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeServiceProvider) Provision

func (fake *FakeServiceProvider) Provision(ctx context.Context, provisionContext *varcontext.VarContext) (models.ServiceInstanceDetails, error)

func (*FakeServiceProvider) ProvisionArgsForCall

func (fake *FakeServiceProvider) ProvisionArgsForCall(i int) (context.Context, *varcontext.VarContext)

func (*FakeServiceProvider) ProvisionCallCount

func (fake *FakeServiceProvider) ProvisionCallCount() int

func (*FakeServiceProvider) ProvisionReturns

func (fake *FakeServiceProvider) ProvisionReturns(result1 models.ServiceInstanceDetails, result2 error)

func (*FakeServiceProvider) ProvisionReturnsOnCall

func (fake *FakeServiceProvider) ProvisionReturnsOnCall(i int, result1 models.ServiceInstanceDetails, result2 error)

func (*FakeServiceProvider) ProvisionsAsync

func (fake *FakeServiceProvider) ProvisionsAsync() bool

func (*FakeServiceProvider) ProvisionsAsyncCallCount

func (fake *FakeServiceProvider) ProvisionsAsyncCallCount() int

func (*FakeServiceProvider) ProvisionsAsyncReturns

func (fake *FakeServiceProvider) ProvisionsAsyncReturns(result1 bool)

func (*FakeServiceProvider) ProvisionsAsyncReturnsOnCall

func (fake *FakeServiceProvider) ProvisionsAsyncReturnsOnCall(i int, result1 bool)

func (*FakeServiceProvider) Unbind

func (*FakeServiceProvider) UnbindArgsForCall

func (*FakeServiceProvider) UnbindCallCount

func (fake *FakeServiceProvider) UnbindCallCount() int

func (*FakeServiceProvider) UnbindReturns

func (fake *FakeServiceProvider) UnbindReturns(result1 error)

func (*FakeServiceProvider) UnbindReturnsOnCall

func (fake *FakeServiceProvider) UnbindReturnsOnCall(i int, result1 error)

func (*FakeServiceProvider) UpdateInstanceDetails

func (fake *FakeServiceProvider) UpdateInstanceDetails(ctx context.Context, instance *models.ServiceInstanceDetails) error

func (*FakeServiceProvider) UpdateInstanceDetailsArgsForCall

func (fake *FakeServiceProvider) UpdateInstanceDetailsArgsForCall(i int) (context.Context, *models.ServiceInstanceDetails)

func (*FakeServiceProvider) UpdateInstanceDetailsCallCount

func (fake *FakeServiceProvider) UpdateInstanceDetailsCallCount() int

func (*FakeServiceProvider) UpdateInstanceDetailsReturns

func (fake *FakeServiceProvider) UpdateInstanceDetailsReturns(result1 error)

func (*FakeServiceProvider) UpdateInstanceDetailsReturnsOnCall

func (fake *FakeServiceProvider) UpdateInstanceDetailsReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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