Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
func Resolve(manager specs.FlowInterface, dependencies specs.Dependencies, id string, unresolved Unresolved) error
Resolve resolves the given call dependencies and attempts to detect any circular dependencies
func ResolveFlows ¶
func ResolveFlows(ctx *broker.Context, flows specs.FlowListInterface) error
ResolveFlows resolves all dependencies inside the given manifest
Types ¶
type ErrCircularDependency ¶
type ErrCircularDependency struct {
Flow, From, To string
}
ErrCircularDependency is returned when circular dependency is detected.
func (ErrCircularDependency) Error ¶
func (e ErrCircularDependency) Error() string
type Unresolved ¶
type Unresolved map[string]struct{}
Unresolved represents a collection of unresolved references
Click to show internal directories.
Click to hide internal directories.