dashboard

package
v0.0.0-...-fb044b6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dashboard

func Dashboard(client *clientpkg.Client) error

func GetListMinSize

func GetListMinSize(list *tview.List) (int, int)

func NewHeaderTableCell

func NewHeaderTableCell(text string) *tview.TableCell

func SetTableHeader

func SetTableHeader(table *tview.Table, headers ...string)

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(client *clientpkg.Client, frequency time.Duration) *Application

func (*Application) AddTableView

func (self *Application) AddTableView(name string, title string, key rune, withNamespace bool, updateTable UpdateTableFunc)

type Ticker

type Ticker struct {
	// contains filtered or unexported fields
}

func NewTicker

func NewTicker(application *tview.Application, frequency time.Duration, f func()) *Ticker

func (*Ticker) Start

func (self *Ticker) Start()

func (*Ticker) Stop

func (self *Ticker) Stop()

type UpdateTableFunc

type UpdateTableFunc func(*tview.Table, *tview.DropDown)

Jump to

Keyboard shortcuts

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