mock

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogIOClient

type MockLogIOClient struct {
	// contains filtered or unexported fields
}

MockLogIOClient is a mock of LogIOClient interface.

func NewMockLogIOClient

func NewMockLogIOClient(ctrl *gomock.Controller) *MockLogIOClient

NewMockLogIOClient creates a new mock instance.

func (*MockLogIOClient) Append

Append mocks base method.

func (*MockLogIOClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogIOClient) LogStreamReplicaMetadata added in v0.4.1

LogStreamReplicaMetadata mocks base method.

func (*MockLogIOClient) Read

Read mocks base method.

func (*MockLogIOClient) Subscribe

Subscribe mocks base method.

func (*MockLogIOClient) SubscribeTo

SubscribeTo mocks base method.

func (*MockLogIOClient) TrimDeprecated

func (m *MockLogIOClient) TrimDeprecated(arg0 context.Context, arg1 *snpb.TrimDeprecatedRequest, arg2 ...grpc.CallOption) (*types.Empty, error)

TrimDeprecated mocks base method.

type MockLogIOClientMockRecorder

type MockLogIOClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogIOClientMockRecorder is the mock recorder for MockLogIOClient.

func (*MockLogIOClientMockRecorder) Append

func (mr *MockLogIOClientMockRecorder) Append(arg0 any, arg1 ...any) *gomock.Call

Append indicates an expected call of Append.

func (*MockLogIOClientMockRecorder) LogStreamReplicaMetadata added in v0.4.1

func (mr *MockLogIOClientMockRecorder) LogStreamReplicaMetadata(arg0, arg1 any, arg2 ...any) *gomock.Call

LogStreamReplicaMetadata indicates an expected call of LogStreamReplicaMetadata.

func (*MockLogIOClientMockRecorder) Read

func (mr *MockLogIOClientMockRecorder) Read(arg0, arg1 any, arg2 ...any) *gomock.Call

Read indicates an expected call of Read.

func (*MockLogIOClientMockRecorder) Subscribe

func (mr *MockLogIOClientMockRecorder) Subscribe(arg0, arg1 any, arg2 ...any) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockLogIOClientMockRecorder) SubscribeTo

func (mr *MockLogIOClientMockRecorder) SubscribeTo(arg0, arg1 any, arg2 ...any) *gomock.Call

SubscribeTo indicates an expected call of SubscribeTo.

func (*MockLogIOClientMockRecorder) TrimDeprecated

func (mr *MockLogIOClientMockRecorder) TrimDeprecated(arg0, arg1 any, arg2 ...any) *gomock.Call

TrimDeprecated indicates an expected call of TrimDeprecated.

type MockLogIOServer

type MockLogIOServer struct {
	// contains filtered or unexported fields
}

MockLogIOServer is a mock of LogIOServer interface.

func NewMockLogIOServer

func NewMockLogIOServer(ctrl *gomock.Controller) *MockLogIOServer

NewMockLogIOServer creates a new mock instance.

func (*MockLogIOServer) Append

func (m *MockLogIOServer) Append(arg0 snpb.LogIO_AppendServer) error

Append mocks base method.

func (*MockLogIOServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogIOServer) LogStreamReplicaMetadata added in v0.4.1

LogStreamReplicaMetadata mocks base method.

func (*MockLogIOServer) Read

Read mocks base method.

func (*MockLogIOServer) Subscribe

Subscribe mocks base method.

func (*MockLogIOServer) SubscribeTo

SubscribeTo mocks base method.

func (*MockLogIOServer) TrimDeprecated

func (m *MockLogIOServer) TrimDeprecated(arg0 context.Context, arg1 *snpb.TrimDeprecatedRequest) (*types.Empty, error)

TrimDeprecated mocks base method.

type MockLogIOServerMockRecorder

type MockLogIOServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogIOServerMockRecorder is the mock recorder for MockLogIOServer.

func (*MockLogIOServerMockRecorder) Append

func (mr *MockLogIOServerMockRecorder) Append(arg0 any) *gomock.Call

Append indicates an expected call of Append.

func (*MockLogIOServerMockRecorder) LogStreamReplicaMetadata added in v0.4.1

func (mr *MockLogIOServerMockRecorder) LogStreamReplicaMetadata(arg0, arg1 any) *gomock.Call

LogStreamReplicaMetadata indicates an expected call of LogStreamReplicaMetadata.

func (*MockLogIOServerMockRecorder) Read

func (mr *MockLogIOServerMockRecorder) Read(arg0, arg1 any) *gomock.Call

Read indicates an expected call of Read.

func (*MockLogIOServerMockRecorder) Subscribe

func (mr *MockLogIOServerMockRecorder) Subscribe(arg0, arg1 any) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockLogIOServerMockRecorder) SubscribeTo

func (mr *MockLogIOServerMockRecorder) SubscribeTo(arg0, arg1 any) *gomock.Call

SubscribeTo indicates an expected call of SubscribeTo.

func (*MockLogIOServerMockRecorder) TrimDeprecated

func (mr *MockLogIOServerMockRecorder) TrimDeprecated(arg0, arg1 any) *gomock.Call

TrimDeprecated indicates an expected call of TrimDeprecated.

type MockLogIO_AppendClient added in v0.14.0

type MockLogIO_AppendClient struct {
	// contains filtered or unexported fields
}

MockLogIO_AppendClient is a mock of LogIO_AppendClient interface.

func NewMockLogIO_AppendClient added in v0.14.0

func NewMockLogIO_AppendClient(ctrl *gomock.Controller) *MockLogIO_AppendClient

NewMockLogIO_AppendClient creates a new mock instance.

func (*MockLogIO_AppendClient) CloseSend added in v0.14.0

func (m *MockLogIO_AppendClient) CloseSend() error

CloseSend mocks base method.

func (*MockLogIO_AppendClient) Context added in v0.14.0

func (m *MockLogIO_AppendClient) Context() context.Context

Context mocks base method.

func (*MockLogIO_AppendClient) EXPECT added in v0.14.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogIO_AppendClient) Header added in v0.14.0

func (m *MockLogIO_AppendClient) Header() (metadata.MD, error)

Header mocks base method.

func (*MockLogIO_AppendClient) Recv added in v0.14.0

Recv mocks base method.

func (*MockLogIO_AppendClient) RecvMsg added in v0.14.0

func (m *MockLogIO_AppendClient) RecvMsg(arg0 any) error

RecvMsg mocks base method.

func (*MockLogIO_AppendClient) Send added in v0.14.0

Send mocks base method.

func (*MockLogIO_AppendClient) SendMsg added in v0.14.0

func (m *MockLogIO_AppendClient) SendMsg(arg0 any) error

SendMsg mocks base method.

func (*MockLogIO_AppendClient) Trailer added in v0.14.0

func (m *MockLogIO_AppendClient) Trailer() metadata.MD

Trailer mocks base method.

type MockLogIO_AppendClientMockRecorder added in v0.14.0

type MockLogIO_AppendClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogIO_AppendClientMockRecorder is the mock recorder for MockLogIO_AppendClient.

func (*MockLogIO_AppendClientMockRecorder) CloseSend added in v0.14.0

CloseSend indicates an expected call of CloseSend.

func (*MockLogIO_AppendClientMockRecorder) Context added in v0.14.0

Context indicates an expected call of Context.

func (*MockLogIO_AppendClientMockRecorder) Header added in v0.14.0

Header indicates an expected call of Header.

func (*MockLogIO_AppendClientMockRecorder) Recv added in v0.14.0

Recv indicates an expected call of Recv.

func (*MockLogIO_AppendClientMockRecorder) RecvMsg added in v0.14.0

RecvMsg indicates an expected call of RecvMsg.

func (*MockLogIO_AppendClientMockRecorder) Send added in v0.14.0

Send indicates an expected call of Send.

func (*MockLogIO_AppendClientMockRecorder) SendMsg added in v0.14.0

SendMsg indicates an expected call of SendMsg.

func (*MockLogIO_AppendClientMockRecorder) Trailer added in v0.14.0

Trailer indicates an expected call of Trailer.

type MockLogIO_SubscribeClient

type MockLogIO_SubscribeClient struct {
	// contains filtered or unexported fields
}

MockLogIO_SubscribeClient is a mock of LogIO_SubscribeClient interface.

func NewMockLogIO_SubscribeClient

func NewMockLogIO_SubscribeClient(ctrl *gomock.Controller) *MockLogIO_SubscribeClient

NewMockLogIO_SubscribeClient creates a new mock instance.

func (*MockLogIO_SubscribeClient) CloseSend

func (m *MockLogIO_SubscribeClient) CloseSend() error

CloseSend mocks base method.

func (*MockLogIO_SubscribeClient) Context

Context mocks base method.

func (*MockLogIO_SubscribeClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogIO_SubscribeClient) Header

func (m *MockLogIO_SubscribeClient) Header() (metadata.MD, error)

Header mocks base method.

func (*MockLogIO_SubscribeClient) Recv

Recv mocks base method.

func (*MockLogIO_SubscribeClient) RecvMsg

func (m *MockLogIO_SubscribeClient) RecvMsg(arg0 any) error

RecvMsg mocks base method.

func (*MockLogIO_SubscribeClient) SendMsg

func (m *MockLogIO_SubscribeClient) SendMsg(arg0 any) error

SendMsg mocks base method.

func (*MockLogIO_SubscribeClient) Trailer

func (m *MockLogIO_SubscribeClient) Trailer() metadata.MD

Trailer mocks base method.

type MockLogIO_SubscribeClientMockRecorder

type MockLogIO_SubscribeClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogIO_SubscribeClientMockRecorder is the mock recorder for MockLogIO_SubscribeClient.

func (*MockLogIO_SubscribeClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLogIO_SubscribeClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLogIO_SubscribeClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLogIO_SubscribeClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLogIO_SubscribeClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLogIO_SubscribeClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLogIO_SubscribeClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLogIO_SubscribeServer

type MockLogIO_SubscribeServer struct {
	// contains filtered or unexported fields
}

MockLogIO_SubscribeServer is a mock of LogIO_SubscribeServer interface.

func NewMockLogIO_SubscribeServer

func NewMockLogIO_SubscribeServer(ctrl *gomock.Controller) *MockLogIO_SubscribeServer

NewMockLogIO_SubscribeServer creates a new mock instance.

func (*MockLogIO_SubscribeServer) Context

Context mocks base method.

func (*MockLogIO_SubscribeServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogIO_SubscribeServer) RecvMsg

func (m *MockLogIO_SubscribeServer) RecvMsg(arg0 any) error

RecvMsg mocks base method.

func (*MockLogIO_SubscribeServer) Send

Send mocks base method.

func (*MockLogIO_SubscribeServer) SendHeader

func (m *MockLogIO_SubscribeServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockLogIO_SubscribeServer) SendMsg

func (m *MockLogIO_SubscribeServer) SendMsg(arg0 any) error

SendMsg mocks base method.

func (*MockLogIO_SubscribeServer) SetHeader

func (m *MockLogIO_SubscribeServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockLogIO_SubscribeServer) SetTrailer

func (m *MockLogIO_SubscribeServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockLogIO_SubscribeServerMockRecorder

type MockLogIO_SubscribeServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogIO_SubscribeServerMockRecorder is the mock recorder for MockLogIO_SubscribeServer.

func (*MockLogIO_SubscribeServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLogIO_SubscribeServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLogIO_SubscribeServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLogIO_SubscribeServerMockRecorder) SendHeader

func (mr *MockLogIO_SubscribeServerMockRecorder) SendHeader(arg0 any) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockLogIO_SubscribeServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLogIO_SubscribeServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLogIO_SubscribeServerMockRecorder) SetTrailer

func (mr *MockLogIO_SubscribeServerMockRecorder) SetTrailer(arg0 any) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockLogStreamReporterClient

type MockLogStreamReporterClient struct {
	// contains filtered or unexported fields
}

MockLogStreamReporterClient is a mock of LogStreamReporterClient interface.

func NewMockLogStreamReporterClient

func NewMockLogStreamReporterClient(ctrl *gomock.Controller) *MockLogStreamReporterClient

NewMockLogStreamReporterClient creates a new mock instance.

func (*MockLogStreamReporterClient) Commit

Commit mocks base method.

func (*MockLogStreamReporterClient) CommitBatch added in v0.7.0

CommitBatch mocks base method.

func (*MockLogStreamReporterClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogStreamReporterClient) GetReport

GetReport mocks base method.

type MockLogStreamReporterClientMockRecorder

type MockLogStreamReporterClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogStreamReporterClientMockRecorder is the mock recorder for MockLogStreamReporterClient.

func (*MockLogStreamReporterClientMockRecorder) Commit

func (mr *MockLogStreamReporterClientMockRecorder) Commit(arg0 any, arg1 ...any) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockLogStreamReporterClientMockRecorder) CommitBatch added in v0.7.0

func (mr *MockLogStreamReporterClientMockRecorder) CommitBatch(arg0 any, arg1 ...any) *gomock.Call

CommitBatch indicates an expected call of CommitBatch.

func (*MockLogStreamReporterClientMockRecorder) GetReport

func (mr *MockLogStreamReporterClientMockRecorder) GetReport(arg0 any, arg1 ...any) *gomock.Call

GetReport indicates an expected call of GetReport.

type MockLogStreamReporterServer

type MockLogStreamReporterServer struct {
	// contains filtered or unexported fields
}

MockLogStreamReporterServer is a mock of LogStreamReporterServer interface.

func NewMockLogStreamReporterServer

func NewMockLogStreamReporterServer(ctrl *gomock.Controller) *MockLogStreamReporterServer

NewMockLogStreamReporterServer creates a new mock instance.

func (*MockLogStreamReporterServer) Commit

Commit mocks base method.

func (*MockLogStreamReporterServer) CommitBatch added in v0.7.0

CommitBatch mocks base method.

func (*MockLogStreamReporterServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogStreamReporterServer) GetReport

GetReport mocks base method.

type MockLogStreamReporterServerMockRecorder

type MockLogStreamReporterServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogStreamReporterServerMockRecorder is the mock recorder for MockLogStreamReporterServer.

func (*MockLogStreamReporterServerMockRecorder) Commit

Commit indicates an expected call of Commit.

func (*MockLogStreamReporterServerMockRecorder) CommitBatch added in v0.7.0

func (mr *MockLogStreamReporterServerMockRecorder) CommitBatch(arg0 any) *gomock.Call

CommitBatch indicates an expected call of CommitBatch.

func (*MockLogStreamReporterServerMockRecorder) GetReport

GetReport indicates an expected call of GetReport.

type MockManagementClient

type MockManagementClient struct {
	// contains filtered or unexported fields
}

MockManagementClient is a mock of ManagementClient interface.

func NewMockManagementClient

func NewMockManagementClient(ctrl *gomock.Controller) *MockManagementClient

NewMockManagementClient creates a new mock instance.

func (*MockManagementClient) AddLogStreamReplica

AddLogStreamReplica mocks base method.

func (*MockManagementClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManagementClient) GetMetadata

GetMetadata mocks base method.

func (*MockManagementClient) RemoveLogStream

func (m *MockManagementClient) RemoveLogStream(arg0 context.Context, arg1 *snpb.RemoveLogStreamRequest, arg2 ...grpc.CallOption) (*types.Empty, error)

RemoveLogStream mocks base method.

func (*MockManagementClient) Seal

Seal mocks base method.

func (*MockManagementClient) Sync

Sync mocks base method.

func (*MockManagementClient) Trim

Trim mocks base method.

func (*MockManagementClient) Unseal

func (m *MockManagementClient) Unseal(arg0 context.Context, arg1 *snpb.UnsealRequest, arg2 ...grpc.CallOption) (*types.Empty, error)

Unseal mocks base method.

type MockManagementClientMockRecorder

type MockManagementClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagementClientMockRecorder is the mock recorder for MockManagementClient.

func (*MockManagementClientMockRecorder) AddLogStreamReplica

func (mr *MockManagementClientMockRecorder) AddLogStreamReplica(arg0, arg1 any, arg2 ...any) *gomock.Call

AddLogStreamReplica indicates an expected call of AddLogStreamReplica.

func (*MockManagementClientMockRecorder) GetMetadata

func (mr *MockManagementClientMockRecorder) GetMetadata(arg0, arg1 any, arg2 ...any) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

func (*MockManagementClientMockRecorder) RemoveLogStream

func (mr *MockManagementClientMockRecorder) RemoveLogStream(arg0, arg1 any, arg2 ...any) *gomock.Call

RemoveLogStream indicates an expected call of RemoveLogStream.

func (*MockManagementClientMockRecorder) Seal

func (mr *MockManagementClientMockRecorder) Seal(arg0, arg1 any, arg2 ...any) *gomock.Call

Seal indicates an expected call of Seal.

func (*MockManagementClientMockRecorder) Sync

func (mr *MockManagementClientMockRecorder) Sync(arg0, arg1 any, arg2 ...any) *gomock.Call

Sync indicates an expected call of Sync.

func (*MockManagementClientMockRecorder) Trim

func (mr *MockManagementClientMockRecorder) Trim(arg0, arg1 any, arg2 ...any) *gomock.Call

Trim indicates an expected call of Trim.

func (*MockManagementClientMockRecorder) Unseal

func (mr *MockManagementClientMockRecorder) Unseal(arg0, arg1 any, arg2 ...any) *gomock.Call

Unseal indicates an expected call of Unseal.

type MockManagementServer

type MockManagementServer struct {
	// contains filtered or unexported fields
}

MockManagementServer is a mock of ManagementServer interface.

func NewMockManagementServer

func NewMockManagementServer(ctrl *gomock.Controller) *MockManagementServer

NewMockManagementServer creates a new mock instance.

func (*MockManagementServer) AddLogStreamReplica

AddLogStreamReplica mocks base method.

func (*MockManagementServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManagementServer) GetMetadata

GetMetadata mocks base method.

func (*MockManagementServer) RemoveLogStream

func (m *MockManagementServer) RemoveLogStream(arg0 context.Context, arg1 *snpb.RemoveLogStreamRequest) (*types.Empty, error)

RemoveLogStream mocks base method.

func (*MockManagementServer) Seal

Seal mocks base method.

func (*MockManagementServer) Sync

Sync mocks base method.

func (*MockManagementServer) Trim

Trim mocks base method.

func (*MockManagementServer) Unseal

Unseal mocks base method.

type MockManagementServerMockRecorder

type MockManagementServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagementServerMockRecorder is the mock recorder for MockManagementServer.

func (*MockManagementServerMockRecorder) AddLogStreamReplica

func (mr *MockManagementServerMockRecorder) AddLogStreamReplica(arg0, arg1 any) *gomock.Call

AddLogStreamReplica indicates an expected call of AddLogStreamReplica.

func (*MockManagementServerMockRecorder) GetMetadata

func (mr *MockManagementServerMockRecorder) GetMetadata(arg0, arg1 any) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

func (*MockManagementServerMockRecorder) RemoveLogStream

func (mr *MockManagementServerMockRecorder) RemoveLogStream(arg0, arg1 any) *gomock.Call

RemoveLogStream indicates an expected call of RemoveLogStream.

func (*MockManagementServerMockRecorder) Seal

func (mr *MockManagementServerMockRecorder) Seal(arg0, arg1 any) *gomock.Call

Seal indicates an expected call of Seal.

func (*MockManagementServerMockRecorder) Sync

func (mr *MockManagementServerMockRecorder) Sync(arg0, arg1 any) *gomock.Call

Sync indicates an expected call of Sync.

func (*MockManagementServerMockRecorder) Trim

func (mr *MockManagementServerMockRecorder) Trim(arg0, arg1 any) *gomock.Call

Trim indicates an expected call of Trim.

func (*MockManagementServerMockRecorder) Unseal

func (mr *MockManagementServerMockRecorder) Unseal(arg0, arg1 any) *gomock.Call

Unseal indicates an expected call of Unseal.

type MockReplicatorClient

type MockReplicatorClient struct {
	// contains filtered or unexported fields
}

MockReplicatorClient is a mock of ReplicatorClient interface.

func NewMockReplicatorClient

func NewMockReplicatorClient(ctrl *gomock.Controller) *MockReplicatorClient

NewMockReplicatorClient creates a new mock instance.

func (*MockReplicatorClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReplicatorClient) Replicate

Replicate mocks base method.

func (*MockReplicatorClient) SyncInit

SyncInit mocks base method.

func (*MockReplicatorClient) SyncReplicate

SyncReplicate mocks base method.

func (*MockReplicatorClient) SyncReplicateStream added in v0.8.1

SyncReplicateStream mocks base method.

type MockReplicatorClientMockRecorder

type MockReplicatorClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockReplicatorClientMockRecorder is the mock recorder for MockReplicatorClient.

func (*MockReplicatorClientMockRecorder) Replicate

func (mr *MockReplicatorClientMockRecorder) Replicate(arg0 any, arg1 ...any) *gomock.Call

Replicate indicates an expected call of Replicate.

func (*MockReplicatorClientMockRecorder) SyncInit

func (mr *MockReplicatorClientMockRecorder) SyncInit(arg0, arg1 any, arg2 ...any) *gomock.Call

SyncInit indicates an expected call of SyncInit.

func (*MockReplicatorClientMockRecorder) SyncReplicate

func (mr *MockReplicatorClientMockRecorder) SyncReplicate(arg0, arg1 any, arg2 ...any) *gomock.Call

SyncReplicate indicates an expected call of SyncReplicate.

func (*MockReplicatorClientMockRecorder) SyncReplicateStream added in v0.8.1

func (mr *MockReplicatorClientMockRecorder) SyncReplicateStream(arg0 any, arg1 ...any) *gomock.Call

SyncReplicateStream indicates an expected call of SyncReplicateStream.

type MockReplicatorServer

type MockReplicatorServer struct {
	// contains filtered or unexported fields
}

MockReplicatorServer is a mock of ReplicatorServer interface.

func NewMockReplicatorServer

func NewMockReplicatorServer(ctrl *gomock.Controller) *MockReplicatorServer

NewMockReplicatorServer creates a new mock instance.

func (*MockReplicatorServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReplicatorServer) Replicate

Replicate mocks base method.

func (*MockReplicatorServer) SyncInit

SyncInit mocks base method.

func (*MockReplicatorServer) SyncReplicate

SyncReplicate mocks base method.

func (*MockReplicatorServer) SyncReplicateStream added in v0.8.1

SyncReplicateStream mocks base method.

type MockReplicatorServerMockRecorder

type MockReplicatorServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockReplicatorServerMockRecorder is the mock recorder for MockReplicatorServer.

func (*MockReplicatorServerMockRecorder) Replicate

func (mr *MockReplicatorServerMockRecorder) Replicate(arg0 any) *gomock.Call

Replicate indicates an expected call of Replicate.

func (*MockReplicatorServerMockRecorder) SyncInit

func (mr *MockReplicatorServerMockRecorder) SyncInit(arg0, arg1 any) *gomock.Call

SyncInit indicates an expected call of SyncInit.

func (*MockReplicatorServerMockRecorder) SyncReplicate

func (mr *MockReplicatorServerMockRecorder) SyncReplicate(arg0, arg1 any) *gomock.Call

SyncReplicate indicates an expected call of SyncReplicate.

func (*MockReplicatorServerMockRecorder) SyncReplicateStream added in v0.8.1

func (mr *MockReplicatorServerMockRecorder) SyncReplicateStream(arg0 any) *gomock.Call

SyncReplicateStream indicates an expected call of SyncReplicateStream.

type MockReplicator_ReplicateClient

type MockReplicator_ReplicateClient struct {
	// contains filtered or unexported fields
}

MockReplicator_ReplicateClient is a mock of Replicator_ReplicateClient interface.

func NewMockReplicator_ReplicateClient

func NewMockReplicator_ReplicateClient(ctrl *gomock.Controller) *MockReplicator_ReplicateClient

NewMockReplicator_ReplicateClient creates a new mock instance.

func (*MockReplicator_ReplicateClient) CloseAndRecv

CloseAndRecv mocks base method.

func (*MockReplicator_ReplicateClient) CloseSend

func (m *MockReplicator_ReplicateClient) CloseSend() error

CloseSend mocks base method.

func (*MockReplicator_ReplicateClient) Context

Context mocks base method.

func (*MockReplicator_ReplicateClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReplicator_ReplicateClient) Header

Header mocks base method.

func (*MockReplicator_ReplicateClient) RecvMsg

func (m *MockReplicator_ReplicateClient) RecvMsg(arg0 any) error

RecvMsg mocks base method.

func (*MockReplicator_ReplicateClient) Send

Send mocks base method.

func (*MockReplicator_ReplicateClient) SendMsg

func (m *MockReplicator_ReplicateClient) SendMsg(arg0 any) error

SendMsg mocks base method.

func (*MockReplicator_ReplicateClient) Trailer

Trailer mocks base method.

type MockReplicator_ReplicateClientMockRecorder

type MockReplicator_ReplicateClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockReplicator_ReplicateClientMockRecorder is the mock recorder for MockReplicator_ReplicateClient.

func (*MockReplicator_ReplicateClientMockRecorder) CloseAndRecv

CloseAndRecv indicates an expected call of CloseAndRecv.

func (*MockReplicator_ReplicateClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockReplicator_ReplicateClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockReplicator_ReplicateClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockReplicator_ReplicateClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockReplicator_ReplicateClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockReplicator_ReplicateClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockReplicator_ReplicateClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

Jump to

Keyboard shortcuts

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