Documentation ¶
Index ¶
- type Containers
- func (cnt *Containers) ClearData()
- func (cnt *Containers) Draw(screen tcell.Screen)
- func (cnt *Containers) Focus(delegate func(p tview.Primitive))
- func (cnt *Containers) GetTitle() string
- func (cnt *Containers) HasFocus() bool
- func (cnt *Containers) HideAllDialogs()
- func (cnt *Containers) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (cnt *Containers) SetFastRefreshChannel(refresh chan bool)
- func (cnt *Containers) SubDialogHasFocus() bool
- func (cnt *Containers) UpdateData()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Containers ¶
Containers implements the containers page primitive.
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.
Click to show internal directories.
Click to hide internal directories.