pods

package
v1.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pods

type Pods struct {
	*tview.Box
	// contains filtered or unexported fields
}

Pods implemnents the pods page primitive.

func NewPods

func NewPods() *Pods

NewPods returns pods page view.

func (*Pods) ClearData

func (pods *Pods) ClearData()

ClearData clears table data.

func (*Pods) Draw

func (pods *Pods) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Pods) Focus

func (pods *Pods) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus.

func (*Pods) GetTitle

func (pods *Pods) GetTitle() string

GetTitle returns primitive title.

func (*Pods) HasFocus

func (pods *Pods) HasFocus() bool

HasFocus returns whether or not this primitive has focus.

func (*Pods) HideAllDialogs added in v0.3.0

func (pods *Pods) HideAllDialogs()

HideAllDialogs hides all sub dialogs.

func (*Pods) InputHandler

func (pods *Pods) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler returns the handler for this primitive.

func (*Pods) SubDialogHasFocus added in v0.2.0

func (pods *Pods) SubDialogHasFocus() bool

SubDialogHasFocus returns whether or not sub dialog primitive has focus.

func (*Pods) UpdateData

func (pods *Pods) UpdateData()

UpdateData retrieves pods list data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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