mock_hotsync

package
v0.3.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync-node/nodesync/hotsync (interfaces: HotSync)

Generated by this command:

mockgen -destination mock_hotsync/mock_hotsync.go github.com/anyproto/any-sync-node/nodesync/hotsync HotSync

Package mock_hotsync is a generated GoMock package.

Index

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) Init

func (m *MockHotSync) Init(arg0 *app.App) error

Init mocks base method.

func (*MockHotSync) Name

func (m *MockHotSync) Name() string

Name mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL