Help us shape the future of Go! Take the 2026 Go Developer Survey

reportgeneration

package
v1.321.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package reportgeneration prepares presentation data and PDFs for stored FCAF reports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachPresentation

func AttachPresentation(app core.App, record *core.Record, report *engine.Report)

AttachPresentation builds presentation data using the screenshots stored on record.

func EnrichReportJSON

func EnrichReportJSON(
	app core.App,
	record *core.Record,
	rawJSON []byte,
) ([]byte, *engine.Report, error)

EnrichReportJSON attaches presentation and FCAF source links while preserving unknown JSON fields.

func GeneratePipelineFCAFReportPDF

func GeneratePipelineFCAFReportPDF(
	ctx context.Context,
	app core.App,
	record *core.Record,
	rawJSON []byte,
) ([]byte, error)

GeneratePipelineFCAFReportPDF renders an FCAF report PDF for a pipeline result.

func LoadPipelineFCAFReportImages

func LoadPipelineFCAFReportImages(
	app core.App,
	record *core.Record,
	report engine.Report,
) ([]reportpdf.ImageAsset, []string, error)

LoadPipelineFCAFReportImages loads report screenshots stored on a pipeline result.

func RefreshScoreboardLatestExecutionArtifacts

func RefreshScoreboardLatestExecutionArtifacts(app core.App, pipelineResultID string) (int, error)

RefreshScoreboardLatestExecutionArtifacts rewrites scoreboard cache artifact URLs after an in-place FCAF report file replacement.

Types

This section is empty.

Jump to

Keyboard shortcuts

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