Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionDispatcher ¶
type ActionDispatcher interface {
Dispatch(req domain.ActionRequest) (domain.ActionResponse, error)
}
ActionDispatcher defines how side-effects are executed. The engine emits requests, and the host implements this interface to handle them.
type GraphLoader ¶
type GraphLoader interface {
// GetNode retrieves the raw definition of a node by ID.
// It returns the raw bytes (which the compiler will parse) or an error.
GetNode(id string) ([]byte, error)
// ListNodes returns a simplified list of all node IDs available in the graph.
// This is used for introspection and visualization tools (e.g. 'trellis graph').
ListNodes() ([]string, error)
}
GraphLoader defines how the engine retrieves node definitions. This allows the storage layer (Loam, FS, Memory) to be decoupled.
Click to show internal directories.
Click to hide internal directories.