components

package
v0.15.10-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentContext

type AgentContext struct {
	OrganizationName       string
	EnvironmentName        string
	LastUsedTracingBackend string
}

type AgentMetrics

type AgentMetrics struct {
	Uptime   time.Duration
	TestRuns int64
	Traces   int64
	Spans    int64
}

type BannerMessage

type BannerMessage struct {
	Text string
	Type string
}
type Header struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewHeader

func NewHeader(renderScheduler RenderScheduler, sensor sensors.Sensor) *Header

type HeaderData

type HeaderData struct {
	Context AgentContext
	Metrics AgentMetrics
	Message BannerMessage
}

type MessageBanner

type MessageBanner struct {
	*tview.TextView
	// contains filtered or unexported fields
}

func NewMessageBanner

func NewMessageBanner(renderScheduler RenderScheduler) *MessageBanner

func (*MessageBanner) SetMessage

func (b *MessageBanner) SetMessage(text string, messageType events.MessageType)

type RenderScheduler

type RenderScheduler interface {
	Render(f func())
}

func NewRenderScheduler

func NewRenderScheduler(app *tview.Application) RenderScheduler

type TestRunList

type TestRunList struct {
	*tview.Table
	// contains filtered or unexported fields
}

func NewTestRunList

func NewTestRunList(renderScheduler RenderScheduler, sensor sensors.Sensor) *TestRunList

func (*TestRunList) SetTestRuns

func (l *TestRunList) SetTestRuns(runs []models.TestRun)

Jump to

Keyboard shortcuts

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