dbfakes

package
v0.0.0-...-2bebce4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 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.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeActualLRPDB

type FakeActualLRPDB struct {
	ActualLRPsStub func(context.Context, lager.Logger, models.ActualLRPFilter) ([]*models.ActualLRP, error)

	ChangeActualLRPPresenceStub func(context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error)

	ClaimActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error)

	CountActualLRPsByStateStub func(context.Context, lager.Logger) (int, int, int, int, int)

	CountDesiredInstancesStub func(context.Context, lager.Logger) int

	CrashActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) (*models.ActualLRP, *models.ActualLRP, bool, error)

	CreateUnclaimedActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error)

	FailActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, string) (*models.ActualLRP, *models.ActualLRP, error)

	RemoveActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error

	StartActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, *models.ActualLRP, error)

	UnclaimActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)
	// contains filtered or unexported fields
}

func (*FakeActualLRPDB) ActualLRPs

func (fake *FakeActualLRPDB) ActualLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.ActualLRPFilter) ([]*models.ActualLRP, error)

func (*FakeActualLRPDB) ActualLRPsArgsForCall

func (fake *FakeActualLRPDB) ActualLRPsArgsForCall(i int) (context.Context, lager.Logger, models.ActualLRPFilter)

func (*FakeActualLRPDB) ActualLRPsCallCount

func (fake *FakeActualLRPDB) ActualLRPsCallCount() int

func (*FakeActualLRPDB) ActualLRPsCalls

func (fake *FakeActualLRPDB) ActualLRPsCalls(stub func(context.Context, lager.Logger, models.ActualLRPFilter) ([]*models.ActualLRP, error))

func (*FakeActualLRPDB) ActualLRPsReturns

func (fake *FakeActualLRPDB) ActualLRPsReturns(result1 []*models.ActualLRP, result2 error)

func (*FakeActualLRPDB) ActualLRPsReturnsOnCall

func (fake *FakeActualLRPDB) ActualLRPsReturnsOnCall(i int, result1 []*models.ActualLRP, result2 error)

func (*FakeActualLRPDB) ChangeActualLRPPresence

func (*FakeActualLRPDB) ChangeActualLRPPresenceArgsForCall

func (*FakeActualLRPDB) ChangeActualLRPPresenceCallCount

func (fake *FakeActualLRPDB) ChangeActualLRPPresenceCallCount() int

func (*FakeActualLRPDB) ChangeActualLRPPresenceReturns

func (fake *FakeActualLRPDB) ChangeActualLRPPresenceReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) ChangeActualLRPPresenceReturnsOnCall

func (fake *FakeActualLRPDB) ChangeActualLRPPresenceReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) ClaimActualLRP

func (fake *FakeActualLRPDB) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeActualLRPDB) ClaimActualLRPArgsForCall

func (fake *FakeActualLRPDB) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)

func (*FakeActualLRPDB) ClaimActualLRPCallCount

func (fake *FakeActualLRPDB) ClaimActualLRPCallCount() int

func (*FakeActualLRPDB) ClaimActualLRPCalls

func (*FakeActualLRPDB) ClaimActualLRPReturns

func (fake *FakeActualLRPDB) ClaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) ClaimActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) ClaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) CountActualLRPsByState

func (fake *FakeActualLRPDB) CountActualLRPsByState(arg1 context.Context, arg2 lager.Logger) (int, int, int, int, int)

func (*FakeActualLRPDB) CountActualLRPsByStateArgsForCall

func (fake *FakeActualLRPDB) CountActualLRPsByStateArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeActualLRPDB) CountActualLRPsByStateCallCount

func (fake *FakeActualLRPDB) CountActualLRPsByStateCallCount() int

func (*FakeActualLRPDB) CountActualLRPsByStateCalls

func (fake *FakeActualLRPDB) CountActualLRPsByStateCalls(stub func(context.Context, lager.Logger) (int, int, int, int, int))

func (*FakeActualLRPDB) CountActualLRPsByStateReturns

func (fake *FakeActualLRPDB) CountActualLRPsByStateReturns(result1 int, result2 int, result3 int, result4 int, result5 int)

func (*FakeActualLRPDB) CountActualLRPsByStateReturnsOnCall

func (fake *FakeActualLRPDB) CountActualLRPsByStateReturnsOnCall(i int, result1 int, result2 int, result3 int, result4 int, result5 int)

func (*FakeActualLRPDB) CountDesiredInstances

func (fake *FakeActualLRPDB) CountDesiredInstances(arg1 context.Context, arg2 lager.Logger) int

func (*FakeActualLRPDB) CountDesiredInstancesArgsForCall

func (fake *FakeActualLRPDB) CountDesiredInstancesArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeActualLRPDB) CountDesiredInstancesCallCount

func (fake *FakeActualLRPDB) CountDesiredInstancesCallCount() int

func (*FakeActualLRPDB) CountDesiredInstancesCalls

func (fake *FakeActualLRPDB) CountDesiredInstancesCalls(stub func(context.Context, lager.Logger) int)

func (*FakeActualLRPDB) CountDesiredInstancesReturns

func (fake *FakeActualLRPDB) CountDesiredInstancesReturns(result1 int)

func (*FakeActualLRPDB) CountDesiredInstancesReturnsOnCall

func (fake *FakeActualLRPDB) CountDesiredInstancesReturnsOnCall(i int, result1 int)

func (*FakeActualLRPDB) CrashActualLRP

func (*FakeActualLRPDB) CrashActualLRPArgsForCall

func (fake *FakeActualLRPDB) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string)

func (*FakeActualLRPDB) CrashActualLRPCallCount

func (fake *FakeActualLRPDB) CrashActualLRPCallCount() int

func (*FakeActualLRPDB) CrashActualLRPCalls

func (*FakeActualLRPDB) CrashActualLRPReturns

func (fake *FakeActualLRPDB) CrashActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, result4 error)

func (*FakeActualLRPDB) CrashActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) CrashActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, result4 error)

func (*FakeActualLRPDB) CreateUnclaimedActualLRP

func (fake *FakeActualLRPDB) CreateUnclaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)

func (*FakeActualLRPDB) CreateUnclaimedActualLRPArgsForCall

func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeActualLRPDB) CreateUnclaimedActualLRPCallCount

func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPCallCount() int

func (*FakeActualLRPDB) CreateUnclaimedActualLRPCalls

func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error))

func (*FakeActualLRPDB) CreateUnclaimedActualLRPReturns

func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeActualLRPDB) CreateUnclaimedActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

func (*FakeActualLRPDB) FailActualLRP

func (fake *FakeActualLRPDB) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 string) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeActualLRPDB) FailActualLRPArgsForCall

func (fake *FakeActualLRPDB) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)

func (*FakeActualLRPDB) FailActualLRPCallCount

func (fake *FakeActualLRPDB) FailActualLRPCallCount() int

func (*FakeActualLRPDB) FailActualLRPCalls

func (fake *FakeActualLRPDB) FailActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, string) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeActualLRPDB) FailActualLRPReturns

func (fake *FakeActualLRPDB) FailActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) FailActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) FailActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) Invocations

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

func (*FakeActualLRPDB) RemoveActualLRP

func (fake *FakeActualLRPDB) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) error

func (*FakeActualLRPDB) RemoveActualLRPArgsForCall

func (fake *FakeActualLRPDB) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)

func (*FakeActualLRPDB) RemoveActualLRPCallCount

func (fake *FakeActualLRPDB) RemoveActualLRPCallCount() int

func (*FakeActualLRPDB) RemoveActualLRPCalls

func (fake *FakeActualLRPDB) RemoveActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error)

func (*FakeActualLRPDB) RemoveActualLRPReturns

func (fake *FakeActualLRPDB) RemoveActualLRPReturns(result1 error)

func (*FakeActualLRPDB) RemoveActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) RemoveActualLRPReturnsOnCall(i int, result1 error)

func (*FakeActualLRPDB) StartActualLRP

func (*FakeActualLRPDB) StartActualLRPCallCount

func (fake *FakeActualLRPDB) StartActualLRPCallCount() int

func (*FakeActualLRPDB) StartActualLRPReturns

func (fake *FakeActualLRPDB) StartActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) StartActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) StartActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) UnclaimActualLRP

func (fake *FakeActualLRPDB) UnclaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeActualLRPDB) UnclaimActualLRPArgsForCall

func (fake *FakeActualLRPDB) UnclaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeActualLRPDB) UnclaimActualLRPCallCount

func (fake *FakeActualLRPDB) UnclaimActualLRPCallCount() int

func (*FakeActualLRPDB) UnclaimActualLRPCalls

func (fake *FakeActualLRPDB) UnclaimActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeActualLRPDB) UnclaimActualLRPReturns

func (fake *FakeActualLRPDB) UnclaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeActualLRPDB) UnclaimActualLRPReturnsOnCall

func (fake *FakeActualLRPDB) UnclaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

type FakeDB

type FakeDB struct {
	ActualLRPsStub func(context.Context, lager.Logger, models.ActualLRPFilter) ([]*models.ActualLRP, error)

	CancelTaskStub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, string, error)

	ChangeActualLRPPresenceStub func(context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error)

	ClaimActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error)

	CompleteTaskStub func(context.Context, lager.Logger, string, string, bool, string, string) (*models.Task, *models.Task, error)

	ConvergeLRPsStub func(context.Context, lager.Logger, models.CellSet) db.ConvergenceResult

	ConvergeTasksStub func(context.Context, lager.Logger, models.CellSet, time.Duration, time.Duration, time.Duration) db.TaskConvergenceResult

	CountActualLRPsByStateStub func(context.Context, lager.Logger) (int, int, int, int, int)

	CountDesiredInstancesStub func(context.Context, lager.Logger) int

	CrashActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) (*models.ActualLRP, *models.ActualLRP, bool, error)

	CreateUnclaimedActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error)

	DeleteTaskStub func(context.Context, lager.Logger, string) (*models.Task, error)

	DesireLRPStub func(context.Context, lager.Logger, *models.DesiredLRP) error

	DesireTaskStub func(context.Context, lager.Logger, *models.TaskDefinition, string, string) (*models.Task, error)

	DesiredLRPByProcessGuidStub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error)

	DesiredLRPRoutingInfosStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

	DesiredLRPSchedulingInfoByProcessGuidStub func(context.Context, lager.Logger, string) (*models.DesiredLRPSchedulingInfo, error)

	DesiredLRPSchedulingInfosStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)

	DesiredLRPsStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

	EncryptionKeyLabelStub func(context.Context, lager.Logger) (string, error)

	EvacuateActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, error)

	FailActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, string) (*models.ActualLRP, *models.ActualLRP, error)

	FailTaskStub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error)

	FreshDomainsStub func(context.Context, lager.Logger) ([]string, error)

	PerformEncryptionStub func(context.Context, lager.Logger) error

	PromoteSuspectActualLRPStub func(context.Context, lager.Logger, string, int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error)

	RejectTaskStub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error)

	RemoveActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error

	RemoveDesiredLRPStub func(context.Context, lager.Logger, string) error

	RemoveEvacuatingActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error

	RemoveSuspectActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error)

	ResolvingTaskStub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, error)

	SetEncryptionKeyLabelStub func(context.Context, lager.Logger, string) error

	SetVersionStub func(helpers.Tx, context.Context, lager.Logger, *models.Version) error

	StartActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, *models.ActualLRP, error)

	StartTaskStub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, bool, error)

	TaskByGuidStub func(context.Context, lager.Logger, string) (*models.Task, error)

	TasksStub func(context.Context, lager.Logger, models.TaskFilter) ([]*models.Task, error)

	UnclaimActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)

	UpdateDesiredLRPStub func(context.Context, lager.Logger, string, *models.DesiredLRPUpdate) (*models.DesiredLRP, error)

	UpsertDomainStub func(context.Context, lager.Logger, string, uint32) error

	VersionStub func(helpers.Tx, context.Context, lager.Logger) (*models.Version, error)
	// contains filtered or unexported fields
}

func (*FakeDB) ActualLRPs

func (fake *FakeDB) ActualLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.ActualLRPFilter) ([]*models.ActualLRP, error)

func (*FakeDB) ActualLRPsArgsForCall

func (fake *FakeDB) ActualLRPsArgsForCall(i int) (context.Context, lager.Logger, models.ActualLRPFilter)

func (*FakeDB) ActualLRPsCallCount

func (fake *FakeDB) ActualLRPsCallCount() int

func (*FakeDB) ActualLRPsCalls

func (fake *FakeDB) ActualLRPsCalls(stub func(context.Context, lager.Logger, models.ActualLRPFilter) ([]*models.ActualLRP, error))

func (*FakeDB) ActualLRPsReturns

func (fake *FakeDB) ActualLRPsReturns(result1 []*models.ActualLRP, result2 error)

func (*FakeDB) ActualLRPsReturnsOnCall

func (fake *FakeDB) ActualLRPsReturnsOnCall(i int, result1 []*models.ActualLRP, result2 error)

func (*FakeDB) CancelTask

func (fake *FakeDB) CancelTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, string, error)

func (*FakeDB) CancelTaskArgsForCall

func (fake *FakeDB) CancelTaskArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) CancelTaskCallCount

func (fake *FakeDB) CancelTaskCallCount() int

func (*FakeDB) CancelTaskCalls

func (fake *FakeDB) CancelTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, string, error))

func (*FakeDB) CancelTaskReturns

func (fake *FakeDB) CancelTaskReturns(result1 *models.Task, result2 *models.Task, result3 string, result4 error)

func (*FakeDB) CancelTaskReturnsOnCall

func (fake *FakeDB) CancelTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 string, result4 error)

func (*FakeDB) ChangeActualLRPPresence

func (fake *FakeDB) ChangeActualLRPPresence(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 models.ActualLRP_Presence, arg5 models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeDB) ChangeActualLRPPresenceCallCount

func (fake *FakeDB) ChangeActualLRPPresenceCallCount() int

func (*FakeDB) ChangeActualLRPPresenceReturns

func (fake *FakeDB) ChangeActualLRPPresenceReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) ChangeActualLRPPresenceReturnsOnCall

func (fake *FakeDB) ChangeActualLRPPresenceReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) ClaimActualLRP

func (fake *FakeDB) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeDB) ClaimActualLRPArgsForCall

func (fake *FakeDB) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)

func (*FakeDB) ClaimActualLRPCallCount

func (fake *FakeDB) ClaimActualLRPCallCount() int

func (*FakeDB) ClaimActualLRPCalls

func (fake *FakeDB) ClaimActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeDB) ClaimActualLRPReturns

func (fake *FakeDB) ClaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) ClaimActualLRPReturnsOnCall

func (fake *FakeDB) ClaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) CompleteTask

func (fake *FakeDB) CompleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, arg5 bool, arg6 string, arg7 string) (*models.Task, *models.Task, error)

func (*FakeDB) CompleteTaskArgsForCall

func (fake *FakeDB) CompleteTaskArgsForCall(i int) (context.Context, lager.Logger, string, string, bool, string, string)

func (*FakeDB) CompleteTaskCallCount

func (fake *FakeDB) CompleteTaskCallCount() int

func (*FakeDB) CompleteTaskCalls

func (fake *FakeDB) CompleteTaskCalls(stub func(context.Context, lager.Logger, string, string, bool, string, string) (*models.Task, *models.Task, error))

func (*FakeDB) CompleteTaskReturns

func (fake *FakeDB) CompleteTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) CompleteTaskReturnsOnCall

func (fake *FakeDB) CompleteTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) ConvergeLRPs

func (fake *FakeDB) ConvergeLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet) db.ConvergenceResult

func (*FakeDB) ConvergeLRPsArgsForCall

func (fake *FakeDB) ConvergeLRPsArgsForCall(i int) (context.Context, lager.Logger, models.CellSet)

func (*FakeDB) ConvergeLRPsCallCount

func (fake *FakeDB) ConvergeLRPsCallCount() int

func (*FakeDB) ConvergeLRPsCalls

func (fake *FakeDB) ConvergeLRPsCalls(stub func(context.Context, lager.Logger, models.CellSet) db.ConvergenceResult)

func (*FakeDB) ConvergeLRPsReturns

func (fake *FakeDB) ConvergeLRPsReturns(result1 db.ConvergenceResult)

func (*FakeDB) ConvergeLRPsReturnsOnCall

func (fake *FakeDB) ConvergeLRPsReturnsOnCall(i int, result1 db.ConvergenceResult)

func (*FakeDB) ConvergeTasks

func (fake *FakeDB) ConvergeTasks(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet, arg4 time.Duration, arg5 time.Duration, arg6 time.Duration) db.TaskConvergenceResult

func (*FakeDB) ConvergeTasksArgsForCall

func (fake *FakeDB) ConvergeTasksArgsForCall(i int) (context.Context, lager.Logger, models.CellSet, time.Duration, time.Duration, time.Duration)

func (*FakeDB) ConvergeTasksCallCount

func (fake *FakeDB) ConvergeTasksCallCount() int

func (*FakeDB) ConvergeTasksCalls

func (*FakeDB) ConvergeTasksReturns

func (fake *FakeDB) ConvergeTasksReturns(result1 db.TaskConvergenceResult)

func (*FakeDB) ConvergeTasksReturnsOnCall

func (fake *FakeDB) ConvergeTasksReturnsOnCall(i int, result1 db.TaskConvergenceResult)

func (*FakeDB) CountActualLRPsByState

func (fake *FakeDB) CountActualLRPsByState(arg1 context.Context, arg2 lager.Logger) (int, int, int, int, int)

func (*FakeDB) CountActualLRPsByStateArgsForCall

func (fake *FakeDB) CountActualLRPsByStateArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeDB) CountActualLRPsByStateCallCount

func (fake *FakeDB) CountActualLRPsByStateCallCount() int

func (*FakeDB) CountActualLRPsByStateCalls

func (fake *FakeDB) CountActualLRPsByStateCalls(stub func(context.Context, lager.Logger) (int, int, int, int, int))

func (*FakeDB) CountActualLRPsByStateReturns

func (fake *FakeDB) CountActualLRPsByStateReturns(result1 int, result2 int, result3 int, result4 int, result5 int)

func (*FakeDB) CountActualLRPsByStateReturnsOnCall

func (fake *FakeDB) CountActualLRPsByStateReturnsOnCall(i int, result1 int, result2 int, result3 int, result4 int, result5 int)

func (*FakeDB) CountDesiredInstances

func (fake *FakeDB) CountDesiredInstances(arg1 context.Context, arg2 lager.Logger) int

func (*FakeDB) CountDesiredInstancesArgsForCall

func (fake *FakeDB) CountDesiredInstancesArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeDB) CountDesiredInstancesCallCount

func (fake *FakeDB) CountDesiredInstancesCallCount() int

func (*FakeDB) CountDesiredInstancesCalls

func (fake *FakeDB) CountDesiredInstancesCalls(stub func(context.Context, lager.Logger) int)

func (*FakeDB) CountDesiredInstancesReturns

func (fake *FakeDB) CountDesiredInstancesReturns(result1 int)

func (*FakeDB) CountDesiredInstancesReturnsOnCall

func (fake *FakeDB) CountDesiredInstancesReturnsOnCall(i int, result1 int)

func (*FakeDB) CrashActualLRP

func (fake *FakeDB) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 string) (*models.ActualLRP, *models.ActualLRP, bool, error)

func (*FakeDB) CrashActualLRPArgsForCall

func (fake *FakeDB) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string)

func (*FakeDB) CrashActualLRPCallCount

func (fake *FakeDB) CrashActualLRPCallCount() int

func (*FakeDB) CrashActualLRPReturns

func (fake *FakeDB) CrashActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, result4 error)

func (*FakeDB) CrashActualLRPReturnsOnCall

func (fake *FakeDB) CrashActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, result4 error)

func (*FakeDB) CreateUnclaimedActualLRP

func (fake *FakeDB) CreateUnclaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)

func (*FakeDB) CreateUnclaimedActualLRPArgsForCall

func (fake *FakeDB) CreateUnclaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeDB) CreateUnclaimedActualLRPCallCount

func (fake *FakeDB) CreateUnclaimedActualLRPCallCount() int

func (*FakeDB) CreateUnclaimedActualLRPCalls

func (fake *FakeDB) CreateUnclaimedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error))

func (*FakeDB) CreateUnclaimedActualLRPReturns

func (fake *FakeDB) CreateUnclaimedActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeDB) CreateUnclaimedActualLRPReturnsOnCall

func (fake *FakeDB) CreateUnclaimedActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

func (*FakeDB) DeleteTask

func (fake *FakeDB) DeleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)

func (*FakeDB) DeleteTaskArgsForCall

func (fake *FakeDB) DeleteTaskArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) DeleteTaskCallCount

func (fake *FakeDB) DeleteTaskCallCount() int

func (*FakeDB) DeleteTaskCalls

func (fake *FakeDB) DeleteTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))

func (*FakeDB) DeleteTaskReturns

func (fake *FakeDB) DeleteTaskReturns(result1 *models.Task, result2 error)

func (*FakeDB) DeleteTaskReturnsOnCall

func (fake *FakeDB) DeleteTaskReturnsOnCall(i int, result1 *models.Task, result2 error)

func (*FakeDB) DesireLRP

func (fake *FakeDB) DesireLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.DesiredLRP) error

func (*FakeDB) DesireLRPArgsForCall

func (fake *FakeDB) DesireLRPArgsForCall(i int) (context.Context, lager.Logger, *models.DesiredLRP)

func (*FakeDB) DesireLRPCallCount

func (fake *FakeDB) DesireLRPCallCount() int

func (*FakeDB) DesireLRPCalls

func (fake *FakeDB) DesireLRPCalls(stub func(context.Context, lager.Logger, *models.DesiredLRP) error)

func (*FakeDB) DesireLRPReturns

func (fake *FakeDB) DesireLRPReturns(result1 error)

func (*FakeDB) DesireLRPReturnsOnCall

func (fake *FakeDB) DesireLRPReturnsOnCall(i int, result1 error)

func (*FakeDB) DesireTask

func (fake *FakeDB) DesireTask(arg1 context.Context, arg2 lager.Logger, arg3 *models.TaskDefinition, arg4 string, arg5 string) (*models.Task, error)

func (*FakeDB) DesireTaskArgsForCall

func (fake *FakeDB) DesireTaskArgsForCall(i int) (context.Context, lager.Logger, *models.TaskDefinition, string, string)

func (*FakeDB) DesireTaskCallCount

func (fake *FakeDB) DesireTaskCallCount() int

func (*FakeDB) DesireTaskCalls

func (fake *FakeDB) DesireTaskCalls(stub func(context.Context, lager.Logger, *models.TaskDefinition, string, string) (*models.Task, error))

func (*FakeDB) DesireTaskReturns

func (fake *FakeDB) DesireTaskReturns(result1 *models.Task, result2 error)

func (*FakeDB) DesireTaskReturnsOnCall

func (fake *FakeDB) DesireTaskReturnsOnCall(i int, result1 *models.Task, result2 error)

func (*FakeDB) DesiredLRPByProcessGuid

func (fake *FakeDB) DesiredLRPByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRP, error)

func (*FakeDB) DesiredLRPByProcessGuidArgsForCall

func (fake *FakeDB) DesiredLRPByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) DesiredLRPByProcessGuidCallCount

func (fake *FakeDB) DesiredLRPByProcessGuidCallCount() int

func (*FakeDB) DesiredLRPByProcessGuidCalls

func (fake *FakeDB) DesiredLRPByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error))

func (*FakeDB) DesiredLRPByProcessGuidReturns

func (fake *FakeDB) DesiredLRPByProcessGuidReturns(result1 *models.DesiredLRP, result2 error)

func (*FakeDB) DesiredLRPByProcessGuidReturnsOnCall

func (fake *FakeDB) DesiredLRPByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)

func (*FakeDB) DesiredLRPRoutingInfos

func (fake *FakeDB) DesiredLRPRoutingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

func (*FakeDB) DesiredLRPRoutingInfosArgsForCall

func (fake *FakeDB) DesiredLRPRoutingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeDB) DesiredLRPRoutingInfosCallCount

func (fake *FakeDB) DesiredLRPRoutingInfosCallCount() int

func (*FakeDB) DesiredLRPRoutingInfosCalls

func (fake *FakeDB) DesiredLRPRoutingInfosCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error))

func (*FakeDB) DesiredLRPRoutingInfosReturns

func (fake *FakeDB) DesiredLRPRoutingInfosReturns(result1 []*models.DesiredLRP, result2 error)

func (*FakeDB) DesiredLRPRoutingInfosReturnsOnCall

func (fake *FakeDB) DesiredLRPRoutingInfosReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)

func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuid

func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRPSchedulingInfo, error)

func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall

func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidCallCount

func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidCallCount() int

func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidCalls

func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRPSchedulingInfo, error))

func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidReturns

func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidReturns(result1 *models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall

func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDB) DesiredLRPSchedulingInfos

func (fake *FakeDB) DesiredLRPSchedulingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)

func (*FakeDB) DesiredLRPSchedulingInfosArgsForCall

func (fake *FakeDB) DesiredLRPSchedulingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeDB) DesiredLRPSchedulingInfosCallCount

func (fake *FakeDB) DesiredLRPSchedulingInfosCallCount() int

func (*FakeDB) DesiredLRPSchedulingInfosCalls

func (fake *FakeDB) DesiredLRPSchedulingInfosCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error))

func (*FakeDB) DesiredLRPSchedulingInfosReturns

func (fake *FakeDB) DesiredLRPSchedulingInfosReturns(result1 []*models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDB) DesiredLRPSchedulingInfosReturnsOnCall

func (fake *FakeDB) DesiredLRPSchedulingInfosReturnsOnCall(i int, result1 []*models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDB) DesiredLRPs

func (fake *FakeDB) DesiredLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

func (*FakeDB) DesiredLRPsArgsForCall

func (fake *FakeDB) DesiredLRPsArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeDB) DesiredLRPsCallCount

func (fake *FakeDB) DesiredLRPsCallCount() int

func (*FakeDB) DesiredLRPsCalls

func (fake *FakeDB) DesiredLRPsCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error))

func (*FakeDB) DesiredLRPsReturns

func (fake *FakeDB) DesiredLRPsReturns(result1 []*models.DesiredLRP, result2 error)

func (*FakeDB) DesiredLRPsReturnsOnCall

func (fake *FakeDB) DesiredLRPsReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)

func (*FakeDB) EncryptionKeyLabel

func (fake *FakeDB) EncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger) (string, error)

func (*FakeDB) EncryptionKeyLabelArgsForCall

func (fake *FakeDB) EncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeDB) EncryptionKeyLabelCallCount

func (fake *FakeDB) EncryptionKeyLabelCallCount() int

func (*FakeDB) EncryptionKeyLabelCalls

func (fake *FakeDB) EncryptionKeyLabelCalls(stub func(context.Context, lager.Logger) (string, error))

func (*FakeDB) EncryptionKeyLabelReturns

func (fake *FakeDB) EncryptionKeyLabelReturns(result1 string, result2 error)

func (*FakeDB) EncryptionKeyLabelReturnsOnCall

func (fake *FakeDB) EncryptionKeyLabelReturnsOnCall(i int, result1 string, result2 error)

func (*FakeDB) EvacuateActualLRP

func (fake *FakeDB) EvacuateActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 *models.ActualLRPNetInfo, arg6 []*models.ActualLRPInternalRoute, arg7 map[string]string, arg8 bool, arg9 string) (*models.ActualLRP, error)

func (*FakeDB) EvacuateActualLRPCallCount

func (fake *FakeDB) EvacuateActualLRPCallCount() int

func (*FakeDB) EvacuateActualLRPReturns

func (fake *FakeDB) EvacuateActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeDB) EvacuateActualLRPReturnsOnCall

func (fake *FakeDB) EvacuateActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

func (*FakeDB) FailActualLRP

func (fake *FakeDB) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 string) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeDB) FailActualLRPArgsForCall

func (fake *FakeDB) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)

func (*FakeDB) FailActualLRPCallCount

func (fake *FakeDB) FailActualLRPCallCount() int

func (*FakeDB) FailActualLRPCalls

func (fake *FakeDB) FailActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, string) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeDB) FailActualLRPReturns

func (fake *FakeDB) FailActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) FailActualLRPReturnsOnCall

func (fake *FakeDB) FailActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) FailTask

func (fake *FakeDB) FailTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)

func (*FakeDB) FailTaskArgsForCall

func (fake *FakeDB) FailTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)

func (*FakeDB) FailTaskCallCount

func (fake *FakeDB) FailTaskCallCount() int

func (*FakeDB) FailTaskCalls

func (fake *FakeDB) FailTaskCalls(stub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error))

func (*FakeDB) FailTaskReturns

func (fake *FakeDB) FailTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) FailTaskReturnsOnCall

func (fake *FakeDB) FailTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) FreshDomains

func (fake *FakeDB) FreshDomains(arg1 context.Context, arg2 lager.Logger) ([]string, error)

func (*FakeDB) FreshDomainsArgsForCall

func (fake *FakeDB) FreshDomainsArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeDB) FreshDomainsCallCount

func (fake *FakeDB) FreshDomainsCallCount() int

func (*FakeDB) FreshDomainsCalls

func (fake *FakeDB) FreshDomainsCalls(stub func(context.Context, lager.Logger) ([]string, error))

func (*FakeDB) FreshDomainsReturns

func (fake *FakeDB) FreshDomainsReturns(result1 []string, result2 error)

func (*FakeDB) FreshDomainsReturnsOnCall

func (fake *FakeDB) FreshDomainsReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeDB) Invocations

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

func (*FakeDB) PerformEncryption

func (fake *FakeDB) PerformEncryption(arg1 context.Context, arg2 lager.Logger) error

func (*FakeDB) PerformEncryptionArgsForCall

func (fake *FakeDB) PerformEncryptionArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeDB) PerformEncryptionCallCount

func (fake *FakeDB) PerformEncryptionCallCount() int

func (*FakeDB) PerformEncryptionCalls

func (fake *FakeDB) PerformEncryptionCalls(stub func(context.Context, lager.Logger) error)

func (*FakeDB) PerformEncryptionReturns

func (fake *FakeDB) PerformEncryptionReturns(result1 error)

func (*FakeDB) PerformEncryptionReturnsOnCall

func (fake *FakeDB) PerformEncryptionReturnsOnCall(i int, result1 error)

func (*FakeDB) PromoteSuspectActualLRP

func (fake *FakeDB) PromoteSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error)

func (*FakeDB) PromoteSuspectActualLRPArgsForCall

func (fake *FakeDB) PromoteSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32)

func (*FakeDB) PromoteSuspectActualLRPCallCount

func (fake *FakeDB) PromoteSuspectActualLRPCallCount() int

func (*FakeDB) PromoteSuspectActualLRPCalls

func (fake *FakeDB) PromoteSuspectActualLRPCalls(stub func(context.Context, lager.Logger, string, int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error))

func (*FakeDB) PromoteSuspectActualLRPReturns

func (fake *FakeDB) PromoteSuspectActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 *models.ActualLRP, result4 error)

func (*FakeDB) PromoteSuspectActualLRPReturnsOnCall

func (fake *FakeDB) PromoteSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 *models.ActualLRP, result4 error)

func (*FakeDB) RejectTask

func (fake *FakeDB) RejectTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)

func (*FakeDB) RejectTaskArgsForCall

func (fake *FakeDB) RejectTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)

func (*FakeDB) RejectTaskCallCount

func (fake *FakeDB) RejectTaskCallCount() int

func (*FakeDB) RejectTaskCalls

func (fake *FakeDB) RejectTaskCalls(stub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error))

func (*FakeDB) RejectTaskReturns

func (fake *FakeDB) RejectTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) RejectTaskReturnsOnCall

func (fake *FakeDB) RejectTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) RemoveActualLRP

func (fake *FakeDB) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) error

func (*FakeDB) RemoveActualLRPArgsForCall

func (fake *FakeDB) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)

func (*FakeDB) RemoveActualLRPCallCount

func (fake *FakeDB) RemoveActualLRPCallCount() int

func (*FakeDB) RemoveActualLRPCalls

func (fake *FakeDB) RemoveActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error)

func (*FakeDB) RemoveActualLRPReturns

func (fake *FakeDB) RemoveActualLRPReturns(result1 error)

func (*FakeDB) RemoveActualLRPReturnsOnCall

func (fake *FakeDB) RemoveActualLRPReturnsOnCall(i int, result1 error)

func (*FakeDB) RemoveDesiredLRP

func (fake *FakeDB) RemoveDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string) error

func (*FakeDB) RemoveDesiredLRPArgsForCall

func (fake *FakeDB) RemoveDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) RemoveDesiredLRPCallCount

func (fake *FakeDB) RemoveDesiredLRPCallCount() int

func (*FakeDB) RemoveDesiredLRPCalls

func (fake *FakeDB) RemoveDesiredLRPCalls(stub func(context.Context, lager.Logger, string) error)

func (*FakeDB) RemoveDesiredLRPReturns

func (fake *FakeDB) RemoveDesiredLRPReturns(result1 error)

func (*FakeDB) RemoveDesiredLRPReturnsOnCall

func (fake *FakeDB) RemoveDesiredLRPReturnsOnCall(i int, result1 error)

func (*FakeDB) RemoveEvacuatingActualLRP

func (fake *FakeDB) RemoveEvacuatingActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey) error

func (*FakeDB) RemoveEvacuatingActualLRPArgsForCall

func (fake *FakeDB) RemoveEvacuatingActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey)

func (*FakeDB) RemoveEvacuatingActualLRPCallCount

func (fake *FakeDB) RemoveEvacuatingActualLRPCallCount() int

func (*FakeDB) RemoveEvacuatingActualLRPCalls

func (fake *FakeDB) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error)

func (*FakeDB) RemoveEvacuatingActualLRPReturns

func (fake *FakeDB) RemoveEvacuatingActualLRPReturns(result1 error)

func (*FakeDB) RemoveEvacuatingActualLRPReturnsOnCall

func (fake *FakeDB) RemoveEvacuatingActualLRPReturnsOnCall(i int, result1 error)

func (*FakeDB) RemoveSuspectActualLRP

func (fake *FakeDB) RemoveSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)

func (*FakeDB) RemoveSuspectActualLRPArgsForCall

func (fake *FakeDB) RemoveSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeDB) RemoveSuspectActualLRPCallCount

func (fake *FakeDB) RemoveSuspectActualLRPCallCount() int

func (*FakeDB) RemoveSuspectActualLRPCalls

func (fake *FakeDB) RemoveSuspectActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error))

func (*FakeDB) RemoveSuspectActualLRPReturns

func (fake *FakeDB) RemoveSuspectActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeDB) RemoveSuspectActualLRPReturnsOnCall

func (fake *FakeDB) RemoveSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

func (*FakeDB) ResolvingTask

func (fake *FakeDB) ResolvingTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, error)

func (*FakeDB) ResolvingTaskArgsForCall

func (fake *FakeDB) ResolvingTaskArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) ResolvingTaskCallCount

func (fake *FakeDB) ResolvingTaskCallCount() int

func (*FakeDB) ResolvingTaskCalls

func (fake *FakeDB) ResolvingTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, error))

func (*FakeDB) ResolvingTaskReturns

func (fake *FakeDB) ResolvingTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) ResolvingTaskReturnsOnCall

func (fake *FakeDB) ResolvingTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeDB) SetEncryptionKeyLabel

func (fake *FakeDB) SetEncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger, arg3 string) error

func (*FakeDB) SetEncryptionKeyLabelArgsForCall

func (fake *FakeDB) SetEncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) SetEncryptionKeyLabelCallCount

func (fake *FakeDB) SetEncryptionKeyLabelCallCount() int

func (*FakeDB) SetEncryptionKeyLabelCalls

func (fake *FakeDB) SetEncryptionKeyLabelCalls(stub func(context.Context, lager.Logger, string) error)

func (*FakeDB) SetEncryptionKeyLabelReturns

func (fake *FakeDB) SetEncryptionKeyLabelReturns(result1 error)

func (*FakeDB) SetEncryptionKeyLabelReturnsOnCall

func (fake *FakeDB) SetEncryptionKeyLabelReturnsOnCall(i int, result1 error)

func (*FakeDB) SetVersion

func (fake *FakeDB) SetVersion(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger, arg4 *models.Version) error

func (*FakeDB) SetVersionArgsForCall

func (fake *FakeDB) SetVersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger, *models.Version)

func (*FakeDB) SetVersionCallCount

func (fake *FakeDB) SetVersionCallCount() int

func (*FakeDB) SetVersionCalls

func (fake *FakeDB) SetVersionCalls(stub func(helpers.Tx, context.Context, lager.Logger, *models.Version) error)

func (*FakeDB) SetVersionReturns

func (fake *FakeDB) SetVersionReturns(result1 error)

func (*FakeDB) SetVersionReturnsOnCall

func (fake *FakeDB) SetVersionReturnsOnCall(i int, result1 error)

func (*FakeDB) StartActualLRP

func (*FakeDB) StartActualLRPCallCount

func (fake *FakeDB) StartActualLRPCallCount() int

func (*FakeDB) StartActualLRPReturns

func (fake *FakeDB) StartActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) StartActualLRPReturnsOnCall

func (fake *FakeDB) StartActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) StartTask

func (fake *FakeDB) StartTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, bool, error)

func (*FakeDB) StartTaskArgsForCall

func (fake *FakeDB) StartTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)

func (*FakeDB) StartTaskCallCount

func (fake *FakeDB) StartTaskCallCount() int

func (*FakeDB) StartTaskCalls

func (fake *FakeDB) StartTaskCalls(stub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, bool, error))

func (*FakeDB) StartTaskReturns

func (fake *FakeDB) StartTaskReturns(result1 *models.Task, result2 *models.Task, result3 bool, result4 error)

func (*FakeDB) StartTaskReturnsOnCall

func (fake *FakeDB) StartTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 bool, result4 error)

func (*FakeDB) TaskByGuid

func (fake *FakeDB) TaskByGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)

func (*FakeDB) TaskByGuidArgsForCall

func (fake *FakeDB) TaskByGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDB) TaskByGuidCallCount

func (fake *FakeDB) TaskByGuidCallCount() int

func (*FakeDB) TaskByGuidCalls

func (fake *FakeDB) TaskByGuidCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))

func (*FakeDB) TaskByGuidReturns

func (fake *FakeDB) TaskByGuidReturns(result1 *models.Task, result2 error)

func (*FakeDB) TaskByGuidReturnsOnCall

func (fake *FakeDB) TaskByGuidReturnsOnCall(i int, result1 *models.Task, result2 error)

func (*FakeDB) Tasks

func (fake *FakeDB) Tasks(arg1 context.Context, arg2 lager.Logger, arg3 models.TaskFilter) ([]*models.Task, error)

func (*FakeDB) TasksArgsForCall

func (fake *FakeDB) TasksArgsForCall(i int) (context.Context, lager.Logger, models.TaskFilter)

func (*FakeDB) TasksCallCount

func (fake *FakeDB) TasksCallCount() int

func (*FakeDB) TasksCalls

func (fake *FakeDB) TasksCalls(stub func(context.Context, lager.Logger, models.TaskFilter) ([]*models.Task, error))

func (*FakeDB) TasksReturns

func (fake *FakeDB) TasksReturns(result1 []*models.Task, result2 error)

func (*FakeDB) TasksReturnsOnCall

func (fake *FakeDB) TasksReturnsOnCall(i int, result1 []*models.Task, result2 error)

func (*FakeDB) UnclaimActualLRP

func (fake *FakeDB) UnclaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeDB) UnclaimActualLRPArgsForCall

func (fake *FakeDB) UnclaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeDB) UnclaimActualLRPCallCount

func (fake *FakeDB) UnclaimActualLRPCallCount() int

func (*FakeDB) UnclaimActualLRPCalls

func (fake *FakeDB) UnclaimActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeDB) UnclaimActualLRPReturns

func (fake *FakeDB) UnclaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) UnclaimActualLRPReturnsOnCall

func (fake *FakeDB) UnclaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeDB) UpdateDesiredLRP

func (fake *FakeDB) UpdateDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 *models.DesiredLRPUpdate) (*models.DesiredLRP, error)

func (*FakeDB) UpdateDesiredLRPArgsForCall

func (fake *FakeDB) UpdateDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string, *models.DesiredLRPUpdate)

func (*FakeDB) UpdateDesiredLRPCallCount

func (fake *FakeDB) UpdateDesiredLRPCallCount() int

func (*FakeDB) UpdateDesiredLRPCalls

func (fake *FakeDB) UpdateDesiredLRPCalls(stub func(context.Context, lager.Logger, string, *models.DesiredLRPUpdate) (*models.DesiredLRP, error))

func (*FakeDB) UpdateDesiredLRPReturns

func (fake *FakeDB) UpdateDesiredLRPReturns(result1 *models.DesiredLRP, result2 error)

func (*FakeDB) UpdateDesiredLRPReturnsOnCall

func (fake *FakeDB) UpdateDesiredLRPReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)

func (*FakeDB) UpsertDomain

func (fake *FakeDB) UpsertDomain(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 uint32) error

func (*FakeDB) UpsertDomainArgsForCall

func (fake *FakeDB) UpsertDomainArgsForCall(i int) (context.Context, lager.Logger, string, uint32)

func (*FakeDB) UpsertDomainCallCount

func (fake *FakeDB) UpsertDomainCallCount() int

func (*FakeDB) UpsertDomainCalls

func (fake *FakeDB) UpsertDomainCalls(stub func(context.Context, lager.Logger, string, uint32) error)

func (*FakeDB) UpsertDomainReturns

func (fake *FakeDB) UpsertDomainReturns(result1 error)

func (*FakeDB) UpsertDomainReturnsOnCall

func (fake *FakeDB) UpsertDomainReturnsOnCall(i int, result1 error)

func (*FakeDB) Version

func (fake *FakeDB) Version(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger) (*models.Version, error)

func (*FakeDB) VersionArgsForCall

func (fake *FakeDB) VersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger)

func (*FakeDB) VersionCallCount

func (fake *FakeDB) VersionCallCount() int

func (*FakeDB) VersionCalls

func (fake *FakeDB) VersionCalls(stub func(helpers.Tx, context.Context, lager.Logger) (*models.Version, error))

func (*FakeDB) VersionReturns

func (fake *FakeDB) VersionReturns(result1 *models.Version, result2 error)

func (*FakeDB) VersionReturnsOnCall

func (fake *FakeDB) VersionReturnsOnCall(i int, result1 *models.Version, result2 error)

type FakeDesiredLRPDB

type FakeDesiredLRPDB struct {
	DesireLRPStub func(context.Context, lager.Logger, *models.DesiredLRP) error

	DesiredLRPByProcessGuidStub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error)

	DesiredLRPRoutingInfosStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

	DesiredLRPSchedulingInfoByProcessGuidStub func(context.Context, lager.Logger, string) (*models.DesiredLRPSchedulingInfo, error)

	DesiredLRPSchedulingInfosStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)

	DesiredLRPsStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

	RemoveDesiredLRPStub func(context.Context, lager.Logger, string) error

	UpdateDesiredLRPStub func(context.Context, lager.Logger, string, *models.DesiredLRPUpdate) (*models.DesiredLRP, error)
	// contains filtered or unexported fields
}

func (*FakeDesiredLRPDB) DesireLRP

func (fake *FakeDesiredLRPDB) DesireLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.DesiredLRP) error

func (*FakeDesiredLRPDB) DesireLRPArgsForCall

func (fake *FakeDesiredLRPDB) DesireLRPArgsForCall(i int) (context.Context, lager.Logger, *models.DesiredLRP)

func (*FakeDesiredLRPDB) DesireLRPCallCount

func (fake *FakeDesiredLRPDB) DesireLRPCallCount() int

func (*FakeDesiredLRPDB) DesireLRPCalls

func (fake *FakeDesiredLRPDB) DesireLRPCalls(stub func(context.Context, lager.Logger, *models.DesiredLRP) error)

func (*FakeDesiredLRPDB) DesireLRPReturns

func (fake *FakeDesiredLRPDB) DesireLRPReturns(result1 error)

func (*FakeDesiredLRPDB) DesireLRPReturnsOnCall

func (fake *FakeDesiredLRPDB) DesireLRPReturnsOnCall(i int, result1 error)

func (*FakeDesiredLRPDB) DesiredLRPByProcessGuid

func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRP, error)

func (*FakeDesiredLRPDB) DesiredLRPByProcessGuidArgsForCall

func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDesiredLRPDB) DesiredLRPByProcessGuidCallCount

func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidCallCount() int

func (*FakeDesiredLRPDB) DesiredLRPByProcessGuidCalls

func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error))

func (*FakeDesiredLRPDB) DesiredLRPByProcessGuidReturns

func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidReturns(result1 *models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPByProcessGuidReturnsOnCall

func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPRoutingInfos

func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

func (*FakeDesiredLRPDB) DesiredLRPRoutingInfosArgsForCall

func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeDesiredLRPDB) DesiredLRPRoutingInfosCallCount

func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosCallCount() int

func (*FakeDesiredLRPDB) DesiredLRPRoutingInfosCalls

func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error))

func (*FakeDesiredLRPDB) DesiredLRPRoutingInfosReturns

func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosReturns(result1 []*models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPRoutingInfosReturnsOnCall

func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuid

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRPSchedulingInfo, error)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount() int

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRPSchedulingInfo, error))

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturns

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturns(result1 *models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfos

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfosArgsForCall

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfosCallCount

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosCallCount() int

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfosCalls

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error))

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfosReturns

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosReturns(result1 []*models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPSchedulingInfosReturnsOnCall

func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosReturnsOnCall(i int, result1 []*models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPs

func (fake *FakeDesiredLRPDB) DesiredLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

func (*FakeDesiredLRPDB) DesiredLRPsArgsForCall

func (fake *FakeDesiredLRPDB) DesiredLRPsArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeDesiredLRPDB) DesiredLRPsCallCount

func (fake *FakeDesiredLRPDB) DesiredLRPsCallCount() int

func (*FakeDesiredLRPDB) DesiredLRPsCalls

func (fake *FakeDesiredLRPDB) DesiredLRPsCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error))

func (*FakeDesiredLRPDB) DesiredLRPsReturns

func (fake *FakeDesiredLRPDB) DesiredLRPsReturns(result1 []*models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) DesiredLRPsReturnsOnCall

func (fake *FakeDesiredLRPDB) DesiredLRPsReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) Invocations

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

func (*FakeDesiredLRPDB) RemoveDesiredLRP

func (fake *FakeDesiredLRPDB) RemoveDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string) error

func (*FakeDesiredLRPDB) RemoveDesiredLRPArgsForCall

func (fake *FakeDesiredLRPDB) RemoveDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeDesiredLRPDB) RemoveDesiredLRPCallCount

func (fake *FakeDesiredLRPDB) RemoveDesiredLRPCallCount() int

func (*FakeDesiredLRPDB) RemoveDesiredLRPCalls

func (fake *FakeDesiredLRPDB) RemoveDesiredLRPCalls(stub func(context.Context, lager.Logger, string) error)

func (*FakeDesiredLRPDB) RemoveDesiredLRPReturns

func (fake *FakeDesiredLRPDB) RemoveDesiredLRPReturns(result1 error)

func (*FakeDesiredLRPDB) RemoveDesiredLRPReturnsOnCall

func (fake *FakeDesiredLRPDB) RemoveDesiredLRPReturnsOnCall(i int, result1 error)

func (*FakeDesiredLRPDB) UpdateDesiredLRP

func (fake *FakeDesiredLRPDB) UpdateDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 *models.DesiredLRPUpdate) (*models.DesiredLRP, error)

func (*FakeDesiredLRPDB) UpdateDesiredLRPArgsForCall

func (fake *FakeDesiredLRPDB) UpdateDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string, *models.DesiredLRPUpdate)

func (*FakeDesiredLRPDB) UpdateDesiredLRPCallCount

func (fake *FakeDesiredLRPDB) UpdateDesiredLRPCallCount() int

func (*FakeDesiredLRPDB) UpdateDesiredLRPCalls

func (fake *FakeDesiredLRPDB) UpdateDesiredLRPCalls(stub func(context.Context, lager.Logger, string, *models.DesiredLRPUpdate) (*models.DesiredLRP, error))

func (*FakeDesiredLRPDB) UpdateDesiredLRPReturns

func (fake *FakeDesiredLRPDB) UpdateDesiredLRPReturns(result1 *models.DesiredLRP, result2 error)

func (*FakeDesiredLRPDB) UpdateDesiredLRPReturnsOnCall

func (fake *FakeDesiredLRPDB) UpdateDesiredLRPReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)

type FakeDomainDB

type FakeDomainDB struct {
	FreshDomainsStub func(context.Context, lager.Logger) ([]string, error)

	UpsertDomainStub func(context.Context, lager.Logger, string, uint32) error
	// contains filtered or unexported fields
}

func (*FakeDomainDB) FreshDomains

func (fake *FakeDomainDB) FreshDomains(arg1 context.Context, arg2 lager.Logger) ([]string, error)

func (*FakeDomainDB) FreshDomainsArgsForCall

func (fake *FakeDomainDB) FreshDomainsArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeDomainDB) FreshDomainsCallCount

func (fake *FakeDomainDB) FreshDomainsCallCount() int

func (*FakeDomainDB) FreshDomainsCalls

func (fake *FakeDomainDB) FreshDomainsCalls(stub func(context.Context, lager.Logger) ([]string, error))

func (*FakeDomainDB) FreshDomainsReturns

func (fake *FakeDomainDB) FreshDomainsReturns(result1 []string, result2 error)

func (*FakeDomainDB) FreshDomainsReturnsOnCall

func (fake *FakeDomainDB) FreshDomainsReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeDomainDB) Invocations

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

func (*FakeDomainDB) UpsertDomain

func (fake *FakeDomainDB) UpsertDomain(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 uint32) error

func (*FakeDomainDB) UpsertDomainArgsForCall

func (fake *FakeDomainDB) UpsertDomainArgsForCall(i int) (context.Context, lager.Logger, string, uint32)

func (*FakeDomainDB) UpsertDomainCallCount

func (fake *FakeDomainDB) UpsertDomainCallCount() int

func (*FakeDomainDB) UpsertDomainCalls

func (fake *FakeDomainDB) UpsertDomainCalls(stub func(context.Context, lager.Logger, string, uint32) error)

func (*FakeDomainDB) UpsertDomainReturns

func (fake *FakeDomainDB) UpsertDomainReturns(result1 error)

func (*FakeDomainDB) UpsertDomainReturnsOnCall

func (fake *FakeDomainDB) UpsertDomainReturnsOnCall(i int, result1 error)

type FakeEncryptionDB

type FakeEncryptionDB struct {
	EncryptionKeyLabelStub func(context.Context, lager.Logger) (string, error)

	PerformEncryptionStub func(context.Context, lager.Logger) error

	SetEncryptionKeyLabelStub func(context.Context, lager.Logger, string) error
	// contains filtered or unexported fields
}

func (*FakeEncryptionDB) EncryptionKeyLabel

func (fake *FakeEncryptionDB) EncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger) (string, error)

func (*FakeEncryptionDB) EncryptionKeyLabelArgsForCall

func (fake *FakeEncryptionDB) EncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeEncryptionDB) EncryptionKeyLabelCallCount

func (fake *FakeEncryptionDB) EncryptionKeyLabelCallCount() int

func (*FakeEncryptionDB) EncryptionKeyLabelCalls

func (fake *FakeEncryptionDB) EncryptionKeyLabelCalls(stub func(context.Context, lager.Logger) (string, error))

func (*FakeEncryptionDB) EncryptionKeyLabelReturns

func (fake *FakeEncryptionDB) EncryptionKeyLabelReturns(result1 string, result2 error)

func (*FakeEncryptionDB) EncryptionKeyLabelReturnsOnCall

func (fake *FakeEncryptionDB) EncryptionKeyLabelReturnsOnCall(i int, result1 string, result2 error)

func (*FakeEncryptionDB) Invocations

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

func (*FakeEncryptionDB) PerformEncryption

func (fake *FakeEncryptionDB) PerformEncryption(arg1 context.Context, arg2 lager.Logger) error

func (*FakeEncryptionDB) PerformEncryptionArgsForCall

func (fake *FakeEncryptionDB) PerformEncryptionArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeEncryptionDB) PerformEncryptionCallCount

func (fake *FakeEncryptionDB) PerformEncryptionCallCount() int

func (*FakeEncryptionDB) PerformEncryptionCalls

func (fake *FakeEncryptionDB) PerformEncryptionCalls(stub func(context.Context, lager.Logger) error)

func (*FakeEncryptionDB) PerformEncryptionReturns

func (fake *FakeEncryptionDB) PerformEncryptionReturns(result1 error)

func (*FakeEncryptionDB) PerformEncryptionReturnsOnCall

func (fake *FakeEncryptionDB) PerformEncryptionReturnsOnCall(i int, result1 error)

func (*FakeEncryptionDB) SetEncryptionKeyLabel

func (fake *FakeEncryptionDB) SetEncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger, arg3 string) error

func (*FakeEncryptionDB) SetEncryptionKeyLabelArgsForCall

func (fake *FakeEncryptionDB) SetEncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeEncryptionDB) SetEncryptionKeyLabelCallCount

func (fake *FakeEncryptionDB) SetEncryptionKeyLabelCallCount() int

func (*FakeEncryptionDB) SetEncryptionKeyLabelCalls

func (fake *FakeEncryptionDB) SetEncryptionKeyLabelCalls(stub func(context.Context, lager.Logger, string) error)

func (*FakeEncryptionDB) SetEncryptionKeyLabelReturns

func (fake *FakeEncryptionDB) SetEncryptionKeyLabelReturns(result1 error)

func (*FakeEncryptionDB) SetEncryptionKeyLabelReturnsOnCall

func (fake *FakeEncryptionDB) SetEncryptionKeyLabelReturnsOnCall(i int, result1 error)

type FakeEvacuationDB

type FakeEvacuationDB struct {
	EvacuateActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, error)

	RemoveEvacuatingActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error
	// contains filtered or unexported fields
}

func (*FakeEvacuationDB) EvacuateActualLRP

func (fake *FakeEvacuationDB) EvacuateActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 *models.ActualLRPNetInfo, arg6 []*models.ActualLRPInternalRoute, arg7 map[string]string, arg8 bool, arg9 string) (*models.ActualLRP, error)

func (*FakeEvacuationDB) EvacuateActualLRPCallCount

func (fake *FakeEvacuationDB) EvacuateActualLRPCallCount() int

func (*FakeEvacuationDB) EvacuateActualLRPReturns

func (fake *FakeEvacuationDB) EvacuateActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeEvacuationDB) EvacuateActualLRPReturnsOnCall

func (fake *FakeEvacuationDB) EvacuateActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

func (*FakeEvacuationDB) Invocations

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

func (*FakeEvacuationDB) RemoveEvacuatingActualLRP

func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey) error

func (*FakeEvacuationDB) RemoveEvacuatingActualLRPArgsForCall

func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey)

func (*FakeEvacuationDB) RemoveEvacuatingActualLRPCallCount

func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPCallCount() int

func (*FakeEvacuationDB) RemoveEvacuatingActualLRPCalls

func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error)

func (*FakeEvacuationDB) RemoveEvacuatingActualLRPReturns

func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPReturns(result1 error)

func (*FakeEvacuationDB) RemoveEvacuatingActualLRPReturnsOnCall

func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPReturnsOnCall(i int, result1 error)

type FakeLRPDB

type FakeLRPDB struct {
	ActualLRPsStub func(context.Context, lager.Logger, models.ActualLRPFilter) ([]*models.ActualLRP, error)

	ChangeActualLRPPresenceStub func(context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error)

	ClaimActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error)

	ConvergeLRPsStub func(context.Context, lager.Logger, models.CellSet) db.ConvergenceResult

	CountActualLRPsByStateStub func(context.Context, lager.Logger) (int, int, int, int, int)

	CountDesiredInstancesStub func(context.Context, lager.Logger) int

	CrashActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) (*models.ActualLRP, *models.ActualLRP, bool, error)

	CreateUnclaimedActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error)

	DesireLRPStub func(context.Context, lager.Logger, *models.DesiredLRP) error

	DesiredLRPByProcessGuidStub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error)

	DesiredLRPRoutingInfosStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

	DesiredLRPSchedulingInfoByProcessGuidStub func(context.Context, lager.Logger, string) (*models.DesiredLRPSchedulingInfo, error)

	DesiredLRPSchedulingInfosStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)

	DesiredLRPsStub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

	FailActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, string) (*models.ActualLRP, *models.ActualLRP, error)

	RemoveActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error

	RemoveDesiredLRPStub func(context.Context, lager.Logger, string) error

	StartActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, *models.ActualLRP, error)

	UnclaimActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)

	UpdateDesiredLRPStub func(context.Context, lager.Logger, string, *models.DesiredLRPUpdate) (*models.DesiredLRP, error)
	// contains filtered or unexported fields
}

func (*FakeLRPDB) ActualLRPs

func (fake *FakeLRPDB) ActualLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.ActualLRPFilter) ([]*models.ActualLRP, error)

func (*FakeLRPDB) ActualLRPsArgsForCall

func (fake *FakeLRPDB) ActualLRPsArgsForCall(i int) (context.Context, lager.Logger, models.ActualLRPFilter)

func (*FakeLRPDB) ActualLRPsCallCount

func (fake *FakeLRPDB) ActualLRPsCallCount() int

func (*FakeLRPDB) ActualLRPsCalls

func (fake *FakeLRPDB) ActualLRPsCalls(stub func(context.Context, lager.Logger, models.ActualLRPFilter) ([]*models.ActualLRP, error))

func (*FakeLRPDB) ActualLRPsReturns

func (fake *FakeLRPDB) ActualLRPsReturns(result1 []*models.ActualLRP, result2 error)

func (*FakeLRPDB) ActualLRPsReturnsOnCall

func (fake *FakeLRPDB) ActualLRPsReturnsOnCall(i int, result1 []*models.ActualLRP, result2 error)

func (*FakeLRPDB) ChangeActualLRPPresence

func (fake *FakeLRPDB) ChangeActualLRPPresence(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 models.ActualLRP_Presence, arg5 models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeLRPDB) ChangeActualLRPPresenceCallCount

func (fake *FakeLRPDB) ChangeActualLRPPresenceCallCount() int

func (*FakeLRPDB) ChangeActualLRPPresenceReturns

func (fake *FakeLRPDB) ChangeActualLRPPresenceReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) ChangeActualLRPPresenceReturnsOnCall

func (fake *FakeLRPDB) ChangeActualLRPPresenceReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) ClaimActualLRP

func (fake *FakeLRPDB) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeLRPDB) ClaimActualLRPArgsForCall

func (fake *FakeLRPDB) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)

func (*FakeLRPDB) ClaimActualLRPCallCount

func (fake *FakeLRPDB) ClaimActualLRPCallCount() int

func (*FakeLRPDB) ClaimActualLRPCalls

func (fake *FakeLRPDB) ClaimActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeLRPDB) ClaimActualLRPReturns

func (fake *FakeLRPDB) ClaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) ClaimActualLRPReturnsOnCall

func (fake *FakeLRPDB) ClaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) ConvergeLRPs

func (fake *FakeLRPDB) ConvergeLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet) db.ConvergenceResult

func (*FakeLRPDB) ConvergeLRPsArgsForCall

func (fake *FakeLRPDB) ConvergeLRPsArgsForCall(i int) (context.Context, lager.Logger, models.CellSet)

func (*FakeLRPDB) ConvergeLRPsCallCount

func (fake *FakeLRPDB) ConvergeLRPsCallCount() int

func (*FakeLRPDB) ConvergeLRPsCalls

func (fake *FakeLRPDB) ConvergeLRPsCalls(stub func(context.Context, lager.Logger, models.CellSet) db.ConvergenceResult)

func (*FakeLRPDB) ConvergeLRPsReturns

func (fake *FakeLRPDB) ConvergeLRPsReturns(result1 db.ConvergenceResult)

func (*FakeLRPDB) ConvergeLRPsReturnsOnCall

func (fake *FakeLRPDB) ConvergeLRPsReturnsOnCall(i int, result1 db.ConvergenceResult)

func (*FakeLRPDB) CountActualLRPsByState

func (fake *FakeLRPDB) CountActualLRPsByState(arg1 context.Context, arg2 lager.Logger) (int, int, int, int, int)

func (*FakeLRPDB) CountActualLRPsByStateArgsForCall

func (fake *FakeLRPDB) CountActualLRPsByStateArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeLRPDB) CountActualLRPsByStateCallCount

func (fake *FakeLRPDB) CountActualLRPsByStateCallCount() int

func (*FakeLRPDB) CountActualLRPsByStateCalls

func (fake *FakeLRPDB) CountActualLRPsByStateCalls(stub func(context.Context, lager.Logger) (int, int, int, int, int))

func (*FakeLRPDB) CountActualLRPsByStateReturns

func (fake *FakeLRPDB) CountActualLRPsByStateReturns(result1 int, result2 int, result3 int, result4 int, result5 int)

func (*FakeLRPDB) CountActualLRPsByStateReturnsOnCall

func (fake *FakeLRPDB) CountActualLRPsByStateReturnsOnCall(i int, result1 int, result2 int, result3 int, result4 int, result5 int)

func (*FakeLRPDB) CountDesiredInstances

func (fake *FakeLRPDB) CountDesiredInstances(arg1 context.Context, arg2 lager.Logger) int

func (*FakeLRPDB) CountDesiredInstancesArgsForCall

func (fake *FakeLRPDB) CountDesiredInstancesArgsForCall(i int) (context.Context, lager.Logger)

func (*FakeLRPDB) CountDesiredInstancesCallCount

func (fake *FakeLRPDB) CountDesiredInstancesCallCount() int

func (*FakeLRPDB) CountDesiredInstancesCalls

func (fake *FakeLRPDB) CountDesiredInstancesCalls(stub func(context.Context, lager.Logger) int)

func (*FakeLRPDB) CountDesiredInstancesReturns

func (fake *FakeLRPDB) CountDesiredInstancesReturns(result1 int)

func (*FakeLRPDB) CountDesiredInstancesReturnsOnCall

func (fake *FakeLRPDB) CountDesiredInstancesReturnsOnCall(i int, result1 int)

func (*FakeLRPDB) CrashActualLRP

func (fake *FakeLRPDB) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 string) (*models.ActualLRP, *models.ActualLRP, bool, error)

func (*FakeLRPDB) CrashActualLRPArgsForCall

func (fake *FakeLRPDB) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string)

func (*FakeLRPDB) CrashActualLRPCallCount

func (fake *FakeLRPDB) CrashActualLRPCallCount() int

func (*FakeLRPDB) CrashActualLRPReturns

func (fake *FakeLRPDB) CrashActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, result4 error)

func (*FakeLRPDB) CrashActualLRPReturnsOnCall

func (fake *FakeLRPDB) CrashActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, result4 error)

func (*FakeLRPDB) CreateUnclaimedActualLRP

func (fake *FakeLRPDB) CreateUnclaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)

func (*FakeLRPDB) CreateUnclaimedActualLRPArgsForCall

func (fake *FakeLRPDB) CreateUnclaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeLRPDB) CreateUnclaimedActualLRPCallCount

func (fake *FakeLRPDB) CreateUnclaimedActualLRPCallCount() int

func (*FakeLRPDB) CreateUnclaimedActualLRPCalls

func (fake *FakeLRPDB) CreateUnclaimedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error))

func (*FakeLRPDB) CreateUnclaimedActualLRPReturns

func (fake *FakeLRPDB) CreateUnclaimedActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeLRPDB) CreateUnclaimedActualLRPReturnsOnCall

func (fake *FakeLRPDB) CreateUnclaimedActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

func (*FakeLRPDB) DesireLRP

func (fake *FakeLRPDB) DesireLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.DesiredLRP) error

func (*FakeLRPDB) DesireLRPArgsForCall

func (fake *FakeLRPDB) DesireLRPArgsForCall(i int) (context.Context, lager.Logger, *models.DesiredLRP)

func (*FakeLRPDB) DesireLRPCallCount

func (fake *FakeLRPDB) DesireLRPCallCount() int

func (*FakeLRPDB) DesireLRPCalls

func (fake *FakeLRPDB) DesireLRPCalls(stub func(context.Context, lager.Logger, *models.DesiredLRP) error)

func (*FakeLRPDB) DesireLRPReturns

func (fake *FakeLRPDB) DesireLRPReturns(result1 error)

func (*FakeLRPDB) DesireLRPReturnsOnCall

func (fake *FakeLRPDB) DesireLRPReturnsOnCall(i int, result1 error)

func (*FakeLRPDB) DesiredLRPByProcessGuid

func (fake *FakeLRPDB) DesiredLRPByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRP, error)

func (*FakeLRPDB) DesiredLRPByProcessGuidArgsForCall

func (fake *FakeLRPDB) DesiredLRPByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeLRPDB) DesiredLRPByProcessGuidCallCount

func (fake *FakeLRPDB) DesiredLRPByProcessGuidCallCount() int

func (*FakeLRPDB) DesiredLRPByProcessGuidCalls

func (fake *FakeLRPDB) DesiredLRPByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error))

func (*FakeLRPDB) DesiredLRPByProcessGuidReturns

func (fake *FakeLRPDB) DesiredLRPByProcessGuidReturns(result1 *models.DesiredLRP, result2 error)

func (*FakeLRPDB) DesiredLRPByProcessGuidReturnsOnCall

func (fake *FakeLRPDB) DesiredLRPByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)

func (*FakeLRPDB) DesiredLRPRoutingInfos

func (fake *FakeLRPDB) DesiredLRPRoutingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

func (*FakeLRPDB) DesiredLRPRoutingInfosArgsForCall

func (fake *FakeLRPDB) DesiredLRPRoutingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeLRPDB) DesiredLRPRoutingInfosCallCount

func (fake *FakeLRPDB) DesiredLRPRoutingInfosCallCount() int

func (*FakeLRPDB) DesiredLRPRoutingInfosCalls

func (fake *FakeLRPDB) DesiredLRPRoutingInfosCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error))

func (*FakeLRPDB) DesiredLRPRoutingInfosReturns

func (fake *FakeLRPDB) DesiredLRPRoutingInfosReturns(result1 []*models.DesiredLRP, result2 error)

func (*FakeLRPDB) DesiredLRPRoutingInfosReturnsOnCall

func (fake *FakeLRPDB) DesiredLRPRoutingInfosReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)

func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuid

func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRPSchedulingInfo, error)

func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall

func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount

func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount() int

func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls

func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRPSchedulingInfo, error))

func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturns

func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturns(result1 *models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall

func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeLRPDB) DesiredLRPSchedulingInfos

func (fake *FakeLRPDB) DesiredLRPSchedulingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)

func (*FakeLRPDB) DesiredLRPSchedulingInfosArgsForCall

func (fake *FakeLRPDB) DesiredLRPSchedulingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeLRPDB) DesiredLRPSchedulingInfosCallCount

func (fake *FakeLRPDB) DesiredLRPSchedulingInfosCallCount() int

func (*FakeLRPDB) DesiredLRPSchedulingInfosCalls

func (fake *FakeLRPDB) DesiredLRPSchedulingInfosCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error))

func (*FakeLRPDB) DesiredLRPSchedulingInfosReturns

func (fake *FakeLRPDB) DesiredLRPSchedulingInfosReturns(result1 []*models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeLRPDB) DesiredLRPSchedulingInfosReturnsOnCall

func (fake *FakeLRPDB) DesiredLRPSchedulingInfosReturnsOnCall(i int, result1 []*models.DesiredLRPSchedulingInfo, result2 error)

func (*FakeLRPDB) DesiredLRPs

func (fake *FakeLRPDB) DesiredLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)

func (*FakeLRPDB) DesiredLRPsArgsForCall

func (fake *FakeLRPDB) DesiredLRPsArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)

func (*FakeLRPDB) DesiredLRPsCallCount

func (fake *FakeLRPDB) DesiredLRPsCallCount() int

func (*FakeLRPDB) DesiredLRPsCalls

func (fake *FakeLRPDB) DesiredLRPsCalls(stub func(context.Context, lager.Logger, models.DesiredLRPFilter) ([]*models.DesiredLRP, error))

func (*FakeLRPDB) DesiredLRPsReturns

func (fake *FakeLRPDB) DesiredLRPsReturns(result1 []*models.DesiredLRP, result2 error)

func (*FakeLRPDB) DesiredLRPsReturnsOnCall

func (fake *FakeLRPDB) DesiredLRPsReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)

func (*FakeLRPDB) FailActualLRP

func (fake *FakeLRPDB) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 string) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeLRPDB) FailActualLRPArgsForCall

func (fake *FakeLRPDB) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)

func (*FakeLRPDB) FailActualLRPCallCount

func (fake *FakeLRPDB) FailActualLRPCallCount() int

func (*FakeLRPDB) FailActualLRPCalls

func (fake *FakeLRPDB) FailActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, string) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeLRPDB) FailActualLRPReturns

func (fake *FakeLRPDB) FailActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) FailActualLRPReturnsOnCall

func (fake *FakeLRPDB) FailActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) Invocations

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

func (*FakeLRPDB) RemoveActualLRP

func (fake *FakeLRPDB) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) error

func (*FakeLRPDB) RemoveActualLRPArgsForCall

func (fake *FakeLRPDB) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)

func (*FakeLRPDB) RemoveActualLRPCallCount

func (fake *FakeLRPDB) RemoveActualLRPCallCount() int

func (*FakeLRPDB) RemoveActualLRPCalls

func (fake *FakeLRPDB) RemoveActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error)

func (*FakeLRPDB) RemoveActualLRPReturns

func (fake *FakeLRPDB) RemoveActualLRPReturns(result1 error)

func (*FakeLRPDB) RemoveActualLRPReturnsOnCall

func (fake *FakeLRPDB) RemoveActualLRPReturnsOnCall(i int, result1 error)

func (*FakeLRPDB) RemoveDesiredLRP

func (fake *FakeLRPDB) RemoveDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string) error

func (*FakeLRPDB) RemoveDesiredLRPArgsForCall

func (fake *FakeLRPDB) RemoveDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeLRPDB) RemoveDesiredLRPCallCount

func (fake *FakeLRPDB) RemoveDesiredLRPCallCount() int

func (*FakeLRPDB) RemoveDesiredLRPCalls

func (fake *FakeLRPDB) RemoveDesiredLRPCalls(stub func(context.Context, lager.Logger, string) error)

func (*FakeLRPDB) RemoveDesiredLRPReturns

func (fake *FakeLRPDB) RemoveDesiredLRPReturns(result1 error)

func (*FakeLRPDB) RemoveDesiredLRPReturnsOnCall

func (fake *FakeLRPDB) RemoveDesiredLRPReturnsOnCall(i int, result1 error)

func (*FakeLRPDB) StartActualLRP

func (*FakeLRPDB) StartActualLRPCallCount

func (fake *FakeLRPDB) StartActualLRPCallCount() int

func (*FakeLRPDB) StartActualLRPReturns

func (fake *FakeLRPDB) StartActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) StartActualLRPReturnsOnCall

func (fake *FakeLRPDB) StartActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) UnclaimActualLRP

func (fake *FakeLRPDB) UnclaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)

func (*FakeLRPDB) UnclaimActualLRPArgsForCall

func (fake *FakeLRPDB) UnclaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeLRPDB) UnclaimActualLRPCallCount

func (fake *FakeLRPDB) UnclaimActualLRPCallCount() int

func (*FakeLRPDB) UnclaimActualLRPCalls

func (fake *FakeLRPDB) UnclaimActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error))

func (*FakeLRPDB) UnclaimActualLRPReturns

func (fake *FakeLRPDB) UnclaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) UnclaimActualLRPReturnsOnCall

func (fake *FakeLRPDB) UnclaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)

func (*FakeLRPDB) UpdateDesiredLRP

func (fake *FakeLRPDB) UpdateDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 *models.DesiredLRPUpdate) (*models.DesiredLRP, error)

func (*FakeLRPDB) UpdateDesiredLRPArgsForCall

func (fake *FakeLRPDB) UpdateDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string, *models.DesiredLRPUpdate)

func (*FakeLRPDB) UpdateDesiredLRPCallCount

func (fake *FakeLRPDB) UpdateDesiredLRPCallCount() int

func (*FakeLRPDB) UpdateDesiredLRPCalls

func (fake *FakeLRPDB) UpdateDesiredLRPCalls(stub func(context.Context, lager.Logger, string, *models.DesiredLRPUpdate) (*models.DesiredLRP, error))

func (*FakeLRPDB) UpdateDesiredLRPReturns

func (fake *FakeLRPDB) UpdateDesiredLRPReturns(result1 *models.DesiredLRP, result2 error)

func (*FakeLRPDB) UpdateDesiredLRPReturnsOnCall

func (fake *FakeLRPDB) UpdateDesiredLRPReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)

type FakeSuspectDB

type FakeSuspectDB struct {
	PromoteSuspectActualLRPStub func(context.Context, lager.Logger, string, int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error)

	RemoveSuspectActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error)
	// contains filtered or unexported fields
}

func (*FakeSuspectDB) Invocations

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

func (*FakeSuspectDB) PromoteSuspectActualLRP

func (fake *FakeSuspectDB) PromoteSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error)

func (*FakeSuspectDB) PromoteSuspectActualLRPArgsForCall

func (fake *FakeSuspectDB) PromoteSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32)

func (*FakeSuspectDB) PromoteSuspectActualLRPCallCount

func (fake *FakeSuspectDB) PromoteSuspectActualLRPCallCount() int

func (*FakeSuspectDB) PromoteSuspectActualLRPCalls

func (fake *FakeSuspectDB) PromoteSuspectActualLRPCalls(stub func(context.Context, lager.Logger, string, int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error))

func (*FakeSuspectDB) PromoteSuspectActualLRPReturns

func (fake *FakeSuspectDB) PromoteSuspectActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 *models.ActualLRP, result4 error)

func (*FakeSuspectDB) PromoteSuspectActualLRPReturnsOnCall

func (fake *FakeSuspectDB) PromoteSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 *models.ActualLRP, result4 error)

func (*FakeSuspectDB) RemoveSuspectActualLRP

func (fake *FakeSuspectDB) RemoveSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)

func (*FakeSuspectDB) RemoveSuspectActualLRPArgsForCall

func (fake *FakeSuspectDB) RemoveSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)

func (*FakeSuspectDB) RemoveSuspectActualLRPCallCount

func (fake *FakeSuspectDB) RemoveSuspectActualLRPCallCount() int

func (*FakeSuspectDB) RemoveSuspectActualLRPCalls

func (fake *FakeSuspectDB) RemoveSuspectActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) (*models.ActualLRP, error))

func (*FakeSuspectDB) RemoveSuspectActualLRPReturns

func (fake *FakeSuspectDB) RemoveSuspectActualLRPReturns(result1 *models.ActualLRP, result2 error)

func (*FakeSuspectDB) RemoveSuspectActualLRPReturnsOnCall

func (fake *FakeSuspectDB) RemoveSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)

type FakeTaskDB

type FakeTaskDB struct {
	CancelTaskStub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, string, error)

	CompleteTaskStub func(context.Context, lager.Logger, string, string, bool, string, string) (*models.Task, *models.Task, error)

	ConvergeTasksStub func(context.Context, lager.Logger, models.CellSet, time.Duration, time.Duration, time.Duration) db.TaskConvergenceResult

	DeleteTaskStub func(context.Context, lager.Logger, string) (*models.Task, error)

	DesireTaskStub func(context.Context, lager.Logger, *models.TaskDefinition, string, string) (*models.Task, error)

	FailTaskStub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error)

	RejectTaskStub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error)

	ResolvingTaskStub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, error)

	StartTaskStub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, bool, error)

	TaskByGuidStub func(context.Context, lager.Logger, string) (*models.Task, error)

	TasksStub func(context.Context, lager.Logger, models.TaskFilter) ([]*models.Task, error)
	// contains filtered or unexported fields
}

func (*FakeTaskDB) CancelTask

func (fake *FakeTaskDB) CancelTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, string, error)

func (*FakeTaskDB) CancelTaskArgsForCall

func (fake *FakeTaskDB) CancelTaskArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeTaskDB) CancelTaskCallCount

func (fake *FakeTaskDB) CancelTaskCallCount() int

func (*FakeTaskDB) CancelTaskCalls

func (fake *FakeTaskDB) CancelTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, string, error))

func (*FakeTaskDB) CancelTaskReturns

func (fake *FakeTaskDB) CancelTaskReturns(result1 *models.Task, result2 *models.Task, result3 string, result4 error)

func (*FakeTaskDB) CancelTaskReturnsOnCall

func (fake *FakeTaskDB) CancelTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 string, result4 error)

func (*FakeTaskDB) CompleteTask

func (fake *FakeTaskDB) CompleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, arg5 bool, arg6 string, arg7 string) (*models.Task, *models.Task, error)

func (*FakeTaskDB) CompleteTaskArgsForCall

func (fake *FakeTaskDB) CompleteTaskArgsForCall(i int) (context.Context, lager.Logger, string, string, bool, string, string)

func (*FakeTaskDB) CompleteTaskCallCount

func (fake *FakeTaskDB) CompleteTaskCallCount() int

func (*FakeTaskDB) CompleteTaskCalls

func (fake *FakeTaskDB) CompleteTaskCalls(stub func(context.Context, lager.Logger, string, string, bool, string, string) (*models.Task, *models.Task, error))

func (*FakeTaskDB) CompleteTaskReturns

func (fake *FakeTaskDB) CompleteTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) CompleteTaskReturnsOnCall

func (fake *FakeTaskDB) CompleteTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) ConvergeTasks

func (fake *FakeTaskDB) ConvergeTasks(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet, arg4 time.Duration, arg5 time.Duration, arg6 time.Duration) db.TaskConvergenceResult

func (*FakeTaskDB) ConvergeTasksArgsForCall

func (fake *FakeTaskDB) ConvergeTasksArgsForCall(i int) (context.Context, lager.Logger, models.CellSet, time.Duration, time.Duration, time.Duration)

func (*FakeTaskDB) ConvergeTasksCallCount

func (fake *FakeTaskDB) ConvergeTasksCallCount() int

func (*FakeTaskDB) ConvergeTasksCalls

func (*FakeTaskDB) ConvergeTasksReturns

func (fake *FakeTaskDB) ConvergeTasksReturns(result1 db.TaskConvergenceResult)

func (*FakeTaskDB) ConvergeTasksReturnsOnCall

func (fake *FakeTaskDB) ConvergeTasksReturnsOnCall(i int, result1 db.TaskConvergenceResult)

func (*FakeTaskDB) DeleteTask

func (fake *FakeTaskDB) DeleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)

func (*FakeTaskDB) DeleteTaskArgsForCall

func (fake *FakeTaskDB) DeleteTaskArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeTaskDB) DeleteTaskCallCount

func (fake *FakeTaskDB) DeleteTaskCallCount() int

func (*FakeTaskDB) DeleteTaskCalls

func (fake *FakeTaskDB) DeleteTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))

func (*FakeTaskDB) DeleteTaskReturns

func (fake *FakeTaskDB) DeleteTaskReturns(result1 *models.Task, result2 error)

func (*FakeTaskDB) DeleteTaskReturnsOnCall

func (fake *FakeTaskDB) DeleteTaskReturnsOnCall(i int, result1 *models.Task, result2 error)

func (*FakeTaskDB) DesireTask

func (fake *FakeTaskDB) DesireTask(arg1 context.Context, arg2 lager.Logger, arg3 *models.TaskDefinition, arg4 string, arg5 string) (*models.Task, error)

func (*FakeTaskDB) DesireTaskArgsForCall

func (fake *FakeTaskDB) DesireTaskArgsForCall(i int) (context.Context, lager.Logger, *models.TaskDefinition, string, string)

func (*FakeTaskDB) DesireTaskCallCount

func (fake *FakeTaskDB) DesireTaskCallCount() int

func (*FakeTaskDB) DesireTaskCalls

func (fake *FakeTaskDB) DesireTaskCalls(stub func(context.Context, lager.Logger, *models.TaskDefinition, string, string) (*models.Task, error))

func (*FakeTaskDB) DesireTaskReturns

func (fake *FakeTaskDB) DesireTaskReturns(result1 *models.Task, result2 error)

func (*FakeTaskDB) DesireTaskReturnsOnCall

func (fake *FakeTaskDB) DesireTaskReturnsOnCall(i int, result1 *models.Task, result2 error)

func (*FakeTaskDB) FailTask

func (fake *FakeTaskDB) FailTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)

func (*FakeTaskDB) FailTaskArgsForCall

func (fake *FakeTaskDB) FailTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)

func (*FakeTaskDB) FailTaskCallCount

func (fake *FakeTaskDB) FailTaskCallCount() int

func (*FakeTaskDB) FailTaskCalls

func (fake *FakeTaskDB) FailTaskCalls(stub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error))

func (*FakeTaskDB) FailTaskReturns

func (fake *FakeTaskDB) FailTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) FailTaskReturnsOnCall

func (fake *FakeTaskDB) FailTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) Invocations

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

func (*FakeTaskDB) RejectTask

func (fake *FakeTaskDB) RejectTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)

func (*FakeTaskDB) RejectTaskArgsForCall

func (fake *FakeTaskDB) RejectTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)

func (*FakeTaskDB) RejectTaskCallCount

func (fake *FakeTaskDB) RejectTaskCallCount() int

func (*FakeTaskDB) RejectTaskCalls

func (fake *FakeTaskDB) RejectTaskCalls(stub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, error))

func (*FakeTaskDB) RejectTaskReturns

func (fake *FakeTaskDB) RejectTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) RejectTaskReturnsOnCall

func (fake *FakeTaskDB) RejectTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) ResolvingTask

func (fake *FakeTaskDB) ResolvingTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, error)

func (*FakeTaskDB) ResolvingTaskArgsForCall

func (fake *FakeTaskDB) ResolvingTaskArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeTaskDB) ResolvingTaskCallCount

func (fake *FakeTaskDB) ResolvingTaskCallCount() int

func (*FakeTaskDB) ResolvingTaskCalls

func (fake *FakeTaskDB) ResolvingTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, *models.Task, error))

func (*FakeTaskDB) ResolvingTaskReturns

func (fake *FakeTaskDB) ResolvingTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) ResolvingTaskReturnsOnCall

func (fake *FakeTaskDB) ResolvingTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)

func (*FakeTaskDB) StartTask

func (fake *FakeTaskDB) StartTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, bool, error)

func (*FakeTaskDB) StartTaskArgsForCall

func (fake *FakeTaskDB) StartTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)

func (*FakeTaskDB) StartTaskCallCount

func (fake *FakeTaskDB) StartTaskCallCount() int

func (*FakeTaskDB) StartTaskCalls

func (fake *FakeTaskDB) StartTaskCalls(stub func(context.Context, lager.Logger, string, string) (*models.Task, *models.Task, bool, error))

func (*FakeTaskDB) StartTaskReturns

func (fake *FakeTaskDB) StartTaskReturns(result1 *models.Task, result2 *models.Task, result3 bool, result4 error)

func (*FakeTaskDB) StartTaskReturnsOnCall

func (fake *FakeTaskDB) StartTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 bool, result4 error)

func (*FakeTaskDB) TaskByGuid

func (fake *FakeTaskDB) TaskByGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)

func (*FakeTaskDB) TaskByGuidArgsForCall

func (fake *FakeTaskDB) TaskByGuidArgsForCall(i int) (context.Context, lager.Logger, string)

func (*FakeTaskDB) TaskByGuidCallCount

func (fake *FakeTaskDB) TaskByGuidCallCount() int

func (*FakeTaskDB) TaskByGuidCalls

func (fake *FakeTaskDB) TaskByGuidCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))

func (*FakeTaskDB) TaskByGuidReturns

func (fake *FakeTaskDB) TaskByGuidReturns(result1 *models.Task, result2 error)

func (*FakeTaskDB) TaskByGuidReturnsOnCall

func (fake *FakeTaskDB) TaskByGuidReturnsOnCall(i int, result1 *models.Task, result2 error)

func (*FakeTaskDB) Tasks

func (fake *FakeTaskDB) Tasks(arg1 context.Context, arg2 lager.Logger, arg3 models.TaskFilter) ([]*models.Task, error)

func (*FakeTaskDB) TasksArgsForCall

func (fake *FakeTaskDB) TasksArgsForCall(i int) (context.Context, lager.Logger, models.TaskFilter)

func (*FakeTaskDB) TasksCallCount

func (fake *FakeTaskDB) TasksCallCount() int

func (*FakeTaskDB) TasksCalls

func (fake *FakeTaskDB) TasksCalls(stub func(context.Context, lager.Logger, models.TaskFilter) ([]*models.Task, error))

func (*FakeTaskDB) TasksReturns

func (fake *FakeTaskDB) TasksReturns(result1 []*models.Task, result2 error)

func (*FakeTaskDB) TasksReturnsOnCall

func (fake *FakeTaskDB) TasksReturnsOnCall(i int, result1 []*models.Task, result2 error)

type FakeVersionDB

type FakeVersionDB struct {
	SetVersionStub func(helpers.Tx, context.Context, lager.Logger, *models.Version) error

	VersionStub func(helpers.Tx, context.Context, lager.Logger) (*models.Version, error)
	// contains filtered or unexported fields
}

func (*FakeVersionDB) Invocations

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

func (*FakeVersionDB) SetVersion

func (fake *FakeVersionDB) SetVersion(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger, arg4 *models.Version) error

func (*FakeVersionDB) SetVersionArgsForCall

func (fake *FakeVersionDB) SetVersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger, *models.Version)

func (*FakeVersionDB) SetVersionCallCount

func (fake *FakeVersionDB) SetVersionCallCount() int

func (*FakeVersionDB) SetVersionCalls

func (fake *FakeVersionDB) SetVersionCalls(stub func(helpers.Tx, context.Context, lager.Logger, *models.Version) error)

func (*FakeVersionDB) SetVersionReturns

func (fake *FakeVersionDB) SetVersionReturns(result1 error)

func (*FakeVersionDB) SetVersionReturnsOnCall

func (fake *FakeVersionDB) SetVersionReturnsOnCall(i int, result1 error)

func (*FakeVersionDB) Version

func (fake *FakeVersionDB) Version(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger) (*models.Version, error)

func (*FakeVersionDB) VersionArgsForCall

func (fake *FakeVersionDB) VersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger)

func (*FakeVersionDB) VersionCallCount

func (fake *FakeVersionDB) VersionCallCount() int

func (*FakeVersionDB) VersionCalls

func (fake *FakeVersionDB) VersionCalls(stub func(helpers.Tx, context.Context, lager.Logger) (*models.Version, error))

func (*FakeVersionDB) VersionReturns

func (fake *FakeVersionDB) VersionReturns(result1 *models.Version, result2 error)

func (*FakeVersionDB) VersionReturnsOnCall

func (fake *FakeVersionDB) VersionReturnsOnCall(i int, result1 *models.Version, result2 error)

Jump to

Keyboard shortcuts

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