application

package
v0.0.0-...-c3d4854 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppPage

type AppPage struct {
	Title string
	Panel ui.PanelController
}

type Application

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

func New

func New(k8sC *k8s.Client) *Application

func (*Application) AddPage

func (app *Application) AddPage(panel ui.PanelController)

func (*Application) Focus

func (app *Application) Focus(t tview.Primitive)

func (*Application) GetK8sClient

func (app *Application) GetK8sClient() *k8s.Client

func (*Application) GetStopChan

func (app *Application) GetStopChan() <-chan struct{}

func (*Application) Refresh

func (app *Application) Refresh()

func (*Application) Run

func (app *Application) Run(ctx context.Context) error

func (*Application) ShowModal

func (app *Application) ShowModal(view tview.Primitive)

func (*Application) ShowPanel

func (app *Application) ShowPanel(i int)

func (*Application) Stop

func (app *Application) Stop() error

func (*Application) WelcomeBanner

func (app *Application) WelcomeBanner()

Jump to

Keyboard shortcuts

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