Documentation ¶
Index ¶
- Constants
- func ConvertMetaToProtobuf(meta map[string]interface{}) (map[string]*anypb.Any, error)
- func DownloadEngine(ctx context.Context, opts *options.TerragruntOptions) error
- func IsEngineEnabled() bool
- func ReadEngineOutput(runOptions *ExecutionOptions, output outputFn) error
- func Run(ctx context.Context, runOptions *ExecutionOptions) (*util.CmdOutput, error)
- func Shutdown(ctx context.Context) error
- func WithEngineValues(ctx context.Context) context.Context
- type ExecutionOptions
- type OutputLine
Constants ¶
View Source
const ( EnableExperimentalEngineEnvName = "TG_EXPERIMENTAL_ENGINE" DefaultCacheDir = ".cache" EngineCacheDir = "terragrunt/plugins/iac-engine" PrefixTrim = "terragrunt-" FileNameFormat = "terragrunt-iac-%s_%s_%s_%s_%s" ChecksumFileNameFormat = "terragrunt-iac-%s_%s_%s_SHA256SUMS" EngineCachePathEnv = "TG_ENGINE_CACHE_PATH" EngineSkipCheckEnv = "TG_ENGINE_SKIP_CHECK" TerraformCommandContextKey engineClientsKey = iota LocksContextKey engineLocksKey = iota )
View Source
const PublicKey = `` /* 2431-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func ConvertMetaToProtobuf ¶ added in v0.66.7
convert metadata map to protobuf map
func DownloadEngine ¶ added in v0.63.5
func DownloadEngine(ctx context.Context, opts *options.TerragruntOptions) error
DownloadEngine downloads the engine for the given options.
func IsEngineEnabled ¶
func IsEngineEnabled() bool
IsEngineEnabled returns true if the experimental engine is enabled.
func ReadEngineOutput ¶ added in v0.66.7
func ReadEngineOutput(runOptions *ExecutionOptions, 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
Types ¶
type ExecutionOptions ¶
type OutputLine ¶ added in v0.66.7
common engine output
Click to show internal directories.
Click to hide internal directories.