Documentation
¶
Index ¶
- Constants
- func ColumnNames() []string
- func SetupTui(project app.IProject, options ...Option)
- func Stop()
- func Wait()
- type Action
- type ActionName
- type ColumnID
- type LogView
- func (l *LogView) AddLines(lines []string)
- func (l *LogView) Flush()
- func (l *LogView) GetTailLength() int
- func (l *LogView) GetUniqueID() string
- func (l *LogView) IsWrapOn() bool
- func (l *LogView) SearchNext()
- func (l *LogView) SearchPrev()
- func (l *LogView) SetLines(lines []string)
- func (l *LogView) ToggleWrap()
- func (l *LogView) WriteString(line string) (n int, err error)
- type Option
- type ScrSplitState
- type ShortCuts
- type StateSorter
Constants ¶
View Source
const ( ActionHelp = ActionName("help") ActionLogScreen = ActionName("log_screen") ActionFollowLog = ActionName("log_follow") ActionWrapLog = ActionName("log_wrap") ActionLogSelection = ActionName("log_select") ActionProcessStart = ActionName("process_start") ActionProcessScale = ActionName("process_scale") ActionProcessInfo = ActionName("process_info") ActionProcessStop = ActionName("process_stop") ActionProcessRestart = ActionName("process_restart") ActionProcessScreen = ActionName("process_screen") ActionQuit = ActionName("quit") ActionLogFind = ActionName("find") ActionLogFindNext = ActionName("find_next") ActionLogFindPrev = ActionName("find_prev") ActionLogFindExit = ActionName("find_exit") ActionNsFilter = ActionName("ns_filter") ActionHideDisabled = ActionName("hide_disabled") ActionProcFilter = ActionName("proc_filter") ActionThemeSelector = ActionName("theme_selector") ActionSendToBackground = ActionName("send_to_background") ActionFullScreen = ActionName("full_screen") ActionFocusChange = ActionName("focus_change") )
View Source
const ( LogFull ScrSplitState = 0 ProcFull = 1 LogProcHalf = 2 )
View Source
const ( PageMain = "main" PageDialog = "dialog" AllNS = "PC_ALL_NS_FILTER" )
Variables ¶
This section is empty.
Functions ¶
func ColumnNames ¶ added in v0.69.0
func ColumnNames() []string
Types ¶
type ActionName ¶ added in v0.24.0
type ActionName string
type ColumnID ¶ added in v0.50.0
type ColumnID int
const ( ProcessStateUndefined ColumnID = -1 ProcessStateIcon ColumnID = 0 ProcessStatePid ColumnID = 1 ProcessStateName ColumnID = 2 ProcessStateNamespace ColumnID = 3 ProcessStateStatus ColumnID = 4 ProcessStateAge ColumnID = 5 ProcessStateHealth ColumnID = 6 ProcessStateRestarts ColumnID = 7 ProcessStateExit ColumnID = 8 )
func StringToColumnID ¶ added in v0.69.0
type LogView ¶ added in v0.10.0
func NewLogView ¶ added in v0.10.0
func (*LogView) GetTailLength ¶ added in v0.43.1
func (*LogView) GetUniqueID ¶ added in v0.43.1
func (*LogView) SearchNext ¶ added in v0.45.0
func (l *LogView) SearchNext()
func (*LogView) SearchPrev ¶ added in v0.45.0
func (l *LogView) SearchPrev()
func (*LogView) ToggleWrap ¶ added in v0.10.0
func (l *LogView) ToggleWrap()
type Option ¶ added in v0.69.0
type Option func(view *pcView) error
func WithRefreshRate ¶ added in v0.69.0
func WithStateSorter ¶ added in v0.69.0
type ScrSplitState ¶ added in v1.0.0
type ScrSplitState int
type ShortCuts ¶ added in v0.24.0
type ShortCuts struct { ShortCutKeys map[ActionName]*Action `yaml:"shortcuts"` // contains filtered or unexported fields }
func (*ShortCuts) StylesChanged ¶ added in v1.0.0
type StateSorter ¶ added in v0.50.0
type StateSorter struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.