Documentation ¶
Overview ¶
Package mock_online is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Close() error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(ctx context.Context, opt online.GetOpt) (dbutil.RowMap, error)
- func (m *MockStore) Import(ctx context.Context, opt online.ImportOpt) error
- func (m *MockStore) MultiGet(ctx context.Context, opt online.MultiGetOpt) (map[string]dbutil.RowMap, error)
- func (m *MockStore) Ping(ctx context.Context) error
- func (m *MockStore) PrepareStreamTable(ctx context.Context, opt online.PrepareStreamTableOpt) error
- func (m *MockStore) Purge(ctx context.Context, revisionID int) error
- func (m *MockStore) Push(ctx context.Context, opt online.PushOpt) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Get(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Import(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) MultiGet(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Ping(ctx interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) PrepareStreamTable(ctx, opt interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Purge(ctx, revisionID interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Push(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) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) MultiGet ¶
func (m *MockStore) MultiGet(ctx context.Context, opt online.MultiGetOpt) (map[string]dbutil.RowMap, error)
MultiGet mocks base method.
func (*MockStore) PrepareStreamTable ¶ added in v0.0.4
PrepareStreamTable 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) 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) PrepareStreamTable ¶ added in v0.0.4
func (mr *MockStoreMockRecorder) PrepareStreamTable(ctx, opt interface{}) *gomock.Call
PrepareStreamTable indicates an expected call of PrepareStreamTable.
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.