brokerfakes

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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]any, error)

	CheckOperationConstraintsStub func(string, string) error

	CheckUpgradeAvailableStub func(string) error

	DeprovisionStub func(context.Context, string, *varcontext.VarContext) (*string, error)

	GetImportedPropertiesStub func(context.Context, string, []broker.BrokerVariable, map[string]any) (map[string]any, error)

	GetTerraformOutputsStub func(context.Context, string) (storage.JSONObject, error)

	PollInstanceStub func(context.Context, string) (bool, string, error)

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

	UnbindStub func(context.Context, string, string, *varcontext.VarContext) error

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

	UpgradeBindingsStub func(context.Context, *varcontext.VarContext, []*varcontext.VarContext) error

	UpgradeInstanceStub func(context.Context, *varcontext.VarContext) (*sync.WaitGroup, error)
	// contains filtered or unexported fields
}

func (*FakeServiceProvider) Bind

func (fake *FakeServiceProvider) Bind(arg1 context.Context, arg2 *varcontext.VarContext) (map[string]any, 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]any, error))

func (*FakeServiceProvider) BindReturns

func (fake *FakeServiceProvider) BindReturns(result1 map[string]any, result2 error)

func (*FakeServiceProvider) BindReturnsOnCall

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

func (*FakeServiceProvider) CheckOperationConstraints added in v0.11.0

func (fake *FakeServiceProvider) CheckOperationConstraints(arg1 string, arg2 string) error

func (*FakeServiceProvider) CheckOperationConstraintsArgsForCall added in v0.11.0

func (fake *FakeServiceProvider) CheckOperationConstraintsArgsForCall(i int) (string, string)

func (*FakeServiceProvider) CheckOperationConstraintsCallCount added in v0.11.0

func (fake *FakeServiceProvider) CheckOperationConstraintsCallCount() int

func (*FakeServiceProvider) CheckOperationConstraintsCalls added in v0.11.0

func (fake *FakeServiceProvider) CheckOperationConstraintsCalls(stub func(string, string) error)

func (*FakeServiceProvider) CheckOperationConstraintsReturns added in v0.11.0

func (fake *FakeServiceProvider) CheckOperationConstraintsReturns(result1 error)

func (*FakeServiceProvider) CheckOperationConstraintsReturnsOnCall added in v0.11.0

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

func (*FakeServiceProvider) CheckUpgradeAvailable added in v0.11.0

func (fake *FakeServiceProvider) CheckUpgradeAvailable(arg1 string) error

func (*FakeServiceProvider) CheckUpgradeAvailableArgsForCall added in v0.11.0

func (fake *FakeServiceProvider) CheckUpgradeAvailableArgsForCall(i int) string

func (*FakeServiceProvider) CheckUpgradeAvailableCallCount added in v0.11.0

func (fake *FakeServiceProvider) CheckUpgradeAvailableCallCount() int

func (*FakeServiceProvider) CheckUpgradeAvailableCalls added in v0.11.0

func (fake *FakeServiceProvider) CheckUpgradeAvailableCalls(stub func(string) error)

func (*FakeServiceProvider) CheckUpgradeAvailableReturns added in v0.11.0

func (fake *FakeServiceProvider) CheckUpgradeAvailableReturns(result1 error)

func (*FakeServiceProvider) CheckUpgradeAvailableReturnsOnCall added in v0.11.0

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

func (*FakeServiceProvider) Deprovision

func (fake *FakeServiceProvider) Deprovision(arg1 context.Context, arg2 string, arg3 *varcontext.VarContext) (*string, error)

func (*FakeServiceProvider) DeprovisionArgsForCall

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

func (*FakeServiceProvider) DeprovisionCallCount

func (fake *FakeServiceProvider) DeprovisionCallCount() int

func (*FakeServiceProvider) DeprovisionCalls

func (fake *FakeServiceProvider) DeprovisionCalls(stub func(context.Context, string, *varcontext.VarContext) (*string, error))

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

func (fake *FakeServiceProvider) GetImportedProperties(arg1 context.Context, arg2 string, arg3 []broker.BrokerVariable, arg4 map[string]any) (map[string]any, error)

func (*FakeServiceProvider) GetImportedPropertiesArgsForCall

func (fake *FakeServiceProvider) GetImportedPropertiesArgsForCall(i int) (context.Context, string, []broker.BrokerVariable, map[string]any)

func (*FakeServiceProvider) GetImportedPropertiesCallCount

func (fake *FakeServiceProvider) GetImportedPropertiesCallCount() int

func (*FakeServiceProvider) GetImportedPropertiesCalls

func (fake *FakeServiceProvider) GetImportedPropertiesCalls(stub func(context.Context, string, []broker.BrokerVariable, map[string]any) (map[string]any, error))

func (*FakeServiceProvider) GetImportedPropertiesReturns

func (fake *FakeServiceProvider) GetImportedPropertiesReturns(result1 map[string]any, result2 error)

func (*FakeServiceProvider) GetImportedPropertiesReturnsOnCall

func (fake *FakeServiceProvider) GetImportedPropertiesReturnsOnCall(i int, result1 map[string]any, result2 error)

func (*FakeServiceProvider) GetTerraformOutputs

func (fake *FakeServiceProvider) GetTerraformOutputs(arg1 context.Context, arg2 string) (storage.JSONObject, error)

func (*FakeServiceProvider) GetTerraformOutputsArgsForCall

func (fake *FakeServiceProvider) GetTerraformOutputsArgsForCall(i int) (context.Context, string)

func (*FakeServiceProvider) GetTerraformOutputsCallCount

func (fake *FakeServiceProvider) GetTerraformOutputsCallCount() int

func (*FakeServiceProvider) GetTerraformOutputsCalls

func (fake *FakeServiceProvider) GetTerraformOutputsCalls(stub func(context.Context, string) (storage.JSONObject, error))

func (*FakeServiceProvider) GetTerraformOutputsReturns

func (fake *FakeServiceProvider) GetTerraformOutputsReturns(result1 storage.JSONObject, result2 error)

func (*FakeServiceProvider) GetTerraformOutputsReturnsOnCall

func (fake *FakeServiceProvider) GetTerraformOutputsReturnsOnCall(i int, result1 storage.JSONObject, result2 error)

func (*FakeServiceProvider) Invocations

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

func (*FakeServiceProvider) PollInstance

func (fake *FakeServiceProvider) PollInstance(arg1 context.Context, arg2 string) (bool, string, error)

func (*FakeServiceProvider) PollInstanceArgsForCall

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

func (*FakeServiceProvider) PollInstanceCallCount

func (fake *FakeServiceProvider) PollInstanceCallCount() int

func (*FakeServiceProvider) PollInstanceCalls

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

func (*FakeServiceProvider) PollInstanceReturns

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

func (*FakeServiceProvider) PollInstanceReturnsOnCall

func (fake *FakeServiceProvider) PollInstanceReturnsOnCall(i int, result1 bool, result2 string, result3 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 storage.ServiceInstanceDetails, result2 error)

func (*FakeServiceProvider) ProvisionReturnsOnCall

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

func (*FakeServiceProvider) Unbind

func (fake *FakeServiceProvider) Unbind(arg1 context.Context, arg2 string, arg3 string, arg4 *varcontext.VarContext) error

func (*FakeServiceProvider) UnbindArgsForCall

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

func (*FakeServiceProvider) UnbindCallCount

func (fake *FakeServiceProvider) UnbindCallCount() int

func (*FakeServiceProvider) UnbindCalls

func (fake *FakeServiceProvider) UnbindCalls(stub func(context.Context, string, string, *varcontext.VarContext) error)

func (*FakeServiceProvider) UnbindReturns

func (fake *FakeServiceProvider) UnbindReturns(result1 error)

func (*FakeServiceProvider) UnbindReturnsOnCall

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

func (*FakeServiceProvider) Update

func (*FakeServiceProvider) UpdateArgsForCall

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

func (*FakeServiceProvider) UpdateCallCount

func (fake *FakeServiceProvider) UpdateCallCount() int

func (*FakeServiceProvider) UpdateCalls

func (*FakeServiceProvider) UpdateReturns

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

func (*FakeServiceProvider) UpdateReturnsOnCall

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

func (*FakeServiceProvider) UpgradeBindings added in v0.12.0

func (fake *FakeServiceProvider) UpgradeBindings(arg1 context.Context, arg2 *varcontext.VarContext, arg3 []*varcontext.VarContext) error

func (*FakeServiceProvider) UpgradeBindingsArgsForCall added in v0.12.0

func (fake *FakeServiceProvider) UpgradeBindingsArgsForCall(i int) (context.Context, *varcontext.VarContext, []*varcontext.VarContext)

func (*FakeServiceProvider) UpgradeBindingsCallCount added in v0.12.0

func (fake *FakeServiceProvider) UpgradeBindingsCallCount() int

func (*FakeServiceProvider) UpgradeBindingsCalls added in v0.12.0

func (fake *FakeServiceProvider) UpgradeBindingsCalls(stub func(context.Context, *varcontext.VarContext, []*varcontext.VarContext) error)

func (*FakeServiceProvider) UpgradeBindingsReturns added in v0.12.0

func (fake *FakeServiceProvider) UpgradeBindingsReturns(result1 error)

func (*FakeServiceProvider) UpgradeBindingsReturnsOnCall added in v0.12.0

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

func (*FakeServiceProvider) UpgradeInstance added in v0.12.0

func (fake *FakeServiceProvider) UpgradeInstance(arg1 context.Context, arg2 *varcontext.VarContext) (*sync.WaitGroup, error)

func (*FakeServiceProvider) UpgradeInstanceArgsForCall added in v0.12.0

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

func (*FakeServiceProvider) UpgradeInstanceCallCount added in v0.12.0

func (fake *FakeServiceProvider) UpgradeInstanceCallCount() int

func (*FakeServiceProvider) UpgradeInstanceCalls added in v0.12.0

func (fake *FakeServiceProvider) UpgradeInstanceCalls(stub func(context.Context, *varcontext.VarContext) (*sync.WaitGroup, error))

func (*FakeServiceProvider) UpgradeInstanceReturns added in v0.12.0

func (fake *FakeServiceProvider) UpgradeInstanceReturns(result1 *sync.WaitGroup, result2 error)

func (*FakeServiceProvider) UpgradeInstanceReturnsOnCall added in v0.12.0

func (fake *FakeServiceProvider) UpgradeInstanceReturnsOnCall(i int, result1 *sync.WaitGroup, result2 error)

type FakeServiceProviderStorage

type FakeServiceProviderStorage struct {
	ExistsTerraformDeploymentStub func(string) (bool, error)

	GetServiceBindingIDsForServiceInstanceStub func(string) ([]string, error)

	GetTerraformDeploymentStub func(string) (storage.TerraformDeployment, error)

	StoreTerraformDeploymentStub func(storage.TerraformDeployment) error
	// contains filtered or unexported fields
}

func (*FakeServiceProviderStorage) ExistsTerraformDeployment

func (fake *FakeServiceProviderStorage) ExistsTerraformDeployment(arg1 string) (bool, error)

func (*FakeServiceProviderStorage) ExistsTerraformDeploymentArgsForCall

func (fake *FakeServiceProviderStorage) ExistsTerraformDeploymentArgsForCall(i int) string

func (*FakeServiceProviderStorage) ExistsTerraformDeploymentCallCount

func (fake *FakeServiceProviderStorage) ExistsTerraformDeploymentCallCount() int

func (*FakeServiceProviderStorage) ExistsTerraformDeploymentCalls

func (fake *FakeServiceProviderStorage) ExistsTerraformDeploymentCalls(stub func(string) (bool, error))

func (*FakeServiceProviderStorage) ExistsTerraformDeploymentReturns

func (fake *FakeServiceProviderStorage) ExistsTerraformDeploymentReturns(result1 bool, result2 error)

func (*FakeServiceProviderStorage) ExistsTerraformDeploymentReturnsOnCall

func (fake *FakeServiceProviderStorage) ExistsTerraformDeploymentReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstance added in v0.11.0

func (fake *FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstance(arg1 string) ([]string, error)

func (*FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceArgsForCall added in v0.11.0

func (fake *FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceArgsForCall(i int) string

func (*FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceCallCount added in v0.11.0

func (fake *FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceCallCount() int

func (*FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceCalls added in v0.11.0

func (fake *FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceCalls(stub func(string) ([]string, error))

func (*FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceReturns added in v0.11.0

func (fake *FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceReturns(result1 []string, result2 error)

func (*FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceReturnsOnCall added in v0.11.0

func (fake *FakeServiceProviderStorage) GetServiceBindingIDsForServiceInstanceReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeServiceProviderStorage) GetTerraformDeployment

func (fake *FakeServiceProviderStorage) GetTerraformDeployment(arg1 string) (storage.TerraformDeployment, error)

func (*FakeServiceProviderStorage) GetTerraformDeploymentArgsForCall

func (fake *FakeServiceProviderStorage) GetTerraformDeploymentArgsForCall(i int) string

func (*FakeServiceProviderStorage) GetTerraformDeploymentCallCount

func (fake *FakeServiceProviderStorage) GetTerraformDeploymentCallCount() int

func (*FakeServiceProviderStorage) GetTerraformDeploymentCalls

func (fake *FakeServiceProviderStorage) GetTerraformDeploymentCalls(stub func(string) (storage.TerraformDeployment, error))

func (*FakeServiceProviderStorage) GetTerraformDeploymentReturns

func (fake *FakeServiceProviderStorage) GetTerraformDeploymentReturns(result1 storage.TerraformDeployment, result2 error)

func (*FakeServiceProviderStorage) GetTerraformDeploymentReturnsOnCall

func (fake *FakeServiceProviderStorage) GetTerraformDeploymentReturnsOnCall(i int, result1 storage.TerraformDeployment, result2 error)

func (*FakeServiceProviderStorage) Invocations

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

func (*FakeServiceProviderStorage) StoreTerraformDeployment

func (fake *FakeServiceProviderStorage) StoreTerraformDeployment(arg1 storage.TerraformDeployment) error

func (*FakeServiceProviderStorage) StoreTerraformDeploymentArgsForCall

func (fake *FakeServiceProviderStorage) StoreTerraformDeploymentArgsForCall(i int) storage.TerraformDeployment

func (*FakeServiceProviderStorage) StoreTerraformDeploymentCallCount

func (fake *FakeServiceProviderStorage) StoreTerraformDeploymentCallCount() int

func (*FakeServiceProviderStorage) StoreTerraformDeploymentCalls

func (fake *FakeServiceProviderStorage) StoreTerraformDeploymentCalls(stub func(storage.TerraformDeployment) error)

func (*FakeServiceProviderStorage) StoreTerraformDeploymentReturns

func (fake *FakeServiceProviderStorage) StoreTerraformDeploymentReturns(result1 error)

func (*FakeServiceProviderStorage) StoreTerraformDeploymentReturnsOnCall

func (fake *FakeServiceProviderStorage) StoreTerraformDeploymentReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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