Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type MigrateAdapter
- func (fake *MigrateAdapter) ExecMax(db migrations.MigrationDb, dialect string, m migrate.MigrationSource, ...) (int, error)
- func (fake *MigrateAdapter) ExecMaxArgsForCall(i int) (migrations.MigrationDb, string, migrate.MigrationSource, ...)
- func (fake *MigrateAdapter) ExecMaxCallCount() int
- func (fake *MigrateAdapter) ExecMaxReturns(result1 int, result2 error)
- func (fake *MigrateAdapter) ExecMaxReturnsOnCall(i int, result1 int, result2 error)
- func (fake *MigrateAdapter) Invocations() map[string][][]interface{}
- type MigrationDb
- func (fake *MigrationDb) DriverName() string
- func (fake *MigrationDb) DriverNameCallCount() int
- func (fake *MigrationDb) DriverNameReturns(result1 string)
- func (fake *MigrationDb) DriverNameReturnsOnCall(i int, result1 string)
- func (fake *MigrationDb) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *MigrationDb) ExecArgsForCall(i int) (string, []interface{})
- func (fake *MigrationDb) ExecCallCount() int
- func (fake *MigrationDb) ExecReturns(result1 sql.Result, result2 error)
- func (fake *MigrationDb) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *MigrationDb) Invocations() map[string][][]interface{}
- func (fake *MigrationDb) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *MigrationDb) QueryArgsForCall(i int) (string, []interface{})
- func (fake *MigrationDb) QueryCallCount() int
- func (fake *MigrationDb) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *MigrationDb) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *MigrationDb) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *MigrationDb) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *MigrationDb) QueryRowCallCount() int
- func (fake *MigrationDb) QueryRowReturns(result1 *sql.Row)
- func (fake *MigrationDb) QueryRowReturnsOnCall(i int, result1 *sql.Row)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrateAdapter ¶
type MigrateAdapter struct { ExecMaxStub func(db migrations.MigrationDb, dialect string, m migrate.MigrationSource, dir migrate.MigrationDirection, maxNumMigrations int) (int, error) // contains filtered or unexported fields }
func (*MigrateAdapter) ExecMax ¶
func (fake *MigrateAdapter) ExecMax(db migrations.MigrationDb, dialect string, m migrate.MigrationSource, dir migrate.MigrationDirection, maxNumMigrations int) (int, error)
func (*MigrateAdapter) ExecMaxArgsForCall ¶
func (fake *MigrateAdapter) ExecMaxArgsForCall(i int) (migrations.MigrationDb, string, migrate.MigrationSource, migrate.MigrationDirection, int)
func (*MigrateAdapter) ExecMaxCallCount ¶
func (fake *MigrateAdapter) ExecMaxCallCount() int
func (*MigrateAdapter) ExecMaxReturns ¶
func (fake *MigrateAdapter) ExecMaxReturns(result1 int, result2 error)
func (*MigrateAdapter) ExecMaxReturnsOnCall ¶
func (fake *MigrateAdapter) ExecMaxReturnsOnCall(i int, result1 int, result2 error)
func (*MigrateAdapter) Invocations ¶
func (fake *MigrateAdapter) Invocations() map[string][][]interface{}
type MigrationDb ¶
type MigrationDb struct { ExecStub func(query string, args ...interface{}) (sql.Result, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) *sql.Row DriverNameStub func() string // contains filtered or unexported fields }
func (*MigrationDb) DriverName ¶
func (fake *MigrationDb) DriverName() string
func (*MigrationDb) DriverNameCallCount ¶
func (fake *MigrationDb) DriverNameCallCount() int
func (*MigrationDb) DriverNameReturns ¶
func (fake *MigrationDb) DriverNameReturns(result1 string)
func (*MigrationDb) DriverNameReturnsOnCall ¶
func (fake *MigrationDb) DriverNameReturnsOnCall(i int, result1 string)
func (*MigrationDb) Exec ¶
func (fake *MigrationDb) Exec(query string, args ...interface{}) (sql.Result, error)
func (*MigrationDb) ExecArgsForCall ¶
func (fake *MigrationDb) ExecArgsForCall(i int) (string, []interface{})
func (*MigrationDb) ExecCallCount ¶
func (fake *MigrationDb) ExecCallCount() int
func (*MigrationDb) ExecReturns ¶
func (fake *MigrationDb) ExecReturns(result1 sql.Result, result2 error)
func (*MigrationDb) ExecReturnsOnCall ¶
func (fake *MigrationDb) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
func (*MigrationDb) Invocations ¶
func (fake *MigrationDb) Invocations() map[string][][]interface{}
func (*MigrationDb) Query ¶
func (fake *MigrationDb) Query(query string, args ...interface{}) (*sql.Rows, error)
func (*MigrationDb) QueryArgsForCall ¶
func (fake *MigrationDb) QueryArgsForCall(i int) (string, []interface{})
func (*MigrationDb) QueryCallCount ¶
func (fake *MigrationDb) QueryCallCount() int
func (*MigrationDb) QueryReturns ¶
func (fake *MigrationDb) QueryReturns(result1 *sql.Rows, result2 error)
func (*MigrationDb) QueryReturnsOnCall ¶
func (fake *MigrationDb) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
func (*MigrationDb) QueryRow ¶
func (fake *MigrationDb) QueryRow(query string, args ...interface{}) *sql.Row
func (*MigrationDb) QueryRowArgsForCall ¶
func (fake *MigrationDb) QueryRowArgsForCall(i int) (string, []interface{})
func (*MigrationDb) QueryRowCallCount ¶
func (fake *MigrationDb) QueryRowCallCount() int
func (*MigrationDb) QueryRowReturns ¶
func (fake *MigrationDb) QueryRowReturns(result1 *sql.Row)
func (*MigrationDb) QueryRowReturnsOnCall ¶
func (fake *MigrationDb) QueryRowReturnsOnCall(i int, result1 *sql.Row)
Click to show internal directories.
Click to hide internal directories.