Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bcicen/ctop
/ functions
Functions
450 in github.com/bcicen/ctop
⨍
Functions
450
◇
Types & classes
79
↓ 2 callers
Method
pageRows
()
cwidgets/compact/grid.go:75
↓ 2 callers
Method
parseTime
(s string)
connector/collector/docker_logs.go:82
↓ 2 callers
Method
pgCount
number of pages at current row count and term height
cursor.go:191
↓ 2 callers
Method
rebuildHeader
()
cwidgets/compact/grid.go:93
↓ 2 callers
Method
refresh
Sort menu items(if enabled) and re-calculate window size
widgets/menu/main.go:139
↓ 2 callers
Function
shortName
use primary container name
connector/docker.go:314
↓ 2 callers
Function
sumIO
(c *Container)
container/sort.go:132
↓ 2 callers
Function
sumNet
(c *Container)
container/sort.go:130
↓ 2 callers
Function
swapCols
(i, j int)
config/columns.go:155
↓ 2 callers
Function
unpadFloat
(f float64, maxp int)
cwidgets/util.go:61
↓ 1 callers
Method
AddRows
(rows ...RowBufferer)
cwidgets/compact/grid.go:89
↓ 1 callers
Method
Align
Set width and height based on screen size
widgets/menu/tooltip.go:49
↓ 1 callers
Function
ByName
ByName returns a ConnectorSuper for a given name, or error if the connector does not exists on the current platform
connector/main.go:99
↓ 1 callers
Method
ClearItems
ClearItems removes all current menu items
widgets/menu/main.go:60
↓ 1 callers
Function
ColumnLeft
ColumnLeft moves the column with given name up one position, if possible
config/columns.go:110
↓ 1 callers
Function
ColumnRight
ColumnRight moves the column with given name up one position, if possible
config/columns.go:118
↓ 1 callers
Function
ColumnToggle
ColumnToggle toggles the enabled status of a given column name
config/columns.go:103
↓ 1 callers
Function
Display
()
grid.go:120
↓ 1 callers
Method
Down
()
widgets/menu/main.go:131
↓ 1 callers
Function
Enabled
Enabled returns names for all enabled connectors on the current platform
connector/main.go:89
↓ 1 callers
Method
FlushStatus
()
logging/main.go:36
↓ 1 callers
Method
Get
Runc implements Connector
connector/runc.go:228
↓ 1 callers
Method
Header
()
cwidgets/compact/column.go:49
↓ 1 callers
Method
Height
()
widgets/status.go:78
↓ 1 callers
Function
Init
()
config/main.go:19
↓ 1 callers
Method
InputHandlers
Setup some default handlers for menu navigation
widgets/input.go:88
↓ 1 callers
Function
InvertColorMap
()
colors.go:53
↓ 1 callers
Method
Loop
()
connector/runc.go:178
↓ 1 callers
Method
Loop
()
connector/docker.go:236
↓ 1 callers
Method
LoopStatuses
()
connector/docker.go:248
↓ 1 callers
Function
NewCTopHeader
()
widgets/header.go:17
↓ 1 callers
Function
NewCompactGrid
()
cwidgets/compact/grid.go:18
↓ 1 callers
Function
NewCompactHeader
()
cwidgets/compact/header.go:16
↓ 1 callers
Function
NewConnectorSuper
(connFn ConnectorFn)
connector/main.go:38
↓ 1 callers
Function
NewCpu
()
cwidgets/single/cpu.go:12
↓ 1 callers
Function
NewDockerLogs
(id string, client *api.Client)
connector/collector/docker_logs.go:20
↓ 1 callers
Function
NewEnv
()
cwidgets/single/env.go:16
↓ 1 callers
Function
NewErrorView
()
widgets/error.go:16
↓ 1 callers
Function
NewFloatHist
(max int)
cwidgets/single/hist.go:47
↓ 1 callers
Function
NewIO
()
cwidgets/single/io.go:17
↓ 1 callers
Function
NewInfo
()
cwidgets/single/info.go:16
↓ 1 callers
Function
NewInput
()
widgets/input.go:26
↓ 1 callers
Function
NewLogLines
(max int)
cwidgets/single/logs.go:15
↓ 1 callers
Function
NewMem
()
cwidgets/single/mem.go:18
↓ 1 callers
Function
NewMeta
NewMeta returns an initialized Meta map. An optional series of key, values may be provided to populate the map prior to returning
models/main.go:14
↓ 1 callers
Function
NewNet
()
cwidgets/single/net.go:17
↓ 1 callers
Function
NewRowBg
()
cwidgets/compact/row.go:120
↓ 1 callers
Function
NewRuncOpts
()
connector/runc.go:27
↓ 1 callers
Function
NewSingle
()
cwidgets/single/main.go:26
↓ 1 callers
Function
NewStatusLine
()
widgets/status.go:17
↓ 1 callers
Function
NewTextView
(lines <-chan ToggleText)
widgets/view.go:25
↓ 1 callers
Function
NewToolTip
(lines ...string)
widgets/menu/tooltip.go:15
↓ 1 callers
Function
OpenInBrowser
()
menus.go:389
↓ 1 callers
Method
Pause
()
connector/manager/main.go:11
↓ 1 callers
Function
Read
()
config/file.go:45
↓ 1 callers
Method
Read
Read metric stream, updating widgets
container/main.go:88
↓ 1 callers
Method
ReadCPU
(stats *cgroups.Stats)
connector/collector/runc.go:87
↓ 1 callers
Method
ReadCPU
(stats *api.Stats)
connector/collector/docker.go:78
↓ 1 callers
Method
ReadIO
(stats *api.Stats)
connector/collector/docker.go:111
↓ 1 callers
Method
ReadMem
(stats *cgroups.Stats)
connector/collector/runc.go:103
↓ 1 callers
Method
ReadMem
(stats *api.Stats)
connector/collector/docker.go:96
↓ 1 callers
Method
ReadNet
(interfaces []*types.NetworkInterface)
connector/collector/runc.go:112
↓ 1 callers
Method
ReadNet
(stats *api.Stats)
connector/collector/docker.go:102
↓ 1 callers
Method
RecreateWidgets
()
container/main.go:49
↓ 1 callers
Method
Reset
()
cwidgets/compact/gauge.go:68
↓ 1 callers
Method
Restart
()
connector/manager/main.go:13
↓ 1 callers
Function
SetColumns
Set Column order and enabled status from one or more provided Column names
config/columns.go:126
↓ 1 callers
Method
SetCount
(val int)
widgets/header.go:61
↓ 1 callers
Method
SetCursor
Move cursor to an position by Item value or label
widgets/menu/main.go:65
↓ 1 callers
Method
SetFilter
(val string)
widgets/header.go:65
↓ 1 callers
Method
SetMeta
(k, v string)
container/main.go:60
↓ 1 callers
Method
SetMeta
(models.Meta)
cwidgets/compact/column.go:53
↓ 1 callers
Method
SetMetrics
(models.Metrics)
cwidgets/main.go:12
↓ 1 callers
Method
SetMetrics
(models.Metrics)
cwidgets/compact/column.go:54
↓ 1 callers
Method
SetWidths
(int, []int)
cwidgets/compact/row.go:17
↓ 1 callers
Method
SetX
(x int)
cwidgets/compact/header.go:38
↓ 1 callers
Method
Show
change given message on the status line
widgets/status.go:51
↓ 1 callers
Function
ShowConnError
(err error)
grid.go:9
↓ 1 callers
Method
ShowErr
(s string)
widgets/status.go:57
↓ 1 callers
Function
SortFields
()
container/sort.go:93
↓ 1 callers
Function
StartServer
()
logging/server.go:34
↓ 1 callers
Method
Statusf
(s string, a ...interface{})
logging/main.go:53
↓ 1 callers
Function
StopServer
()
logging/server.go:53
↓ 1 callers
Method
Stream
()
widgets/input.go:61
↓ 1 callers
Method
Toggle
returns text for toggle on/off
widgets/view.go:10
↓ 1 callers
Method
Toggle
Toggles text inside this view. No need to call ui.Render(...) after calling this method, it is called automatically
widgets/view.go:58
↓ 1 callers
Method
Unpause
()
connector/manager/main.go:12
↓ 1 callers
Method
Up
()
widgets/menu/main.go:124
↓ 1 callers
Function
UpdateSwitch
(k string, val bool)
config/switch.go:51
↓ 1 callers
Function
Write
()
config/file.go:79
↓ 1 callers
Method
add
(l models.Log)
cwidgets/single/logs.go:37
↓ 1 callers
Method
addFieldPar
(s string)
cwidgets/compact/header.go:61
↓ 1 callers
Method
all
()
cwidgets/single/main.go:118
↓ 1 callers
Method
calcSize
()
widgets/input.go:41
↓ 1 callers
Method
calcSize
Set width and height based on menu items
widgets/menu/main.go:148
↓ 1 callers
Function
calcUptime
(insp *api.Container)
connector/docker.go:210
↓ 1 callers
Method
calcWidths
calculate and return per-column width
cwidgets/compact/grid.go:52
↓ 1 callers
Method
clearFieldPars
()
cwidgets/compact/header.go:57
↓ 1 callers
Function
colorScale
(n int)
cwidgets/compact/gauge.go:102
↓ 1 callers
Function
debugMode
()
logging/main.go:131
← previous
next →
101–200 of 450, ranked by callers