MCPcopy Create free account

hub / github.com/weaveworks/scope / functions

Functions3,787 in github.com/weaveworks/scope

↓ 726 callersMethodget
(name string)
app/api_topologies.go:450
↓ 329 callersFunctionsovApi
(x uint64)
cri/runtime/api.pb.go:10625
↓ 270 callersFunctionencodeVarintApi
(dAtA []byte, offset int, v uint64)
cri/runtime/api.pb.go:8892
↓ 216 callersMethodAdd
(context.Context, report.Report, []byte)
app/collector.go:54
↓ 181 callersFunctionMakeNode
MakeNode creates a new Node with no initial metadata.
report/node.go:26
↓ 158 callersMethodLookup
Lookup returns the sets stored under key.
report/sets.go:77
↓ 151 callersMethodSize
()
cri/runtime/api.pb.go:8976
↓ 139 callersMethodUnlock
Unlock unlocks the registry.
probe/controls/controls.go:16
↓ 138 callersFunctionMakeStringSet
MakeStringSet makes a new StringSet with the given strings.
report/string_set.go:14
↓ 135 callersMethodLock
Lock locks the backend, so the batch insertions or removals can be performed.
probe/controls/controls.go:14
↓ 123 callersFunctionskipApi
(dAtA []byte)
cri/runtime/api.pb.go:26357
↓ 100 callersFunctionMakeNodeWith
MakeNodeWith creates a new Node with the supplied map.
report/node.go:38
↓ 92 callersMethodMerge
([]report.Report)
app/merger.go:13
↓ 90 callersFunctionMakeNodeSet
MakeNodeSet makes a new NodeSet with the given nodes.
report/node_set.go:23
↓ 87 callersMethodSet
(hostname string, urls []url.URL)
probe/appclient/multi_client.go:41
↓ 86 callersFunctionDeepEqual
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 callersFunctionMakeReport
MakeReport makes a clean report, ready to Merge() other reports into.
report/report.go:223
↓ 80 callersMethodReplace
(os []interface{}, ver string)
probe/kubernetes/store.go:60
↓ 80 callersMethodWithTopology
WithTopology returns a fresh copy of n, with ID changed.
report/node.go:49
↓ 76 callersMethodMarshalTo
(dAtA []byte)
cri/runtime/api.pb.go:4939
↓ 76 callersFunctionscopeTheme
client/app/scripts/components/global-style.js:9
↓ 75 callersMethodUnmarshal
(dAtA []byte)
cri/runtime/api.pb.go:12553
↓ 72 callersMethodClose
()
common/xfer/pipes.go:16
↓ 71 callersMethodAddNode
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 callersFunctionMakeSets
MakeSets returns EmptySets
report/sets.go:20
↓ 52 callersMethodWithLatests
WithLatests returns a fresh copy of n, with Metadata m merged in.
report/node.go:70
↓ 49 callersFunctionMakeTopology
MakeTopology gives you a Topology.
report/topology.go:24
↓ 47 callersMethodRender
(context.Context, report.Report)
render/render.go:21
↓ 46 callersMethodforEach
forEach walks through all the plugins running f for each one.
probe/plugins/registry.go:181
↓ 45 callersMethodGet
(context.Context, string, End)
app/pipe_router.go:41
↓ 44 callersMethodfilter
Get the render filters to use for this option group, if any, or nil otherwise.
app/api_topologies.go:347
↓ 43 callersMethodDeepEqual
DeepEqual tests equality with other Sets
report/sets.go:133
↓ 39 callersFunctionResponseErrorf
ResponseErrorf creates a new Response with the given formatted error string.
common/xfer/controls.go:94
↓ 39 callersMethodString
()
app/pipe_router.go:31
↓ 38 callersMethodUID
()
probe/kubernetes/meta.go:22
↓ 36 callersFunctionMakePluginSpecs
MakePluginSpecs makes a new PluginSpecs with the given plugin specs.
common/xfer/plugin_spec.go:43
↓ 36 callersMethodReport
(context.Context, time.Time)
app/collector.go:31
↓ 35 callersMethodContains
Contains returns true if id is in the list.
report/id_list.go:36
↓ 35 callersMethodEqual
Equal is used for comparing nodes by topology and id
report/node.go:60
↓ 35 callersMethodWithLabel
WithLabel sets the label terminology of this topology, returning a new topology.
report/topology.go:110
↓ 34 callersFunctionMakeMetric
MakeMetric makes a new Metric from unique samples incrementally ordered in time.
report/metrics.go:77
↓ 34 callersFunctionPrune
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 callersMethodWithChildren
WithChildren returns a fresh copy of n, with children merged in.
report/node.go:165
↓ 34 callersMethodWithShape
WithShape sets the shape of nodes from this topology, returning a new topology.
report/topology.go:80
↓ 33 callersMethodAddCounter
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 callersMethodClose
()
app/collector.go:61
↓ 33 callersMethodCopy
Copy returns a value copy of the Nodes.
report/topology.go:237
↓ 31 callersMethodCopy
Copy returns a value copy of the report.
report/report.go:325
↓ 31 callersFunctionconnect
(url string, numConn int)
extras/dialer/src/dialer.go:10
↓ 31 callersMethodfile
()
probe/plugins/registry_internal_test.go:88
↓ 29 callersMethodWithAdjacent
WithAdjacent returns a fresh copy of n, with 'a' added to Adjacency
report/node.go:129
↓ 29 callersMethodlast
()
report/metrics.go:55
↓ 28 callersFunctionMakeEndpointNodeID
MakeEndpointNodeID produces an endpoint node ID from its composite parts.
report/id.go:32
↓ 28 callersMethodWithMetrics
WithMetrics returns a fresh copy of n, with metrics merged in.
report/node.go:123
↓ 28 callersFunctionrespondWith
(ctx context.Context, w http.ResponseWriter, code int, response interface{})
app/server_helpers.go:13
↓ 27 callersFunctionMakeSingletonMetric
MakeSingletonMetric makes a metric with a single value
report/metrics.go:64
↓ 27 callersFunctionMakeStringLatestMap
MakeStringLatestMap makes an empty StringLatestMap.
report/latest_map_generated.go:36
↓ 27 callersFunctionResponseError
ResponseError creates a new Response with the given error.
common/xfer/controls.go:101
↓ 26 callersFunctionupdateRoute
(getState)
client/app/scripts/utils/router-utils.js:116
↓ 25 callersFunctionstringHandler
stringHandler returns an http.Handler which just prints the given string
probe/plugins/registry_internal_test.go:196
↓ 23 callersMethodAfter
After is used for sorting nodes by topology and id
report/node.go:65
↓ 23 callersMethodWithMetadataTemplates
WithMetadataTemplates merges some metadata templates into this topology, returning a new topology.
report/topology.go:33
↓ 22 callersMethodWithParents
WithParents returns a fresh copy of n, with sets merged in.
report/node.go:153
↓ 21 callersMethodWithLatest
WithLatest produces a new Node with k mapped to v in the Latest metadata.
report/node.go:77
↓ 20 callersMethodForEach
ForEach executes f for each node in the set.
report/node_set.go:127
↓ 20 callersFunctionRender
Render renders the report and then transforms it
render/render.go:56
↓ 20 callersMethodString
()
report/sets.go:128
↓ 20 callersMethodWait
()
probe/docker/registry_test.go:180
↓ 20 callersMethodWithLatestActiveControls
WithLatestActiveControls says which controls are active on this node. Implemented as a delimiter-separated string in Latest
report/node.go:136
↓ 19 callersMethodAddControl
AddControl adds c added to cs.
report/controls.go:43
↓ 19 callersMethodName
()
probe/probe.go:47
↓ 19 callersFunctionmakeSingleComponentID
makeSingleComponentID makes a single-component node id encoder
report/id.go:215
↓ 19 callersFunctionparseSingleComponentID
parseSingleComponentID makes a single-component node id decoder
report/id.go:222
↓ 18 callersFunctiongetUrlState
(state)
client/app/scripts/utils/router-utils.js:75
↓ 18 callersFunctiontrackAnalyticsEvent
(name, props)
client/app/scripts/utils/tracking-utils.js:6
↓ 17 callersMethodList
(prefix string, q *consul.QueryOptions)
app/multitenant/consul_client.go:55
↓ 17 callersMethodSize
Size returns the number of elements
report/sets.go:88
↓ 17 callersMethodString
()
probe/appclient/resolver.go:64
↓ 17 callersMethodWithTableTemplates
WithTableTemplates merges some table templates into this topology, returning a new topology.
report/topology.go:65
↓ 17 callersFunctionequals
equals errors the test if want is not equal to have.
app/scope_test.go:32
↓ 17 callersFunctiongetApiPath
(pathname = window.location.pathname)
client/app/scripts/utils/web-api-utils.js:78
↓ 16 callersMethodHandle
(ctx context.Context, probeID string, req xfer.Request)
app/control_router.go:16
↓ 16 callersFunctionMakeIDList
MakeIDList makes a new IDList.
report/id_list.go:9
↓ 16 callersFunctionPoll
Poll repeatedly evaluates condition until we either timeout, or it succeeds.
test/poll.go:13
↓ 15 callersMethodGetNode
(probeID string)
probe/kubernetes/pod.go:24
↓ 15 callersFunctionMakeProcessNodeID
MakeProcessNodeID produces a process node ID from its composite parts.
report/id.go:89
↓ 15 callersFunctionrequestContextDecorator
(f CtxHandlerFunc)
app/router.go:43
↓ 14 callersFunctionNewDefaultHandlerRegistry
NewDefaultHandlerRegistry creates a registry with a default backend.
probe/controls/controls.go:79
↓ 14 callersMethodWithSets
WithSets returns a fresh copy of n, with sets merged in.
report/node.go:110
↓ 13 callersFunctionMakePseudoNodeID
MakePseudoNodeID joins the parts of an id into the id of a pseudonode
render/id.go:21
↓ 13 callersMethodMetaNode
(id string)
probe/kubernetes/meta.go:27
↓ 13 callersMethodName
()
probe/kubernetes/meta.go:23
↓ 13 callersMethodWalk
(func(Process, Process))
probe/process/walker.go:21
↓ 13 callersFunctionrestore
(t *testing.T)
probe/plugins/registry_internal_test.go:142
↓ 13 callersFunctionsetup
(t *testing.T, sockets ...fs.Entry)
probe/plugins/registry_internal_test.go:129
↓ 13 callersMethodsetupStore
(resource string)
probe/kubernetes/client.go:220
↓ 12 callersMethodTopology
Topology returns one of the report's topologies, selected by name.
report/report.go:445
↓ 12 callersFunctioncheckLoadedPluginIDs
(t *testing.T, forEach iterator, expectedIDs []string)
probe/plugins/registry_internal_test.go:160
↓ 12 callersMethoddescribe
GetLogs is the control to get the logs for a kubernetes pod
probe/kubernetes/controls.go:121
↓ 11 callersMethodBefore
Before is used for sorting nodes by topology and id
report/node.go:55
next →1–100 of 3,787, ranked by callers