mock_offline

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_offline 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.0.4

func (m *MockStore) CreateTable(ctx context.Context, opt offline.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) Export

Export mocks base method.

func (*MockStore) Import

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

Import mocks base method.

func (*MockStore) Join

func (m *MockStore) Join(ctx context.Context, opt offline.JoinOpt) (*types.JoinResult, error)

Join 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) Push added in v0.0.4

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

Push mocks base method.

func (*MockStore) Snapshot added in v0.0.4

func (m *MockStore) Snapshot(ctx context.Context, opt offline.SnapshotOpt) error

Snapshot mocks base method.

func (*MockStore) TableSchema added in v0.0.4

TableSchema 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.0.4

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

CreateTable indicates an expected call of CreateTable.

func (*MockStoreMockRecorder) Export

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

Export indicates an expected call of Export.

func (*MockStoreMockRecorder) Import

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

Import indicates an expected call of Import.

func (*MockStoreMockRecorder) Join

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

Join indicates an expected call of Join.

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) Push added in v0.0.4

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

Push indicates an expected call of Push.

func (*MockStoreMockRecorder) Snapshot added in v0.0.4

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

Snapshot indicates an expected call of Snapshot.

func (*MockStoreMockRecorder) TableSchema added in v0.0.4

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

TableSchema indicates an expected call of TableSchema.

Jump to

Keyboard shortcuts

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