containers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Containers

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

Containers implements the containers page primitive.

func NewContainers

func NewContainers() *Containers

NewContainers returns containers page view.

func (*Containers) ClearData

func (cnt *Containers) ClearData()

ClearData clears table data.

func (*Containers) Draw

func (cnt *Containers) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Containers) Focus

func (cnt *Containers) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus.

func (*Containers) GetTitle

func (cnt *Containers) GetTitle() string

GetTitle returns primitive title.

func (*Containers) HasFocus

func (cnt *Containers) HasFocus() bool

HasFocus returns whether or not this primitive has focus.

func (*Containers) HideAllDialogs added in v0.3.0

func (cnt *Containers) HideAllDialogs()

HideAllDialogs hides all sub dialogs.

func (*Containers) InputHandler

func (cnt *Containers) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler returns the handler for this primitive.

func (*Containers) SetFastRefreshChannel added in v0.2.0

func (cnt *Containers) SetFastRefreshChannel(refresh chan bool)

SetFastRefreshChannel sets channel for fastRefresh func.

func (*Containers) SubDialogHasFocus added in v0.2.0

func (cnt *Containers) SubDialogHasFocus() bool

SubDialogHasFocus returns whether or not sub dialog primitive has focus.

func (*Containers) UpdateData

func (cnt *Containers) UpdateData()

UpdateData retrieves containers list data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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