printer

package
v0.0.0-...-139d2d7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TablePrinter

type TablePrinter struct{}

TablePrinter wraps the printout for models as table.

func NewTablePrinter

func NewTablePrinter() *TablePrinter

NewTablePrinter creates and returns a new table printer struct.

func (*TablePrinter) PrintPullRequest

func (t *TablePrinter) PrintPullRequest(pullRequests []domain.PullRequest)

PrintPullRequest prints pull requests as table.

func (*TablePrinter) PrintPullRequestFlowRatio

func (t *TablePrinter) PrintPullRequestFlowRatio(flowRatioData map[string]*domain.PullRequestFlowRatio)

PrintPullRequestFlowRatio prints pull request flow ratio details as table.

func (*TablePrinter) PrintPullRequestMetrics

func (t *TablePrinter) PrintPullRequestMetrics(pullRequests domain.PullRequestMetrics)

PrintPullRequestMetrics prints pull request related metrics as table.

func (*TablePrinter) PrintReleaseReport

func (t *TablePrinter) PrintReleaseReport(releaseReport domain.ReleaseReport, captionText string)

PrintReleaseReport prints release report details as table.

func (*TablePrinter) PrintRepos

func (t *TablePrinter) PrintRepos(repos []domain.Repository)

PrintRepos prints repositories as table.

func (*TablePrinter) PrintWorkflowCosts

func (t *TablePrinter) PrintWorkflowCosts(workflowBilling []domain.WorkflowBilling)

PrintWorkflowCosts prints cost details of workflows.

Jump to

Keyboard shortcuts

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