Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/derailed/k9s
/ Add
Method
Add
internal/view/pulse.go:51–51 ·
view source on GitHub ↗
Add adds a metric
(ok, fault int)
Source
from the content-addressed store, hash-verified
49
50
// Add adds a metric
51
Add(ok, fault int)
52
53
AddMetric(time.Time, float64)
54
Callers
15
NewWorkerPool
Function · 0.65
Add
Method · 0.65
TestWorkerPoolPlain
Function · 0.65
TestWorkerPoolWithError
Function · 0.65
FetchNodesMetrics
Method · 0.65
FetchPodsMetrics
Method · 0.65
newFakeK8sServer
Function · 0.65
TestIsValidNamespace
Function · 0.65
TestCheckCacheBool
Function · 0.65
CanI
Method · 0.65
ServerVersion
Method · 0.65
ValidNamespaceNames
Method · 0.65
Calls
no outgoing calls
Tested by
13
TestWorkerPoolPlain
Function · 0.52
TestWorkerPoolWithError
Function · 0.52
newFakeK8sServer
Function · 0.52
TestIsValidNamespace
Function · 0.52
TestCheckCacheBool
Function · 0.52
Test_scorerAdd
Function · 0.52
TestToAgeHuman
Function · 0.52
Test_lastRestart
Function · 0.52
TestSeriesAdd
Function · 0.52
TestRowEventsSort
Function · 0.52
TestRowsSortDuration
Function · 0.52
TestWorkerPoolPlain
Function · 0.52