Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeActualLRPLifecycleController
- func (fake *FakeActualLRPLifecycleController) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) error
- func (fake *FakeActualLRPLifecycleController) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeActualLRPLifecycleController) ClaimActualLRPCallCount() int
- func (fake *FakeActualLRPLifecycleController) ClaimActualLRPCalls(...)
- func (fake *FakeActualLRPLifecycleController) ClaimActualLRPReturns(result1 error)
- func (fake *FakeActualLRPLifecycleController) ClaimActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeActualLRPLifecycleController) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeActualLRPLifecycleController) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeActualLRPLifecycleController) CrashActualLRPCallCount() int
- func (fake *FakeActualLRPLifecycleController) CrashActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeActualLRPLifecycleController) CrashActualLRPReturns(result1 error)
- func (fake *FakeActualLRPLifecycleController) CrashActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeActualLRPLifecycleController) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeActualLRPLifecycleController) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)
- func (fake *FakeActualLRPLifecycleController) FailActualLRPCallCount() int
- func (fake *FakeActualLRPLifecycleController) FailActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, string) error)
- func (fake *FakeActualLRPLifecycleController) FailActualLRPReturns(result1 error)
- func (fake *FakeActualLRPLifecycleController) FailActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeActualLRPLifecycleController) Invocations() map[string][][]interface{}
- func (fake *FakeActualLRPLifecycleController) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, ...) error
- func (fake *FakeActualLRPLifecycleController) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
- func (fake *FakeActualLRPLifecycleController) RemoveActualLRPCallCount() int
- func (fake *FakeActualLRPLifecycleController) RemoveActualLRPCalls(...)
- func (fake *FakeActualLRPLifecycleController) RemoveActualLRPReturns(result1 error)
- func (fake *FakeActualLRPLifecycleController) RemoveActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeActualLRPLifecycleController) RetireActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) error
- func (fake *FakeActualLRPLifecycleController) RetireActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
- func (fake *FakeActualLRPLifecycleController) RetireActualLRPCallCount() int
- func (fake *FakeActualLRPLifecycleController) RetireActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) error)
- func (fake *FakeActualLRPLifecycleController) RetireActualLRPReturns(result1 error)
- func (fake *FakeActualLRPLifecycleController) RetireActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeActualLRPLifecycleController) StartActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeActualLRPLifecycleController) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeActualLRPLifecycleController) StartActualLRPCallCount() int
- func (fake *FakeActualLRPLifecycleController) StartActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeActualLRPLifecycleController) StartActualLRPReturns(result1 error)
- func (fake *FakeActualLRPLifecycleController) StartActualLRPReturnsOnCall(i int, result1 error)
- type FakeEvacuationController
- func (fake *FakeEvacuationController) EvacuateClaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (bool, error)
- func (fake *FakeEvacuationController) EvacuateClaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationController) EvacuateClaimedActualLRPCallCount() int
- func (fake *FakeEvacuationController) EvacuateClaimedActualLRPCalls(...)
- func (fake *FakeEvacuationController) EvacuateClaimedActualLRPReturns(result1 bool, result2 error)
- func (fake *FakeEvacuationController) EvacuateClaimedActualLRPReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeEvacuationController) EvacuateCrashedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeEvacuationController) EvacuateCrashedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationController) EvacuateCrashedActualLRPCallCount() int
- func (fake *FakeEvacuationController) EvacuateCrashedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeEvacuationController) EvacuateCrashedActualLRPReturns(result1 error)
- func (fake *FakeEvacuationController) EvacuateCrashedActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeEvacuationController) EvacuateRunningActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) (bool, error)
- func (fake *FakeEvacuationController) EvacuateRunningActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationController) EvacuateRunningActualLRPCallCount() int
- func (fake *FakeEvacuationController) EvacuateRunningActualLRPCalls(...)
- func (fake *FakeEvacuationController) EvacuateRunningActualLRPReturns(result1 bool, result2 error)
- func (fake *FakeEvacuationController) EvacuateRunningActualLRPReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeEvacuationController) EvacuateStoppedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeEvacuationController) EvacuateStoppedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationController) EvacuateStoppedActualLRPCallCount() int
- func (fake *FakeEvacuationController) EvacuateStoppedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeEvacuationController) EvacuateStoppedActualLRPReturns(result1 error)
- func (fake *FakeEvacuationController) EvacuateStoppedActualLRPReturnsOnCall(i int, result1 error)
- func (fake *FakeEvacuationController) Invocations() map[string][][]interface{}
- func (fake *FakeEvacuationController) RemoveEvacuatingActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, ...) error
- func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, ...)
- func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPCallCount() int
- func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, ...) error)
- func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPReturns(result1 error)
- func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPReturnsOnCall(i int, result1 error)
- type FakeTaskController
- func (fake *FakeTaskController) CancelTask(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeTaskController) CancelTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskController) CancelTaskCallCount() int
- func (fake *FakeTaskController) CancelTaskCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeTaskController) CancelTaskReturns(result1 error)
- func (fake *FakeTaskController) CancelTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) CompleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, arg5 bool, ...) error
- func (fake *FakeTaskController) CompleteTaskArgsForCall(i int) (context.Context, lager.Logger, string, string, bool, string, string)
- func (fake *FakeTaskController) CompleteTaskCallCount() int
- func (fake *FakeTaskController) CompleteTaskCalls(...)
- func (fake *FakeTaskController) CompleteTaskReturns(result1 error)
- func (fake *FakeTaskController) CompleteTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) ConvergeTasks(arg1 context.Context, arg2 lager.Logger, arg3 time.Duration, ...) error
- func (fake *FakeTaskController) ConvergeTasksArgsForCall(i int) (context.Context, lager.Logger, time.Duration, time.Duration, time.Duration)
- func (fake *FakeTaskController) ConvergeTasksCallCount() int
- func (fake *FakeTaskController) ConvergeTasksCalls(...)
- func (fake *FakeTaskController) ConvergeTasksReturns(result1 error)
- func (fake *FakeTaskController) ConvergeTasksReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) DeleteTask(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeTaskController) DeleteTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskController) DeleteTaskCallCount() int
- func (fake *FakeTaskController) DeleteTaskCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeTaskController) DeleteTaskReturns(result1 error)
- func (fake *FakeTaskController) DeleteTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) DesireTask(arg1 context.Context, arg2 lager.Logger, arg3 *models.TaskDefinition, ...) error
- func (fake *FakeTaskController) DesireTaskArgsForCall(i int) (context.Context, lager.Logger, *models.TaskDefinition, string, string)
- func (fake *FakeTaskController) DesireTaskCallCount() int
- func (fake *FakeTaskController) DesireTaskCalls(...)
- func (fake *FakeTaskController) DesireTaskReturns(result1 error)
- func (fake *FakeTaskController) DesireTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) FailTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) error
- func (fake *FakeTaskController) FailTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskController) FailTaskCallCount() int
- func (fake *FakeTaskController) FailTaskCalls(stub func(context.Context, lager.Logger, string, string) error)
- func (fake *FakeTaskController) FailTaskReturns(result1 error)
- func (fake *FakeTaskController) FailTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) Invocations() map[string][][]interface{}
- func (fake *FakeTaskController) RejectTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) error
- func (fake *FakeTaskController) RejectTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskController) RejectTaskCallCount() int
- func (fake *FakeTaskController) RejectTaskCalls(stub func(context.Context, lager.Logger, string, string) error)
- func (fake *FakeTaskController) RejectTaskReturns(result1 error)
- func (fake *FakeTaskController) RejectTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) ResolvingTask(arg1 context.Context, arg2 lager.Logger, arg3 string) error
- func (fake *FakeTaskController) ResolvingTaskArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskController) ResolvingTaskCallCount() int
- func (fake *FakeTaskController) ResolvingTaskCalls(stub func(context.Context, lager.Logger, string) error)
- func (fake *FakeTaskController) ResolvingTaskReturns(result1 error)
- func (fake *FakeTaskController) ResolvingTaskReturnsOnCall(i int, result1 error)
- func (fake *FakeTaskController) StartTask(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) (bool, error)
- func (fake *FakeTaskController) StartTaskArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskController) StartTaskCallCount() int
- func (fake *FakeTaskController) StartTaskCalls(stub func(context.Context, lager.Logger, string, string) (bool, error))
- func (fake *FakeTaskController) StartTaskReturns(result1 bool, result2 error)
- func (fake *FakeTaskController) StartTaskReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeTaskController) TaskByGuid(arg1 context.Context, arg2 lager.Logger, arg3 string) (*models.Task, error)
- func (fake *FakeTaskController) TaskByGuidArgsForCall(i int) (context.Context, lager.Logger, string)
- func (fake *FakeTaskController) TaskByGuidCallCount() int
- func (fake *FakeTaskController) TaskByGuidCalls(stub func(context.Context, lager.Logger, string) (*models.Task, error))
- func (fake *FakeTaskController) TaskByGuidReturns(result1 *models.Task, result2 error)
- func (fake *FakeTaskController) TaskByGuidReturnsOnCall(i int, result1 *models.Task, result2 error)
- func (fake *FakeTaskController) Tasks(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string) ([]*models.Task, error)
- func (fake *FakeTaskController) TasksArgsForCall(i int) (context.Context, lager.Logger, string, string)
- func (fake *FakeTaskController) TasksCallCount() int
- func (fake *FakeTaskController) TasksCalls(...)
- func (fake *FakeTaskController) TasksReturns(result1 []*models.Task, result2 error)
- func (fake *FakeTaskController) TasksReturnsOnCall(i int, result1 []*models.Task, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeActualLRPLifecycleController ¶
type FakeActualLRPLifecycleController struct { ClaimActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error CrashActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) error FailActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, string) error RemoveActualLRPStub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error RetireActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey) error StartActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo) error // contains filtered or unexported fields }
func (*FakeActualLRPLifecycleController) ClaimActualLRP ¶
func (fake *FakeActualLRPLifecycleController) ClaimActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) error
func (*FakeActualLRPLifecycleController) ClaimActualLRPArgsForCall ¶
func (fake *FakeActualLRPLifecycleController) ClaimActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
func (*FakeActualLRPLifecycleController) ClaimActualLRPCallCount ¶
func (fake *FakeActualLRPLifecycleController) ClaimActualLRPCallCount() int
func (*FakeActualLRPLifecycleController) ClaimActualLRPCalls ¶
func (fake *FakeActualLRPLifecycleController) ClaimActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error)
func (*FakeActualLRPLifecycleController) ClaimActualLRPReturns ¶
func (fake *FakeActualLRPLifecycleController) ClaimActualLRPReturns(result1 error)
func (*FakeActualLRPLifecycleController) ClaimActualLRPReturnsOnCall ¶
func (fake *FakeActualLRPLifecycleController) ClaimActualLRPReturnsOnCall(i int, result1 error)
func (*FakeActualLRPLifecycleController) CrashActualLRP ¶
func (fake *FakeActualLRPLifecycleController) CrashActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 string) error
func (*FakeActualLRPLifecycleController) CrashActualLRPArgsForCall ¶
func (fake *FakeActualLRPLifecycleController) CrashActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string)
func (*FakeActualLRPLifecycleController) CrashActualLRPCallCount ¶
func (fake *FakeActualLRPLifecycleController) CrashActualLRPCallCount() int
func (*FakeActualLRPLifecycleController) CrashActualLRPCalls ¶
func (fake *FakeActualLRPLifecycleController) CrashActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) error)
func (*FakeActualLRPLifecycleController) CrashActualLRPReturns ¶
func (fake *FakeActualLRPLifecycleController) CrashActualLRPReturns(result1 error)
func (*FakeActualLRPLifecycleController) CrashActualLRPReturnsOnCall ¶
func (fake *FakeActualLRPLifecycleController) CrashActualLRPReturnsOnCall(i int, result1 error)
func (*FakeActualLRPLifecycleController) FailActualLRP ¶
func (fake *FakeActualLRPLifecycleController) FailActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 string) error
func (*FakeActualLRPLifecycleController) FailActualLRPArgsForCall ¶
func (fake *FakeActualLRPLifecycleController) FailActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, string)
func (*FakeActualLRPLifecycleController) FailActualLRPCallCount ¶
func (fake *FakeActualLRPLifecycleController) FailActualLRPCallCount() int
func (*FakeActualLRPLifecycleController) FailActualLRPCalls ¶
func (fake *FakeActualLRPLifecycleController) FailActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, string) error)
func (*FakeActualLRPLifecycleController) FailActualLRPReturns ¶
func (fake *FakeActualLRPLifecycleController) FailActualLRPReturns(result1 error)
func (*FakeActualLRPLifecycleController) FailActualLRPReturnsOnCall ¶
func (fake *FakeActualLRPLifecycleController) FailActualLRPReturnsOnCall(i int, result1 error)
func (*FakeActualLRPLifecycleController) Invocations ¶
func (fake *FakeActualLRPLifecycleController) Invocations() map[string][][]interface{}
func (*FakeActualLRPLifecycleController) RemoveActualLRP ¶
func (fake *FakeActualLRPLifecycleController) RemoveActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 int32, arg5 *models.ActualLRPInstanceKey) error
func (*FakeActualLRPLifecycleController) RemoveActualLRPArgsForCall ¶
func (fake *FakeActualLRPLifecycleController) RemoveActualLRPArgsForCall(i int) (context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey)
func (*FakeActualLRPLifecycleController) RemoveActualLRPCallCount ¶
func (fake *FakeActualLRPLifecycleController) RemoveActualLRPCallCount() int
func (*FakeActualLRPLifecycleController) RemoveActualLRPCalls ¶
func (fake *FakeActualLRPLifecycleController) RemoveActualLRPCalls(stub func(context.Context, lager.Logger, string, int32, *models.ActualLRPInstanceKey) error)
func (*FakeActualLRPLifecycleController) RemoveActualLRPReturns ¶
func (fake *FakeActualLRPLifecycleController) RemoveActualLRPReturns(result1 error)
func (*FakeActualLRPLifecycleController) RemoveActualLRPReturnsOnCall ¶
func (fake *FakeActualLRPLifecycleController) RemoveActualLRPReturnsOnCall(i int, result1 error)
func (*FakeActualLRPLifecycleController) RetireActualLRP ¶
func (fake *FakeActualLRPLifecycleController) RetireActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey) error
func (*FakeActualLRPLifecycleController) RetireActualLRPArgsForCall ¶
func (fake *FakeActualLRPLifecycleController) RetireActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey)
func (*FakeActualLRPLifecycleController) RetireActualLRPCallCount ¶
func (fake *FakeActualLRPLifecycleController) RetireActualLRPCallCount() int
func (*FakeActualLRPLifecycleController) RetireActualLRPCalls ¶
func (fake *FakeActualLRPLifecycleController) RetireActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey) error)
func (*FakeActualLRPLifecycleController) RetireActualLRPReturns ¶
func (fake *FakeActualLRPLifecycleController) RetireActualLRPReturns(result1 error)
func (*FakeActualLRPLifecycleController) RetireActualLRPReturnsOnCall ¶
func (fake *FakeActualLRPLifecycleController) RetireActualLRPReturnsOnCall(i int, result1 error)
func (*FakeActualLRPLifecycleController) StartActualLRP ¶
func (fake *FakeActualLRPLifecycleController) StartActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 *models.ActualLRPNetInfo) error
func (*FakeActualLRPLifecycleController) StartActualLRPArgsForCall ¶
func (fake *FakeActualLRPLifecycleController) StartActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo)
func (*FakeActualLRPLifecycleController) StartActualLRPCallCount ¶
func (fake *FakeActualLRPLifecycleController) StartActualLRPCallCount() int
func (*FakeActualLRPLifecycleController) StartActualLRPCalls ¶
func (fake *FakeActualLRPLifecycleController) StartActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo) error)
func (*FakeActualLRPLifecycleController) StartActualLRPReturns ¶
func (fake *FakeActualLRPLifecycleController) StartActualLRPReturns(result1 error)
func (*FakeActualLRPLifecycleController) StartActualLRPReturnsOnCall ¶
func (fake *FakeActualLRPLifecycleController) StartActualLRPReturnsOnCall(i int, result1 error)
type FakeEvacuationController ¶
type FakeEvacuationController struct { EvacuateClaimedActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) (bool, error) EvacuateCrashedActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) error EvacuateRunningActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo) (bool, error) EvacuateStoppedActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error RemoveEvacuatingActualLRPStub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error // contains filtered or unexported fields }
func (*FakeEvacuationController) EvacuateClaimedActualLRP ¶
func (fake *FakeEvacuationController) EvacuateClaimedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey) (bool, error)
func (*FakeEvacuationController) EvacuateClaimedActualLRPArgsForCall ¶
func (fake *FakeEvacuationController) EvacuateClaimedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey)
func (*FakeEvacuationController) EvacuateClaimedActualLRPCallCount ¶
func (fake *FakeEvacuationController) EvacuateClaimedActualLRPCallCount() int
func (*FakeEvacuationController) EvacuateClaimedActualLRPCalls ¶
func (fake *FakeEvacuationController) EvacuateClaimedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) (bool, error))
func (*FakeEvacuationController) EvacuateClaimedActualLRPReturns ¶
func (fake *FakeEvacuationController) EvacuateClaimedActualLRPReturns(result1 bool, result2 error)
func (*FakeEvacuationController) EvacuateClaimedActualLRPReturnsOnCall ¶
func (fake *FakeEvacuationController) EvacuateClaimedActualLRPReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeEvacuationController) EvacuateCrashedActualLRP ¶
func (fake *FakeEvacuationController) EvacuateCrashedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 string) error
func (*FakeEvacuationController) EvacuateCrashedActualLRPArgsForCall ¶
func (fake *FakeEvacuationController) EvacuateCrashedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string)
func (*FakeEvacuationController) EvacuateCrashedActualLRPCallCount ¶
func (fake *FakeEvacuationController) EvacuateCrashedActualLRPCallCount() int
func (*FakeEvacuationController) EvacuateCrashedActualLRPCalls ¶
func (fake *FakeEvacuationController) EvacuateCrashedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, string) error)
func (*FakeEvacuationController) EvacuateCrashedActualLRPReturns ¶
func (fake *FakeEvacuationController) EvacuateCrashedActualLRPReturns(result1 error)
func (*FakeEvacuationController) EvacuateCrashedActualLRPReturnsOnCall ¶
func (fake *FakeEvacuationController) EvacuateCrashedActualLRPReturnsOnCall(i int, result1 error)
func (*FakeEvacuationController) EvacuateRunningActualLRP ¶
func (fake *FakeEvacuationController) EvacuateRunningActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey, arg5 *models.ActualLRPNetInfo) (bool, error)
func (*FakeEvacuationController) EvacuateRunningActualLRPArgsForCall ¶
func (fake *FakeEvacuationController) EvacuateRunningActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo)
func (*FakeEvacuationController) EvacuateRunningActualLRPCallCount ¶
func (fake *FakeEvacuationController) EvacuateRunningActualLRPCallCount() int
func (*FakeEvacuationController) EvacuateRunningActualLRPCalls ¶
func (fake *FakeEvacuationController) EvacuateRunningActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey, *models.ActualLRPNetInfo) (bool, error))
func (*FakeEvacuationController) EvacuateRunningActualLRPReturns ¶
func (fake *FakeEvacuationController) EvacuateRunningActualLRPReturns(result1 bool, result2 error)
func (*FakeEvacuationController) EvacuateRunningActualLRPReturnsOnCall ¶
func (fake *FakeEvacuationController) EvacuateRunningActualLRPReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeEvacuationController) EvacuateStoppedActualLRP ¶
func (fake *FakeEvacuationController) EvacuateStoppedActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey) error
func (*FakeEvacuationController) EvacuateStoppedActualLRPArgsForCall ¶
func (fake *FakeEvacuationController) EvacuateStoppedActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey)
func (*FakeEvacuationController) EvacuateStoppedActualLRPCallCount ¶
func (fake *FakeEvacuationController) EvacuateStoppedActualLRPCallCount() int
func (*FakeEvacuationController) EvacuateStoppedActualLRPCalls ¶
func (fake *FakeEvacuationController) EvacuateStoppedActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error)
func (*FakeEvacuationController) EvacuateStoppedActualLRPReturns ¶
func (fake *FakeEvacuationController) EvacuateStoppedActualLRPReturns(result1 error)
func (*FakeEvacuationController) EvacuateStoppedActualLRPReturnsOnCall ¶
func (fake *FakeEvacuationController) EvacuateStoppedActualLRPReturnsOnCall(i int, result1 error)
func (*FakeEvacuationController) Invocations ¶
func (fake *FakeEvacuationController) Invocations() map[string][][]interface{}
func (*FakeEvacuationController) RemoveEvacuatingActualLRP ¶
func (fake *FakeEvacuationController) RemoveEvacuatingActualLRP(arg1 context.Context, arg2 lager.Logger, arg3 *models.ActualLRPKey, arg4 *models.ActualLRPInstanceKey) error
func (*FakeEvacuationController) RemoveEvacuatingActualLRPArgsForCall ¶
func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPArgsForCall(i int) (context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey)
func (*FakeEvacuationController) RemoveEvacuatingActualLRPCallCount ¶
func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPCallCount() int
func (*FakeEvacuationController) RemoveEvacuatingActualLRPCalls ¶
func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPCalls(stub func(context.Context, lager.Logger, *models.ActualLRPKey, *models.ActualLRPInstanceKey) error)
func (*FakeEvacuationController) RemoveEvacuatingActualLRPReturns ¶
func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPReturns(result1 error)
func (*FakeEvacuationController) RemoveEvacuatingActualLRPReturnsOnCall ¶
func (fake *FakeEvacuationController) RemoveEvacuatingActualLRPReturnsOnCall(i int, result1 error)
type FakeTaskController ¶
type FakeTaskController struct { CancelTaskStub func(context.Context, lager.Logger, string) error CompleteTaskStub func(context.Context, lager.Logger, string, string, bool, string, string) error ConvergeTasksStub func(context.Context, lager.Logger, time.Duration, time.Duration, time.Duration) error DeleteTaskStub func(context.Context, lager.Logger, string) error DesireTaskStub func(context.Context, lager.Logger, *models.TaskDefinition, string, string) error FailTaskStub func(context.Context, lager.Logger, string, string) error RejectTaskStub func(context.Context, lager.Logger, string, string) error ResolvingTaskStub func(context.Context, lager.Logger, string) error StartTaskStub func(context.Context, lager.Logger, string, string) (bool, error) TaskByGuidStub func(context.Context, lager.Logger, string) (*models.Task, error) TasksStub func(context.Context, lager.Logger, string, string) ([]*models.Task, error) // contains filtered or unexported fields }
func (*FakeTaskController) CancelTask ¶
func (*FakeTaskController) CancelTaskArgsForCall ¶
func (*FakeTaskController) CancelTaskCallCount ¶
func (fake *FakeTaskController) CancelTaskCallCount() int
func (*FakeTaskController) CancelTaskCalls ¶
func (*FakeTaskController) CancelTaskReturns ¶
func (fake *FakeTaskController) CancelTaskReturns(result1 error)
func (*FakeTaskController) CancelTaskReturnsOnCall ¶
func (fake *FakeTaskController) CancelTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) CompleteTask ¶
func (*FakeTaskController) CompleteTaskArgsForCall ¶
func (*FakeTaskController) CompleteTaskCallCount ¶
func (fake *FakeTaskController) CompleteTaskCallCount() int
func (*FakeTaskController) CompleteTaskCalls ¶
func (*FakeTaskController) CompleteTaskReturns ¶
func (fake *FakeTaskController) CompleteTaskReturns(result1 error)
func (*FakeTaskController) CompleteTaskReturnsOnCall ¶
func (fake *FakeTaskController) CompleteTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) ConvergeTasks ¶
func (*FakeTaskController) ConvergeTasksArgsForCall ¶
func (*FakeTaskController) ConvergeTasksCallCount ¶
func (fake *FakeTaskController) ConvergeTasksCallCount() int
func (*FakeTaskController) ConvergeTasksCalls ¶
func (*FakeTaskController) ConvergeTasksReturns ¶
func (fake *FakeTaskController) ConvergeTasksReturns(result1 error)
func (*FakeTaskController) ConvergeTasksReturnsOnCall ¶
func (fake *FakeTaskController) ConvergeTasksReturnsOnCall(i int, result1 error)
func (*FakeTaskController) DeleteTask ¶
func (*FakeTaskController) DeleteTaskArgsForCall ¶
func (*FakeTaskController) DeleteTaskCallCount ¶
func (fake *FakeTaskController) DeleteTaskCallCount() int
func (*FakeTaskController) DeleteTaskCalls ¶
func (*FakeTaskController) DeleteTaskReturns ¶
func (fake *FakeTaskController) DeleteTaskReturns(result1 error)
func (*FakeTaskController) DeleteTaskReturnsOnCall ¶
func (fake *FakeTaskController) DeleteTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) DesireTask ¶
func (fake *FakeTaskController) DesireTask(arg1 context.Context, arg2 lager.Logger, arg3 *models.TaskDefinition, arg4 string, arg5 string) error
func (*FakeTaskController) DesireTaskArgsForCall ¶
func (fake *FakeTaskController) DesireTaskArgsForCall(i int) (context.Context, lager.Logger, *models.TaskDefinition, string, string)
func (*FakeTaskController) DesireTaskCallCount ¶
func (fake *FakeTaskController) DesireTaskCallCount() int
func (*FakeTaskController) DesireTaskCalls ¶
func (fake *FakeTaskController) DesireTaskCalls(stub func(context.Context, lager.Logger, *models.TaskDefinition, string, string) error)
func (*FakeTaskController) DesireTaskReturns ¶
func (fake *FakeTaskController) DesireTaskReturns(result1 error)
func (*FakeTaskController) DesireTaskReturnsOnCall ¶
func (fake *FakeTaskController) DesireTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) FailTaskArgsForCall ¶
func (*FakeTaskController) FailTaskCallCount ¶
func (fake *FakeTaskController) FailTaskCallCount() int
func (*FakeTaskController) FailTaskCalls ¶
func (*FakeTaskController) FailTaskReturns ¶
func (fake *FakeTaskController) FailTaskReturns(result1 error)
func (*FakeTaskController) FailTaskReturnsOnCall ¶
func (fake *FakeTaskController) FailTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) Invocations ¶
func (fake *FakeTaskController) Invocations() map[string][][]interface{}
func (*FakeTaskController) RejectTask ¶
func (*FakeTaskController) RejectTaskArgsForCall ¶
func (*FakeTaskController) RejectTaskCallCount ¶
func (fake *FakeTaskController) RejectTaskCallCount() int
func (*FakeTaskController) RejectTaskCalls ¶
func (*FakeTaskController) RejectTaskReturns ¶
func (fake *FakeTaskController) RejectTaskReturns(result1 error)
func (*FakeTaskController) RejectTaskReturnsOnCall ¶
func (fake *FakeTaskController) RejectTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) ResolvingTask ¶
func (*FakeTaskController) ResolvingTaskArgsForCall ¶
func (*FakeTaskController) ResolvingTaskCallCount ¶
func (fake *FakeTaskController) ResolvingTaskCallCount() int
func (*FakeTaskController) ResolvingTaskCalls ¶
func (*FakeTaskController) ResolvingTaskReturns ¶
func (fake *FakeTaskController) ResolvingTaskReturns(result1 error)
func (*FakeTaskController) ResolvingTaskReturnsOnCall ¶
func (fake *FakeTaskController) ResolvingTaskReturnsOnCall(i int, result1 error)
func (*FakeTaskController) StartTaskArgsForCall ¶
func (*FakeTaskController) StartTaskCallCount ¶
func (fake *FakeTaskController) StartTaskCallCount() int
func (*FakeTaskController) StartTaskCalls ¶
func (*FakeTaskController) StartTaskReturns ¶
func (fake *FakeTaskController) StartTaskReturns(result1 bool, result2 error)
func (*FakeTaskController) StartTaskReturnsOnCall ¶
func (fake *FakeTaskController) StartTaskReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeTaskController) TaskByGuid ¶
func (*FakeTaskController) TaskByGuidArgsForCall ¶
func (*FakeTaskController) TaskByGuidCallCount ¶
func (fake *FakeTaskController) TaskByGuidCallCount() int
func (*FakeTaskController) TaskByGuidCalls ¶
func (*FakeTaskController) TaskByGuidReturns ¶
func (fake *FakeTaskController) TaskByGuidReturns(result1 *models.Task, result2 error)
func (*FakeTaskController) TaskByGuidReturnsOnCall ¶
func (fake *FakeTaskController) TaskByGuidReturnsOnCall(i int, result1 *models.Task, result2 error)
func (*FakeTaskController) TasksArgsForCall ¶
func (*FakeTaskController) TasksCallCount ¶
func (fake *FakeTaskController) TasksCallCount() int
func (*FakeTaskController) TasksCalls ¶
func (*FakeTaskController) TasksReturns ¶
func (fake *FakeTaskController) TasksReturns(result1 []*models.Task, result2 error)
func (*FakeTaskController) TasksReturnsOnCall ¶
func (fake *FakeTaskController) TasksReturnsOnCall(i int, result1 []*models.Task, result2 error)
Click to show internal directories.
Click to hide internal directories.