execreport

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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