Documentation
¶
Index ¶
- type ModuleV1
- type ModuleV1_Close_Call
- type ModuleV1_Expecter
- type ModuleV1_IsLegacyDAG_Call
- type ModuleV1_Run_Call
- func (_c *ModuleV1_Run_Call) Return(_a0 *pb.Response, _a1 error) *ModuleV1_Run_Call
- func (_c *ModuleV1_Run_Call) Run(run func(ctx context.Context, request *pb.Request)) *ModuleV1_Run_Call
- func (_c *ModuleV1_Run_Call) RunAndReturn(run func(context.Context, *pb.Request) (*pb.Response, error)) *ModuleV1_Run_Call
- type ModuleV1_Start_Call
- type ModuleV2
- type ModuleV2_Close_Call
- type ModuleV2_Execute_Call
- type ModuleV2_Expecter
- func (_e *ModuleV2_Expecter) Close() *ModuleV2_Close_Call
- func (_e *ModuleV2_Expecter) Execute(ctx interface{}, request interface{}, handler interface{}) *ModuleV2_Execute_Call
- func (_e *ModuleV2_Expecter) IsLegacyDAG() *ModuleV2_IsLegacyDAG_Call
- func (_e *ModuleV2_Expecter) Start() *ModuleV2_Start_Call
- type ModuleV2_IsLegacyDAG_Call
- type ModuleV2_Start_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleV1 ¶
ModuleV1 is an autogenerated mock type for the ModuleV1 type
func NewModuleV1 ¶
NewModuleV1 creates a new instance of ModuleV1. 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 (*ModuleV1) EXPECT ¶
func (_m *ModuleV1) EXPECT() *ModuleV1_Expecter
func (*ModuleV1) IsLegacyDAG ¶
IsLegacyDAG provides a mock function with no fields
type ModuleV1_Close_Call ¶
ModuleV1_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ModuleV1_Close_Call) Return ¶
func (_c *ModuleV1_Close_Call) Return() *ModuleV1_Close_Call
func (*ModuleV1_Close_Call) Run ¶
func (_c *ModuleV1_Close_Call) Run(run func()) *ModuleV1_Close_Call
func (*ModuleV1_Close_Call) RunAndReturn ¶
func (_c *ModuleV1_Close_Call) RunAndReturn(run func()) *ModuleV1_Close_Call
type ModuleV1_Expecter ¶
type ModuleV1_Expecter struct {
// contains filtered or unexported fields
}
func (*ModuleV1_Expecter) Close ¶
func (_e *ModuleV1_Expecter) Close() *ModuleV1_Close_Call
Close is a helper method to define mock.On call
func (*ModuleV1_Expecter) IsLegacyDAG ¶
func (_e *ModuleV1_Expecter) IsLegacyDAG() *ModuleV1_IsLegacyDAG_Call
IsLegacyDAG is a helper method to define mock.On call
func (*ModuleV1_Expecter) Run ¶
func (_e *ModuleV1_Expecter) Run(ctx interface{}, request interface{}) *ModuleV1_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
- request *pb.Request
func (*ModuleV1_Expecter) Start ¶
func (_e *ModuleV1_Expecter) Start() *ModuleV1_Start_Call
Start is a helper method to define mock.On call
type ModuleV1_IsLegacyDAG_Call ¶
ModuleV1_IsLegacyDAG_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLegacyDAG'
func (*ModuleV1_IsLegacyDAG_Call) Return ¶
func (_c *ModuleV1_IsLegacyDAG_Call) Return(_a0 bool) *ModuleV1_IsLegacyDAG_Call
func (*ModuleV1_IsLegacyDAG_Call) Run ¶
func (_c *ModuleV1_IsLegacyDAG_Call) Run(run func()) *ModuleV1_IsLegacyDAG_Call
func (*ModuleV1_IsLegacyDAG_Call) RunAndReturn ¶
func (_c *ModuleV1_IsLegacyDAG_Call) RunAndReturn(run func() bool) *ModuleV1_IsLegacyDAG_Call
type ModuleV1_Run_Call ¶
ModuleV1_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*ModuleV1_Run_Call) Return ¶
func (_c *ModuleV1_Run_Call) Return(_a0 *pb.Response, _a1 error) *ModuleV1_Run_Call
func (*ModuleV1_Run_Call) Run ¶
func (_c *ModuleV1_Run_Call) Run(run func(ctx context.Context, request *pb.Request)) *ModuleV1_Run_Call
func (*ModuleV1_Run_Call) RunAndReturn ¶
func (_c *ModuleV1_Run_Call) RunAndReturn(run func(context.Context, *pb.Request) (*pb.Response, error)) *ModuleV1_Run_Call
type ModuleV1_Start_Call ¶
ModuleV1_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ModuleV1_Start_Call) Return ¶
func (_c *ModuleV1_Start_Call) Return() *ModuleV1_Start_Call
func (*ModuleV1_Start_Call) Run ¶
func (_c *ModuleV1_Start_Call) Run(run func()) *ModuleV1_Start_Call
func (*ModuleV1_Start_Call) RunAndReturn ¶
func (_c *ModuleV1_Start_Call) RunAndReturn(run func()) *ModuleV1_Start_Call
type ModuleV2 ¶
ModuleV2 is an autogenerated mock type for the ModuleV2 type
func NewModuleV2 ¶
NewModuleV2 creates a new instance of ModuleV2. 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 (*ModuleV2) EXPECT ¶
func (_m *ModuleV2) EXPECT() *ModuleV2_Expecter
func (*ModuleV2) Execute ¶
func (_m *ModuleV2) Execute(ctx context.Context, request *pb.ExecuteRequest, handler host.ExecutionHelper) (*pb.ExecutionResult, error)
Execute provides a mock function with given fields: ctx, request, handler
func (*ModuleV2) IsLegacyDAG ¶
IsLegacyDAG provides a mock function with no fields
type ModuleV2_Close_Call ¶
ModuleV2_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ModuleV2_Close_Call) Return ¶
func (_c *ModuleV2_Close_Call) Return() *ModuleV2_Close_Call
func (*ModuleV2_Close_Call) Run ¶
func (_c *ModuleV2_Close_Call) Run(run func()) *ModuleV2_Close_Call
func (*ModuleV2_Close_Call) RunAndReturn ¶
func (_c *ModuleV2_Close_Call) RunAndReturn(run func()) *ModuleV2_Close_Call
type ModuleV2_Execute_Call ¶
ModuleV2_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ModuleV2_Execute_Call) Return ¶
func (_c *ModuleV2_Execute_Call) Return(_a0 *pb.ExecutionResult, _a1 error) *ModuleV2_Execute_Call
func (*ModuleV2_Execute_Call) Run ¶
func (_c *ModuleV2_Execute_Call) Run(run func(ctx context.Context, request *pb.ExecuteRequest, handler host.ExecutionHelper)) *ModuleV2_Execute_Call
func (*ModuleV2_Execute_Call) RunAndReturn ¶
func (_c *ModuleV2_Execute_Call) RunAndReturn(run func(context.Context, *pb.ExecuteRequest, host.ExecutionHelper) (*pb.ExecutionResult, error)) *ModuleV2_Execute_Call
type ModuleV2_Expecter ¶
type ModuleV2_Expecter struct {
// contains filtered or unexported fields
}
func (*ModuleV2_Expecter) Close ¶
func (_e *ModuleV2_Expecter) Close() *ModuleV2_Close_Call
Close is a helper method to define mock.On call
func (*ModuleV2_Expecter) Execute ¶
func (_e *ModuleV2_Expecter) Execute(ctx interface{}, request interface{}, handler interface{}) *ModuleV2_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- request *pb.ExecuteRequest
- handler host.ExecutionHelper
func (*ModuleV2_Expecter) IsLegacyDAG ¶
func (_e *ModuleV2_Expecter) IsLegacyDAG() *ModuleV2_IsLegacyDAG_Call
IsLegacyDAG is a helper method to define mock.On call
func (*ModuleV2_Expecter) Start ¶
func (_e *ModuleV2_Expecter) Start() *ModuleV2_Start_Call
Start is a helper method to define mock.On call
type ModuleV2_IsLegacyDAG_Call ¶
ModuleV2_IsLegacyDAG_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLegacyDAG'
func (*ModuleV2_IsLegacyDAG_Call) Return ¶
func (_c *ModuleV2_IsLegacyDAG_Call) Return(_a0 bool) *ModuleV2_IsLegacyDAG_Call
func (*ModuleV2_IsLegacyDAG_Call) Run ¶
func (_c *ModuleV2_IsLegacyDAG_Call) Run(run func()) *ModuleV2_IsLegacyDAG_Call
func (*ModuleV2_IsLegacyDAG_Call) RunAndReturn ¶
func (_c *ModuleV2_IsLegacyDAG_Call) RunAndReturn(run func() bool) *ModuleV2_IsLegacyDAG_Call
type ModuleV2_Start_Call ¶
ModuleV2_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ModuleV2_Start_Call) Return ¶
func (_c *ModuleV2_Start_Call) Return() *ModuleV2_Start_Call
func (*ModuleV2_Start_Call) Run ¶
func (_c *ModuleV2_Start_Call) Run(run func()) *ModuleV2_Start_Call
func (*ModuleV2_Start_Call) RunAndReturn ¶
func (_c *ModuleV2_Start_Call) RunAndReturn(run func()) *ModuleV2_Start_Call