Documentation ¶
Index ¶
- Constants
- func Round(d, r time.Duration) time.Duration
- type HeaderWidget
- type HelpTextTipsWidget
- type MasterUI
- func (mui *MasterUI) AddCommonDataViewKeybindings(g *gocui.Gui, viewName string) error
- func (mui *MasterUI) CliConnection() plugin.CliConnection
- func (mui *MasterUI) CloseView(m masterUIInterface.Manager) error
- func (mui *MasterUI) CloseViewByName(viewName string) error
- func (mui *MasterUI) GetCurrentView(g *gocui.Gui) *gocui.View
- func (mui *MasterUI) GetHeaderSize() int
- func (mui *MasterUI) GetRouter() *eventrouting.EventRouter
- func (mui *MasterUI) IsWarmupComplete() bool
- func (mui *MasterUI) LayoutManager() masterUIInterface.LayoutManagerInterface
- func (mui *MasterUI) OpenView(g *gocui.Gui, dataView masterUIInterface.UpdatableView) error
- func (mui *MasterUI) RefeshNow()
- func (mui *MasterUI) SetCurrentViewOnTop(g *gocui.Gui) error
- func (mui *MasterUI) SetHelpTextTips(g *gocui.Gui, helpTextTips string) error
- func (mui *MasterUI) SetMinimizeHeader(g *gocui.Gui, minimizeHeader bool)
- func (mui *MasterUI) SetStatsSummarySize(statSummarySize int)
- func (mui *MasterUI) Start()
Constants ¶
View Source
const DefaultRefreshInternalMS = 1000
View Source
const HELP_TEXT_VIEW_NAME = "helpTextTipsView"
View Source
const WarmUpSeconds = 60
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HeaderWidget ¶
type HeaderWidget struct {
// contains filtered or unexported fields
}
func NewHeaderWidget ¶
func NewHeaderWidget(masterUI *MasterUI, name string) *HeaderWidget
func (*HeaderWidget) Name ¶
func (w *HeaderWidget) Name() string
type HelpTextTipsWidget ¶ added in v0.7.3
type HelpTextTipsWidget struct {
// contains filtered or unexported fields
}
func NewHelpTextTipsWidget ¶ added in v0.7.3
func NewHelpTextTipsWidget(masterUI masterUIInterface.MasterUIInterface, name string, height int) *HelpTextTipsWidget
func (*HelpTextTipsWidget) Layout ¶ added in v0.7.3
func (w *HelpTextTipsWidget) Layout(g *gocui.Gui) error
func (*HelpTextTipsWidget) Name ¶ added in v0.7.3
func (w *HelpTextTipsWidget) Name() string
func (*HelpTextTipsWidget) SetHelpTextTips ¶ added in v0.7.3
func (w *HelpTextTipsWidget) SetHelpTextTips(g *gocui.Gui, helpTextTips string) error
type MasterUI ¶
type MasterUI struct {
// contains filtered or unexported fields
}
func NewMasterUI ¶
func NewMasterUI(cliConnection plugin.CliConnection) *MasterUI
func (*MasterUI) AddCommonDataViewKeybindings ¶ added in v0.7.3
Add common keybindings for all data views -- note that this does not include keybindings for "top level" data views which are ones that are selectable from the "select view" menu ('d' command)
func (*MasterUI) CliConnection ¶
func (mui *MasterUI) CliConnection() plugin.CliConnection
func (*MasterUI) CloseViewByName ¶
func (*MasterUI) GetHeaderSize ¶ added in v0.7.3
func (*MasterUI) GetRouter ¶
func (mui *MasterUI) GetRouter() *eventrouting.EventRouter
func (*MasterUI) IsWarmupComplete ¶ added in v0.7.3
func (*MasterUI) LayoutManager ¶
func (mui *MasterUI) LayoutManager() masterUIInterface.LayoutManagerInterface
func (*MasterUI) OpenView ¶ added in v0.7.3
func (mui *MasterUI) OpenView(g *gocui.Gui, dataView masterUIInterface.UpdatableView) error
func (*MasterUI) SetHelpTextTips ¶ added in v0.7.3
func (*MasterUI) SetMinimizeHeader ¶ added in v0.7.3
func (*MasterUI) SetStatsSummarySize ¶ added in v0.7.3
Click to show internal directories.
Click to hide internal directories.