Skip to content

Commit

Permalink
feat: add blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
anasmuhmd committed Oct 23, 2024
1 parent 237561f commit 65d8bdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ func (e *Engine) FileMap() map[string]*hcl.File {
return e.fileMap
}

func (e *Engine) Blocks() *parser.DefinedBlocks {
return e.blocks
}

func (e *Engine) Install(ctx context.Context, upgrade bool) (diags diagnostics.Diag) {
ctx, span := e.tracer.Start(ctx, "Engine.Install", trace.WithAttributes(
attribute.Bool("upgrade", upgrade),
Expand Down

0 comments on commit 65d8bdb

Please sign in to comment.