fakes

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 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 {
	InstancesStub func(logger *log.Logger) ([]service.Instance, error)

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

	UpgradeStub func(ctx context.Context, instanceID string, updateDetails brokerapi.UpdateDetails, logger *log.Logger) (broker.OperationData, error)

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

	ServicesStub func(ctx context.Context) []brokerapi.Service

	ProvisionStub func(ctx context.Context, instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)

	DeprovisionStub func(ctx context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)

	BindStub func(ctx context.Context, instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)

	UnbindStub func(ctx context.Context, instanceID, bindingID string, details brokerapi.UnbindDetails) error

	UpdateStub func(ctx context.Context, instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)

	LastOperationStub func(ctx context.Context, instanceID, operationData string) (brokerapi.LastOperation, error)
	// contains filtered or unexported fields
}

func (*FakeCombinedBroker) Bind added in v0.18.0

func (fake *FakeCombinedBroker) Bind(ctx context.Context, instanceID string, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)

func (*FakeCombinedBroker) BindArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) BindCallCount added in v0.18.0

func (fake *FakeCombinedBroker) BindCallCount() int

func (*FakeCombinedBroker) BindReturns added in v0.18.0

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

func (*FakeCombinedBroker) BindReturnsOnCall added in v0.18.0

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

func (*FakeCombinedBroker) CountInstancesOfPlans added in v0.18.0

func (fake *FakeCombinedBroker) CountInstancesOfPlans(logger *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) 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 (fake *FakeCombinedBroker) Deprovision(ctx context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)

func (*FakeCombinedBroker) DeprovisionArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) DeprovisionCallCount added in v0.18.0

func (fake *FakeCombinedBroker) DeprovisionCallCount() int

func (*FakeCombinedBroker) DeprovisionReturns added in v0.18.0

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

func (*FakeCombinedBroker) DeprovisionReturnsOnCall added in v0.18.0

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

func (*FakeCombinedBroker) Instances added in v0.18.0

func (fake *FakeCombinedBroker) Instances(logger *log.Logger) ([]service.Instance, error)

func (*FakeCombinedBroker) InstancesArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) InstancesCallCount added in v0.18.0

func (fake *FakeCombinedBroker) InstancesCallCount() int

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) LastOperation added in v0.18.0

func (fake *FakeCombinedBroker) LastOperation(ctx context.Context, instanceID string, operationData string) (brokerapi.LastOperation, error)

func (*FakeCombinedBroker) LastOperationArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) LastOperationCallCount added in v0.18.0

func (fake *FakeCombinedBroker) LastOperationCallCount() int

func (*FakeCombinedBroker) LastOperationReturns added in v0.18.0

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

func (*FakeCombinedBroker) LastOperationReturnsOnCall added in v0.18.0

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

func (*FakeCombinedBroker) OrphanDeployments added in v0.18.0

func (fake *FakeCombinedBroker) OrphanDeployments(logger *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) 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 (fake *FakeCombinedBroker) Provision(ctx context.Context, instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)

func (*FakeCombinedBroker) ProvisionArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) ProvisionCallCount added in v0.18.0

func (fake *FakeCombinedBroker) ProvisionCallCount() int

func (*FakeCombinedBroker) ProvisionReturns added in v0.18.0

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

func (*FakeCombinedBroker) ProvisionReturnsOnCall added in v0.18.0

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

func (*FakeCombinedBroker) Services added in v0.18.0

func (fake *FakeCombinedBroker) Services(ctx context.Context) []brokerapi.Service

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) ServicesReturns added in v0.18.0

func (fake *FakeCombinedBroker) ServicesReturns(result1 []brokerapi.Service)

func (*FakeCombinedBroker) ServicesReturnsOnCall added in v0.18.0

func (fake *FakeCombinedBroker) ServicesReturnsOnCall(i int, result1 []brokerapi.Service)

func (*FakeCombinedBroker) Unbind added in v0.18.0

func (fake *FakeCombinedBroker) Unbind(ctx context.Context, instanceID string, bindingID string, details brokerapi.UnbindDetails) error

func (*FakeCombinedBroker) UnbindArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) UnbindCallCount added in v0.18.0

func (fake *FakeCombinedBroker) UnbindCallCount() int

func (*FakeCombinedBroker) UnbindReturns added in v0.18.0

func (fake *FakeCombinedBroker) UnbindReturns(result1 error)

func (*FakeCombinedBroker) UnbindReturnsOnCall added in v0.18.0

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

func (*FakeCombinedBroker) Update added in v0.18.0

func (fake *FakeCombinedBroker) Update(ctx context.Context, instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)

func (*FakeCombinedBroker) UpdateArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) UpdateCallCount added in v0.18.0

func (fake *FakeCombinedBroker) UpdateCallCount() int

func (*FakeCombinedBroker) UpdateReturns added in v0.18.0

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

func (*FakeCombinedBroker) UpdateReturnsOnCall added in v0.18.0

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

func (*FakeCombinedBroker) Upgrade added in v0.18.0

func (fake *FakeCombinedBroker) Upgrade(ctx context.Context, instanceID string, updateDetails brokerapi.UpdateDetails, logger *log.Logger) (broker.OperationData, error)

func (*FakeCombinedBroker) UpgradeArgsForCall added in v0.18.0

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

func (*FakeCombinedBroker) UpgradeCallCount added in v0.18.0

func (fake *FakeCombinedBroker) UpgradeCallCount() int

func (*FakeCombinedBroker) UpgradeReturns added in v0.18.0

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

func (*FakeCombinedBroker) UpgradeReturnsOnCall added in v0.18.0

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

Jump to

Keyboard shortcuts

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