Documentation
¶
Overview ¶
Package engine provides the pluggable IaC engine for Terragrunt.
Index ¶
- Constants
- Variables
- func ConvertMetaToProtobuf(meta map[string]any) (map[string]*anypb.Any, error)
- func DownloadEngine(ctx context.Context, l log.Logger, opts *options.TerragruntOptions) error
- func ReadEngineOutput(runOptions *ExecutionOptions, forceStdErr bool, output outputFn) error
- func Run(ctx context.Context, l log.Logger, runOptions *ExecutionOptions) (*util.CmdOutput, error)
- func Shutdown(ctx context.Context, l log.Logger, opts *options.TerragruntOptions) error
- func WithEngineValues(ctx context.Context) context.Context
- type ExecutionOptions
- type OutputLine
Constants ¶
View Source
const PublicKey = `` /* 2431-byte string literal not displayed */
Variables ¶
View Source
var ErrEngineInitFailed = errors.New("engine init failed")
View Source
var ErrEngineShutdownFailed = errors.New("engine shutdown failed")
Functions ¶
func ConvertMetaToProtobuf ¶
ConvertMetaToProtobuf converts metadata map to protobuf map
func DownloadEngine ¶
DownloadEngine downloads the engine for the given options.
func ReadEngineOutput ¶
func ReadEngineOutput(runOptions *ExecutionOptions, forceStdErr bool, output outputFn) error
ReadEngineOutput reads the output from the engine, since grpc plugins don't have common type, use lambda function to read bytes from the stream
func Run ¶
func Run( ctx context.Context, l log.Logger, runOptions *ExecutionOptions, ) (*util.CmdOutput, error)
Run executes the given command with the experimental engine.
Types ¶
type ExecutionOptions ¶
type OutputLine ¶
OutputLine represents the output from the engine
Click to show internal directories.
Click to hide internal directories.