Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/weaveworks/scope
/ functions
Functions
3,787 in github.com/weaveworks/scope
⨍
Functions
3,787
◇
Types & classes
595
↳
Endpoints
8
↓ 726 callers
Method
get
(name string)
app/api_topologies.go:450
↓ 329 callers
Function
sovApi
(x uint64)
cri/runtime/api.pb.go:10625
↓ 270 callers
Function
encodeVarintApi
(dAtA []byte, offset int, v uint64)
cri/runtime/api.pb.go:8892
↓ 216 callers
Method
Add
(context.Context, report.Report, []byte)
app/collector.go:54
↓ 181 callers
Function
MakeNode
MakeNode creates a new Node with no initial metadata.
report/node.go:26
↓ 158 callers
Method
Lookup
Lookup returns the sets stored under key.
report/sets.go:77
↓ 151 callers
Method
Size
()
cri/runtime/api.pb.go:8976
↓ 139 callers
Method
Unlock
Unlock unlocks the registry.
probe/controls/controls.go:16
↓ 138 callers
Function
MakeStringSet
MakeStringSet makes a new StringSet with the given strings.
report/string_set.go:14
↓ 135 callers
Method
Lock
Lock locks the backend, so the batch insertions or removals can be performed.
probe/controls/controls.go:14
↓ 123 callers
Function
skipApi
(dAtA []byte)
cri/runtime/api.pb.go:26357
↓ 100 callers
Function
MakeNodeWith
MakeNodeWith creates a new Node with the supplied map.
report/node.go:38
↓ 92 callers
Method
Merge
([]report.Report)
app/merger.go:13
↓ 90 callers
Function
MakeNodeSet
MakeNodeSet makes a new NodeSet with the given nodes.
report/node_set.go:23
↓ 87 callers
Method
Set
(hostname string, urls []url.URL)
probe/appclient/multi_client.go:41
↓ 86 callers
Function
DeepEqual
DeepEqual tests for deep equality. It uses normal == equality where possible but will scan elements of arrays, slices, maps, and fields of structs. In
test/reflect/deepequal.go:208
↓ 85 callers
Function
MakeReport
MakeReport makes a clean report, ready to Merge() other reports into.
report/report.go:223
↓ 80 callers
Method
Replace
(os []interface{}, ver string)
probe/kubernetes/store.go:60
↓ 80 callers
Method
WithTopology
WithTopology returns a fresh copy of n, with ID changed.
report/node.go:49
↓ 76 callers
Method
MarshalTo
(dAtA []byte)
cri/runtime/api.pb.go:4939
↓ 76 callers
Function
scopeTheme
client/app/scripts/components/global-style.js:9
↓ 75 callers
Method
Unmarshal
(dAtA []byte)
cri/runtime/api.pb.go:12553
↓ 72 callers
Method
Close
()
common/xfer/pipes.go:16
↓ 71 callers
Method
AddNode
AddNode adds node to the topology under key nodeID; if a node already exists for this key, nmd is merged with that node. This method is different from
report/topology.go:128
↓ 57 callers
Function
MakeSets
MakeSets returns EmptySets
report/sets.go:20
↓ 52 callers
Method
WithLatests
WithLatests returns a fresh copy of n, with Metadata m merged in.
report/node.go:70
↓ 49 callers
Function
MakeTopology
MakeTopology gives you a Topology.
report/topology.go:24
↓ 47 callers
Method
Render
(context.Context, report.Report)
render/render.go:21
↓ 46 callers
Method
forEach
forEach walks through all the plugins running f for each one.
probe/plugins/registry.go:181
↓ 45 callers
Method
Get
(context.Context, string, End)
app/pipe_router.go:41
↓ 44 callers
Method
filter
Get the render filters to use for this option group, if any, or nil otherwise.
app/api_topologies.go:347
↓ 43 callers
Method
DeepEqual
DeepEqual tests equality with other Sets
report/sets.go:133
↓ 39 callers
Function
ResponseErrorf
ResponseErrorf creates a new Response with the given formatted error string.
common/xfer/controls.go:94
↓ 39 callers
Method
String
()
app/pipe_router.go:31
↓ 38 callers
Method
UID
()
probe/kubernetes/meta.go:22
↓ 36 callers
Function
MakePluginSpecs
MakePluginSpecs makes a new PluginSpecs with the given plugin specs.
common/xfer/plugin_spec.go:43
↓ 36 callers
Method
Report
(context.Context, time.Time)
app/collector.go:31
↓ 35 callers
Method
Contains
Contains returns true if id is in the list.
report/id_list.go:36
↓ 35 callers
Method
Equal
Equal is used for comparing nodes by topology and id
report/node.go:60
↓ 35 callers
Method
WithLabel
WithLabel sets the label terminology of this topology, returning a new topology.
report/topology.go:110
↓ 34 callers
Function
MakeMetric
MakeMetric makes a new Metric from unique samples incrementally ordered in time.
report/metrics.go:77
↓ 34 callers
Function
Prune
Prune returns a copy of the Nodes with all information not strictly necessary for rendering nodes and edges in the UI cut away.
test/utils/prune.go:12
↓ 34 callers
Method
WithChildren
WithChildren returns a fresh copy of n, with children merged in.
report/node.go:165
↓ 34 callers
Method
WithShape
WithShape sets the shape of nodes from this topology, returning a new topology.
report/topology.go:80
↓ 33 callers
Method
AddCounter
AddCounter returns a fresh copy of n, with Counter c added in. (counters are stored as strings, to keep the data structure simple)
report/node.go:95
↓ 33 callers
Method
Close
()
app/collector.go:61
↓ 33 callers
Method
Copy
Copy returns a value copy of the Nodes.
report/topology.go:237
↓ 31 callers
Method
Copy
Copy returns a value copy of the report.
report/report.go:325
↓ 31 callers
Function
connect
(url string, numConn int)
extras/dialer/src/dialer.go:10
↓ 31 callers
Method
file
()
probe/plugins/registry_internal_test.go:88
↓ 29 callers
Method
WithAdjacent
WithAdjacent returns a fresh copy of n, with 'a' added to Adjacency
report/node.go:129
↓ 29 callers
Method
last
()
report/metrics.go:55
↓ 28 callers
Function
MakeEndpointNodeID
MakeEndpointNodeID produces an endpoint node ID from its composite parts.
report/id.go:32
↓ 28 callers
Method
WithMetrics
WithMetrics returns a fresh copy of n, with metrics merged in.
report/node.go:123
↓ 28 callers
Function
respondWith
(ctx context.Context, w http.ResponseWriter, code int, response interface{})
app/server_helpers.go:13
↓ 27 callers
Function
MakeSingletonMetric
MakeSingletonMetric makes a metric with a single value
report/metrics.go:64
↓ 27 callers
Function
MakeStringLatestMap
MakeStringLatestMap makes an empty StringLatestMap.
report/latest_map_generated.go:36
↓ 27 callers
Function
ResponseError
ResponseError creates a new Response with the given error.
common/xfer/controls.go:101
↓ 26 callers
Function
updateRoute
(getState)
client/app/scripts/utils/router-utils.js:116
↓ 25 callers
Function
stringHandler
stringHandler returns an http.Handler which just prints the given string
probe/plugins/registry_internal_test.go:196
↓ 23 callers
Method
After
After is used for sorting nodes by topology and id
report/node.go:65
↓ 23 callers
Method
WithMetadataTemplates
WithMetadataTemplates merges some metadata templates into this topology, returning a new topology.
report/topology.go:33
↓ 22 callers
Method
WithParents
WithParents returns a fresh copy of n, with sets merged in.
report/node.go:153
↓ 21 callers
Method
WithLatest
WithLatest produces a new Node with k mapped to v in the Latest metadata.
report/node.go:77
↓ 20 callers
Method
ForEach
ForEach executes f for each node in the set.
report/node_set.go:127
↓ 20 callers
Function
Render
Render renders the report and then transforms it
render/render.go:56
↓ 20 callers
Method
String
()
report/sets.go:128
↓ 20 callers
Method
Wait
()
probe/docker/registry_test.go:180
↓ 20 callers
Method
WithLatestActiveControls
WithLatestActiveControls says which controls are active on this node. Implemented as a delimiter-separated string in Latest
report/node.go:136
↓ 19 callers
Method
AddControl
AddControl adds c added to cs.
report/controls.go:43
↓ 19 callers
Method
Name
()
probe/probe.go:47
↓ 19 callers
Function
makeSingleComponentID
makeSingleComponentID makes a single-component node id encoder
report/id.go:215
↓ 19 callers
Function
parseSingleComponentID
parseSingleComponentID makes a single-component node id decoder
report/id.go:222
↓ 18 callers
Function
getUrlState
(state)
client/app/scripts/utils/router-utils.js:75
↓ 18 callers
Function
trackAnalyticsEvent
(name, props)
client/app/scripts/utils/tracking-utils.js:6
↓ 17 callers
Method
List
(prefix string, q *consul.QueryOptions)
app/multitenant/consul_client.go:55
↓ 17 callers
Method
Size
Size returns the number of elements
report/sets.go:88
↓ 17 callers
Method
String
()
probe/appclient/resolver.go:64
↓ 17 callers
Method
WithTableTemplates
WithTableTemplates merges some table templates into this topology, returning a new topology.
report/topology.go:65
↓ 17 callers
Function
equals
equals errors the test if want is not equal to have.
app/scope_test.go:32
↓ 17 callers
Function
getApiPath
(pathname = window.location.pathname)
client/app/scripts/utils/web-api-utils.js:78
↓ 16 callers
Method
Handle
(ctx context.Context, probeID string, req xfer.Request)
app/control_router.go:16
↓ 16 callers
Function
MakeIDList
MakeIDList makes a new IDList.
report/id_list.go:9
↓ 16 callers
Function
Poll
Poll repeatedly evaluates condition until we either timeout, or it succeeds.
test/poll.go:13
↓ 15 callers
Method
GetNode
(probeID string)
probe/kubernetes/pod.go:24
↓ 15 callers
Function
MakeProcessNodeID
MakeProcessNodeID produces a process node ID from its composite parts.
report/id.go:89
↓ 15 callers
Function
requestContextDecorator
(f CtxHandlerFunc)
app/router.go:43
↓ 14 callers
Function
NewDefaultHandlerRegistry
NewDefaultHandlerRegistry creates a registry with a default backend.
probe/controls/controls.go:79
↓ 14 callers
Method
WithSets
WithSets returns a fresh copy of n, with sets merged in.
report/node.go:110
↓ 13 callers
Function
MakePseudoNodeID
MakePseudoNodeID joins the parts of an id into the id of a pseudonode
render/id.go:21
↓ 13 callers
Method
MetaNode
(id string)
probe/kubernetes/meta.go:27
↓ 13 callers
Method
Name
()
probe/kubernetes/meta.go:23
↓ 13 callers
Method
Walk
(func(Process, Process))
probe/process/walker.go:21
↓ 13 callers
Function
restore
(t *testing.T)
probe/plugins/registry_internal_test.go:142
↓ 13 callers
Function
setup
(t *testing.T, sockets ...fs.Entry)
probe/plugins/registry_internal_test.go:129
↓ 13 callers
Method
setupStore
(resource string)
probe/kubernetes/client.go:220
↓ 12 callers
Method
Topology
Topology returns one of the report's topologies, selected by name.
report/report.go:445
↓ 12 callers
Function
checkLoadedPluginIDs
(t *testing.T, forEach iterator, expectedIDs []string)
probe/plugins/registry_internal_test.go:160
↓ 12 callers
Method
describe
GetLogs is the control to get the logs for a kubernetes pod
probe/kubernetes/controls.go:121
↓ 11 callers
Method
Before
Before is used for sorting nodes by topology and id
report/node.go:55
next →
1–100 of 3,787, ranked by callers