Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeServiceProvider
- func (fake *FakeServiceProvider) Bind(ctx context.Context, vc *varcontext.VarContext) (map[string]interface{}, error)
- func (fake *FakeServiceProvider) BindArgsForCall(i int) (context.Context, *varcontext.VarContext)
- func (fake *FakeServiceProvider) BindCallCount() int
- func (fake *FakeServiceProvider) BindReturns(result1 map[string]interface{}, result2 error)
- func (fake *FakeServiceProvider) BindReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *FakeServiceProvider) BuildInstanceCredentials(ctx context.Context, bindRecord models.ServiceBindingCredentials, ...) (map[string]interface{}, error)
- func (fake *FakeServiceProvider) BuildInstanceCredentialsArgsForCall(i int) (context.Context, models.ServiceBindingCredentials, ...)
- func (fake *FakeServiceProvider) BuildInstanceCredentialsCallCount() int
- func (fake *FakeServiceProvider) BuildInstanceCredentialsReturns(result1 map[string]interface{}, result2 error)
- func (fake *FakeServiceProvider) BuildInstanceCredentialsReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *FakeServiceProvider) Deprovision(ctx context.Context, instance models.ServiceInstanceDetails, ...) (operationId *string, err error)
- func (fake *FakeServiceProvider) DeprovisionArgsForCall(i int) (context.Context, models.ServiceInstanceDetails, brokerapi.DeprovisionDetails)
- func (fake *FakeServiceProvider) DeprovisionCallCount() int
- func (fake *FakeServiceProvider) DeprovisionReturns(result1 *string, result2 error)
- func (fake *FakeServiceProvider) DeprovisionReturnsOnCall(i int, result1 *string, result2 error)
- func (fake *FakeServiceProvider) DeprovisionsAsync() bool
- func (fake *FakeServiceProvider) DeprovisionsAsyncCallCount() int
- func (fake *FakeServiceProvider) DeprovisionsAsyncReturns(result1 bool)
- func (fake *FakeServiceProvider) DeprovisionsAsyncReturnsOnCall(i int, result1 bool)
- func (fake *FakeServiceProvider) Invocations() map[string][][]interface{}
- func (fake *FakeServiceProvider) PollInstance(ctx context.Context, instance models.ServiceInstanceDetails) (bool, error)
- func (fake *FakeServiceProvider) PollInstanceArgsForCall(i int) (context.Context, models.ServiceInstanceDetails)
- func (fake *FakeServiceProvider) PollInstanceCallCount() int
- func (fake *FakeServiceProvider) PollInstanceReturns(result1 bool, result2 error)
- func (fake *FakeServiceProvider) PollInstanceReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeServiceProvider) Provision(ctx context.Context, provisionContext *varcontext.VarContext) (models.ServiceInstanceDetails, error)
- func (fake *FakeServiceProvider) ProvisionArgsForCall(i int) (context.Context, *varcontext.VarContext)
- func (fake *FakeServiceProvider) ProvisionCallCount() int
- func (fake *FakeServiceProvider) ProvisionReturns(result1 models.ServiceInstanceDetails, result2 error)
- func (fake *FakeServiceProvider) ProvisionReturnsOnCall(i int, result1 models.ServiceInstanceDetails, result2 error)
- func (fake *FakeServiceProvider) ProvisionsAsync() bool
- func (fake *FakeServiceProvider) ProvisionsAsyncCallCount() int
- func (fake *FakeServiceProvider) ProvisionsAsyncReturns(result1 bool)
- func (fake *FakeServiceProvider) ProvisionsAsyncReturnsOnCall(i int, result1 bool)
- func (fake *FakeServiceProvider) Unbind(ctx context.Context, instance models.ServiceInstanceDetails, ...) error
- func (fake *FakeServiceProvider) UnbindArgsForCall(i int) (context.Context, models.ServiceInstanceDetails, ...)
- func (fake *FakeServiceProvider) UnbindCallCount() int
- func (fake *FakeServiceProvider) UnbindReturns(result1 error)
- func (fake *FakeServiceProvider) UnbindReturnsOnCall(i int, result1 error)
- func (fake *FakeServiceProvider) UpdateInstanceDetails(ctx context.Context, instance *models.ServiceInstanceDetails) error
- func (fake *FakeServiceProvider) UpdateInstanceDetailsArgsForCall(i int) (context.Context, *models.ServiceInstanceDetails)
- func (fake *FakeServiceProvider) UpdateInstanceDetailsCallCount() int
- func (fake *FakeServiceProvider) UpdateInstanceDetailsReturns(result1 error)
- func (fake *FakeServiceProvider) UpdateInstanceDetailsReturnsOnCall(i int, result1 error)
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 (fake *FakeServiceProvider) DeprovisionArgsForCall(i int) (context.Context, models.ServiceInstanceDetails, brokerapi.DeprovisionDetails)
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 (fake *FakeServiceProvider) Unbind(ctx context.Context, instance models.ServiceInstanceDetails, details models.ServiceBindingCredentials) error
func (*FakeServiceProvider) UnbindArgsForCall ¶
func (fake *FakeServiceProvider) UnbindArgsForCall(i int) (context.Context, models.ServiceInstanceDetails, models.ServiceBindingCredentials)
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)
Click to show internal directories.
Click to hide internal directories.