Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scope ¶
Scope is an autogenerated mock type for the Scope type
func NewScope ¶
NewScope creates a new instance of Scope. 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 (*Scope) EXPECT ¶
func (_m *Scope) EXPECT() *Scope_Expecter
type Scope_Begin_Call ¶
Scope_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'
func (*Scope_Begin_Call) Return ¶
func (_c *Scope_Begin_Call) Return(_a0 context.Context, _a1 error) *Scope_Begin_Call
func (*Scope_Begin_Call) Run ¶
func (_c *Scope_Begin_Call) Run(run func(ctx context.Context)) *Scope_Begin_Call
func (*Scope_Begin_Call) RunAndReturn ¶
func (_c *Scope_Begin_Call) RunAndReturn(run func(context.Context) (context.Context, error)) *Scope_Begin_Call
type Scope_EndWithRecover_Call ¶
Scope_EndWithRecover_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EndWithRecover'
func (*Scope_EndWithRecover_Call) Return ¶
func (_c *Scope_EndWithRecover_Call) Return() *Scope_EndWithRecover_Call
func (*Scope_EndWithRecover_Call) Run ¶
func (_c *Scope_EndWithRecover_Call) Run(run func(ctx context.Context, err *error)) *Scope_EndWithRecover_Call
func (*Scope_EndWithRecover_Call) RunAndReturn ¶
func (_c *Scope_EndWithRecover_Call) RunAndReturn(run func(context.Context, *error)) *Scope_EndWithRecover_Call
type Scope_End_Call ¶
Scope_End_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'End'
func (*Scope_End_Call) Return ¶
func (_c *Scope_End_Call) Return(_a0 error) *Scope_End_Call
func (*Scope_End_Call) Run ¶
func (_c *Scope_End_Call) Run(run func(ctx context.Context, err error)) *Scope_End_Call
func (*Scope_End_Call) RunAndReturn ¶
func (_c *Scope_End_Call) RunAndReturn(run func(context.Context, error) error) *Scope_End_Call
type Scope_Expecter ¶
type Scope_Expecter struct {
// contains filtered or unexported fields
}
func (*Scope_Expecter) Begin ¶
func (_e *Scope_Expecter) Begin(ctx interface{}) *Scope_Begin_Call
Begin is a helper method to define mock.On call
- ctx context.Context
func (*Scope_Expecter) End ¶
func (_e *Scope_Expecter) End(ctx interface{}, err interface{}) *Scope_End_Call
End is a helper method to define mock.On call
- ctx context.Context
- err error
func (*Scope_Expecter) EndWithRecover ¶
func (_e *Scope_Expecter) EndWithRecover(ctx interface{}, err interface{}) *Scope_EndWithRecover_Call
EndWithRecover is a helper method to define mock.On call
- ctx context.Context
- err *error