volumes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.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 Volumes

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

Volumes implemnents the volumes page primitive

func NewVolumes

func NewVolumes() *Volumes

NewVolumes returns new vols page view

func (*Volumes) ClearData

func (vols *Volumes) ClearData()

ClearData clears table data

func (*Volumes) Draw

func (vols *Volumes) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Volumes) Focus

func (vols *Volumes) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus

func (*Volumes) GetTitle

func (vols *Volumes) GetTitle() string

GetTitle returns primitive title

func (*Volumes) HasFocus

func (vols *Volumes) HasFocus() bool

HasFocus returns whether or not this primitive has focus

func (*Volumes) HideAllDialogs added in v0.3.0

func (vols *Volumes) HideAllDialogs()

HideAllDialogs hides all sub dialogs

func (*Volumes) InputHandler

func (vols *Volumes) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler returns the handler for this primitive.

func (*Volumes) SubDialogHasFocus added in v0.2.0

func (vols *Volumes) SubDialogHasFocus() bool

SubDialogHasFocus returns whether or not sub dialog primitive has focus

func (*Volumes) UpdateData

func (vols *Volumes) 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