brokerfakes

package
v5.1.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 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 {
	BindStub func(context.Context, *varcontext.VarContext) (map[string]interface{}, error)

	BuildInstanceCredentialsStub func(context.Context, models.ServiceBindingCredentials, models.ServiceInstanceDetails) (*brokerapi.Binding, error)

	DeprovisionStub func(context.Context, models.ServiceInstanceDetails, brokerapi.DeprovisionDetails) (*string, error)

	DeprovisionsAsyncStub func() bool

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

	ProvisionStub func(context.Context, *varcontext.VarContext) (models.ServiceInstanceDetails, error)

	ProvisionsAsyncStub func() bool

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

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

func (*FakeServiceProvider) Bind

func (fake *FakeServiceProvider) Bind(arg1 context.Context, arg2 *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) BindCalls

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

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 (*FakeServiceProvider) BuildInstanceCredentialsArgsForCall

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

func (*FakeServiceProvider) BuildInstanceCredentialsCallCount

func (fake *FakeServiceProvider) BuildInstanceCredentialsCallCount() int

func (*FakeServiceProvider) BuildInstanceCredentialsCalls

func (*FakeServiceProvider) BuildInstanceCredentialsReturns

func (fake *FakeServiceProvider) BuildInstanceCredentialsReturns(result1 *brokerapi.Binding, result2 error)

func (*FakeServiceProvider) BuildInstanceCredentialsReturnsOnCall

func (fake *FakeServiceProvider) BuildInstanceCredentialsReturnsOnCall(i int, result1 *brokerapi.Binding, result2 error)

func (*FakeServiceProvider) Deprovision

func (*FakeServiceProvider) DeprovisionArgsForCall

func (*FakeServiceProvider) DeprovisionCallCount

func (fake *FakeServiceProvider) DeprovisionCallCount() int

func (*FakeServiceProvider) DeprovisionCalls

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) DeprovisionsAsyncCalls

func (fake *FakeServiceProvider) DeprovisionsAsyncCalls(stub func() bool)

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(arg1 context.Context, arg2 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) PollInstanceCalls

func (fake *FakeServiceProvider) PollInstanceCalls(stub func(context.Context, models.ServiceInstanceDetails) (bool, error))

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 (*FakeServiceProvider) ProvisionArgsForCall

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

func (*FakeServiceProvider) ProvisionCallCount

func (fake *FakeServiceProvider) ProvisionCallCount() int

func (*FakeServiceProvider) ProvisionCalls

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) ProvisionsAsyncCalls

func (fake *FakeServiceProvider) ProvisionsAsyncCalls(stub func() bool)

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) UnbindCalls

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(arg1 context.Context, arg2 *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) UpdateInstanceDetailsCalls

func (fake *FakeServiceProvider) UpdateInstanceDetailsCalls(stub func(context.Context, *models.ServiceInstanceDetails) error)

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