Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockLogIOClient
- func (m *MockLogIOClient) Append(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogIO_AppendClient, error)
- func (m *MockLogIOClient) EXPECT() *MockLogIOClientMockRecorder
- func (m *MockLogIOClient) LogStreamReplicaMetadata(arg0 context.Context, arg1 *snpb.LogStreamReplicaMetadataRequest, ...) (*snpb.LogStreamReplicaMetadataResponse, error)
- func (m *MockLogIOClient) Read(arg0 context.Context, arg1 *snpb.ReadRequest, arg2 ...grpc.CallOption) (*snpb.ReadResponse, error)
- func (m *MockLogIOClient) Subscribe(arg0 context.Context, arg1 *snpb.SubscribeRequest, arg2 ...grpc.CallOption) (snpb.LogIO_SubscribeClient, error)
- func (m *MockLogIOClient) SubscribeTo(arg0 context.Context, arg1 *snpb.SubscribeToRequest, arg2 ...grpc.CallOption) (snpb.LogIO_SubscribeToClient, error)
- func (m *MockLogIOClient) TrimDeprecated(arg0 context.Context, arg1 *snpb.TrimDeprecatedRequest, ...) (*types.Empty, error)
- type MockLogIOClientMockRecorder
- func (mr *MockLogIOClientMockRecorder) Append(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLogIOClientMockRecorder) LogStreamReplicaMetadata(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLogIOClientMockRecorder) Read(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLogIOClientMockRecorder) Subscribe(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLogIOClientMockRecorder) SubscribeTo(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLogIOClientMockRecorder) TrimDeprecated(arg0, arg1 any, arg2 ...any) *gomock.Call
- type MockLogIOServer
- func (m *MockLogIOServer) Append(arg0 snpb.LogIO_AppendServer) error
- func (m *MockLogIOServer) EXPECT() *MockLogIOServerMockRecorder
- func (m *MockLogIOServer) LogStreamReplicaMetadata(arg0 context.Context, arg1 *snpb.LogStreamReplicaMetadataRequest) (*snpb.LogStreamReplicaMetadataResponse, error)
- func (m *MockLogIOServer) Read(arg0 context.Context, arg1 *snpb.ReadRequest) (*snpb.ReadResponse, error)
- func (m *MockLogIOServer) Subscribe(arg0 *snpb.SubscribeRequest, arg1 snpb.LogIO_SubscribeServer) error
- func (m *MockLogIOServer) SubscribeTo(arg0 *snpb.SubscribeToRequest, arg1 snpb.LogIO_SubscribeToServer) error
- func (m *MockLogIOServer) TrimDeprecated(arg0 context.Context, arg1 *snpb.TrimDeprecatedRequest) (*types.Empty, error)
- type MockLogIOServerMockRecorder
- func (mr *MockLogIOServerMockRecorder) Append(arg0 any) *gomock.Call
- func (mr *MockLogIOServerMockRecorder) LogStreamReplicaMetadata(arg0, arg1 any) *gomock.Call
- func (mr *MockLogIOServerMockRecorder) Read(arg0, arg1 any) *gomock.Call
- func (mr *MockLogIOServerMockRecorder) Subscribe(arg0, arg1 any) *gomock.Call
- func (mr *MockLogIOServerMockRecorder) SubscribeTo(arg0, arg1 any) *gomock.Call
- func (mr *MockLogIOServerMockRecorder) TrimDeprecated(arg0, arg1 any) *gomock.Call
- type MockLogIO_AppendClient
- func (m *MockLogIO_AppendClient) CloseSend() error
- func (m *MockLogIO_AppendClient) Context() context.Context
- func (m *MockLogIO_AppendClient) EXPECT() *MockLogIO_AppendClientMockRecorder
- func (m *MockLogIO_AppendClient) Header() (metadata.MD, error)
- func (m *MockLogIO_AppendClient) Recv() (*snpb.AppendResponse, error)
- func (m *MockLogIO_AppendClient) RecvMsg(arg0 any) error
- func (m *MockLogIO_AppendClient) Send(arg0 *snpb.AppendRequest) error
- func (m *MockLogIO_AppendClient) SendMsg(arg0 any) error
- func (m *MockLogIO_AppendClient) Trailer() metadata.MD
- type MockLogIO_AppendClientMockRecorder
- func (mr *MockLogIO_AppendClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) Context() *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) Header() *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) Recv() *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) RecvMsg(arg0 any) *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) SendMsg(arg0 any) *gomock.Call
- func (mr *MockLogIO_AppendClientMockRecorder) Trailer() *gomock.Call
- type MockLogIO_SubscribeClient
- func (m *MockLogIO_SubscribeClient) CloseSend() error
- func (m *MockLogIO_SubscribeClient) Context() context.Context
- func (m *MockLogIO_SubscribeClient) EXPECT() *MockLogIO_SubscribeClientMockRecorder
- func (m *MockLogIO_SubscribeClient) Header() (metadata.MD, error)
- func (m *MockLogIO_SubscribeClient) Recv() (*snpb.SubscribeResponse, error)
- func (m *MockLogIO_SubscribeClient) RecvMsg(arg0 any) error
- func (m *MockLogIO_SubscribeClient) SendMsg(arg0 any) error
- func (m *MockLogIO_SubscribeClient) Trailer() metadata.MD
- type MockLogIO_SubscribeClientMockRecorder
- func (mr *MockLogIO_SubscribeClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockLogIO_SubscribeClientMockRecorder) Context() *gomock.Call
- func (mr *MockLogIO_SubscribeClientMockRecorder) Header() *gomock.Call
- func (mr *MockLogIO_SubscribeClientMockRecorder) Recv() *gomock.Call
- func (mr *MockLogIO_SubscribeClientMockRecorder) RecvMsg(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeClientMockRecorder) SendMsg(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeClientMockRecorder) Trailer() *gomock.Call
- type MockLogIO_SubscribeServer
- func (m *MockLogIO_SubscribeServer) Context() context.Context
- func (m *MockLogIO_SubscribeServer) EXPECT() *MockLogIO_SubscribeServerMockRecorder
- func (m *MockLogIO_SubscribeServer) RecvMsg(arg0 any) error
- func (m *MockLogIO_SubscribeServer) Send(arg0 *snpb.SubscribeResponse) error
- func (m *MockLogIO_SubscribeServer) SendHeader(arg0 metadata.MD) error
- func (m *MockLogIO_SubscribeServer) SendMsg(arg0 any) error
- func (m *MockLogIO_SubscribeServer) SetHeader(arg0 metadata.MD) error
- func (m *MockLogIO_SubscribeServer) SetTrailer(arg0 metadata.MD)
- type MockLogIO_SubscribeServerMockRecorder
- func (mr *MockLogIO_SubscribeServerMockRecorder) Context() *gomock.Call
- func (mr *MockLogIO_SubscribeServerMockRecorder) RecvMsg(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeServerMockRecorder) SendMsg(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockLogIO_SubscribeServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockLogStreamReporterClient
- func (m *MockLogStreamReporterClient) Commit(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogStreamReporter_CommitClient, error)
- func (m *MockLogStreamReporterClient) CommitBatch(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogStreamReporter_CommitBatchClient, error)
- func (m *MockLogStreamReporterClient) EXPECT() *MockLogStreamReporterClientMockRecorder
- func (m *MockLogStreamReporterClient) GetReport(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogStreamReporter_GetReportClient, error)
- type MockLogStreamReporterClientMockRecorder
- type MockLogStreamReporterServer
- func (m *MockLogStreamReporterServer) Commit(arg0 snpb.LogStreamReporter_CommitServer) error
- func (m *MockLogStreamReporterServer) CommitBatch(arg0 snpb.LogStreamReporter_CommitBatchServer) error
- func (m *MockLogStreamReporterServer) EXPECT() *MockLogStreamReporterServerMockRecorder
- func (m *MockLogStreamReporterServer) GetReport(arg0 snpb.LogStreamReporter_GetReportServer) error
- type MockLogStreamReporterServerMockRecorder
- type MockManagementClient
- func (m *MockManagementClient) AddLogStreamReplica(arg0 context.Context, arg1 *snpb.AddLogStreamReplicaRequest, ...) (*snpb.AddLogStreamReplicaResponse, error)
- func (m *MockManagementClient) EXPECT() *MockManagementClientMockRecorder
- func (m *MockManagementClient) GetMetadata(arg0 context.Context, arg1 *snpb.GetMetadataRequest, arg2 ...grpc.CallOption) (*snpb.GetMetadataResponse, error)
- func (m *MockManagementClient) RemoveLogStream(arg0 context.Context, arg1 *snpb.RemoveLogStreamRequest, ...) (*types.Empty, error)
- func (m *MockManagementClient) Seal(arg0 context.Context, arg1 *snpb.SealRequest, arg2 ...grpc.CallOption) (*snpb.SealResponse, error)
- func (m *MockManagementClient) Sync(arg0 context.Context, arg1 *snpb.SyncRequest, arg2 ...grpc.CallOption) (*snpb.SyncResponse, error)
- func (m *MockManagementClient) Trim(arg0 context.Context, arg1 *snpb.TrimRequest, arg2 ...grpc.CallOption) (*snpb.TrimResponse, error)
- func (m *MockManagementClient) Unseal(arg0 context.Context, arg1 *snpb.UnsealRequest, arg2 ...grpc.CallOption) (*types.Empty, error)
- type MockManagementClientMockRecorder
- func (mr *MockManagementClientMockRecorder) AddLogStreamReplica(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockManagementClientMockRecorder) GetMetadata(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockManagementClientMockRecorder) RemoveLogStream(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockManagementClientMockRecorder) Seal(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockManagementClientMockRecorder) Sync(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockManagementClientMockRecorder) Trim(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockManagementClientMockRecorder) Unseal(arg0, arg1 any, arg2 ...any) *gomock.Call
- type MockManagementServer
- func (m *MockManagementServer) AddLogStreamReplica(arg0 context.Context, arg1 *snpb.AddLogStreamReplicaRequest) (*snpb.AddLogStreamReplicaResponse, error)
- func (m *MockManagementServer) EXPECT() *MockManagementServerMockRecorder
- func (m *MockManagementServer) GetMetadata(arg0 context.Context, arg1 *snpb.GetMetadataRequest) (*snpb.GetMetadataResponse, error)
- func (m *MockManagementServer) RemoveLogStream(arg0 context.Context, arg1 *snpb.RemoveLogStreamRequest) (*types.Empty, error)
- func (m *MockManagementServer) Seal(arg0 context.Context, arg1 *snpb.SealRequest) (*snpb.SealResponse, error)
- func (m *MockManagementServer) Sync(arg0 context.Context, arg1 *snpb.SyncRequest) (*snpb.SyncResponse, error)
- func (m *MockManagementServer) Trim(arg0 context.Context, arg1 *snpb.TrimRequest) (*snpb.TrimResponse, error)
- func (m *MockManagementServer) Unseal(arg0 context.Context, arg1 *snpb.UnsealRequest) (*types.Empty, error)
- type MockManagementServerMockRecorder
- func (mr *MockManagementServerMockRecorder) AddLogStreamReplica(arg0, arg1 any) *gomock.Call
- func (mr *MockManagementServerMockRecorder) GetMetadata(arg0, arg1 any) *gomock.Call
- func (mr *MockManagementServerMockRecorder) RemoveLogStream(arg0, arg1 any) *gomock.Call
- func (mr *MockManagementServerMockRecorder) Seal(arg0, arg1 any) *gomock.Call
- func (mr *MockManagementServerMockRecorder) Sync(arg0, arg1 any) *gomock.Call
- func (mr *MockManagementServerMockRecorder) Trim(arg0, arg1 any) *gomock.Call
- func (mr *MockManagementServerMockRecorder) Unseal(arg0, arg1 any) *gomock.Call
- type MockReplicatorClient
- func (m *MockReplicatorClient) EXPECT() *MockReplicatorClientMockRecorder
- func (m *MockReplicatorClient) Replicate(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.Replicator_ReplicateClient, error)
- func (m *MockReplicatorClient) SyncInit(arg0 context.Context, arg1 *snpb.SyncInitRequest, arg2 ...grpc.CallOption) (*snpb.SyncInitResponse, error)
- func (m *MockReplicatorClient) SyncReplicate(arg0 context.Context, arg1 *snpb.SyncReplicateRequest, arg2 ...grpc.CallOption) (*snpb.SyncReplicateResponse, error)
- func (m *MockReplicatorClient) SyncReplicateStream(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.Replicator_SyncReplicateStreamClient, error)
- type MockReplicatorClientMockRecorder
- func (mr *MockReplicatorClientMockRecorder) Replicate(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockReplicatorClientMockRecorder) SyncInit(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockReplicatorClientMockRecorder) SyncReplicate(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockReplicatorClientMockRecorder) SyncReplicateStream(arg0 any, arg1 ...any) *gomock.Call
- type MockReplicatorServer
- func (m *MockReplicatorServer) EXPECT() *MockReplicatorServerMockRecorder
- func (m *MockReplicatorServer) Replicate(arg0 snpb.Replicator_ReplicateServer) error
- func (m *MockReplicatorServer) SyncInit(arg0 context.Context, arg1 *snpb.SyncInitRequest) (*snpb.SyncInitResponse, error)
- func (m *MockReplicatorServer) SyncReplicate(arg0 context.Context, arg1 *snpb.SyncReplicateRequest) (*snpb.SyncReplicateResponse, error)
- func (m *MockReplicatorServer) SyncReplicateStream(arg0 snpb.Replicator_SyncReplicateStreamServer) error
- type MockReplicatorServerMockRecorder
- func (mr *MockReplicatorServerMockRecorder) Replicate(arg0 any) *gomock.Call
- func (mr *MockReplicatorServerMockRecorder) SyncInit(arg0, arg1 any) *gomock.Call
- func (mr *MockReplicatorServerMockRecorder) SyncReplicate(arg0, arg1 any) *gomock.Call
- func (mr *MockReplicatorServerMockRecorder) SyncReplicateStream(arg0 any) *gomock.Call
- type MockReplicator_ReplicateClient
- func (m *MockReplicator_ReplicateClient) CloseAndRecv() (*snpb.ReplicateResponse, error)
- func (m *MockReplicator_ReplicateClient) CloseSend() error
- func (m *MockReplicator_ReplicateClient) Context() context.Context
- func (m *MockReplicator_ReplicateClient) EXPECT() *MockReplicator_ReplicateClientMockRecorder
- func (m *MockReplicator_ReplicateClient) Header() (metadata.MD, error)
- func (m *MockReplicator_ReplicateClient) RecvMsg(arg0 any) error
- func (m *MockReplicator_ReplicateClient) Send(arg0 *snpb.ReplicateRequest) error
- func (m *MockReplicator_ReplicateClient) SendMsg(arg0 any) error
- func (m *MockReplicator_ReplicateClient) Trailer() metadata.MD
- type MockReplicator_ReplicateClientMockRecorder
- func (mr *MockReplicator_ReplicateClientMockRecorder) CloseAndRecv() *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) Context() *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) Header() *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) RecvMsg(arg0 any) *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) SendMsg(arg0 any) *gomock.Call
- func (mr *MockReplicator_ReplicateClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockLogIOClient) Append(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogIO_AppendClient, error)
Append mocks base method.
func (*MockLogIOClient) EXPECT ¶
func (m *MockLogIOClient) EXPECT() *MockLogIOClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogIOClient) LogStreamReplicaMetadata ¶ added in v0.4.1
func (m *MockLogIOClient) LogStreamReplicaMetadata(arg0 context.Context, arg1 *snpb.LogStreamReplicaMetadataRequest, arg2 ...grpc.CallOption) (*snpb.LogStreamReplicaMetadataResponse, error)
LogStreamReplicaMetadata mocks base method.
func (*MockLogIOClient) Read ¶
func (m *MockLogIOClient) Read(arg0 context.Context, arg1 *snpb.ReadRequest, arg2 ...grpc.CallOption) (*snpb.ReadResponse, error)
Read mocks base method.
func (*MockLogIOClient) Subscribe ¶
func (m *MockLogIOClient) Subscribe(arg0 context.Context, arg1 *snpb.SubscribeRequest, arg2 ...grpc.CallOption) (snpb.LogIO_SubscribeClient, error)
Subscribe mocks base method.
func (*MockLogIOClient) SubscribeTo ¶
func (m *MockLogIOClient) SubscribeTo(arg0 context.Context, arg1 *snpb.SubscribeToRequest, arg2 ...grpc.CallOption) (snpb.LogIO_SubscribeToClient, error)
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 ¶
func (m *MockLogIOServer) EXPECT() *MockLogIOServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogIOServer) LogStreamReplicaMetadata ¶ added in v0.4.1
func (m *MockLogIOServer) LogStreamReplicaMetadata(arg0 context.Context, arg1 *snpb.LogStreamReplicaMetadataRequest) (*snpb.LogStreamReplicaMetadataResponse, error)
LogStreamReplicaMetadata mocks base method.
func (*MockLogIOServer) Read ¶
func (m *MockLogIOServer) Read(arg0 context.Context, arg1 *snpb.ReadRequest) (*snpb.ReadResponse, error)
Read mocks base method.
func (*MockLogIOServer) Subscribe ¶
func (m *MockLogIOServer) Subscribe(arg0 *snpb.SubscribeRequest, arg1 snpb.LogIO_SubscribeServer) error
Subscribe mocks base method.
func (*MockLogIOServer) SubscribeTo ¶
func (m *MockLogIOServer) SubscribeTo(arg0 *snpb.SubscribeToRequest, arg1 snpb.LogIO_SubscribeToServer) error
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
func (m *MockLogIO_AppendClient) EXPECT() *MockLogIO_AppendClientMockRecorder
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
func (m *MockLogIO_AppendClient) Recv() (*snpb.AppendResponse, error)
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
func (m *MockLogIO_AppendClient) Send(arg0 *snpb.AppendRequest) error
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
func (mr *MockLogIO_AppendClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockLogIO_AppendClientMockRecorder) Context ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockLogIO_AppendClientMockRecorder) Header ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockLogIO_AppendClientMockRecorder) Recv ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockLogIO_AppendClientMockRecorder) RecvMsg ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) RecvMsg(arg0 any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockLogIO_AppendClientMockRecorder) Send ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockLogIO_AppendClientMockRecorder) SendMsg ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) SendMsg(arg0 any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockLogIO_AppendClientMockRecorder) Trailer ¶ added in v0.14.0
func (mr *MockLogIO_AppendClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockLogIO_SubscribeClient) Context() context.Context
Context mocks base method.
func (*MockLogIO_SubscribeClient) EXPECT ¶
func (m *MockLogIO_SubscribeClient) EXPECT() *MockLogIO_SubscribeClientMockRecorder
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 ¶
func (m *MockLogIO_SubscribeClient) Recv() (*snpb.SubscribeResponse, error)
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 ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockLogIO_SubscribeClientMockRecorder) Context ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockLogIO_SubscribeClientMockRecorder) Header ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockLogIO_SubscribeClientMockRecorder) Recv ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockLogIO_SubscribeClientMockRecorder) RecvMsg ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) RecvMsg(arg0 any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockLogIO_SubscribeClientMockRecorder) SendMsg ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) SendMsg(arg0 any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockLogIO_SubscribeClientMockRecorder) Trailer ¶
func (mr *MockLogIO_SubscribeClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockLogIO_SubscribeServer) Context() context.Context
Context mocks base method.
func (*MockLogIO_SubscribeServer) EXPECT ¶
func (m *MockLogIO_SubscribeServer) EXPECT() *MockLogIO_SubscribeServerMockRecorder
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 ¶
func (m *MockLogIO_SubscribeServer) Send(arg0 *snpb.SubscribeResponse) error
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 ¶
func (mr *MockLogIO_SubscribeServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockLogIO_SubscribeServerMockRecorder) RecvMsg ¶
func (mr *MockLogIO_SubscribeServerMockRecorder) RecvMsg(arg0 any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockLogIO_SubscribeServerMockRecorder) Send ¶
func (mr *MockLogIO_SubscribeServerMockRecorder) Send(arg0 any) *gomock.Call
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 ¶
func (mr *MockLogIO_SubscribeServerMockRecorder) SendMsg(arg0 any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockLogIO_SubscribeServerMockRecorder) SetHeader ¶
func (mr *MockLogIO_SubscribeServerMockRecorder) SetHeader(arg0 any) *gomock.Call
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 ¶
func (m *MockLogStreamReporterClient) Commit(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogStreamReporter_CommitClient, error)
Commit mocks base method.
func (*MockLogStreamReporterClient) CommitBatch ¶ added in v0.7.0
func (m *MockLogStreamReporterClient) CommitBatch(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogStreamReporter_CommitBatchClient, error)
CommitBatch mocks base method.
func (*MockLogStreamReporterClient) EXPECT ¶
func (m *MockLogStreamReporterClient) EXPECT() *MockLogStreamReporterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogStreamReporterClient) GetReport ¶
func (m *MockLogStreamReporterClient) GetReport(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.LogStreamReporter_GetReportClient, error)
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.
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 ¶
func (m *MockLogStreamReporterServer) Commit(arg0 snpb.LogStreamReporter_CommitServer) error
Commit mocks base method.
func (*MockLogStreamReporterServer) CommitBatch ¶ added in v0.7.0
func (m *MockLogStreamReporterServer) CommitBatch(arg0 snpb.LogStreamReporter_CommitBatchServer) error
CommitBatch mocks base method.
func (*MockLogStreamReporterServer) EXPECT ¶
func (m *MockLogStreamReporterServer) EXPECT() *MockLogStreamReporterServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogStreamReporterServer) GetReport ¶
func (m *MockLogStreamReporterServer) GetReport(arg0 snpb.LogStreamReporter_GetReportServer) error
GetReport mocks base method.
type MockLogStreamReporterServerMockRecorder ¶
type MockLogStreamReporterServerMockRecorder struct {
// contains filtered or unexported fields
}
MockLogStreamReporterServerMockRecorder is the mock recorder for MockLogStreamReporterServer.
func (*MockLogStreamReporterServerMockRecorder) Commit ¶
func (mr *MockLogStreamReporterServerMockRecorder) Commit(arg0 any) *gomock.Call
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.
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 ¶
func (m *MockManagementClient) AddLogStreamReplica(arg0 context.Context, arg1 *snpb.AddLogStreamReplicaRequest, arg2 ...grpc.CallOption) (*snpb.AddLogStreamReplicaResponse, error)
AddLogStreamReplica mocks base method.
func (*MockManagementClient) EXPECT ¶
func (m *MockManagementClient) EXPECT() *MockManagementClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagementClient) GetMetadata ¶
func (m *MockManagementClient) GetMetadata(arg0 context.Context, arg1 *snpb.GetMetadataRequest, arg2 ...grpc.CallOption) (*snpb.GetMetadataResponse, error)
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 ¶
func (m *MockManagementClient) Seal(arg0 context.Context, arg1 *snpb.SealRequest, arg2 ...grpc.CallOption) (*snpb.SealResponse, error)
Seal mocks base method.
func (*MockManagementClient) Sync ¶
func (m *MockManagementClient) Sync(arg0 context.Context, arg1 *snpb.SyncRequest, arg2 ...grpc.CallOption) (*snpb.SyncResponse, error)
Sync mocks base method.
func (*MockManagementClient) Trim ¶
func (m *MockManagementClient) Trim(arg0 context.Context, arg1 *snpb.TrimRequest, arg2 ...grpc.CallOption) (*snpb.TrimResponse, error)
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.
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 ¶
func (m *MockManagementServer) AddLogStreamReplica(arg0 context.Context, arg1 *snpb.AddLogStreamReplicaRequest) (*snpb.AddLogStreamReplicaResponse, error)
AddLogStreamReplica mocks base method.
func (*MockManagementServer) EXPECT ¶
func (m *MockManagementServer) EXPECT() *MockManagementServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagementServer) GetMetadata ¶
func (m *MockManagementServer) GetMetadata(arg0 context.Context, arg1 *snpb.GetMetadataRequest) (*snpb.GetMetadataResponse, error)
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 ¶
func (m *MockManagementServer) Seal(arg0 context.Context, arg1 *snpb.SealRequest) (*snpb.SealResponse, error)
Seal mocks base method.
func (*MockManagementServer) Sync ¶
func (m *MockManagementServer) Sync(arg0 context.Context, arg1 *snpb.SyncRequest) (*snpb.SyncResponse, error)
Sync mocks base method.
func (*MockManagementServer) Trim ¶
func (m *MockManagementServer) Trim(arg0 context.Context, arg1 *snpb.TrimRequest) (*snpb.TrimResponse, error)
Trim mocks base method.
func (*MockManagementServer) Unseal ¶
func (m *MockManagementServer) Unseal(arg0 context.Context, arg1 *snpb.UnsealRequest) (*types.Empty, error)
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.
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 ¶
func (m *MockReplicatorClient) EXPECT() *MockReplicatorClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReplicatorClient) Replicate ¶
func (m *MockReplicatorClient) Replicate(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.Replicator_ReplicateClient, error)
Replicate mocks base method.
func (*MockReplicatorClient) SyncInit ¶
func (m *MockReplicatorClient) SyncInit(arg0 context.Context, arg1 *snpb.SyncInitRequest, arg2 ...grpc.CallOption) (*snpb.SyncInitResponse, error)
SyncInit mocks base method.
func (*MockReplicatorClient) SyncReplicate ¶
func (m *MockReplicatorClient) SyncReplicate(arg0 context.Context, arg1 *snpb.SyncReplicateRequest, arg2 ...grpc.CallOption) (*snpb.SyncReplicateResponse, error)
SyncReplicate mocks base method.
func (*MockReplicatorClient) SyncReplicateStream ¶ added in v0.8.1
func (m *MockReplicatorClient) SyncReplicateStream(arg0 context.Context, arg1 ...grpc.CallOption) (snpb.Replicator_SyncReplicateStreamClient, error)
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 ¶
func (m *MockReplicatorServer) EXPECT() *MockReplicatorServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReplicatorServer) Replicate ¶
func (m *MockReplicatorServer) Replicate(arg0 snpb.Replicator_ReplicateServer) error
Replicate mocks base method.
func (*MockReplicatorServer) SyncInit ¶
func (m *MockReplicatorServer) SyncInit(arg0 context.Context, arg1 *snpb.SyncInitRequest) (*snpb.SyncInitResponse, error)
SyncInit mocks base method.
func (*MockReplicatorServer) SyncReplicate ¶
func (m *MockReplicatorServer) SyncReplicate(arg0 context.Context, arg1 *snpb.SyncReplicateRequest) (*snpb.SyncReplicateResponse, error)
SyncReplicate mocks base method.
func (*MockReplicatorServer) SyncReplicateStream ¶ added in v0.8.1
func (m *MockReplicatorServer) SyncReplicateStream(arg0 snpb.Replicator_SyncReplicateStreamServer) error
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 ¶
func (m *MockReplicator_ReplicateClient) CloseAndRecv() (*snpb.ReplicateResponse, error)
CloseAndRecv mocks base method.
func (*MockReplicator_ReplicateClient) CloseSend ¶
func (m *MockReplicator_ReplicateClient) CloseSend() error
CloseSend mocks base method.
func (*MockReplicator_ReplicateClient) Context ¶
func (m *MockReplicator_ReplicateClient) Context() context.Context
Context mocks base method.
func (*MockReplicator_ReplicateClient) EXPECT ¶
func (m *MockReplicator_ReplicateClient) EXPECT() *MockReplicator_ReplicateClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReplicator_ReplicateClient) Header ¶
func (m *MockReplicator_ReplicateClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockReplicator_ReplicateClient) RecvMsg ¶
func (m *MockReplicator_ReplicateClient) RecvMsg(arg0 any) error
RecvMsg mocks base method.
func (*MockReplicator_ReplicateClient) Send ¶
func (m *MockReplicator_ReplicateClient) Send(arg0 *snpb.ReplicateRequest) error
Send mocks base method.
func (*MockReplicator_ReplicateClient) SendMsg ¶
func (m *MockReplicator_ReplicateClient) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockReplicator_ReplicateClient) Trailer ¶
func (m *MockReplicator_ReplicateClient) Trailer() metadata.MD
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 ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) CloseAndRecv() *gomock.Call
CloseAndRecv indicates an expected call of CloseAndRecv.
func (*MockReplicator_ReplicateClientMockRecorder) CloseSend ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockReplicator_ReplicateClientMockRecorder) Context ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockReplicator_ReplicateClientMockRecorder) Header ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockReplicator_ReplicateClientMockRecorder) RecvMsg ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) RecvMsg(arg0 any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockReplicator_ReplicateClientMockRecorder) Send ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockReplicator_ReplicateClientMockRecorder) SendMsg ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) SendMsg(arg0 any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockReplicator_ReplicateClientMockRecorder) Trailer ¶
func (mr *MockReplicator_ReplicateClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.