tui

package
v0.0.0-...-82e8024 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToClipboard

func CopyToClipboard(text string) error

CopyToClipboard pipes the panel content to clip.exe WSL.

func RenderVisual

func RenderVisual(tabs []*DashboardTab, githubToken string) error

RenderVisual loads the entire grid and componnents in the app. this is a blocking functions.

Types

type DashboardTab

type DashboardTab struct {
	URL       string
	Tab       string
	Dashboard *testgrid.Dashboard
	BoardURL  string
	BoardHash string
	Icon      string
	State     string
	Status    string

	Tests []*TabTest
}

func NewDashboardTab

func NewDashboardTab(URL string, tab string, dashboard *testgrid.Dashboard, table *testgrid.TestGroup, minFailure, minFlake int) *DashboardTab

func RenderFromSummary

func RenderFromSummary(tg *testgrid.TestGrid, summary *testgrid.Summary, failures []string, minFailure, minFlake int) (dashboardTabs []*DashboardTab)

type IssueTemplate

type IssueTemplate struct {
	BoardName    string
	TabName      string
	TestName     string
	FirstFailure string
	LastFailure  string
	TestGridURL  string
	TriageURL    string
	ProwURL      string
	ErrMessage   string
	Sig          string
}

type TabTest

type TabTest struct {
	Name            string
	FirstTimestamp  int64
	LatestTimestamp int64
	TriageURL       string
	ProwURL         string
	ErrMessage      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳