Help us shape the future of Go! Take the 2026 Go Developer Survey

template

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*tview.Application
	// contains filtered or unexported fields
}

App represents main application struct.

func NewApp

func NewApp(title string, client http.RoundTripper, kubeURL string) *App

func (*App) Run

func (a *App) Run(ctx context.Context) error

func (*App) TopLevelInputHandler

func (a *App) TopLevelInputHandler(event *tcell.EventKey, setFocus func(p tview.Primitive)) bool

type Cmd

type Cmd struct {
}

func (*Cmd) BeforeApply

func (c *Cmd) BeforeApply() error

BeforeApply sets default values for the delete command, before assignment and validation.

func (*Cmd) Help

func (c *Cmd) Help() string

func (*Cmd) Run

func (c *Cmd) Run(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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