Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ops ¶
Ops is an autogenerated mock type for the Ops type
func NewOps ¶
NewOps creates a new instance of Ops. 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 (*Ops) EXPECT ¶
func (_m *Ops) EXPECT() *Ops_Expecter
type Ops_Expecter ¶
type Ops_Expecter struct {
// contains filtered or unexported fields
}
func (*Ops_Expecter) Logs ¶
func (_e *Ops_Expecter) Logs() *Ops_Logs_Call
Logs is a helper method to define mock.On call
func (*Ops_Expecter) Sql ¶
func (_e *Ops_Expecter) Sql() *Ops_Sql_Call
Sql is a helper method to define mock.On call
func (*Ops_Expecter) Status ¶
func (_e *Ops_Expecter) Status() *Ops_Status_Call
Status is a helper method to define mock.On call
func (*Ops_Expecter) Sync ¶
func (_e *Ops_Expecter) Sync() *Ops_Sync_Call
Sync is a helper method to define mock.On call
type Ops_Logs_Call ¶
Ops_Logs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logs'
func (*Ops_Logs_Call) Return ¶
func (_c *Ops_Logs_Call) Return(_a0 logs.Logs) *Ops_Logs_Call
func (*Ops_Logs_Call) Run ¶
func (_c *Ops_Logs_Call) Run(run func()) *Ops_Logs_Call
func (*Ops_Logs_Call) RunAndReturn ¶
func (_c *Ops_Logs_Call) RunAndReturn(run func() logs.Logs) *Ops_Logs_Call
type Ops_Sql_Call ¶
Ops_Sql_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sql'
func (*Ops_Sql_Call) Return ¶
func (_c *Ops_Sql_Call) Return(_a0 sql.Sql) *Ops_Sql_Call
func (*Ops_Sql_Call) Run ¶
func (_c *Ops_Sql_Call) Run(run func()) *Ops_Sql_Call
func (*Ops_Sql_Call) RunAndReturn ¶
func (_c *Ops_Sql_Call) RunAndReturn(run func() sql.Sql) *Ops_Sql_Call
type Ops_Status_Call ¶
Ops_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Ops_Status_Call) Return ¶
func (_c *Ops_Status_Call) Return(_a0 status.Reader, _a1 error) *Ops_Status_Call
func (*Ops_Status_Call) Run ¶
func (_c *Ops_Status_Call) Run(run func()) *Ops_Status_Call
func (*Ops_Status_Call) RunAndReturn ¶
func (_c *Ops_Status_Call) RunAndReturn(run func() (status.Reader, error)) *Ops_Status_Call
type Ops_Sync_Call ¶
Ops_Sync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sync'
func (*Ops_Sync_Call) Return ¶
func (_c *Ops_Sync_Call) Return(_a0 sync.Sync, _a1 error) *Ops_Sync_Call
func (*Ops_Sync_Call) Run ¶
func (_c *Ops_Sync_Call) Run(run func()) *Ops_Sync_Call
func (*Ops_Sync_Call) RunAndReturn ¶
func (_c *Ops_Sync_Call) RunAndReturn(run func() (sync.Sync, error)) *Ops_Sync_Call