Documentation
¶
Index ¶
- type Connection
- type Connection_Connection_Call
- type Connection_Expecter
- type Migration
- type Migration_Down_Call
- type Migration_Expecter
- type Migration_Signature_Call
- type Migration_Up_Call
- type Migrator
- func (_m *Migrator) Create(name string) error
- func (_m *Migrator) EXPECT() *Migrator_Expecter
- func (_m *Migrator) Fresh() error
- func (_m *Migrator) Reset() error
- func (_m *Migrator) Rollback(step int, batch int) error
- func (_m *Migrator) Run() error
- func (_m *Migrator) Status() ([]migration.Status, error)
- type Migrator_Create_Call
- type Migrator_Expecter
- func (_e *Migrator_Expecter) Create(name interface{}) *Migrator_Create_Call
- func (_e *Migrator_Expecter) Fresh() *Migrator_Fresh_Call
- func (_e *Migrator_Expecter) Reset() *Migrator_Reset_Call
- func (_e *Migrator_Expecter) Rollback(step interface{}, batch interface{}) *Migrator_Rollback_Call
- func (_e *Migrator_Expecter) Run() *Migrator_Run_Call
- func (_e *Migrator_Expecter) Status() *Migrator_Status_Call
- type Migrator_Fresh_Call
- type Migrator_Reset_Call
- type Migrator_Rollback_Call
- type Migrator_Run_Call
- type Migrator_Status_Call
- type Repository
- func (_m *Repository) CreateRepository() error
- func (_m *Repository) Delete(_a0 string) error
- func (_m *Repository) DeleteRepository() error
- func (_m *Repository) EXPECT() *Repository_Expecter
- func (_m *Repository) GetLast() ([]migration.File, error)
- func (_m *Repository) GetMigrations() ([]migration.File, error)
- func (_m *Repository) GetMigrationsByBatch(batch int) ([]migration.File, error)
- func (_m *Repository) GetMigrationsByStep(steps int) ([]migration.File, error)
- func (_m *Repository) GetNextBatchNumber() (int, error)
- func (_m *Repository) GetRan() ([]string, error)
- func (_m *Repository) Log(file string, batch int) error
- func (_m *Repository) RepositoryExists() bool
- type Repository_CreateRepository_Call
- type Repository_DeleteRepository_Call
- type Repository_Delete_Call
- type Repository_Expecter
- func (_e *Repository_Expecter) CreateRepository() *Repository_CreateRepository_Call
- func (_e *Repository_Expecter) Delete(_a0 interface{}) *Repository_Delete_Call
- func (_e *Repository_Expecter) DeleteRepository() *Repository_DeleteRepository_Call
- func (_e *Repository_Expecter) GetLast() *Repository_GetLast_Call
- func (_e *Repository_Expecter) GetMigrations() *Repository_GetMigrations_Call
- func (_e *Repository_Expecter) GetMigrationsByBatch(batch interface{}) *Repository_GetMigrationsByBatch_Call
- func (_e *Repository_Expecter) GetMigrationsByStep(steps interface{}) *Repository_GetMigrationsByStep_Call
- func (_e *Repository_Expecter) GetNextBatchNumber() *Repository_GetNextBatchNumber_Call
- func (_e *Repository_Expecter) GetRan() *Repository_GetRan_Call
- func (_e *Repository_Expecter) Log(file interface{}, batch interface{}) *Repository_Log_Call
- func (_e *Repository_Expecter) RepositoryExists() *Repository_RepositoryExists_Call
- type Repository_GetLast_Call
- type Repository_GetMigrationsByBatch_Call
- func (_c *Repository_GetMigrationsByBatch_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetMigrationsByBatch_Call
- func (_c *Repository_GetMigrationsByBatch_Call) Run(run func(batch int)) *Repository_GetMigrationsByBatch_Call
- func (_c *Repository_GetMigrationsByBatch_Call) RunAndReturn(run func(int) ([]migration.File, error)) *Repository_GetMigrationsByBatch_Call
- type Repository_GetMigrationsByStep_Call
- func (_c *Repository_GetMigrationsByStep_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetMigrationsByStep_Call
- func (_c *Repository_GetMigrationsByStep_Call) Run(run func(steps int)) *Repository_GetMigrationsByStep_Call
- func (_c *Repository_GetMigrationsByStep_Call) RunAndReturn(run func(int) ([]migration.File, error)) *Repository_GetMigrationsByStep_Call
- type Repository_GetMigrations_Call
- func (_c *Repository_GetMigrations_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetMigrations_Call
- func (_c *Repository_GetMigrations_Call) Run(run func()) *Repository_GetMigrations_Call
- func (_c *Repository_GetMigrations_Call) RunAndReturn(run func() ([]migration.File, error)) *Repository_GetMigrations_Call
- type Repository_GetNextBatchNumber_Call
- func (_c *Repository_GetNextBatchNumber_Call) Return(_a0 int, _a1 error) *Repository_GetNextBatchNumber_Call
- func (_c *Repository_GetNextBatchNumber_Call) Run(run func()) *Repository_GetNextBatchNumber_Call
- func (_c *Repository_GetNextBatchNumber_Call) RunAndReturn(run func() (int, error)) *Repository_GetNextBatchNumber_Call
- type Repository_GetRan_Call
- type Repository_Log_Call
- type Repository_RepositoryExists_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection is an autogenerated mock type for the Connection type
func NewConnection ¶
func NewConnection(t interface {
mock.TestingT
Cleanup(func())
}) *Connection
NewConnection creates a new instance of Connection. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Connection) Connection ¶
func (_m *Connection) Connection() string
Connection provides a mock function with given fields:
func (*Connection) EXPECT ¶
func (_m *Connection) EXPECT() *Connection_Expecter
type Connection_Connection_Call ¶
Connection_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'
func (*Connection_Connection_Call) Return ¶
func (_c *Connection_Connection_Call) Return(_a0 string) *Connection_Connection_Call
func (*Connection_Connection_Call) Run ¶
func (_c *Connection_Connection_Call) Run(run func()) *Connection_Connection_Call
func (*Connection_Connection_Call) RunAndReturn ¶
func (_c *Connection_Connection_Call) RunAndReturn(run func() string) *Connection_Connection_Call
type Connection_Expecter ¶
type Connection_Expecter struct {
// contains filtered or unexported fields
}
func (*Connection_Expecter) Connection ¶
func (_e *Connection_Expecter) Connection() *Connection_Connection_Call
Connection is a helper method to define mock.On call
type Migration ¶
Migration is an autogenerated mock type for the Migration type
func NewMigration ¶
NewMigration creates a new instance of Migration. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Migration) Down ¶
func (_m *Migration) Down()
Down provides a mock function with given fields:
func (*Migration) EXPECT ¶
func (_m *Migration) EXPECT() *Migration_Expecter
type Migration_Down_Call ¶
Migration_Down_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Down'
func (*Migration_Down_Call) Return ¶
func (_c *Migration_Down_Call) Return() *Migration_Down_Call
func (*Migration_Down_Call) Run ¶
func (_c *Migration_Down_Call) Run(run func()) *Migration_Down_Call
func (*Migration_Down_Call) RunAndReturn ¶
func (_c *Migration_Down_Call) RunAndReturn(run func()) *Migration_Down_Call
type Migration_Expecter ¶
type Migration_Expecter struct {
// contains filtered or unexported fields
}
func (*Migration_Expecter) Down ¶
func (_e *Migration_Expecter) Down() *Migration_Down_Call
Down is a helper method to define mock.On call
func (*Migration_Expecter) Signature ¶
func (_e *Migration_Expecter) Signature() *Migration_Signature_Call
Signature is a helper method to define mock.On call
func (*Migration_Expecter) Up ¶
func (_e *Migration_Expecter) Up() *Migration_Up_Call
Up is a helper method to define mock.On call
type Migration_Signature_Call ¶
Migration_Signature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Signature'
func (*Migration_Signature_Call) Return ¶
func (_c *Migration_Signature_Call) Return(_a0 string) *Migration_Signature_Call
func (*Migration_Signature_Call) Run ¶
func (_c *Migration_Signature_Call) Run(run func()) *Migration_Signature_Call
func (*Migration_Signature_Call) RunAndReturn ¶
func (_c *Migration_Signature_Call) RunAndReturn(run func() string) *Migration_Signature_Call
type Migration_Up_Call ¶
Migration_Up_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Up'
func (*Migration_Up_Call) Return ¶
func (_c *Migration_Up_Call) Return() *Migration_Up_Call
func (*Migration_Up_Call) Run ¶
func (_c *Migration_Up_Call) Run(run func()) *Migration_Up_Call
func (*Migration_Up_Call) RunAndReturn ¶
func (_c *Migration_Up_Call) RunAndReturn(run func()) *Migration_Up_Call
type Migrator ¶
Migrator is an autogenerated mock type for the Migrator type
func NewMigrator ¶
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. The first argument is typically a *testing.T value.
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(name string)) *Migrator_Create_Call
func (*Migrator_Create_Call) RunAndReturn ¶
func (_c *Migrator_Create_Call) RunAndReturn(run func(string) error) *Migrator_Create_Call
type Migrator_Expecter ¶
type Migrator_Expecter struct {
// contains filtered or unexported fields
}
func (*Migrator_Expecter) Create ¶
func (_e *Migrator_Expecter) Create(name interface{}) *Migrator_Create_Call
Create is a helper method to define mock.On call
- name string
func (*Migrator_Expecter) Fresh ¶
func (_e *Migrator_Expecter) Fresh() *Migrator_Fresh_Call
Fresh is a helper method to define mock.On call
func (*Migrator_Expecter) Reset ¶
func (_e *Migrator_Expecter) Reset() *Migrator_Reset_Call
Reset is a helper method to define mock.On call
func (*Migrator_Expecter) Rollback ¶
func (_e *Migrator_Expecter) Rollback(step interface{}, batch interface{}) *Migrator_Rollback_Call
Rollback is a helper method to define mock.On call
- step int
- batch int
func (*Migrator_Expecter) Run ¶
func (_e *Migrator_Expecter) Run() *Migrator_Run_Call
Run is a helper method to define mock.On call
func (*Migrator_Expecter) Status ¶
func (_e *Migrator_Expecter) Status() *Migrator_Status_Call
Status is a helper method to define mock.On call
type Migrator_Fresh_Call ¶
Migrator_Fresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fresh'
func (*Migrator_Fresh_Call) Return ¶
func (_c *Migrator_Fresh_Call) Return(_a0 error) *Migrator_Fresh_Call
func (*Migrator_Fresh_Call) Run ¶
func (_c *Migrator_Fresh_Call) Run(run func()) *Migrator_Fresh_Call
func (*Migrator_Fresh_Call) RunAndReturn ¶
func (_c *Migrator_Fresh_Call) RunAndReturn(run func() error) *Migrator_Fresh_Call
type Migrator_Reset_Call ¶
Migrator_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*Migrator_Reset_Call) Return ¶
func (_c *Migrator_Reset_Call) Return(_a0 error) *Migrator_Reset_Call
func (*Migrator_Reset_Call) Run ¶
func (_c *Migrator_Reset_Call) Run(run func()) *Migrator_Reset_Call
func (*Migrator_Reset_Call) RunAndReturn ¶
func (_c *Migrator_Reset_Call) RunAndReturn(run func() error) *Migrator_Reset_Call
type Migrator_Rollback_Call ¶
Migrator_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'
func (*Migrator_Rollback_Call) Return ¶
func (_c *Migrator_Rollback_Call) Return(_a0 error) *Migrator_Rollback_Call
func (*Migrator_Rollback_Call) Run ¶
func (_c *Migrator_Rollback_Call) Run(run func(step int, batch int)) *Migrator_Rollback_Call
func (*Migrator_Rollback_Call) RunAndReturn ¶
func (_c *Migrator_Rollback_Call) RunAndReturn(run func(int, int) error) *Migrator_Rollback_Call
type Migrator_Run_Call ¶
Migrator_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Migrator_Run_Call) Return ¶
func (_c *Migrator_Run_Call) Return(_a0 error) *Migrator_Run_Call
func (*Migrator_Run_Call) Run ¶
func (_c *Migrator_Run_Call) Run(run func()) *Migrator_Run_Call
func (*Migrator_Run_Call) RunAndReturn ¶
func (_c *Migrator_Run_Call) RunAndReturn(run func() error) *Migrator_Run_Call
type Migrator_Status_Call ¶
Migrator_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Migrator_Status_Call) Return ¶
func (_c *Migrator_Status_Call) Return(_a0 []migration.Status, _a1 error) *Migrator_Status_Call
func (*Migrator_Status_Call) Run ¶
func (_c *Migrator_Status_Call) Run(run func()) *Migrator_Status_Call
func (*Migrator_Status_Call) RunAndReturn ¶
func (_c *Migrator_Status_Call) RunAndReturn(run func() ([]migration.Status, error)) *Migrator_Status_Call
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface {
mock.TestingT
Cleanup(func())
}) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Repository) CreateRepository ¶
func (_m *Repository) CreateRepository() error
CreateRepository provides a mock function with no fields
func (*Repository) Delete ¶
func (_m *Repository) Delete(_a0 string) error
Delete provides a mock function with given fields: _a0
func (*Repository) DeleteRepository ¶
func (_m *Repository) DeleteRepository() error
DeleteRepository provides a mock function with no fields
func (*Repository) EXPECT ¶
func (_m *Repository) EXPECT() *Repository_Expecter
func (*Repository) GetLast ¶
func (_m *Repository) GetLast() ([]migration.File, error)
GetLast provides a mock function with no fields
func (*Repository) GetMigrations ¶
func (_m *Repository) GetMigrations() ([]migration.File, error)
GetMigrations provides a mock function with no fields
func (*Repository) GetMigrationsByBatch ¶
func (_m *Repository) GetMigrationsByBatch(batch int) ([]migration.File, error)
GetMigrationsByBatch provides a mock function with given fields: batch
func (*Repository) GetMigrationsByStep ¶
func (_m *Repository) GetMigrationsByStep(steps int) ([]migration.File, error)
GetMigrationsByStep provides a mock function with given fields: steps
func (*Repository) GetNextBatchNumber ¶
func (_m *Repository) GetNextBatchNumber() (int, error)
GetNextBatchNumber provides a mock function with no fields
func (*Repository) GetRan ¶
func (_m *Repository) GetRan() ([]string, error)
GetRan provides a mock function with no fields
func (*Repository) Log ¶
func (_m *Repository) Log(file string, batch int) error
Log provides a mock function with given fields: file, batch
func (*Repository) RepositoryExists ¶
func (_m *Repository) RepositoryExists() bool
RepositoryExists provides a mock function with no fields
type Repository_CreateRepository_Call ¶
Repository_CreateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'
func (*Repository_CreateRepository_Call) Return ¶
func (_c *Repository_CreateRepository_Call) Return(_a0 error) *Repository_CreateRepository_Call
func (*Repository_CreateRepository_Call) Run ¶
func (_c *Repository_CreateRepository_Call) Run(run func()) *Repository_CreateRepository_Call
func (*Repository_CreateRepository_Call) RunAndReturn ¶
func (_c *Repository_CreateRepository_Call) RunAndReturn(run func() error) *Repository_CreateRepository_Call
type Repository_DeleteRepository_Call ¶
Repository_DeleteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepository'
func (*Repository_DeleteRepository_Call) Return ¶
func (_c *Repository_DeleteRepository_Call) Return(_a0 error) *Repository_DeleteRepository_Call
func (*Repository_DeleteRepository_Call) Run ¶
func (_c *Repository_DeleteRepository_Call) Run(run func()) *Repository_DeleteRepository_Call
func (*Repository_DeleteRepository_Call) RunAndReturn ¶
func (_c *Repository_DeleteRepository_Call) RunAndReturn(run func() error) *Repository_DeleteRepository_Call
type Repository_Delete_Call ¶
Repository_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Repository_Delete_Call) Return ¶
func (_c *Repository_Delete_Call) Return(_a0 error) *Repository_Delete_Call
func (*Repository_Delete_Call) Run ¶
func (_c *Repository_Delete_Call) Run(run func(_a0 string)) *Repository_Delete_Call
func (*Repository_Delete_Call) RunAndReturn ¶
func (_c *Repository_Delete_Call) RunAndReturn(run func(string) error) *Repository_Delete_Call
type Repository_Expecter ¶
type Repository_Expecter struct {
// contains filtered or unexported fields
}
func (*Repository_Expecter) CreateRepository ¶
func (_e *Repository_Expecter) CreateRepository() *Repository_CreateRepository_Call
CreateRepository is a helper method to define mock.On call
func (*Repository_Expecter) Delete ¶
func (_e *Repository_Expecter) Delete(_a0 interface{}) *Repository_Delete_Call
Delete is a helper method to define mock.On call
- _a0 string
func (*Repository_Expecter) DeleteRepository ¶
func (_e *Repository_Expecter) DeleteRepository() *Repository_DeleteRepository_Call
DeleteRepository is a helper method to define mock.On call
func (*Repository_Expecter) GetLast ¶
func (_e *Repository_Expecter) GetLast() *Repository_GetLast_Call
GetLast is a helper method to define mock.On call
func (*Repository_Expecter) GetMigrations ¶
func (_e *Repository_Expecter) GetMigrations() *Repository_GetMigrations_Call
GetMigrations is a helper method to define mock.On call
func (*Repository_Expecter) GetMigrationsByBatch ¶
func (_e *Repository_Expecter) GetMigrationsByBatch(batch interface{}) *Repository_GetMigrationsByBatch_Call
GetMigrationsByBatch is a helper method to define mock.On call
- batch int
func (*Repository_Expecter) GetMigrationsByStep ¶
func (_e *Repository_Expecter) GetMigrationsByStep(steps interface{}) *Repository_GetMigrationsByStep_Call
GetMigrationsByStep is a helper method to define mock.On call
- steps int
func (*Repository_Expecter) GetNextBatchNumber ¶
func (_e *Repository_Expecter) GetNextBatchNumber() *Repository_GetNextBatchNumber_Call
GetNextBatchNumber is a helper method to define mock.On call
func (*Repository_Expecter) GetRan ¶
func (_e *Repository_Expecter) GetRan() *Repository_GetRan_Call
GetRan is a helper method to define mock.On call
func (*Repository_Expecter) Log ¶
func (_e *Repository_Expecter) Log(file interface{}, batch interface{}) *Repository_Log_Call
Log is a helper method to define mock.On call
- file string
- batch int
func (*Repository_Expecter) RepositoryExists ¶
func (_e *Repository_Expecter) RepositoryExists() *Repository_RepositoryExists_Call
RepositoryExists is a helper method to define mock.On call
type Repository_GetLast_Call ¶
Repository_GetLast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLast'
func (*Repository_GetLast_Call) Return ¶
func (_c *Repository_GetLast_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetLast_Call
func (*Repository_GetLast_Call) Run ¶
func (_c *Repository_GetLast_Call) Run(run func()) *Repository_GetLast_Call
func (*Repository_GetLast_Call) RunAndReturn ¶
func (_c *Repository_GetLast_Call) RunAndReturn(run func() ([]migration.File, error)) *Repository_GetLast_Call
type Repository_GetMigrationsByBatch_Call ¶
Repository_GetMigrationsByBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMigrationsByBatch'
func (*Repository_GetMigrationsByBatch_Call) Return ¶
func (_c *Repository_GetMigrationsByBatch_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetMigrationsByBatch_Call
func (*Repository_GetMigrationsByBatch_Call) Run ¶
func (_c *Repository_GetMigrationsByBatch_Call) Run(run func(batch int)) *Repository_GetMigrationsByBatch_Call
func (*Repository_GetMigrationsByBatch_Call) RunAndReturn ¶
func (_c *Repository_GetMigrationsByBatch_Call) RunAndReturn(run func(int) ([]migration.File, error)) *Repository_GetMigrationsByBatch_Call
type Repository_GetMigrationsByStep_Call ¶
Repository_GetMigrationsByStep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMigrationsByStep'
func (*Repository_GetMigrationsByStep_Call) Return ¶
func (_c *Repository_GetMigrationsByStep_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetMigrationsByStep_Call
func (*Repository_GetMigrationsByStep_Call) Run ¶
func (_c *Repository_GetMigrationsByStep_Call) Run(run func(steps int)) *Repository_GetMigrationsByStep_Call
func (*Repository_GetMigrationsByStep_Call) RunAndReturn ¶
func (_c *Repository_GetMigrationsByStep_Call) RunAndReturn(run func(int) ([]migration.File, error)) *Repository_GetMigrationsByStep_Call
type Repository_GetMigrations_Call ¶
Repository_GetMigrations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMigrations'
func (*Repository_GetMigrations_Call) Return ¶
func (_c *Repository_GetMigrations_Call) Return(_a0 []migration.File, _a1 error) *Repository_GetMigrations_Call
func (*Repository_GetMigrations_Call) Run ¶
func (_c *Repository_GetMigrations_Call) Run(run func()) *Repository_GetMigrations_Call
func (*Repository_GetMigrations_Call) RunAndReturn ¶
func (_c *Repository_GetMigrations_Call) RunAndReturn(run func() ([]migration.File, error)) *Repository_GetMigrations_Call
type Repository_GetNextBatchNumber_Call ¶
Repository_GetNextBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNextBatchNumber'
func (*Repository_GetNextBatchNumber_Call) Return ¶
func (_c *Repository_GetNextBatchNumber_Call) Return(_a0 int, _a1 error) *Repository_GetNextBatchNumber_Call
func (*Repository_GetNextBatchNumber_Call) Run ¶
func (_c *Repository_GetNextBatchNumber_Call) Run(run func()) *Repository_GetNextBatchNumber_Call
func (*Repository_GetNextBatchNumber_Call) RunAndReturn ¶
func (_c *Repository_GetNextBatchNumber_Call) RunAndReturn(run func() (int, error)) *Repository_GetNextBatchNumber_Call
type Repository_GetRan_Call ¶
Repository_GetRan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRan'
func (*Repository_GetRan_Call) Return ¶
func (_c *Repository_GetRan_Call) Return(_a0 []string, _a1 error) *Repository_GetRan_Call
func (*Repository_GetRan_Call) Run ¶
func (_c *Repository_GetRan_Call) Run(run func()) *Repository_GetRan_Call
func (*Repository_GetRan_Call) RunAndReturn ¶
func (_c *Repository_GetRan_Call) RunAndReturn(run func() ([]string, error)) *Repository_GetRan_Call
type Repository_Log_Call ¶
Repository_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*Repository_Log_Call) Return ¶
func (_c *Repository_Log_Call) Return(_a0 error) *Repository_Log_Call
func (*Repository_Log_Call) Run ¶
func (_c *Repository_Log_Call) Run(run func(file string, batch int)) *Repository_Log_Call
func (*Repository_Log_Call) RunAndReturn ¶
func (_c *Repository_Log_Call) RunAndReturn(run func(string, int) error) *Repository_Log_Call
type Repository_RepositoryExists_Call ¶
Repository_RepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepositoryExists'
func (*Repository_RepositoryExists_Call) Return ¶
func (_c *Repository_RepositoryExists_Call) Return(_a0 bool) *Repository_RepositoryExists_Call
func (*Repository_RepositoryExists_Call) Run ¶
func (_c *Repository_RepositoryExists_Call) Run(run func()) *Repository_RepositoryExists_Call
func (*Repository_RepositoryExists_Call) RunAndReturn ¶
func (_c *Repository_RepositoryExists_Call) RunAndReturn(run func() bool) *Repository_RepositoryExists_Call