Documentation ¶
Index ¶
- func InitRegistry(ds IDataStore)
- func Name(strucc interface{}) string
- func RegisterWorkflow(workflowKey string, workflow IWorkflow) error
- type BuilderContext
- type BuilderInfo
- type BuilderMeta
- type DataExecutionResponse
- type DataFlow
- type DataSet
- type Executor
- type IBuilder
- type IData
- type IDataStore
- type IWorkflow
- type MetaDataManager
- type WorkflowMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRegistry ¶
func InitRegistry(ds IDataStore)
func RegisterWorkflow ¶
Types ¶
type BuilderContext ¶
type BuilderContext struct {
DataSet DataSet
}
type BuilderInfo ¶
type BuilderMeta ¶
type BuilderMeta struct { Consumes mapset.Set[string] Optionals mapset.Set[string] Accesses mapset.Set[string] Produces string Name string Rank int Type reflect.Type }
func (*BuilderMeta) EffectiveConsumes ¶
func (meta *BuilderMeta) EffectiveConsumes() mapset.Set[string]
type DataExecutionResponse ¶
type DataFlow ¶
type DataFlow struct { Name string TargetData string DependencyHierarchy [][]BuilderMeta // contains filtered or unexported fields }
type Executor ¶
type Executor struct { Before func(builder reflect.Type, delta []IData) // TODO: add trigger delta After func(builder reflect.Type, produced IData) }
func (*Executor) Parallel ¶
func (e *Executor) Parallel(workflowKey string, workflowId string, data ...IData) (DataExecutionResponse, error)
* This is experimental and severely untested. Use with caution.
func (*Executor) Sequential ¶
type IBuilder ¶
type IBuilder interface { GetBuilderInfo() BuilderInfo Process(BuilderContext) IData }
type IDataStore ¶
type IWorkflow ¶
type IWorkflow interface {
GetWorkflowMeta() WorkflowMeta
}
type MetaDataManager ¶
type MetaDataManager struct {
// contains filtered or unexported fields
}
type WorkflowMeta ¶
Click to show internal directories.
Click to hide internal directories.