Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDataNodeClient
- func (m *MockDataNodeClient) AllKeysChan(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (proto.DataNode_AllKeysChanClient, error)
- func (m *MockDataNodeClient) Delete(arg0 context.Context, arg1 *proto.DeleteRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDataNodeClient) DeleteMany(arg0 context.Context, arg1 *proto.DeleteManyRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDataNodeClient) EXPECT() *MockDataNodeClientMockRecorder
- func (m *MockDataNodeClient) Get(arg0 context.Context, arg1 *proto.GetRequest, arg2 ...grpc.CallOption) (*proto.GetResponse, error)
- func (m *MockDataNodeClient) GetMeta(arg0 context.Context, arg1 *proto.GetMetaRequest, arg2 ...grpc.CallOption) (*proto.GetMetaResponse, error)
- func (m *MockDataNodeClient) Put(arg0 context.Context, arg1 *proto.AddRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockDataNodeClient) Size(arg0 context.Context, arg1 *proto.SizeRequest, arg2 ...grpc.CallOption) (*proto.SizeResponse, error)
- type MockDataNodeClientMockRecorder
- func (mr *MockDataNodeClientMockRecorder) AllKeysChan(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) DeleteMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) GetMeta(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Put(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Size(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataNodeClient ¶
type MockDataNodeClient struct {
// contains filtered or unexported fields
}
MockDataNodeClient is a mock of DataNodeClient interface.
func NewMockDataNodeClient ¶
func NewMockDataNodeClient(ctrl *gomock.Controller) *MockDataNodeClient
NewMockDataNodeClient creates a new mock instance.
func (*MockDataNodeClient) AllKeysChan ¶
func (m *MockDataNodeClient) AllKeysChan(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (proto.DataNode_AllKeysChanClient, error)
AllKeysChan mocks base method.
func (*MockDataNodeClient) Delete ¶
func (m *MockDataNodeClient) Delete(arg0 context.Context, arg1 *proto.DeleteRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Delete mocks base method.
func (*MockDataNodeClient) DeleteMany ¶
func (m *MockDataNodeClient) DeleteMany(arg0 context.Context, arg1 *proto.DeleteManyRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
DeleteMany mocks base method.
func (*MockDataNodeClient) EXPECT ¶
func (m *MockDataNodeClient) EXPECT() *MockDataNodeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataNodeClient) Get ¶
func (m *MockDataNodeClient) Get(arg0 context.Context, arg1 *proto.GetRequest, arg2 ...grpc.CallOption) (*proto.GetResponse, error)
Get mocks base method.
func (*MockDataNodeClient) GetMeta ¶
func (m *MockDataNodeClient) GetMeta(arg0 context.Context, arg1 *proto.GetMetaRequest, arg2 ...grpc.CallOption) (*proto.GetMetaResponse, error)
GetMeta mocks base method.
func (*MockDataNodeClient) Put ¶
func (m *MockDataNodeClient) Put(arg0 context.Context, arg1 *proto.AddRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error)
Put mocks base method.
func (*MockDataNodeClient) Size ¶
func (m *MockDataNodeClient) Size(arg0 context.Context, arg1 *proto.SizeRequest, arg2 ...grpc.CallOption) (*proto.SizeResponse, error)
Size mocks base method.
type MockDataNodeClientMockRecorder ¶
type MockDataNodeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDataNodeClientMockRecorder is the mock recorder for MockDataNodeClient.
func (*MockDataNodeClientMockRecorder) AllKeysChan ¶
func (mr *MockDataNodeClientMockRecorder) AllKeysChan(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AllKeysChan indicates an expected call of AllKeysChan.
func (*MockDataNodeClientMockRecorder) Delete ¶
func (mr *MockDataNodeClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDataNodeClientMockRecorder) DeleteMany ¶
func (mr *MockDataNodeClientMockRecorder) DeleteMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteMany indicates an expected call of DeleteMany.
func (*MockDataNodeClientMockRecorder) Get ¶
func (mr *MockDataNodeClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDataNodeClientMockRecorder) GetMeta ¶
func (mr *MockDataNodeClientMockRecorder) GetMeta(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMeta indicates an expected call of GetMeta.
func (*MockDataNodeClientMockRecorder) Put ¶
func (mr *MockDataNodeClientMockRecorder) Put(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockDataNodeClientMockRecorder) Size ¶
func (mr *MockDataNodeClientMockRecorder) Size(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Size indicates an expected call of Size.