MCPcopy Create free account

hub / github.com/weaveworks/scope / functions

Functions3,787 in github.com/weaveworks/scope

↓ 6 callersMethodaddChildAndChildren
Like addChild, but also add m's children.
render/render.go:218
↓ 6 callersFunctionbenchmarkRenderTopology
(b *testing.B, topologyID string)
app/benchmark_internal_test.go:107
↓ 6 callersFunctionbenchmarkSummarizeTopology
(b *testing.B, topologyID string)
app/benchmark_internal_test.go:143
↓ 6 callersFunctioncheckURL
(t *testing.T, u string, prefix string, contains []string)
render/detailed/links_test.go:117
↓ 6 callersFunctionclearNodes
(state)
client/app/scripts/reducers/root.js:183
↓ 6 callersFunctionfromGraphNodeId
(encodedId)
client/app/scripts/charts/nodes-layout.js:31
↓ 6 callersFunctiongetAdjacentNodes
(state, originNodeId)
client/app/scripts/utils/topology-utils.js:157
↓ 6 callersFunctiongzipHandler
(h http.HandlerFunc)
app/router.go:88
↓ 6 callersFunctionisTopologyNodeCountZero
(state)
client/app/scripts/utils/topology-utils.js:141
↓ 6 callersFunctionmakeKey
(tuple fourTuple, namespace uint32)
probe/endpoint/ebpf.go:34
↓ 6 callersFunctionnewMockClient
()
probe/docker/registry_test.go:289
↓ 6 callersFunctionnodeSummaryWithMetrics
(label string, metrics []report.MetricRow)
render/detailed/links_test.go:34
↓ 6 callersFunctionparseUint64WithSpaces
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 callersFunctionsetupStubs
(mdc *mockDockerClient, f func())
probe/docker/registry_test.go:298
↓ 6 callersFunctiontestReporter
(t *testing.T, noCommandLineArguments bool, test func(report.Report))
probe/process/reporter_test.go:32
↓ 6 callersMethodtopology
topology returns a reference to one of the report's topologies, selected by name.
report/report.go:392
↓ 5 callersMethodAddString
AddString adds a single string under a key, creating a new StringSet if necessary.
report/sets.go:50
↓ 5 callersFunctionCensorNode
CensorNode removes any sensitive data from a node.
render/detailed/censor.go:36
↓ 5 callersFunctionCensorRawReport
CensorRawReport removes any sensitive data from the raw report based on the request query params.
report/censor.go:41
↓ 5 callersFunctionComplement
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 callersMethodDial
(urlStr string, requestHeader http.Header)
common/xfer/websocket.go:64
↓ 5 callersMethodForEach
ForEach walks through all the plugins running f for each one.
probe/plugins/registry.go:195
↓ 5 callersMethodHandleControlRequest
HandleControlRequest performs a control request.
probe/controls/controls.go:118
↓ 5 callersFunctionImageNameWithoutTag
ImageNameWithoutTag splits the image name apart, returning the name without the version, if possible
probe/docker/container.go:460
↓ 5 callersMethodKeys
Keys returns the keys for this set
report/sets.go:25
↓ 5 callersMethodLookupCounter
LookupCounter returns the value of a counter (counters are stored as strings, to keep the data structure simple)
report/node.go:84
↓ 5 callersFunctionMakeECSServiceNodeID
MakeECSServiceNodeID produces an ECS Service node ID from its composite parts.
report/id.go:94
↓ 5 callersFunctionMakeGroupNodeTopology
MakeGroupNodeTopology joins the parts of a group topology into the topology of a group node
render/id.go:40
↓ 5 callersFunctionMakeReduce
MakeReduce is the only sane way to produce a Reduce Renderer.
render/render.go:67
↓ 5 callersFunctionMakeScopedEndpointNodeID
MakeScopedEndpointNodeID is like MakeEndpointNodeID, but it always prefixes the ID with a scope.
report/id.go:78
↓ 5 callersMethodOnClose
(func())
common/xfer/pipes.go:18
↓ 5 callersMethodReadMessage
()
common/xfer/websocket.go:35
↓ 5 callersMethodRegister
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 callersMethodRelease
(context.Context, string, End)
app/pipe_router.go:42
↓ 5 callersMethodRm
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 callersMethodSelector
()
probe/kubernetes/job.go:14
↓ 5 callersMethodSize
Size returns the number of elements.
report/latest_map_generated.go:41
↓ 5 callersMethodStop
()
probe/appclient/app_client.go:38
↓ 5 callersMethodStopGatheringStats
()
probe/docker/container.go:61
↓ 5 callersMethodSummary
Summary returns a human-readable string summarising the contents, for diagnostic purposes
report/report.go:484
↓ 5 callersMethodWalkTopologies
WalkTopologies iterates through the Topologies of the report, potentially modifying them
report/report.go:368
↓ 5 callersMethodWriteJSON
(v interface{})
common/xfer/websocket.go:38
↓ 5 callersFunctioncheckGet
checkGet does a GET and returns the response and the body
app/scope_test.go:40
↓ 5 callersFunctioncheckMetric
(t *testing.T, metric report.Metric, min, max float64)
report/metrics_test.go:52
↓ 5 callersFunctionclickColumn
(title)
client/app/scripts/components/node-details/__tests__/node-details-table-test.js:80
↓ 5 callersFunctionconnectionID
(nodeID string, addr string)
render/detailed/node_test.go:28
↓ 5 callersFunctioncontainingIPv4Networks
(ipstrings []string)
report/networks_test.go:36
↓ 5 callersFunctionfindNodeMatch
* 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 callersFunctionfindTopologyById
(subTree, topologyId)
client/app/scripts/utils/topology-utils.js:60
↓ 5 callersFunctionformatMetricQueries
(filter string, ids []string)
render/detailed/links.go:76
↓ 5 callersFunctionfromHexChar
fromHexChar converts a hex character into its value.
probe/endpoint/procspy/procnet.go:164
↓ 5 callersFunctiongetNodeDetails
(getState, dispatch)
client/app/scripts/utils/web-api-utils.js:179
↓ 5 callersFunctiongetTopologies
(getState, dispatch, forceRequest)
client/app/scripts/actions/request-actions.js:239
↓ 5 callersMethodhandleConnection
(ev tracer.EventType, tuple fourTuple, pid int, networkNamespace uint32)
probe/endpoint/ebpf.go:292
↓ 5 callersFunctionisNodesDisplayEmpty
(state)
client/app/scripts/utils/topology-utils.js:148
↓ 5 callersFunctionmakeFourTuple
(fromAddr, toAddr net.IP, fromPort, toPort uint16)
probe/endpoint/four_tuple.go:18
↓ 5 callersFunctionmapStringHandler
mapStringHandler returns an http.Handler which just prints the given string for each path
probe/plugins/registry_internal_test.go:184
↓ 5 callersFunctionpluginSpec
(ID string, interfaces ...string)
probe/plugins/registry_internal_test.go:687
↓ 5 callersFunctionprint
(profiles []*cover.Profile)
tools/cover/cover.go:58
↓ 5 callersFunctionrenderParents
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 callersMethodrun
(hosts []string)
tools/runner/runner.go:79
↓ 5 callersFunctionsplit2
Split a string s into two parts separated by sep.
report/id.go:256
↓ 5 callersFunctionstorageSet
(key, value, storage = localSessionStorage)
client/app/scripts/utils/storage-utils.js:33
↓ 5 callersFunctiontestReport
(topology report.Topology, spec xfer.PluginSpec)
probe/plugins/registry_internal_test.go:696
↓ 5 callersFunctiontopologyWithControls
(label, nodeID string, controlIndices, nodeControlIndices []int)
probe/plugins/registry_internal_test.go:680
↓ 4 callersMethodAddContainerFilters
AddContainerFilters adds container filters to this Registry
app/api_topologies.go:419
↓ 4 callersMethodAddControls
AddControls adds a collection of controls to cs.
report/controls.go:48
↓ 4 callersFunctionAnyFilterFunc
AnyFilterFunc checks if any of the filterfuncs matches.
render/filters.go:36
↓ 4 callersMethodBroadcast
()
app/collector.go:93
↓ 4 callersMethodCAS
(p *consul.KVPair, q *consul.WriteOptions)
app/multitenant/consul_client.go:53
↓ 4 callersMethodClose
Close shuts down the registry. It can still be used after this, but will be out of date.
probe/plugins/registry.go:320
↓ 4 callersFunctionColorConnected
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 callersMethodCopyToWebsocket
(io.ReadWriter, Websocket)
common/xfer/pipes.go:14
↓ 4 callersMethodExtractTable
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 callersMethodForEach
ForEach executes f for each spec in the set. Nodes are traversed in sorted order.
common/xfer/plugin_spec.go:110
↓ 4 callersFunctionGetCensorConfigFromRequest
GetCensorConfigFromRequest extracts censor config from request query params.
report/censor.go:16
↓ 4 callersMethodID
()
probe/docker/container.go:51
↓ 4 callersMethodImage
()
probe/docker/container.go:52
↓ 4 callersFunctionIsExpectedWSCloseError
IsExpectedWSCloseError returns boolean indicating whether the error is a clean disconnection.
common/xfer/websocket.go:169
↓ 4 callersMethodLastSample
LastSample obtains the last sample of the metric
report/metrics.go:178
↓ 4 callersMethodLen
()
render/detailed/topology_diff_test.go:16
↓ 4 callersFunctionMakeAPITopologyOption
MakeAPITopologyOption provides an external interface to the package for creating an APITopologyOption.
app/api_topologies.go:150
↓ 4 callersFunctionMakeMap
MakeMap makes a new Map
render/render.go:109
↓ 4 callersFunctionMakeNetworks
MakeNetworks creates a datastructure representing a set of networks.
report/networks.go:21
↓ 4 callersFunctionMakeNode
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 callersFunctionMakeRegistry
MakeRegistry returns a new Registry
app/api_topologies.go:161
↓ 4 callersFunctionNewClient
NewClient makes a new Client
common/weave/client.go:114
↓ 4 callersFunctionNewContainer
NewContainer creates a new Container
probe/docker/container.go:80
↓ 4 callersFunctionNewRegistry
NewRegistry creates a new registry which watches the given dir root for new plugins, and adds them.
probe/plugins/registry.go:64
↓ 4 callersFunctionNewRegistry
NewRegistry returns a usable Registry. Don't forget to Stop it.
probe/docker/registry.go:112
↓ 4 callersFunctionNewReporter
NewReporter makes a new Reporter
probe/kubernetes/reporter.go:198
↓ 4 callersFunctionNewResolver
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 callersFunctionParseTargets
ParseTargets deals with missing information in the targets string, defaulting the scheme, port etc.
probe/appclient/resolver.go:138
↓ 4 callersMethodRead
(p []byte)
report/marshal.go:60
↓ 4 callersMethodSet
(flagValue string)
prog/main.go:202
↓ 4 callersMethodStop
()
probe/appclient/multi_client.go:44
↓ 4 callersMethodStop
()
probe/appclient/resolver.go:43
↓ 4 callersMethodStop
Stop stops the reporter.
probe/host/reporter.go:154
↓ 4 callersMethodTransform
(nodes Nodes)
render/render.go:41
↓ 4 callersFunctionURLMatcher
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
← previousnext →201–300 of 3,787, ranked by callers