mock_objectsync

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_objectsync is a generated GoMock package.

Index

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

CreateHeadUpdate mocks base method.

func (*MockSyncClient) CreateNewTreeRequest

func (m *MockSyncClient) CreateNewTreeRequest() *treechangeproto.TreeSyncMessage

CreateNewTreeRequest mocks base method.

func (*MockSyncClient) EXPECT

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

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.

Jump to

Keyboard shortcuts

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