Skip to main content

render

Function render 

Source
pub fn render(template: &str, input: &RenderInput<'_>) -> Result<String>
Expand description

Substitute {{KEY}} placeholders. Fails loudly if any unsubstituted placeholder remains — better than silently shipping a broken cloud-init.