mocks

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration added in v1.0.6

type Configuration struct {
	mock.Mock
}

Configuration is an autogenerated mock type for the Configuration type

func NewConfiguration added in v1.0.6

func NewConfiguration(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Configuration

NewConfiguration creates a new instance of Configuration. 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 (*Configuration) EXPECT added in v1.0.6

func (_m *Configuration) EXPECT() *Configuration_Expecter

func (*Configuration) GetCustomMySQLConfigs added in v1.0.6

func (_m *Configuration) GetCustomMySQLConfigs(database string, host string, username string, password string) *mysql.MySQLConfig

GetCustomMySQLConfigs provides a mock function with given fields: database, host, username, password

func (*Configuration) GetDefaultMySQLConfigs added in v1.0.6

func (_m *Configuration) GetDefaultMySQLConfigs() *mysql.MySQLConfig

GetDefaultMySQLConfigs provides a mock function with given fields:

type Configuration_Expecter added in v1.0.6

type Configuration_Expecter struct {
	// contains filtered or unexported fields
}

func (*Configuration_Expecter) GetCustomMySQLConfigs added in v1.0.6

func (_e *Configuration_Expecter) GetCustomMySQLConfigs(database interface{}, host interface{}, username interface{}, password interface{}) *Configuration_GetCustomMySQLConfigs_Call

GetCustomMySQLConfigs is a helper method to define mock.On call

  • database string
  • host string
  • username string
  • password string

func (*Configuration_Expecter) GetDefaultMySQLConfigs added in v1.0.6

GetDefaultMySQLConfigs is a helper method to define mock.On call

type Configuration_GetCustomMySQLConfigs_Call added in v1.0.6

type Configuration_GetCustomMySQLConfigs_Call struct {
	*mock.Call
}

Configuration_GetCustomMySQLConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCustomMySQLConfigs'

func (*Configuration_GetCustomMySQLConfigs_Call) Return added in v1.0.6

func (*Configuration_GetCustomMySQLConfigs_Call) Run added in v1.0.6

func (*Configuration_GetCustomMySQLConfigs_Call) RunAndReturn added in v1.0.6

type Configuration_GetDefaultMySQLConfigs_Call added in v1.0.6

type Configuration_GetDefaultMySQLConfigs_Call struct {
	*mock.Call
}

Configuration_GetDefaultMySQLConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDefaultMySQLConfigs'

func (*Configuration_GetDefaultMySQLConfigs_Call) Return added in v1.0.6

func (*Configuration_GetDefaultMySQLConfigs_Call) Run added in v1.0.6

func (*Configuration_GetDefaultMySQLConfigs_Call) RunAndReturn added in v1.0.6

type MySQLService added in v1.0.6

type MySQLService struct {
	mock.Mock
}

MySQLService is an autogenerated mock type for the MySQLService type

func NewMySQLService added in v1.0.6

func NewMySQLService(t interface {
	mock.TestingT
	Cleanup(func())
},
) *MySQLService

NewMySQLService creates a new instance of MySQLService. 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 (*MySQLService) Begin added in v1.0.6

func (_m *MySQLService) Begin(opts ...*sql.TxOptions) *gorm.DB

Begin provides a mock function with given fields: opts

func (*MySQLService) Commit added in v1.0.6

func (_m *MySQLService) Commit() *gorm.DB

Commit provides a mock function with given fields:

func (*MySQLService) Connection added in v1.0.6

func (_m *MySQLService) Connection(fc func(*gorm.DB) error) error

Connection provides a mock function with given fields: fc

func (*MySQLService) Count added in v1.0.6

func (_m *MySQLService) Count(count *int64) *gorm.DB

Count provides a mock function with given fields: count

func (*MySQLService) Create added in v1.0.6

func (_m *MySQLService) Create(value interface{}) *gorm.DB

Create provides a mock function with given fields: value

func (*MySQLService) CreateInBatches added in v1.0.6

func (_m *MySQLService) CreateInBatches(value interface{}, batchSize int) *gorm.DB

CreateInBatches provides a mock function with given fields: value, batchSize

func (*MySQLService) Delete added in v1.0.6

func (_m *MySQLService) Delete(value interface{}, conds ...interface{}) *gorm.DB

Delete provides a mock function with given fields: value, conds

func (*MySQLService) EXPECT added in v1.0.6

func (_m *MySQLService) EXPECT() *MySQLService_Expecter

func (*MySQLService) Exec added in v1.0.6

func (_m *MySQLService) Exec(_a0 string, values ...interface{}) *gorm.DB

Exec provides a mock function with given fields: _a0, values

func (*MySQLService) Find added in v1.0.6

func (_m *MySQLService) Find(dest interface{}, conds ...interface{}) *gorm.DB

Find provides a mock function with given fields: dest, conds

func (*MySQLService) FindInBatches added in v1.0.6

func (_m *MySQLService) FindInBatches(dest interface{}, batchSize int, fc func(*gorm.DB, int) error) *gorm.DB

FindInBatches provides a mock function with given fields: dest, batchSize, fc

func (*MySQLService) First added in v1.0.6

func (_m *MySQLService) First(dest interface{}, conds ...interface{}) *gorm.DB

First provides a mock function with given fields: dest, conds

func (*MySQLService) FirstOrCreate added in v1.0.6

func (_m *MySQLService) FirstOrCreate(dest interface{}, conds ...interface{}) *gorm.DB

FirstOrCreate provides a mock function with given fields: dest, conds

func (*MySQLService) FirstOrInit added in v1.0.6

func (_m *MySQLService) FirstOrInit(dest interface{}, conds ...interface{}) *gorm.DB

FirstOrInit provides a mock function with given fields: dest, conds

func (*MySQLService) Last added in v1.0.6

func (_m *MySQLService) Last(dest interface{}, conds ...interface{}) *gorm.DB

Last provides a mock function with given fields: dest, conds

func (*MySQLService) Pluck added in v1.0.6

func (_m *MySQLService) Pluck(column string, dest interface{}) *gorm.DB

Pluck provides a mock function with given fields: column, dest

func (*MySQLService) Rollback added in v1.0.6

func (_m *MySQLService) Rollback() *gorm.DB

Rollback provides a mock function with given fields:

func (*MySQLService) RollbackTo added in v1.0.6

func (_m *MySQLService) RollbackTo(name string) *gorm.DB

RollbackTo provides a mock function with given fields: name

func (*MySQLService) Row added in v1.0.6

func (_m *MySQLService) Row() *sql.Row

Row provides a mock function with given fields:

func (*MySQLService) Rows added in v1.0.6

func (_m *MySQLService) Rows() (*sql.Rows, error)

Rows provides a mock function with given fields:

func (*MySQLService) Save added in v1.0.6

func (_m *MySQLService) Save(value interface{}) *gorm.DB

Save provides a mock function with given fields: value

func (*MySQLService) SavePoint added in v1.0.6

func (_m *MySQLService) SavePoint(name string) *gorm.DB

SavePoint provides a mock function with given fields: name

func (*MySQLService) Scan added in v1.0.6

func (_m *MySQLService) Scan(dest interface{}) *gorm.DB

Scan provides a mock function with given fields: dest

func (*MySQLService) ScanRows added in v1.0.6

func (_m *MySQLService) ScanRows(rows *sql.Rows, dest interface{}) error

ScanRows provides a mock function with given fields: rows, dest

func (*MySQLService) Take added in v1.0.6

func (_m *MySQLService) Take(dest interface{}, conds ...interface{}) *gorm.DB

Take provides a mock function with given fields: dest, conds

func (*MySQLService) Transaction added in v1.0.6

func (_m *MySQLService) Transaction(fc func(*gorm.DB) error, opts ...*sql.TxOptions) error

Transaction provides a mock function with given fields: fc, opts

func (*MySQLService) Update added in v1.0.6

func (_m *MySQLService) Update(column string, value interface{}) *gorm.DB

Update provides a mock function with given fields: column, value

func (*MySQLService) UpdateColumn added in v1.0.6

func (_m *MySQLService) UpdateColumn(column string, value interface{}) *gorm.DB

UpdateColumn provides a mock function with given fields: column, value

func (*MySQLService) UpdateColumns added in v1.0.6

func (_m *MySQLService) UpdateColumns(values interface{}) *gorm.DB

UpdateColumns provides a mock function with given fields: values

func (*MySQLService) Updates added in v1.0.6

func (_m *MySQLService) Updates(values interface{}) *gorm.DB

Updates provides a mock function with given fields: values

type MySQLService_Begin_Call added in v1.0.6

type MySQLService_Begin_Call struct {
	*mock.Call
}

MySQLService_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'

func (*MySQLService_Begin_Call) Return added in v1.0.6

func (*MySQLService_Begin_Call) Run added in v1.0.6

func (_c *MySQLService_Begin_Call) Run(run func(opts ...*sql.TxOptions)) *MySQLService_Begin_Call

func (*MySQLService_Begin_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Begin_Call) RunAndReturn(run func(...*sql.TxOptions) *gorm.DB) *MySQLService_Begin_Call

type MySQLService_Commit_Call added in v1.0.6

type MySQLService_Commit_Call struct {
	*mock.Call
}

MySQLService_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'

func (*MySQLService_Commit_Call) Return added in v1.0.6

func (*MySQLService_Commit_Call) Run added in v1.0.6

func (*MySQLService_Commit_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Commit_Call) RunAndReturn(run func() *gorm.DB) *MySQLService_Commit_Call

type MySQLService_Connection_Call added in v1.0.6

type MySQLService_Connection_Call struct {
	*mock.Call
}

MySQLService_Connection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connection'

func (*MySQLService_Connection_Call) Return added in v1.0.6

func (*MySQLService_Connection_Call) Run added in v1.0.6

func (*MySQLService_Connection_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Connection_Call) RunAndReturn(run func(func(*gorm.DB) error) error) *MySQLService_Connection_Call

type MySQLService_Count_Call added in v1.0.6

type MySQLService_Count_Call struct {
	*mock.Call
}

MySQLService_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'

func (*MySQLService_Count_Call) Return added in v1.0.6

func (*MySQLService_Count_Call) Run added in v1.0.6

func (_c *MySQLService_Count_Call) Run(run func(count *int64)) *MySQLService_Count_Call

func (*MySQLService_Count_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Count_Call) RunAndReturn(run func(*int64) *gorm.DB) *MySQLService_Count_Call

type MySQLService_CreateInBatches_Call added in v1.0.6

type MySQLService_CreateInBatches_Call struct {
	*mock.Call
}

MySQLService_CreateInBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInBatches'

func (*MySQLService_CreateInBatches_Call) Return added in v1.0.6

func (*MySQLService_CreateInBatches_Call) Run added in v1.0.6

func (_c *MySQLService_CreateInBatches_Call) Run(run func(value interface{}, batchSize int)) *MySQLService_CreateInBatches_Call

func (*MySQLService_CreateInBatches_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_CreateInBatches_Call) RunAndReturn(run func(interface{}, int) *gorm.DB) *MySQLService_CreateInBatches_Call

type MySQLService_Create_Call added in v1.0.6

type MySQLService_Create_Call struct {
	*mock.Call
}

MySQLService_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*MySQLService_Create_Call) Return added in v1.0.6

func (*MySQLService_Create_Call) Run added in v1.0.6

func (_c *MySQLService_Create_Call) Run(run func(value interface{})) *MySQLService_Create_Call

func (*MySQLService_Create_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Create_Call) RunAndReturn(run func(interface{}) *gorm.DB) *MySQLService_Create_Call

type MySQLService_Delete_Call added in v1.0.6

type MySQLService_Delete_Call struct {
	*mock.Call
}

MySQLService_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*MySQLService_Delete_Call) Return added in v1.0.6

func (*MySQLService_Delete_Call) Run added in v1.0.6

func (_c *MySQLService_Delete_Call) Run(run func(value interface{}, conds ...interface{})) *MySQLService_Delete_Call

func (*MySQLService_Delete_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Delete_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_Delete_Call

type MySQLService_Exec_Call added in v1.0.6

type MySQLService_Exec_Call struct {
	*mock.Call
}

MySQLService_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'

func (*MySQLService_Exec_Call) Return added in v1.0.6

func (*MySQLService_Exec_Call) Run added in v1.0.6

func (_c *MySQLService_Exec_Call) Run(run func(_a0 string, values ...interface{})) *MySQLService_Exec_Call

func (*MySQLService_Exec_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Exec_Call) RunAndReturn(run func(string, ...interface{}) *gorm.DB) *MySQLService_Exec_Call

type MySQLService_Expecter added in v1.0.6

type MySQLService_Expecter struct {
	// contains filtered or unexported fields
}

func (*MySQLService_Expecter) Begin added in v1.0.6

func (_e *MySQLService_Expecter) Begin(opts ...interface{}) *MySQLService_Begin_Call

Begin is a helper method to define mock.On call

  • opts ...*sql.TxOptions

func (*MySQLService_Expecter) Commit added in v1.0.6

Commit is a helper method to define mock.On call

func (*MySQLService_Expecter) Connection added in v1.0.6

func (_e *MySQLService_Expecter) Connection(fc interface{}) *MySQLService_Connection_Call

Connection is a helper method to define mock.On call

  • fc func(*gorm.DB) error

func (*MySQLService_Expecter) Count added in v1.0.6

func (_e *MySQLService_Expecter) Count(count interface{}) *MySQLService_Count_Call

Count is a helper method to define mock.On call

  • count *int64

func (*MySQLService_Expecter) Create added in v1.0.6

func (_e *MySQLService_Expecter) Create(value interface{}) *MySQLService_Create_Call

Create is a helper method to define mock.On call

  • value interface{}

func (*MySQLService_Expecter) CreateInBatches added in v1.0.6

func (_e *MySQLService_Expecter) CreateInBatches(value interface{}, batchSize interface{}) *MySQLService_CreateInBatches_Call

CreateInBatches is a helper method to define mock.On call

  • value interface{}
  • batchSize int

func (*MySQLService_Expecter) Delete added in v1.0.6

func (_e *MySQLService_Expecter) Delete(value interface{}, conds ...interface{}) *MySQLService_Delete_Call

Delete is a helper method to define mock.On call

  • value interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) Exec added in v1.0.6

func (_e *MySQLService_Expecter) Exec(_a0 interface{}, values ...interface{}) *MySQLService_Exec_Call

Exec is a helper method to define mock.On call

  • _a0 string
  • values ...interface{}

func (*MySQLService_Expecter) Find added in v1.0.6

func (_e *MySQLService_Expecter) Find(dest interface{}, conds ...interface{}) *MySQLService_Find_Call

Find is a helper method to define mock.On call

  • dest interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) FindInBatches added in v1.0.6

func (_e *MySQLService_Expecter) FindInBatches(dest interface{}, batchSize interface{}, fc interface{}) *MySQLService_FindInBatches_Call

FindInBatches is a helper method to define mock.On call

  • dest interface{}
  • batchSize int
  • fc func(*gorm.DB , int) error

func (*MySQLService_Expecter) First added in v1.0.6

func (_e *MySQLService_Expecter) First(dest interface{}, conds ...interface{}) *MySQLService_First_Call

First is a helper method to define mock.On call

  • dest interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) FirstOrCreate added in v1.0.6

func (_e *MySQLService_Expecter) FirstOrCreate(dest interface{}, conds ...interface{}) *MySQLService_FirstOrCreate_Call

FirstOrCreate is a helper method to define mock.On call

  • dest interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) FirstOrInit added in v1.0.6

func (_e *MySQLService_Expecter) FirstOrInit(dest interface{}, conds ...interface{}) *MySQLService_FirstOrInit_Call

FirstOrInit is a helper method to define mock.On call

  • dest interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) Last added in v1.0.6

func (_e *MySQLService_Expecter) Last(dest interface{}, conds ...interface{}) *MySQLService_Last_Call

Last is a helper method to define mock.On call

  • dest interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) Pluck added in v1.0.6

func (_e *MySQLService_Expecter) Pluck(column interface{}, dest interface{}) *MySQLService_Pluck_Call

Pluck is a helper method to define mock.On call

  • column string
  • dest interface{}

func (*MySQLService_Expecter) Rollback added in v1.0.6

Rollback is a helper method to define mock.On call

func (*MySQLService_Expecter) RollbackTo added in v1.0.6

func (_e *MySQLService_Expecter) RollbackTo(name interface{}) *MySQLService_RollbackTo_Call

RollbackTo is a helper method to define mock.On call

  • name string

func (*MySQLService_Expecter) Row added in v1.0.6

Row is a helper method to define mock.On call

func (*MySQLService_Expecter) Rows added in v1.0.6

Rows is a helper method to define mock.On call

func (*MySQLService_Expecter) Save added in v1.0.6

func (_e *MySQLService_Expecter) Save(value interface{}) *MySQLService_Save_Call

Save is a helper method to define mock.On call

  • value interface{}

func (*MySQLService_Expecter) SavePoint added in v1.0.6

func (_e *MySQLService_Expecter) SavePoint(name interface{}) *MySQLService_SavePoint_Call

SavePoint is a helper method to define mock.On call

  • name string

func (*MySQLService_Expecter) Scan added in v1.0.6

func (_e *MySQLService_Expecter) Scan(dest interface{}) *MySQLService_Scan_Call

Scan is a helper method to define mock.On call

  • dest interface{}

func (*MySQLService_Expecter) ScanRows added in v1.0.6

func (_e *MySQLService_Expecter) ScanRows(rows interface{}, dest interface{}) *MySQLService_ScanRows_Call

ScanRows is a helper method to define mock.On call

  • rows *sql.Rows
  • dest interface{}

func (*MySQLService_Expecter) Take added in v1.0.6

func (_e *MySQLService_Expecter) Take(dest interface{}, conds ...interface{}) *MySQLService_Take_Call

Take is a helper method to define mock.On call

  • dest interface{}
  • conds ...interface{}

func (*MySQLService_Expecter) Transaction added in v1.0.6

func (_e *MySQLService_Expecter) Transaction(fc interface{}, opts ...interface{}) *MySQLService_Transaction_Call

Transaction is a helper method to define mock.On call

  • fc func(*gorm.DB) error
  • opts ...*sql.TxOptions

func (*MySQLService_Expecter) Update added in v1.0.6

func (_e *MySQLService_Expecter) Update(column interface{}, value interface{}) *MySQLService_Update_Call

Update is a helper method to define mock.On call

  • column string
  • value interface{}

func (*MySQLService_Expecter) UpdateColumn added in v1.0.6

func (_e *MySQLService_Expecter) UpdateColumn(column interface{}, value interface{}) *MySQLService_UpdateColumn_Call

UpdateColumn is a helper method to define mock.On call

  • column string
  • value interface{}

func (*MySQLService_Expecter) UpdateColumns added in v1.0.6

func (_e *MySQLService_Expecter) UpdateColumns(values interface{}) *MySQLService_UpdateColumns_Call

UpdateColumns is a helper method to define mock.On call

  • values interface{}

func (*MySQLService_Expecter) Updates added in v1.0.6

func (_e *MySQLService_Expecter) Updates(values interface{}) *MySQLService_Updates_Call

Updates is a helper method to define mock.On call

  • values interface{}

type MySQLService_FindInBatches_Call added in v1.0.6

type MySQLService_FindInBatches_Call struct {
	*mock.Call
}

MySQLService_FindInBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindInBatches'

func (*MySQLService_FindInBatches_Call) Return added in v1.0.6

func (*MySQLService_FindInBatches_Call) Run added in v1.0.6

func (_c *MySQLService_FindInBatches_Call) Run(run func(dest interface{}, batchSize int, fc func(*gorm.DB, int) error)) *MySQLService_FindInBatches_Call

func (*MySQLService_FindInBatches_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_FindInBatches_Call) RunAndReturn(run func(interface{}, int, func(*gorm.DB, int) error) *gorm.DB) *MySQLService_FindInBatches_Call

type MySQLService_Find_Call added in v1.0.6

type MySQLService_Find_Call struct {
	*mock.Call
}

MySQLService_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'

func (*MySQLService_Find_Call) Return added in v1.0.6

func (*MySQLService_Find_Call) Run added in v1.0.6

func (_c *MySQLService_Find_Call) Run(run func(dest interface{}, conds ...interface{})) *MySQLService_Find_Call

func (*MySQLService_Find_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Find_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_Find_Call

type MySQLService_FirstOrCreate_Call added in v1.0.6

type MySQLService_FirstOrCreate_Call struct {
	*mock.Call
}

MySQLService_FirstOrCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrCreate'

func (*MySQLService_FirstOrCreate_Call) Return added in v1.0.6

func (*MySQLService_FirstOrCreate_Call) Run added in v1.0.6

func (_c *MySQLService_FirstOrCreate_Call) Run(run func(dest interface{}, conds ...interface{})) *MySQLService_FirstOrCreate_Call

func (*MySQLService_FirstOrCreate_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_FirstOrCreate_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_FirstOrCreate_Call

type MySQLService_FirstOrInit_Call added in v1.0.6

type MySQLService_FirstOrInit_Call struct {
	*mock.Call
}

MySQLService_FirstOrInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrInit'

func (*MySQLService_FirstOrInit_Call) Return added in v1.0.6

func (*MySQLService_FirstOrInit_Call) Run added in v1.0.6

func (_c *MySQLService_FirstOrInit_Call) Run(run func(dest interface{}, conds ...interface{})) *MySQLService_FirstOrInit_Call

func (*MySQLService_FirstOrInit_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_FirstOrInit_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_FirstOrInit_Call

type MySQLService_First_Call added in v1.0.6

type MySQLService_First_Call struct {
	*mock.Call
}

MySQLService_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'

func (*MySQLService_First_Call) Return added in v1.0.6

func (*MySQLService_First_Call) Run added in v1.0.6

func (_c *MySQLService_First_Call) Run(run func(dest interface{}, conds ...interface{})) *MySQLService_First_Call

func (*MySQLService_First_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_First_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_First_Call

type MySQLService_Last_Call added in v1.0.6

type MySQLService_Last_Call struct {
	*mock.Call
}

MySQLService_Last_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Last'

func (*MySQLService_Last_Call) Return added in v1.0.6

func (*MySQLService_Last_Call) Run added in v1.0.6

func (_c *MySQLService_Last_Call) Run(run func(dest interface{}, conds ...interface{})) *MySQLService_Last_Call

func (*MySQLService_Last_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Last_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_Last_Call

type MySQLService_Pluck_Call added in v1.0.6

type MySQLService_Pluck_Call struct {
	*mock.Call
}

MySQLService_Pluck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pluck'

func (*MySQLService_Pluck_Call) Return added in v1.0.6

func (*MySQLService_Pluck_Call) Run added in v1.0.6

func (_c *MySQLService_Pluck_Call) Run(run func(column string, dest interface{})) *MySQLService_Pluck_Call

func (*MySQLService_Pluck_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Pluck_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *MySQLService_Pluck_Call

type MySQLService_RollbackTo_Call added in v1.0.6

type MySQLService_RollbackTo_Call struct {
	*mock.Call
}

MySQLService_RollbackTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RollbackTo'

func (*MySQLService_RollbackTo_Call) Return added in v1.0.6

func (*MySQLService_RollbackTo_Call) Run added in v1.0.6

func (*MySQLService_RollbackTo_Call) RunAndReturn added in v1.0.6

type MySQLService_Rollback_Call added in v1.0.6

type MySQLService_Rollback_Call struct {
	*mock.Call
}

MySQLService_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'

func (*MySQLService_Rollback_Call) Return added in v1.0.6

func (*MySQLService_Rollback_Call) Run added in v1.0.6

func (*MySQLService_Rollback_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Rollback_Call) RunAndReturn(run func() *gorm.DB) *MySQLService_Rollback_Call

type MySQLService_Row_Call added in v1.0.6

type MySQLService_Row_Call struct {
	*mock.Call
}

MySQLService_Row_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Row'

func (*MySQLService_Row_Call) Return added in v1.0.6

func (*MySQLService_Row_Call) Run added in v1.0.6

func (_c *MySQLService_Row_Call) Run(run func()) *MySQLService_Row_Call

func (*MySQLService_Row_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Row_Call) RunAndReturn(run func() *sql.Row) *MySQLService_Row_Call

type MySQLService_Rows_Call added in v1.0.6

type MySQLService_Rows_Call struct {
	*mock.Call
}

MySQLService_Rows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rows'

func (*MySQLService_Rows_Call) Return added in v1.0.6

func (*MySQLService_Rows_Call) Run added in v1.0.6

func (_c *MySQLService_Rows_Call) Run(run func()) *MySQLService_Rows_Call

func (*MySQLService_Rows_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Rows_Call) RunAndReturn(run func() (*sql.Rows, error)) *MySQLService_Rows_Call

type MySQLService_SavePoint_Call added in v1.0.6

type MySQLService_SavePoint_Call struct {
	*mock.Call
}

MySQLService_SavePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SavePoint'

func (*MySQLService_SavePoint_Call) Return added in v1.0.6

func (*MySQLService_SavePoint_Call) Run added in v1.0.6

func (*MySQLService_SavePoint_Call) RunAndReturn added in v1.0.6

type MySQLService_Save_Call added in v1.0.6

type MySQLService_Save_Call struct {
	*mock.Call
}

MySQLService_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'

func (*MySQLService_Save_Call) Return added in v1.0.6

func (*MySQLService_Save_Call) Run added in v1.0.6

func (_c *MySQLService_Save_Call) Run(run func(value interface{})) *MySQLService_Save_Call

func (*MySQLService_Save_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Save_Call) RunAndReturn(run func(interface{}) *gorm.DB) *MySQLService_Save_Call

type MySQLService_ScanRows_Call added in v1.0.6

type MySQLService_ScanRows_Call struct {
	*mock.Call
}

MySQLService_ScanRows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScanRows'

func (*MySQLService_ScanRows_Call) Return added in v1.0.6

func (*MySQLService_ScanRows_Call) Run added in v1.0.6

func (_c *MySQLService_ScanRows_Call) Run(run func(rows *sql.Rows, dest interface{})) *MySQLService_ScanRows_Call

func (*MySQLService_ScanRows_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_ScanRows_Call) RunAndReturn(run func(*sql.Rows, interface{}) error) *MySQLService_ScanRows_Call

type MySQLService_Scan_Call added in v1.0.6

type MySQLService_Scan_Call struct {
	*mock.Call
}

MySQLService_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'

func (*MySQLService_Scan_Call) Return added in v1.0.6

func (*MySQLService_Scan_Call) Run added in v1.0.6

func (_c *MySQLService_Scan_Call) Run(run func(dest interface{})) *MySQLService_Scan_Call

func (*MySQLService_Scan_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Scan_Call) RunAndReturn(run func(interface{}) *gorm.DB) *MySQLService_Scan_Call

type MySQLService_Take_Call added in v1.0.6

type MySQLService_Take_Call struct {
	*mock.Call
}

MySQLService_Take_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Take'

func (*MySQLService_Take_Call) Return added in v1.0.6

func (*MySQLService_Take_Call) Run added in v1.0.6

func (_c *MySQLService_Take_Call) Run(run func(dest interface{}, conds ...interface{})) *MySQLService_Take_Call

func (*MySQLService_Take_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Take_Call) RunAndReturn(run func(interface{}, ...interface{}) *gorm.DB) *MySQLService_Take_Call

type MySQLService_Transaction_Call added in v1.0.6

type MySQLService_Transaction_Call struct {
	*mock.Call
}

MySQLService_Transaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transaction'

func (*MySQLService_Transaction_Call) Return added in v1.0.6

func (*MySQLService_Transaction_Call) Run added in v1.0.6

func (_c *MySQLService_Transaction_Call) Run(run func(fc func(*gorm.DB) error, opts ...*sql.TxOptions)) *MySQLService_Transaction_Call

func (*MySQLService_Transaction_Call) RunAndReturn added in v1.0.6

type MySQLService_UpdateColumn_Call added in v1.0.6

type MySQLService_UpdateColumn_Call struct {
	*mock.Call
}

MySQLService_UpdateColumn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateColumn'

func (*MySQLService_UpdateColumn_Call) Return added in v1.0.6

func (*MySQLService_UpdateColumn_Call) Run added in v1.0.6

func (_c *MySQLService_UpdateColumn_Call) Run(run func(column string, value interface{})) *MySQLService_UpdateColumn_Call

func (*MySQLService_UpdateColumn_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_UpdateColumn_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *MySQLService_UpdateColumn_Call

type MySQLService_UpdateColumns_Call added in v1.0.6

type MySQLService_UpdateColumns_Call struct {
	*mock.Call
}

MySQLService_UpdateColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateColumns'

func (*MySQLService_UpdateColumns_Call) Return added in v1.0.6

func (*MySQLService_UpdateColumns_Call) Run added in v1.0.6

func (_c *MySQLService_UpdateColumns_Call) Run(run func(values interface{})) *MySQLService_UpdateColumns_Call

func (*MySQLService_UpdateColumns_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_UpdateColumns_Call) RunAndReturn(run func(interface{}) *gorm.DB) *MySQLService_UpdateColumns_Call

type MySQLService_Update_Call added in v1.0.6

type MySQLService_Update_Call struct {
	*mock.Call
}

MySQLService_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*MySQLService_Update_Call) Return added in v1.0.6

func (*MySQLService_Update_Call) Run added in v1.0.6

func (_c *MySQLService_Update_Call) Run(run func(column string, value interface{})) *MySQLService_Update_Call

func (*MySQLService_Update_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Update_Call) RunAndReturn(run func(string, interface{}) *gorm.DB) *MySQLService_Update_Call

type MySQLService_Updates_Call added in v1.0.6

type MySQLService_Updates_Call struct {
	*mock.Call
}

MySQLService_Updates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Updates'

func (*MySQLService_Updates_Call) Return added in v1.0.6

func (*MySQLService_Updates_Call) Run added in v1.0.6

func (_c *MySQLService_Updates_Call) Run(run func(values interface{})) *MySQLService_Updates_Call

func (*MySQLService_Updates_Call) RunAndReturn added in v1.0.6

func (_c *MySQLService_Updates_Call) RunAndReturn(run func(interface{}) *gorm.DB) *MySQLService_Updates_Call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL