ui

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	QueueUpdateDraw(f func()) *tview.Application
}

type LogViewer

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

func (*LogViewer) ToggleWrap

func (v *LogViewer) ToggleWrap()

type Table

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

func NewTable

func NewTable(source dataSource) *Table

func (*Table) Update

func (t *Table) Update()

type UI

type UI struct {
	Root *tview.Grid

	LogViewer *LogViewer
	// contains filtered or unexported fields
}

func New

func New(list *pipeline.Queue, cfg pipeline.Configuration) *UI

func (*UI) Run

func (u *UI) Run(ctx context.Context, app Application, interval time.Duration)

type Update

type Update struct {
	Title  string
	Rows   [][]*tview.TableCell
	Reload bool
}

Jump to

Keyboard shortcuts

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