Pipeline.Context.Nested (PipelineEx v0.1.1)
View SourceContext management for nested pipeline execution.
Handles context creation, variable mapping, and output extraction for nested pipeline execution with support for context inheritance.
Summary
Functions
Create a nested context from parent context based on configuration.
Extract outputs from nested pipeline results based on configuration.
Resolve templates in a string using the provided context. This is made public so it can be used by other modules.
Functions
Create a nested context from parent context based on configuration.
Parameters
parent_context: The parent pipeline's execution contextstep_config: The nested pipeline step configuration
Returns
{:ok, nested_context}on success{:error, reason}on failure
Extract outputs from nested pipeline results based on configuration.
Parameters
results: The nested pipeline execution resultsoutput_config: Output extraction configuration
Returns
{:ok, extracted_outputs}on success{:error, reason}on failure
Resolve templates in a string using the provided context. This is made public so it can be used by other modules.