Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine is the high-level entry point for the Trellis library. It wraps the internal runtime and provides a simplified API for consumers.
func New ¶
New initializes a new Trellis Engine backed by a Loam repository at the given path. It sets up the necessary adapters and loads the content.
func (*Engine) Inspect ¶
Inspect returns the full graph definition for visualization or introspection tools.
type Option ¶
type Option func(*Engine)
Option defines a functional option for configuring the Engine.
func WithConditionEvaluator ¶
func WithConditionEvaluator(eval runtime.ConditionEvaluator) Option
WithConditionEvaluator sets a custom logic evaluator for the engine.
type Runner ¶
Runner handles the execution loop of the Trellis engine using provided IO. This allows for easy testing and integration with different frontends (CLI, TUI, etc).