Documentation
¶
Overview ¶
Package execreport provides the Executive Healthcheck data type and HTML rendering for use across CLIs that surface team health metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecHealthcheckHTML ¶
func ExecHealthcheckHTML(h ExecHealthcheck) (template.HTML, error)
ExecHealthcheckHTML returns a self-contained HTML fragment for the Executive Healthcheck section.
func WriteHealthcheckPage ¶
func WriteHealthcheckPage(hcs []ExecHealthcheck, path string) error
WriteHealthcheckPage renders a standalone HTML page containing one healthcheck widget per entry in hcs and writes it to path.
Types ¶
type ExecHealthcheck ¶
type ExecHealthcheck struct {
Team string
AvgCycleTime string
AvgThroughput string
ActiveEpics int
HasJIRAData bool
AvgDeployFreq string
LastWeekDeploys int
HasDeployData bool
HideDeployFreq bool // omits the Deploy Frequency widget entirely when true
Critical int
FixableCritical int
ExploitableCritical int
High int
FixableHigh int
ExploitableHigh int
HasSnykData bool
Weeks int
CycleTimeTrend string // "up", "down", "flat", or "" (no data)
ThroughputTrend string
DeployFreqTrend string
}
ExecHealthcheck holds the data for the Executive Healthcheck section.
Click to show internal directories.
Click to hide internal directories.