Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockChanger
- type MockChangerMockRecorder
- type MockClock
- type MockClockMockRecorder
- type MockCluster
- func (m *MockCluster) Close() error
- func (m *MockCluster) DB() database.DB
- func (m *MockCluster) EXPECT() *MockClusterMockRecorder
- func (m *MockCluster) EnterExclusive() error
- func (m *MockCluster) ExitExclusive(arg0 func(*db.ClusterTx) error) error
- func (m *MockCluster) NodeID(arg0 int64)
- func (m *MockCluster) Open(arg0 cluster.ServerStore, arg1, arg2 string, arg3 time.Duration, ...) error
- func (m *MockCluster) SchemaVersion() int
- func (m *MockCluster) Transaction(arg0 func(*db.ClusterTx) error) error
- type MockClusterConfigProvider
- type MockClusterConfigProviderMockRecorder
- type MockClusterMockRecorder
- func (mr *MockClusterMockRecorder) Close() *gomock.Call
- func (mr *MockClusterMockRecorder) DB() *gomock.Call
- func (mr *MockClusterMockRecorder) EnterExclusive() *gomock.Call
- func (mr *MockClusterMockRecorder) ExitExclusive(arg0 interface{}) *gomock.Call
- func (mr *MockClusterMockRecorder) NodeID(arg0 interface{}) *gomock.Call
- func (mr *MockClusterMockRecorder) Open(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockClusterMockRecorder) SchemaVersion() *gomock.Call
- func (mr *MockClusterMockRecorder) Transaction(arg0 interface{}) *gomock.Call
- type MockDB
- type MockDBMockRecorder
- type MockDialerProvider
- type MockDialerProviderMockRecorder
- type MockFileSystem
- func (m *MockFileSystem) Chtimes(arg0 string, arg1, arg2 time.Time) error
- func (m *MockFileSystem) CopyDir(arg0, arg1 string) error
- func (m *MockFileSystem) CopyFile(arg0, arg1 string) error
- func (m *MockFileSystem) Create(arg0 string) (fsys.File, error)
- func (m *MockFileSystem) EXPECT() *MockFileSystemMockRecorder
- func (m *MockFileSystem) Exists(arg0 string) bool
- func (m *MockFileSystem) Lock(arg0 string) (fsys.Releaser, bool, error)
- func (m *MockFileSystem) Mkdir(arg0 string, arg1 os.FileMode) error
- func (m *MockFileSystem) MkdirAll(arg0 string, arg1 os.FileMode) error
- func (m *MockFileSystem) Open(arg0 string) (fsys.File, error)
- func (m *MockFileSystem) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (fsys.File, error)
- func (m *MockFileSystem) Remove(arg0 string) error
- func (m *MockFileSystem) RemoveAll(arg0 string) error
- func (m *MockFileSystem) Rename(arg0, arg1 string) error
- func (m *MockFileSystem) Symlink(arg0, arg1 string) error
- func (m *MockFileSystem) Walk(arg0 string, arg1 filepath.WalkFunc) error
- type MockFileSystemMockRecorder
- func (mr *MockFileSystemMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) CopyDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) CopyFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Exists(arg0 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Lock(arg0 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Open(arg0 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileSystemMockRecorder) Walk(arg0, arg1 interface{}) *gomock.Call
- type MockGateway
- func (m *MockGateway) Cert() *cert.Info
- func (m *MockGateway) Context() context.Context
- func (m *MockGateway) DB() membership.Node
- func (m *MockGateway) DialFunc() go_dqlite.DialFunc
- func (m *MockGateway) EXPECT() *MockGatewayMockRecorder
- func (m *MockGateway) Init(arg0 *cert.Info) error
- func (m *MockGateway) IsDatabaseNode() bool
- func (m *MockGateway) Raft() membership.RaftInstance
- func (m *MockGateway) RaftNodes() ([]db.RaftNode, error)
- func (m *MockGateway) Reset(arg0 *cert.Info) error
- func (m *MockGateway) ServerStore() cluster.ServerStore
- func (m *MockGateway) Shutdown() error
- func (m *MockGateway) WaitLeadership() error
- type MockGatewayMockRecorder
- func (mr *MockGatewayMockRecorder) Cert() *gomock.Call
- func (mr *MockGatewayMockRecorder) Context() *gomock.Call
- func (mr *MockGatewayMockRecorder) DB() *gomock.Call
- func (mr *MockGatewayMockRecorder) DialFunc() *gomock.Call
- func (mr *MockGatewayMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayMockRecorder) IsDatabaseNode() *gomock.Call
- func (mr *MockGatewayMockRecorder) Raft() *gomock.Call
- func (mr *MockGatewayMockRecorder) RaftNodes() *gomock.Call
- func (mr *MockGatewayMockRecorder) Reset(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayMockRecorder) ServerStore() *gomock.Call
- func (mr *MockGatewayMockRecorder) Shutdown() *gomock.Call
- func (mr *MockGatewayMockRecorder) WaitLeadership() *gomock.Call
- type MockMembership
- type MockMembershipMockRecorder
- type MockNode
- type MockNodeConfigProvider
- type MockNodeConfigProviderMockRecorder
- type MockNodeMockRecorder
- type MockOS
- func (m *MockOS) EXPECT() *MockOSMockRecorder
- func (m *MockOS) GlobalDatabaseDir() string
- func (m *MockOS) GlobalDatabasePath() string
- func (m *MockOS) HostNames() ([]string, error)
- func (m *MockOS) Hostname() (string, error)
- func (m *MockOS) LocalDatabasePath() string
- func (m *MockOS) User() (*user.User, error)
- func (m *MockOS) VarDir() string
- type MockOSMockRecorder
- func (mr *MockOSMockRecorder) GlobalDatabaseDir() *gomock.Call
- func (mr *MockOSMockRecorder) GlobalDatabasePath() *gomock.Call
- func (mr *MockOSMockRecorder) HostNames() *gomock.Call
- func (mr *MockOSMockRecorder) Hostname() *gomock.Call
- func (mr *MockOSMockRecorder) LocalDatabasePath() *gomock.Call
- func (mr *MockOSMockRecorder) User() *gomock.Call
- func (mr *MockOSMockRecorder) VarDir() *gomock.Call
- type MockQuery
- func (m *MockQuery) Count(arg0 database.Tx, arg1, arg2 string, arg3 ...interface{}) (int, error)
- func (m *MockQuery) DeleteObject(arg0 database.Tx, arg1 string, arg2 int64) (bool, error)
- func (m *MockQuery) EXPECT() *MockQueryMockRecorder
- func (m *MockQuery) SelectConfig(arg0 database.Tx, arg1, arg2 string, arg3 ...interface{}) (map[string]string, error)
- func (m *MockQuery) SelectObjects(arg0 database.Tx, arg1 query.Dest, arg2 string, arg3 ...interface{}) error
- func (m *MockQuery) SelectStrings(arg0 database.Tx, arg1 string, arg2 ...interface{}) ([]string, error)
- func (m *MockQuery) UpdateConfig(arg0 database.Tx, arg1 string, arg2 map[string]string) error
- func (m *MockQuery) UpsertObject(arg0 database.Tx, arg1 string, arg2 []string, arg3 []interface{}) (int64, error)
- type MockQueryCluster
- func (m *MockQueryCluster) DB() database.DB
- func (m *MockQueryCluster) EXPECT() *MockQueryClusterMockRecorder
- func (m *MockQueryCluster) EnsureSchema(arg0, arg1 string) (bool, error)
- func (m *MockQueryCluster) Open(arg0 cluster.ServerStore, arg1 ...go_dqlite.DriverOption) error
- func (m *MockQueryCluster) SchemaVersion() int
- type MockQueryClusterMockRecorder
- func (mr *MockQueryClusterMockRecorder) DB() *gomock.Call
- func (mr *MockQueryClusterMockRecorder) EnsureSchema(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryClusterMockRecorder) Open(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockQueryClusterMockRecorder) SchemaVersion() *gomock.Call
- type MockQueryMockRecorder
- func (mr *MockQueryMockRecorder) Count(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) DeleteObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) SelectConfig(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) SelectObjects(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) SelectStrings(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) UpsertObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockQueryNode
- type MockQueryNodeMockRecorder
- type MockRaftInstance
- type MockRaftInstanceMockRecorder
- type MockResult
- type MockResultMockRecorder
- type MockRows
- func (m *MockRows) Close() error
- func (m *MockRows) ColumnTypes() ([]database.ColumnType, error)
- func (m *MockRows) Columns() ([]string, error)
- func (m *MockRows) EXPECT() *MockRowsMockRecorder
- func (m *MockRows) Err() error
- func (m *MockRows) Next() bool
- func (m *MockRows) Scan(arg0 ...interface{}) error
- type MockRowsMockRecorder
- func (mr *MockRowsMockRecorder) Close() *gomock.Call
- func (mr *MockRowsMockRecorder) ColumnTypes() *gomock.Call
- func (mr *MockRowsMockRecorder) Columns() *gomock.Call
- func (mr *MockRowsMockRecorder) Err() *gomock.Call
- func (mr *MockRowsMockRecorder) Next() *gomock.Call
- func (mr *MockRowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
- type MockSleeper
- type MockSleeperMockRecorder
- type MockState
- type MockStateMockRecorder
- type MockTransaction
- type MockTransactionMockRecorder
- type MockTx
- type MockTxMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChanger ¶
type MockChanger struct {
// contains filtered or unexported fields
}
MockChanger is a mock of Changer interface
func NewMockChanger ¶
func NewMockChanger(ctrl *gomock.Controller) *MockChanger
NewMockChanger creates a new mock instance
func (*MockChanger) EXPECT ¶
func (m *MockChanger) EXPECT() *MockChangerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockChanger) Join ¶
func (m *MockChanger) Join(arg0 raft.ServerID, arg1 raft.ServerAddress, arg2 time.Duration) error
Join mocks base method
func (*MockChanger) Leave ¶
func (m *MockChanger) Leave(arg0 raft.ServerID, arg1 raft.ServerAddress, arg2 time.Duration) error
Leave mocks base method
type MockChangerMockRecorder ¶
type MockChangerMockRecorder struct {
// contains filtered or unexported fields
}
MockChangerMockRecorder is the mock recorder for MockChanger
func (*MockChangerMockRecorder) Join ¶
func (mr *MockChangerMockRecorder) Join(arg0, arg1, arg2 interface{}) *gomock.Call
Join indicates an expected call of Join
func (*MockChangerMockRecorder) Leave ¶
func (mr *MockChangerMockRecorder) Leave(arg0, arg1, arg2 interface{}) *gomock.Call
Leave indicates an expected call of Leave
type MockClock ¶
type MockClock struct {
// contains filtered or unexported fields
}
MockClock is a mock of Clock interface
func NewMockClock ¶
func NewMockClock(ctrl *gomock.Controller) *MockClock
NewMockClock creates a new mock instance
func (*MockClock) EXPECT ¶
func (m *MockClock) EXPECT() *MockClockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClockMockRecorder ¶
type MockClockMockRecorder struct {
// contains filtered or unexported fields
}
MockClockMockRecorder is the mock recorder for MockClock
func (*MockClockMockRecorder) After ¶
func (mr *MockClockMockRecorder) After(arg0 interface{}) *gomock.Call
After indicates an expected call of After
func (*MockClockMockRecorder) Now ¶
func (mr *MockClockMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now
func (*MockClockMockRecorder) UTC ¶
func (mr *MockClockMockRecorder) UTC() *gomock.Call
UTC indicates an expected call of UTC
type MockCluster ¶
type MockCluster struct {
// contains filtered or unexported fields
}
MockCluster is a mock of Cluster interface
func NewMockCluster ¶
func NewMockCluster(ctrl *gomock.Controller) *MockCluster
NewMockCluster creates a new mock instance
func (*MockCluster) EXPECT ¶
func (m *MockCluster) EXPECT() *MockClusterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCluster) EnterExclusive ¶
func (m *MockCluster) EnterExclusive() error
EnterExclusive mocks base method
func (*MockCluster) ExitExclusive ¶
func (m *MockCluster) ExitExclusive(arg0 func(*db.ClusterTx) error) error
ExitExclusive mocks base method
func (*MockCluster) Open ¶
func (m *MockCluster) Open(arg0 cluster.ServerStore, arg1, arg2 string, arg3 time.Duration, arg4 ...go_dqlite.DriverOption) error
Open mocks base method
func (*MockCluster) SchemaVersion ¶
func (m *MockCluster) SchemaVersion() int
SchemaVersion mocks base method
func (*MockCluster) Transaction ¶
func (m *MockCluster) Transaction(arg0 func(*db.ClusterTx) error) error
Transaction mocks base method
type MockClusterConfigProvider ¶
type MockClusterConfigProvider struct {
// contains filtered or unexported fields
}
MockClusterConfigProvider is a mock of ClusterConfigProvider interface
func NewMockClusterConfigProvider ¶
func NewMockClusterConfigProvider(ctrl *gomock.Controller) *MockClusterConfigProvider
NewMockClusterConfigProvider creates a new mock instance
func (*MockClusterConfigProvider) ConfigLoad ¶
func (m *MockClusterConfigProvider) ConfigLoad(arg0 *db.ClusterTx, arg1 config0.Schema) (*config.Config, error)
ConfigLoad mocks base method
func (*MockClusterConfigProvider) EXPECT ¶
func (m *MockClusterConfigProvider) EXPECT() *MockClusterConfigProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClusterConfigProviderMockRecorder ¶
type MockClusterConfigProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterConfigProviderMockRecorder is the mock recorder for MockClusterConfigProvider
func (*MockClusterConfigProviderMockRecorder) ConfigLoad ¶
func (mr *MockClusterConfigProviderMockRecorder) ConfigLoad(arg0, arg1 interface{}) *gomock.Call
ConfigLoad indicates an expected call of ConfigLoad
type MockClusterMockRecorder ¶
type MockClusterMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterMockRecorder is the mock recorder for MockCluster
func (*MockClusterMockRecorder) Close ¶
func (mr *MockClusterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockClusterMockRecorder) DB ¶
func (mr *MockClusterMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB
func (*MockClusterMockRecorder) EnterExclusive ¶
func (mr *MockClusterMockRecorder) EnterExclusive() *gomock.Call
EnterExclusive indicates an expected call of EnterExclusive
func (*MockClusterMockRecorder) ExitExclusive ¶
func (mr *MockClusterMockRecorder) ExitExclusive(arg0 interface{}) *gomock.Call
ExitExclusive indicates an expected call of ExitExclusive
func (*MockClusterMockRecorder) NodeID ¶
func (mr *MockClusterMockRecorder) NodeID(arg0 interface{}) *gomock.Call
NodeID indicates an expected call of NodeID
func (*MockClusterMockRecorder) Open ¶
func (mr *MockClusterMockRecorder) Open(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockClusterMockRecorder) SchemaVersion ¶
func (mr *MockClusterMockRecorder) SchemaVersion() *gomock.Call
SchemaVersion indicates an expected call of SchemaVersion
func (*MockClusterMockRecorder) Transaction ¶
func (mr *MockClusterMockRecorder) Transaction(arg0 interface{}) *gomock.Call
Transaction indicates an expected call of Transaction
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
MockDB is a mock of DB interface
func NewMockDB ¶
func NewMockDB(ctrl *gomock.Controller) *MockDB
NewMockDB creates a new mock instance
func (*MockDB) EXPECT ¶
func (m *MockDB) EXPECT() *MockDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDBMockRecorder ¶
type MockDBMockRecorder struct {
// contains filtered or unexported fields
}
MockDBMockRecorder is the mock recorder for MockDB
func (*MockDBMockRecorder) Begin ¶
func (mr *MockDBMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
func (*MockDBMockRecorder) Close ¶
func (mr *MockDBMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockDBMockRecorder) Ping ¶
func (mr *MockDBMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping
type MockDialerProvider ¶
type MockDialerProvider struct {
// contains filtered or unexported fields
}
MockDialerProvider is a mock of DialerProvider interface
func NewMockDialerProvider ¶
func NewMockDialerProvider(ctrl *gomock.Controller) *MockDialerProvider
NewMockDialerProvider creates a new mock instance
func (*MockDialerProvider) EXPECT ¶
func (m *MockDialerProvider) EXPECT() *MockDialerProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDialerProviderMockRecorder ¶
type MockDialerProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockDialerProviderMockRecorder is the mock recorder for MockDialerProvider
func (*MockDialerProviderMockRecorder) Dial ¶
func (mr *MockDialerProviderMockRecorder) Dial(arg0 interface{}) *gomock.Call
Dial indicates an expected call of Dial
type MockFileSystem ¶
type MockFileSystem struct {
// contains filtered or unexported fields
}
MockFileSystem is a mock of FileSystem interface
func NewMockFileSystem ¶
func NewMockFileSystem(ctrl *gomock.Controller) *MockFileSystem
NewMockFileSystem creates a new mock instance
func (*MockFileSystem) Chtimes ¶
func (m *MockFileSystem) Chtimes(arg0 string, arg1, arg2 time.Time) error
Chtimes mocks base method
func (*MockFileSystem) CopyDir ¶
func (m *MockFileSystem) CopyDir(arg0, arg1 string) error
CopyDir mocks base method
func (*MockFileSystem) CopyFile ¶
func (m *MockFileSystem) CopyFile(arg0, arg1 string) error
CopyFile mocks base method
func (*MockFileSystem) Create ¶
func (m *MockFileSystem) Create(arg0 string) (fsys.File, error)
Create mocks base method
func (*MockFileSystem) EXPECT ¶
func (m *MockFileSystem) EXPECT() *MockFileSystemMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFileSystem) Exists ¶
func (m *MockFileSystem) Exists(arg0 string) bool
Exists mocks base method
func (*MockFileSystem) Mkdir ¶
func (m *MockFileSystem) Mkdir(arg0 string, arg1 os.FileMode) error
Mkdir mocks base method
func (*MockFileSystem) MkdirAll ¶
func (m *MockFileSystem) MkdirAll(arg0 string, arg1 os.FileMode) error
MkdirAll mocks base method
func (*MockFileSystem) Open ¶
func (m *MockFileSystem) Open(arg0 string) (fsys.File, error)
Open mocks base method
func (*MockFileSystem) Remove ¶
func (m *MockFileSystem) Remove(arg0 string) error
Remove mocks base method
func (*MockFileSystem) RemoveAll ¶
func (m *MockFileSystem) RemoveAll(arg0 string) error
RemoveAll mocks base method
func (*MockFileSystem) Rename ¶
func (m *MockFileSystem) Rename(arg0, arg1 string) error
Rename mocks base method
func (*MockFileSystem) Symlink ¶
func (m *MockFileSystem) Symlink(arg0, arg1 string) error
Symlink mocks base method
type MockFileSystemMockRecorder ¶
type MockFileSystemMockRecorder struct {
// contains filtered or unexported fields
}
MockFileSystemMockRecorder is the mock recorder for MockFileSystem
func (*MockFileSystemMockRecorder) Chtimes ¶
func (mr *MockFileSystemMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call
Chtimes indicates an expected call of Chtimes
func (*MockFileSystemMockRecorder) CopyDir ¶
func (mr *MockFileSystemMockRecorder) CopyDir(arg0, arg1 interface{}) *gomock.Call
CopyDir indicates an expected call of CopyDir
func (*MockFileSystemMockRecorder) CopyFile ¶
func (mr *MockFileSystemMockRecorder) CopyFile(arg0, arg1 interface{}) *gomock.Call
CopyFile indicates an expected call of CopyFile
func (*MockFileSystemMockRecorder) Create ¶
func (mr *MockFileSystemMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFileSystemMockRecorder) Exists ¶
func (mr *MockFileSystemMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockFileSystemMockRecorder) Lock ¶
func (mr *MockFileSystemMockRecorder) Lock(arg0 interface{}) *gomock.Call
Lock indicates an expected call of Lock
func (*MockFileSystemMockRecorder) Mkdir ¶
func (mr *MockFileSystemMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call
Mkdir indicates an expected call of Mkdir
func (*MockFileSystemMockRecorder) MkdirAll ¶
func (mr *MockFileSystemMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll
func (*MockFileSystemMockRecorder) Open ¶
func (mr *MockFileSystemMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockFileSystemMockRecorder) OpenFile ¶
func (mr *MockFileSystemMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call
OpenFile indicates an expected call of OpenFile
func (*MockFileSystemMockRecorder) Remove ¶
func (mr *MockFileSystemMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockFileSystemMockRecorder) RemoveAll ¶
func (mr *MockFileSystemMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll
func (*MockFileSystemMockRecorder) Rename ¶
func (mr *MockFileSystemMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename
func (*MockFileSystemMockRecorder) Symlink ¶
func (mr *MockFileSystemMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call
Symlink indicates an expected call of Symlink
func (*MockFileSystemMockRecorder) Walk ¶
func (mr *MockFileSystemMockRecorder) Walk(arg0, arg1 interface{}) *gomock.Call
Walk indicates an expected call of Walk
type MockGateway ¶
type MockGateway struct {
// contains filtered or unexported fields
}
MockGateway is a mock of Gateway interface
func NewMockGateway ¶
func NewMockGateway(ctrl *gomock.Controller) *MockGateway
NewMockGateway creates a new mock instance
func (*MockGateway) Context ¶
func (m *MockGateway) Context() context.Context
Context mocks base method
func (*MockGateway) DialFunc ¶
func (m *MockGateway) DialFunc() go_dqlite.DialFunc
DialFunc mocks base method
func (*MockGateway) EXPECT ¶
func (m *MockGateway) EXPECT() *MockGatewayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGateway) IsDatabaseNode ¶
func (m *MockGateway) IsDatabaseNode() bool
IsDatabaseNode mocks base method
func (*MockGateway) Raft ¶
func (m *MockGateway) Raft() membership.RaftInstance
Raft mocks base method
func (*MockGateway) RaftNodes ¶
func (m *MockGateway) RaftNodes() ([]db.RaftNode, error)
RaftNodes mocks base method
func (*MockGateway) Reset ¶
func (m *MockGateway) Reset(arg0 *cert.Info) error
Reset mocks base method
func (*MockGateway) ServerStore ¶
func (m *MockGateway) ServerStore() cluster.ServerStore
ServerStore mocks base method
func (*MockGateway) WaitLeadership ¶
func (m *MockGateway) WaitLeadership() error
WaitLeadership mocks base method
type MockGatewayMockRecorder ¶
type MockGatewayMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayMockRecorder is the mock recorder for MockGateway
func (*MockGatewayMockRecorder) Cert ¶
func (mr *MockGatewayMockRecorder) Cert() *gomock.Call
Cert indicates an expected call of Cert
func (*MockGatewayMockRecorder) Context ¶
func (mr *MockGatewayMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockGatewayMockRecorder) DB ¶
func (mr *MockGatewayMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB
func (*MockGatewayMockRecorder) DialFunc ¶
func (mr *MockGatewayMockRecorder) DialFunc() *gomock.Call
DialFunc indicates an expected call of DialFunc
func (*MockGatewayMockRecorder) Init ¶
func (mr *MockGatewayMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockGatewayMockRecorder) IsDatabaseNode ¶
func (mr *MockGatewayMockRecorder) IsDatabaseNode() *gomock.Call
IsDatabaseNode indicates an expected call of IsDatabaseNode
func (*MockGatewayMockRecorder) Raft ¶
func (mr *MockGatewayMockRecorder) Raft() *gomock.Call
Raft indicates an expected call of Raft
func (*MockGatewayMockRecorder) RaftNodes ¶
func (mr *MockGatewayMockRecorder) RaftNodes() *gomock.Call
RaftNodes indicates an expected call of RaftNodes
func (*MockGatewayMockRecorder) Reset ¶
func (mr *MockGatewayMockRecorder) Reset(arg0 interface{}) *gomock.Call
Reset indicates an expected call of Reset
func (*MockGatewayMockRecorder) ServerStore ¶
func (mr *MockGatewayMockRecorder) ServerStore() *gomock.Call
ServerStore indicates an expected call of ServerStore
func (*MockGatewayMockRecorder) Shutdown ¶
func (mr *MockGatewayMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown
func (*MockGatewayMockRecorder) WaitLeadership ¶
func (mr *MockGatewayMockRecorder) WaitLeadership() *gomock.Call
WaitLeadership indicates an expected call of WaitLeadership
type MockMembership ¶
type MockMembership struct {
// contains filtered or unexported fields
}
MockMembership is a mock of Membership interface
func NewMockMembership ¶
func NewMockMembership(ctrl *gomock.Controller) *MockMembership
NewMockMembership creates a new mock instance
func (*MockMembership) Change ¶
func (m *MockMembership) Change(arg0 raft_http.Dial, arg1 raft.ServerID, arg2, arg3 string, arg4 time.Duration) error
Change mocks base method
func (*MockMembership) EXPECT ¶
func (m *MockMembership) EXPECT() *MockMembershipMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMembershipMockRecorder ¶
type MockMembershipMockRecorder struct {
// contains filtered or unexported fields
}
MockMembershipMockRecorder is the mock recorder for MockMembership
func (*MockMembershipMockRecorder) Change ¶
func (mr *MockMembershipMockRecorder) Change(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Change indicates an expected call of Change
type MockNode ¶
type MockNode struct {
// contains filtered or unexported fields
}
MockNode is a mock of Node interface
func NewMockNode ¶
func NewMockNode(ctrl *gomock.Controller) *MockNode
NewMockNode creates a new mock instance
func (*MockNode) EXPECT ¶
func (m *MockNode) EXPECT() *MockNodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockNodeConfigProvider ¶
type MockNodeConfigProvider struct {
// contains filtered or unexported fields
}
MockNodeConfigProvider is a mock of NodeConfigProvider interface
func NewMockNodeConfigProvider ¶
func NewMockNodeConfigProvider(ctrl *gomock.Controller) *MockNodeConfigProvider
NewMockNodeConfigProvider creates a new mock instance
func (*MockNodeConfigProvider) ConfigLoad ¶
func (m *MockNodeConfigProvider) ConfigLoad(arg0 *db.NodeTx, arg1 config0.Schema) (*node.Config, error)
ConfigLoad mocks base method
func (*MockNodeConfigProvider) EXPECT ¶
func (m *MockNodeConfigProvider) EXPECT() *MockNodeConfigProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockNodeConfigProviderMockRecorder ¶
type MockNodeConfigProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeConfigProviderMockRecorder is the mock recorder for MockNodeConfigProvider
func (*MockNodeConfigProviderMockRecorder) ConfigLoad ¶
func (mr *MockNodeConfigProviderMockRecorder) ConfigLoad(arg0, arg1 interface{}) *gomock.Call
ConfigLoad indicates an expected call of ConfigLoad
type MockNodeMockRecorder ¶
type MockNodeMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeMockRecorder is the mock recorder for MockNode
func (*MockNodeMockRecorder) Transaction ¶
func (mr *MockNodeMockRecorder) Transaction(arg0 interface{}) *gomock.Call
Transaction indicates an expected call of Transaction
type MockOS ¶
type MockOS struct {
// contains filtered or unexported fields
}
MockOS is a mock of OS interface
func NewMockOS ¶
func NewMockOS(ctrl *gomock.Controller) *MockOS
NewMockOS creates a new mock instance
func (*MockOS) EXPECT ¶
func (m *MockOS) EXPECT() *MockOSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOS) GlobalDatabaseDir ¶
GlobalDatabaseDir mocks base method
func (*MockOS) GlobalDatabasePath ¶
GlobalDatabasePath mocks base method
func (*MockOS) LocalDatabasePath ¶
LocalDatabasePath mocks base method
type MockOSMockRecorder ¶
type MockOSMockRecorder struct {
// contains filtered or unexported fields
}
MockOSMockRecorder is the mock recorder for MockOS
func (*MockOSMockRecorder) GlobalDatabaseDir ¶
func (mr *MockOSMockRecorder) GlobalDatabaseDir() *gomock.Call
GlobalDatabaseDir indicates an expected call of GlobalDatabaseDir
func (*MockOSMockRecorder) GlobalDatabasePath ¶
func (mr *MockOSMockRecorder) GlobalDatabasePath() *gomock.Call
GlobalDatabasePath indicates an expected call of GlobalDatabasePath
func (*MockOSMockRecorder) HostNames ¶
func (mr *MockOSMockRecorder) HostNames() *gomock.Call
HostNames indicates an expected call of HostNames
func (*MockOSMockRecorder) Hostname ¶
func (mr *MockOSMockRecorder) Hostname() *gomock.Call
Hostname indicates an expected call of Hostname
func (*MockOSMockRecorder) LocalDatabasePath ¶
func (mr *MockOSMockRecorder) LocalDatabasePath() *gomock.Call
LocalDatabasePath indicates an expected call of LocalDatabasePath
func (*MockOSMockRecorder) User ¶
func (mr *MockOSMockRecorder) User() *gomock.Call
User indicates an expected call of User
func (*MockOSMockRecorder) VarDir ¶
func (mr *MockOSMockRecorder) VarDir() *gomock.Call
VarDir indicates an expected call of VarDir
type MockQuery ¶
type MockQuery struct {
// contains filtered or unexported fields
}
MockQuery is a mock of Query interface
func NewMockQuery ¶
func NewMockQuery(ctrl *gomock.Controller) *MockQuery
NewMockQuery creates a new mock instance
func (*MockQuery) DeleteObject ¶
DeleteObject mocks base method
func (*MockQuery) EXPECT ¶
func (m *MockQuery) EXPECT() *MockQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQuery) SelectConfig ¶
func (m *MockQuery) SelectConfig(arg0 database.Tx, arg1, arg2 string, arg3 ...interface{}) (map[string]string, error)
SelectConfig mocks base method
func (*MockQuery) SelectObjects ¶
func (m *MockQuery) SelectObjects(arg0 database.Tx, arg1 query.Dest, arg2 string, arg3 ...interface{}) error
SelectObjects mocks base method
func (*MockQuery) SelectStrings ¶
func (m *MockQuery) SelectStrings(arg0 database.Tx, arg1 string, arg2 ...interface{}) ([]string, error)
SelectStrings mocks base method
func (*MockQuery) UpdateConfig ¶
UpdateConfig mocks base method
type MockQueryCluster ¶
type MockQueryCluster struct {
// contains filtered or unexported fields
}
MockQueryCluster is a mock of QueryCluster interface
func NewMockQueryCluster ¶
func NewMockQueryCluster(ctrl *gomock.Controller) *MockQueryCluster
NewMockQueryCluster creates a new mock instance
func (*MockQueryCluster) EXPECT ¶
func (m *MockQueryCluster) EXPECT() *MockQueryClusterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQueryCluster) EnsureSchema ¶
func (m *MockQueryCluster) EnsureSchema(arg0, arg1 string) (bool, error)
EnsureSchema mocks base method
func (*MockQueryCluster) Open ¶
func (m *MockQueryCluster) Open(arg0 cluster.ServerStore, arg1 ...go_dqlite.DriverOption) error
Open mocks base method
func (*MockQueryCluster) SchemaVersion ¶
func (m *MockQueryCluster) SchemaVersion() int
SchemaVersion mocks base method
type MockQueryClusterMockRecorder ¶
type MockQueryClusterMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryClusterMockRecorder is the mock recorder for MockQueryCluster
func (*MockQueryClusterMockRecorder) DB ¶
func (mr *MockQueryClusterMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB
func (*MockQueryClusterMockRecorder) EnsureSchema ¶
func (mr *MockQueryClusterMockRecorder) EnsureSchema(arg0, arg1 interface{}) *gomock.Call
EnsureSchema indicates an expected call of EnsureSchema
func (*MockQueryClusterMockRecorder) Open ¶
func (mr *MockQueryClusterMockRecorder) Open(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockQueryClusterMockRecorder) SchemaVersion ¶
func (mr *MockQueryClusterMockRecorder) SchemaVersion() *gomock.Call
SchemaVersion indicates an expected call of SchemaVersion
type MockQueryMockRecorder ¶
type MockQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryMockRecorder is the mock recorder for MockQuery
func (*MockQueryMockRecorder) Count ¶
func (mr *MockQueryMockRecorder) Count(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Count indicates an expected call of Count
func (*MockQueryMockRecorder) DeleteObject ¶
func (mr *MockQueryMockRecorder) DeleteObject(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject
func (*MockQueryMockRecorder) SelectConfig ¶
func (mr *MockQueryMockRecorder) SelectConfig(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
SelectConfig indicates an expected call of SelectConfig
func (*MockQueryMockRecorder) SelectObjects ¶
func (mr *MockQueryMockRecorder) SelectObjects(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
SelectObjects indicates an expected call of SelectObjects
func (*MockQueryMockRecorder) SelectStrings ¶
func (mr *MockQueryMockRecorder) SelectStrings(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SelectStrings indicates an expected call of SelectStrings
func (*MockQueryMockRecorder) UpdateConfig ¶
func (mr *MockQueryMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateConfig indicates an expected call of UpdateConfig
func (*MockQueryMockRecorder) UpsertObject ¶
func (mr *MockQueryMockRecorder) UpsertObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpsertObject indicates an expected call of UpsertObject
type MockQueryNode ¶
type MockQueryNode struct {
// contains filtered or unexported fields
}
MockQueryNode is a mock of QueryNode interface
func NewMockQueryNode ¶
func NewMockQueryNode(ctrl *gomock.Controller) *MockQueryNode
NewMockQueryNode creates a new mock instance
func (*MockQueryNode) EXPECT ¶
func (m *MockQueryNode) EXPECT() *MockQueryNodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQueryNode) EnsureSchema ¶
func (m *MockQueryNode) EnsureSchema(arg0 schema.Hook) (int, error)
EnsureSchema mocks base method
type MockQueryNodeMockRecorder ¶
type MockQueryNodeMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryNodeMockRecorder is the mock recorder for MockQueryNode
func (*MockQueryNodeMockRecorder) DB ¶
func (mr *MockQueryNodeMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB
func (*MockQueryNodeMockRecorder) EnsureSchema ¶
func (mr *MockQueryNodeMockRecorder) EnsureSchema(arg0 interface{}) *gomock.Call
EnsureSchema indicates an expected call of EnsureSchema
func (*MockQueryNodeMockRecorder) Open ¶
func (mr *MockQueryNodeMockRecorder) Open(arg0 interface{}) *gomock.Call
Open indicates an expected call of Open
type MockRaftInstance ¶
type MockRaftInstance struct {
// contains filtered or unexported fields
}
MockRaftInstance is a mock of RaftInstance interface
func NewMockRaftInstance ¶
func NewMockRaftInstance(ctrl *gomock.Controller) *MockRaftInstance
NewMockRaftInstance creates a new mock instance
func (*MockRaftInstance) EXPECT ¶
func (m *MockRaftInstance) EXPECT() *MockRaftInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRaftInstance) MembershipChanger ¶
func (m *MockRaftInstance) MembershipChanger() raft_membership.Changer
MembershipChanger mocks base method
type MockRaftInstanceMockRecorder ¶
type MockRaftInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockRaftInstanceMockRecorder is the mock recorder for MockRaftInstance
func (*MockRaftInstanceMockRecorder) MembershipChanger ¶
func (mr *MockRaftInstanceMockRecorder) MembershipChanger() *gomock.Call
MembershipChanger indicates an expected call of MembershipChanger
type MockResult ¶
type MockResult struct {
// contains filtered or unexported fields
}
MockResult is a mock of Result interface
func NewMockResult ¶
func NewMockResult(ctrl *gomock.Controller) *MockResult
NewMockResult creates a new mock instance
func (*MockResult) EXPECT ¶
func (m *MockResult) EXPECT() *MockResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResult) LastInsertId ¶
func (m *MockResult) LastInsertId() (int64, error)
LastInsertId mocks base method
func (*MockResult) RowsAffected ¶
func (m *MockResult) RowsAffected() (int64, error)
RowsAffected mocks base method
type MockResultMockRecorder ¶
type MockResultMockRecorder struct {
// contains filtered or unexported fields
}
MockResultMockRecorder is the mock recorder for MockResult
func (*MockResultMockRecorder) LastInsertId ¶
func (mr *MockResultMockRecorder) LastInsertId() *gomock.Call
LastInsertId indicates an expected call of LastInsertId
func (*MockResultMockRecorder) RowsAffected ¶
func (mr *MockResultMockRecorder) RowsAffected() *gomock.Call
RowsAffected indicates an expected call of RowsAffected
type MockRows ¶
type MockRows struct {
// contains filtered or unexported fields
}
MockRows is a mock of Rows interface
func NewMockRows ¶
func NewMockRows(ctrl *gomock.Controller) *MockRows
NewMockRows creates a new mock instance
func (*MockRows) ColumnTypes ¶
func (m *MockRows) ColumnTypes() ([]database.ColumnType, error)
ColumnTypes mocks base method
func (*MockRows) EXPECT ¶
func (m *MockRows) EXPECT() *MockRowsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRowsMockRecorder ¶
type MockRowsMockRecorder struct {
// contains filtered or unexported fields
}
MockRowsMockRecorder is the mock recorder for MockRows
func (*MockRowsMockRecorder) Close ¶
func (mr *MockRowsMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockRowsMockRecorder) ColumnTypes ¶
func (mr *MockRowsMockRecorder) ColumnTypes() *gomock.Call
ColumnTypes indicates an expected call of ColumnTypes
func (*MockRowsMockRecorder) Columns ¶
func (mr *MockRowsMockRecorder) Columns() *gomock.Call
Columns indicates an expected call of Columns
func (*MockRowsMockRecorder) Err ¶
func (mr *MockRowsMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err
func (*MockRowsMockRecorder) Next ¶
func (mr *MockRowsMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
func (*MockRowsMockRecorder) Scan ¶
func (mr *MockRowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan
type MockSleeper ¶
type MockSleeper struct {
// contains filtered or unexported fields
}
MockSleeper is a mock of Sleeper interface
func NewMockSleeper ¶
func NewMockSleeper(ctrl *gomock.Controller) *MockSleeper
NewMockSleeper creates a new mock instance
func (*MockSleeper) EXPECT ¶
func (m *MockSleeper) EXPECT() *MockSleeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSleeperMockRecorder ¶
type MockSleeperMockRecorder struct {
// contains filtered or unexported fields
}
MockSleeperMockRecorder is the mock recorder for MockSleeper
func (*MockSleeperMockRecorder) Sleep ¶
func (mr *MockSleeperMockRecorder) Sleep(arg0 interface{}) *gomock.Call
Sleep indicates an expected call of Sleep
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface
func NewMockState ¶
func NewMockState(ctrl *gomock.Controller) *MockState
NewMockState creates a new mock instance
func (*MockState) Cluster ¶
func (m *MockState) Cluster() membership.Cluster
Cluster mocks base method
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState
func (*MockStateMockRecorder) Cluster ¶
func (mr *MockStateMockRecorder) Cluster() *gomock.Call
Cluster indicates an expected call of Cluster
func (*MockStateMockRecorder) Node ¶
func (mr *MockStateMockRecorder) Node() *gomock.Call
Node indicates an expected call of Node
func (*MockStateMockRecorder) OS ¶
func (mr *MockStateMockRecorder) OS() *gomock.Call
OS indicates an expected call of OS
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTransaction) Transaction ¶
Transaction mocks base method
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction
func (*MockTransactionMockRecorder) Transaction ¶
func (mr *MockTransactionMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call
Transaction indicates an expected call of Transaction
type MockTx ¶
type MockTx struct {
// contains filtered or unexported fields
}
MockTx is a mock of Tx interface
func NewMockTx ¶
func NewMockTx(ctrl *gomock.Controller) *MockTx
NewMockTx creates a new mock instance
func (*MockTx) EXPECT ¶
func (m *MockTx) EXPECT() *MockTxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTxMockRecorder ¶
type MockTxMockRecorder struct {
// contains filtered or unexported fields
}
MockTxMockRecorder is the mock recorder for MockTx
func (*MockTxMockRecorder) Commit ¶
func (mr *MockTxMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockTxMockRecorder) Exec ¶
func (mr *MockTxMockRecorder) Exec(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Exec indicates an expected call of Exec
func (*MockTxMockRecorder) Query ¶
func (mr *MockTxMockRecorder) Query(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Query indicates an expected call of Query
func (*MockTxMockRecorder) Rollback ¶
func (mr *MockTxMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback