Documentation ¶
Overview ¶
Package mock_syncdeps is a generated GoMock package.
Index ¶
- type MockObjectSyncHandler
- func (m *MockObjectSyncHandler) EXPECT() *MockObjectSyncHandlerMockRecorder
- func (m *MockObjectSyncHandler) HandleDeprecatedRequest(ctx context.Context, req *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockObjectSyncHandler) HandleHeadUpdate(ctx context.Context, statusUpdater syncstatus.StatusUpdater, ...) (syncdeps.Request, error)
- func (m *MockObjectSyncHandler) HandleResponse(ctx context.Context, peerId, objectId string, resp syncdeps.Response) error
- func (m *MockObjectSyncHandler) HandleStreamRequest(ctx context.Context, rq syncdeps.Request, updater syncdeps.QueueSizeUpdater, ...) (syncdeps.Request, error)
- func (m *MockObjectSyncHandler) ResponseCollector() syncdeps.ResponseCollector
- type MockObjectSyncHandlerMockRecorder
- func (mr *MockObjectSyncHandlerMockRecorder) HandleDeprecatedRequest(ctx, req any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) HandleHeadUpdate(ctx, statusUpdater, headUpdate any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) HandleResponse(ctx, peerId, objectId, resp any) *gomock.Call
- func (mr *MockObjectSyncHandlerMockRecorder) HandleStreamRequest(ctx, rq, updater, send 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(ctx context.Context, req *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
HandleDeprecatedRequest mocks base method.
func (*MockObjectSyncHandler) HandleHeadUpdate ¶
func (m *MockObjectSyncHandler) HandleHeadUpdate(ctx context.Context, statusUpdater syncstatus.StatusUpdater, headUpdate drpc.Message) (syncdeps.Request, error)
HandleHeadUpdate mocks base method.
func (*MockObjectSyncHandler) HandleResponse ¶
func (m *MockObjectSyncHandler) HandleResponse(ctx context.Context, peerId, objectId string, resp syncdeps.Response) error
HandleResponse mocks base method.
func (*MockObjectSyncHandler) HandleStreamRequest ¶
func (m *MockObjectSyncHandler) HandleStreamRequest(ctx context.Context, rq syncdeps.Request, updater syncdeps.QueueSizeUpdater, send 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(ctx, req any) *gomock.Call
HandleDeprecatedRequest indicates an expected call of HandleDeprecatedRequest.
func (*MockObjectSyncHandlerMockRecorder) HandleHeadUpdate ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleHeadUpdate(ctx, statusUpdater, headUpdate any) *gomock.Call
HandleHeadUpdate indicates an expected call of HandleHeadUpdate.
func (*MockObjectSyncHandlerMockRecorder) HandleResponse ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleResponse(ctx, peerId, objectId, resp any) *gomock.Call
HandleResponse indicates an expected call of HandleResponse.
func (*MockObjectSyncHandlerMockRecorder) HandleStreamRequest ¶
func (mr *MockObjectSyncHandlerMockRecorder) HandleStreamRequest(ctx, rq, updater, send 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(ctx context.Context, rq syncdeps.Request, collector 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(ctx, rq, collector 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(ctx context.Context, peerId, objectId string, resp 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(ctx, peerId, objectId, resp 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.