mockhbase

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 4 Imported by: 0

Documentation

Overview

Package mockhbase is a generated GoMock package.

Index

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) RawAppend

func (m *MockClient) RawAppend(ctx context.Context, a *hrpc.Mutate) (*hrpc.Result, error)

RawAppend 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

func (*MockClient) RawDel

func (m *MockClient) RawDel(ctx context.Context, del *hrpc.Mutate) (*hrpc.Result, error)

RawDel mocks base method

func (*MockClient) RawGet

func (m *MockClient) RawGet(ctx context.Context, get *hrpc.Get) (*hrpc.Result, error)

RawGet mocks base method

func (*MockClient) RawInc

func (m *MockClient) RawInc(ctx context.Context, inc *hrpc.Mutate) (int64, error)

RawInc mocks base method

func (*MockClient) RawPut

func (m *MockClient) RawPut(ctx context.Context, put *hrpc.Mutate) (*hrpc.Result, error)

RawPut mocks base method

func (*MockClient) RawScan

func (m *MockClient) RawScan(ctx context.Context, scan *hrpc.Scan) (hrpc.Scanner, error)

RawScan 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL