Documentation ¶
Overview ¶
Package mockhbase is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Del(ctx context.Context, table, rowKey string, value map[string]map[string][]byte) (*hrpc.Result, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, table, rowKey string, family map[string][]string) (*hrpc.Result, error)
- func (m *MockClient) Put(ctx context.Context, table, rowKey string, value map[string]map[string][]byte) (*hrpc.Result, error)
- func (m *MockClient) RawAppend(ctx context.Context, a *hrpc.Mutate) (*hrpc.Result, error)
- func (m *MockClient) RawCheckAndPut(ctx context.Context, put *hrpc.Mutate, family, qualifier string, ...) (bool, error)
- func (m *MockClient) RawClose(ctx context.Context) error
- func (m *MockClient) RawDel(ctx context.Context, del *hrpc.Mutate) (*hrpc.Result, error)
- func (m *MockClient) RawGet(ctx context.Context, get *hrpc.Get) (*hrpc.Result, error)
- func (m *MockClient) RawInc(ctx context.Context, inc *hrpc.Mutate) (int64, error)
- func (m *MockClient) RawPut(ctx context.Context, put *hrpc.Mutate) (*hrpc.Result, error)
- func (m *MockClient) RawScan(ctx context.Context, scan *hrpc.Scan) (hrpc.Scanner, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Del(ctx, table, rowKey, value interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, table, rowKey, family interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Put(ctx, table, rowKey, value interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawAppend(ctx, a interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawCheckAndPut(ctx, put, family, qualifier, expectedValue interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawClose(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawDel(ctx, del interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawGet(ctx, get interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawInc(ctx, inc interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawPut(ctx, put interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RawScan(ctx, scan interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Del ¶
func (m *MockClient) Del(ctx context.Context, table, rowKey string, value map[string]map[string][]byte) (*hrpc.Result, error)
Del mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶
func (m *MockClient) Get(ctx context.Context, table, rowKey string, family map[string][]string) (*hrpc.Result, error)
Get mocks base method
func (*MockClient) Put ¶
func (m *MockClient) Put(ctx context.Context, table, rowKey string, value map[string]map[string][]byte) (*hrpc.Result, error)
Put mocks base method
func (*MockClient) RawCheckAndPut ¶
func (m *MockClient) RawCheckAndPut(ctx context.Context, put *hrpc.Mutate, family, qualifier string, expectedValue []byte) (bool, error)
RawCheckAndPut mocks base method
func (*MockClient) RawClose ¶
func (m *MockClient) RawClose(ctx context.Context) error
RawClose mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Del ¶
func (mr *MockClientMockRecorder) Del(ctx, table, rowKey, value interface{}) *gomock.Call
Del indicates an expected call of Del
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, table, rowKey, family interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) Put ¶
func (mr *MockClientMockRecorder) Put(ctx, table, rowKey, value interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockClientMockRecorder) RawAppend ¶
func (mr *MockClientMockRecorder) RawAppend(ctx, a interface{}) *gomock.Call
RawAppend indicates an expected call of RawAppend
func (*MockClientMockRecorder) RawCheckAndPut ¶
func (mr *MockClientMockRecorder) RawCheckAndPut(ctx, put, family, qualifier, expectedValue interface{}) *gomock.Call
RawCheckAndPut indicates an expected call of RawCheckAndPut
func (*MockClientMockRecorder) RawClose ¶
func (mr *MockClientMockRecorder) RawClose(ctx interface{}) *gomock.Call
RawClose indicates an expected call of RawClose
func (*MockClientMockRecorder) RawDel ¶
func (mr *MockClientMockRecorder) RawDel(ctx, del interface{}) *gomock.Call
RawDel indicates an expected call of RawDel
func (*MockClientMockRecorder) RawGet ¶
func (mr *MockClientMockRecorder) RawGet(ctx, get interface{}) *gomock.Call
RawGet indicates an expected call of RawGet
func (*MockClientMockRecorder) RawInc ¶
func (mr *MockClientMockRecorder) RawInc(ctx, inc interface{}) *gomock.Call
RawInc indicates an expected call of RawInc
func (*MockClientMockRecorder) RawPut ¶
func (mr *MockClientMockRecorder) RawPut(ctx, put interface{}) *gomock.Call
RawPut indicates an expected call of RawPut
func (*MockClientMockRecorder) RawScan ¶
func (mr *MockClientMockRecorder) RawScan(ctx, scan interface{}) *gomock.Call
RawScan indicates an expected call of RawScan