report

package
v0.0.0-...-47a1ef5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePdfReport

func GeneratePdfReport(reportData ReportData, outputFile string) error

Types

type CellColor

type CellColor struct {
	R, G, B int
}

type Columns

type Columns []string

type Direction

type Direction int
const (
	Up Direction = iota
	Down
	Flat
)

type ReportDashboard

type ReportDashboard struct {
	Quality       ReportDashboardItem
	Quantity      ReportDashboardItem
	Speed         ReportDashboardItem
	UnplannedWork ReportDashboardItem

	SpeedAnomalies []SpeedAnomaly
}

type ReportDashboardItem

type ReportDashboardItem struct {
	BackgroundColor CellColor
	Chart           string
	InfoTable       Table
}

type ReportData

type ReportData struct {
	Dashboards map[string]ReportDashboard
}

type SpeedAnomaly

type SpeedAnomaly struct {
	IssueKey      string
	Size          int
	CompletedDate time.Time
	Link          string
}

type Table

type Table struct {
	Cols Columns
	Data TableData
}

type TableData

type TableData []map[string]string

Jump to

Keyboard shortcuts

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