MCPcopy Index your code

hub / github.com/bcicen/ctop / functions

Functions450 in github.com/bcicen/ctop

↓ 30 callersMethodBuffer
()
cwidgets/compact/row.go:19
↓ 23 callersFunctionHandleKeys
Apply a common handler function to all given keys
keys.go:37
↓ 19 callersMethodSetMeta
(models.Meta)
cwidgets/main.go:11
↓ 16 callersMethodGetMeta
(k string)
container/main.go:65
↓ 12 callersMethodLen
()
cursor.go:18
↓ 12 callersMethodLoop
()
connector/mock.go:78
↓ 11 callersMethodClear
()
cwidgets/compact/grid.go:40
↓ 11 callersMethodMaxRows
()
cwidgets/compact/grid.go:49
↓ 10 callersMethodGet
Get returns a single container.Container by ID
connector/main.go:24
↓ 10 callersFunctionNewTextCol
(header string)
cwidgets/compact/text.go:110
↓ 10 callersMethodSetState
(s string)
container/main.go:69
↓ 9 callersMethodAlign
()
cwidgets/single/mem.go:37
↓ 9 callersMethodSet
(allEnvs string)
cwidgets/single/env.go:27
↓ 8 callersMethodAppend
(val int)
cwidgets/single/hist.go:16
↓ 8 callersFunctionInit
()
logging/main.go:55
↓ 8 callersMethodSetWidth
(w int)
cwidgets/single/main.go:54
↓ 8 callersMethodSetY
(int)
cwidgets/compact/row.go:16
↓ 8 callersMethodStatusErr
(err error)
logging/main.go:50
↓ 8 callersFunctionUpdate
Set param value
config/param.go:47
↓ 7 callersMethodHighlight
fixed width size. if == 0, width is automatically calculated
cwidgets/compact/column.go:51
↓ 7 callersMethodUnHighlight
()
cwidgets/compact/column.go:52
↓ 6 callersFunctionByteFormat64Short
(n int64)
cwidgets/util.go:42
↓ 6 callersFunctionConfirm
Create a confirmation dialog with a given description string and func to perform if confirmed
menus.go:406
↓ 6 callersFunctionGetSwitchVal
GetSwitchVal returns Switch value by key
config/switch.go:47
↓ 6 callersFunctionGetVal
GetVal gets Param value by key
config/param.go:42
↓ 6 callersMethodIdx
Idx returns current cursor index
cursor.go:74
↓ 6 callersMethodSelected
()
cursor.go:20
↓ 6 callersMethodSelectedValue
()
widgets/menu/main.go:84
↓ 6 callersFunctionconfirmTxt
(a, n string)
menus.go:494
↓ 6 callersFunctionquote
(s string)
config/main.go:35
↓ 5 callersMethodAddItems
Append Item to Menu
widgets/menu/main.go:39
↓ 5 callersMethodExit
()
logging/main.go:123
↓ 5 callersFunctionNewMenu
()
widgets/menu/main.go:24
↓ 5 callersMethodText
Use label as display text of item, if given
widgets/menu/items.go:9
↓ 5 callersFunctionToggle
Toggle a boolean switch
config/switch.go:64
↓ 5 callersFunctionpercent
return rounded percentage
connector/collector/main.go:30
↓ 5 callersMethodsetText
(s string)
cwidgets/compact/text.go:142
↓ 5 callersFunctionsplitLine
(line string, lineSize int)
widgets/view.go:111
↓ 4 callersMethodAlign
()
cwidgets/single/main.go:83
↓ 4 callersFunctionByteFormatShort
(n int)
cwidgets/util.go:40
↓ 4 callersFunctionNewDiffHist
(max int)
cwidgets/single/hist.go:29
↓ 4 callersFunctionRedrawRows
(clr bool)
grid.go:47
↓ 4 callersMethodSetUpdater
(u cwidgets.WidgetUpdater)
container/main.go:55
↓ 4 callersMethodSort
()
container/sort.go:102
↓ 4 callersMethodUpdate
(read int64, write int64)
cwidgets/single/io.go:41
↓ 4 callersFunctionbyteFormat
(n float64, short bool)
cwidgets/util.go:44
↓ 4 callersFunctioncolIndex
return index of column with given name, if any
config/columns.go:168
↓ 4 callersFunctionquote
(s string)
debug.go:69
↓ 3 callersMethodAll
All returns a pre-sorted container.Containers of all discovered containers
connector/main.go:22
↓ 3 callersFunctionColumnsString
ColumnsString returns an ordered and comma-delimited string of currently enabled Columns
config/columns.go:88
↓ 3 callersMethodFilter
()
container/sort.go:113
↓ 3 callersMethodFixedWidth
header text to display for column
cwidgets/compact/column.go:50
↓ 3 callersMethodGetLibc
(id string)
connector/runc.go:97
↓ 3 callersFunctionGetSwitch
GetSwitch returns Switch by key
config/switch.go:34
↓ 3 callersMethodLogs
()
connector/collector/main.go:19
↓ 3 callersFunctionNew
(id string, collector collector.Collector, manager manager.Manager)
container/main.go:32
↓ 3 callersFunctionNewGaugeCol
(header string)
cwidgets/compact/gauge.go:59
↓ 3 callersFunctionNewIntHist
(max int)
cwidgets/single/hist.go:9
↓ 3 callersMethodRefreshContainers
Refresh containers from source, returning whether the quantity of containers has changed and any error
cursor.go:30
↓ 3 callersFunctionRefreshDisplay
()
grid.go:108
↓ 3 callersMethodResize
Adjusts text inside this view according to the window size. No need to call ui.Render(...) after calling this method, it is called automatically
widgets/view.go:49
↓ 3 callersMethodScrollPage
()
cursor.go:84
↓ 3 callersMethodSetWidth
(w int)
cwidgets/compact/grid.go:48
↓ 3 callersMethodStop
()
connector/manager/main.go:9
↓ 3 callersFunctionheaderPar
(x int, s string)
widgets/header.go:78
↓ 3 callersMethodsetError
(err error)
connector/main.go:58
↓ 2 callersMethodAppend
(s string)
widgets/error.go:39
↓ 2 callersFunctionByteFormat
convenience methods
cwidgets/util.go:39
↓ 2 callersMethodDisplay
()
widgets/status.go:31
↓ 2 callersFunctionEnabledColumns
EnabledColumns returns an ordered array of enabled column names
config/columns.go:91
↓ 2 callersMethodExec
(cmd []string)
connector/manager/main.go:14
↓ 2 callersFunctionGet
Get Param by key
config/param.go:29
↓ 2 callersMethodGet
Docker implements Connector
connector/docker.go:285
↓ 2 callersMethodGetHeight
()
cwidgets/compact/row.go:18
↓ 2 callersMethodGetHeight
GetHeight returns total column height
cwidgets/single/main.go:73
↓ 2 callersMethodInit
Create Mock containers
connector/mock.go:31
↓ 2 callersMethodMustGet
MustGet gets a single ctop container in the map matching libc container, creating one anew if not existing
connector/runc.go:185
↓ 2 callersMethodMustGet
MustGet gets a single container, creating one anew if not existing
connector/docker.go:267
↓ 2 callersFunctionNewCompactRow
()
cwidgets/compact/row.go:30
↓ 2 callersFunctionNewMetrics
()
models/main.go:46
↓ 2 callersMethodRemove
()
connector/manager/main.go:10
↓ 2 callersMethodReset
Set an initial cursor position, if possible
cursor.go:58
↓ 2 callersMethodReset
()
cwidgets/compact/column.go:48
↓ 2 callersMethodRunning
()
connector/collector/main.go:20
↓ 2 callersMethodSetX
(x int)
cwidgets/compact/grid.go:46
↓ 2 callersFunctionShutdown
()
main.go:118
↓ 2 callersMethodStart
()
connector/manager/main.go:8
↓ 2 callersMethodStatus
(s string)
logging/main.go:49
↓ 2 callersMethodStatusQueued
()
logging/main.go:48
↓ 2 callersMethodStream
()
connector/collector/main.go:18
↓ 2 callersMethodWait
Wait blocks until the underlying connection is lost
connector/main.go:26
↓ 2 callersMethodWrite
(p []byte)
connector/manager/docker.go:54
↓ 2 callersMethodaddStatus
(sm statusMsg)
logging/main.go:51
↓ 2 callersMethoddelByID
Remove containers by ID
connector/runc.go:216
↓ 2 callersMethoddelByID
Remove containers by ID
connector/docker.go:293
↓ 2 callersFunctiongetConfigPath
determine config path from environment
config/file.go:116
↓ 2 callersMethodmakeContainer
(aggression int64, health bool)
connector/mock.go:55
↓ 2 callersFunctionmakeState
()
connector/mock.go:146
↓ 2 callersFunctionmkInfoRows
Build row(s) from a key and value string
cwidgets/single/info.go:41
↓ 2 callersFunctionnewRowWidgets
()
cwidgets/compact/column.go:31
next →1–100 of 450, ranked by callers