Documentation
¶
Overview ¶
Package render provides maturity-aware rendering for capability stacks.
Index ¶
- func BuildLayerOverlay(agg *dashboard.MaturityAggregator) caprender.OverlayProvider
- func BuildMaturityOverlay(agg *dashboard.MaturityAggregator) caprender.OverlayProvider
- func LitOptionsWithMaturity(baseOpts caprender.LitOptions, agg *dashboard.MaturityAggregator) caprender.LitOptions
- func RenderJSONWithMaturity(w io.Writer, doc *capstack.CapabilityStack, opts caprender.LitOptions, ...) error
- func RenderLitHTMLWithMaturity(w io.Writer, doc *capstack.CapabilityStack, opts caprender.LitOptions, ...) error
- func ToLitGridDataWithMaturity(doc *capstack.CapabilityStack, opts caprender.LitOptions, ...) *caprender.LitGridData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildLayerOverlay ¶
func BuildLayerOverlay(agg *dashboard.MaturityAggregator) caprender.OverlayProvider
BuildLayerOverlay creates an OverlayProvider for layer-level maturity. This is useful when rendering layer summaries rather than individual capabilities.
func BuildMaturityOverlay ¶
func BuildMaturityOverlay(agg *dashboard.MaturityAggregator) caprender.OverlayProvider
BuildMaturityOverlay creates an OverlayProvider from maturity aggregation data. This allows capability stack renderers to display maturity levels as badges.
func LitOptionsWithMaturity ¶ added in v0.11.0
func LitOptionsWithMaturity(baseOpts caprender.LitOptions, agg *dashboard.MaturityAggregator) caprender.LitOptions
LitOptionsWithMaturity creates LitOptions with maturity overlay data.
func RenderJSONWithMaturity ¶ added in v0.11.0
func RenderJSONWithMaturity(w io.Writer, doc *capstack.CapabilityStack, opts caprender.LitOptions, agg *dashboard.MaturityAggregator) error
RenderJSONWithMaturity renders a capability stack with maturity data as JSON.
func RenderLitHTMLWithMaturity ¶ added in v0.11.0
func RenderLitHTMLWithMaturity(w io.Writer, doc *capstack.CapabilityStack, opts caprender.LitOptions, agg *dashboard.MaturityAggregator) error
RenderLitHTMLWithMaturity renders a capability stack with maturity data to a Lit HTML page.
func ToLitGridDataWithMaturity ¶ added in v0.11.0
func ToLitGridDataWithMaturity(doc *capstack.CapabilityStack, opts caprender.LitOptions, agg *dashboard.MaturityAggregator) *caprender.LitGridData
ToLitGridDataWithMaturity converts a CapabilityStack to LitGridData with maturity overlay.
Types ¶
This section is empty.