networks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 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 Networks

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

Networks implemnents the Networks page primitive.

func NewNetworks

func NewNetworks() *Networks

NewNetworks returns nets page view.

func (*Networks) ClearData

func (nets *Networks) ClearData()

ClearData clears table data.

func (*Networks) Draw

func (nets *Networks) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Networks) Focus

func (nets *Networks) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus.

func (*Networks) GetTitle

func (nets *Networks) GetTitle() string

GetTitle returns primitive title.

func (*Networks) HasFocus

func (nets *Networks) HasFocus() bool

HasFocus returns whether or not this primitive has focus.

func (*Networks) HideAllDialogs added in v0.3.0

func (nets *Networks) HideAllDialogs()

HideAllDialogs hides all sub dialogs.

func (*Networks) InputHandler

func (nets *Networks) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler returns the handler for this primitive.

func (*Networks) SubDialogHasFocus added in v0.2.0

func (nets *Networks) SubDialogHasFocus() bool

SubDialogHasFocus returns whether or not sub dialog primitive has focus.

func (*Networks) UpdateData

func (nets *Networks) UpdateData()

UpdateData retrieves networks list data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳