Documentation ¶
Overview ¶
Package mock_hotsync is a generated GoMock package.
Index ¶
- type MockHotSync
- func (m *MockHotSync) Close(arg0 context.Context) error
- func (m *MockHotSync) EXPECT() *MockHotSyncMockRecorder
- func (m *MockHotSync) Init(arg0 *app.App) error
- func (m *MockHotSync) Name() string
- func (m *MockHotSync) Run(arg0 context.Context) error
- func (m *MockHotSync) SetMetric(arg0, arg1 *atomic.Uint32)
- func (m *MockHotSync) UpdateQueue(arg0 []string)
- type MockHotSyncMockRecorder
- func (mr *MockHotSyncMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockHotSyncMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockHotSyncMockRecorder) Name() *gomock.Call
- func (mr *MockHotSyncMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockHotSyncMockRecorder) SetMetric(arg0, arg1 any) *gomock.Call
- func (mr *MockHotSyncMockRecorder) UpdateQueue(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHotSync ¶
type MockHotSync struct {
// contains filtered or unexported fields
}
MockHotSync is a mock of HotSync interface.
func NewMockHotSync ¶
func NewMockHotSync(ctrl *gomock.Controller) *MockHotSync
NewMockHotSync creates a new mock instance.
func (*MockHotSync) Close ¶
func (m *MockHotSync) Close(arg0 context.Context) error
Close mocks base method.
func (*MockHotSync) EXPECT ¶
func (m *MockHotSync) EXPECT() *MockHotSyncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHotSync) Run ¶
func (m *MockHotSync) Run(arg0 context.Context) error
Run mocks base method.
func (*MockHotSync) SetMetric ¶
func (m *MockHotSync) SetMetric(arg0, arg1 *atomic.Uint32)
SetMetric mocks base method.
func (*MockHotSync) UpdateQueue ¶
func (m *MockHotSync) UpdateQueue(arg0 []string)
UpdateQueue mocks base method.
type MockHotSyncMockRecorder ¶
type MockHotSyncMockRecorder struct {
// contains filtered or unexported fields
}
MockHotSyncMockRecorder is the mock recorder for MockHotSync.
func (*MockHotSyncMockRecorder) Close ¶
func (mr *MockHotSyncMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockHotSyncMockRecorder) Init ¶
func (mr *MockHotSyncMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockHotSyncMockRecorder) Name ¶
func (mr *MockHotSyncMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockHotSyncMockRecorder) Run ¶
func (mr *MockHotSyncMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockHotSyncMockRecorder) SetMetric ¶
func (mr *MockHotSyncMockRecorder) SetMetric(arg0, arg1 any) *gomock.Call
SetMetric indicates an expected call of SetMetric.
func (*MockHotSyncMockRecorder) UpdateQueue ¶
func (mr *MockHotSyncMockRecorder) UpdateQueue(arg0 any) *gomock.Call
UpdateQueue indicates an expected call of UpdateQueue.