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
↓ 2 callers
Function
GetParser
GetParser
pkg/mod/mod_define.go:196
↓ 2 callers
Method
GetTpl
(tplText string)
pkg/render/tpl.go:39
↓ 2 callers
Method
Handle
Handle
fastflow.go:141
↓ 2 callers
Function
Init
Init will not block, but you need to close fastflow after application closing
fastflow.go:83
↓ 2 callers
Method
Init
Init
pkg/mod/executor.go:61
↓ 2 callers
Method
Init
Init
pkg/mod/parser.go:40
↓ 2 callers
Method
Init
Init
pkg/mod/watchdog.go:31
↓ 2 callers
Method
Init
Init
pkg/mod/dispatcher.go:29
↓ 2 callers
Function
InitCustomGenerator
InitCustomGenerator if you give a custom generator, it will be used to generate id and not check worker number format anymore
store/store.go:23
↓ 2 callers
Function
InitFlakeGenerator
InitFlakeGenerator
store/store.go:40
↓ 2 callers
Method
InitialDep
InitialDep
pkg/entity/task.go:200
↓ 2 callers
Function
MapTasksToGetter
MapTasksToGetter
pkg/mod/tasktree.go:31
↓ 2 callers
Method
Name
()
pkg/entity/run/action.go:14
↓ 2 callers
Function
NewDefExecutor
NewDefExecutor
pkg/mod/executor.go:49
↓ 2 callers
Function
NewDefParser
NewDefParser
pkg/mod/parser.go:30
↓ 2 callers
Function
NewDefWatchDog
NewDefWatchDog
pkg/mod/watchdog.go:23
↓ 2 callers
Method
NewMutex
(key string)
pkg/mod/mod_define.go:171
↓ 2 callers
Function
NewWalkContext
()
pkg/utils/value/value.go:19
↓ 2 callers
Method
NextID
()
store/store.go:18
↓ 2 callers
Method
Path
()
pkg/utils/value/value.go:30
↓ 2 callers
Method
Push
(dagIns *entity.DagInstance, taskIns *entity.TaskInstance)
pkg/mod/mod_define.go:87
↓ 2 callers
Function
Reentrant
Reentrant mean lock it reentrant
pkg/mod/mutex.go:47
↓ 2 callers
Method
Render
(tplText string, data interface{})
pkg/render/render.go:23
↓ 2 callers
Method
Retry
Retry tasks, it is just set a command, command will execute by Parser
pkg/entity/dag.go:248
↓ 2 callers
Method
RunDag
(dagId string, specVar map[string]string)
pkg/mod/mod_define.go:22
↓ 2 callers
Method
Set
(key string, val string)
pkg/entity/run/run.go:52
↓ 2 callers
Method
ShareData
()
pkg/entity/run/run.go:35
↓ 2 callers
Method
Trace
Trace print msg to the TaskInstance.Traces.
pkg/entity/run/run.go:82
↓ 2 callers
Method
Tracef
Tracef print msg to the TaskInstance.Traces. Arguments are handled in the manner of fmt.Printf. Opt can only be placed at the end of args. Tracef("{fo
pkg/entity/run/run.go:44
↓ 2 callers
Method
Walk
(callback MapValueCallback)
pkg/utils/value/value.go:46
↓ 2 callers
Function
Warnf
Warnf
pkg/log/logger.go:112
↓ 2 callers
Method
WithValue
WithValue can attach value to context,so can share data between action however it is base on memory, it is possible to lose changes such as applicatio
pkg/entity/run/run.go:34
↓ 2 callers
Method
autoLoopDagTasks
( dagInsId string, status []entity.TaskInstanceStatus, cmdOp func(taskInsIds []string, ops ...CommandOptSet
pkg/mod/commander.go:96
↓ 2 callers
Method
cancelChildTasks
(tree *TaskTree, ids []string)
pkg/mod/parser.go:271
↓ 2 callers
Function
checkOption
(opt *InitialOption)
fastflow.go:176
↓ 2 callers
Function
ensureCmdExecuted
(dagInsId string, opt CommandOption)
pkg/mod/commander.go:197
↓ 2 callers
Method
executeNext
(taskIns *entity.TaskInstance)
pkg/mod/parser.go:215
↓ 2 callers
Method
forceClose
this function is just for testing
keeper/mongo/mongo.go:283
↓ 2 callers
Method
genCmd
(taskInsIds []string, cmdName CommandName)
pkg/entity/dag.go:257
↓ 2 callers
Method
getFromTaskInstance
(taskIns *entity.TaskInstance, params interface{})
pkg/mod/executor.go:207
↓ 2 callers
Method
handleErr
(err error)
pkg/mod/parser.go:514
↓ 2 callers
Function
initSanityWorker
(t *testing.T)
keeper/mongo/mongo_integ_test.go:129
↓ 2 callers
Method
initWorkerTask
(dagIns *entity.DagInstance, taskIns *entity.TaskInstance)
pkg/mod/executor.go:97
↓ 2 callers
Method
initialRunningDagIns
()
pkg/mod/parser.go:134
↓ 2 callers
Function
isStrInArray
(str string, arr []string)
pkg/entity/task.go:123
↓ 2 callers
Method
loopTaskThenInitialDagIns
( dagIns *entity.DagInstance, status []entity.TaskInstanceStatus, loopFunc func(*entity.TaskInstance) bool)
pkg/mod/parser.go:461
↓ 2 callers
Method
parseCmd
(dagIns *entity.DagInstance)
pkg/mod/parser.go:404
↓ 2 callers
Method
parseScheduleDagIns
(dagIns *entity.DagInstance)
pkg/mod/parser.go:351
↓ 2 callers
Method
pushPath
(path string)
pkg/utils/value/value.go:26
↓ 2 callers
Function
readDagFromDir
(dir string)
fastflow.go:224
↓ 2 callers
Method
renderParams
(taskIns *entity.TaskInstance)
pkg/mod/executor.go:232
↓ 2 callers
Method
reset
()
pkg/utils/value/value.go:41
↓ 2 callers
Method
spinLock
(ctx context.Context, opt *mod.LockOption)
keeper/mongo/mutex.go:57
↓ 2 callers
Method
startWatcher
(do func() error)
pkg/mod/parser.go:57
↓ 2 callers
Method
walkValue
(walkContext *WalkContext, v interface{}, setter Setter, callback MapValueCallback)
pkg/utils/value/value.go:87
↓ 2 callers
Method
watchWrapper
(do func() error)
pkg/mod/watchdog.go:44
↓ 2 callers
Method
workerDo
(taskIns *entity.TaskInstance)
pkg/mod/parser.go:347
↓ 1 callers
Method
Append
Append
pkg/utils/data/error.go:28
↓ 1 callers
Method
AppendChild
AppendChild
pkg/mod/tasktree.go:243
↓ 1 callers
Method
BatchCreatTaskIns
BatchCreatTaskIns
store/mongo/mongo.go:144
↓ 1 callers
Method
BatchCreatTaskIns
(taskIns []*entity.TaskInstance)
pkg/mod/mod_define.go:111
↓ 1 callers
Method
BatchDeleteDag
BatchDeleteDag
store/mongo/mongo.go:466
↓ 1 callers
Method
BatchDeleteDagIns
BatchDeleteDagIns
store/mongo/mongo.go:471
↓ 1 callers
Method
BatchDeleteTaskIns
BatchDeleteTaskIns
store/mongo/mongo.go:476
↓ 1 callers
Method
CanBeExecuted
CanBeExecuted check whether task could be executed
pkg/mod/tasktree.go:258
↓ 1 callers
Method
CanBlock
()
pkg/entity/task.go:340
↓ 1 callers
Method
CanModifyStatus
CanChange indicate if the dag instance can modify status
pkg/entity/dag.go:283
↓ 1 callers
Method
Cancel
Cancel a task, it is just set a command, command will execute by Parser
pkg/entity/dag.go:171
↓ 1 callers
Function
Close
Close all closer
fastflow.go:169
↓ 1 callers
Method
Close
Close leader component
fastflow.go:161
↓ 1 callers
Method
Close
Close
pkg/mod/executor.go:261
↓ 1 callers
Method
Close
Close
pkg/mod/parser.go:497
↓ 1 callers
Method
Close
Close
pkg/mod/watchdog.go:39
↓ 1 callers
Method
Close
Close component
pkg/mod/dispatcher.go:97
↓ 1 callers
Method
ContinueDagIns
ContinueDagIns using to continue a blocked dag instance
pkg/mod/commander.go:73
↓ 1 callers
Method
ContinueTask
ContinueTask using to continue many blocked task instances
pkg/mod/commander.go:82
↓ 1 callers
Method
CreateDag
CreateDag
store/mongo/mongo.go:107
↓ 1 callers
Method
CreateDagIns
CreateDagIns
store/mongo/mongo.go:117
↓ 1 callers
Method
Debug
(msg string, fields ...interface{})
pkg/log/logger.go:74
↓ 1 callers
Method
Debugf
(msg string, args ...interface{})
pkg/log/logger.go:75
↓ 1 callers
Function
Fatalf
Fatalf
pkg/log/logger.go:132
↓ 1 callers
Method
GetID
()
pkg/mod/tasktree.go:17
↓ 1 callers
Method
GetStatus
()
pkg/mod/tasktree.go:19
↓ 1 callers
Method
HasCycle
HasCycle
pkg/mod/tasktree.go:140
↓ 1 callers
Function
HttpHandler
HttpHandler used to handle metrics request you can use it like that http.Handle("/metrics", exporter.HttpHandler) because it depend on Keeper, so y
pkg/exporter/collector.go:197
↓ 1 callers
Method
Info
(msg string, fields ...interface{})
pkg/log/logger.go:76
↓ 1 callers
Function
Infof
Infof
pkg/log/logger.go:102
↓ 1 callers
Method
Infof
(msg string, args ...interface{})
pkg/log/logger.go:77
↓ 1 callers
Method
InitialDagIns
(dagIns *entity.DagInstance)
pkg/mod/mod_define.go:186
↓ 1 callers
Method
IsAlive
(workerKey string)
pkg/mod/mod_define.go:167
↓ 1 callers
Method
IsLastState
()
pkg/entity/task.go:331
↓ 1 callers
Method
IsMeet
IsMeet return if check is meet
pkg/entity/task.go:53
↓ 1 callers
Function
LockTTL
LockTTL configured lock ttl, default values: 30s
pkg/mod/mutex.go:38
↓ 1 callers
Function
LoopDo
LoopDo help you to complete loop action,for example LoopDo(ctx, func(){ log.Println("check status") })
pkg/entity/run/action.go:63
↓ 1 callers
Function
LoopInterval
LoopInterval indicate the interval of loop
pkg/entity/run/action.go:45
↓ 1 callers
Function
MapMockTasksToGetter
MapMockTasksToGetter
pkg/mod/tasktree.go:39
↓ 1 callers
Function
MustBuildRootNode
MustBuildRootNode
pkg/mod/tasktree.go:47
↓ 1 callers
Function
NewDefExecuteContext
NewDefExecuteContext
pkg/entity/run/run.go:11
↓ 1 callers
Function
NewKeeper
NewKeeper
keeper/mongo/mongo.go:60
↓ 1 callers
Function
NewLockOption
NewLockOption
pkg/mod/mutex.go:24
← previous
next →
101–200 of 525, ranked by callers