Documentation ¶
Index ¶
- func PrintYamlPlotter(er *ExecutionResult, v common.Verbosity) error
- type Engine
- type ExecutionNode
- type ExecutionPlan
- type ExecutionPlanner
- type ExecutionResult
- func (er *ExecutionResult) AddGroup(groupId string, group *ResultGroup)
- func (er *ExecutionResult) AddRootGroup(groupId string, group *ResultGroup)
- func (er *ExecutionResult) GetChildGroups(item *ResultItem) []*ResultGroup
- func (er *ExecutionResult) GetRootGroups() []*ResultGroup
- func (er *ExecutionResult) LinkItemToGroup(sourceItemId, targetGroupId string)
- type ExecutionRunner
- type ExecutionTask
- type ExecutionTaskResult
- type Link
- type Plotter
- type ResultGroup
- type ResultItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintYamlPlotter ¶
func PrintYamlPlotter(er *ExecutionResult, v common.Verbosity) error
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(tl topology.TopologyLoader, p ExecutionPlanner, r ExecutionRunner, pl Plotter) *Engine
type ExecutionNode ¶
type ExecutionPlan ¶
type ExecutionPlan struct {
// contains filtered or unexported fields
}
func DefaultExecutionPlanner ¶
func (*ExecutionPlan) GetLinks ¶
func (ep *ExecutionPlan) GetLinks(sourceNode *ExecutionNode) ([]Link, error)
type ExecutionPlanner ¶
type ExecutionResult ¶
type ExecutionResult struct {
// contains filtered or unexported fields
}
todo extract interface
func ParallelExecutionRunner ¶
func ParallelExecutionRunner(ep *ExecutionPlan) *ExecutionResult
func (*ExecutionResult) AddGroup ¶
func (er *ExecutionResult) AddGroup(groupId string, group *ResultGroup)
func (*ExecutionResult) AddRootGroup ¶
func (er *ExecutionResult) AddRootGroup(groupId string, group *ResultGroup)
func (*ExecutionResult) GetChildGroups ¶
func (er *ExecutionResult) GetChildGroups(item *ResultItem) []*ResultGroup
func (*ExecutionResult) GetRootGroups ¶
func (er *ExecutionResult) GetRootGroups() []*ResultGroup
func (*ExecutionResult) LinkItemToGroup ¶
func (er *ExecutionResult) LinkItemToGroup(sourceItemId, targetGroupId string)
type ExecutionRunner ¶
type ExecutionRunner func(*ExecutionPlan) *ExecutionResult
type ExecutionTask ¶
type ExecutionTaskResult ¶
type ExecutionTaskResult struct { Id string Task *ExecutionTask Items []*reader.Item Err error }
type Link ¶
type Link struct { SourceNode *ExecutionNode TargetNode *ExecutionNode SourceAttr string TargetAttr string }
type ResultGroup ¶
type ResultGroup struct { Type topology.NamespacedType Items []*ResultItem LinkConditions []reader.Condition LinkError error }
Click to show internal directories.
Click to hide internal directories.