Documentation
¶
Overview ¶
Package output renders a run's Result as terminal text, markdown (in the ops-report style: problems first, full table after) or JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JUnit ¶ added in v0.34.0
JUnit renders a run as a JUnit XML report: one testcase per finding, a <failure> for BAD, an <error> for ERROR, and a passing testcase (with a <system-out> note for WARN) otherwise. Suitable for a CI test tab.
func Prometheus ¶ added in v0.10.0
Prometheus renders a run in the Prometheus text exposition format.
One gauge per (check,target) carries the finding severity (0=OK,1=WARN,2=BAD,3=ERROR); if a (check,target) pair appears more than once the worst severity wins, so the series stays unique. Roll-up gauges expose the per-status counts, the overall worst, the run duration and its time.
Types ¶
This section is empty.