1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Typed pipeline parameters — the `params:` block and the `${param.NAME}`
//! interpolation namespace (#444).
//!
//! A config declares the values that change per run:
//!
//! ```yaml
//! version: 1
//! params:
//! tenant_id: { type: string, required: true, description: "Tenant to sync" }
//! since: { default: "1970-01-01" }
//! api_token: { required: true, secret: true }
//! pipeline:
//! source:
//! type: rest
//! config:
//! url: "https://api.example.com/${param.tenant_id}/events?since=${param.since}"
//! auth: { type: bearer, config: { token: "${param.api_token}" } }
//! ```
//!
//! and every runtime supplies them the same way:
//!
//! - `faucet run --param tenant_id=acme` / `faucet validate` (placeholders),
//! - `faucet template run <id> --param tenant_id=acme`,
//! - `POST /v1/templates/{id}/runs` with `{"params": {...}, "env": {...}}`.
//!
//! [`spec`] is the declaration grammar + coercion; [`bind`] is the pre-parse
//! substitution pass. The persistent registry that stores parameterized configs
//! server-side lives in [`crate::templates`] (the `templates` build feature).
pub use ;
pub use ;