MCPcopy Create free account

hub / github.com/weaveworks/scope / functions

Functions3,787 in github.com/weaveworks/scope

↓ 11 callersMethodFormat
(entry *log.Entry)
prog/main.go:52
↓ 11 callersMethodWithParent
WithParent returns a fresh copy of n, with one parent added
report/node.go:147
↓ 11 callersFunctionbenchmarkRender
(b *testing.B, r render.Renderer)
render/benchmark_test.go:43
↓ 11 callersFunctioncontrolID
(index int)
probe/plugins/registry_internal_test.go:640
↓ 11 callersMethodfirst
()
report/metrics.go:54
↓ 11 callersFunctiongetRawJSON
getRawJSON GETs a file, checks it is JSON, and returns the non-parsed body
app/scope_test.go:72
↓ 11 callersMethodtest
(t *testing.T)
app/multitenant/consul_pipe_router_internal_test.go:39
↓ 11 callersFunctiontestRegistry
(t *testing.T, apiVersion string)
probe/plugins/registry_internal_test.go:30
↓ 11 callersMethodupdate
(ctx context.Context)
app/api_topology.go:167
↓ 10 callersMethodAddReporter
AddReporter adds a new Reported to the Probe
probe/probe.go:105
↓ 10 callersMethodDelete
(context.Context, string)
app/pipe_router.go:43
↓ 10 callersMethodEnds
()
common/xfer/pipes.go:13
↓ 10 callersMethodSize
Size is the number of specs in the set
common/xfer/plugin_spec.go:101
↓ 10 callersMethodStop
()
probe/kubernetes/client.go:43
↓ 10 callersMethodStop
Stops the scanning
probe/endpoint/procspy/spy.go:46
↓ 10 callersMethodTick
()
probe/probe.go:75
↓ 10 callersMethodWithMax
WithMax returns a fresh copy of m, with Max set to max
report/metrics.go:103
↓ 10 callersMethodWithMetricTemplates
WithMetricTemplates merges some metadata templates into this topology, returning a new topology.
report/topology.go:49
↓ 10 callersMethodaddrFor
(e app.End)
app/multitenant/consul_pipe_router.go:49
↓ 10 callersFunctioncheck
(t *testing.T, desc string, haveSets report.Sets, want map[string][]string)
report/sets_test.go:69
↓ 10 callersFunctiondoRequest
(opts)
client/app/scripts/utils/web-api-utils.js:113
↓ 10 callersFunctionfakeControlID
(pluginID, controlID string)
probe/plugins/registry.go:346
↓ 10 callersFunctiongetNodeCoordinates
(nodes)
client/app/scripts/charts/__tests__/nodes-layout-test.js:10
↓ 10 callersFunctionnextField
(s []byte)
probe/endpoint/procspy/procnet.go:102
↓ 10 callersFunctionstringOrBlank
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 callersMethodAddPrefixPropertyList
AddPrefixPropertyList appends arbitrary key-value pairs to the Node, returning a new node.
report/table.go:38
↓ 9 callersMethodGet
(key string, q *consul.QueryOptions)
app/multitenant/consul_client.go:54
↓ 9 callersMethodHandler
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 callersMethodLookupEntry
LookupEntry returns the raw entry for the given key.
report/latest_map_generated.go:124
↓ 9 callersFunctionMakeNodeSummary
MakeNodeSummary summarizes a node, if possible.
render/detailed/summary.go:156
↓ 9 callersFunctionMemoise
Memoise wraps the renderer in a loving embrace of caching.
render/memoise.go:30
↓ 9 callersMethodNamespace
()
probe/kubernetes/meta.go:24
↓ 9 callersMethodNext
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 callersFunctionParseEndpointNodeID
ParseEndpointNodeID produces the scope, address, and port and remainder. Note that scope may be blank.
report/id.go:272
↓ 9 callersMethodPublish
(io.Reader, bool)
probe/appclient/app_client.go:35
↓ 9 callersMethodWrite
(p []byte)
probe/plugins/registry_internal_test.go:119
↓ 9 callersMethodadd
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 callersFunctionbuildUrlQuery
(params = makeMap(), state = null)
client/app/scripts/utils/web-api-utils.js:35
↓ 9 callersFunctiongetWebsocketUrl
(host = window.location.host, pathname = window.location.pathname)
client/app/scripts/utils/web-api-utils.js:98
↓ 9 callersFunctionmustMarshal
(value interface{})
probe/plugins/registry_internal_test.go:645
↓ 9 callersMethodsend
(event *client.APIEvents)
probe/docker/registry_test.go:194
↓ 9 callersFunctiontopologyServer
()
app/api_report_test.go:15
↓ 8 callersMethodBatch
Batch first deletes handlers for given names in toRemove then registers new handlers for given names in toAdd.
probe/controls/controls.go:106
↓ 8 callersMethodLen
()
tools/runner/runner.go:58
↓ 8 callersMethodLen
()
probe/docker/registry_test.go:315
↓ 8 callersFunctionRenderMetricURLs
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 callersMethodRendererForTopology
RendererForTopology ..
app/api_topologies.go:531
↓ 8 callersMethodString
()
probe/endpoint/four_tuple.go:25
↓ 8 callersFunctionTopoDiff
TopoDiff gives you the diff to get from A to B.
render/detailed/topology_diff.go:17
↓ 8 callersMethodUnsafeMerge
UnsafeMerge merges another Report into the receiver. The original is modified.
report/report.go:342
↓ 8 callersMethodWriteBinary
WriteBinary writes a Report as a gzipped msgpack into a bytes.Buffer
report/marshal.go:43
↓ 8 callersMethodasyncDispatch
(v)
client/app/scripts/components/debug-toolbar.js:165
↓ 8 callersFunctionbasePath
(urlPath)
client/app/scripts/utils/web-api-utils.js:51
↓ 8 callersFunctioncaptureContainerID
(f func(string, xfer.Request) xfer.Response)
probe/docker/controls.go:185
↓ 8 callersFunctionchild
(t *testing.T, r render.Renderer, id string)
render/detailed/node_test.go:20
↓ 8 callersFunctionconstructEdgeId
(source, target)
client/app/scripts/utils/layouter-utils.js:10
↓ 8 callersFunctionmatch
Match parses the selectors and adds the target as a parent if the selector matches.
probe/kubernetes/reporter.go:556
↓ 8 callersFunctionmatchColumnValues
(columnLabel, expectedValues)
client/app/scripts/components/node-details/__tests__/node-details-table-test.js:61
↓ 8 callersFunctionreceiveNodesDelta
(delta)
client/app/scripts/actions/app-actions.js:331
↓ 8 callersMethodstop
()
probe/endpoint/conntrack.go:29
↓ 8 callersMethodtrackEvent
(eventName)
client/app/scripts/components/metric-selector-item.js:18
↓ 7 callersMethodAddTagger
AddTagger adds a new Tagger to the Probe
probe/probe.go:100
↓ 7 callersMethodClosed
()
common/xfer/pipes.go:17
↓ 7 callersMethodGetNode
()
probe/docker/container.go:55
↓ 7 callersFunctionMakeFromBinary
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 callersFunctionMakeOverlayNodeID
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 callersMethodNamespace
()
probe/kubernetes/reporter.go:552
↓ 7 callersFunctionNewAppClient
NewAppClient makes a new appClient.
probe/appclient/app_client.go:68
↓ 7 callersFunctionNewCollector
NewCollector returns a collector ready for use.
app/collector.go:106
↓ 7 callersFunctionNewFastMerger
NewFastMerger makes a Merger which merges together reports, mutating the one we are building up
app/merger.go:19
↓ 7 callersMethodNext
()
probe/endpoint/procspy/spy.go:38
↓ 7 callersMethodPID
()
probe/docker/container.go:53
↓ 7 callersMethodStart
Start starts the probe
probe/probe.go:115
↓ 7 callersMethodStop
()
probe/docker/registry.go:36
↓ 7 callersMethodStop
()
app/pipe_router.go:44
↓ 7 callersMethodTag
(r report.Report)
probe/probe.go:48
↓ 7 callersFunctionaddKubernetesLabelAndRank
(base BasicNodeSummary, n report.Node)
render/detailed/summary.go:301
↓ 7 callersFunctionappendTime
(url, time)
client/app/scripts/components/node-details/node-details-health-link-item.js:17
↓ 7 callersFunctiondeepValueEqual
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 callersFunctionfakeConnections
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 callersFunctionget
(node, key)
client/app/scripts/utils/search-utils.js:265
↓ 7 callersFunctiongetNodes
(getState, dispatch, forceRequest = false)
client/app/scripts/actions/request-actions.js:155
↓ 7 callersFunctiongetResourceViewNodesSnapshot
(state, dispatch)
client/app/scripts/utils/web-api-utils.js:174
↓ 7 callersFunctionnewJoinResults
(inputNodes report.Nodes)
render/render.go:167
↓ 7 callersFunctionreceiveError
(errorUrl)
client/app/scripts/actions/app-actions.js:401
↓ 7 callersMethodresult
Rewrite Adjacency of nodes in ret mapped from original nodes in input, and return the result.
render/render.go:236
↓ 6 callersMethodCapturePod
CapturePod is exported for testing
probe/kubernetes/controls.go:221
↓ 6 callersFunctionCensorNodeSummaries
CensorNodeSummaries removes any sensitive data from a list of node summaries.
render/detailed/censor.go:42
↓ 6 callersFunctionConditionalRenderer
ConditionalRenderer renders nothing if the condition is false, otherwise it defers to the wrapped Renderer.
render/render.go:149
↓ 6 callersFunctionIsInternetNode
IsInternetNode determines whether the node represents the Internet.
render/id.go:16
↓ 6 callersFunctionMakeAddressNodeID
MakeAddressNodeID produces an address node ID from its composite parts.
report/id.go:47
↓ 6 callersFunctionMakeFilter
MakeFilter makes a new Filter (that ignores pseudo nodes).
render/filters.go:99
↓ 6 callersFunctionMaxBytesReader
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 callersFunctionNewPod
NewPod creates a new Pod
probe/kubernetes/pod.go:38
↓ 6 callersFunctionNewProcNet
NewProcNet gives a new ProcNet parser.
probe/endpoint/procspy/procnet.go:20
↓ 6 callersFunctionNewWalker
NewWalker returns a Darwin (lsof-based) walker.
probe/process/walker_darwin.go:11
↓ 6 callersMethodReset
()
cri/runtime/api.pb.go:430
↓ 6 callersMethodSize
Size is the number of nodes in the set
report/node_set.go:119
↓ 6 callersFunctionSummaries
Summaries converts RenderableNodes into a set of NodeSummaries
render/detailed/summary.go:455
↓ 6 callersMethodUpgrade
Upgrade returns a new report based on a report received from the old probe.
report/backcompat.go:63
← previousnext →101–200 of 3,787, ranked by callers