Documentation
¶
Index ¶
- Constants
- Variables
- func AppendAttrsSorted(parent *tview.TreeNode, attrs pcommon.Map)
- func AttachCommandList(commands *tview.TextView, p tview.Primitive) *tview.Flex
- func AttachModalForTableRows(table *tview.Table, mapper tableModalMapper, onHide func())
- func AttachModalForTreeAttributes(tree *tview.TreeView, onHide func())
- func AttachTab(p tview.Primitive, name string) *tview.Flex
- func NewCommandList() *tview.TextView
- func RegisterCommandList(commands *tview.TextView, c FocusableBox, origFocusFn func(), keys KeyMaps)
- type FocusableBox
- type KeyMap
- type KeyMaps
- type ResizeDirection
- type ResizeManager
Constants ¶
View Source
const ( ResizeDirectionHorizontal ResizeDirection = iota ResizeDirectionVertical WidenHorizontallyKey = tcell.KeyCtrlL NarrowHorizontallyKey = tcell.KeyCtrlH WidenVerticallyKey = tcell.KeyCtrlJ NarrowVerticallyKey = tcell.KeyCtrlK )
View Source
const ( PageIDTraces = "Traces" PageIDMetrics = "Metrics" PageIDLogs = "Logs" PageIDTraceTopology = "TraceTopology" PageIDTimeline = "Timeline" PageIDModal = "Modal" )
Variables ¶
View Source
var Colors = []tcell.Color{
tcell.ColorAliceBlue,
tcell.ColorBurlyWood,
tcell.ColorCadetBlue,
tcell.ColorCoral,
tcell.ColorCornsilk,
tcell.ColorGold,
tcell.ColorLightBlue,
tcell.ColorLightGreen,
tcell.ColorLemonChiffon,
tcell.ColorMediumTurquoise,
}
Functions ¶
func AppendAttrsSorted ¶
AppendAttrsSorted appends attributes to the given parent node in sorted order by key.
func AttachCommandList ¶
func AttachModalForTableRows ¶
func NewCommandList ¶
func RegisterCommandList ¶
func RegisterCommandList(commands *tview.TextView, c FocusableBox, origFocusFn func(), keys KeyMaps)
Types ¶
type FocusableBox ¶
type ResizeDirection ¶
type ResizeDirection int
type ResizeManager ¶
type ResizeManager struct {
// contains filtered or unexported fields
}
func NewResizeManager ¶
func NewResizeManager(direction ResizeDirection) *ResizeManager
func (*ResizeManager) KeyMaps ¶
func (m *ResizeManager) KeyMaps() KeyMaps
Click to show internal directories.
Click to hide internal directories.