Documentation ¶
Overview ¶
Package mock_objectsync is a generated GoMock package.
Index ¶
- type MockSyncClient
- func (m *MockSyncClient) Broadcast(arg0 context.Context, arg1 *treechangeproto.TreeSyncMessage)
- func (m *MockSyncClient) CreateFullSyncRequest(arg0 objecttree.ObjectTree, arg1, arg2 []string) (*treechangeproto.TreeSyncMessage, error)
- func (m *MockSyncClient) CreateFullSyncResponse(arg0 objecttree.ObjectTree, arg1, arg2 []string) (*treechangeproto.TreeSyncMessage, error)
- func (m *MockSyncClient) CreateHeadUpdate(arg0 objecttree.ObjectTree, arg1 []*treechangeproto.RawTreeChangeWithId) *treechangeproto.TreeSyncMessage
- func (m *MockSyncClient) CreateNewTreeRequest() *treechangeproto.TreeSyncMessage
- func (m *MockSyncClient) EXPECT() *MockSyncClientMockRecorder
- func (m *MockSyncClient) MessagePool() objectsync.MessagePool
- func (m *MockSyncClient) SendSync(arg0 context.Context, arg1, arg2 string, arg3 *treechangeproto.TreeSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockSyncClient) SendWithReply(arg0 context.Context, arg1, arg2 string, arg3 *treechangeproto.TreeSyncMessage, ...) error
- type MockSyncClientMockRecorder
- func (mr *MockSyncClientMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateFullSyncRequest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateFullSyncResponse(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateHeadUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CreateNewTreeRequest() *gomock.Call
- func (mr *MockSyncClientMockRecorder) MessagePool() *gomock.Call
- func (mr *MockSyncClientMockRecorder) SendSync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSyncClientMockRecorder) SendWithReply(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSyncClient ¶
type MockSyncClient struct {
// contains filtered or unexported fields
}
MockSyncClient is a mock of SyncClient interface.
func NewMockSyncClient ¶
func NewMockSyncClient(ctrl *gomock.Controller) *MockSyncClient
NewMockSyncClient creates a new mock instance.
func (*MockSyncClient) Broadcast ¶
func (m *MockSyncClient) Broadcast(arg0 context.Context, arg1 *treechangeproto.TreeSyncMessage)
Broadcast mocks base method.
func (*MockSyncClient) CreateFullSyncRequest ¶
func (m *MockSyncClient) CreateFullSyncRequest(arg0 objecttree.ObjectTree, arg1, arg2 []string) (*treechangeproto.TreeSyncMessage, error)
CreateFullSyncRequest mocks base method.
func (*MockSyncClient) CreateFullSyncResponse ¶
func (m *MockSyncClient) CreateFullSyncResponse(arg0 objecttree.ObjectTree, arg1, arg2 []string) (*treechangeproto.TreeSyncMessage, error)
CreateFullSyncResponse mocks base method.
func (*MockSyncClient) CreateHeadUpdate ¶
func (m *MockSyncClient) CreateHeadUpdate(arg0 objecttree.ObjectTree, arg1 []*treechangeproto.RawTreeChangeWithId) *treechangeproto.TreeSyncMessage
CreateHeadUpdate mocks base method.
func (*MockSyncClient) CreateNewTreeRequest ¶
func (m *MockSyncClient) CreateNewTreeRequest() *treechangeproto.TreeSyncMessage
CreateNewTreeRequest mocks base method.
func (*MockSyncClient) EXPECT ¶
func (m *MockSyncClient) EXPECT() *MockSyncClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncClient) MessagePool ¶
func (m *MockSyncClient) MessagePool() objectsync.MessagePool
MessagePool mocks base method.
func (*MockSyncClient) SendSync ¶
func (m *MockSyncClient) SendSync(arg0 context.Context, arg1, arg2 string, arg3 *treechangeproto.TreeSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
SendSync mocks base method.
func (*MockSyncClient) SendWithReply ¶
func (m *MockSyncClient) SendWithReply(arg0 context.Context, arg1, arg2 string, arg3 *treechangeproto.TreeSyncMessage, arg4 string) error
SendWithReply mocks base method.
type MockSyncClientMockRecorder ¶
type MockSyncClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncClientMockRecorder is the mock recorder for MockSyncClient.
func (*MockSyncClientMockRecorder) Broadcast ¶
func (mr *MockSyncClientMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
Broadcast indicates an expected call of Broadcast.
func (*MockSyncClientMockRecorder) CreateFullSyncRequest ¶
func (mr *MockSyncClientMockRecorder) CreateFullSyncRequest(arg0, arg1, arg2 interface{}) *gomock.Call
CreateFullSyncRequest indicates an expected call of CreateFullSyncRequest.
func (*MockSyncClientMockRecorder) CreateFullSyncResponse ¶
func (mr *MockSyncClientMockRecorder) CreateFullSyncResponse(arg0, arg1, arg2 interface{}) *gomock.Call
CreateFullSyncResponse indicates an expected call of CreateFullSyncResponse.
func (*MockSyncClientMockRecorder) CreateHeadUpdate ¶
func (mr *MockSyncClientMockRecorder) CreateHeadUpdate(arg0, arg1 interface{}) *gomock.Call
CreateHeadUpdate indicates an expected call of CreateHeadUpdate.
func (*MockSyncClientMockRecorder) CreateNewTreeRequest ¶
func (mr *MockSyncClientMockRecorder) CreateNewTreeRequest() *gomock.Call
CreateNewTreeRequest indicates an expected call of CreateNewTreeRequest.
func (*MockSyncClientMockRecorder) MessagePool ¶
func (mr *MockSyncClientMockRecorder) MessagePool() *gomock.Call
MessagePool indicates an expected call of MessagePool.
func (*MockSyncClientMockRecorder) SendSync ¶
func (mr *MockSyncClientMockRecorder) SendSync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendSync indicates an expected call of SendSync.
func (*MockSyncClientMockRecorder) SendWithReply ¶
func (mr *MockSyncClientMockRecorder) SendWithReply(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SendWithReply indicates an expected call of SendWithReply.