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
↓ 11 callers
Method
Format
(entry *log.Entry)
prog/main.go:52
↓ 11 callers
Method
WithParent
WithParent returns a fresh copy of n, with one parent added
report/node.go:147
↓ 11 callers
Function
benchmarkRender
(b *testing.B, r render.Renderer)
render/benchmark_test.go:43
↓ 11 callers
Function
controlID
(index int)
probe/plugins/registry_internal_test.go:640
↓ 11 callers
Method
first
()
report/metrics.go:54
↓ 11 callers
Function
getRawJSON
getRawJSON GETs a file, checks it is JSON, and returns the non-parsed body
app/scope_test.go:72
↓ 11 callers
Method
test
(t *testing.T)
app/multitenant/consul_pipe_router_internal_test.go:39
↓ 11 callers
Function
testRegistry
(t *testing.T, apiVersion string)
probe/plugins/registry_internal_test.go:30
↓ 11 callers
Method
update
(ctx context.Context)
app/api_topology.go:167
↓ 10 callers
Method
AddReporter
AddReporter adds a new Reported to the Probe
probe/probe.go:105
↓ 10 callers
Method
Delete
(context.Context, string)
app/pipe_router.go:43
↓ 10 callers
Method
Ends
()
common/xfer/pipes.go:13
↓ 10 callers
Method
Size
Size is the number of specs in the set
common/xfer/plugin_spec.go:101
↓ 10 callers
Method
Stop
()
probe/kubernetes/client.go:43
↓ 10 callers
Method
Stop
Stops the scanning
probe/endpoint/procspy/spy.go:46
↓ 10 callers
Method
Tick
()
probe/probe.go:75
↓ 10 callers
Method
WithMax
WithMax returns a fresh copy of m, with Max set to max
report/metrics.go:103
↓ 10 callers
Method
WithMetricTemplates
WithMetricTemplates merges some metadata templates into this topology, returning a new topology.
report/topology.go:49
↓ 10 callers
Method
addrFor
(e app.End)
app/multitenant/consul_pipe_router.go:49
↓ 10 callers
Function
check
(t *testing.T, desc string, haveSets report.Sets, want map[string][]string)
report/sets_test.go:69
↓ 10 callers
Function
doRequest
(opts)
client/app/scripts/utils/web-api-utils.js:113
↓ 10 callers
Function
fakeControlID
(pluginID, controlID string)
probe/plugins/registry.go:346
↓ 10 callers
Function
getNodeCoordinates
(nodes)
client/app/scripts/charts/__tests__/nodes-layout-test.js:10
↓ 10 callers
Function
nextField
(s []byte)
probe/endpoint/procspy/procnet.go:102
↓ 10 callers
Function
stringOrBlank
Helper functions to map from the AWS practice of storing everything via a pointer to the Go practice of using zero values
probe/awsecs/client.go:94
↓ 9 callers
Method
AddPrefixPropertyList
AddPrefixPropertyList appends arbitrary key-value pairs to the Node, returning a new node.
report/table.go:38
↓ 9 callers
Method
Get
(key string, q *consul.QueryOptions)
app/multitenant/consul_client.go:54
↓ 9 callers
Method
Handler
Handler gets the handler for a control. Implementations should not call Lock() or Unlock() here, it will be done by HandlerRegistry.
probe/controls/controls.go:28
↓ 9 callers
Method
LookupEntry
LookupEntry returns the raw entry for the given key.
report/latest_map_generated.go:124
↓ 9 callers
Function
MakeNodeSummary
MakeNodeSummary summarizes a node, if possible.
render/detailed/summary.go:156
↓ 9 callers
Function
Memoise
Memoise wraps the renderer in a loving embrace of caching.
render/memoise.go:30
↓ 9 callers
Method
Namespace
()
probe/kubernetes/meta.go:24
↓ 9 callers
Method
Next
Next returns the next connection. All buffers are re-used, so if you want to keep the IPs you have to copy them.
probe/endpoint/procspy/procnet.go:30
↓ 9 callers
Function
ParseEndpointNodeID
ParseEndpointNodeID produces the scope, address, and port and remainder. Note that scope may be blank.
report/id.go:272
↓ 9 callers
Method
Publish
(io.Reader, bool)
probe/appclient/app_client.go:35
↓ 9 callers
Method
Write
(p []byte)
probe/plugins/registry_internal_test.go:119
↓ 9 callers
Method
add
Add m into the results as a top-level node, mapped from original ID Note it is not safe to mix calls to add() with addChild(), addChildAndChildren() o
render/render.go:187
↓ 9 callers
Function
buildUrlQuery
(params = makeMap(), state = null)
client/app/scripts/utils/web-api-utils.js:35
↓ 9 callers
Function
getWebsocketUrl
(host = window.location.host, pathname = window.location.pathname)
client/app/scripts/utils/web-api-utils.js:98
↓ 9 callers
Function
mustMarshal
(value interface{})
probe/plugins/registry_internal_test.go:645
↓ 9 callers
Method
send
(event *client.APIEvents)
probe/docker/registry_test.go:194
↓ 9 callers
Function
topologyServer
()
app/api_report_test.go:15
↓ 8 callers
Method
Batch
Batch first deletes handlers for given names in toRemove then registers new handlers for given names in toAdd.
probe/controls/controls.go:106
↓ 8 callers
Method
Len
()
tools/runner/runner.go:58
↓ 8 callers
Method
Len
()
probe/docker/registry_test.go:315
↓ 8 callers
Function
RenderMetricURLs
RenderMetricURLs sets respective URLs for metrics in a node summary. Missing metrics where we have a query for will be appended as an empty metric (no
render/detailed/links.go:101
↓ 8 callers
Method
RendererForTopology
RendererForTopology ..
app/api_topologies.go:531
↓ 8 callers
Method
String
()
probe/endpoint/four_tuple.go:25
↓ 8 callers
Function
TopoDiff
TopoDiff gives you the diff to get from A to B.
render/detailed/topology_diff.go:17
↓ 8 callers
Method
UnsafeMerge
UnsafeMerge merges another Report into the receiver. The original is modified.
report/report.go:342
↓ 8 callers
Method
WriteBinary
WriteBinary writes a Report as a gzipped msgpack into a bytes.Buffer
report/marshal.go:43
↓ 8 callers
Method
asyncDispatch
(v)
client/app/scripts/components/debug-toolbar.js:165
↓ 8 callers
Function
basePath
(urlPath)
client/app/scripts/utils/web-api-utils.js:51
↓ 8 callers
Function
captureContainerID
(f func(string, xfer.Request) xfer.Response)
probe/docker/controls.go:185
↓ 8 callers
Function
child
(t *testing.T, r render.Renderer, id string)
render/detailed/node_test.go:20
↓ 8 callers
Function
constructEdgeId
(source, target)
client/app/scripts/utils/layouter-utils.js:10
↓ 8 callers
Function
match
Match parses the selectors and adds the target as a parent if the selector matches.
probe/kubernetes/reporter.go:556
↓ 8 callers
Function
matchColumnValues
(columnLabel, expectedValues)
client/app/scripts/components/node-details/__tests__/node-details-table-test.js:61
↓ 8 callers
Function
receiveNodesDelta
(delta)
client/app/scripts/actions/app-actions.js:331
↓ 8 callers
Method
stop
()
probe/endpoint/conntrack.go:29
↓ 8 callers
Method
trackEvent
(eventName)
client/app/scripts/components/metric-selector-item.js:18
↓ 7 callers
Method
AddTagger
AddTagger adds a new Tagger to the Probe
probe/probe.go:100
↓ 7 callers
Method
Closed
()
common/xfer/pipes.go:17
↓ 7 callers
Method
GetNode
()
probe/docker/container.go:55
↓ 7 callers
Function
MakeFromBinary
MakeFromBinary constructs a Report from binary data. Will decompress the binary if gzipped is true, and decode as msgpack if true, otherwise JSON
report/marshal.go:79
↓ 7 callers
Function
MakeOverlayNodeID
MakeOverlayNodeID produces an overlay topology node ID from a router peer's prefix and name, which is assumed to be globally unique.
report/id.go:234
↓ 7 callers
Method
Namespace
()
probe/kubernetes/reporter.go:552
↓ 7 callers
Function
NewAppClient
NewAppClient makes a new appClient.
probe/appclient/app_client.go:68
↓ 7 callers
Function
NewCollector
NewCollector returns a collector ready for use.
app/collector.go:106
↓ 7 callers
Function
NewFastMerger
NewFastMerger makes a Merger which merges together reports, mutating the one we are building up
app/merger.go:19
↓ 7 callers
Method
Next
()
probe/endpoint/procspy/spy.go:38
↓ 7 callers
Method
PID
()
probe/docker/container.go:53
↓ 7 callers
Method
Start
Start starts the probe
probe/probe.go:115
↓ 7 callers
Method
Stop
()
probe/docker/registry.go:36
↓ 7 callers
Method
Stop
()
app/pipe_router.go:44
↓ 7 callers
Method
Tag
(r report.Report)
probe/probe.go:48
↓ 7 callers
Function
addKubernetesLabelAndRank
(base BasicNodeSummary, n report.Node)
render/detailed/summary.go:301
↓ 7 callers
Function
appendTime
(url, time)
client/app/scripts/components/node-details/node-details-health-link-item.js:17
↓ 7 callers
Function
deepValueEqual
Tests for deep equality using reflected types. The map argument tracks comparisons that have already been seen, which allows short circuiting on recur
test/reflect/deepequal.go:26
↓ 7 callers
Function
fakeConnections
a set of connections from a range of pids and a range of ports between two pids
probe/endpoint/connection_tracker_test.go:29
↓ 7 callers
Function
get
(node, key)
client/app/scripts/utils/search-utils.js:265
↓ 7 callers
Function
getNodes
(getState, dispatch, forceRequest = false)
client/app/scripts/actions/request-actions.js:155
↓ 7 callers
Function
getResourceViewNodesSnapshot
(state, dispatch)
client/app/scripts/utils/web-api-utils.js:174
↓ 7 callers
Function
newJoinResults
(inputNodes report.Nodes)
render/render.go:167
↓ 7 callers
Function
receiveError
(errorUrl)
client/app/scripts/actions/app-actions.js:401
↓ 7 callers
Method
result
Rewrite Adjacency of nodes in ret mapped from original nodes in input, and return the result.
render/render.go:236
↓ 6 callers
Method
CapturePod
CapturePod is exported for testing
probe/kubernetes/controls.go:221
↓ 6 callers
Function
CensorNodeSummaries
CensorNodeSummaries removes any sensitive data from a list of node summaries.
render/detailed/censor.go:42
↓ 6 callers
Function
ConditionalRenderer
ConditionalRenderer renders nothing if the condition is false, otherwise it defers to the wrapped Renderer.
render/render.go:149
↓ 6 callers
Function
IsInternetNode
IsInternetNode determines whether the node represents the Internet.
render/id.go:16
↓ 6 callers
Function
MakeAddressNodeID
MakeAddressNodeID produces an address node ID from its composite parts.
report/id.go:47
↓ 6 callers
Function
MakeFilter
MakeFilter makes a new Filter (that ignores pseudo nodes).
render/filters.go:99
↓ 6 callers
Function
MaxBytesReader
MaxBytesReader is similar to net/http.MaxBytesReader, but lets us choose how to handle an overflow by providing an error. net/http.MaxBytesReader uses
probe/plugins/max_bytes_reader.go:15
↓ 6 callers
Function
NewPod
NewPod creates a new Pod
probe/kubernetes/pod.go:38
↓ 6 callers
Function
NewProcNet
NewProcNet gives a new ProcNet parser.
probe/endpoint/procspy/procnet.go:20
↓ 6 callers
Function
NewWalker
NewWalker returns a Darwin (lsof-based) walker.
probe/process/walker_darwin.go:11
↓ 6 callers
Method
Reset
()
cri/runtime/api.pb.go:430
↓ 6 callers
Method
Size
Size is the number of nodes in the set
report/node_set.go:119
↓ 6 callers
Function
Summaries
Summaries converts RenderableNodes into a set of NodeSummaries
render/detailed/summary.go:455
↓ 6 callers
Method
Upgrade
Upgrade returns a new report based on a report received from the old probe.
report/backcompat.go:63
← previous
next →
101–200 of 3,787, ranked by callers