render

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package render turns a (possibly fit-reduced) model.Report into the final markdown document. It is pure and deterministic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerStack added in v0.6.0

func PerStack(r model.Report) map[string]string

PerStack renders each changed stack's detail section independently, keyed by stack name — useful for storing/serving one stack's plan in isolation. The section is identical to what renderDetails emits for that stack.

func Render

func Render(r model.Report) string

Render produces the full markdown document for r (header + summary table + details).

func RenderNoTable added in v0.15.0

func RenderNoTable(r model.Report) string

RenderNoTable renders r WITHOUT the summary table (header + per-stack change trees only). Used for the server-stored report shown in the check-run details and the live-viewer report section, where a live per-stack table already covers the overview. The full Render (with table) stays for stdout / PR-comment output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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