121
122
// GetWorkflowLease mocks base method.
123
>
func (m *MockWorkflowConsistencyChecker) GetWorkflowLease(ctx context.Context, reqClock *clock.VectorClock, workflowKey definition.WorkflowKey, lockPriority locks.Priority) (WorkflowLease, error) {
consistency_checker_mock.go
124
>
m.ctrl.T.Helper()
125
>
ret := m.ctrl.Call(m, "GetWorkflowLease", ctx, reqClock, workflowKey, lockPriority)
126
>
ret0, _ := ret[0].(WorkflowLease)
127
>
ret1, _ := ret[1].(error)
128
>
return ret0, ret1
129
>
}
130
131
// GetWorkflowLease indicates an expected call of GetWorkflowLease.
132
>
func (mr *MockWorkflowConsistencyCheckerMockRecorder) GetWorkflowLease(ctx, reqClock, workflowKey, lockPriority any) *gomock.Call {
consistency_checker_mock.go
133
>
mr.mock.ctrl.T.Helper()
134
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetWorkflowLease", reflect.TypeOf((*MockWorkflowConsistencyChecker)(nil).GetWorkflowLease), ctx, reqClock, workflowKey, lockPriority)
135
>
}
136
137
// GetWorkflowLeaseWithConsistencyCheck mocks base method.