Documentation
¶
Index ¶
- func CollapseText(node *tview.TreeNode)
- func ExpandText(node *tview.TreeNode)
- func GetText(node *tview.TreeNode) string
- func LenOfFlex(f *tview.Flex) int
- func NewScrollingTextView(title string) *tview.TextView
- func NewTreeNode(s string) *tview.TreeNode
- func RecoverOut()
- func RedirectionOut(z zapcore.WriteSyncer)
- func RunTviewApplication()
- type CliProfile
- type ClusterInfo
- type EnhancedPrimitive
- type EnhancedTable
- type EnhancedTreeNode
- type SyncBuilder
- type TviewApplication
- func (t *TviewApplication) ConfirmationBox(str string, ok, cancel func())
- func (t *TviewApplication) InfoBox(str string, ok func())
- func (t *TviewApplication) NewBorderedTable(s string) *EnhancedTable
- func (t *TviewApplication) NewCentralPage(pageName string, p tview.Primitive, width, height int) func()
- func (t *TviewApplication) NewScrollingTextViewForBody(title string) *tview.TextView
- func (t *TviewApplication) QueueUpdateDraw(f func())
- func (t *TviewApplication) RefreshHeader()
- func (t *TviewApplication) Run() error
- func (t *TviewApplication) ShowDevImageTable(x, y, width, height int) *EnhancedTable
- func (t *TviewApplication) ShowInfo(str string)
- func (t *TviewApplication) UpdateTreeColor(color tcell.Color)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollapseText ¶
func ExpandText ¶
func NewScrollingTextView ¶
func NewTreeNode ¶
func RecoverOut ¶
func RecoverOut()
func RedirectionOut ¶
func RedirectionOut(z zapcore.WriteSyncer)
func RunTviewApplication ¶
func RunTviewApplication()
Types ¶
type CliProfile ¶
type CliProfile struct {
LastPosition string `json:"lastPosition" json:"lastPosition"`
}
type ClusterInfo ¶
type EnhancedPrimitive ¶
func (*EnhancedPrimitive) Blur ¶
func (e *EnhancedPrimitive) Blur()
func (*EnhancedPrimitive) Focus ¶
func (e *EnhancedPrimitive) Focus(delegate func(p tview.Primitive))
func (*EnhancedPrimitive) SetBlurFunc ¶
func (e *EnhancedPrimitive) SetBlurFunc(f func())
func (*EnhancedPrimitive) SetFocusFunc ¶
func (e *EnhancedPrimitive) SetFocusFunc(f func())
type EnhancedTable ¶
func NewRowSelectableTable ¶
func NewRowSelectableTable(s string) *EnhancedTable
func NewSelectableTable ¶
func NewSelectableTable(s string) *EnhancedTable
func (*EnhancedTable) Blur ¶
func (e *EnhancedTable) Blur()
func (*EnhancedTable) Focus ¶
func (e *EnhancedTable) Focus(delegate func(p tview.Primitive))
func (*EnhancedTable) SetBlurFunc ¶
func (e *EnhancedTable) SetBlurFunc(f func())
func (*EnhancedTable) SetFocusFunc ¶
func (e *EnhancedTable) SetFocusFunc(f func())
type EnhancedTreeNode ¶
type EnhancedTreeNode struct { *tview.TreeNode Parent *EnhancedTreeNode }
func (*EnhancedTreeNode) AddChild ¶
func (e *EnhancedTreeNode) AddChild(node *EnhancedTreeNode) *EnhancedTreeNode
type SyncBuilder ¶
func (*SyncBuilder) Sync ¶
func (s *SyncBuilder) Sync() error
type TviewApplication ¶
type TviewApplication struct {
// contains filtered or unexported fields
}
func NewTviewApplication ¶
func NewTviewApplication() *TviewApplication
func (*TviewApplication) ConfirmationBox ¶
func (t *TviewApplication) ConfirmationBox(str string, ok, cancel func())
func (*TviewApplication) InfoBox ¶
func (t *TviewApplication) InfoBox(str string, ok func())
func (*TviewApplication) NewBorderedTable ¶
func (t *TviewApplication) NewBorderedTable(s string) *EnhancedTable
func (*TviewApplication) NewCentralPage ¶
func (t *TviewApplication) NewCentralPage(pageName string, p tview.Primitive, width, height int) func()
func (*TviewApplication) NewScrollingTextViewForBody ¶
func (t *TviewApplication) NewScrollingTextViewForBody(title string) *tview.TextView
func (*TviewApplication) QueueUpdateDraw ¶
func (t *TviewApplication) QueueUpdateDraw(f func())
func (*TviewApplication) RefreshHeader ¶
func (t *TviewApplication) RefreshHeader()
func (*TviewApplication) Run ¶
func (t *TviewApplication) Run() error
func (*TviewApplication) ShowDevImageTable ¶
func (t *TviewApplication) ShowDevImageTable(x, y, width, height int) *EnhancedTable
func (*TviewApplication) ShowInfo ¶
func (t *TviewApplication) ShowInfo(str string)
func (*TviewApplication) UpdateTreeColor ¶
func (t *TviewApplication) UpdateTreeColor(color tcell.Color)
Click to show internal directories.
Click to hide internal directories.