Documentation ¶
Overview ¶
Package mock_syncdeps is a generated GoMock package.
Index ¶
- type MockObjectSyncHandler
- func (m *MockObjectSyncHandler) EXPECT() *MockObjectSyncHandlerMockRecorder
- func (m *MockObjectSyncHandler) HandleDeprecatedRequest(arg0 context.Context, arg1 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockObjectSyncHandler) HandleHeadUpdate(arg0 context.Context, arg1 syncstatus.StatusUpdater, arg2 drpc.Message) (syncdeps.Request, error)
- func (m *MockObjectSyncHandler) HandleResponse(arg0 context.Context, arg1, arg2 string, arg3 syncdeps.Response) error
- func (m *MockObjectSyncHandler) HandleStreamRequest(arg0 context.Context, arg1 syncdeps.Request, arg2 syncdeps.QueueSizeUpdater, ...) (syncdeps.Request, error)
- func (m *MockObjectSyncHandler) ResponseCollector() syncdeps.ResponseCollector
- type MockObjectSyncHandlerMockRecorder
- func (mr *MockObjectSyncHandlerMockRecorder) HandleDeprecatedRequest(arg0, arg1 any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) HandleHeadUpdate(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) HandleResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) HandleStreamRequest(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) ResponseCollector() *gomock.Call
- type MockRequestSender
- type MockRequestSenderMockRecorder
- type MockResponseCollector
- type MockResponseCollectorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectSyncHandler ¶
type MockObjectSyncHandler struct {
// contains filtered or unexported fields
}
MockObjectSyncHandler is a mock of ObjectSyncHandler interface.
func NewMockObjectSyncHandler ¶
func NewMockObjectSyncHandler(ctrl *gomock.Controller) *MockObjectSyncHandler
NewMockObjectSyncHandler creates a new mock instance.
func (*MockObjectSyncHandler) EXPECT ¶
func (m *MockObjectSyncHandler) EXPECT() *MockObjectSyncHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectSyncHandler) HandleDeprecatedRequest ¶
func (m *MockObjectSyncHandler) HandleDeprecatedRequest(arg0 context.Context, arg1 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
HandleDeprecatedRequest mocks base method.
func (*MockObjectSyncHandler) HandleHeadUpdate ¶
func (m *MockObjectSyncHandler) HandleHeadUpdate(arg0 context.Context, arg1 syncstatus.StatusUpdater, arg2 drpc.Message) (syncdeps.Request, error)
HandleHeadUpdate mocks base method.
func (*MockObjectSyncHandler) HandleResponse ¶
func (m *MockObjectSyncHandler) HandleResponse(arg0 context.Context, arg1, arg2 string, arg3 syncdeps.Response) error
HandleResponse mocks base method.
func (*MockObjectSyncHandler) HandleStreamRequest ¶
func (m *MockObjectSyncHandler) HandleStreamRequest(arg0 context.Context, arg1 syncdeps.Request, arg2 syncdeps.QueueSizeUpdater, arg3 func(proto.Message) error) (syncdeps.Request, error)
HandleStreamRequest mocks base method.
func (*MockObjectSyncHandler) ResponseCollector ¶
func (m *MockObjectSyncHandler) ResponseCollector() syncdeps.ResponseCollector
ResponseCollector mocks base method.
type MockObjectSyncHandlerMockRecorder ¶
type MockObjectSyncHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectSyncHandlerMockRecorder is the mock recorder for MockObjectSyncHandler.
func (*MockObjectSyncHandlerMockRecorder) HandleDeprecatedRequest ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleDeprecatedRequest(arg0, arg1 any) *gomock.Call
HandleDeprecatedRequest indicates an expected call of HandleDeprecatedRequest.
func (*MockObjectSyncHandlerMockRecorder) HandleHeadUpdate ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleHeadUpdate(arg0, arg1, arg2 any) *gomock.Call
HandleHeadUpdate indicates an expected call of HandleHeadUpdate.
func (*MockObjectSyncHandlerMockRecorder) HandleResponse ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
HandleResponse indicates an expected call of HandleResponse.
func (*MockObjectSyncHandlerMockRecorder) HandleStreamRequest ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleStreamRequest(arg0, arg1, arg2, arg3 any) *gomock.Call
HandleStreamRequest indicates an expected call of HandleStreamRequest.
func (*MockObjectSyncHandlerMockRecorder) ResponseCollector ¶
func (mr *MockObjectSyncHandlerMockRecorder) ResponseCollector() *gomock.Call
ResponseCollector indicates an expected call of ResponseCollector.
type MockRequestSender ¶
type MockRequestSender struct {
// contains filtered or unexported fields
}
MockRequestSender is a mock of RequestSender interface.
func NewMockRequestSender ¶
func NewMockRequestSender(ctrl *gomock.Controller) *MockRequestSender
NewMockRequestSender creates a new mock instance.
func (*MockRequestSender) EXPECT ¶
func (m *MockRequestSender) EXPECT() *MockRequestSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestSender) SendRequest ¶
func (m *MockRequestSender) SendRequest(arg0 context.Context, arg1 syncdeps.Request, arg2 syncdeps.ResponseCollector) error
SendRequest mocks base method.
type MockRequestSenderMockRecorder ¶
type MockRequestSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestSenderMockRecorder is the mock recorder for MockRequestSender.
func (*MockRequestSenderMockRecorder) SendRequest ¶
func (mr *MockRequestSenderMockRecorder) SendRequest(arg0, arg1, arg2 any) *gomock.Call
SendRequest indicates an expected call of SendRequest.
type MockResponseCollector ¶
type MockResponseCollector struct {
// contains filtered or unexported fields
}
MockResponseCollector is a mock of ResponseCollector interface.
func NewMockResponseCollector ¶
func NewMockResponseCollector(ctrl *gomock.Controller) *MockResponseCollector
NewMockResponseCollector creates a new mock instance.
func (*MockResponseCollector) CollectResponse ¶
func (m *MockResponseCollector) CollectResponse(arg0 context.Context, arg1, arg2 string, arg3 syncdeps.Response) error
CollectResponse mocks base method.
func (*MockResponseCollector) EXPECT ¶
func (m *MockResponseCollector) EXPECT() *MockResponseCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResponseCollector) NewResponse ¶
func (m *MockResponseCollector) NewResponse() syncdeps.Response
NewResponse mocks base method.
type MockResponseCollectorMockRecorder ¶
type MockResponseCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseCollectorMockRecorder is the mock recorder for MockResponseCollector.
func (*MockResponseCollectorMockRecorder) CollectResponse ¶
func (mr *MockResponseCollectorMockRecorder) CollectResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
CollectResponse indicates an expected call of CollectResponse.
func (*MockResponseCollectorMockRecorder) NewResponse ¶
func (mr *MockResponseCollectorMockRecorder) NewResponse() *gomock.Call
NewResponse indicates an expected call of NewResponse.