printer

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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DateCreated   = "Date Created"
	DateCompleted = "Date Completed"
	Link          = "Link"
	Size          = "Size"
)

Variables

View Source
var (
	EscapedDefectsColumns = []string{DateCreated, Link}
	QuantityColumns       = []string{DateCompleted, Link}
	SpeedColumns          = []string{DateCompleted, Size, Link}
	UnplannedWorkColumns  = []string{DateCompleted, Link}
)

Functions

This section is empty.

Types

type CommandLinePrinter

type CommandLinePrinter struct{}

func NewCommandLinePrinter

func NewCommandLinePrinter() *CommandLinePrinter

func (*CommandLinePrinter) Print

func (c *CommandLinePrinter) Print(reports Reports) error

type PdfReportPrinter

type PdfReportPrinter struct {
	CycleTimeChart      string
	ThroughputChart     string
	EscapedDefectsChart string
	UnplannedWorkChart  string
	JiraProject         string
}

func NewPdfReportPrinter

func NewPdfReportPrinter(cycleTimeChart string, throughputChart string, escapedDefectsChart string, unplannedWorkChart string, project string) *PdfReportPrinter

func (*PdfReportPrinter) Print

func (p *PdfReportPrinter) Print(reports Reports) error

type PlotPrinter

type PlotPrinter struct {
	OutputDirectory string
	JiraProject     string
}

func NewPlotPrinter

func NewPlotPrinter(outputDirectory string, project string) *PlotPrinter

func (*PlotPrinter) GetCycleTimeChartLocation

func (pp *PlotPrinter) GetCycleTimeChartLocation() string

func (*PlotPrinter) GetEscapedDefectsChartLocation

func (pp *PlotPrinter) GetEscapedDefectsChartLocation() string

func (*PlotPrinter) GetThroughputChartLocation

func (pp *PlotPrinter) GetThroughputChartLocation() string

func (*PlotPrinter) GetUnplannedWorkChartLocation

func (pp *PlotPrinter) GetUnplannedWorkChartLocation() string

func (*PlotPrinter) Print

func (pp *PlotPrinter) Print(reports Reports) error

type Printer

type Printer interface {
	Print(reports Reports) error
}

type Reports

type Reports struct {
	EscapedDefects       models.EscapedDefectReport
	CycleTimeReports     models.CycleTimeReport
	ThroughputReports    models.ThroughputReport
	UnplannedWorkReports models.UnplannedWorkReport
}

Jump to

Keyboard shortcuts

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