Module context

Module context 

Source
Expand description

Template context for Tera rendering

Provides structured context with vars, matrix, and otel namespaces for template variable access.

§Variable Resolution Precedence (PRD v1.0)

Variables are resolved with the following priority:

  1. Template vars (user-provided)
  2. Environment variables
  3. Default values

This enables flexible configuration without requiring environment variable prefixes.

Modules§

patterns
Convenience functions for common context patterns

Structs§

TemplateContext
Template context with vars, matrix, otel namespaces
TemplateContextBuilder
Fluent API for building template contexts