Documentation
¶
Overview ¶
Package view renders saved run reports without changing their data.
Index ¶
- func Bundle(output io.Writer, history *report.History, id string) error
- func BundleData(output io.Writer, data []byte, id, base string) error
- func Export(output io.Writer, path string, data []byte, id string) error
- func Handler(history *report.History) http.Handler
- func Render(output io.Writer, data []byte, id string) error
- func RenderCapture(output io.Writer, data []byte, id, base string, query url.Values) error
- func RenderComparison(output io.Writer, result *compare.Result, base string, query url.Values, ...) error
- func WriteCaptureFile(path string, data []byte, id, base string) (err error)
- func WriteFile(path string, data []byte, id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleData ¶
BundleData creates portable report JSON, HTML, and complete recording streams.
func Render ¶
Render writes self-contained HTML with static charts and optional enhancement. Original JSON remains available without decoding and re-encoding workload-owned or unknown fields.
func RenderCapture ¶
RenderCapture includes bounded recording views while retaining complete artifact references.
func RenderComparison ¶
func RenderComparison(output io.Writer, result *compare.Result, base string, query url.Values, served bool) error
RenderComparison uses the common calculation result for served and offline HTML.
func WriteCaptureFile ¶
WriteCaptureFile resolves sidecar streams against their report directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.