mock

package
v0.0.0-...-8e66edc Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

func (_m *MockClient) Append(a *hrpc.Mutate) (*hrpc.Result, error)

func (*MockClient) CheckAndPut

func (_m *MockClient) CheckAndPut(p *hrpc.Mutate, family string, qualifier string, expectedValue []byte) (bool, error)

func (*MockClient) CheckTable

func (_m *MockClient) CheckTable(ctx context.Context, table string) error

func (*MockClient) Delete

func (_m *MockClient) Delete(d *hrpc.Mutate) (*hrpc.Result, error)

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *_MockClientRecorder

func (*MockClient) Get

func (_m *MockClient) Get(g *hrpc.Get) (*hrpc.Result, error)

func (*MockClient) Increment

func (_m *MockClient) Increment(i *hrpc.Mutate) (int64, error)

func (*MockClient) Put

func (_m *MockClient) Put(p *hrpc.Mutate) (*hrpc.Result, error)

func (*MockClient) Scan

func (_m *MockClient) Scan(s *hrpc.Scan) ([]*hrpc.Result, error)

Jump to

Keyboard shortcuts

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