Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShiningRush/fastflow
/ types & classes
Types & classes
135 in github.com/ShiningRush/fastflow
⨍
Functions
525
◇
Types & classes
135
↓ 3 callers
TypeAlias
MapValue
pkg/utils/value/value.go:8
Interface
Action
Action is the interface that user action must implement
pkg/entity/run/action.go:13
Struct
ActionA
examples/mongo/main.go:25
Struct
ActionParam
examples/mongo/main.go:20
TypeAlias
ActiveAction
pkg/entity/task.go:62
Interface
AfterAction
AfterAction run after run action
pkg/entity/run/action.go:24
Struct
BaseInfo
BaseInfo
pkg/entity/common.go:11
Interface
BaseInfoGetter
BaseInfoGetter
pkg/entity/common.go:37
Interface
BeforeAction
BeforeAction run before run action
pkg/entity/run/action.go:19
Struct
Check
Check
pkg/entity/task.go:47
Interface
Closer
Closer means the component need be closeFunc
pkg/mod/mod_define.go:102
Struct
Command
Command
pkg/entity/dag.go:300
TypeAlias
CommandName
CommandName
pkg/entity/dag.go:306
FuncType
CommandOptSetter
func(opt *CommandOption)
pkg/mod/mod_define.go:43
Struct
CommandOption
CommandOption
pkg/mod/mod_define.go:31
Interface
Commander
Commander used to execute command
pkg/mod/mod_define.go:21
TypeAlias
CtxKey
pkg/entity/common.go:41
Struct
Dag
Dag
pkg/entity/dag.go:22
Struct
DagInstance
DagInstance
pkg/entity/dag.go:86
FuncType
DagInstanceHookFunc
func(dagIns *DagInstance)
pkg/entity/dag.go:189
Struct
DagInstanceLifecycleHook
DagInstanceLifecycleHook
pkg/entity/dag.go:192
Struct
DagInstancePatched
DagInstanceUpdated will raise when dag instance he updated
pkg/event/event.go:28
TypeAlias
DagInstanceStatus
DagInstanceStatus
pkg/entity/dag.go:315
Struct
DagInstanceUpdated
DagInstanceUpdated will raise when dag instance he updated
pkg/event/event.go:18
Struct
DagInstanceVar
DagInstanceVar
pkg/entity/dag.go:73
TypeAlias
DagInstanceVars
DagInstanceVars
pkg/entity/dag.go:168
Interface
DagReader
DagReader
pkg/utils/file.go:10
TypeAlias
DagStatus
DagStatus
pkg/entity/dag.go:78
Struct
DagVar
DagVar
pkg/entity/dag.go:67
TypeAlias
DagVars
pkg/entity/dag.go:64
Struct
DefCommander
DefCommander used to execute command
pkg/mod/commander.go:16
Struct
DefDispatcher
DefDispatcher
pkg/mod/dispatcher.go:15
Struct
DefExecuteContext
Default Executor context
pkg/entity/run/run.go:58
Struct
DefExecutor
DefExecutor
pkg/mod/executor.go:27
Struct
DefParser
DefParser
pkg/mod/parser.go:18
Struct
DefWatchDog
DefWatchDog
pkg/mod/watchdog.go:15
Struct
DispatchInitDagInsCompleted
DispatchInitDagInsCompleted will raise when leader changed such as campaign success or continue leader failed
pkg/event/event.go:70
Interface
DistributedMutex
DistributedMutex
pkg/mod/mutex.go:9
Struct
Errors
Errors
pkg/utils/data/error.go:18
Interface
ExecuteContext
ExecuteContext is a context using by action go:generate mockery --name=ExecuteContext --output=. --inpackage --filename=run_mock.go
pkg/entity/run/run.go:30
Interface
Executor
Executor is used to execute task
pkg/mod/mod_define.go:86
Struct
ExecutorCollector
ExecutorCollector
pkg/exporter/collector.go:61
Struct
FileDagReader
FileDagReader
pkg/utils/file.go:20
Interface
Generator
store/store.go:17
Struct
InitialOption
InitialOption
fastflow.go:43
Interface
Keeper
Keeper
pkg/mod/mod_define.go:164
Struct
Keeper
Keeper mongo implement
keeper/mongo/mongo.go:27
Struct
KeeperOption
KeeperOption
keeper/mongo/mongo.go:45
FuncType
KeyValueGetter
func(key string) (string, bool)
pkg/utils/utils.go:13
FuncType
KeyValueIterateFunc
func(key, val string) (stop bool)
pkg/utils/utils.go:15
FuncType
KeyValueIterator
func(KeyValueIterateFunc)
pkg/utils/utils.go:14
Struct
LeaderChanged
LeaderChanged will raise when leader changed such as campaign success or continue leader failed
pkg/event/event.go:59
Struct
LeaderChangedHandler
LeaderChangedHandler used to handle leader chaged event
fastflow.go:128
Struct
LeaderCollector
ExecutorCollector
pkg/exporter/collector.go:150
Struct
LeaderPayload
LeaderPayload leader election dto
keeper/mongo/mongo.go:295
Struct
ListDagInput
ListDagInput
pkg/mod/mod_define.go:129
Struct
ListDagInstanceInput
ListDagInstanceInput
pkg/mod/mod_define.go:133
Struct
ListTaskInstanceInput
ListTaskInstanceInput
pkg/mod/mod_define.go:144
Struct
LockDetail
keeper/mongo/mutex.go:14
Struct
LockOption
LockOption
pkg/mod/mutex.go:15
FuncType
LockOptionOp
func(option *LockOption)
pkg/mod/mutex.go:21
Interface
Logger
Logger
pkg/log/logger.go:73
Struct
LoopDoOption
LoopDoOption
pkg/entity/run/action.go:54
FuncType
LoopDoOptionOp
func(loop *LoopDoOption)
pkg/entity/run/action.go:42
FuncType
MapValueCallback
func(walkContext *WalkContext, v interface{}) error
pkg/utils/value/value.go:12
FuncType
MapValueStringCallback
func(walkContext *WalkContext, v string) error
pkg/utils/value/value.go:110
Struct
MockAction
MockAction is an autogenerated mock type for the Action type
pkg/entity/run/action_mock.go:8
Struct
MockBaseInfoGetter
MockBaseInfoGetter is an autogenerated mock type for the BaseInfoGetter type
pkg/entity/common_mock.go:10
Struct
MockCloser
MockCloser is an autogenerated mock type for the Closer type
pkg/mod/mod_define_mock.go:9
Struct
MockDagReader
MockDagReader is an autogenerated mock type for the DagReader type
pkg/utils/file_mock.go:8
Struct
MockExecuteContext
MockExecuteContext is an autogenerated mock type for the ExecuteContext type
pkg/entity/run/run_mock.go:14
Struct
MockExecutor
MockExecutor is an autogenerated mock type for the Executor type
pkg/mod/mod_define_mock.go:34
Struct
MockGenerator
keeper/keeper_test.go:12
Struct
MockGenerator
store/store_test.go:9
Struct
MockKeeper
MockKeeper is an autogenerated mock type for the Keeper type
pkg/mod/mod_define_mock.go:58
Struct
MockLogger
MockLogger is an autogenerated mock type for the Logger type
pkg/log/logger_mock.go:6
Struct
MockParser
MockParser is an autogenerated mock type for the Parser type
pkg/mod/mod_define_mock.go:19
Struct
MockStore
MockStore is an autogenerated mock type for the Store type
pkg/mod/mod_define_mock.go:154
Struct
MockTaskInfoGetter
pkg/mod/mod_define_mock.go:434
Struct
MongoMutex
keeper/mongo/mutex.go:20
TypeAlias
Operator
pkg/entity/task.go:71
Interface
ParameterAction
ParameterAction means action has parameter
pkg/entity/run/action.go:29
Struct
ParseScheduleDagInsCompleted
ParseScheduleDagInsCompleted will raise when leader changed such as campaign success or continue leader failed
pkg/event/event.go:81
Interface
Parser
Parser used to execute command, init dag instance and push task instance
pkg/mod/mod_define.go:185
Struct
Payload
Payload header beat dto
keeper/mongo/mongo.go:289
TypeAlias
PersistPriority
PersistPriority
pkg/entity/run/run.go:155
TypeAlias
PreChecks
pkg/entity/task.go:44
Struct
PrintAction
examples/simple/main.go:15
Struct
PrintAction
examples/programming/main.go:18
Struct
PrintAction
examples/kube-statefulset/main.go:16
Interface
RetryBeforeAction
RetryBeforeAction execute before retry
pkg/entity/run/action.go:34
FuncType
RunFunc
RunFunc is task concrete action
pkg/entity/run/action.go:10
Struct
Selector
pkg/utils/data/selector.go:9
TypeAlias
SelectorOp
pkg/utils/data/selector.go:15
FuncType
Setter
func(v interface{})
pkg/utils/value/value.go:10
Struct
ShareData
ShareData can read/write within all tasks and will persist it if you want a high performance just within same task, you can use ExecuteContext's Conte
pkg/entity/dag.go:106
Interface
ShareDataOperator
ShareDataOperator used to operate share data
pkg/entity/run/run.go:50
Struct
SpecifiedVar
SpecifiedVar
pkg/entity/dag.go:33
Struct
StdoutLogger
default logger
pkg/log/logger.go:17
Interface
Store
Store used to persist obj
pkg/mod/mod_define.go:107
next →
1–100 of 135, ranked by callers