Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeBrokerServices
- func (fake *FakeBrokerServices) Instances() ([]string, error)
- func (fake *FakeBrokerServices) InstancesCallCount() int
- func (fake *FakeBrokerServices) InstancesReturns(result1 []string, result2 error)
- func (fake *FakeBrokerServices) InstancesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeBrokerServices) Invocations() map[string][][]interface{}
- func (fake *FakeBrokerServices) LastOperation(instance string, operationData broker.OperationData) (brokerapi.LastOperation, error)
- func (fake *FakeBrokerServices) LastOperationArgsForCall(i int) (string, broker.OperationData)
- func (fake *FakeBrokerServices) LastOperationCallCount() int
- func (fake *FakeBrokerServices) LastOperationReturns(result1 brokerapi.LastOperation, result2 error)
- func (fake *FakeBrokerServices) LastOperationReturnsOnCall(i int, result1 brokerapi.LastOperation, result2 error)
- func (fake *FakeBrokerServices) UpgradeInstance(instance string) (services.UpgradeOperation, error)
- func (fake *FakeBrokerServices) UpgradeInstanceArgsForCall(i int) string
- func (fake *FakeBrokerServices) UpgradeInstanceCallCount() int
- func (fake *FakeBrokerServices) UpgradeInstanceReturns(result1 services.UpgradeOperation, result2 error)
- func (fake *FakeBrokerServices) UpgradeInstanceReturnsOnCall(i int, result1 services.UpgradeOperation, result2 error)
- type FakeListener
- func (fake *FakeListener) Finished(orphanCount int, upgradedCount int, deletedCount int)
- func (fake *FakeListener) FinishedArgsForCall(i int) (int, int, int)
- func (fake *FakeListener) FinishedCallCount() int
- func (fake *FakeListener) InstanceUpgradeStartResult(status services.UpgradeOperationType)
- func (fake *FakeListener) InstanceUpgradeStartResultArgsForCall(i int) services.UpgradeOperationType
- func (fake *FakeListener) InstanceUpgradeStartResultCallCount() int
- func (fake *FakeListener) InstanceUpgradeStarting(instance string, index int, totalInstances int)
- func (fake *FakeListener) InstanceUpgradeStartingArgsForCall(i int) (string, int, int)
- func (fake *FakeListener) InstanceUpgradeStartingCallCount() int
- func (fake *FakeListener) InstanceUpgraded(instance string, result string)
- func (fake *FakeListener) InstanceUpgradedArgsForCall(i int) (string, string)
- func (fake *FakeListener) InstanceUpgradedCallCount() int
- func (fake *FakeListener) InstancesToUpgrade(instances []string)
- func (fake *FakeListener) InstancesToUpgradeArgsForCall(i int) []string
- func (fake *FakeListener) InstancesToUpgradeCallCount() int
- func (fake *FakeListener) Invocations() map[string][][]interface{}
- func (fake *FakeListener) Progress(pollingInterval time.Duration, orphanCount int, upgradedCount int, ...)
- func (fake *FakeListener) ProgressArgsForCall(i int) (time.Duration, int, int, int, int)
- func (fake *FakeListener) ProgressCallCount() int
- func (fake *FakeListener) Starting()
- func (fake *FakeListener) StartingCallCount() int
- func (fake *FakeListener) WaitingFor(instance string, boshTaskId int)
- func (fake *FakeListener) WaitingForArgsForCall(i int) (string, int)
- func (fake *FakeListener) WaitingForCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBrokerServices ¶
type FakeBrokerServices struct { InstancesStub func() ([]string, error) UpgradeInstanceStub func(instance string) (services.UpgradeOperation, error) LastOperationStub func(instance string, operationData broker.OperationData) (brokerapi.LastOperation, error) // contains filtered or unexported fields }
func (*FakeBrokerServices) Instances ¶
func (fake *FakeBrokerServices) Instances() ([]string, error)
func (*FakeBrokerServices) InstancesCallCount ¶
func (fake *FakeBrokerServices) InstancesCallCount() int
func (*FakeBrokerServices) InstancesReturns ¶
func (fake *FakeBrokerServices) InstancesReturns(result1 []string, result2 error)
func (*FakeBrokerServices) InstancesReturnsOnCall ¶
func (fake *FakeBrokerServices) InstancesReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeBrokerServices) Invocations ¶
func (fake *FakeBrokerServices) Invocations() map[string][][]interface{}
func (*FakeBrokerServices) LastOperation ¶
func (fake *FakeBrokerServices) LastOperation(instance string, operationData broker.OperationData) (brokerapi.LastOperation, error)
func (*FakeBrokerServices) LastOperationArgsForCall ¶
func (fake *FakeBrokerServices) LastOperationArgsForCall(i int) (string, broker.OperationData)
func (*FakeBrokerServices) LastOperationCallCount ¶
func (fake *FakeBrokerServices) LastOperationCallCount() int
func (*FakeBrokerServices) LastOperationReturns ¶
func (fake *FakeBrokerServices) LastOperationReturns(result1 brokerapi.LastOperation, result2 error)
func (*FakeBrokerServices) LastOperationReturnsOnCall ¶
func (fake *FakeBrokerServices) LastOperationReturnsOnCall(i int, result1 brokerapi.LastOperation, result2 error)
func (*FakeBrokerServices) UpgradeInstance ¶
func (fake *FakeBrokerServices) UpgradeInstance(instance string) (services.UpgradeOperation, error)
func (*FakeBrokerServices) UpgradeInstanceArgsForCall ¶
func (fake *FakeBrokerServices) UpgradeInstanceArgsForCall(i int) string
func (*FakeBrokerServices) UpgradeInstanceCallCount ¶
func (fake *FakeBrokerServices) UpgradeInstanceCallCount() int
func (*FakeBrokerServices) UpgradeInstanceReturns ¶
func (fake *FakeBrokerServices) UpgradeInstanceReturns(result1 services.UpgradeOperation, result2 error)
func (*FakeBrokerServices) UpgradeInstanceReturnsOnCall ¶
func (fake *FakeBrokerServices) UpgradeInstanceReturnsOnCall(i int, result1 services.UpgradeOperation, result2 error)
type FakeListener ¶
type FakeListener struct { StartingStub func() InstancesToUpgradeStub func(instances []string) InstanceUpgradeStartingStub func(instance string, index, totalInstances int) InstanceUpgradeStartResultStub func(status services.UpgradeOperationType) InstanceUpgradedStub func(instance string, result string) WaitingForStub func(instance string, boshTaskId int) ProgressStub func(pollingInterval time.Duration, orphanCount, upgradedCount, upgradesLeftCount, deletedCount int) FinishedStub func(orphanCount, upgradedCount, deletedCount int) // contains filtered or unexported fields }
func (*FakeListener) Finished ¶
func (fake *FakeListener) Finished(orphanCount int, upgradedCount int, deletedCount int)
func (*FakeListener) FinishedArgsForCall ¶
func (fake *FakeListener) FinishedArgsForCall(i int) (int, int, int)
func (*FakeListener) FinishedCallCount ¶
func (fake *FakeListener) FinishedCallCount() int
func (*FakeListener) InstanceUpgradeStartResult ¶
func (fake *FakeListener) InstanceUpgradeStartResult(status services.UpgradeOperationType)
func (*FakeListener) InstanceUpgradeStartResultArgsForCall ¶
func (fake *FakeListener) InstanceUpgradeStartResultArgsForCall(i int) services.UpgradeOperationType
func (*FakeListener) InstanceUpgradeStartResultCallCount ¶
func (fake *FakeListener) InstanceUpgradeStartResultCallCount() int
func (*FakeListener) InstanceUpgradeStarting ¶
func (fake *FakeListener) InstanceUpgradeStarting(instance string, index int, totalInstances int)
func (*FakeListener) InstanceUpgradeStartingArgsForCall ¶
func (fake *FakeListener) InstanceUpgradeStartingArgsForCall(i int) (string, int, int)
func (*FakeListener) InstanceUpgradeStartingCallCount ¶
func (fake *FakeListener) InstanceUpgradeStartingCallCount() int
func (*FakeListener) InstanceUpgraded ¶
func (fake *FakeListener) InstanceUpgraded(instance string, result string)
func (*FakeListener) InstanceUpgradedArgsForCall ¶
func (fake *FakeListener) InstanceUpgradedArgsForCall(i int) (string, string)
func (*FakeListener) InstanceUpgradedCallCount ¶
func (fake *FakeListener) InstanceUpgradedCallCount() int
func (*FakeListener) InstancesToUpgrade ¶
func (fake *FakeListener) InstancesToUpgrade(instances []string)
func (*FakeListener) InstancesToUpgradeArgsForCall ¶
func (fake *FakeListener) InstancesToUpgradeArgsForCall(i int) []string
func (*FakeListener) InstancesToUpgradeCallCount ¶
func (fake *FakeListener) InstancesToUpgradeCallCount() int
func (*FakeListener) Invocations ¶
func (fake *FakeListener) Invocations() map[string][][]interface{}
func (*FakeListener) ProgressArgsForCall ¶
func (*FakeListener) ProgressCallCount ¶
func (fake *FakeListener) ProgressCallCount() int
func (*FakeListener) Starting ¶
func (fake *FakeListener) Starting()
func (*FakeListener) StartingCallCount ¶
func (fake *FakeListener) StartingCallCount() int
func (*FakeListener) WaitingFor ¶
func (fake *FakeListener) WaitingFor(instance string, boshTaskId int)
func (*FakeListener) WaitingForArgsForCall ¶
func (fake *FakeListener) WaitingForArgsForCall(i int) (string, int)
func (*FakeListener) WaitingForCallCount ¶
func (fake *FakeListener) WaitingForCallCount() int
Click to show internal directories.
Click to hide internal directories.