| 12 | ) |
| 13 | |
| 14 | type fakeNetworkTaskService struct { |
| 15 | getTaskFn func(context.Context, string, taskpkg.ActorContext) (*taskpkg.View, error) |
| 16 | createTaskFn func(context.Context, taskpkg.CreateTask, taskpkg.ActorContext) (*taskpkg.Task, error) |
| 17 | updateTaskFn func(context.Context, string, taskpkg.Patch, taskpkg.ActorContext) (*taskpkg.Task, error) |
| 18 | cancelTaskFn func(context.Context, string, taskpkg.CancelTask, taskpkg.ActorContext) (*taskpkg.Task, error) |
| 19 | enqueueRunFn func(context.Context, taskpkg.EnqueueRun, taskpkg.ActorContext) (*taskpkg.Run, error) |
| 20 | } |
| 21 | |
| 22 | func (f fakeNetworkTaskService) GetTask( |
| 23 | ctx context.Context, |
nothing calls this directly
no outgoing calls
no test coverage detected