Documentation ¶
Overview ¶
Package mock_liiklus is a generated GoMock package.
Index ¶
- type MockLiiklusServiceClient
- func (m *MockLiiklusServiceClient) Ack(arg0 context.Context, arg1 *liiklus.AckRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockLiiklusServiceClient) EXPECT() *MockLiiklusServiceClientMockRecorder
- func (m *MockLiiklusServiceClient) GetEndOffsets(arg0 context.Context, arg1 *liiklus.GetEndOffsetsRequest, ...) (*liiklus.GetEndOffsetsReply, error)
- func (m *MockLiiklusServiceClient) GetOffsets(arg0 context.Context, arg1 *liiklus.GetOffsetsRequest, arg2 ...grpc.CallOption) (*liiklus.GetOffsetsReply, error)
- func (m *MockLiiklusServiceClient) Publish(arg0 context.Context, arg1 *liiklus.PublishRequest, arg2 ...grpc.CallOption) (*liiklus.PublishReply, error)
- func (m *MockLiiklusServiceClient) Receive(arg0 context.Context, arg1 *liiklus.ReceiveRequest, arg2 ...grpc.CallOption) (liiklus.LiiklusService_ReceiveClient, error)
- func (m *MockLiiklusServiceClient) Subscribe(arg0 context.Context, arg1 *liiklus.SubscribeRequest, arg2 ...grpc.CallOption) (liiklus.LiiklusService_SubscribeClient, error)
- type MockLiiklusServiceClientMockRecorder
- func (mr *MockLiiklusServiceClientMockRecorder) Ack(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLiiklusServiceClientMockRecorder) GetEndOffsets(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLiiklusServiceClientMockRecorder) GetOffsets(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLiiklusServiceClientMockRecorder) Publish(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLiiklusServiceClientMockRecorder) Receive(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLiiklusServiceClientMockRecorder) Subscribe(arg0, arg1 any, arg2 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLiiklusServiceClient ¶
type MockLiiklusServiceClient struct {
// contains filtered or unexported fields
}
MockLiiklusServiceClient is a mock of LiiklusServiceClient interface.
func NewMockLiiklusServiceClient ¶
func NewMockLiiklusServiceClient(ctrl *gomock.Controller) *MockLiiklusServiceClient
NewMockLiiklusServiceClient creates a new mock instance.
func (*MockLiiklusServiceClient) Ack ¶
func (m *MockLiiklusServiceClient) Ack(arg0 context.Context, arg1 *liiklus.AckRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Ack mocks base method.
func (*MockLiiklusServiceClient) EXPECT ¶
func (m *MockLiiklusServiceClient) EXPECT() *MockLiiklusServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLiiklusServiceClient) GetEndOffsets ¶
func (m *MockLiiklusServiceClient) GetEndOffsets(arg0 context.Context, arg1 *liiklus.GetEndOffsetsRequest, arg2 ...grpc.CallOption) (*liiklus.GetEndOffsetsReply, error)
GetEndOffsets mocks base method.
func (*MockLiiklusServiceClient) GetOffsets ¶
func (m *MockLiiklusServiceClient) GetOffsets(arg0 context.Context, arg1 *liiklus.GetOffsetsRequest, arg2 ...grpc.CallOption) (*liiklus.GetOffsetsReply, error)
GetOffsets mocks base method.
func (*MockLiiklusServiceClient) Publish ¶
func (m *MockLiiklusServiceClient) Publish(arg0 context.Context, arg1 *liiklus.PublishRequest, arg2 ...grpc.CallOption) (*liiklus.PublishReply, error)
Publish mocks base method.
func (*MockLiiklusServiceClient) Receive ¶
func (m *MockLiiklusServiceClient) Receive(arg0 context.Context, arg1 *liiklus.ReceiveRequest, arg2 ...grpc.CallOption) (liiklus.LiiklusService_ReceiveClient, error)
Receive mocks base method.
func (*MockLiiklusServiceClient) Subscribe ¶
func (m *MockLiiklusServiceClient) Subscribe(arg0 context.Context, arg1 *liiklus.SubscribeRequest, arg2 ...grpc.CallOption) (liiklus.LiiklusService_SubscribeClient, error)
Subscribe mocks base method.
type MockLiiklusServiceClientMockRecorder ¶
type MockLiiklusServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLiiklusServiceClientMockRecorder is the mock recorder for MockLiiklusServiceClient.
func (*MockLiiklusServiceClientMockRecorder) Ack ¶
func (mr *MockLiiklusServiceClientMockRecorder) Ack(arg0, arg1 any, arg2 ...any) *gomock.Call
Ack indicates an expected call of Ack.
func (*MockLiiklusServiceClientMockRecorder) GetEndOffsets ¶
func (mr *MockLiiklusServiceClientMockRecorder) GetEndOffsets(arg0, arg1 any, arg2 ...any) *gomock.Call
GetEndOffsets indicates an expected call of GetEndOffsets.
func (*MockLiiklusServiceClientMockRecorder) GetOffsets ¶
func (mr *MockLiiklusServiceClientMockRecorder) GetOffsets(arg0, arg1 any, arg2 ...any) *gomock.Call
GetOffsets indicates an expected call of GetOffsets.
func (*MockLiiklusServiceClientMockRecorder) Publish ¶
func (mr *MockLiiklusServiceClientMockRecorder) Publish(arg0, arg1 any, arg2 ...any) *gomock.Call
Publish indicates an expected call of Publish.