render-manifests

command
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

render-manifests is a generic Go template renderer. It walks --templates-dir for *.yaml.tmpl files, executes each with Go's text/template (plus the sprig function library), and writes the rendered output under --output-dir mirroring the source tree structure.

Template data is supplied via repeatable --set key=value flags. Missing keys evaluate to empty strings (text/template's missingkey=zero behaviour for map data), which lets templates rely on sprig's `default` function to supply documented fallbacks.

The actual rendering logic lives in the render sub-package so it can be invoked programmatically from tests.

Directories

Path Synopsis
Package render implements the manifest template renderer used by the render-manifests CLI.
Package render implements the manifest template renderer used by the render-manifests CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL