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
↓ 185 callers
Method
Errorf
(msg string, args ...interface{})
pkg/log/logger.go:81
↓ 132 callers
Method
Get
(key string)
pkg/entity/run/run.go:51
↓ 117 callers
Method
Run
(ctx ExecuteContext, params interface{})
pkg/entity/run/action.go:15
↓ 45 callers
Function
GetStore
GetStore
pkg/mod/mod_define.go:159
↓ 33 callers
Method
Error
(msg string, fields ...interface{})
pkg/log/logger.go:80
↓ 23 callers
Function
SetStore
SetStore
pkg/mod/mod_define.go:154
↓ 17 callers
Function
Errorf
Errorf
pkg/log/logger.go:122
↓ 15 callers
Function
GetKeeper
GetKeeper
pkg/mod/mod_define.go:180
↓ 14 callers
Method
Close
()
pkg/mod/mod_define.go:103
↓ 14 callers
Method
WorkerKey
()
pkg/mod/mod_define.go:169
↓ 13 callers
Method
Fatal
(msg string, fields ...interface{})
pkg/log/logger.go:82
↓ 13 callers
Method
Lock
(ctx context.Context, ops ...LockOptionOp)
pkg/mod/mutex.go:10
↓ 12 callers
Method
Unlock
(ctx context.Context)
pkg/mod/mutex.go:11
↓ 11 callers
Method
IsLeader
()
pkg/mod/mod_define.go:166
↓ 11 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:92
↓ 10 callers
Function
SetKeeper
SetKeeper
pkg/mod/mod_define.go:175
↓ 8 callers
Method
AliveNodes
()
pkg/mod/mod_define.go:168
↓ 8 callers
Function
BuildRootNode
BuildRootNode
pkg/mod/tasktree.go:56
↓ 8 callers
Method
PatchDagIns
(dagIns *entity.DagInstance, mustsPatchFields ...string)
pkg/mod/mod_define.go:113
↓ 8 callers
Function
initWorker
(t *testing.T, key string)
keeper/mongo/mongo_integ_test.go:119
↓ 7 callers
Method
GetGraphID
()
pkg/mod/tasktree.go:18
↓ 7 callers
Method
Init
Init store
store/mongo/mongo.go:53
↓ 7 callers
Method
ListTaskInstance
(input *ListTaskInstanceInput)
pkg/mod/mod_define.go:123
↓ 7 callers
Method
Log
Log Log
pkg/utils/value/value_test.go:40
↓ 6 callers
Method
Context
()
pkg/entity/run/run.go:31
↓ 6 callers
Method
GetDag
(dagId string)
pkg/mod/mod_define.go:120
↓ 6 callers
Method
Logs
Logs Logs
pkg/utils/value/value_test.go:45
↓ 6 callers
Method
SetStatus
SetStatus will persist task instance
pkg/entity/task.go:207
↓ 6 callers
Method
Trace
Trace print msg to the TaskInstance.Traces.
pkg/entity/run/run.go:37
↓ 6 callers
Method
executeHook
(hookFunc DagInstanceHookFunc)
pkg/entity/dag.go:276
↓ 6 callers
Function
testHook
(t *testing.T, dagIns *DagInstance, wantRet string, wantStatus DagInstanceStatus, call func())
pkg/entity/dag_test.go:129
↓ 5 callers
Function
Error
Error
pkg/log/logger.go:117
↓ 5 callers
Method
Fail
Fail the dag instance
pkg/entity/dag.go:235
↓ 5 callers
Method
Init
Init
keeper/mongo/mongo.go:71
↓ 5 callers
Method
ListDagInstance
(input *ListDagInstanceInput)
pkg/mod/mod_define.go:122
↓ 5 callers
Function
MapTaskInsToGetter
MapTaskInsToGetter
pkg/mod/tasktree.go:23
↓ 5 callers
Function
RegisterAction
RegisterAction you need register all used action to it
fastflow.go:30
↓ 5 callers
Function
SetExecutor
SetExecutor
pkg/mod/mod_define.go:92
↓ 4 callers
Method
CanExecuteChild
CanExecuteChild
pkg/mod/tasktree.go:253
↓ 4 callers
Method
ComputeStatus
ComputeStatus
pkg/mod/tasktree.go:185
↓ 4 callers
Method
Initial
Initial base info
pkg/entity/common.go:23
↓ 4 callers
Function
NewTplRender
()
pkg/render/render.go:17
↓ 4 callers
Method
PatchTaskIns
(taskIns *entity.TaskInstance)
pkg/mod/mod_define.go:112
↓ 4 callers
Method
Update
Update
pkg/entity/common.go:32
↓ 4 callers
Function
executeCommand
( taskInsIds []string, perform func(dagIns *entity.DagInstance, isWorkerAlive bool) error, opt CommandOptio
pkg/mod/commander.go:130
↓ 4 callers
Function
initOption
(opSetter []CommandOptSetter)
pkg/mod/commander.go:121
↓ 4 callers
Method
setLeaderFlag
(isLeader bool)
keeper/mongo/mongo.go:111
↓ 4 callers
Function
walkNode
(root *TaskNode, walkFunc func(node *TaskNode) bool, walkChildrenIgnoreStatus bool)
pkg/mod/tasktree.go:210
↓ 3 callers
Method
Block
Block the dag instance
pkg/entity/dag.go:242
↓ 3 callers
Method
Continue
Continue tasks, it is just set a command, command will execute by Parser
pkg/entity/dag.go:253
↓ 3 callers
Method
CreateDag
(dag *entity.Dag)
pkg/mod/mod_define.go:109
↓ 3 callers
Method
CreateDagIns
(dagIns *entity.DagInstance)
pkg/mod/mod_define.go:110
↓ 3 callers
Function
CtxRunningTaskIns
(ctx context.Context)
pkg/entity/common.go:51
↓ 3 callers
Method
EntryTaskIns
(taskIns *entity.TaskInstance)
pkg/mod/mod_define.go:187
↓ 3 callers
Method
Executable
Executable
pkg/mod/tasktree.go:311
↓ 3 callers
Method
Fatalf
(msg string, args ...interface{})
pkg/log/logger.go:83
↓ 3 callers
Method
GetDepend
()
pkg/mod/tasktree.go:16
↓ 3 callers
Function
GetExecutor
GetExecutor
pkg/mod/mod_define.go:97
↓ 3 callers
Function
Info
Info
pkg/log/logger.go:97
↓ 3 callers
Method
InitialDagIns
InitialDagIns
pkg/mod/parser.go:152
↓ 3 callers
Function
IsCustomGenerator
IsCustomGenerator returns whether the custom generator is initialized.
store/store.go:35
↓ 3 callers
Method
ListDag
ListDag
store/mongo/mongo.go:359
↓ 3 callers
Method
ListDagInstance
ListDagInstance
store/mongo/mongo.go:371
↓ 3 callers
Method
ListTaskInstance
ListTaskInstance
store/mongo/mongo.go:405
↓ 3 callers
Method
Marshal
(obj interface{})
pkg/mod/mod_define.go:124
↓ 3 callers
Method
Name
()
examples/mongo/main.go:29
↓ 3 callers
Function
NewCachedTplProvider
(maxSize int)
pkg/render/tpl.go:15
↓ 3 callers
Function
NewDefDispatcher
NewDefDispatcher
pkg/mod/dispatcher.go:22
↓ 3 callers
Function
NewStore
NewStore
store/mongo/mongo.go:46
↓ 3 callers
Function
SetLogger
SetLogger for testing
pkg/log/logger.go:12
↓ 3 callers
Function
SetParser
SetParser
pkg/mod/mod_define.go:191
↓ 3 callers
Function
Start
Start will block until accept system signal, if you don't want block, plz check "Init"
fastflow.go:62
↓ 3 callers
Function
StringsContain
StringsContain
pkg/utils/utils.go:4
↓ 3 callers
Method
Success
Success the dag instance
pkg/entity/dag.go:228
↓ 3 callers
Method
Unmarshal
(bytes []byte, ptr interface{})
pkg/mod/mod_define.go:125
↓ 3 callers
Method
UpdateDag
(dagIns *entity.Dag)
pkg/mod/mod_define.go:114
↓ 3 callers
Method
VarsGetter
VarsGetter
pkg/entity/dag.go:202
↓ 3 callers
Method
VarsIterator
VarsIterator
pkg/entity/dag.go:210
↓ 3 callers
Method
WalkString
(callback MapValueStringCallback)
pkg/utils/value/value.go:112
↓ 3 callers
Function
checkParentAndRemoveIt
(t *testing.T, node, pNode *TaskNode)
pkg/mod/tasktree_test.go:357
↓ 3 callers
Method
ensureTtlIndex
(ctx context.Context, clsName, field string, ttl int32)
keeper/mongo/mongo.go:119
↓ 3 callers
Method
genericBatchDelete
(ids []string, clsName string)
store/mongo/mongo.go:480
↓ 3 callers
Method
genericCreate
(input entity.BaseInfoGetter, clsName string)
store/mongo/mongo.go:126
↓ 3 callers
Method
genericGet
(clsName, id string, ret interface{})
store/mongo/mongo.go:344
↓ 3 callers
Method
genericList
(ret interface{}, clsName string, query bson.M, opts ...*options.FindOptions)
store/mongo/mongo.go:451
↓ 3 callers
Method
genericUpdate
genericUpdate
store/mongo/mongo.go:251
↓ 3 callers
Method
walk
(walkContext *WalkContext, callback MapValueCallback)
pkg/utils/value/value.go:50
↓ 2 callers
Method
AppendParent
AppendParent
pkg/mod/tasktree.go:248
↓ 2 callers
Method
BatchUpdateDagIns
(dagIns []*entity.DagInstance)
pkg/mod/mod_define.go:117
↓ 2 callers
Method
BuildKvGetter
BuildKvGetter
pkg/entity/task.go:86
↓ 2 callers
Method
CancelTaskIns
(taskInsIds []string)
pkg/mod/mod_define.go:88
↓ 2 callers
Function
CheckWorkerKey
CheckWorkerKey check if worker key is correct, the format must be "xxxxx-{{number}}" number must in range 0~65535(sonyflake machine id is uint16) if y
keeper/keeper.go:17
↓ 2 callers
Function
CtxWithRunningTaskIns
(ctx context.Context, task *TaskInstance)
pkg/entity/common.go:47
↓ 2 callers
Method
Do
Do dispatch
pkg/mod/dispatcher.go:57
↓ 2 callers
Method
DoPreCheck
DoPreCheck
pkg/entity/task.go:303
↓ 2 callers
Method
GetBaseInfo
()
pkg/entity/common.go:38
↓ 2 callers
Function
GetCommander
GetCommander
pkg/mod/mod_define.go:81
↓ 2 callers
Method
GetDagInstance
(dagInsId string)
pkg/mod/mod_define.go:121
↓ 2 callers
Method
GetExecutableTaskIds
GetExecutableTaskIds is unique task id map
pkg/mod/tasktree.go:272
↓ 2 callers
Method
GetNextTaskIds
GetNextTaskIds
pkg/mod/tasktree.go:283
next →
1–100 of 525, ranked by callers