Documentation ¶
Index ¶
- Constants
- type EnvView
- type Gui
- func (g *Gui) CloseAndSwitchPanel(removePrimitive string, primitive tview.Primitive)
- func (g *Gui) Confirm(message, doneLabel string, primitive tview.Primitive, doneFunc func())
- func (g *Gui) CurrentPanelKind() int
- func (g *Gui) FilterInputKeybinds()
- func (g *Gui) GlobalKeybind(event *tcell.EventKey)
- func (g *Gui) Modal(p tview.Primitive, width, height int) tview.Primitive
- func (g *Gui) ProcessEnvViewKeybinds()
- func (g *Gui) ProcessFileViewKeybinds()
- func (g *Gui) ProcessInfoViewKeybinds()
- func (g *Gui) ProcessManagerKeybinds()
- func (g *Gui) ProcessTreeViewKeybinds()
- func (g *Gui) Run() error
- func (g *Gui) SetKeybinds()
- func (g *Gui) SwitchPanel(p tview.Primitive) *tview.Application
- func (g *Gui) UpdateViews(pid proc.PID)
- type NaviView
- type Panels
- type ProcessFileView
- type ProcessInfoView
- type ProcessManager
- type ProcessNode
- type ProcessTreeView
Constants ¶
View Source
const ( InputPanel int = iota + 1 ProcessesPanel ProcessInfoPanel ProcessEnvPanel ProcessTreePanel ProcessFilePanel )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvView ¶
func NewEnvView ¶
func NewEnvView() *EnvView
type Gui ¶
type Gui struct { FilterInput *tview.InputField ProcessManager *ProcessManager ProcessInfoView *ProcessInfoView ProcessTreeView *ProcessTreeView ProcessEnvView *EnvView ProcessFileView *ProcessFileView App *tview.Application Pages *tview.Pages Panels // contains filtered or unexported fields }
func (*Gui) CloseAndSwitchPanel ¶
func (*Gui) CurrentPanelKind ¶
func (*Gui) FilterInputKeybinds ¶
func (g *Gui) FilterInputKeybinds()
func (*Gui) GlobalKeybind ¶
func (*Gui) ProcessEnvViewKeybinds ¶
func (g *Gui) ProcessEnvViewKeybinds()
func (*Gui) ProcessFileViewKeybinds ¶
func (g *Gui) ProcessFileViewKeybinds()
func (*Gui) ProcessInfoViewKeybinds ¶
func (g *Gui) ProcessInfoViewKeybinds()
func (*Gui) ProcessManagerKeybinds ¶
func (g *Gui) ProcessManagerKeybinds()
func (*Gui) ProcessTreeViewKeybinds ¶
func (g *Gui) ProcessTreeViewKeybinds()
func (*Gui) SetKeybinds ¶
func (g *Gui) SetKeybinds()
func (*Gui) SwitchPanel ¶
func (g *Gui) SwitchPanel(p tview.Primitive) *tview.Application
func (*Gui) UpdateViews ¶
type NaviView ¶
type NaviView struct {
}func NewNaviView ¶
func NewNaviView() *NaviView
func (*NaviView) UpdateView ¶
type ProcessFileView ¶
func NewProcessFileView ¶
func NewProcessFileView() *ProcessFileView
func (*ProcessFileView) UpdateViewWithPid ¶
func (p *ProcessFileView) UpdateViewWithPid(g *Gui, pid proc.PID)
type ProcessInfoView ¶
func NewProcessInfoView ¶
func NewProcessInfoView() *ProcessInfoView
func (*ProcessInfoView) UpdateInfoWithPid ¶
func (p *ProcessInfoView) UpdateInfoWithPid(g *Gui, pid proc.PID)
type ProcessManager ¶
type ProcessManager struct { *tview.Table FilterWord string // contains filtered or unexported fields }
func NewProcessManager ¶
func NewProcessManager() *ProcessManager
func (*ProcessManager) GetProcess ¶
func (p *ProcessManager) GetProcess(pid proc.PID) *proc.Process
func (*ProcessManager) GetProcesses ¶
func (*ProcessManager) Selected ¶
func (p *ProcessManager) Selected() *proc.Process
func (*ProcessManager) UpdateView ¶
func (p *ProcessManager) UpdateView() error
type ProcessNode ¶
type ProcessNode struct {
// contains filtered or unexported fields
}
type ProcessTreeView ¶
func NewProcessTreeView ¶
func NewProcessTreeView( getProcess func(proc.PID) *proc.Process) *ProcessTreeView
func (*ProcessTreeView) ExpandToggle ¶
func (p *ProcessTreeView) ExpandToggle(node *tview.TreeNode, isExpand bool)
func (*ProcessTreeView) UpdateTree ¶
func (p *ProcessTreeView) UpdateTree(pid proc.PID)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.