smfakes

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 5 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 FakeClient

type FakeClient struct {
	BindStub func(*types.ServiceBinding, *sm.Parameters, string) (*types.ServiceBinding, string, error)

	CallStub func(string, string, io.Reader, *sm.Parameters) (*http.Response, error)

	DeprovisionStub func(string, *sm.Parameters, string) (string, error)

	GetBindingByIDStub func(string, *sm.Parameters) (*types.ServiceBinding, error)

	GetInstanceByIDStub func(string, *sm.Parameters) (*types.ServiceInstance, error)

	ListBindingsStub func(*sm.Parameters) (*types.ServiceBindings, error)

	ListInstancesStub func(*sm.Parameters) (*types.ServiceInstances, error)

	ListOfferingsStub func(*sm.Parameters) (*types.ServiceOfferings, error)

	ListPlansStub func(*sm.Parameters) (*types.ServicePlans, error)

	ProvisionStub func(*types.ServiceInstance, string, string, *sm.Parameters, string, string) (*sm.ProvisionResponse, error)

	RenameBindingStub func(string, string, string) (*types.ServiceBinding, error)

	ShareInstanceStub func(string, string) error

	StatusStub func(string, *sm.Parameters) (*types.Operation, error)

	UnShareInstanceStub func(string, string) error

	UnbindStub func(string, *sm.Parameters, string) (string, error)

	UpdateInstanceStub func(string, *types.ServiceInstance, string, string, *sm.Parameters, string, string) (*types.ServiceInstance, string, error)
	// contains filtered or unexported fields
}

func (*FakeClient) Bind

func (fake *FakeClient) Bind(arg1 *types.ServiceBinding, arg2 *sm.Parameters, arg3 string) (*types.ServiceBinding, string, error)

func (*FakeClient) BindArgsForCall

func (fake *FakeClient) BindArgsForCall(i int) (*types.ServiceBinding, *sm.Parameters, string)

func (*FakeClient) BindCallCount

func (fake *FakeClient) BindCallCount() int

func (*FakeClient) BindCalls

func (fake *FakeClient) BindCalls(stub func(*types.ServiceBinding, *sm.Parameters, string) (*types.ServiceBinding, string, error))

func (*FakeClient) BindReturns

func (fake *FakeClient) BindReturns(result1 *types.ServiceBinding, result2 string, result3 error)

func (*FakeClient) BindReturnsOnCall

func (fake *FakeClient) BindReturnsOnCall(i int, result1 *types.ServiceBinding, result2 string, result3 error)

func (*FakeClient) Call

func (fake *FakeClient) Call(arg1 string, arg2 string, arg3 io.Reader, arg4 *sm.Parameters) (*http.Response, error)

func (*FakeClient) CallArgsForCall

func (fake *FakeClient) CallArgsForCall(i int) (string, string, io.Reader, *sm.Parameters)

func (*FakeClient) CallCallCount

func (fake *FakeClient) CallCallCount() int

func (*FakeClient) CallCalls

func (fake *FakeClient) CallCalls(stub func(string, string, io.Reader, *sm.Parameters) (*http.Response, error))

func (*FakeClient) CallReturns

func (fake *FakeClient) CallReturns(result1 *http.Response, result2 error)

func (*FakeClient) CallReturnsOnCall

func (fake *FakeClient) CallReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeClient) Deprovision

func (fake *FakeClient) Deprovision(arg1 string, arg2 *sm.Parameters, arg3 string) (string, error)

func (*FakeClient) DeprovisionArgsForCall

func (fake *FakeClient) DeprovisionArgsForCall(i int) (string, *sm.Parameters, string)

func (*FakeClient) DeprovisionCallCount

func (fake *FakeClient) DeprovisionCallCount() int

func (*FakeClient) DeprovisionCalls

func (fake *FakeClient) DeprovisionCalls(stub func(string, *sm.Parameters, string) (string, error))

func (*FakeClient) DeprovisionReturns

func (fake *FakeClient) DeprovisionReturns(result1 string, result2 error)

func (*FakeClient) DeprovisionReturnsOnCall

func (fake *FakeClient) DeprovisionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeClient) GetBindingByID

func (fake *FakeClient) GetBindingByID(arg1 string, arg2 *sm.Parameters) (*types.ServiceBinding, error)

func (*FakeClient) GetBindingByIDArgsForCall

func (fake *FakeClient) GetBindingByIDArgsForCall(i int) (string, *sm.Parameters)

func (*FakeClient) GetBindingByIDCallCount

func (fake *FakeClient) GetBindingByIDCallCount() int

func (*FakeClient) GetBindingByIDCalls

func (fake *FakeClient) GetBindingByIDCalls(stub func(string, *sm.Parameters) (*types.ServiceBinding, error))

func (*FakeClient) GetBindingByIDReturns

func (fake *FakeClient) GetBindingByIDReturns(result1 *types.ServiceBinding, result2 error)

func (*FakeClient) GetBindingByIDReturnsOnCall

func (fake *FakeClient) GetBindingByIDReturnsOnCall(i int, result1 *types.ServiceBinding, result2 error)

func (*FakeClient) GetInstanceByID

func (fake *FakeClient) GetInstanceByID(arg1 string, arg2 *sm.Parameters) (*types.ServiceInstance, error)

func (*FakeClient) GetInstanceByIDArgsForCall

func (fake *FakeClient) GetInstanceByIDArgsForCall(i int) (string, *sm.Parameters)

func (*FakeClient) GetInstanceByIDCallCount

func (fake *FakeClient) GetInstanceByIDCallCount() int

func (*FakeClient) GetInstanceByIDCalls

func (fake *FakeClient) GetInstanceByIDCalls(stub func(string, *sm.Parameters) (*types.ServiceInstance, error))

func (*FakeClient) GetInstanceByIDReturns

func (fake *FakeClient) GetInstanceByIDReturns(result1 *types.ServiceInstance, result2 error)

func (*FakeClient) GetInstanceByIDReturnsOnCall

func (fake *FakeClient) GetInstanceByIDReturnsOnCall(i int, result1 *types.ServiceInstance, result2 error)

func (*FakeClient) Invocations

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

func (*FakeClient) ListBindings

func (fake *FakeClient) ListBindings(arg1 *sm.Parameters) (*types.ServiceBindings, error)

func (*FakeClient) ListBindingsArgsForCall

func (fake *FakeClient) ListBindingsArgsForCall(i int) *sm.Parameters

func (*FakeClient) ListBindingsCallCount

func (fake *FakeClient) ListBindingsCallCount() int

func (*FakeClient) ListBindingsCalls

func (fake *FakeClient) ListBindingsCalls(stub func(*sm.Parameters) (*types.ServiceBindings, error))

func (*FakeClient) ListBindingsReturns

func (fake *FakeClient) ListBindingsReturns(result1 *types.ServiceBindings, result2 error)

func (*FakeClient) ListBindingsReturnsOnCall

func (fake *FakeClient) ListBindingsReturnsOnCall(i int, result1 *types.ServiceBindings, result2 error)

func (*FakeClient) ListInstances

func (fake *FakeClient) ListInstances(arg1 *sm.Parameters) (*types.ServiceInstances, error)

func (*FakeClient) ListInstancesArgsForCall

func (fake *FakeClient) ListInstancesArgsForCall(i int) *sm.Parameters

func (*FakeClient) ListInstancesCallCount

func (fake *FakeClient) ListInstancesCallCount() int

func (*FakeClient) ListInstancesCalls

func (fake *FakeClient) ListInstancesCalls(stub func(*sm.Parameters) (*types.ServiceInstances, error))

func (*FakeClient) ListInstancesReturns

func (fake *FakeClient) ListInstancesReturns(result1 *types.ServiceInstances, result2 error)

func (*FakeClient) ListInstancesReturnsOnCall

func (fake *FakeClient) ListInstancesReturnsOnCall(i int, result1 *types.ServiceInstances, result2 error)

func (*FakeClient) ListOfferings

func (fake *FakeClient) ListOfferings(arg1 *sm.Parameters) (*types.ServiceOfferings, error)

func (*FakeClient) ListOfferingsArgsForCall

func (fake *FakeClient) ListOfferingsArgsForCall(i int) *sm.Parameters

func (*FakeClient) ListOfferingsCallCount

func (fake *FakeClient) ListOfferingsCallCount() int

func (*FakeClient) ListOfferingsCalls

func (fake *FakeClient) ListOfferingsCalls(stub func(*sm.Parameters) (*types.ServiceOfferings, error))

func (*FakeClient) ListOfferingsReturns

func (fake *FakeClient) ListOfferingsReturns(result1 *types.ServiceOfferings, result2 error)

func (*FakeClient) ListOfferingsReturnsOnCall

func (fake *FakeClient) ListOfferingsReturnsOnCall(i int, result1 *types.ServiceOfferings, result2 error)

func (*FakeClient) ListPlans

func (fake *FakeClient) ListPlans(arg1 *sm.Parameters) (*types.ServicePlans, error)

func (*FakeClient) ListPlansArgsForCall

func (fake *FakeClient) ListPlansArgsForCall(i int) *sm.Parameters

func (*FakeClient) ListPlansCallCount

func (fake *FakeClient) ListPlansCallCount() int

func (*FakeClient) ListPlansCalls

func (fake *FakeClient) ListPlansCalls(stub func(*sm.Parameters) (*types.ServicePlans, error))

func (*FakeClient) ListPlansReturns

func (fake *FakeClient) ListPlansReturns(result1 *types.ServicePlans, result2 error)

func (*FakeClient) ListPlansReturnsOnCall

func (fake *FakeClient) ListPlansReturnsOnCall(i int, result1 *types.ServicePlans, result2 error)

func (*FakeClient) Provision

func (fake *FakeClient) Provision(arg1 *types.ServiceInstance, arg2 string, arg3 string, arg4 *sm.Parameters, arg5 string, arg6 string) (*sm.ProvisionResponse, error)

func (*FakeClient) ProvisionArgsForCall

func (fake *FakeClient) ProvisionArgsForCall(i int) (*types.ServiceInstance, string, string, *sm.Parameters, string, string)

func (*FakeClient) ProvisionCallCount

func (fake *FakeClient) ProvisionCallCount() int

func (*FakeClient) ProvisionCalls

func (fake *FakeClient) ProvisionCalls(stub func(*types.ServiceInstance, string, string, *sm.Parameters, string, string) (*sm.ProvisionResponse, error))

func (*FakeClient) ProvisionReturns

func (fake *FakeClient) ProvisionReturns(result1 *sm.ProvisionResponse, result2 error)

func (*FakeClient) ProvisionReturnsOnCall

func (fake *FakeClient) ProvisionReturnsOnCall(i int, result1 *sm.ProvisionResponse, result2 error)

func (*FakeClient) RenameBinding added in v0.2.0

func (fake *FakeClient) RenameBinding(arg1 string, arg2 string, arg3 string) (*types.ServiceBinding, error)

func (*FakeClient) RenameBindingArgsForCall added in v0.2.0

func (fake *FakeClient) RenameBindingArgsForCall(i int) (string, string, string)

func (*FakeClient) RenameBindingCallCount added in v0.2.0

func (fake *FakeClient) RenameBindingCallCount() int

func (*FakeClient) RenameBindingCalls added in v0.2.0

func (fake *FakeClient) RenameBindingCalls(stub func(string, string, string) (*types.ServiceBinding, error))

func (*FakeClient) RenameBindingReturns added in v0.2.0

func (fake *FakeClient) RenameBindingReturns(result1 *types.ServiceBinding, result2 error)

func (*FakeClient) RenameBindingReturnsOnCall added in v0.2.0

func (fake *FakeClient) RenameBindingReturnsOnCall(i int, result1 *types.ServiceBinding, result2 error)

func (*FakeClient) ShareInstance added in v0.4.3

func (fake *FakeClient) ShareInstance(arg1 string, arg2 string) error

func (*FakeClient) ShareInstanceArgsForCall added in v0.4.3

func (fake *FakeClient) ShareInstanceArgsForCall(i int) (string, string)

func (*FakeClient) ShareInstanceCallCount added in v0.4.3

func (fake *FakeClient) ShareInstanceCallCount() int

func (*FakeClient) ShareInstanceCalls added in v0.4.3

func (fake *FakeClient) ShareInstanceCalls(stub func(string, string) error)

func (*FakeClient) ShareInstanceReturns added in v0.4.3

func (fake *FakeClient) ShareInstanceReturns(result1 error)

func (*FakeClient) ShareInstanceReturnsOnCall added in v0.4.3

func (fake *FakeClient) ShareInstanceReturnsOnCall(i int, result1 error)

func (*FakeClient) Status

func (fake *FakeClient) Status(arg1 string, arg2 *sm.Parameters) (*types.Operation, error)

func (*FakeClient) StatusArgsForCall

func (fake *FakeClient) StatusArgsForCall(i int) (string, *sm.Parameters)

func (*FakeClient) StatusCallCount

func (fake *FakeClient) StatusCallCount() int

func (*FakeClient) StatusCalls

func (fake *FakeClient) StatusCalls(stub func(string, *sm.Parameters) (*types.Operation, error))

func (*FakeClient) StatusReturns

func (fake *FakeClient) StatusReturns(result1 *types.Operation, result2 error)

func (*FakeClient) StatusReturnsOnCall

func (fake *FakeClient) StatusReturnsOnCall(i int, result1 *types.Operation, result2 error)

func (*FakeClient) UnShareInstance added in v0.4.3

func (fake *FakeClient) UnShareInstance(arg1 string, arg2 string) error

func (*FakeClient) UnShareInstanceArgsForCall added in v0.4.3

func (fake *FakeClient) UnShareInstanceArgsForCall(i int) (string, string)

func (*FakeClient) UnShareInstanceCallCount added in v0.4.3

func (fake *FakeClient) UnShareInstanceCallCount() int

func (*FakeClient) UnShareInstanceCalls added in v0.4.3

func (fake *FakeClient) UnShareInstanceCalls(stub func(string, string) error)

func (*FakeClient) UnShareInstanceReturns added in v0.4.3

func (fake *FakeClient) UnShareInstanceReturns(result1 error)

func (*FakeClient) UnShareInstanceReturnsOnCall added in v0.4.3

func (fake *FakeClient) UnShareInstanceReturnsOnCall(i int, result1 error)

func (*FakeClient) Unbind

func (fake *FakeClient) Unbind(arg1 string, arg2 *sm.Parameters, arg3 string) (string, error)

func (*FakeClient) UnbindArgsForCall

func (fake *FakeClient) UnbindArgsForCall(i int) (string, *sm.Parameters, string)

func (*FakeClient) UnbindCallCount

func (fake *FakeClient) UnbindCallCount() int

func (*FakeClient) UnbindCalls

func (fake *FakeClient) UnbindCalls(stub func(string, *sm.Parameters, string) (string, error))

func (*FakeClient) UnbindReturns

func (fake *FakeClient) UnbindReturns(result1 string, result2 error)

func (*FakeClient) UnbindReturnsOnCall

func (fake *FakeClient) UnbindReturnsOnCall(i int, result1 string, result2 error)

func (*FakeClient) UpdateInstance

func (fake *FakeClient) UpdateInstance(arg1 string, arg2 *types.ServiceInstance, arg3 string, arg4 string, arg5 *sm.Parameters, arg6 string, arg7 string) (*types.ServiceInstance, string, error)

func (*FakeClient) UpdateInstanceArgsForCall

func (fake *FakeClient) UpdateInstanceArgsForCall(i int) (string, *types.ServiceInstance, string, string, *sm.Parameters, string, string)

func (*FakeClient) UpdateInstanceCallCount

func (fake *FakeClient) UpdateInstanceCallCount() int

func (*FakeClient) UpdateInstanceCalls

func (fake *FakeClient) UpdateInstanceCalls(stub func(string, *types.ServiceInstance, string, string, *sm.Parameters, string, string) (*types.ServiceInstance, string, error))

func (*FakeClient) UpdateInstanceReturns

func (fake *FakeClient) UpdateInstanceReturns(result1 *types.ServiceInstance, result2 string, result3 error)

func (*FakeClient) UpdateInstanceReturnsOnCall

func (fake *FakeClient) UpdateInstanceReturnsOnCall(i int, result1 *types.ServiceInstance, result2 string, result3 error)

Jump to

Keyboard shortcuts

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