Expand description
Custom Tera functions for clnrm templates
Provides built-in functions for template rendering:
env(name)- Get environment variablenow_rfc3339()- Current timestamp (respects freeze_clock)sha256(s)- SHA-256 hex digesttoml_encode(value)- Encode as TOML literalfake_name()- Generate fake names for testing (test-only)fake_email()- Generate fake emails for testing (test-only)- 50+ fake data generators for testing
- Extended functions: UUIDs, collections, OTEL helpers, etc.
Modules§
- extended
- Extended template functions for comprehensive generator support
Traits§
- Timestamp
Provider - Trait for timestamp providers (for determinism support)
Functions§
- register_
functions - Register all custom functions with Tera