pub trait Pipeline: Send + Sync {
// Required method
fn run(&self, options: &PipelineOptions) -> Result<Workspace>;
}Expand description
Top-level pipeline trait.
Phase 9 lands DefaultPipeline wiring discovery → loader → projection
→ terragrunt → evaluator → graph → provider. Tests may swap in stubs
implementing this trait directly.
Required Methods§
Sourcefn run(&self, options: &PipelineOptions) -> Result<Workspace>
fn run(&self, options: &PipelineOptions) -> Result<Workspace>
Parse the workspace at options.root and return its IR.
§Errors
Returns a crate::Error if the workspace cannot be parsed at all
(root missing, fatal I/O error, resource limit exceeded). Non-fatal
problems are reported via Workspace::diagnostics.