Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRunner ¶
MockRunner is an autogenerated mock type for the Runner type
func NewMockRunner ¶
func NewMockRunner(t interface {
mock.TestingT
Cleanup(func())
}) *MockRunner
NewMockRunner creates a new instance of MockRunner. 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 (*MockRunner) EXPECT ¶
func (_m *MockRunner) EXPECT() *MockRunner_Expecter
type MockRunner_Expecter ¶
type MockRunner_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRunner_Expecter) Run ¶
func (_e *MockRunner_Expecter) Run(ctx any) *MockRunner_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
func (*MockRunner_Expecter) Shutdown ¶
func (_e *MockRunner_Expecter) Shutdown(ctx any) *MockRunner_Shutdown_Call
Shutdown is a helper method to define mock.On call
- ctx context.Context
type MockRunner_Run_Call ¶
MockRunner_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*MockRunner_Run_Call) Return ¶
func (_c *MockRunner_Run_Call) Return(err error) *MockRunner_Run_Call
func (*MockRunner_Run_Call) Run ¶
func (_c *MockRunner_Run_Call) Run(run func(ctx context.Context)) *MockRunner_Run_Call
func (*MockRunner_Run_Call) RunAndReturn ¶
func (_c *MockRunner_Run_Call) RunAndReturn(run func(ctx context.Context) error) *MockRunner_Run_Call
type MockRunner_Shutdown_Call ¶
MockRunner_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*MockRunner_Shutdown_Call) Return ¶
func (_c *MockRunner_Shutdown_Call) Return(err error) *MockRunner_Shutdown_Call
func (*MockRunner_Shutdown_Call) Run ¶
func (_c *MockRunner_Shutdown_Call) Run(run func(ctx context.Context)) *MockRunner_Shutdown_Call
func (*MockRunner_Shutdown_Call) RunAndReturn ¶
func (_c *MockRunner_Shutdown_Call) RunAndReturn(run func(ctx context.Context) error) *MockRunner_Shutdown_Call
Click to show internal directories.
Click to hide internal directories.