Documentation ¶
Overview ¶
Package mock_spacesyncproto is a generated GoMock package.
Index ¶
- type MockDRPCSpaceSyncClient
- func (m *MockDRPCSpaceSyncClient) AclAddRecord(arg0 context.Context, arg1 *spacesyncproto.AclAddRecordRequest) (*spacesyncproto.AclAddRecordResponse, error)
- func (m *MockDRPCSpaceSyncClient) AclGetRecords(arg0 context.Context, arg1 *spacesyncproto.AclGetRecordsRequest) (*spacesyncproto.AclGetRecordsResponse, error)
- func (m *MockDRPCSpaceSyncClient) DRPCConn() drpc.Conn
- func (m *MockDRPCSpaceSyncClient) EXPECT() *MockDRPCSpaceSyncClientMockRecorder
- func (m *MockDRPCSpaceSyncClient) HeadSync(arg0 context.Context, arg1 *spacesyncproto.HeadSyncRequest) (*spacesyncproto.HeadSyncResponse, error)
- func (m *MockDRPCSpaceSyncClient) ObjectSync(arg0 context.Context, arg1 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
- func (m *MockDRPCSpaceSyncClient) ObjectSyncStream(arg0 context.Context) (spacesyncproto.DRPCSpaceSync_ObjectSyncStreamClient, error)
- func (m *MockDRPCSpaceSyncClient) SpacePull(arg0 context.Context, arg1 *spacesyncproto.SpacePullRequest) (*spacesyncproto.SpacePullResponse, error)
- func (m *MockDRPCSpaceSyncClient) SpacePush(arg0 context.Context, arg1 *spacesyncproto.SpacePushRequest) (*spacesyncproto.SpacePushResponse, error)
- type MockDRPCSpaceSyncClientMockRecorder
- func (mr *MockDRPCSpaceSyncClientMockRecorder) AclAddRecord(arg0, arg1 any) *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) AclGetRecords(arg0, arg1 any) *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) DRPCConn() *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) HeadSync(arg0, arg1 any) *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSync(arg0, arg1 any) *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSyncStream(arg0 any) *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) SpacePull(arg0, arg1 any) *gomock.Call
- func (mr *MockDRPCSpaceSyncClientMockRecorder) SpacePush(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDRPCSpaceSyncClient ¶
type MockDRPCSpaceSyncClient struct {
// contains filtered or unexported fields
}
MockDRPCSpaceSyncClient is a mock of DRPCSpaceSyncClient interface.
func NewMockDRPCSpaceSyncClient ¶
func NewMockDRPCSpaceSyncClient(ctrl *gomock.Controller) *MockDRPCSpaceSyncClient
NewMockDRPCSpaceSyncClient creates a new mock instance.
func (*MockDRPCSpaceSyncClient) AclAddRecord ¶ added in v0.2.15
func (m *MockDRPCSpaceSyncClient) AclAddRecord(arg0 context.Context, arg1 *spacesyncproto.AclAddRecordRequest) (*spacesyncproto.AclAddRecordResponse, error)
AclAddRecord mocks base method.
func (*MockDRPCSpaceSyncClient) AclGetRecords ¶ added in v0.2.15
func (m *MockDRPCSpaceSyncClient) AclGetRecords(arg0 context.Context, arg1 *spacesyncproto.AclGetRecordsRequest) (*spacesyncproto.AclGetRecordsResponse, error)
AclGetRecords mocks base method.
func (*MockDRPCSpaceSyncClient) DRPCConn ¶
func (m *MockDRPCSpaceSyncClient) DRPCConn() drpc.Conn
DRPCConn mocks base method.
func (*MockDRPCSpaceSyncClient) EXPECT ¶
func (m *MockDRPCSpaceSyncClient) EXPECT() *MockDRPCSpaceSyncClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDRPCSpaceSyncClient) HeadSync ¶
func (m *MockDRPCSpaceSyncClient) HeadSync(arg0 context.Context, arg1 *spacesyncproto.HeadSyncRequest) (*spacesyncproto.HeadSyncResponse, error)
HeadSync mocks base method.
func (*MockDRPCSpaceSyncClient) ObjectSync ¶ added in v0.2.0
func (m *MockDRPCSpaceSyncClient) ObjectSync(arg0 context.Context, arg1 *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)
ObjectSync mocks base method.
func (*MockDRPCSpaceSyncClient) ObjectSyncStream ¶
func (m *MockDRPCSpaceSyncClient) ObjectSyncStream(arg0 context.Context) (spacesyncproto.DRPCSpaceSync_ObjectSyncStreamClient, error)
ObjectSyncStream mocks base method.
func (*MockDRPCSpaceSyncClient) SpacePull ¶
func (m *MockDRPCSpaceSyncClient) SpacePull(arg0 context.Context, arg1 *spacesyncproto.SpacePullRequest) (*spacesyncproto.SpacePullResponse, error)
SpacePull mocks base method.
func (*MockDRPCSpaceSyncClient) SpacePush ¶
func (m *MockDRPCSpaceSyncClient) SpacePush(arg0 context.Context, arg1 *spacesyncproto.SpacePushRequest) (*spacesyncproto.SpacePushResponse, error)
SpacePush mocks base method.
type MockDRPCSpaceSyncClientMockRecorder ¶
type MockDRPCSpaceSyncClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDRPCSpaceSyncClientMockRecorder is the mock recorder for MockDRPCSpaceSyncClient.
func (*MockDRPCSpaceSyncClientMockRecorder) AclAddRecord ¶ added in v0.2.15
func (mr *MockDRPCSpaceSyncClientMockRecorder) AclAddRecord(arg0, arg1 any) *gomock.Call
AclAddRecord indicates an expected call of AclAddRecord.
func (*MockDRPCSpaceSyncClientMockRecorder) AclGetRecords ¶ added in v0.2.15
func (mr *MockDRPCSpaceSyncClientMockRecorder) AclGetRecords(arg0, arg1 any) *gomock.Call
AclGetRecords indicates an expected call of AclGetRecords.
func (*MockDRPCSpaceSyncClientMockRecorder) DRPCConn ¶
func (mr *MockDRPCSpaceSyncClientMockRecorder) DRPCConn() *gomock.Call
DRPCConn indicates an expected call of DRPCConn.
func (*MockDRPCSpaceSyncClientMockRecorder) HeadSync ¶
func (mr *MockDRPCSpaceSyncClientMockRecorder) HeadSync(arg0, arg1 any) *gomock.Call
HeadSync indicates an expected call of HeadSync.
func (*MockDRPCSpaceSyncClientMockRecorder) ObjectSync ¶ added in v0.2.0
func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSync(arg0, arg1 any) *gomock.Call
ObjectSync indicates an expected call of ObjectSync.
func (*MockDRPCSpaceSyncClientMockRecorder) ObjectSyncStream ¶
func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSyncStream(arg0 any) *gomock.Call
ObjectSyncStream indicates an expected call of ObjectSyncStream.