fakes

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 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 FakeCloudFoundryClient

type FakeCloudFoundryClient struct {
	GetInstancesOfServiceOfferingStub func(serviceOfferingID string, logger *log.Logger) ([]service.Instance, error)

	GetInstanceStub func(instanceGUID string, logger *log.Logger) (cf.Instance, error)

	GetBindingsForInstanceStub func(instanceGUID string, logger *log.Logger) ([]cf.Binding, error)

	DeleteBindingStub func(binding cf.Binding, logger *log.Logger) error

	GetServiceKeysForInstanceStub func(instanceGUID string, logger *log.Logger) ([]cf.ServiceKey, error)

	DeleteServiceKeyStub func(serviceKey cf.ServiceKey, logger *log.Logger) error

	DeleteServiceInstanceStub func(instanceGUID string, logger *log.Logger) error
	// contains filtered or unexported fields
}

func (*FakeCloudFoundryClient) DeleteBinding

func (fake *FakeCloudFoundryClient) DeleteBinding(binding cf.Binding, logger *log.Logger) error

func (*FakeCloudFoundryClient) DeleteBindingArgsForCall

func (fake *FakeCloudFoundryClient) DeleteBindingArgsForCall(i int) (cf.Binding, *log.Logger)

func (*FakeCloudFoundryClient) DeleteBindingCallCount

func (fake *FakeCloudFoundryClient) DeleteBindingCallCount() int

func (*FakeCloudFoundryClient) DeleteBindingReturns

func (fake *FakeCloudFoundryClient) DeleteBindingReturns(result1 error)

func (*FakeCloudFoundryClient) DeleteBindingReturnsOnCall

func (fake *FakeCloudFoundryClient) DeleteBindingReturnsOnCall(i int, result1 error)

func (*FakeCloudFoundryClient) DeleteServiceInstance

func (fake *FakeCloudFoundryClient) DeleteServiceInstance(instanceGUID string, logger *log.Logger) error

func (*FakeCloudFoundryClient) DeleteServiceInstanceArgsForCall

func (fake *FakeCloudFoundryClient) DeleteServiceInstanceArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) DeleteServiceInstanceCallCount

func (fake *FakeCloudFoundryClient) DeleteServiceInstanceCallCount() int

func (*FakeCloudFoundryClient) DeleteServiceInstanceReturns

func (fake *FakeCloudFoundryClient) DeleteServiceInstanceReturns(result1 error)

func (*FakeCloudFoundryClient) DeleteServiceInstanceReturnsOnCall

func (fake *FakeCloudFoundryClient) DeleteServiceInstanceReturnsOnCall(i int, result1 error)

func (*FakeCloudFoundryClient) DeleteServiceKey

func (fake *FakeCloudFoundryClient) DeleteServiceKey(serviceKey cf.ServiceKey, logger *log.Logger) error

func (*FakeCloudFoundryClient) DeleteServiceKeyArgsForCall

func (fake *FakeCloudFoundryClient) DeleteServiceKeyArgsForCall(i int) (cf.ServiceKey, *log.Logger)

func (*FakeCloudFoundryClient) DeleteServiceKeyCallCount

func (fake *FakeCloudFoundryClient) DeleteServiceKeyCallCount() int

func (*FakeCloudFoundryClient) DeleteServiceKeyReturns

func (fake *FakeCloudFoundryClient) DeleteServiceKeyReturns(result1 error)

func (*FakeCloudFoundryClient) DeleteServiceKeyReturnsOnCall

func (fake *FakeCloudFoundryClient) DeleteServiceKeyReturnsOnCall(i int, result1 error)

func (*FakeCloudFoundryClient) GetBindingsForInstance

func (fake *FakeCloudFoundryClient) GetBindingsForInstance(instanceGUID string, logger *log.Logger) ([]cf.Binding, error)

func (*FakeCloudFoundryClient) GetBindingsForInstanceArgsForCall

func (fake *FakeCloudFoundryClient) GetBindingsForInstanceArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) GetBindingsForInstanceCallCount

func (fake *FakeCloudFoundryClient) GetBindingsForInstanceCallCount() int

func (*FakeCloudFoundryClient) GetBindingsForInstanceReturns

func (fake *FakeCloudFoundryClient) GetBindingsForInstanceReturns(result1 []cf.Binding, result2 error)

func (*FakeCloudFoundryClient) GetBindingsForInstanceReturnsOnCall

func (fake *FakeCloudFoundryClient) GetBindingsForInstanceReturnsOnCall(i int, result1 []cf.Binding, result2 error)

func (*FakeCloudFoundryClient) GetInstance

func (fake *FakeCloudFoundryClient) GetInstance(instanceGUID string, logger *log.Logger) (cf.Instance, error)

func (*FakeCloudFoundryClient) GetInstanceArgsForCall

func (fake *FakeCloudFoundryClient) GetInstanceArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) GetInstanceCallCount

func (fake *FakeCloudFoundryClient) GetInstanceCallCount() int

func (*FakeCloudFoundryClient) GetInstanceReturns

func (fake *FakeCloudFoundryClient) GetInstanceReturns(result1 cf.Instance, result2 error)

func (*FakeCloudFoundryClient) GetInstanceReturnsOnCall

func (fake *FakeCloudFoundryClient) GetInstanceReturnsOnCall(i int, result1 cf.Instance, result2 error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOffering

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOffering(serviceOfferingID string, logger *log.Logger) ([]service.Instance, error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingArgsForCall

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingCallCount

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingCallCount() int

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturns

func (fake *FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturns(result1 []service.Instance, result2 error)

func (*FakeCloudFoundryClient) GetInstancesOfServiceOfferingReturnsOnCall

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

func (*FakeCloudFoundryClient) GetServiceKeysForInstance

func (fake *FakeCloudFoundryClient) GetServiceKeysForInstance(instanceGUID string, logger *log.Logger) ([]cf.ServiceKey, error)

func (*FakeCloudFoundryClient) GetServiceKeysForInstanceArgsForCall

func (fake *FakeCloudFoundryClient) GetServiceKeysForInstanceArgsForCall(i int) (string, *log.Logger)

func (*FakeCloudFoundryClient) GetServiceKeysForInstanceCallCount

func (fake *FakeCloudFoundryClient) GetServiceKeysForInstanceCallCount() int

func (*FakeCloudFoundryClient) GetServiceKeysForInstanceReturns

func (fake *FakeCloudFoundryClient) GetServiceKeysForInstanceReturns(result1 []cf.ServiceKey, result2 error)

func (*FakeCloudFoundryClient) GetServiceKeysForInstanceReturnsOnCall

func (fake *FakeCloudFoundryClient) GetServiceKeysForInstanceReturnsOnCall(i int, result1 []cf.ServiceKey, result2 error)

func (*FakeCloudFoundryClient) Invocations

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

type FakeSleeper

type FakeSleeper struct {
	SleepStub func(d time.Duration)
	// contains filtered or unexported fields
}

func (*FakeSleeper) Invocations

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

func (*FakeSleeper) Sleep

func (fake *FakeSleeper) Sleep(d time.Duration)

func (*FakeSleeper) SleepArgsForCall

func (fake *FakeSleeper) SleepArgsForCall(i int) time.Duration

func (*FakeSleeper) SleepCallCount

func (fake *FakeSleeper) SleepCallCount() int

Jump to

Keyboard shortcuts

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