Documentation ¶
Index ¶
- type AppPage
- type Application
- func (app *Application) AddPage(panel ui.PanelController)
- func (app *Application) Focus(t tview.Primitive)
- func (app *Application) GetK8sClient() *k8s.Client
- func (app *Application) GetStopChan() <-chan struct{}
- func (app *Application) Refresh()
- func (app *Application) Run(ctx context.Context) error
- func (app *Application) ShowModal(view tview.Primitive)
- func (app *Application) ShowPanel(i int)
- func (app *Application) Stop() error
- func (app *Application) WelcomeBanner()
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) 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()
Click to show internal directories.
Click to hide internal directories.