Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockMemgoServiceClient
- func (m *MockMemgoServiceClient) Delete(ctx context.Context, in *memgopb.DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockMemgoServiceClient) EXPECT() *MockMemgoServiceClientMockRecorder
- func (m *MockMemgoServiceClient) Read(ctx context.Context, in *memgopb.ReadRequest, opts ...grpc.CallOption) (*memgopb.ReadResponse, error)
- func (m *MockMemgoServiceClient) Write(ctx context.Context, in *memgopb.WriteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type MockMemgoServiceClientMockRecorder
- type MockMemgoServiceServer
- func (m *MockMemgoServiceServer) Delete(arg0 context.Context, arg1 *memgopb.DeleteRequest) (*emptypb.Empty, error)
- func (m *MockMemgoServiceServer) EXPECT() *MockMemgoServiceServerMockRecorder
- func (m *MockMemgoServiceServer) Read(arg0 context.Context, arg1 *memgopb.ReadRequest) (*memgopb.ReadResponse, error)
- func (m *MockMemgoServiceServer) Write(arg0 context.Context, arg1 *memgopb.WriteRequest) (*emptypb.Empty, error)
- type MockMemgoServiceServerMockRecorder
- type MockUnsafeMemgoServiceServer
- type MockUnsafeMemgoServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMemgoServiceClient ¶
type MockMemgoServiceClient struct {
// contains filtered or unexported fields
}
MockMemgoServiceClient is a mock of MemgoServiceClient interface.
func NewMockMemgoServiceClient ¶
func NewMockMemgoServiceClient(ctrl *gomock.Controller) *MockMemgoServiceClient
NewMockMemgoServiceClient creates a new mock instance.
func (*MockMemgoServiceClient) Delete ¶
func (m *MockMemgoServiceClient) Delete(ctx context.Context, in *memgopb.DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Delete mocks base method.
func (*MockMemgoServiceClient) EXPECT ¶
func (m *MockMemgoServiceClient) EXPECT() *MockMemgoServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMemgoServiceClient) Read ¶
func (m *MockMemgoServiceClient) Read(ctx context.Context, in *memgopb.ReadRequest, opts ...grpc.CallOption) (*memgopb.ReadResponse, error)
Read mocks base method.
func (*MockMemgoServiceClient) Write ¶
func (m *MockMemgoServiceClient) Write(ctx context.Context, in *memgopb.WriteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Write mocks base method.
type MockMemgoServiceClientMockRecorder ¶
type MockMemgoServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMemgoServiceClientMockRecorder is the mock recorder for MockMemgoServiceClient.
func (*MockMemgoServiceClientMockRecorder) Delete ¶
func (mr *MockMemgoServiceClientMockRecorder) Delete(ctx, in any, opts ...any) *gomock.Call
Delete indicates an expected call of Delete.
type MockMemgoServiceServer ¶
type MockMemgoServiceServer struct {
// contains filtered or unexported fields
}
MockMemgoServiceServer is a mock of MemgoServiceServer interface.
func NewMockMemgoServiceServer ¶
func NewMockMemgoServiceServer(ctrl *gomock.Controller) *MockMemgoServiceServer
NewMockMemgoServiceServer creates a new mock instance.
func (*MockMemgoServiceServer) Delete ¶
func (m *MockMemgoServiceServer) Delete(arg0 context.Context, arg1 *memgopb.DeleteRequest) (*emptypb.Empty, error)
Delete mocks base method.
func (*MockMemgoServiceServer) EXPECT ¶
func (m *MockMemgoServiceServer) EXPECT() *MockMemgoServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMemgoServiceServer) Read ¶
func (m *MockMemgoServiceServer) Read(arg0 context.Context, arg1 *memgopb.ReadRequest) (*memgopb.ReadResponse, error)
Read mocks base method.
func (*MockMemgoServiceServer) Write ¶
func (m *MockMemgoServiceServer) Write(arg0 context.Context, arg1 *memgopb.WriteRequest) (*emptypb.Empty, error)
Write mocks base method.
type MockMemgoServiceServerMockRecorder ¶
type MockMemgoServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockMemgoServiceServerMockRecorder is the mock recorder for MockMemgoServiceServer.
func (*MockMemgoServiceServerMockRecorder) Delete ¶
func (mr *MockMemgoServiceServerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
type MockUnsafeMemgoServiceServer ¶
type MockUnsafeMemgoServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeMemgoServiceServer is a mock of UnsafeMemgoServiceServer interface.
func NewMockUnsafeMemgoServiceServer ¶
func NewMockUnsafeMemgoServiceServer(ctrl *gomock.Controller) *MockUnsafeMemgoServiceServer
NewMockUnsafeMemgoServiceServer creates a new mock instance.
func (*MockUnsafeMemgoServiceServer) EXPECT ¶
func (m *MockUnsafeMemgoServiceServer) EXPECT() *MockUnsafeMemgoServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeMemgoServiceServerMockRecorder ¶
type MockUnsafeMemgoServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeMemgoServiceServerMockRecorder is the mock recorder for MockUnsafeMemgoServiceServer.