renderer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(plan *types.BuildPlan, outputDir string, opts Options) error

Render writes the generated artifacts to outputDir. All templates are rendered in memory first; nothing is written if any render fails. Existing files are preserved unless opts.Force is true.

Types

type Options

type Options struct {
	// Force overwrites existing output files. Without this, Render fails
	// if any target file already exists, to avoid clobbering hand-edited
	// Dockerfiles.
	Force bool
}

Options controls how Render behaves.

Jump to

Keyboard shortcuts

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