Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
Migrator is an autogenerated mock type for the Migrator type
func NewMigrator ¶
func NewMigrator(t mockConstructorTestingTNewMigrator) *Migrator
NewMigrator creates a new instance of Migrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Migrator) EXPECT ¶
func (_m *Migrator) EXPECT() *Migrator_Expecter
type Migrator_Create_Call ¶
Migrator_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Migrator_Create_Call) Return ¶
func (_c *Migrator_Create_Call) Return(_a0 error) *Migrator_Create_Call
func (*Migrator_Create_Call) Run ¶
func (_c *Migrator_Create_Call) Run(run func(filename string)) *Migrator_Create_Call
type Migrator_Down_Call ¶
Migrator_Down_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Down'
func (*Migrator_Down_Call) Return ¶
func (_c *Migrator_Down_Call) Return(_a0 error) *Migrator_Down_Call
func (*Migrator_Down_Call) Run ¶
func (_c *Migrator_Down_Call) Run(run func()) *Migrator_Down_Call
type Migrator_Expecter ¶
type Migrator_Expecter struct {
// contains filtered or unexported fields
}
func (*Migrator_Expecter) Create ¶
func (_e *Migrator_Expecter) Create(filename interface{}) *Migrator_Create_Call
Create is a helper method to define mock.On call
- filename string
func (*Migrator_Expecter) Down ¶
func (_e *Migrator_Expecter) Down() *Migrator_Down_Call
Down is a helper method to define mock.On call
func (*Migrator_Expecter) Fix ¶
func (_e *Migrator_Expecter) Fix() *Migrator_Fix_Call
Fix is a helper method to define mock.On call
func (*Migrator_Expecter) Up ¶
func (_e *Migrator_Expecter) Up() *Migrator_Up_Call
Up is a helper method to define mock.On call
type Migrator_Fix_Call ¶
Migrator_Fix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fix'
func (*Migrator_Fix_Call) Return ¶
func (_c *Migrator_Fix_Call) Return(_a0 error) *Migrator_Fix_Call
func (*Migrator_Fix_Call) Run ¶
func (_c *Migrator_Fix_Call) Run(run func()) *Migrator_Fix_Call
type Migrator_Up_Call ¶
Migrator_Up_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Up'
func (*Migrator_Up_Call) Return ¶
func (_c *Migrator_Up_Call) Return(_a0 error) *Migrator_Up_Call
func (*Migrator_Up_Call) Run ¶
func (_c *Migrator_Up_Call) Run(run func()) *Migrator_Up_Call