Documentation ¶
Index ¶
- type MockAdminClient
- func (_m *MockAdminClient) CreateTable(t *hrpc.CreateTable) error
- func (_m *MockAdminClient) DeleteTable(t *hrpc.DeleteTable) error
- func (_m *MockAdminClient) DisableTable(t *hrpc.DisableTable) error
- func (_m *MockAdminClient) EXPECT() *_MockAdminClientRecorder
- func (_m *MockAdminClient) EnableTable(t *hrpc.EnableTable) error
- type MockClient
- func (_m *MockClient) Append(a *hrpc.Mutate) (*hrpc.Result, error)
- func (_m *MockClient) CheckAndPut(p *hrpc.Mutate, family string, qualifier string, expectedValue []byte) (bool, error)
- func (_m *MockClient) CheckTable(ctx context.Context, table string) error
- func (_m *MockClient) Delete(d *hrpc.Mutate) (*hrpc.Result, error)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) Get(g *hrpc.Get) (*hrpc.Result, error)
- func (_m *MockClient) Increment(i *hrpc.Mutate) (int64, error)
- func (_m *MockClient) Put(p *hrpc.Mutate) (*hrpc.Result, error)
- func (_m *MockClient) Scan(s *hrpc.Scan) ([]*hrpc.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdminClient ¶
type MockAdminClient struct {
// contains filtered or unexported fields
}
Mock of AdminClient interface
func NewMockAdminClient ¶
func NewMockAdminClient(ctrl *gomock.Controller) *MockAdminClient
func (*MockAdminClient) CreateTable ¶
func (_m *MockAdminClient) CreateTable(t *hrpc.CreateTable) error
func (*MockAdminClient) DeleteTable ¶
func (_m *MockAdminClient) DeleteTable(t *hrpc.DeleteTable) error
func (*MockAdminClient) DisableTable ¶
func (_m *MockAdminClient) DisableTable(t *hrpc.DisableTable) error
func (*MockAdminClient) EXPECT ¶
func (_m *MockAdminClient) EXPECT() *_MockAdminClientRecorder
func (*MockAdminClient) EnableTable ¶
func (_m *MockAdminClient) EnableTable(t *hrpc.EnableTable) error
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) CheckAndPut ¶
func (*MockClient) CheckTable ¶
func (_m *MockClient) CheckTable(ctx context.Context, table string) error
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
Click to show internal directories.
Click to hide internal directories.