MCPcopy Create free account
hub / github.com/actiontech/dtle / newTaskStoreForApi

Function newTaskStoreForApi

driver/state.go:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46var AllocIdTaskNameToTaskHandler *TaskStoreForApi
47
48func newTaskStoreForApi() *TaskStoreForApi {
49 return &TaskStoreForApi{store: map[string]*taskHandle{}}
50}
51
52// it can only use allocId and taskName to identify the task from http api
53// but internal operation like deleting task need taskId to identify the task

Callers 1

NewDriverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected