Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDataNodeClient
- func (m *MockDataNodeClient) Delete(ctx context.Context, in *proto.DeleteRequest, opts ...grpc.CallOption) (*proto.DeleteResponse, error)
- func (m *MockDataNodeClient) EXPECT() *MockDataNodeClientMockRecorder
- func (m *MockDataNodeClient) Get(ctx context.Context, in *proto.GetRequest, opts ...grpc.CallOption) (*proto.GetResponse, error)
- func (m *MockDataNodeClient) Put(ctx context.Context, in *proto.AddRequest, opts ...grpc.CallOption) (*proto.AddResponse, error)
- func (m *MockDataNodeClient) Size(ctx context.Context, in *proto.SizeRequest, opts ...grpc.CallOption) (*proto.SizeResponse, error)
- type MockDataNodeClientMockRecorder
- func (mr *MockDataNodeClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Put(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDataNodeClientMockRecorder) Size(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockDataNodeServer
- func (m *MockDataNodeServer) Delete(arg0 context.Context, arg1 *proto.DeleteRequest) (*proto.DeleteResponse, error)
- func (m *MockDataNodeServer) EXPECT() *MockDataNodeServerMockRecorder
- func (m *MockDataNodeServer) Get(arg0 context.Context, arg1 *proto.GetRequest) (*proto.GetResponse, error)
- func (m *MockDataNodeServer) Put(arg0 context.Context, arg1 *proto.AddRequest) (*proto.AddResponse, error)
- func (m *MockDataNodeServer) Size(arg0 context.Context, arg1 *proto.SizeRequest) (*proto.SizeResponse, error)
- type MockDataNodeServerMockRecorder
- func (mr *MockDataNodeServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDataNodeServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDataNodeServerMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDataNodeServerMockRecorder) Size(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeDataNodeServer
- type MockUnsafeDataNodeServerMockRecorder
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) Delete ¶
func (m *MockDataNodeClient) Delete(ctx context.Context, in *proto.DeleteRequest, opts ...grpc.CallOption) (*proto.DeleteResponse, error)
Delete 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(ctx context.Context, in *proto.GetRequest, opts ...grpc.CallOption) (*proto.GetResponse, error)
Get mocks base method.
func (*MockDataNodeClient) Put ¶
func (m *MockDataNodeClient) Put(ctx context.Context, in *proto.AddRequest, opts ...grpc.CallOption) (*proto.AddResponse, error)
Put mocks base method.
func (*MockDataNodeClient) Size ¶
func (m *MockDataNodeClient) Size(ctx context.Context, in *proto.SizeRequest, opts ...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) Delete ¶
func (mr *MockDataNodeClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDataNodeClientMockRecorder) Get ¶
func (mr *MockDataNodeClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDataNodeClientMockRecorder) Put ¶
func (mr *MockDataNodeClientMockRecorder) Put(ctx, in interface{}, opts ...interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockDataNodeClientMockRecorder) Size ¶
func (mr *MockDataNodeClientMockRecorder) Size(ctx, in interface{}, opts ...interface{}) *gomock.Call
Size indicates an expected call of Size.
type MockDataNodeServer ¶
type MockDataNodeServer struct {
// contains filtered or unexported fields
}
MockDataNodeServer is a mock of DataNodeServer interface.
func NewMockDataNodeServer ¶
func NewMockDataNodeServer(ctrl *gomock.Controller) *MockDataNodeServer
NewMockDataNodeServer creates a new mock instance.
func (*MockDataNodeServer) Delete ¶
func (m *MockDataNodeServer) Delete(arg0 context.Context, arg1 *proto.DeleteRequest) (*proto.DeleteResponse, error)
Delete mocks base method.
func (*MockDataNodeServer) EXPECT ¶
func (m *MockDataNodeServer) EXPECT() *MockDataNodeServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataNodeServer) Get ¶
func (m *MockDataNodeServer) Get(arg0 context.Context, arg1 *proto.GetRequest) (*proto.GetResponse, error)
Get mocks base method.
func (*MockDataNodeServer) Put ¶
func (m *MockDataNodeServer) Put(arg0 context.Context, arg1 *proto.AddRequest) (*proto.AddResponse, error)
Put mocks base method.
func (*MockDataNodeServer) Size ¶
func (m *MockDataNodeServer) Size(arg0 context.Context, arg1 *proto.SizeRequest) (*proto.SizeResponse, error)
Size mocks base method.
type MockDataNodeServerMockRecorder ¶
type MockDataNodeServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDataNodeServerMockRecorder is the mock recorder for MockDataNodeServer.
func (*MockDataNodeServerMockRecorder) Delete ¶
func (mr *MockDataNodeServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDataNodeServerMockRecorder) Get ¶
func (mr *MockDataNodeServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDataNodeServerMockRecorder) Put ¶
func (mr *MockDataNodeServerMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockDataNodeServerMockRecorder) Size ¶
func (mr *MockDataNodeServerMockRecorder) Size(arg0, arg1 interface{}) *gomock.Call
Size indicates an expected call of Size.
type MockUnsafeDataNodeServer ¶
type MockUnsafeDataNodeServer struct {
// contains filtered or unexported fields
}
MockUnsafeDataNodeServer is a mock of UnsafeDataNodeServer interface.
func NewMockUnsafeDataNodeServer ¶
func NewMockUnsafeDataNodeServer(ctrl *gomock.Controller) *MockUnsafeDataNodeServer
NewMockUnsafeDataNodeServer creates a new mock instance.
func (*MockUnsafeDataNodeServer) EXPECT ¶
func (m *MockUnsafeDataNodeServer) EXPECT() *MockUnsafeDataNodeServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeDataNodeServerMockRecorder ¶
type MockUnsafeDataNodeServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeDataNodeServerMockRecorder is the mock recorder for MockUnsafeDataNodeServer.