Documentation ¶
Overview ¶
Package mock_offline is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Close() error
- func (m *MockStore) CreateTable(ctx context.Context, opt offline.CreateTableOpt) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Export(ctx context.Context, opt offline.ExportOpt) (*types.ExportResult, error)
- func (m *MockStore) Import(ctx context.Context, opt offline.ImportOpt) (int64, error)
- func (m *MockStore) Join(ctx context.Context, opt offline.JoinOpt) (*types.JoinResult, error)
- func (m *MockStore) Ping(ctx context.Context) error
- func (m *MockStore) Push(ctx context.Context, opt offline.PushOpt) error
- func (m *MockStore) Snapshot(ctx context.Context, opt offline.SnapshotOpt) error
- func (m *MockStore) TableSchema(ctx context.Context, opt offline.TableSchemaOpt) (*types.DataTableSchema, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) CreateTable(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Export(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Import(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Join(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Ping(ctx interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Push(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Snapshot(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) TableSchema(ctx, opt interface{}) *gomock.Call
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) CreateTable ¶ added in v0.0.4
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) TableSchema ¶ added in v0.0.4
func (m *MockStore) TableSchema(ctx context.Context, opt offline.TableSchemaOpt) (*types.DataTableSchema, error)
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.