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: 7 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeBrokerServices

type FakeBrokerServices struct {
	UpgradeInstanceStub func(instance service.Instance) (services.UpgradeOperation, error)

	LastOperationStub func(instance string, operationData broker.OperationData) (brokerapi.LastOperation, error)
	// contains filtered or unexported fields
}

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 service.Instance) (services.UpgradeOperation, error)

func (*FakeBrokerServices) UpgradeInstanceArgsForCall

func (fake *FakeBrokerServices) UpgradeInstanceArgsForCall(i int) service.Instance

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

type FakeInstanceLister struct {
	InstancesStub func() ([]service.Instance, error)
	// contains filtered or unexported fields
}

func (*FakeInstanceLister) Instances added in v0.18.0

func (fake *FakeInstanceLister) Instances() ([]service.Instance, error)

func (*FakeInstanceLister) InstancesCallCount added in v0.18.0

func (fake *FakeInstanceLister) InstancesCallCount() int

func (*FakeInstanceLister) InstancesReturns added in v0.18.0

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

func (*FakeInstanceLister) InstancesReturnsOnCall added in v0.18.0

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

func (*FakeInstanceLister) Invocations added in v0.18.0

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

type FakeListener

type FakeListener struct {
	StartingStub func()

	InstancesToUpgradeStub func(instances []service.Instance)

	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 []service.Instance)

func (*FakeListener) InstancesToUpgradeArgsForCall

func (fake *FakeListener) InstancesToUpgradeArgsForCall(i int) []service.Instance

func (*FakeListener) InstancesToUpgradeCallCount

func (fake *FakeListener) InstancesToUpgradeCallCount() int

func (*FakeListener) Invocations

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

func (*FakeListener) Progress

func (fake *FakeListener) Progress(pollingInterval time.Duration, orphanCount int, upgradedCount int, upgradesLeftCount int, deletedCount int)

func (*FakeListener) ProgressArgsForCall

func (fake *FakeListener) ProgressArgsForCall(i int) (time.Duration, int, int, int, int)

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

Jump to

Keyboard shortcuts

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