Documentation ¶
Overview ¶
Package mock_objectsync is a generated GoMock package.
Index ¶
- type MockObjectSync
- func (m *MockObjectSync) Close(arg0 context.Context) error
- func (m *MockObjectSync) CloseThread(arg0 string) error
- func (m *MockObjectSync) EXPECT() *MockObjectSyncMockRecorder
- func (m *MockObjectSync) HandleMessage(arg0 context.Context, arg1 objectsync.HandleMessage) error
- func (m *MockObjectSync) HandleRequest(arg0 context.Context, arg1 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockObjectSync) Init(arg0 *app.App) error
- func (m *MockObjectSync) LastUsage() time.Time
- func (m *MockObjectSync) Name() string
- func (m *MockObjectSync) Run(arg0 context.Context) error
- type MockObjectSyncMockRecorder
- func (mr *MockObjectSyncMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockObjectSyncMockRecorder) CloseThread(arg0 any) *gomock.Call
- func (mr *MockObjectSyncMockRecorder) HandleMessage(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectSyncMockRecorder) HandleRequest(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectSyncMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockObjectSyncMockRecorder) LastUsage() *gomock.Call
- func (mr *MockObjectSyncMockRecorder) Name() *gomock.Call
- func (mr *MockObjectSyncMockRecorder) Run(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectSync ¶ added in v0.2.0
type MockObjectSync struct {
// contains filtered or unexported fields
}
MockObjectSync is a mock of ObjectSync interface.
func NewMockObjectSync ¶ added in v0.2.0
func NewMockObjectSync(ctrl *gomock.Controller) *MockObjectSync
NewMockObjectSync creates a new mock instance.
func (*MockObjectSync) Close ¶ added in v0.2.0
func (m *MockObjectSync) Close(arg0 context.Context) error
Close mocks base method.
func (*MockObjectSync) CloseThread ¶ added in v0.2.0
func (m *MockObjectSync) CloseThread(arg0 string) error
CloseThread mocks base method.
func (*MockObjectSync) EXPECT ¶ added in v0.2.0
func (m *MockObjectSync) EXPECT() *MockObjectSyncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectSync) HandleMessage ¶ added in v0.2.0
func (m *MockObjectSync) HandleMessage(arg0 context.Context, arg1 objectsync.HandleMessage) error
HandleMessage mocks base method.
func (*MockObjectSync) HandleRequest ¶ added in v0.2.0
func (m *MockObjectSync) HandleRequest(arg0 context.Context, arg1 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
HandleRequest mocks base method.
func (*MockObjectSync) Init ¶ added in v0.2.0
func (m *MockObjectSync) Init(arg0 *app.App) error
Init mocks base method.
func (*MockObjectSync) LastUsage ¶ added in v0.2.0
func (m *MockObjectSync) LastUsage() time.Time
LastUsage mocks base method.
func (*MockObjectSync) Name ¶ added in v0.2.0
func (m *MockObjectSync) Name() string
Name mocks base method.
type MockObjectSyncMockRecorder ¶ added in v0.2.0
type MockObjectSyncMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectSyncMockRecorder is the mock recorder for MockObjectSync.
func (*MockObjectSyncMockRecorder) Close ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockObjectSyncMockRecorder) CloseThread ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) CloseThread(arg0 any) *gomock.Call
CloseThread indicates an expected call of CloseThread.
func (*MockObjectSyncMockRecorder) HandleMessage ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) HandleMessage(arg0, arg1 any) *gomock.Call
HandleMessage indicates an expected call of HandleMessage.
func (*MockObjectSyncMockRecorder) HandleRequest ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) HandleRequest(arg0, arg1 any) *gomock.Call
HandleRequest indicates an expected call of HandleRequest.
func (*MockObjectSyncMockRecorder) Init ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockObjectSyncMockRecorder) LastUsage ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) LastUsage() *gomock.Call
LastUsage indicates an expected call of LastUsage.
func (*MockObjectSyncMockRecorder) Name ¶ added in v0.2.0
func (mr *MockObjectSyncMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.