Documentation ¶
Index ¶
- func CpuResetAvg()
- func CpuUsagePercent() float64
- func Round(d, r time.Duration) time.Duration
- type Client
- type ClientOptions
- type ConsoleDebugPrinter
- type FooterWidget
- type HeaderWidget
- type LayoutManager
- func (w *LayoutManager) Add(m masterUIInterface.Manager)
- func (w *LayoutManager) Contains(managerToFind masterUIInterface.Manager) bool
- func (w *LayoutManager) Layout(g *gocui.Gui) error
- func (w *LayoutManager) Remove(managerToRemove masterUIInterface.Manager) masterUIInterface.Manager
- func (w *LayoutManager) Top() masterUIInterface.Manager
- type MasterUI
- func (ui *MasterUI) CliConnection() plugin.CliConnection
- func (ui *MasterUI) CloseView(m masterUIInterface.Manager) error
- func (ui *MasterUI) GetCurrentView(g *gocui.Gui) *gocui.View
- func (ui *MasterUI) GetRouter() *eventrouting.EventRouter
- func (ui *MasterUI) LayoutManager() masterUIInterface.LayoutManagerInterface
- func (ui *MasterUI) RefeshNow()
- func (ui *MasterUI) SetCurrentViewOnTop(g *gocui.Gui, name string) error
- func (ui *MasterUI) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CpuResetAvg ¶
func CpuResetAvg()
func CpuUsagePercent ¶
func CpuUsagePercent() float64
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cliConnection plugin.CliConnection, options *ClientOptions, ui terminal.UI) *Client
type ClientOptions ¶
type ConsoleDebugPrinter ¶
type ConsoleDebugPrinter struct {
// contains filtered or unexported fields
}
func (ConsoleDebugPrinter) Print ¶
func (p ConsoleDebugPrinter) Print(title, dump string)
type FooterWidget ¶
type FooterWidget struct {
// contains filtered or unexported fields
}
func NewFooterWidget ¶
func NewFooterWidget(name string, height int) *FooterWidget
func (*FooterWidget) Name ¶ added in v0.5.5
func (w *FooterWidget) Name() string
type HeaderWidget ¶
type HeaderWidget struct {
// contains filtered or unexported fields
}
func NewHeaderWidget ¶
func NewHeaderWidget(masterUI *MasterUI, name string, height int) *HeaderWidget
func (*HeaderWidget) Name ¶ added in v0.5.5
func (w *HeaderWidget) Name() string
type LayoutManager ¶
type LayoutManager struct {
// contains filtered or unexported fields
}
func NewLayoutManager ¶
func NewLayoutManager() *LayoutManager
func (*LayoutManager) Add ¶
func (w *LayoutManager) Add(m masterUIInterface.Manager)
func (*LayoutManager) Contains ¶
func (w *LayoutManager) Contains(managerToFind masterUIInterface.Manager) bool
func (*LayoutManager) Remove ¶
func (w *LayoutManager) Remove(managerToRemove masterUIInterface.Manager) masterUIInterface.Manager
func (*LayoutManager) Top ¶ added in v0.5.6
func (w *LayoutManager) Top() masterUIInterface.Manager
type MasterUI ¶
type MasterUI struct {
// contains filtered or unexported fields
}
func NewMasterUI ¶
func NewMasterUI(cliConnection plugin.CliConnection) *MasterUI
func (*MasterUI) CliConnection ¶
func (ui *MasterUI) CliConnection() plugin.CliConnection
func (*MasterUI) GetRouter ¶
func (ui *MasterUI) GetRouter() *eventrouting.EventRouter
func (*MasterUI) LayoutManager ¶
func (ui *MasterUI) LayoutManager() masterUIInterface.LayoutManagerInterface
func (*MasterUI) SetCurrentViewOnTop ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.