fakes

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 8 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 FakeCombinedBroker added in v0.18.0

type FakeCombinedBroker struct {
	BindStub func(context.Context, string, string, domain.BindDetails, bool) (domain.Binding, error)

	CountInstancesOfPlansStub func(*log.Logger) (map[cf.ServicePlan]int, error)

	DeprovisionStub func(context.Context, string, domain.DeprovisionDetails, bool) (domain.DeprovisionServiceSpec, error)

	GetBindingStub func(context.Context, string, string, domain.FetchBindingDetails) (domain.GetBindingSpec, error)

	GetInstanceStub func(context.Context, string, domain.FetchInstanceDetails) (domain.GetInstanceDetailsSpec, error)

	InstancesStub func(map[string]string, *log.Logger) ([]service.Instance, error)

	LastBindingOperationStub func(context.Context, string, string, domain.PollDetails) (domain.LastOperation, error)

	LastOperationStub func(context.Context, string, domain.PollDetails) (domain.LastOperation, error)

	OrphanDeploymentsStub func(*log.Logger) ([]string, error)

	ProvisionStub func(context.Context, string, domain.ProvisionDetails, bool) (domain.ProvisionedServiceSpec, error)

	RecreateStub func(context.Context, string, domain.UpdateDetails, *log.Logger) (broker.OperationData, error)

	ServicesStub func(context.Context) ([]domain.Service, error)

	SetUAAClientStub func(broker.UAAClient)

	UnbindStub func(context.Context, string, string, domain.UnbindDetails, bool) (domain.UnbindSpec, error)

	UpdateStub func(context.Context, string, domain.UpdateDetails, bool) (domain.UpdateServiceSpec, error)

	UpgradeStub func(context.Context, string, domain.UpdateDetails, *log.Logger) (broker.OperationData, string, error)
	// contains filtered or unexported fields
}

func (*FakeCombinedBroker) Bind added in v0.18.0

func (fake *FakeCombinedBroker) Bind(arg1 context.Context, arg2 string, arg3 string, arg4 domain.BindDetails, arg5 bool) (domain.Binding, error)

func (*FakeCombinedBroker) BindArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) BindArgsForCall(i int) (context.Context, string, string, domain.BindDetails, bool)

func (*FakeCombinedBroker) BindCallCount added in v0.18.0

func (fake *FakeCombinedBroker) BindCallCount() int

func (*FakeCombinedBroker) BindCalls added in v0.30.0

func (*FakeCombinedBroker) BindReturns added in v0.18.0

func (fake *FakeCombinedBroker) BindReturns(result1 domain.Binding, result2 error)

func (*FakeCombinedBroker) BindReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) BindReturnsOnCall(i int, result1 domain.Binding, result2 error)

func (*FakeCombinedBroker) CountInstancesOfPlans added in v0.18.0

func (fake *FakeCombinedBroker) CountInstancesOfPlans(arg1 *log.Logger) (map[cf.ServicePlan]int, error)

func (*FakeCombinedBroker) CountInstancesOfPlansArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) CountInstancesOfPlansArgsForCall(i int) *log.Logger

func (*FakeCombinedBroker) CountInstancesOfPlansCallCount added in v0.18.0

func (fake *FakeCombinedBroker) CountInstancesOfPlansCallCount() int

func (*FakeCombinedBroker) CountInstancesOfPlansCalls added in v0.30.0

func (fake *FakeCombinedBroker) CountInstancesOfPlansCalls(stub func(*log.Logger) (map[cf.ServicePlan]int, error))

func (*FakeCombinedBroker) CountInstancesOfPlansReturns added in v0.18.0

func (fake *FakeCombinedBroker) CountInstancesOfPlansReturns(result1 map[cf.ServicePlan]int, result2 error)

func (*FakeCombinedBroker) CountInstancesOfPlansReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) CountInstancesOfPlansReturnsOnCall(i int, result1 map[cf.ServicePlan]int, result2 error)

func (*FakeCombinedBroker) Deprovision added in v0.18.0

func (*FakeCombinedBroker) DeprovisionArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) DeprovisionArgsForCall(i int) (context.Context, string, domain.DeprovisionDetails, bool)

func (*FakeCombinedBroker) DeprovisionCallCount added in v0.18.0

func (fake *FakeCombinedBroker) DeprovisionCallCount() int

func (*FakeCombinedBroker) DeprovisionCalls added in v0.30.0

func (*FakeCombinedBroker) DeprovisionReturns added in v0.18.0

func (fake *FakeCombinedBroker) DeprovisionReturns(result1 domain.DeprovisionServiceSpec, result2 error)

func (*FakeCombinedBroker) DeprovisionReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) DeprovisionReturnsOnCall(i int, result1 domain.DeprovisionServiceSpec, result2 error)

func (*FakeCombinedBroker) GetBinding added in v0.24.0

func (*FakeCombinedBroker) GetBindingArgsForCall added in v0.24.0

func (fake *FakeCombinedBroker) GetBindingArgsForCall(i int) (context.Context, string, string, domain.FetchBindingDetails)

func (*FakeCombinedBroker) GetBindingCallCount added in v0.24.0

func (fake *FakeCombinedBroker) GetBindingCallCount() int

func (*FakeCombinedBroker) GetBindingCalls added in v0.30.0

func (*FakeCombinedBroker) GetBindingReturns added in v0.24.0

func (fake *FakeCombinedBroker) GetBindingReturns(result1 domain.GetBindingSpec, result2 error)

func (*FakeCombinedBroker) GetBindingReturnsOnCall added in v0.24.0

func (fake *FakeCombinedBroker) GetBindingReturnsOnCall(i int, result1 domain.GetBindingSpec, result2 error)

func (*FakeCombinedBroker) GetInstance added in v0.24.0

func (*FakeCombinedBroker) GetInstanceArgsForCall added in v0.24.0

func (fake *FakeCombinedBroker) GetInstanceArgsForCall(i int) (context.Context, string, domain.FetchInstanceDetails)

func (*FakeCombinedBroker) GetInstanceCallCount added in v0.24.0

func (fake *FakeCombinedBroker) GetInstanceCallCount() int

func (*FakeCombinedBroker) GetInstanceCalls added in v0.30.0

func (*FakeCombinedBroker) GetInstanceReturns added in v0.24.0

func (fake *FakeCombinedBroker) GetInstanceReturns(result1 domain.GetInstanceDetailsSpec, result2 error)

func (*FakeCombinedBroker) GetInstanceReturnsOnCall added in v0.24.0

func (fake *FakeCombinedBroker) GetInstanceReturnsOnCall(i int, result1 domain.GetInstanceDetailsSpec, result2 error)

func (*FakeCombinedBroker) Instances added in v0.18.0

func (fake *FakeCombinedBroker) Instances(arg1 map[string]string, arg2 *log.Logger) ([]service.Instance, error)

func (*FakeCombinedBroker) InstancesArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) InstancesArgsForCall(i int) (map[string]string, *log.Logger)

func (*FakeCombinedBroker) InstancesCallCount added in v0.18.0

func (fake *FakeCombinedBroker) InstancesCallCount() int

func (*FakeCombinedBroker) InstancesCalls added in v0.30.0

func (fake *FakeCombinedBroker) InstancesCalls(stub func(map[string]string, *log.Logger) ([]service.Instance, error))

func (*FakeCombinedBroker) InstancesReturns added in v0.18.0

func (fake *FakeCombinedBroker) InstancesReturns(result1 []service.Instance, result2 error)

func (*FakeCombinedBroker) InstancesReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) InstancesReturnsOnCall(i int, result1 []service.Instance, result2 error)

func (*FakeCombinedBroker) Invocations added in v0.18.0

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

func (*FakeCombinedBroker) LastBindingOperation added in v0.24.0

func (fake *FakeCombinedBroker) LastBindingOperation(arg1 context.Context, arg2 string, arg3 string, arg4 domain.PollDetails) (domain.LastOperation, error)

func (*FakeCombinedBroker) LastBindingOperationArgsForCall added in v0.24.0

func (fake *FakeCombinedBroker) LastBindingOperationArgsForCall(i int) (context.Context, string, string, domain.PollDetails)

func (*FakeCombinedBroker) LastBindingOperationCallCount added in v0.24.0

func (fake *FakeCombinedBroker) LastBindingOperationCallCount() int

func (*FakeCombinedBroker) LastBindingOperationCalls added in v0.30.0

func (fake *FakeCombinedBroker) LastBindingOperationCalls(stub func(context.Context, string, string, domain.PollDetails) (domain.LastOperation, error))

func (*FakeCombinedBroker) LastBindingOperationReturns added in v0.24.0

func (fake *FakeCombinedBroker) LastBindingOperationReturns(result1 domain.LastOperation, result2 error)

func (*FakeCombinedBroker) LastBindingOperationReturnsOnCall added in v0.24.0

func (fake *FakeCombinedBroker) LastBindingOperationReturnsOnCall(i int, result1 domain.LastOperation, result2 error)

func (*FakeCombinedBroker) LastOperation added in v0.18.0

func (fake *FakeCombinedBroker) LastOperation(arg1 context.Context, arg2 string, arg3 domain.PollDetails) (domain.LastOperation, error)

func (*FakeCombinedBroker) LastOperationArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) LastOperationArgsForCall(i int) (context.Context, string, domain.PollDetails)

func (*FakeCombinedBroker) LastOperationCallCount added in v0.18.0

func (fake *FakeCombinedBroker) LastOperationCallCount() int

func (*FakeCombinedBroker) LastOperationCalls added in v0.30.0

func (fake *FakeCombinedBroker) LastOperationCalls(stub func(context.Context, string, domain.PollDetails) (domain.LastOperation, error))

func (*FakeCombinedBroker) LastOperationReturns added in v0.18.0

func (fake *FakeCombinedBroker) LastOperationReturns(result1 domain.LastOperation, result2 error)

func (*FakeCombinedBroker) LastOperationReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) LastOperationReturnsOnCall(i int, result1 domain.LastOperation, result2 error)

func (*FakeCombinedBroker) OrphanDeployments added in v0.18.0

func (fake *FakeCombinedBroker) OrphanDeployments(arg1 *log.Logger) ([]string, error)

func (*FakeCombinedBroker) OrphanDeploymentsArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) OrphanDeploymentsArgsForCall(i int) *log.Logger

func (*FakeCombinedBroker) OrphanDeploymentsCallCount added in v0.18.0

func (fake *FakeCombinedBroker) OrphanDeploymentsCallCount() int

func (*FakeCombinedBroker) OrphanDeploymentsCalls added in v0.30.0

func (fake *FakeCombinedBroker) OrphanDeploymentsCalls(stub func(*log.Logger) ([]string, error))

func (*FakeCombinedBroker) OrphanDeploymentsReturns added in v0.18.0

func (fake *FakeCombinedBroker) OrphanDeploymentsReturns(result1 []string, result2 error)

func (*FakeCombinedBroker) OrphanDeploymentsReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) OrphanDeploymentsReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeCombinedBroker) Provision added in v0.18.0

func (*FakeCombinedBroker) ProvisionArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) ProvisionArgsForCall(i int) (context.Context, string, domain.ProvisionDetails, bool)

func (*FakeCombinedBroker) ProvisionCallCount added in v0.18.0

func (fake *FakeCombinedBroker) ProvisionCallCount() int

func (*FakeCombinedBroker) ProvisionCalls added in v0.30.0

func (*FakeCombinedBroker) ProvisionReturns added in v0.18.0

func (fake *FakeCombinedBroker) ProvisionReturns(result1 domain.ProvisionedServiceSpec, result2 error)

func (*FakeCombinedBroker) ProvisionReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) ProvisionReturnsOnCall(i int, result1 domain.ProvisionedServiceSpec, result2 error)

func (*FakeCombinedBroker) Recreate added in v0.25.0

func (fake *FakeCombinedBroker) Recreate(arg1 context.Context, arg2 string, arg3 domain.UpdateDetails, arg4 *log.Logger) (broker.OperationData, error)

func (*FakeCombinedBroker) RecreateArgsForCall added in v0.25.0

func (fake *FakeCombinedBroker) RecreateArgsForCall(i int) (context.Context, string, domain.UpdateDetails, *log.Logger)

func (*FakeCombinedBroker) RecreateCallCount added in v0.25.0

func (fake *FakeCombinedBroker) RecreateCallCount() int

func (*FakeCombinedBroker) RecreateCalls added in v0.30.0

func (*FakeCombinedBroker) RecreateReturns added in v0.25.0

func (fake *FakeCombinedBroker) RecreateReturns(result1 broker.OperationData, result2 error)

func (*FakeCombinedBroker) RecreateReturnsOnCall added in v0.25.0

func (fake *FakeCombinedBroker) RecreateReturnsOnCall(i int, result1 broker.OperationData, result2 error)

func (*FakeCombinedBroker) Services added in v0.18.0

func (fake *FakeCombinedBroker) Services(arg1 context.Context) ([]domain.Service, error)

func (*FakeCombinedBroker) ServicesArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) ServicesArgsForCall(i int) context.Context

func (*FakeCombinedBroker) ServicesCallCount added in v0.18.0

func (fake *FakeCombinedBroker) ServicesCallCount() int

func (*FakeCombinedBroker) ServicesCalls added in v0.30.0

func (fake *FakeCombinedBroker) ServicesCalls(stub func(context.Context) ([]domain.Service, error))

func (*FakeCombinedBroker) ServicesReturns added in v0.18.0

func (fake *FakeCombinedBroker) ServicesReturns(result1 []domain.Service, result2 error)

func (*FakeCombinedBroker) ServicesReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) ServicesReturnsOnCall(i int, result1 []domain.Service, result2 error)

func (*FakeCombinedBroker) SetUAAClient added in v0.40.0

func (fake *FakeCombinedBroker) SetUAAClient(arg1 broker.UAAClient)

func (*FakeCombinedBroker) SetUAAClientArgsForCall added in v0.40.0

func (fake *FakeCombinedBroker) SetUAAClientArgsForCall(i int) broker.UAAClient

func (*FakeCombinedBroker) SetUAAClientCallCount added in v0.40.0

func (fake *FakeCombinedBroker) SetUAAClientCallCount() int

func (*FakeCombinedBroker) SetUAAClientCalls added in v0.40.0

func (fake *FakeCombinedBroker) SetUAAClientCalls(stub func(broker.UAAClient))

func (*FakeCombinedBroker) Unbind added in v0.18.0

func (fake *FakeCombinedBroker) Unbind(arg1 context.Context, arg2 string, arg3 string, arg4 domain.UnbindDetails, arg5 bool) (domain.UnbindSpec, error)

func (*FakeCombinedBroker) UnbindArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) UnbindArgsForCall(i int) (context.Context, string, string, domain.UnbindDetails, bool)

func (*FakeCombinedBroker) UnbindCallCount added in v0.18.0

func (fake *FakeCombinedBroker) UnbindCallCount() int

func (*FakeCombinedBroker) UnbindCalls added in v0.30.0

func (*FakeCombinedBroker) UnbindReturns added in v0.18.0

func (fake *FakeCombinedBroker) UnbindReturns(result1 domain.UnbindSpec, result2 error)

func (*FakeCombinedBroker) UnbindReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) UnbindReturnsOnCall(i int, result1 domain.UnbindSpec, result2 error)

func (*FakeCombinedBroker) Update added in v0.18.0

func (*FakeCombinedBroker) UpdateArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) UpdateArgsForCall(i int) (context.Context, string, domain.UpdateDetails, bool)

func (*FakeCombinedBroker) UpdateCallCount added in v0.18.0

func (fake *FakeCombinedBroker) UpdateCallCount() int

func (*FakeCombinedBroker) UpdateCalls added in v0.30.0

func (*FakeCombinedBroker) UpdateReturns added in v0.18.0

func (fake *FakeCombinedBroker) UpdateReturns(result1 domain.UpdateServiceSpec, result2 error)

func (*FakeCombinedBroker) UpdateReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) UpdateReturnsOnCall(i int, result1 domain.UpdateServiceSpec, result2 error)

func (*FakeCombinedBroker) Upgrade added in v0.18.0

func (*FakeCombinedBroker) UpgradeArgsForCall added in v0.18.0

func (fake *FakeCombinedBroker) UpgradeArgsForCall(i int) (context.Context, string, domain.UpdateDetails, *log.Logger)

func (*FakeCombinedBroker) UpgradeCallCount added in v0.18.0

func (fake *FakeCombinedBroker) UpgradeCallCount() int

func (*FakeCombinedBroker) UpgradeCalls added in v0.30.0

func (*FakeCombinedBroker) UpgradeReturns added in v0.18.0

func (fake *FakeCombinedBroker) UpgradeReturns(result1 broker.OperationData, result2 string, result3 error)

func (*FakeCombinedBroker) UpgradeReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) UpgradeReturnsOnCall(i int, result1 broker.OperationData, result2 string, result3 error)

Jump to

Keyboard shortcuts

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