Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledMapping ¶
CompiledMapping is a structurally resolved binding mapping: the planner resolves a mapping's authored source into a canonical ValueRef, and the scheduler reads the referenced value out of the transition environment at execution time. Mappings are never evaluated as programs.
type CompiledValidation ¶
type ExecutionBlueprint ¶
type ExecutionBlueprint struct {
Metadata shared.Metadata
Nodes map[shared.ID]ExecutionNode
EntryCapabilityIDs []shared.ID
// Detached holds the execution scope each detached capability owns,
// compiled once when the assembly was compiled.
//
// Detach is a lifecycle boundary, not a severed dependency: the detached
// capability keeps its bindings, contracts, and failure semantics, but the
// work it and everything downstream of it represents is handed to a
// separately tracked execution that may outlive its caller. Compiling those
// scopes here means splitting an execution costs no graph work at runtime
// and the registered assembly is never modified.
//
// Keys are detached capability IDs; each scope's entry capability is the key
// itself. Nesting is expressed by a scope's own Detached map, so a detached
// capability inside another detached scope owns a further scope of its own.
Detached map[shared.ID]*ExecutionBlueprint
}
ExecutionBlueprint is the compiled, reusable representation of a Assembly. It is an in-memory runtime object and should not be serialized directly.
type ExecutionNode ¶
type ExecutionNode struct {
Capability shared.Capability
// Configurations is compiled once during Assembly compilation and resolved
// for each Capability execution.
Configurations resolver.ConfigurationProgram
Next []ExecutionTransition
}
type ExecutionTransition ¶
type ExecutionTransition struct {
BindingID shared.ID
TargetCapabilityID shared.ID
Mappings []CompiledMapping
Validations []CompiledValidation
}
Click to show internal directories.
Click to hide internal directories.