MCPcopy Create free account
hub / github.com/compozy/agh / fakeNetworkTaskService

Struct fakeNetworkTaskService

internal/network/tasks_test.go:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type 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
22func (f fakeNetworkTaskService) GetTask(
23 ctx context.Context,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected