tui

package
v3.0.0-rc67 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 46 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoFlags

func DoFlags() map[string]map[string][]string

DoFlags returns the flags the ":do" command offers, by kind of selection then by action, for the command tree of ox to be checked against: a user typing a flag in the TUI types the one the command line takes.

func Run

func Run(options *Options) error

Types

type App

type App struct {
	*monitor.Frame
	// contains filtered or unexported fields
}

func NewApp

func NewApp(options *Options) *App

func (*App) Run

func (t *App) Run() error

type AskInputData

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

type AtomicCloserSlice

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

func (*AtomicCloserSlice) Append

func (a *AtomicCloserSlice) Append(c io.Closer) bool

Append adds a closer to the slice thread-safely. It returns false, and does not take ownership of c, when CloseAll was called since the last Reset: the caller is expected to close c itself.

func (*AtomicCloserSlice) CloseAll

func (a *AtomicCloserSlice) CloseAll() error

CloseAll closes all closers in the slice thread-safely.

func (*AtomicCloserSlice) Get

func (a *AtomicCloserSlice) Get() []io.Closer

Get returns the slice thread-safely.

func (*AtomicCloserSlice) Len

func (a *AtomicCloserSlice) Len() int

Len returns the length of the slice thread-safely.

func (*AtomicCloserSlice) Reset

func (a *AtomicCloserSlice) Reset()

Reset re-arms the slice: Append accepts closers again.

type CreateTableOptions

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

type HbStatusFilter

type HbStatusFilter struct {
	Name     string
	NodeName string
}

type HeaderCell

type HeaderCell struct {
	Title           string
	Value           string
	TitleSelectable bool
	ValueSelectable bool
}

type HeaderObject

type HeaderObject struct {
	Left     HeaderCell
	Right    HeaderCell
	Populate func(row int)
}

type Options

type Options struct {
	Selector string
}

type PoolData

type PoolData struct {
	pool.Status
	Node string
}

type Position

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

Jump to

Keyboard shortcuts

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