Documentation ¶
Overview ¶
Package mock_position_store is a generated GoMock package.
Index ¶
- type MockMongoPositionStore
- type MockMongoPositionStoreMockRecorder
- type MockMySQLPositionStore
- func (m *MockMySQLPositionStore) Close()
- func (m *MockMySQLPositionStore) EXPECT() *MockMySQLPositionStoreMockRecorder
- func (m *MockMySQLPositionStore) FSync()
- func (m *MockMySQLPositionStore) Get() utils.MySQLBinlogPosition
- func (m *MockMySQLPositionStore) Put(arg0 utils.MySQLBinlogPosition)
- func (m *MockMySQLPositionStore) Start() error
- type MockMySQLPositionStoreMockRecorder
- func (mr *MockMySQLPositionStoreMockRecorder) Close() *gomock.Call
- func (mr *MockMySQLPositionStoreMockRecorder) FSync() *gomock.Call
- func (mr *MockMySQLPositionStoreMockRecorder) Get() *gomock.Call
- func (mr *MockMySQLPositionStoreMockRecorder) Put(arg0 interface{}) *gomock.Call
- func (mr *MockMySQLPositionStoreMockRecorder) Start() *gomock.Call
- type MockMySQLTablePositionStore
- func (m *MockMySQLTablePositionStore) Close()
- func (m *MockMySQLTablePositionStore) EXPECT() *MockMySQLTablePositionStoreMockRecorder
- func (m *MockMySQLTablePositionStore) GetCurrent(arg0 string) (position_store.MySQLTablePosition, bool)
- func (m *MockMySQLTablePositionStore) GetMaxMin(arg0 string) (position_store.MySQLTablePosition, position_store.MySQLTablePosition, bool)
- func (m *MockMySQLTablePositionStore) GetStartBinlogPos() (utils.MySQLBinlogPosition, bool)
- func (m *MockMySQLTablePositionStore) PutCurrent(arg0 string, arg1 position_store.MySQLTablePosition)
- func (m *MockMySQLTablePositionStore) PutMaxMin(arg0 string, arg1, arg2 position_store.MySQLTablePosition)
- func (m *MockMySQLTablePositionStore) PutStartBinlogPos(arg0 utils.MySQLBinlogPosition)
- func (m *MockMySQLTablePositionStore) Start() error
- type MockMySQLTablePositionStoreMockRecorder
- func (mr *MockMySQLTablePositionStoreMockRecorder) Close() *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) GetCurrent(arg0 interface{}) *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) GetMaxMin(arg0 interface{}) *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) GetStartBinlogPos() *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) PutCurrent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) PutMaxMin(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) PutStartBinlogPos(arg0 interface{}) *gomock.Call
- func (mr *MockMySQLTablePositionStoreMockRecorder) Start() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMongoPositionStore ¶
type MockMongoPositionStore struct {
// contains filtered or unexported fields
}
MockMongoPositionStore is a mock of MongoPositionStore interface
func NewMockMongoPositionStore ¶
func NewMockMongoPositionStore(ctrl *gomock.Controller) *MockMongoPositionStore
NewMockMongoPositionStore creates a new mock instance
func (*MockMongoPositionStore) Close ¶
func (m *MockMongoPositionStore) Close()
Close mocks base method
func (*MockMongoPositionStore) EXPECT ¶
func (m *MockMongoPositionStore) EXPECT() *MockMongoPositionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMongoPositionStore) Get ¶
func (m *MockMongoPositionStore) Get() config.MongoPosition
Get mocks base method
func (*MockMongoPositionStore) Put ¶
func (m *MockMongoPositionStore) Put(arg0 config.MongoPosition)
Put mocks base method
func (*MockMongoPositionStore) Start ¶
func (m *MockMongoPositionStore) Start() error
Start mocks base method
type MockMongoPositionStoreMockRecorder ¶
type MockMongoPositionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockMongoPositionStoreMockRecorder is the mock recorder for MockMongoPositionStore
func (*MockMongoPositionStoreMockRecorder) Close ¶
func (mr *MockMongoPositionStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockMongoPositionStoreMockRecorder) Get ¶
func (mr *MockMongoPositionStoreMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
func (*MockMongoPositionStoreMockRecorder) Put ¶
func (mr *MockMongoPositionStoreMockRecorder) Put(arg0 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockMongoPositionStoreMockRecorder) Start ¶
func (mr *MockMongoPositionStoreMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
type MockMySQLPositionStore ¶
type MockMySQLPositionStore struct {
// contains filtered or unexported fields
}
MockMySQLPositionStore is a mock of MySQLPositionStore interface
func NewMockMySQLPositionStore ¶
func NewMockMySQLPositionStore(ctrl *gomock.Controller) *MockMySQLPositionStore
NewMockMySQLPositionStore creates a new mock instance
func (*MockMySQLPositionStore) Close ¶
func (m *MockMySQLPositionStore) Close()
Close mocks base method
func (*MockMySQLPositionStore) EXPECT ¶
func (m *MockMySQLPositionStore) EXPECT() *MockMySQLPositionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMySQLPositionStore) FSync ¶
func (m *MockMySQLPositionStore) FSync()
FSync mocks base method
func (*MockMySQLPositionStore) Get ¶
func (m *MockMySQLPositionStore) Get() utils.MySQLBinlogPosition
Get mocks base method
func (*MockMySQLPositionStore) Put ¶
func (m *MockMySQLPositionStore) Put(arg0 utils.MySQLBinlogPosition)
Put mocks base method
func (*MockMySQLPositionStore) Start ¶
func (m *MockMySQLPositionStore) Start() error
Start mocks base method
type MockMySQLPositionStoreMockRecorder ¶
type MockMySQLPositionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockMySQLPositionStoreMockRecorder is the mock recorder for MockMySQLPositionStore
func (*MockMySQLPositionStoreMockRecorder) Close ¶
func (mr *MockMySQLPositionStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockMySQLPositionStoreMockRecorder) FSync ¶
func (mr *MockMySQLPositionStoreMockRecorder) FSync() *gomock.Call
FSync indicates an expected call of FSync
func (*MockMySQLPositionStoreMockRecorder) Get ¶
func (mr *MockMySQLPositionStoreMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
func (*MockMySQLPositionStoreMockRecorder) Put ¶
func (mr *MockMySQLPositionStoreMockRecorder) Put(arg0 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockMySQLPositionStoreMockRecorder) Start ¶
func (mr *MockMySQLPositionStoreMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
type MockMySQLTablePositionStore ¶
type MockMySQLTablePositionStore struct {
// contains filtered or unexported fields
}
MockMySQLTablePositionStore is a mock of MySQLTablePositionStore interface
func NewMockMySQLTablePositionStore ¶
func NewMockMySQLTablePositionStore(ctrl *gomock.Controller) *MockMySQLTablePositionStore
NewMockMySQLTablePositionStore creates a new mock instance
func (*MockMySQLTablePositionStore) Close ¶
func (m *MockMySQLTablePositionStore) Close()
Close mocks base method
func (*MockMySQLTablePositionStore) EXPECT ¶
func (m *MockMySQLTablePositionStore) EXPECT() *MockMySQLTablePositionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMySQLTablePositionStore) GetCurrent ¶
func (m *MockMySQLTablePositionStore) GetCurrent(arg0 string) (position_store.MySQLTablePosition, bool)
GetCurrent mocks base method
func (*MockMySQLTablePositionStore) GetMaxMin ¶
func (m *MockMySQLTablePositionStore) GetMaxMin(arg0 string) (position_store.MySQLTablePosition, position_store.MySQLTablePosition, bool)
GetMaxMin mocks base method
func (*MockMySQLTablePositionStore) GetStartBinlogPos ¶
func (m *MockMySQLTablePositionStore) GetStartBinlogPos() (utils.MySQLBinlogPosition, bool)
GetStartBinlogPos mocks base method
func (*MockMySQLTablePositionStore) PutCurrent ¶
func (m *MockMySQLTablePositionStore) PutCurrent(arg0 string, arg1 position_store.MySQLTablePosition)
PutCurrent mocks base method
func (*MockMySQLTablePositionStore) PutMaxMin ¶
func (m *MockMySQLTablePositionStore) PutMaxMin(arg0 string, arg1, arg2 position_store.MySQLTablePosition)
PutMaxMin mocks base method
func (*MockMySQLTablePositionStore) PutStartBinlogPos ¶
func (m *MockMySQLTablePositionStore) PutStartBinlogPos(arg0 utils.MySQLBinlogPosition)
PutStartBinlogPos mocks base method
func (*MockMySQLTablePositionStore) Start ¶
func (m *MockMySQLTablePositionStore) Start() error
Start mocks base method
type MockMySQLTablePositionStoreMockRecorder ¶
type MockMySQLTablePositionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockMySQLTablePositionStoreMockRecorder is the mock recorder for MockMySQLTablePositionStore
func (*MockMySQLTablePositionStoreMockRecorder) Close ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockMySQLTablePositionStoreMockRecorder) GetCurrent ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) GetCurrent(arg0 interface{}) *gomock.Call
GetCurrent indicates an expected call of GetCurrent
func (*MockMySQLTablePositionStoreMockRecorder) GetMaxMin ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) GetMaxMin(arg0 interface{}) *gomock.Call
GetMaxMin indicates an expected call of GetMaxMin
func (*MockMySQLTablePositionStoreMockRecorder) GetStartBinlogPos ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) GetStartBinlogPos() *gomock.Call
GetStartBinlogPos indicates an expected call of GetStartBinlogPos
func (*MockMySQLTablePositionStoreMockRecorder) PutCurrent ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) PutCurrent(arg0, arg1 interface{}) *gomock.Call
PutCurrent indicates an expected call of PutCurrent
func (*MockMySQLTablePositionStoreMockRecorder) PutMaxMin ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) PutMaxMin(arg0, arg1, arg2 interface{}) *gomock.Call
PutMaxMin indicates an expected call of PutMaxMin
func (*MockMySQLTablePositionStoreMockRecorder) PutStartBinlogPos ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) PutStartBinlogPos(arg0 interface{}) *gomock.Call
PutStartBinlogPos indicates an expected call of PutStartBinlogPos
func (*MockMySQLTablePositionStoreMockRecorder) Start ¶
func (mr *MockMySQLTablePositionStoreMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start