Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
Error is an autogenerated mock type for the Error type
func NewError ¶
NewError creates a new instance of Error. 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 (*Error) EXPECT ¶
func (_m *Error) EXPECT() *Error_Expecter
type Error_Args_Call ¶
Error_Args_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Args'
func (*Error_Args_Call) Return ¶
func (_c *Error_Args_Call) Return(_a0 errors.Error) *Error_Args_Call
func (*Error_Args_Call) Run ¶
func (_c *Error_Args_Call) Run(run func(_a0 ...interface{})) *Error_Args_Call
func (*Error_Args_Call) RunAndReturn ¶
func (_c *Error_Args_Call) RunAndReturn(run func(...interface{}) errors.Error) *Error_Args_Call
type Error_Error_Call ¶
Error_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Error_Error_Call) Return ¶
func (_c *Error_Error_Call) Return(_a0 string) *Error_Error_Call
func (*Error_Error_Call) Run ¶
func (_c *Error_Error_Call) Run(run func()) *Error_Error_Call
func (*Error_Error_Call) RunAndReturn ¶
func (_c *Error_Error_Call) RunAndReturn(run func() string) *Error_Error_Call
type Error_Expecter ¶
type Error_Expecter struct {
// contains filtered or unexported fields
}
func (*Error_Expecter) Args ¶
func (_e *Error_Expecter) Args(_a0 ...interface{}) *Error_Args_Call
Args is a helper method to define mock.On call
- _a0 ...interface{}
func (*Error_Expecter) Error ¶
func (_e *Error_Expecter) Error() *Error_Error_Call
Error is a helper method to define mock.On call
func (*Error_Expecter) SetModule ¶
func (_e *Error_Expecter) SetModule(_a0 interface{}) *Error_SetModule_Call
SetModule is a helper method to define mock.On call
- _a0 string
type Error_SetModule_Call ¶
Error_SetModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetModule'
func (*Error_SetModule_Call) Return ¶
func (_c *Error_SetModule_Call) Return(_a0 errors.Error) *Error_SetModule_Call
func (*Error_SetModule_Call) Run ¶
func (_c *Error_SetModule_Call) Run(run func(_a0 string)) *Error_SetModule_Call
func (*Error_SetModule_Call) RunAndReturn ¶
func (_c *Error_SetModule_Call) RunAndReturn(run func(string) errors.Error) *Error_SetModule_Call