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 ¶
- type FakeActualLRPDB
- func (fake *FakeActualLRPDB) ActualLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.ActualLRPFilter) ([]*models.ActualLRP, error)
- func (fake *FakeActualLRPDB) ActualLRPsArgsForCall(i int) (context.Context, lager.Logger, models.ActualLRPFilter)
- func (fake *FakeActualLRPDB) ActualLRPsCallCount() int
- func (fake *FakeActualLRPDB) ActualLRPsCalls(...)
- func (fake *FakeActualLRPDB) ActualLRPsReturns(result1 []*models.ActualLRP, result2 error)
- func (fake *FakeActualLRPDB) ActualLRPsReturnsOnCall(i int, result1 []*models.ActualLRP, result2 error)
- func (fake *FakeActualLRPDB) ChangeActualLRPPresence(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeActualLRPDB) ChangeActualLRPPresenceArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, ...)
- func (fake *FakeActualLRPDB) ChangeActualLRPPresenceCallCount() int
- func (fake *FakeActualLRPDB) ChangeActualLRPPresenceCalls(...)
- func (fake *FakeActualLRPDB) ChangeActualLRPPresenceReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) ChangeActualLRPPresenceReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeActualLRPDB) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeActualLRPDB) ClaimActualLRPCallCount() int
- func (fake *FakeActualLRPDB) ClaimActualLRPCalls(...)
- func (fake *FakeActualLRPDB) ClaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) ClaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) CountActualLRPsByState(arg1 context.Context, arg2 lager.Logger) (int, int, int, int, int)
- func (fake *FakeActualLRPDB) CountActualLRPsByStateArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeActualLRPDB) CountActualLRPsByStateCallCount() int
- func (fake *FakeActualLRPDB) CountActualLRPsByStateCalls(stub func(context.Context, lager.Logger) (int, int, int, int, int))
- func (fake *FakeActualLRPDB) CountActualLRPsByStateReturns(result1 int, result2 int, result3 int, result4 int, result5 int)
- func (fake *FakeActualLRPDB) CountActualLRPsByStateReturnsOnCall(i int, result1 int, result2 int, result3 int, result4 int, result5 int)
- func (fake *FakeActualLRPDB) CountDesiredInstances(arg1 context.Context, arg2 lager.Logger) int
- func (fake *FakeActualLRPDB) CountDesiredInstancesArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeActualLRPDB) CountDesiredInstancesCallCount() int
- func (fake *FakeActualLRPDB) CountDesiredInstancesCalls(stub func(context.Context, lager.Logger) int)
- func (fake *FakeActualLRPDB) CountDesiredInstancesReturns(result1 int)
- func (fake *FakeActualLRPDB) CountDesiredInstancesReturnsOnCall(i int, result1 int)
- func (fake *FakeActualLRPDB) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, bool, error)
- func (fake *FakeActualLRPDB) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeActualLRPDB) CrashActualLRPCallCount() int
- func (fake *FakeActualLRPDB) CrashActualLRPCalls(...)
- func (fake *FakeActualLRPDB) CrashActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, ...)
- func (fake *FakeActualLRPDB) CrashActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, ...)
- func (fake *FakeActualLRPDB) CreateUnclaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)
- func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPCallCount() int
- func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPCalls(...)
- func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeActualLRPDB) CreateUnclaimedActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- func (fake *FakeActualLRPDB) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeActualLRPDB) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)
- func (fake *FakeActualLRPDB) FailActualLRPCallCount() int
- func (fake *FakeActualLRPDB) FailActualLRPCalls(...)
- func (fake *FakeActualLRPDB) FailActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) FailActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) Invocations() map[string][][]interface{}
- func (fake *FakeActualLRPDB) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) error
- func (fake *FakeActualLRPDB) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeActualLRPDB) RemoveActualLRPCallCount() int
- func (fake *FakeActualLRPDB) RemoveActualLRPCalls(...)
- func (fake *FakeActualLRPDB) RemoveActualLRPReturns(result1 error)
- func (fake *FakeActualLRPDB) RemoveActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeActualLRPDB) StartActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeActualLRPDB) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeActualLRPDB) StartActualLRPCallCount() int
- func (fake *FakeActualLRPDB) StartActualLRPCalls(...)
- func (fake *FakeActualLRPDB) StartActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) StartActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) UnclaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeActualLRPDB) UnclaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeActualLRPDB) UnclaimActualLRPCallCount() int
- func (fake *FakeActualLRPDB) UnclaimActualLRPCalls(...)
- func (fake *FakeActualLRPDB) UnclaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeActualLRPDB) UnclaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- type FakeDB
- func (fake *FakeDB) ActualLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.ActualLRPFilter) ([]*models.ActualLRP, error)
- func (fake *FakeDB) ActualLRPsArgsForCall(i int) (context.Context, lager.Logger, models.ActualLRPFilter)
- func (fake *FakeDB) ActualLRPsCallCount() int
- func (fake *FakeDB) ActualLRPsCalls(...)
- func (fake *FakeDB) ActualLRPsReturns(result1 []*models.ActualLRP, result2 error)
- func (fake *FakeDB) ActualLRPsReturnsOnCall(i int, result1 []*models.ActualLRP, result2 error)
- func (fake *FakeDB) CancelTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, string, error)
- func (fake *FakeDB) CancelTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) CancelTaskCallCount() int
- func (fake *FakeDB) CancelTaskCalls(...)
- func (fake *FakeDB) CancelTaskReturns(result1 *models.Task, result2 *models.Task, result3 string, result4 error)
- func (fake *FakeDB) CancelTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 string, ...)
- func (fake *FakeDB) ChangeActualLRPPresence(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeDB) ChangeActualLRPPresenceArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, ...)
- func (fake *FakeDB) ChangeActualLRPPresenceCallCount() int
- func (fake *FakeDB) ChangeActualLRPPresenceCalls(...)
- func (fake *FakeDB) ChangeActualLRPPresenceReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) ChangeActualLRPPresenceReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeDB) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeDB) ClaimActualLRPCallCount() int
- func (fake *FakeDB) ClaimActualLRPCalls(...)
- func (fake *FakeDB) ClaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) ClaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) CompleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, arg5 bool, ...) (*models.Task, *models.Task, error)
- func (fake *FakeDB) CompleteTaskArgsForCall(i int) (context.Context, lager.Logger, string, string, bool, string, string)
- func (fake *FakeDB) CompleteTaskCallCount() int
- func (fake *FakeDB) CompleteTaskCalls(...)
- func (fake *FakeDB) CompleteTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) CompleteTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) ConvergeLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet) db.ConvergenceResult
- func (fake *FakeDB) ConvergeLRPsArgsForCall(i int) (context.Context, lager.Logger, models.CellSet)
- func (fake *FakeDB) ConvergeLRPsCallCount() int
- func (fake *FakeDB) ConvergeLRPsCalls(stub func(context.Context, lager.Logger, models.CellSet) db.ConvergenceResult)
- func (fake *FakeDB) ConvergeLRPsReturns(result1 db.ConvergenceResult)
- func (fake *FakeDB) ConvergeLRPsReturnsOnCall(i int, result1 db.ConvergenceResult)
- func (fake *FakeDB) ConvergeTasks(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet, ...) db.TaskConvergenceResult
- func (fake *FakeDB) ConvergeTasksArgsForCall(i int) (context.Context, lager.Logger, models.CellSet, time.Duration, time.Duration, ...)
- func (fake *FakeDB) ConvergeTasksCallCount() int
- func (fake *FakeDB) ConvergeTasksCalls(...)
- func (fake *FakeDB) ConvergeTasksReturns(result1 db.TaskConvergenceResult)
- func (fake *FakeDB) ConvergeTasksReturnsOnCall(i int, result1 db.TaskConvergenceResult)
- func (fake *FakeDB) CountActualLRPsByState(arg1 context.Context, arg2 lager.Logger) (int, int, int, int, int)
- func (fake *FakeDB) CountActualLRPsByStateArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeDB) CountActualLRPsByStateCallCount() int
- func (fake *FakeDB) CountActualLRPsByStateCalls(stub func(context.Context, lager.Logger) (int, int, int, int, int))
- func (fake *FakeDB) CountActualLRPsByStateReturns(result1 int, result2 int, result3 int, result4 int, result5 int)
- func (fake *FakeDB) CountActualLRPsByStateReturnsOnCall(i int, result1 int, result2 int, result3 int, result4 int, result5 int)
- func (fake *FakeDB) CountDesiredInstances(arg1 context.Context, arg2 lager.Logger) int
- func (fake *FakeDB) CountDesiredInstancesArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeDB) CountDesiredInstancesCallCount() int
- func (fake *FakeDB) CountDesiredInstancesCalls(stub func(context.Context, lager.Logger) int)
- func (fake *FakeDB) CountDesiredInstancesReturns(result1 int)
- func (fake *FakeDB) CountDesiredInstancesReturnsOnCall(i int, result1 int)
- func (fake *FakeDB) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, bool, error)
- func (fake *FakeDB) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeDB) CrashActualLRPCallCount() int
- func (fake *FakeDB) CrashActualLRPCalls(...)
- func (fake *FakeDB) CrashActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, ...)
- func (fake *FakeDB) CrashActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, ...)
- func (fake *FakeDB) CreateUnclaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)
- func (fake *FakeDB) CreateUnclaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeDB) CreateUnclaimedActualLRPCallCount() int
- func (fake *FakeDB) CreateUnclaimedActualLRPCalls(...)
- func (fake *FakeDB) CreateUnclaimedActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeDB) CreateUnclaimedActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- func (fake *FakeDB) DeleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)
- func (fake *FakeDB) DeleteTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) DeleteTaskCallCount() int
- func (fake *FakeDB) DeleteTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))
- func (fake *FakeDB) DeleteTaskReturns(result1 *models.Task, result2 error)
- func (fake *FakeDB) DeleteTaskReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeDB) DesireLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.DesiredLRP) error
- func (fake *FakeDB) DesireLRPArgsForCall(i int) (context.Context, lager.Logger, *models.DesiredLRP)
- func (fake *FakeDB) DesireLRPCallCount() int
- func (fake *FakeDB) DesireLRPCalls(stub func(context.Context, lager.Logger, *models.DesiredLRP) error)
- func (fake *FakeDB) DesireLRPReturns(result1 error)
- func (fake *FakeDB) DesireLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) DesireTask(arg1 context.Context, arg2 lager.Logger, arg3 *models.TaskDefinition, ...) (*models.Task, error)
- func (fake *FakeDB) DesireTaskArgsForCall(i int) (context.Context, lager.Logger, *models.TaskDefinition, string, string)
- func (fake *FakeDB) DesireTaskCallCount() int
- func (fake *FakeDB) DesireTaskCalls(...)
- func (fake *FakeDB) DesireTaskReturns(result1 *models.Task, result2 error)
- func (fake *FakeDB) DesireTaskReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeDB) DesiredLRPByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRP, error)
- func (fake *FakeDB) DesiredLRPByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) DesiredLRPByProcessGuidCallCount() int
- func (fake *FakeDB) DesiredLRPByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error))
- func (fake *FakeDB) DesiredLRPByProcessGuidReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDB) DesiredLRPByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDB) DesiredLRPRoutingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)
- func (fake *FakeDB) DesiredLRPRoutingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeDB) DesiredLRPRoutingInfosCallCount() int
- func (fake *FakeDB) DesiredLRPRoutingInfosCalls(...)
- func (fake *FakeDB) DesiredLRPRoutingInfosReturns(result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDB) DesiredLRPRoutingInfosReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRPSchedulingInfo, error)
- func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidCallCount() int
- func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidCalls(...)
- func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidReturns(result1 *models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDB) DesiredLRPSchedulingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)
- func (fake *FakeDB) DesiredLRPSchedulingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeDB) DesiredLRPSchedulingInfosCallCount() int
- func (fake *FakeDB) DesiredLRPSchedulingInfosCalls(...)
- func (fake *FakeDB) DesiredLRPSchedulingInfosReturns(result1 []*models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDB) DesiredLRPSchedulingInfosReturnsOnCall(i int, result1 []*models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDB) DesiredLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)
- func (fake *FakeDB) DesiredLRPsArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeDB) DesiredLRPsCallCount() int
- func (fake *FakeDB) DesiredLRPsCalls(...)
- func (fake *FakeDB) DesiredLRPsReturns(result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDB) DesiredLRPsReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDB) EncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger) (string, error)
- func (fake *FakeDB) EncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeDB) EncryptionKeyLabelCallCount() int
- func (fake *FakeDB) EncryptionKeyLabelCalls(stub func(context.Context, lager.Logger) (string, error))
- func (fake *FakeDB) EncryptionKeyLabelReturns(result1 string, result2 error)
- func (fake *FakeDB) EncryptionKeyLabelReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeDB) EvacuateActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, error)
- func (fake *FakeDB) EvacuateActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeDB) EvacuateActualLRPCallCount() int
- func (fake *FakeDB) EvacuateActualLRPCalls(...)
- func (fake *FakeDB) EvacuateActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeDB) EvacuateActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- func (fake *FakeDB) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeDB) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)
- func (fake *FakeDB) FailActualLRPCallCount() int
- func (fake *FakeDB) FailActualLRPCalls(...)
- func (fake *FakeDB) FailActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) FailActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) FailTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)
- func (fake *FakeDB) FailTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeDB) FailTaskCallCount() int
- func (fake *FakeDB) FailTaskCalls(...)
- func (fake *FakeDB) FailTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) FailTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) FreshDomains(arg1 context.Context, arg2 lager.Logger) ([]string, error)
- func (fake *FakeDB) FreshDomainsArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeDB) FreshDomainsCallCount() int
- func (fake *FakeDB) FreshDomainsCalls(stub func(context.Context, lager.Logger) ([]string, error))
- func (fake *FakeDB) FreshDomainsReturns(result1 []string, result2 error)
- func (fake *FakeDB) FreshDomainsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeDB) Invocations() map[string][][]interface{}
- func (fake *FakeDB) PerformEncryption(arg1 context.Context, arg2 lager.Logger) error
- func (fake *FakeDB) PerformEncryptionArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeDB) PerformEncryptionCallCount() int
- func (fake *FakeDB) PerformEncryptionCalls(stub func(context.Context, lager.Logger) error)
- func (fake *FakeDB) PerformEncryptionReturns(result1 error)
- func (fake *FakeDB) PerformEncryptionReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) PromoteSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeDB) PromoteSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32)
- func (fake *FakeDB) PromoteSuspectActualLRPCallCount() int
- func (fake *FakeDB) PromoteSuspectActualLRPCalls(...)
- func (fake *FakeDB) PromoteSuspectActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, ...)
- func (fake *FakeDB) PromoteSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, ...)
- func (fake *FakeDB) RejectTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)
- func (fake *FakeDB) RejectTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeDB) RejectTaskCallCount() int
- func (fake *FakeDB) RejectTaskCalls(...)
- func (fake *FakeDB) RejectTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) RejectTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) error
- func (fake *FakeDB) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeDB) RemoveActualLRPCallCount() int
- func (fake *FakeDB) RemoveActualLRPCalls(...)
- func (fake *FakeDB) RemoveActualLRPReturns(result1 error)
- func (fake *FakeDB) RemoveActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) RemoveDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeDB) RemoveDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) RemoveDesiredLRPCallCount() int
- func (fake *FakeDB) RemoveDesiredLRPCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeDB) RemoveDesiredLRPReturns(result1 error)
- func (fake *FakeDB) RemoveDesiredLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) RemoveEvacuatingActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeDB) RemoveEvacuatingActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeDB) RemoveEvacuatingActualLRPCallCount() int
- func (fake *FakeDB) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeDB) RemoveEvacuatingActualLRPReturns(result1 error)
- func (fake *FakeDB) RemoveEvacuatingActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) RemoveSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)
- func (fake *FakeDB) RemoveSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeDB) RemoveSuspectActualLRPCallCount() int
- func (fake *FakeDB) RemoveSuspectActualLRPCalls(...)
- func (fake *FakeDB) RemoveSuspectActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeDB) RemoveSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- func (fake *FakeDB) ResolvingTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, error)
- func (fake *FakeDB) ResolvingTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) ResolvingTaskCallCount() int
- func (fake *FakeDB) ResolvingTaskCalls(...)
- func (fake *FakeDB) ResolvingTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) ResolvingTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeDB) SetEncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeDB) SetEncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) SetEncryptionKeyLabelCallCount() int
- func (fake *FakeDB) SetEncryptionKeyLabelCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeDB) SetEncryptionKeyLabelReturns(result1 error)
- func (fake *FakeDB) SetEncryptionKeyLabelReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) SetVersion(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger, arg4 *models.Version) error
- func (fake *FakeDB) SetVersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger, *models.Version)
- func (fake *FakeDB) SetVersionCallCount() int
- func (fake *FakeDB) SetVersionCalls(stub func(helpers.Tx, context.Context, lager.Logger, *models.Version) error)
- func (fake *FakeDB) SetVersionReturns(result1 error)
- func (fake *FakeDB) SetVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) StartActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeDB) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeDB) StartActualLRPCallCount() int
- func (fake *FakeDB) StartActualLRPCalls(...)
- func (fake *FakeDB) StartActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) StartActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) StartTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, bool, error)
- func (fake *FakeDB) StartTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeDB) StartTaskCallCount() int
- func (fake *FakeDB) StartTaskCalls(...)
- func (fake *FakeDB) StartTaskReturns(result1 *models.Task, result2 *models.Task, result3 bool, result4 error)
- func (fake *FakeDB) StartTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 bool, result4 error)
- func (fake *FakeDB) TaskByGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)
- func (fake *FakeDB) TaskByGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDB) TaskByGuidCallCount() int
- func (fake *FakeDB) TaskByGuidCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))
- func (fake *FakeDB) TaskByGuidReturns(result1 *models.Task, result2 error)
- func (fake *FakeDB) TaskByGuidReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeDB) Tasks(arg1 context.Context, arg2 lager.Logger, arg3 models.TaskFilter) ([]*models.Task, error)
- func (fake *FakeDB) TasksArgsForCall(i int) (context.Context, lager.Logger, models.TaskFilter)
- func (fake *FakeDB) TasksCallCount() int
- func (fake *FakeDB) TasksCalls(...)
- func (fake *FakeDB) TasksReturns(result1 []*models.Task, result2 error)
- func (fake *FakeDB) TasksReturnsOnCall(i int, result1 []*models.Task, result2 error)
- func (fake *FakeDB) UnclaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeDB) UnclaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeDB) UnclaimActualLRPCallCount() int
- func (fake *FakeDB) UnclaimActualLRPCalls(...)
- func (fake *FakeDB) UnclaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) UnclaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeDB) UpdateDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, ...) (*models.DesiredLRP, error)
- func (fake *FakeDB) UpdateDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string, *models.DesiredLRPUpdate)
- func (fake *FakeDB) UpdateDesiredLRPCallCount() int
- func (fake *FakeDB) UpdateDesiredLRPCalls(...)
- func (fake *FakeDB) UpdateDesiredLRPReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDB) UpdateDesiredLRPReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDB) UpsertDomain(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 uint32) error
- func (fake *FakeDB) UpsertDomainArgsForCall(i int) (context.Context, lager.Logger, string, uint32)
- func (fake *FakeDB) UpsertDomainCallCount() int
- func (fake *FakeDB) UpsertDomainCalls(stub func(context.Context, lager.Logger, string, uint32) error)
- func (fake *FakeDB) UpsertDomainReturns(result1 error)
- func (fake *FakeDB) UpsertDomainReturnsOnCall(i int, result1 error)
- func (fake *FakeDB) Version(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger) (*models.Version, error)
- func (fake *FakeDB) VersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger)
- func (fake *FakeDB) VersionCallCount() int
- func (fake *FakeDB) VersionCalls(stub func(helpers.Tx, context.Context, lager.Logger) (*models.Version, error))
- func (fake *FakeDB) VersionReturns(result1 *models.Version, result2 error)
- func (fake *FakeDB) VersionReturnsOnCall(i int, result1 *models.Version, result2 error)
- type FakeDesiredLRPDB
- func (fake *FakeDesiredLRPDB) DesireLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.DesiredLRP) error
- func (fake *FakeDesiredLRPDB) DesireLRPArgsForCall(i int) (context.Context, lager.Logger, *models.DesiredLRP)
- func (fake *FakeDesiredLRPDB) DesireLRPCallCount() int
- func (fake *FakeDesiredLRPDB) DesireLRPCalls(stub func(context.Context, lager.Logger, *models.DesiredLRP) error)
- func (fake *FakeDesiredLRPDB) DesireLRPReturns(result1 error)
- func (fake *FakeDesiredLRPDB) DesireLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRP, error)
- func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidCallCount() int
- func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error))
- func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)
- func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosCallCount() int
- func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosCalls(...)
- func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosReturns(result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPRoutingInfosReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRPSchedulingInfo, error)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount() int
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls(...)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturns(result1 *models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosCallCount() int
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosCalls(...)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosReturns(result1 []*models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPSchedulingInfosReturnsOnCall(i int, result1 []*models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)
- func (fake *FakeDesiredLRPDB) DesiredLRPsArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeDesiredLRPDB) DesiredLRPsCallCount() int
- func (fake *FakeDesiredLRPDB) DesiredLRPsCalls(...)
- func (fake *FakeDesiredLRPDB) DesiredLRPsReturns(result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) DesiredLRPsReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) Invocations() map[string][][]interface{}
- func (fake *FakeDesiredLRPDB) RemoveDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeDesiredLRPDB) RemoveDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeDesiredLRPDB) RemoveDesiredLRPCallCount() int
- func (fake *FakeDesiredLRPDB) RemoveDesiredLRPCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeDesiredLRPDB) RemoveDesiredLRPReturns(result1 error)
- func (fake *FakeDesiredLRPDB) RemoveDesiredLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeDesiredLRPDB) UpdateDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, ...) (*models.DesiredLRP, error)
- func (fake *FakeDesiredLRPDB) UpdateDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string, *models.DesiredLRPUpdate)
- func (fake *FakeDesiredLRPDB) UpdateDesiredLRPCallCount() int
- func (fake *FakeDesiredLRPDB) UpdateDesiredLRPCalls(...)
- func (fake *FakeDesiredLRPDB) UpdateDesiredLRPReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeDesiredLRPDB) UpdateDesiredLRPReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)
- type FakeDomainDB
- func (fake *FakeDomainDB) FreshDomains(arg1 context.Context, arg2 lager.Logger) ([]string, error)
- func (fake *FakeDomainDB) FreshDomainsArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeDomainDB) FreshDomainsCallCount() int
- func (fake *FakeDomainDB) FreshDomainsCalls(stub func(context.Context, lager.Logger) ([]string, error))
- func (fake *FakeDomainDB) FreshDomainsReturns(result1 []string, result2 error)
- func (fake *FakeDomainDB) FreshDomainsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeDomainDB) Invocations() map[string][][]interface{}
- func (fake *FakeDomainDB) UpsertDomain(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 uint32) error
- func (fake *FakeDomainDB) UpsertDomainArgsForCall(i int) (context.Context, lager.Logger, string, uint32)
- func (fake *FakeDomainDB) UpsertDomainCallCount() int
- func (fake *FakeDomainDB) UpsertDomainCalls(stub func(context.Context, lager.Logger, string, uint32) error)
- func (fake *FakeDomainDB) UpsertDomainReturns(result1 error)
- func (fake *FakeDomainDB) UpsertDomainReturnsOnCall(i int, result1 error)
- type FakeEncryptionDB
- func (fake *FakeEncryptionDB) EncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger) (string, error)
- func (fake *FakeEncryptionDB) EncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeEncryptionDB) EncryptionKeyLabelCallCount() int
- func (fake *FakeEncryptionDB) EncryptionKeyLabelCalls(stub func(context.Context, lager.Logger) (string, error))
- func (fake *FakeEncryptionDB) EncryptionKeyLabelReturns(result1 string, result2 error)
- func (fake *FakeEncryptionDB) EncryptionKeyLabelReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeEncryptionDB) Invocations() map[string][][]interface{}
- func (fake *FakeEncryptionDB) PerformEncryption(arg1 context.Context, arg2 lager.Logger) error
- func (fake *FakeEncryptionDB) PerformEncryptionArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeEncryptionDB) PerformEncryptionCallCount() int
- func (fake *FakeEncryptionDB) PerformEncryptionCalls(stub func(context.Context, lager.Logger) error)
- func (fake *FakeEncryptionDB) PerformEncryptionReturns(result1 error)
- func (fake *FakeEncryptionDB) PerformEncryptionReturnsOnCall(i int, result1 error)
- func (fake *FakeEncryptionDB) SetEncryptionKeyLabel(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeEncryptionDB) SetEncryptionKeyLabelArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeEncryptionDB) SetEncryptionKeyLabelCallCount() int
- func (fake *FakeEncryptionDB) SetEncryptionKeyLabelCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeEncryptionDB) SetEncryptionKeyLabelReturns(result1 error)
- func (fake *FakeEncryptionDB) SetEncryptionKeyLabelReturnsOnCall(i int, result1 error)
- type FakeEvacuationDB
- func (fake *FakeEvacuationDB) EvacuateActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, error)
- func (fake *FakeEvacuationDB) EvacuateActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationDB) EvacuateActualLRPCallCount() int
- func (fake *FakeEvacuationDB) EvacuateActualLRPCalls(...)
- func (fake *FakeEvacuationDB) EvacuateActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeEvacuationDB) EvacuateActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- func (fake *FakeEvacuationDB) Invocations() map[string][][]interface{}
- func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPCallCount() int
- func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPReturns(result1 error)
- func (fake *FakeEvacuationDB) RemoveEvacuatingActualLRPReturnsOnCall(i int, result1 error)
- type FakeLRPDB
- func (fake *FakeLRPDB) ActualLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.ActualLRPFilter) ([]*models.ActualLRP, error)
- func (fake *FakeLRPDB) ActualLRPsArgsForCall(i int) (context.Context, lager.Logger, models.ActualLRPFilter)
- func (fake *FakeLRPDB) ActualLRPsCallCount() int
- func (fake *FakeLRPDB) ActualLRPsCalls(...)
- func (fake *FakeLRPDB) ActualLRPsReturns(result1 []*models.ActualLRP, result2 error)
- func (fake *FakeLRPDB) ActualLRPsReturnsOnCall(i int, result1 []*models.ActualLRP, result2 error)
- func (fake *FakeLRPDB) ChangeActualLRPPresence(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeLRPDB) ChangeActualLRPPresenceArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, ...)
- func (fake *FakeLRPDB) ChangeActualLRPPresenceCallCount() int
- func (fake *FakeLRPDB) ChangeActualLRPPresenceCalls(...)
- func (fake *FakeLRPDB) ChangeActualLRPPresenceReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) ChangeActualLRPPresenceReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeLRPDB) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeLRPDB) ClaimActualLRPCallCount() int
- func (fake *FakeLRPDB) ClaimActualLRPCalls(...)
- func (fake *FakeLRPDB) ClaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) ClaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) ConvergeLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet) db.ConvergenceResult
- func (fake *FakeLRPDB) ConvergeLRPsArgsForCall(i int) (context.Context, lager.Logger, models.CellSet)
- func (fake *FakeLRPDB) ConvergeLRPsCallCount() int
- func (fake *FakeLRPDB) ConvergeLRPsCalls(stub func(context.Context, lager.Logger, models.CellSet) db.ConvergenceResult)
- func (fake *FakeLRPDB) ConvergeLRPsReturns(result1 db.ConvergenceResult)
- func (fake *FakeLRPDB) ConvergeLRPsReturnsOnCall(i int, result1 db.ConvergenceResult)
- func (fake *FakeLRPDB) CountActualLRPsByState(arg1 context.Context, arg2 lager.Logger) (int, int, int, int, int)
- func (fake *FakeLRPDB) CountActualLRPsByStateArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeLRPDB) CountActualLRPsByStateCallCount() int
- func (fake *FakeLRPDB) CountActualLRPsByStateCalls(stub func(context.Context, lager.Logger) (int, int, int, int, int))
- func (fake *FakeLRPDB) CountActualLRPsByStateReturns(result1 int, result2 int, result3 int, result4 int, result5 int)
- func (fake *FakeLRPDB) CountActualLRPsByStateReturnsOnCall(i int, result1 int, result2 int, result3 int, result4 int, result5 int)
- func (fake *FakeLRPDB) CountDesiredInstances(arg1 context.Context, arg2 lager.Logger) int
- func (fake *FakeLRPDB) CountDesiredInstancesArgsForCall(i int) (context.Context, lager.Logger)
- func (fake *FakeLRPDB) CountDesiredInstancesCallCount() int
- func (fake *FakeLRPDB) CountDesiredInstancesCalls(stub func(context.Context, lager.Logger) int)
- func (fake *FakeLRPDB) CountDesiredInstancesReturns(result1 int)
- func (fake *FakeLRPDB) CountDesiredInstancesReturnsOnCall(i int, result1 int)
- func (fake *FakeLRPDB) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, bool, error)
- func (fake *FakeLRPDB) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeLRPDB) CrashActualLRPCallCount() int
- func (fake *FakeLRPDB) CrashActualLRPCalls(...)
- func (fake *FakeLRPDB) CrashActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, ...)
- func (fake *FakeLRPDB) CrashActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 bool, ...)
- func (fake *FakeLRPDB) CreateUnclaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)
- func (fake *FakeLRPDB) CreateUnclaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeLRPDB) CreateUnclaimedActualLRPCallCount() int
- func (fake *FakeLRPDB) CreateUnclaimedActualLRPCalls(...)
- func (fake *FakeLRPDB) CreateUnclaimedActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeLRPDB) CreateUnclaimedActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- func (fake *FakeLRPDB) DesireLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.DesiredLRP) error
- func (fake *FakeLRPDB) DesireLRPArgsForCall(i int) (context.Context, lager.Logger, *models.DesiredLRP)
- func (fake *FakeLRPDB) DesireLRPCallCount() int
- func (fake *FakeLRPDB) DesireLRPCalls(stub func(context.Context, lager.Logger, *models.DesiredLRP) error)
- func (fake *FakeLRPDB) DesireLRPReturns(result1 error)
- func (fake *FakeLRPDB) DesireLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeLRPDB) DesiredLRPByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRP, error)
- func (fake *FakeLRPDB) DesiredLRPByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeLRPDB) DesiredLRPByProcessGuidCallCount() int
- func (fake *FakeLRPDB) DesiredLRPByProcessGuidCalls(stub func(context.Context, lager.Logger, string) (*models.DesiredLRP, error))
- func (fake *FakeLRPDB) DesiredLRPByProcessGuidReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) DesiredLRPByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) DesiredLRPRoutingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)
- func (fake *FakeLRPDB) DesiredLRPRoutingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeLRPDB) DesiredLRPRoutingInfosCallCount() int
- func (fake *FakeLRPDB) DesiredLRPRoutingInfosCalls(...)
- func (fake *FakeLRPDB) DesiredLRPRoutingInfosReturns(result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) DesiredLRPRoutingInfosReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.DesiredLRPSchedulingInfo, error)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount() int
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls(...)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturns(result1 *models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidReturnsOnCall(i int, result1 *models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfos(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRPSchedulingInfo, error)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfosArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfosCallCount() int
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfosCalls(...)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfosReturns(result1 []*models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeLRPDB) DesiredLRPSchedulingInfosReturnsOnCall(i int, result1 []*models.DesiredLRPSchedulingInfo, result2 error)
- func (fake *FakeLRPDB) DesiredLRPs(arg1 context.Context, arg2 lager.Logger, arg3 models.DesiredLRPFilter) ([]*models.DesiredLRP, error)
- func (fake *FakeLRPDB) DesiredLRPsArgsForCall(i int) (context.Context, lager.Logger, models.DesiredLRPFilter)
- func (fake *FakeLRPDB) DesiredLRPsCallCount() int
- func (fake *FakeLRPDB) DesiredLRPsCalls(...)
- func (fake *FakeLRPDB) DesiredLRPsReturns(result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) DesiredLRPsReturnsOnCall(i int, result1 []*models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeLRPDB) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)
- func (fake *FakeLRPDB) FailActualLRPCallCount() int
- func (fake *FakeLRPDB) FailActualLRPCalls(...)
- func (fake *FakeLRPDB) FailActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) FailActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) Invocations() map[string][][]interface{}
- func (fake *FakeLRPDB) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) error
- func (fake *FakeLRPDB) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeLRPDB) RemoveActualLRPCallCount() int
- func (fake *FakeLRPDB) RemoveActualLRPCalls(...)
- func (fake *FakeLRPDB) RemoveActualLRPReturns(result1 error)
- func (fake *FakeLRPDB) RemoveActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeLRPDB) RemoveDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeLRPDB) RemoveDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeLRPDB) RemoveDesiredLRPCallCount() int
- func (fake *FakeLRPDB) RemoveDesiredLRPCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeLRPDB) RemoveDesiredLRPReturns(result1 error)
- func (fake *FakeLRPDB) RemoveDesiredLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeLRPDB) StartActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeLRPDB) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeLRPDB) StartActualLRPCallCount() int
- func (fake *FakeLRPDB) StartActualLRPCalls(...)
- func (fake *FakeLRPDB) StartActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) StartActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) UnclaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeLRPDB) UnclaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeLRPDB) UnclaimActualLRPCallCount() int
- func (fake *FakeLRPDB) UnclaimActualLRPCalls(...)
- func (fake *FakeLRPDB) UnclaimActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) UnclaimActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, result3 error)
- func (fake *FakeLRPDB) UpdateDesiredLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, ...) (*models.DesiredLRP, error)
- func (fake *FakeLRPDB) UpdateDesiredLRPArgsForCall(i int) (context.Context, lager.Logger, string, *models.DesiredLRPUpdate)
- func (fake *FakeLRPDB) UpdateDesiredLRPCallCount() int
- func (fake *FakeLRPDB) UpdateDesiredLRPCalls(...)
- func (fake *FakeLRPDB) UpdateDesiredLRPReturns(result1 *models.DesiredLRP, result2 error)
- func (fake *FakeLRPDB) UpdateDesiredLRPReturnsOnCall(i int, result1 *models.DesiredLRP, result2 error)
- type FakeSuspectDB
- func (fake *FakeSuspectDB) Invocations() map[string][][]interface{}
- func (fake *FakeSuspectDB) PromoteSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32) (*models.ActualLRP, *models.ActualLRP, *models.ActualLRP, error)
- func (fake *FakeSuspectDB) PromoteSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32)
- func (fake *FakeSuspectDB) PromoteSuspectActualLRPCallCount() int
- func (fake *FakeSuspectDB) PromoteSuspectActualLRPCalls(...)
- func (fake *FakeSuspectDB) PromoteSuspectActualLRPReturns(result1 *models.ActualLRP, result2 *models.ActualLRP, ...)
- func (fake *FakeSuspectDB) PromoteSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 *models.ActualLRP, ...)
- func (fake *FakeSuspectDB) RemoveSuspectActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) (*models.ActualLRP, error)
- func (fake *FakeSuspectDB) RemoveSuspectActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeSuspectDB) RemoveSuspectActualLRPCallCount() int
- func (fake *FakeSuspectDB) RemoveSuspectActualLRPCalls(...)
- func (fake *FakeSuspectDB) RemoveSuspectActualLRPReturns(result1 *models.ActualLRP, result2 error)
- func (fake *FakeSuspectDB) RemoveSuspectActualLRPReturnsOnCall(i int, result1 *models.ActualLRP, result2 error)
- type FakeTaskDB
- func (fake *FakeTaskDB) CancelTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, string, error)
- func (fake *FakeTaskDB) CancelTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskDB) CancelTaskCallCount() int
- func (fake *FakeTaskDB) CancelTaskCalls(...)
- func (fake *FakeTaskDB) CancelTaskReturns(result1 *models.Task, result2 *models.Task, result3 string, result4 error)
- func (fake *FakeTaskDB) CancelTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 string, ...)
- func (fake *FakeTaskDB) CompleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, arg5 bool, ...) (*models.Task, *models.Task, error)
- func (fake *FakeTaskDB) CompleteTaskArgsForCall(i int) (context.Context, lager.Logger, string, string, bool, string, string)
- func (fake *FakeTaskDB) CompleteTaskCallCount() int
- func (fake *FakeTaskDB) CompleteTaskCalls(...)
- func (fake *FakeTaskDB) CompleteTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) CompleteTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) ConvergeTasks(arg1 context.Context, arg2 lager.Logger, arg3 models.CellSet, ...) db.TaskConvergenceResult
- func (fake *FakeTaskDB) ConvergeTasksArgsForCall(i int) (context.Context, lager.Logger, models.CellSet, time.Duration, time.Duration, ...)
- func (fake *FakeTaskDB) ConvergeTasksCallCount() int
- func (fake *FakeTaskDB) ConvergeTasksCalls(...)
- func (fake *FakeTaskDB) ConvergeTasksReturns(result1 db.TaskConvergenceResult)
- func (fake *FakeTaskDB) ConvergeTasksReturnsOnCall(i int, result1 db.TaskConvergenceResult)
- func (fake *FakeTaskDB) DeleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)
- func (fake *FakeTaskDB) DeleteTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskDB) DeleteTaskCallCount() int
- func (fake *FakeTaskDB) DeleteTaskCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))
- func (fake *FakeTaskDB) DeleteTaskReturns(result1 *models.Task, result2 error)
- func (fake *FakeTaskDB) DeleteTaskReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeTaskDB) DesireTask(arg1 context.Context, arg2 lager.Logger, arg3 *models.TaskDefinition, ...) (*models.Task, error)
- func (fake *FakeTaskDB) DesireTaskArgsForCall(i int) (context.Context, lager.Logger, *models.TaskDefinition, string, string)
- func (fake *FakeTaskDB) DesireTaskCallCount() int
- func (fake *FakeTaskDB) DesireTaskCalls(...)
- func (fake *FakeTaskDB) DesireTaskReturns(result1 *models.Task, result2 error)
- func (fake *FakeTaskDB) DesireTaskReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeTaskDB) FailTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)
- func (fake *FakeTaskDB) FailTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskDB) FailTaskCallCount() int
- func (fake *FakeTaskDB) FailTaskCalls(...)
- func (fake *FakeTaskDB) FailTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) FailTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) Invocations() map[string][][]interface{}
- func (fake *FakeTaskDB) RejectTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, error)
- func (fake *FakeTaskDB) RejectTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskDB) RejectTaskCallCount() int
- func (fake *FakeTaskDB) RejectTaskCalls(...)
- func (fake *FakeTaskDB) RejectTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) RejectTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) ResolvingTask(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, *models.Task, error)
- func (fake *FakeTaskDB) ResolvingTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskDB) ResolvingTaskCallCount() int
- func (fake *FakeTaskDB) ResolvingTaskCalls(...)
- func (fake *FakeTaskDB) ResolvingTaskReturns(result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) ResolvingTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 error)
- func (fake *FakeTaskDB) StartTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (*models.Task, *models.Task, bool, error)
- func (fake *FakeTaskDB) StartTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskDB) StartTaskCallCount() int
- func (fake *FakeTaskDB) StartTaskCalls(...)
- func (fake *FakeTaskDB) StartTaskReturns(result1 *models.Task, result2 *models.Task, result3 bool, result4 error)
- func (fake *FakeTaskDB) StartTaskReturnsOnCall(i int, result1 *models.Task, result2 *models.Task, result3 bool, result4 error)
- func (fake *FakeTaskDB) TaskByGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)
- func (fake *FakeTaskDB) TaskByGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskDB) TaskByGuidCallCount() int
- func (fake *FakeTaskDB) TaskByGuidCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))
- func (fake *FakeTaskDB) TaskByGuidReturns(result1 *models.Task, result2 error)
- func (fake *FakeTaskDB) TaskByGuidReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeTaskDB) Tasks(arg1 context.Context, arg2 lager.Logger, arg3 models.TaskFilter) ([]*models.Task, error)
- func (fake *FakeTaskDB) TasksArgsForCall(i int) (context.Context, lager.Logger, models.TaskFilter)
- func (fake *FakeTaskDB) TasksCallCount() int
- func (fake *FakeTaskDB) TasksCalls(...)
- func (fake *FakeTaskDB) TasksReturns(result1 []*models.Task, result2 error)
- func (fake *FakeTaskDB) TasksReturnsOnCall(i int, result1 []*models.Task, result2 error)
- type FakeVersionDB
- func (fake *FakeVersionDB) Invocations() map[string][][]interface{}
- func (fake *FakeVersionDB) SetVersion(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger, arg4 *models.Version) error
- func (fake *FakeVersionDB) SetVersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger, *models.Version)
- func (fake *FakeVersionDB) SetVersionCallCount() int
- func (fake *FakeVersionDB) SetVersionCalls(stub func(helpers.Tx, context.Context, lager.Logger, *models.Version) error)
- func (fake *FakeVersionDB) SetVersionReturns(result1 error)
- func (fake *FakeVersionDB) SetVersionReturnsOnCall(i int, result1 error)
- func (fake *FakeVersionDB) Version(arg1 helpers.Tx, arg2 context.Context, arg3 lager.Logger) (*models.Version, error)
- func (fake *FakeVersionDB) VersionArgsForCall(i int) (helpers.Tx, context.Context, lager.Logger)
- func (fake *FakeVersionDB) VersionCallCount() int
- func (fake *FakeVersionDB) VersionCalls(stub func(helpers.Tx, context.Context, lager.Logger) (*models.Version, error))
- func (fake *FakeVersionDB) VersionReturns(result1 *models.Version, result2 error)
- func (fake *FakeVersionDB) VersionReturnsOnCall(i int, result1 *models.Version, result2 error)
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 (fake *FakeActualLRPDB) ChangeActualLRPPresence(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 models.ActualLRP_Presence, arg5 models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error)
func (*FakeActualLRPDB) ChangeActualLRPPresenceArgsForCall ¶
func (fake *FakeActualLRPDB) ChangeActualLRPPresenceArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence)
func (*FakeActualLRPDB) ChangeActualLRPPresenceCallCount ¶
func (fake *FakeActualLRPDB) ChangeActualLRPPresenceCallCount() int
func (*FakeActualLRPDB) ChangeActualLRPPresenceCalls ¶
func (fake *FakeActualLRPDB) ChangeActualLRPPresenceCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence) (*models.ActualLRP, *models.ActualLRP, error))
func (*FakeActualLRPDB) ChangeActualLRPPresenceReturns ¶
func (*FakeActualLRPDB) ChangeActualLRPPresenceReturnsOnCall ¶
func (*FakeActualLRPDB) ClaimActualLRP ¶
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 (*FakeActualLRPDB) ClaimActualLRPReturnsOnCall ¶
func (*FakeActualLRPDB) CountActualLRPsByState ¶
func (*FakeActualLRPDB) CountActualLRPsByStateArgsForCall ¶
func (*FakeActualLRPDB) CountActualLRPsByStateCallCount ¶
func (fake *FakeActualLRPDB) CountActualLRPsByStateCallCount() int
func (*FakeActualLRPDB) CountActualLRPsByStateCalls ¶
func (*FakeActualLRPDB) CountActualLRPsByStateReturns ¶
func (*FakeActualLRPDB) CountActualLRPsByStateReturnsOnCall ¶
func (*FakeActualLRPDB) CountDesiredInstances ¶
func (*FakeActualLRPDB) CountDesiredInstancesArgsForCall ¶
func (*FakeActualLRPDB) CountDesiredInstancesCallCount ¶
func (fake *FakeActualLRPDB) CountDesiredInstancesCallCount() int
func (*FakeActualLRPDB) CountDesiredInstancesCalls ¶
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 (*FakeActualLRPDB) CrashActualLRPReturnsOnCall ¶
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 (*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 (*FakeActualLRPDB) FailActualLRPReturns ¶
func (*FakeActualLRPDB) FailActualLRPReturnsOnCall ¶
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 (fake *FakeActualLRPDB) StartActualLRP(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, *models.ActualLRP, error)
func (*FakeActualLRPDB) StartActualLRPArgsForCall ¶
func (fake *FakeActualLRPDB) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string)
func (*FakeActualLRPDB) StartActualLRPCallCount ¶
func (fake *FakeActualLRPDB) StartActualLRPCallCount() int
func (*FakeActualLRPDB) StartActualLRPCalls ¶
func (fake *FakeActualLRPDB) StartActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, *models.ActualLRP, error))
func (*FakeActualLRPDB) StartActualLRPReturns ¶
func (*FakeActualLRPDB) StartActualLRPReturnsOnCall ¶
func (*FakeActualLRPDB) UnclaimActualLRP ¶
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 (*FakeActualLRPDB) UnclaimActualLRPReturns ¶
func (*FakeActualLRPDB) UnclaimActualLRPReturnsOnCall ¶
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 (*FakeDB) ActualLRPsArgsForCall ¶
func (*FakeDB) ActualLRPsCallCount ¶
func (*FakeDB) ActualLRPsCalls ¶
func (*FakeDB) ActualLRPsReturns ¶
func (*FakeDB) ActualLRPsReturnsOnCall ¶
func (*FakeDB) CancelTask ¶
func (*FakeDB) CancelTaskArgsForCall ¶
func (*FakeDB) CancelTaskCallCount ¶
func (*FakeDB) CancelTaskCalls ¶
func (*FakeDB) CancelTaskReturns ¶
func (*FakeDB) CancelTaskReturnsOnCall ¶
func (*FakeDB) ChangeActualLRPPresence ¶
func (*FakeDB) ChangeActualLRPPresenceArgsForCall ¶
func (fake *FakeDB) ChangeActualLRPPresenceArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence)
func (*FakeDB) ChangeActualLRPPresenceCallCount ¶
func (*FakeDB) ChangeActualLRPPresenceCalls ¶
func (*FakeDB) ChangeActualLRPPresenceReturns ¶
func (*FakeDB) ChangeActualLRPPresenceReturnsOnCall ¶
func (*FakeDB) ClaimActualLRP ¶
func (*FakeDB) ClaimActualLRPArgsForCall ¶
func (*FakeDB) ClaimActualLRPCallCount ¶
func (*FakeDB) ClaimActualLRPCalls ¶
func (*FakeDB) ClaimActualLRPReturns ¶
func (*FakeDB) ClaimActualLRPReturnsOnCall ¶
func (*FakeDB) CompleteTask ¶
func (*FakeDB) CompleteTaskArgsForCall ¶
func (*FakeDB) CompleteTaskCallCount ¶
func (*FakeDB) CompleteTaskCalls ¶
func (*FakeDB) CompleteTaskReturns ¶
func (*FakeDB) CompleteTaskReturnsOnCall ¶
func (*FakeDB) ConvergeLRPs ¶
func (*FakeDB) ConvergeLRPsArgsForCall ¶
func (*FakeDB) ConvergeLRPsCallCount ¶
func (*FakeDB) ConvergeLRPsCalls ¶
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 (*FakeDB) ConvergeTasksArgsForCall ¶
func (*FakeDB) ConvergeTasksCallCount ¶
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 (*FakeDB) CountActualLRPsByStateArgsForCall ¶
func (*FakeDB) CountActualLRPsByStateCallCount ¶
func (*FakeDB) CountActualLRPsByStateCalls ¶
func (*FakeDB) CountActualLRPsByStateReturns ¶
func (*FakeDB) CountActualLRPsByStateReturnsOnCall ¶
func (*FakeDB) CountDesiredInstances ¶
func (*FakeDB) CountDesiredInstancesArgsForCall ¶
func (*FakeDB) CountDesiredInstancesCallCount ¶
func (*FakeDB) CountDesiredInstancesCalls ¶
func (*FakeDB) CountDesiredInstancesReturns ¶
func (*FakeDB) CountDesiredInstancesReturnsOnCall ¶
func (*FakeDB) CrashActualLRP ¶
func (*FakeDB) CrashActualLRPArgsForCall ¶
func (*FakeDB) CrashActualLRPCallCount ¶
func (*FakeDB) CrashActualLRPCalls ¶
func (*FakeDB) CrashActualLRPReturns ¶
func (*FakeDB) CrashActualLRPReturnsOnCall ¶
func (*FakeDB) CreateUnclaimedActualLRP ¶
func (*FakeDB) CreateUnclaimedActualLRPArgsForCall ¶
func (*FakeDB) CreateUnclaimedActualLRPCallCount ¶
func (*FakeDB) CreateUnclaimedActualLRPCalls ¶
func (*FakeDB) CreateUnclaimedActualLRPReturns ¶
func (*FakeDB) CreateUnclaimedActualLRPReturnsOnCall ¶
func (*FakeDB) DeleteTask ¶
func (*FakeDB) DeleteTaskArgsForCall ¶
func (*FakeDB) DeleteTaskCallCount ¶
func (*FakeDB) DeleteTaskCalls ¶
func (*FakeDB) DeleteTaskReturns ¶
func (*FakeDB) DeleteTaskReturnsOnCall ¶
func (*FakeDB) DesireLRPArgsForCall ¶
func (*FakeDB) DesireLRPCallCount ¶
func (*FakeDB) DesireLRPCalls ¶
func (*FakeDB) DesireLRPReturns ¶
func (*FakeDB) DesireLRPReturnsOnCall ¶
func (*FakeDB) DesireTask ¶
func (*FakeDB) DesireTaskArgsForCall ¶
func (*FakeDB) DesireTaskCallCount ¶
func (*FakeDB) DesireTaskCalls ¶
func (*FakeDB) DesireTaskReturns ¶
func (*FakeDB) DesireTaskReturnsOnCall ¶
func (*FakeDB) DesiredLRPByProcessGuid ¶
func (*FakeDB) DesiredLRPByProcessGuidArgsForCall ¶
func (*FakeDB) DesiredLRPByProcessGuidCallCount ¶
func (*FakeDB) DesiredLRPByProcessGuidCalls ¶
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 (*FakeDB) DesiredLRPRoutingInfosCallCount ¶
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 (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall ¶
func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidCallCount ¶
func (*FakeDB) DesiredLRPSchedulingInfoByProcessGuidCalls ¶
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 (*FakeDB) DesiredLRPSchedulingInfosCallCount ¶
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 (*FakeDB) DesiredLRPsCallCount ¶
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 (*FakeDB) EncryptionKeyLabelArgsForCall ¶
func (*FakeDB) EncryptionKeyLabelCallCount ¶
func (*FakeDB) EncryptionKeyLabelCalls ¶
func (*FakeDB) EncryptionKeyLabelReturns ¶
func (*FakeDB) EncryptionKeyLabelReturnsOnCall ¶
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) EvacuateActualLRPArgsForCall ¶
func (fake *FakeDB) EvacuateActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string)
func (*FakeDB) EvacuateActualLRPCallCount ¶
func (*FakeDB) EvacuateActualLRPCalls ¶
func (fake *FakeDB) EvacuateActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, error))
func (*FakeDB) EvacuateActualLRPReturns ¶
func (*FakeDB) EvacuateActualLRPReturnsOnCall ¶
func (*FakeDB) FailActualLRP ¶
func (*FakeDB) FailActualLRPArgsForCall ¶
func (*FakeDB) FailActualLRPCallCount ¶
func (*FakeDB) FailActualLRPCalls ¶
func (*FakeDB) FailActualLRPReturns ¶
func (*FakeDB) FailActualLRPReturnsOnCall ¶
func (*FakeDB) FailTaskArgsForCall ¶
func (*FakeDB) FailTaskCallCount ¶
func (*FakeDB) FailTaskCalls ¶
func (*FakeDB) FailTaskReturns ¶
func (*FakeDB) FailTaskReturnsOnCall ¶
func (*FakeDB) FreshDomains ¶
func (*FakeDB) FreshDomainsArgsForCall ¶
func (*FakeDB) FreshDomainsCallCount ¶
func (*FakeDB) FreshDomainsCalls ¶
func (*FakeDB) FreshDomainsReturns ¶
func (*FakeDB) FreshDomainsReturnsOnCall ¶
func (*FakeDB) Invocations ¶
func (*FakeDB) PerformEncryption ¶
func (*FakeDB) PerformEncryptionArgsForCall ¶
func (*FakeDB) PerformEncryptionCallCount ¶
func (*FakeDB) PerformEncryptionCalls ¶
func (*FakeDB) PerformEncryptionReturns ¶
func (*FakeDB) PerformEncryptionReturnsOnCall ¶
func (*FakeDB) PromoteSuspectActualLRP ¶
func (*FakeDB) PromoteSuspectActualLRPArgsForCall ¶
func (*FakeDB) PromoteSuspectActualLRPCallCount ¶
func (*FakeDB) PromoteSuspectActualLRPCalls ¶
func (*FakeDB) PromoteSuspectActualLRPReturns ¶
func (*FakeDB) PromoteSuspectActualLRPReturnsOnCall ¶
func (*FakeDB) RejectTask ¶
func (*FakeDB) RejectTaskArgsForCall ¶
func (*FakeDB) RejectTaskCallCount ¶
func (*FakeDB) RejectTaskCalls ¶
func (*FakeDB) RejectTaskReturns ¶
func (*FakeDB) RejectTaskReturnsOnCall ¶
func (*FakeDB) RemoveActualLRP ¶
func (*FakeDB) RemoveActualLRPArgsForCall ¶
func (*FakeDB) RemoveActualLRPCallCount ¶
func (*FakeDB) RemoveActualLRPCalls ¶
func (*FakeDB) RemoveActualLRPReturns ¶
func (*FakeDB) RemoveActualLRPReturnsOnCall ¶
func (*FakeDB) RemoveDesiredLRP ¶
func (*FakeDB) RemoveDesiredLRPArgsForCall ¶
func (*FakeDB) RemoveDesiredLRPCallCount ¶
func (*FakeDB) RemoveDesiredLRPCalls ¶
func (*FakeDB) RemoveDesiredLRPReturns ¶
func (*FakeDB) RemoveDesiredLRPReturnsOnCall ¶
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 (*FakeDB) RemoveEvacuatingActualLRPCalls ¶
func (fake *FakeDB) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error)
func (*FakeDB) RemoveEvacuatingActualLRPReturns ¶
func (*FakeDB) RemoveEvacuatingActualLRPReturnsOnCall ¶
func (*FakeDB) RemoveSuspectActualLRP ¶
func (*FakeDB) RemoveSuspectActualLRPArgsForCall ¶
func (*FakeDB) RemoveSuspectActualLRPCallCount ¶
func (*FakeDB) RemoveSuspectActualLRPCalls ¶
func (*FakeDB) RemoveSuspectActualLRPReturns ¶
func (*FakeDB) RemoveSuspectActualLRPReturnsOnCall ¶
func (*FakeDB) ResolvingTask ¶
func (*FakeDB) ResolvingTaskArgsForCall ¶
func (*FakeDB) ResolvingTaskCallCount ¶
func (*FakeDB) ResolvingTaskCalls ¶
func (*FakeDB) ResolvingTaskReturns ¶
func (*FakeDB) ResolvingTaskReturnsOnCall ¶
func (*FakeDB) SetEncryptionKeyLabel ¶
func (*FakeDB) SetEncryptionKeyLabelArgsForCall ¶
func (*FakeDB) SetEncryptionKeyLabelCallCount ¶
func (*FakeDB) SetEncryptionKeyLabelCalls ¶
func (*FakeDB) SetEncryptionKeyLabelReturns ¶
func (*FakeDB) SetEncryptionKeyLabelReturnsOnCall ¶
func (*FakeDB) SetVersion ¶
func (*FakeDB) SetVersionArgsForCall ¶
func (*FakeDB) SetVersionCallCount ¶
func (*FakeDB) SetVersionCalls ¶
func (*FakeDB) SetVersionReturns ¶
func (*FakeDB) SetVersionReturnsOnCall ¶
func (*FakeDB) StartActualLRP ¶
func (fake *FakeDB) StartActualLRP(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, *models.ActualLRP, error)
func (*FakeDB) StartActualLRPArgsForCall ¶
func (fake *FakeDB) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string)
func (*FakeDB) StartActualLRPCallCount ¶
func (*FakeDB) StartActualLRPCalls ¶
func (*FakeDB) StartActualLRPReturns ¶
func (*FakeDB) StartActualLRPReturnsOnCall ¶
func (*FakeDB) StartTaskArgsForCall ¶
func (*FakeDB) StartTaskCallCount ¶
func (*FakeDB) StartTaskCalls ¶
func (*FakeDB) StartTaskReturns ¶
func (*FakeDB) StartTaskReturnsOnCall ¶
func (*FakeDB) TaskByGuid ¶
func (*FakeDB) TaskByGuidArgsForCall ¶
func (*FakeDB) TaskByGuidCallCount ¶
func (*FakeDB) TaskByGuidCalls ¶
func (*FakeDB) TaskByGuidReturns ¶
func (*FakeDB) TaskByGuidReturnsOnCall ¶
func (*FakeDB) TasksArgsForCall ¶
func (*FakeDB) TasksCallCount ¶
func (*FakeDB) TasksCalls ¶
func (*FakeDB) TasksReturns ¶
func (*FakeDB) TasksReturnsOnCall ¶
func (*FakeDB) UnclaimActualLRP ¶
func (*FakeDB) UnclaimActualLRPArgsForCall ¶
func (*FakeDB) UnclaimActualLRPCallCount ¶
func (*FakeDB) UnclaimActualLRPCalls ¶
func (*FakeDB) UnclaimActualLRPReturns ¶
func (*FakeDB) UnclaimActualLRPReturnsOnCall ¶
func (*FakeDB) UpdateDesiredLRP ¶
func (*FakeDB) UpdateDesiredLRPArgsForCall ¶
func (*FakeDB) UpdateDesiredLRPCallCount ¶
func (*FakeDB) UpdateDesiredLRPCalls ¶
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 (*FakeDB) UpsertDomainArgsForCall ¶
func (*FakeDB) UpsertDomainCallCount ¶
func (*FakeDB) UpsertDomainCalls ¶
func (*FakeDB) UpsertDomainReturns ¶
func (*FakeDB) UpsertDomainReturnsOnCall ¶
func (*FakeDB) VersionArgsForCall ¶
func (*FakeDB) VersionCallCount ¶
func (*FakeDB) VersionCalls ¶
func (*FakeDB) VersionReturns ¶
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 (*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 (*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 (*FakeDesiredLRPDB) RemoveDesiredLRPArgsForCall ¶
func (*FakeDesiredLRPDB) RemoveDesiredLRPCallCount ¶
func (fake *FakeDesiredLRPDB) RemoveDesiredLRPCallCount() int
func (*FakeDesiredLRPDB) RemoveDesiredLRPCalls ¶
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 (*FakeDomainDB) FreshDomainsArgsForCall ¶
func (*FakeDomainDB) FreshDomainsCallCount ¶
func (fake *FakeDomainDB) FreshDomainsCallCount() int
func (*FakeDomainDB) FreshDomainsCalls ¶
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 (*FakeDomainDB) UpsertDomainArgsForCall ¶
func (*FakeDomainDB) UpsertDomainCallCount ¶
func (fake *FakeDomainDB) UpsertDomainCallCount() int
func (*FakeDomainDB) UpsertDomainCalls ¶
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 (*FakeEncryptionDB) EncryptionKeyLabelArgsForCall ¶
func (*FakeEncryptionDB) EncryptionKeyLabelCallCount ¶
func (fake *FakeEncryptionDB) EncryptionKeyLabelCallCount() int
func (*FakeEncryptionDB) EncryptionKeyLabelCalls ¶
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 (*FakeEncryptionDB) PerformEncryptionArgsForCall ¶
func (*FakeEncryptionDB) PerformEncryptionCallCount ¶
func (fake *FakeEncryptionDB) PerformEncryptionCallCount() int
func (*FakeEncryptionDB) PerformEncryptionCalls ¶
func (*FakeEncryptionDB) PerformEncryptionReturns ¶
func (fake *FakeEncryptionDB) PerformEncryptionReturns(result1 error)
func (*FakeEncryptionDB) PerformEncryptionReturnsOnCall ¶
func (fake *FakeEncryptionDB) PerformEncryptionReturnsOnCall(i int, result1 error)
func (*FakeEncryptionDB) SetEncryptionKeyLabel ¶
func (*FakeEncryptionDB) SetEncryptionKeyLabelArgsForCall ¶
func (*FakeEncryptionDB) SetEncryptionKeyLabelCallCount ¶
func (fake *FakeEncryptionDB) SetEncryptionKeyLabelCallCount() int
func (*FakeEncryptionDB) SetEncryptionKeyLabelCalls ¶
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) EvacuateActualLRPArgsForCall ¶
func (fake *FakeEvacuationDB) EvacuateActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string)
func (*FakeEvacuationDB) EvacuateActualLRPCallCount ¶
func (fake *FakeEvacuationDB) EvacuateActualLRPCallCount() int
func (*FakeEvacuationDB) EvacuateActualLRPCalls ¶
func (fake *FakeEvacuationDB) EvacuateActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string) (*models.ActualLRP, error))
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 (*FakeLRPDB) ActualLRPsArgsForCall ¶
func (*FakeLRPDB) ActualLRPsCallCount ¶
func (*FakeLRPDB) ActualLRPsCalls ¶
func (*FakeLRPDB) ActualLRPsReturns ¶
func (*FakeLRPDB) ActualLRPsReturnsOnCall ¶
func (*FakeLRPDB) ChangeActualLRPPresence ¶
func (*FakeLRPDB) ChangeActualLRPPresenceArgsForCall ¶
func (fake *FakeLRPDB) ChangeActualLRPPresenceArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, models.ActualLRP_Presence, models.ActualLRP_Presence)
func (*FakeLRPDB) ChangeActualLRPPresenceCallCount ¶
func (*FakeLRPDB) ChangeActualLRPPresenceCalls ¶
func (*FakeLRPDB) ChangeActualLRPPresenceReturns ¶
func (*FakeLRPDB) ChangeActualLRPPresenceReturnsOnCall ¶
func (*FakeLRPDB) ClaimActualLRP ¶
func (*FakeLRPDB) ClaimActualLRPArgsForCall ¶
func (*FakeLRPDB) ClaimActualLRPCallCount ¶
func (*FakeLRPDB) ClaimActualLRPCalls ¶
func (*FakeLRPDB) ClaimActualLRPReturns ¶
func (*FakeLRPDB) ClaimActualLRPReturnsOnCall ¶
func (*FakeLRPDB) ConvergeLRPs ¶
func (*FakeLRPDB) ConvergeLRPsArgsForCall ¶
func (*FakeLRPDB) ConvergeLRPsCallCount ¶
func (*FakeLRPDB) ConvergeLRPsCalls ¶
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 (*FakeLRPDB) CountActualLRPsByStateArgsForCall ¶
func (*FakeLRPDB) CountActualLRPsByStateCallCount ¶
func (*FakeLRPDB) CountActualLRPsByStateCalls ¶
func (*FakeLRPDB) CountActualLRPsByStateReturns ¶
func (*FakeLRPDB) CountActualLRPsByStateReturnsOnCall ¶
func (*FakeLRPDB) CountDesiredInstances ¶
func (*FakeLRPDB) CountDesiredInstancesArgsForCall ¶
func (*FakeLRPDB) CountDesiredInstancesCallCount ¶
func (*FakeLRPDB) CountDesiredInstancesCalls ¶
func (*FakeLRPDB) CountDesiredInstancesReturns ¶
func (*FakeLRPDB) CountDesiredInstancesReturnsOnCall ¶
func (*FakeLRPDB) CrashActualLRP ¶
func (*FakeLRPDB) CrashActualLRPArgsForCall ¶
func (*FakeLRPDB) CrashActualLRPCallCount ¶
func (*FakeLRPDB) CrashActualLRPCalls ¶
func (*FakeLRPDB) CrashActualLRPReturns ¶
func (*FakeLRPDB) CrashActualLRPReturnsOnCall ¶
func (*FakeLRPDB) CreateUnclaimedActualLRP ¶
func (*FakeLRPDB) CreateUnclaimedActualLRPArgsForCall ¶
func (*FakeLRPDB) CreateUnclaimedActualLRPCallCount ¶
func (*FakeLRPDB) CreateUnclaimedActualLRPCalls ¶
func (*FakeLRPDB) CreateUnclaimedActualLRPReturns ¶
func (*FakeLRPDB) CreateUnclaimedActualLRPReturnsOnCall ¶
func (*FakeLRPDB) DesireLRPArgsForCall ¶
func (*FakeLRPDB) DesireLRPCallCount ¶
func (*FakeLRPDB) DesireLRPCalls ¶
func (*FakeLRPDB) DesireLRPReturns ¶
func (*FakeLRPDB) DesireLRPReturnsOnCall ¶
func (*FakeLRPDB) DesiredLRPByProcessGuid ¶
func (*FakeLRPDB) DesiredLRPByProcessGuidArgsForCall ¶
func (*FakeLRPDB) DesiredLRPByProcessGuidCallCount ¶
func (*FakeLRPDB) DesiredLRPByProcessGuidCalls ¶
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 (*FakeLRPDB) DesiredLRPRoutingInfosCallCount ¶
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 (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidArgsForCall ¶
func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCallCount ¶
func (*FakeLRPDB) DesiredLRPSchedulingInfoByProcessGuidCalls ¶
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 (*FakeLRPDB) DesiredLRPSchedulingInfosCallCount ¶
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 (*FakeLRPDB) DesiredLRPsCallCount ¶
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 (*FakeLRPDB) FailActualLRPArgsForCall ¶
func (*FakeLRPDB) FailActualLRPCallCount ¶
func (*FakeLRPDB) FailActualLRPCalls ¶
func (*FakeLRPDB) FailActualLRPReturns ¶
func (*FakeLRPDB) FailActualLRPReturnsOnCall ¶
func (*FakeLRPDB) Invocations ¶
func (*FakeLRPDB) RemoveActualLRP ¶
func (*FakeLRPDB) RemoveActualLRPArgsForCall ¶
func (*FakeLRPDB) RemoveActualLRPCallCount ¶
func (*FakeLRPDB) RemoveActualLRPCalls ¶
func (*FakeLRPDB) RemoveActualLRPReturns ¶
func (*FakeLRPDB) RemoveActualLRPReturnsOnCall ¶
func (*FakeLRPDB) RemoveDesiredLRP ¶
func (*FakeLRPDB) RemoveDesiredLRPArgsForCall ¶
func (*FakeLRPDB) RemoveDesiredLRPCallCount ¶
func (*FakeLRPDB) RemoveDesiredLRPCalls ¶
func (*FakeLRPDB) RemoveDesiredLRPReturns ¶
func (*FakeLRPDB) RemoveDesiredLRPReturnsOnCall ¶
func (*FakeLRPDB) StartActualLRP ¶
func (fake *FakeLRPDB) StartActualLRP(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, *models.ActualLRP, error)
func (*FakeLRPDB) StartActualLRPArgsForCall ¶
func (fake *FakeLRPDB) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo, []*models.ActualLRPInternalRoute, map[string]string, bool, string)
func (*FakeLRPDB) StartActualLRPCallCount ¶
func (*FakeLRPDB) StartActualLRPCalls ¶
func (*FakeLRPDB) StartActualLRPReturns ¶
func (*FakeLRPDB) StartActualLRPReturnsOnCall ¶
func (*FakeLRPDB) UnclaimActualLRP ¶
func (*FakeLRPDB) UnclaimActualLRPArgsForCall ¶
func (*FakeLRPDB) UnclaimActualLRPCallCount ¶
func (*FakeLRPDB) UnclaimActualLRPCalls ¶
func (*FakeLRPDB) UnclaimActualLRPReturns ¶
func (*FakeLRPDB) UnclaimActualLRPReturnsOnCall ¶
func (*FakeLRPDB) UpdateDesiredLRP ¶
func (*FakeLRPDB) UpdateDesiredLRPArgsForCall ¶
func (*FakeLRPDB) UpdateDesiredLRPCallCount ¶
func (*FakeLRPDB) UpdateDesiredLRPCalls ¶
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 (*FakeSuspectDB) PromoteSuspectActualLRPArgsForCall ¶
func (*FakeSuspectDB) PromoteSuspectActualLRPCallCount ¶
func (fake *FakeSuspectDB) PromoteSuspectActualLRPCallCount() int
func (*FakeSuspectDB) PromoteSuspectActualLRPCalls ¶
func (*FakeSuspectDB) PromoteSuspectActualLRPReturns ¶
func (*FakeSuspectDB) PromoteSuspectActualLRPReturnsOnCall ¶
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 (*FakeTaskDB) CancelTaskArgsForCall ¶
func (*FakeTaskDB) CancelTaskCallCount ¶
func (fake *FakeTaskDB) CancelTaskCallCount() int
func (*FakeTaskDB) CancelTaskCalls ¶
func (*FakeTaskDB) CancelTaskReturns ¶
func (*FakeTaskDB) CancelTaskReturnsOnCall ¶
func (*FakeTaskDB) CompleteTask ¶
func (*FakeTaskDB) CompleteTaskArgsForCall ¶
func (*FakeTaskDB) CompleteTaskCallCount ¶
func (fake *FakeTaskDB) CompleteTaskCallCount() int
func (*FakeTaskDB) CompleteTaskCalls ¶
func (*FakeTaskDB) CompleteTaskReturns ¶
func (*FakeTaskDB) CompleteTaskReturnsOnCall ¶
func (*FakeTaskDB) ConvergeTasks ¶
func (*FakeTaskDB) ConvergeTasksArgsForCall ¶
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 (*FakeTaskDB) DeleteTaskArgsForCall ¶
func (*FakeTaskDB) DeleteTaskCallCount ¶
func (fake *FakeTaskDB) DeleteTaskCallCount() int
func (*FakeTaskDB) DeleteTaskCalls ¶
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 (*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 (*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) FailTaskArgsForCall ¶
func (*FakeTaskDB) FailTaskCallCount ¶
func (fake *FakeTaskDB) FailTaskCallCount() int
func (*FakeTaskDB) FailTaskCalls ¶
func (*FakeTaskDB) FailTaskReturns ¶
func (*FakeTaskDB) FailTaskReturnsOnCall ¶
func (*FakeTaskDB) Invocations ¶
func (fake *FakeTaskDB) Invocations() map[string][][]interface{}
func (*FakeTaskDB) RejectTask ¶
func (*FakeTaskDB) RejectTaskArgsForCall ¶
func (*FakeTaskDB) RejectTaskCallCount ¶
func (fake *FakeTaskDB) RejectTaskCallCount() int
func (*FakeTaskDB) RejectTaskCalls ¶
func (*FakeTaskDB) RejectTaskReturns ¶
func (*FakeTaskDB) RejectTaskReturnsOnCall ¶
func (*FakeTaskDB) ResolvingTask ¶
func (*FakeTaskDB) ResolvingTaskArgsForCall ¶
func (*FakeTaskDB) ResolvingTaskCallCount ¶
func (fake *FakeTaskDB) ResolvingTaskCallCount() int
func (*FakeTaskDB) ResolvingTaskCalls ¶
func (*FakeTaskDB) ResolvingTaskReturns ¶
func (*FakeTaskDB) ResolvingTaskReturnsOnCall ¶
func (*FakeTaskDB) StartTaskArgsForCall ¶
func (*FakeTaskDB) StartTaskCallCount ¶
func (fake *FakeTaskDB) StartTaskCallCount() int
func (*FakeTaskDB) StartTaskCalls ¶
func (*FakeTaskDB) StartTaskReturns ¶
func (*FakeTaskDB) StartTaskReturnsOnCall ¶
func (*FakeTaskDB) TaskByGuid ¶
func (*FakeTaskDB) TaskByGuidArgsForCall ¶
func (*FakeTaskDB) TaskByGuidCallCount ¶
func (fake *FakeTaskDB) TaskByGuidCallCount() int
func (*FakeTaskDB) TaskByGuidCalls ¶
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 (*FakeVersionDB) SetVersionArgsForCall ¶
func (*FakeVersionDB) SetVersionCallCount ¶
func (fake *FakeVersionDB) SetVersionCallCount() int
func (*FakeVersionDB) SetVersionCalls ¶
func (*FakeVersionDB) SetVersionReturns ¶
func (fake *FakeVersionDB) SetVersionReturns(result1 error)
func (*FakeVersionDB) SetVersionReturnsOnCall ¶
func (fake *FakeVersionDB) SetVersionReturnsOnCall(i int, result1 error)
func (*FakeVersionDB) VersionArgsForCall ¶
func (*FakeVersionDB) VersionCallCount ¶
func (fake *FakeVersionDB) VersionCallCount() int
func (*FakeVersionDB) VersionCalls ¶
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)
Click to show internal directories.
Click to hide internal directories.