Documentation
¶
Overview ¶
Package mock_position_store is a generated GoMock package.
Index ¶
- type MockMongoPositionStore
- func (m *MockMongoPositionStore) Close()
- func (m *MockMongoPositionStore) EXPECT() *MockMongoPositionStoreMockRecorder
- func (m *MockMongoPositionStore) Get(arg0 string) config.MongoPosition
- func (m *MockMongoPositionStore) Put(arg0 string, arg1 config.MongoPosition)
- func (m *MockMongoPositionStore) Start() error
- type MockMongoPositionStoreMockRecorder
- func (mr *MockMongoPositionStoreMockRecorder) Close() *gomock.Call
- func (mr *MockMongoPositionStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockMongoPositionStoreMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMongoPositionStoreMockRecorder) Start() *gomock.Call
- type MockMySQLPositionStore
- func (m *MockMySQLPositionStore) Close()
- func (m *MockMySQLPositionStore) EXPECT() *MockMySQLPositionStoreMockRecorder
- func (m *MockMySQLPositionStore) Get() utils.MySQLBinlogPosition
- func (m *MockMySQLPositionStore) Put(arg0 utils.MySQLBinlogPosition, arg1 chan struct{})
- func (m *MockMySQLPositionStore) Start() error
- type MockMySQLPositionStoreMockRecorder
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(arg0 string) config.MongoPosition
Get mocks base method
func (*MockMongoPositionStore) Put ¶
func (m *MockMongoPositionStore) Put(arg0 string, arg1 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(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockMongoPositionStoreMockRecorder) Put ¶
func (mr *MockMongoPositionStoreMockRecorder) Put(arg0, arg1 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) Get ¶
func (m *MockMySQLPositionStore) Get() utils.MySQLBinlogPosition
Get mocks base method
func (*MockMySQLPositionStore) Put ¶
func (m *MockMySQLPositionStore) Put(arg0 utils.MySQLBinlogPosition, arg1 chan struct{})
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) Get ¶
func (mr *MockMySQLPositionStoreMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
func (*MockMySQLPositionStoreMockRecorder) Put ¶
func (mr *MockMySQLPositionStoreMockRecorder) Put(arg0, arg1 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