Module data_flow

Module data_flow 

Source
Expand description

{{var}} interpolation — Mustache-style. Resolves {{block_id.path}}, {{var.name}}, {{env.NAME}} against the execution context (RFC #753 §2 Q5).

The Phase 1 resolver is intentionally simple: regex find-replace over the input string. Loop scope ({{loop.index}}, {{loop.item}}) is added in Phase 2 alongside the Loop block.

Structs§

ExecutionScope
Holds the per-run scope. Maps:

Constants§

DRONE_ENV_PREFIX 🔒
Only env vars starting with this prefix are exposed to drone templates via {{env.NAME}}. See ExecutionScope::lookup for the security rationale.

Functions§

find_close 🔒
value_to_string 🔒
walk 🔒