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
↓ 6 callers
Method
addChildAndChildren
Like addChild, but also add m's children.
render/render.go:218
↓ 6 callers
Function
benchmarkRenderTopology
(b *testing.B, topologyID string)
app/benchmark_internal_test.go:107
↓ 6 callers
Function
benchmarkSummarizeTopology
(b *testing.B, topologyID string)
app/benchmark_internal_test.go:143
↓ 6 callers
Function
checkURL
(t *testing.T, u string, prefix string, contains []string)
render/detailed/links_test.go:117
↓ 6 callers
Function
clearNodes
(state)
client/app/scripts/reducers/root.js:183
↓ 6 callers
Function
fromGraphNodeId
(encodedId)
client/app/scripts/charts/nodes-layout.js:31
↓ 6 callers
Function
getAdjacentNodes
(state, originNodeId)
client/app/scripts/utils/topology-utils.js:157
↓ 6 callers
Function
gzipHandler
(h http.HandlerFunc)
app/router.go:88
↓ 6 callers
Function
isTopologyNodeCountZero
(state)
client/app/scripts/utils/topology-utils.js:141
↓ 6 callers
Function
makeKey
(tuple fourTuple, namespace uint32)
probe/endpoint/ebpf.go:34
↓ 6 callers
Function
newMockClient
()
probe/docker/registry_test.go:289
↓ 6 callers
Function
nodeSummaryWithMetrics
(label string, metrics []report.MetricRow)
render/detailed/links_test.go:34
↓ 6 callers
Function
parseUint64WithSpaces
parseUint64WithSpaces is similar to strconv.ParseUint64 but stops parsing when reading a space instead of returning an error
probe/process/walker_linux.go:63
↓ 6 callers
Function
setupStubs
(mdc *mockDockerClient, f func())
probe/docker/registry_test.go:298
↓ 6 callers
Function
testReporter
(t *testing.T, noCommandLineArguments bool, test func(report.Report))
probe/process/reporter_test.go:32
↓ 6 callers
Method
topology
topology returns a reference to one of the report's topologies, selected by name.
report/report.go:392
↓ 5 callers
Method
AddString
AddString adds a single string under a key, creating a new StringSet if necessary.
report/sets.go:50
↓ 5 callers
Function
CensorNode
CensorNode removes any sensitive data from a node.
render/detailed/censor.go:36
↓ 5 callers
Function
CensorRawReport
CensorRawReport removes any sensitive data from the raw report based on the request query params.
report/censor.go:41
↓ 5 callers
Function
Complement
Complement takes a FilterFunc f and returns a FilterFunc that has the same effects, if any, and returns the opposite truth value.
render/filters.go:61
↓ 5 callers
Method
Dial
(urlStr string, requestHeader http.Header)
common/xfer/websocket.go:64
↓ 5 callers
Method
ForEach
ForEach walks through all the plugins running f for each one.
probe/plugins/registry.go:195
↓ 5 callers
Method
HandleControlRequest
HandleControlRequest performs a control request.
probe/controls/controls.go:118
↓ 5 callers
Function
ImageNameWithoutTag
ImageNameWithoutTag splits the image name apart, returning the name without the version, if possible
probe/docker/container.go:460
↓ 5 callers
Method
Keys
Keys returns the keys for this set
report/sets.go:25
↓ 5 callers
Method
LookupCounter
LookupCounter returns the value of a counter (counters are stored as strings, to keep the data structure simple)
report/node.go:84
↓ 5 callers
Function
MakeECSServiceNodeID
MakeECSServiceNodeID produces an ECS Service node ID from its composite parts.
report/id.go:94
↓ 5 callers
Function
MakeGroupNodeTopology
MakeGroupNodeTopology joins the parts of a group topology into the topology of a group node
render/id.go:40
↓ 5 callers
Function
MakeReduce
MakeReduce is the only sane way to produce a Reduce Renderer.
render/render.go:67
↓ 5 callers
Function
MakeScopedEndpointNodeID
MakeScopedEndpointNodeID is like MakeEndpointNodeID, but it always prefixes the ID with a scope.
report/id.go:78
↓ 5 callers
Method
OnClose
(func())
common/xfer/pipes.go:18
↓ 5 callers
Method
ReadMessage
()
common/xfer/websocket.go:35
↓ 5 callers
Method
Register
Register a new control handler under a given id. Implementations should not call Lock() or Unlock() here, it will be done by HandlerRegistry.
probe/controls/controls.go:20
↓ 5 callers
Method
Release
(context.Context, string, End)
app/pipe_router.go:42
↓ 5 callers
Method
Rm
Rm deletes the handler for a given name. Implementations should not call Lock() or Unlock() here, it will be done by HandlerRegistry.
probe/controls/controls.go:24
↓ 5 callers
Method
Selector
()
probe/kubernetes/job.go:14
↓ 5 callers
Method
Size
Size returns the number of elements.
report/latest_map_generated.go:41
↓ 5 callers
Method
Stop
()
probe/appclient/app_client.go:38
↓ 5 callers
Method
StopGatheringStats
()
probe/docker/container.go:61
↓ 5 callers
Method
Summary
Summary returns a human-readable string summarising the contents, for diagnostic purposes
report/report.go:484
↓ 5 callers
Method
WalkTopologies
WalkTopologies iterates through the Topologies of the report, potentially modifying them
report/report.go:368
↓ 5 callers
Method
WriteJSON
(v interface{})
common/xfer/websocket.go:38
↓ 5 callers
Function
checkGet
checkGet does a GET and returns the response and the body
app/scope_test.go:40
↓ 5 callers
Function
checkMetric
(t *testing.T, metric report.Metric, min, max float64)
report/metrics_test.go:52
↓ 5 callers
Function
clickColumn
(title)
client/app/scripts/components/node-details/__tests__/node-details-table-test.js:80
↓ 5 callers
Function
connectionID
(nodeID string, addr string)
render/detailed/node_test.go:28
↓ 5 callers
Function
containingIPv4Networks
(ipstrings []string)
report/networks_test.go:36
↓ 5 callers
Function
findNodeMatch
* Adds a match to nodeMatches under the keyPath. The text is matched against * the query. If a prefix is given, it is matched against the label (skip
client/app/scripts/utils/search-utils.js:68
↓ 5 callers
Function
findTopologyById
(subTree, topologyId)
client/app/scripts/utils/topology-utils.js:60
↓ 5 callers
Function
formatMetricQueries
(filter string, ids []string)
render/detailed/links.go:76
↓ 5 callers
Function
fromHexChar
fromHexChar converts a hex character into its value.
probe/endpoint/procspy/procnet.go:164
↓ 5 callers
Function
getNodeDetails
(getState, dispatch)
client/app/scripts/utils/web-api-utils.js:179
↓ 5 callers
Function
getTopologies
(getState, dispatch, forceRequest)
client/app/scripts/actions/request-actions.js:239
↓ 5 callers
Method
handleConnection
(ev tracer.EventType, tuple fourTuple, pid int, networkNamespace uint32)
probe/endpoint/ebpf.go:292
↓ 5 callers
Function
isNodesDisplayEmpty
(state)
client/app/scripts/utils/topology-utils.js:148
↓ 5 callers
Function
makeFourTuple
(fromAddr, toAddr net.IP, fromPort, toPort uint16)
probe/endpoint/four_tuple.go:18
↓ 5 callers
Function
mapStringHandler
mapStringHandler returns an http.Handler which just prints the given string for each path
probe/plugins/registry_internal_test.go:184
↓ 5 callers
Function
pluginSpec
(ID string, interfaces ...string)
probe/plugins/registry_internal_test.go:687
↓ 5 callers
Function
print
(profiles []*cover.Profile)
tools/cover/cover.go:58
↓ 5 callers
Function
renderParents
renderParents produces a 'standard' renderer for mapping from some child topology to some parent topologies, by taking a child renderer, mapping to pa
render/pod.go:122
↓ 5 callers
Method
run
(hosts []string)
tools/runner/runner.go:79
↓ 5 callers
Function
split2
Split a string s into two parts separated by sep.
report/id.go:256
↓ 5 callers
Function
storageSet
(key, value, storage = localSessionStorage)
client/app/scripts/utils/storage-utils.js:33
↓ 5 callers
Function
testReport
(topology report.Topology, spec xfer.PluginSpec)
probe/plugins/registry_internal_test.go:696
↓ 5 callers
Function
topologyWithControls
(label, nodeID string, controlIndices, nodeControlIndices []int)
probe/plugins/registry_internal_test.go:680
↓ 4 callers
Method
AddContainerFilters
AddContainerFilters adds container filters to this Registry
app/api_topologies.go:419
↓ 4 callers
Method
AddControls
AddControls adds a collection of controls to cs.
report/controls.go:48
↓ 4 callers
Function
AnyFilterFunc
AnyFilterFunc checks if any of the filterfuncs matches.
render/filters.go:36
↓ 4 callers
Method
Broadcast
()
app/collector.go:93
↓ 4 callers
Method
CAS
(p *consul.KVPair, q *consul.WriteOptions)
app/multitenant/consul_client.go:53
↓ 4 callers
Method
Close
Close shuts down the registry. It can still be used after this, but will be out of date.
probe/plugins/registry.go:320
↓ 4 callers
Function
ColorConnected
ColorConnected colors nodes with the IsConnectedMark key if they have edges to or from them. Edges to/from yourself are not counted here (see #656).
render/filters.go:189
↓ 4 callers
Method
CopyToWebsocket
(io.ReadWriter, Websocket)
common/xfer/pipes.go:14
↓ 4 callers
Method
ExtractTable
ExtractTable returns the rows to build either a property list or a generic table from this node. It also returns the number of rows, if any, that were
report/table.go:128
↓ 4 callers
Method
ForEach
ForEach executes f for each spec in the set. Nodes are traversed in sorted order.
common/xfer/plugin_spec.go:110
↓ 4 callers
Function
GetCensorConfigFromRequest
GetCensorConfigFromRequest extracts censor config from request query params.
report/censor.go:16
↓ 4 callers
Method
ID
()
probe/docker/container.go:51
↓ 4 callers
Method
Image
()
probe/docker/container.go:52
↓ 4 callers
Function
IsExpectedWSCloseError
IsExpectedWSCloseError returns boolean indicating whether the error is a clean disconnection.
common/xfer/websocket.go:169
↓ 4 callers
Method
LastSample
LastSample obtains the last sample of the metric
report/metrics.go:178
↓ 4 callers
Method
Len
()
render/detailed/topology_diff_test.go:16
↓ 4 callers
Function
MakeAPITopologyOption
MakeAPITopologyOption provides an external interface to the package for creating an APITopologyOption.
app/api_topologies.go:150
↓ 4 callers
Function
MakeMap
MakeMap makes a new Map
render/render.go:109
↓ 4 callers
Function
MakeNetworks
MakeNetworks creates a datastructure representing a set of networks.
report/networks.go:21
↓ 4 callers
Function
MakeNode
MakeNode transforms a renderable node to a detailed node. It uses aggregate metadata, plus the set of origin node IDs, to produce tables.
render/detailed/node.go:91
↓ 4 callers
Function
MakeRegistry
MakeRegistry returns a new Registry
app/api_topologies.go:161
↓ 4 callers
Function
NewClient
NewClient makes a new Client
common/weave/client.go:114
↓ 4 callers
Function
NewContainer
NewContainer creates a new Container
probe/docker/container.go:80
↓ 4 callers
Function
NewRegistry
NewRegistry creates a new registry which watches the given dir root for new plugins, and adds them.
probe/plugins/registry.go:64
↓ 4 callers
Function
NewRegistry
NewRegistry returns a usable Registry. Don't forget to Stop it.
probe/docker/registry.go:112
↓ 4 callers
Function
NewReporter
NewReporter makes a new Reporter
probe/kubernetes/reporter.go:198
↓ 4 callers
Function
NewResolver
NewResolver periodically resolves the targets, and calls the set function with all the resolved IPs. It explictiy supports targets which resolve to mu
probe/appclient/resolver.go:81
↓ 4 callers
Function
ParseTargets
ParseTargets deals with missing information in the targets string, defaulting the scheme, port etc.
probe/appclient/resolver.go:138
↓ 4 callers
Method
Read
(p []byte)
report/marshal.go:60
↓ 4 callers
Method
Set
(flagValue string)
prog/main.go:202
↓ 4 callers
Method
Stop
()
probe/appclient/multi_client.go:44
↓ 4 callers
Method
Stop
()
probe/appclient/resolver.go:43
↓ 4 callers
Method
Stop
Stop stops the reporter.
probe/host/reporter.go:154
↓ 4 callers
Method
Transform
(nodes Nodes)
render/render.go:41
↓ 4 callers
Function
URLMatcher
URLMatcher uses request.RequestURI (the raw, unparsed request) to attempt to match pattern. It does this as go's URL.Parse method is broken, and mist
app/router.go:54
← previous
next →
201–300 of 3,787, ranked by callers