ui

package
v0.0.0-...-211e212 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusDisplay

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

func NewStatusDisplay

func NewStatusDisplay(
	ctx context.Context,
	mon types.MonitorClient,
	sch types.SchedulerClient,
) *StatusDisplay

func (*StatusDisplay) Run

func (s *StatusDisplay) Run()

type Table

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

func NewTable

func NewTable(src TableDataSource) *Table

type TableDataSource

type TableDataSource interface {
	Title() string
	Headers() []string
	Data() (<-chan [][]string, <-chan map[int]termui.Style)
}

func NewAgentDataSource

func NewAgentDataSource(ctx context.Context, client types.MonitorClient) TableDataSource

func NewCacheDataSource

func NewCacheDataSource(ctx context.Context, client types.MonitorClient) TableDataSource

func NewConsumerdDataSource

func NewConsumerdDataSource(ctx context.Context, client types.MonitorClient) TableDataSource

func NewMonitorDataSource

func NewMonitorDataSource(ctx context.Context, client types.MonitorClient) TableDataSource

func NewSchedulerDataSource

func NewSchedulerDataSource(ctx context.Context, client types.MonitorClient) TableDataSource

type Tree

type Tree struct {
	*widgets.Tree
	// contains filtered or unexported fields
}

func NewTree

func NewTree(src TreeDataSource) *Tree

type TreeDataSource

type TreeDataSource interface {
	Title() string
	Data() <-chan []*widgets.TreeNode
}

func NewRoutesDataSource

func NewRoutesDataSource(ctx context.Context, client types.SchedulerClient) TreeDataSource

Jump to

Keyboard shortcuts

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