mock_online

package
v0.0.5-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_online is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Close

func (m *MockStore) Close() error

Close mocks base method.

func (*MockStore) CreateTable added in v0.1.0

func (m *MockStore) CreateTable(ctx context.Context, opt online.CreateTableOpt) error

CreateTable mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) Get

func (m *MockStore) Get(ctx context.Context, opt online.GetOpt) (dbutil.RowMap, error)

Get mocks base method.

func (*MockStore) Import

func (m *MockStore) Import(ctx context.Context, opt online.ImportOpt) error

Import mocks base method.

func (*MockStore) MultiGet

func (m *MockStore) MultiGet(ctx context.Context, opt online.MultiGetOpt) (map[string]dbutil.RowMap, error)

MultiGet mocks base method.

func (*MockStore) Ping added in v0.0.4

func (m *MockStore) Ping(ctx context.Context) error

Ping mocks base method.

func (*MockStore) Purge

func (m *MockStore) Purge(ctx context.Context, revisionID int) error

Purge mocks base method.

func (*MockStore) Push added in v0.0.4

func (m *MockStore) Push(ctx context.Context, opt online.PushOpt) error

Push mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockStoreMockRecorder) CreateTable added in v0.1.0

func (mr *MockStoreMockRecorder) CreateTable(ctx, opt interface{}) *gomock.Call

CreateTable indicates an expected call of CreateTable.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(ctx, opt interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Import

func (mr *MockStoreMockRecorder) Import(ctx, opt interface{}) *gomock.Call

Import indicates an expected call of Import.

func (*MockStoreMockRecorder) MultiGet

func (mr *MockStoreMockRecorder) MultiGet(ctx, opt interface{}) *gomock.Call

MultiGet indicates an expected call of MultiGet.

func (*MockStoreMockRecorder) Ping added in v0.0.4

func (mr *MockStoreMockRecorder) Ping(ctx interface{}) *gomock.Call

Ping indicates an expected call of Ping.

func (*MockStoreMockRecorder) Purge

func (mr *MockStoreMockRecorder) Purge(ctx, revisionID interface{}) *gomock.Call

Purge indicates an expected call of Purge.

func (*MockStoreMockRecorder) Push added in v0.0.4

func (mr *MockStoreMockRecorder) Push(ctx, opt interface{}) *gomock.Call

Push indicates an expected call of Push.

Jump to

Keyboard shortcuts

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