Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShiningRush/fastflow
/ functions
Functions
525 in github.com/ShiningRush/fastflow
⨍
Functions
525
◇
Types & classes
135
↓ 1 callers
Function
NewTaskInstance
NewTaskInstance
pkg/entity/task.go:165
↓ 1 callers
Function
NewTaskNodeFromGetter
NewTaskNodeFromGetter
pkg/mod/tasktree.go:114
↓ 1 callers
Function
NewTestRenderParam
()
pkg/mod/executor_test.go:48
↓ 1 callers
Function
NewTraceOption
NewTraceOption
pkg/entity/run/run.go:135
↓ 1 callers
Function
NextID
NextID
store/store.go:56
↓ 1 callers
Function
NextStringID
NextStringID
store/store.go:65
↓ 1 callers
Method
ParameterNew
()
pkg/entity/run/action.go:30
↓ 1 callers
Function
ParseDuration
ParseDuration
pkg/actions/wait.go:57
↓ 1 callers
Method
Push
Push task to execute
pkg/mod/executor.go:122
↓ 1 callers
Method
ReadDag
(path string)
pkg/utils/file.go:12
↓ 1 callers
Method
ReadPathsFromDir
(dir string)
pkg/utils/file.go:11
↓ 1 callers
Method
ReadPathsFromDir
ReadPathsFromDir
pkg/utils/file.go:24
↓ 1 callers
Method
Render
Render variables
pkg/entity/dag.go:288
↓ 1 callers
Method
RetryBefore
(ctx ExecuteContext, params interface{})
pkg/entity/run/action.go:35
↓ 1 callers
Method
RetryDagIns
RetryDagIns
pkg/mod/commander.go:38
↓ 1 callers
Method
RetryTask
RetryTask
pkg/mod/commander.go:47
↓ 1 callers
Method
Run
Run used to build a new DagInstance, then you also need save it to Store
pkg/entity/dag.go:39
↓ 1 callers
Method
Run
Success the dag instance
pkg/entity/dag.go:221
↓ 1 callers
Method
RunAfter
(ctx ExecuteContext, params interface{})
pkg/entity/run/action.go:25
↓ 1 callers
Method
RunBefore
(ctx ExecuteContext, params interface{})
pkg/entity/run/action.go:20
↓ 1 callers
Method
RunDag
RunDag
pkg/mod/commander.go:20
↓ 1 callers
Function
SetCommander
SetCommander
pkg/mod/mod_define.go:76
↓ 1 callers
Method
UpdateDag
UpdateDag
store/mongo/mongo.go:226
↓ 1 callers
Method
UpdateDagIns
UpdateDagIns
store/mongo/mongo.go:236
↓ 1 callers
Method
UpdateTaskIns
UpdateTaskIns
store/mongo/mongo.go:246
↓ 1 callers
Method
UpdateTaskIns
(taskIns *entity.TaskInstance)
pkg/mod/mod_define.go:116
↓ 1 callers
Function
Warn
Warn
pkg/log/logger.go:107
↓ 1 callers
Method
Warn
(msg string, fields ...interface{})
pkg/log/logger.go:78
↓ 1 callers
Method
Warnf
(msg string, args ...interface{})
pkg/log/logger.go:79
↓ 1 callers
Method
WatchInitDags
WatchInitDags
pkg/mod/dispatcher.go:35
↓ 1 callers
Method
WorkerKey
WorkerKey must match `xxxx-1` format
keeper/mongo/mongo.go:235
↓ 1 callers
Method
WorkerNumber
WorkerNumber get the the key number of Worker key, if here is a WorkKey like `worker-1`, then it will return "1"
keeper/mongo/mongo.go:240
↓ 1 callers
Function
bfsCheckCycle
(waitQueue []*TaskNode, visited map[string]struct{}, incomplete map[string]*TaskNode)
pkg/mod/tasktree.go:152
↓ 1 callers
Function
boolPtr
(b bool)
keeper/mongo/mongo.go:455
↓ 1 callers
Function
buildGraphNodeMap
(tasks []TaskInfoGetter)
pkg/mod/tasktree.go:96
↓ 1 callers
Method
cacheGetTpl
(tplText string)
pkg/render/tpl.go:23
↓ 1 callers
Method
cacheSetTpl
(tplText string, template *template.Template)
pkg/render/tpl.go:33
↓ 1 callers
Method
campaign
()
keeper/mongo/mongo.go:334
↓ 1 callers
Method
continueLeader
()
keeper/mongo/mongo.go:392
↓ 1 callers
Function
createDagAndInstance
()
examples/simple/main.go:69
↓ 1 callers
Function
createDagAndInstance
()
examples/programming/main.go:70
↓ 1 callers
Function
createDagAndInstance
()
examples/kube-statefulset/main.go:71
↓ 1 callers
Function
dfsWalk
( root *TaskNode, walkFunc func(node *TaskNode) bool, walkChildrenIgnoreStatus bool)
pkg/mod/tasktree.go:214
↓ 1 callers
Method
elect
()
keeper/mongo/mongo.go:315
↓ 1 callers
Function
ensureDagCreated
()
examples/mongo/main.go:59
↓ 1 callers
Function
ensureDagCreated
(dag *entity.Dag)
examples/programming/main.go:103
↓ 1 callers
Function
ensureDagLatest
(dag *entity.Dag)
fastflow.go:255
↓ 1 callers
Method
getTaskTree
(dagInsId string)
pkg/mod/parser.go:301
↓ 1 callers
Function
getTasksMap
(tasks []*entity.TaskInstance)
pkg/mod/parser.go:207
↓ 1 callers
Function
getTrimKeyValue
(str string, opIdx, opLen int)
pkg/utils/data/selector.go:103
↓ 1 callers
Method
goElect
()
keeper/mongo/mongo.go:301
↓ 1 callers
Method
goHeartBeat
()
keeper/mongo/mongo.go:414
↓ 1 callers
Method
goWorker
(queue <-chan *entity.TaskInstance)
pkg/mod/parser.go:125
↓ 1 callers
Method
handleErr
(err error)
pkg/mod/watchdog.go:112
↓ 1 callers
Method
handleExpiredTaskIns
()
pkg/mod/watchdog.go:60
↓ 1 callers
Method
handleLeftBehindDagIns
()
pkg/mod/watchdog.go:91
↓ 1 callers
Method
handleTaskError
(taskIns *entity.TaskInstance, err error)
pkg/mod/executor.go:274
↓ 1 callers
Method
handlerErr
(err error)
pkg/mod/dispatcher.go:90
↓ 1 callers
Method
heartBeat
()
keeper/mongo/mongo.go:434
↓ 1 callers
Function
initCommonComponent
(opt *InitialOption)
fastflow.go:199
↓ 1 callers
Function
initLeaderChangedHandler
(opt *InitialOption)
fastflow.go:101
↓ 1 callers
Method
parseTpl
(tplText string)
pkg/render/tpl.go:52
↓ 1 callers
Method
pushTasks
(dagIns *entity.DagInstance, ids []string)
pkg/mod/parser.go:257
↓ 1 callers
Method
readOpt
()
keeper/mongo/mongo.go:148
↓ 1 callers
Method
readOpt
()
store/mongo/mongo.go:74
↓ 1 callers
Method
runAction
(taskIns *entity.TaskInstance)
pkg/mod/executor.go:184
↓ 1 callers
Function
runInstance
()
examples/mongo/main.go:156
↓ 1 callers
Function
scanAllSplits
(s string)
pkg/utils/data/selector.go:63
↓ 1 callers
Method
sendToChannel
(mod int, taskIns *entity.TaskInstance, newRoutineWhenFull bool)
pkg/mod/parser.go:319
↓ 1 callers
Function
splitArgsAndOpt
splitArgsAndOpt split args and opt, opt must be placed at the end of args
pkg/entity/run/run.go:98
↓ 1 callers
Function
splitStringsWithIdx
(s string, idx []int)
pkg/utils/data/selector.go:85
↓ 1 callers
Method
subWorkerQueue
()
pkg/mod/executor.go:71
↓ 1 callers
Method
walkSlice
(walkContext *WalkContext, slice []interface{}, callback MapValueCallback)
pkg/utils/value/value.go:68
↓ 1 callers
Method
watchDagInsCmd
()
pkg/mod/parser.go:103
↓ 1 callers
Method
watchInitQueue
()
pkg/mod/executor.go:90
↓ 1 callers
Method
watchScheduledDagIns
()
pkg/mod/parser.go:73
↓ 1 callers
Function
weakDecode
(input interface{}, output interface{})
pkg/mod/executor.go:216
↓ 1 callers
Method
workerDo
(taskIns *entity.TaskInstance)
pkg/mod/executor.go:163
Method
AliveNodes
AliveNodes get all alive nodes
keeper/mongo/mongo.go:187
Method
AliveNodes
AliveNodes provides a mock function with given fields:
pkg/mod/mod_define_mock.go:63
Method
BatchCreatTaskIns
BatchCreatTaskIns provides a mock function with given fields: taskIns
pkg/mod/mod_define_mock.go:159
Method
BatchUpdateDagIns
BatchUpdateDagIns
store/mongo/mongo.go:268
Method
BatchUpdateDagIns
BatchUpdateDagIns provides a mock function with given fields: dagIns
pkg/mod/mod_define_mock.go:173
Method
BatchUpdateTaskIns
BatchUpdateTaskIns
store/mongo/mongo.go:300
Method
BatchUpdateTaskIns
(taskIns []*entity.TaskInstance)
pkg/mod/mod_define.go:118
Method
BatchUpdateTaskIns
BatchUpdateTaskIns provides a mock function with given fields: taskIns
pkg/mod/mod_define_mock.go:187
Method
CancelTask
(taskInsIds []string, ops ...CommandOptSetter)
pkg/mod/mod_define.go:25
Method
CancelTask
CancelTask
pkg/mod/commander.go:62
Method
CancelTaskIns
CancelTaskIns
pkg/mod/executor.go:79
Method
CancelTaskIns
CancelTaskIns provides a mock function with given fields: taskInsId
pkg/mod/mod_define_mock.go:39
Method
Close
close component
keeper/mongo/mongo.go:254
Method
Close
Close component when we not use it anymore
store/mongo/mongo.go:97
Method
Close
Close provides a mock function with given fields:
pkg/mod/mod_define_mock.go:14
Method
Close
Close provides a mock function with given fields:
pkg/mod/mod_define_mock.go:91
Method
Close
Close provides a mock function with given fields:
pkg/mod/mod_define_mock.go:201
Method
Collect
Collect
pkg/exporter/collector.go:109
Method
Collect
Collect
pkg/exporter/collector.go:176
Method
Context
Context provides a mock function with given fields:
pkg/entity/run/run_mock.go:19
Method
Context
Context
pkg/entity/run/run.go:67
Method
ContinueDagIns
(dagInsId string, ops ...CommandOptSetter)
pkg/mod/mod_define.go:26
← previous
next →
201–300 of 525, ranked by callers