mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
1305c14e49
* feat: handle instanceID in projections * rename functions * fix key lock * fix import
50 lines
1.4 KiB
Go
50 lines
1.4 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: spooler.go
|
|
|
|
// Package mock is a generated GoMock package.
|
|
package mock
|
|
|
|
import (
|
|
reflect "reflect"
|
|
time "time"
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
)
|
|
|
|
// MockLocker is a mock of Locker interface.
|
|
type MockLocker struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockLockerMockRecorder
|
|
}
|
|
|
|
// MockLockerMockRecorder is the mock recorder for MockLocker.
|
|
type MockLockerMockRecorder struct {
|
|
mock *MockLocker
|
|
}
|
|
|
|
// NewMockLocker creates a new mock instance.
|
|
func NewMockLocker(ctrl *gomock.Controller) *MockLocker {
|
|
mock := &MockLocker{ctrl: ctrl}
|
|
mock.recorder = &MockLockerMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockLocker) EXPECT() *MockLockerMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// Renew mocks base method.
|
|
func (m *MockLocker) Renew(lockerID, viewModel, instanceID string, waitTime time.Duration) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Renew", lockerID, viewModel, instanceID, waitTime)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// Renew indicates an expected call of Renew.
|
|
func (mr *MockLockerMockRecorder) Renew(lockerID, viewModel, instanceID, waitTime interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Renew", reflect.TypeOf((*MockLocker)(nil).Renew), lockerID, viewModel, instanceID, waitTime)
|
|
}
|