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
↓ 2 callers
Function
IsCommandEntry
IsCommandEntry returns true iff the entry comes from a command line that might need to be conditionally censored.
report/censor.go:25
↓ 2 callers
Function
IsEnvironmentVarsEntry
IsEnvironmentVarsEntry returns true if the entry might expose some environment variables data might need to be conditionally censored.
report/censor.go:31
↓ 2 callers
Function
IsNamespace
IsNamespace checks if the node is a pod/service in the specified namespace
render/filters.go:300
↓ 2 callers
Method
Keys
Keys is a list of all the keys in this set.
common/xfer/plugin_spec.go:91
↓ 2 callers
Method
Len
()
report/table.go:161
↓ 2 callers
Method
ListContainerStats
ListContainerStats returns stats of all running containers.
cri/runtime/api.pb.go:3763
↓ 2 callers
Method
ListContainers
ListContainers lists all containers by filters.
cri/runtime/api.pb.go:3739
↓ 2 callers
Method
ListContainers
(docker_client.ListContainersOptions)
probe/docker/registry.go:72
↓ 2 callers
Method
ListImages
ListImages lists existing images.
cri/runtime/api.pb.go:4551
↓ 2 callers
Method
ListPodSandbox
ListPodSandbox returns a list of PodSandboxes.
cri/runtime/api.pb.go:3723
↓ 2 callers
Function
LocalNetworks
LocalNetworks returns a superset of the networks (think: CIDRs) that are "local" from the perspective of each host represented in the report. It's use
render/theinternet.go:74
↓ 2 callers
Method
LockedPIDLookup
(f func(func(int) Container))
probe/docker/registry.go:37
↓ 2 callers
Function
LookupUsing
LookupUsing produces a LookupIP function for the given DNS server.
probe/appclient/resolver.go:98
↓ 2 callers
Function
NewConnectionScanner
NewConnectionScanner creates a new Linux ConnectionScanner
probe/endpoint/procspy/spy_linux.go:41
↓ 2 callers
Function
NewConsulPipeRouter
NewConsulPipeRouter returns a new consul based router
app/multitenant/consul_pipe_router.go:95
↓ 2 callers
Function
NewDeployment
NewDeployment creates a new Deployment
probe/kubernetes/deployment.go:36
↓ 2 callers
Function
NewDerivedNode
NewDerivedNode makes a node based on node, but with a new ID
render/id.go:54
↓ 2 callers
Function
NewDerivedPseudoNode
NewDerivedPseudoNode makes a new pseudo node with the node as a child
render/id.go:59
↓ 2 callers
Function
NewHandlerRegistry
NewHandlerRegistry creates a registry with a custom backend.
probe/controls/controls.go:84
↓ 2 callers
Function
NewJSONWebsocketCodec
NewJSONWebsocketCodec makes a new JSONWebsocketCodec
common/xfer/controls.go:119
↓ 2 callers
Function
NewLocalControlRouter
NewLocalControlRouter creates a new ControlRouter that does everything locally, in memory.
app/control_router.go:23
↓ 2 callers
Function
NewReporter
NewReporter returns a Reporter which produces a report containing host topology for this host.
probe/host/reporter.go:70
↓ 2 callers
Function
NewReporter
NewReporter makes a new Reporter
probe/docker/reporter.go:157
↓ 2 callers
Function
NewTagger
NewTagger tags each node with a foreign key linking it to its origin host in the host topology.
probe/host/tagger.go:16
↓ 2 callers
Function
NewTagger
NewTagger returns a usable Tagger.
probe/docker/tagger.go:32
↓ 2 callers
Function
NewWeave
NewWeave returns a new Weave tagger based on the Weave router at address. The address should be an IP or FQDN, no port.
probe/overlay/weave.go:159
↓ 2 callers
Function
NewWeavePublisher
NewWeavePublisher makes a new Weave.
app/weave.go:71
↓ 2 callers
Method
NodeName
()
probe/kubernetes/pod.go:23
↓ 2 callers
Function
Parents
Parents renders the parents of this report.Node, which have been aggregated from the probe reports.
render/detailed/parents.go:32
↓ 2 callers
Function
ParseProcessNodeID
ParseProcessNodeID produces the host ID and PID from a process node ID.
report/id.go:291
↓ 2 callers
Function
Ping
Ping adds a periodic ping to a websocket connection.
common/xfer/websocket.go:80
↓ 2 callers
Method
PodSandboxStatus
PodSandboxStatus returns the status of the PodSandbox. If the PodSandbox is not present, returns an error.
cri/runtime/api.pb.go:3721
↓ 2 callers
Method
PortForward
PortForward prepares a streaming endpoint to forward ports from a PodSandbox.
cri/runtime/api.pb.go:3758
↓ 2 callers
Method
PruneParents
PruneParents returns a fresh copy of n, without any parents.
report/node.go:159
↓ 2 callers
Method
PullImage
PullImage pulls an image with authentication config.
cri/runtime/api.pb.go:4557
↓ 2 callers
Method
Read
(p []byte)
probe/kubernetes/logreadcloser.go:57
↓ 2 callers
Method
Read
(p []byte)
probe/plugins/max_bytes_reader_internal_test.go:75
↓ 2 callers
Method
Register
(ctx context.Context, probeID string, handler xfer.ControlHandlerFunc)
app/control_router.go:17
↓ 2 callers
Function
RegisterControlRoutes
RegisterControlRoutes registers the various control routes with a http mux.
app/controls.go:16
↓ 2 callers
Method
RegisterFlags
RegisterFlags registers the billing emitter flags with the main flag set.
app/multitenant/billing_emitter.go:28
↓ 2 callers
Method
RemoveContainer
RemoveContainer removes the container. If the container is running, the container must be forcibly removed. This call is idempotent, and must not retu
cri/runtime/api.pb.go:3737
↓ 2 callers
Method
RemoveImage
RemoveImage removes the image. This call is idempotent, and must not return an error if the image has already been removed.
cri/runtime/api.pb.go:4561
↓ 2 callers
Method
RemovePodSandbox
RemovePodSandbox removes the sandbox. If there are any running containers in the sandbox, they must be forcibly terminated and removed. This call is i
cri/runtime/api.pb.go:3718
↓ 2 callers
Function
RenderContextForReporter
RenderContextForReporter creates the rendering context for the given reporter.
app/api_topology.go:36
↓ 2 callers
Method
ReopenContainerLog
ReopenContainerLog asks runtime to reopen the stdout/stderr log file for the container. This is often called after the log file has been rotated. If t
cri/runtime/api.pb.go:3750
↓ 2 callers
Method
Report
Report implements Reporter.
probe/endpoint/reporter_linux.go:39
↓ 2 callers
Method
Report
Report implements the Reporter interface
probe/plugins/registry.go:214
↓ 2 callers
Function
ResizeTTYControlWrapper
ResizeTTYControlWrapper extracts the arguments needed by the resize tty control handler
common/xfer/controls.go:59
↓ 2 callers
Method
RunPodSandbox
RunPodSandbox creates and starts a pod-level sandbox. Runtimes must ensure the sandbox is in the ready state on success.
cri/runtime/api.pb.go:3703
↓ 2 callers
Method
StartContainer
StartContainer starts the container.
cri/runtime/api.pb.go:3727
↓ 2 callers
Method
StartGatheringStats
(StatsGatherer)
probe/docker/container.go:60
↓ 2 callers
Method
StateString
()
probe/docker/container.go:57
↓ 2 callers
Method
Status
Status returns the status of the runtime.
cri/runtime/api.pb.go:3767
↓ 2 callers
Method
Status
()
common/weave/client.go:23
↓ 2 callers
Method
Stop
Stop gathering weave status.
probe/overlay/weave.go:176
↓ 2 callers
Method
StopContainer
StopContainer stops a running container with a grace period (i.e., timeout). This call is idempotent, and must not return an error if the container ha
cri/runtime/api.pb.go:3732
↓ 2 callers
Method
StopPodSandbox
StopPodSandbox stops any running process that is part of the sandbox and reclaims network resources (e.g., IP addresses) allocated to the sandbox. If
cri/runtime/api.pb.go:3713
↓ 2 callers
Method
StoreReport
StoreReport stores a report in the store.
app/multitenant/aws_collector.go:818
↓ 2 callers
Method
SummarizeMetrics
SummarizeMetrics returns a copy of the NodeSummary where the metrics are replaced with their summaries
render/detailed/summary.go:179
↓ 2 callers
Method
Tables
Tables renders the TableTemplates for a given node.
report/table.go:241
↓ 2 callers
Method
UnWait
(context.Context, chan struct{})
app/collector.go:36
↓ 2 callers
Method
UnsafeMerge
UnsafeMerge merges the other object into this one, modifying the original.
report/topology.go:263
↓ 2 callers
Method
UpdateContainerResources
UpdateContainerResources updates ContainerConfig of the container.
cri/runtime/api.pb.go:3744
↓ 2 callers
Method
UpdateRuntimeConfig
UpdateRuntimeConfig updates the runtime configuration based on the given request.
cri/runtime/api.pb.go:3765
↓ 2 callers
Method
Version
Version returns the runtime name, runtime version, and runtime API version.
cri/runtime/api.pb.go:3700
↓ 2 callers
Method
VolumeClaimNames
()
probe/kubernetes/pod.go:78
↓ 2 callers
Method
WaitOn
(context.Context, chan struct{})
app/collector.go:35
↓ 2 callers
Method
WalkContainers
(f func(Container))
probe/docker/registry.go:38
↓ 2 callers
Method
WalkCronJobs
(f func(CronJob) error)
probe/kubernetes/client.go:49
↓ 2 callers
Method
WalkDaemonSets
(f func(DaemonSet) error)
probe/kubernetes/client.go:47
↓ 2 callers
Method
WalkDeployments
(f func(Deployment) error)
probe/kubernetes/client.go:46
↓ 2 callers
Method
WalkImages
(f func(docker_client.APIImages))
probe/docker/registry.go:39
↓ 2 callers
Method
WalkJobs
(f func(Job) error)
probe/kubernetes/client.go:56
↓ 2 callers
Method
WalkNetworks
(f func(docker_client.Network))
probe/docker/registry.go:40
↓ 2 callers
Method
WalkPersistentVolumeClaims
(f func(PersistentVolumeClaim) error)
probe/kubernetes/client.go:52
↓ 2 callers
Method
WalkPersistentVolumes
(f func(PersistentVolume) error)
probe/kubernetes/client.go:51
↓ 2 callers
Method
WalkPods
(f func(Pod) error)
probe/kubernetes/client.go:44
↓ 2 callers
Method
WalkServices
(f func(Service) error)
probe/kubernetes/client.go:45
↓ 2 callers
Method
WalkStatefulSets
(f func(StatefulSet) error)
probe/kubernetes/client.go:48
↓ 2 callers
Method
WalkStorageClasses
(f func(StorageClass) error)
probe/kubernetes/client.go:53
↓ 2 callers
Method
WalkVolumeSnapshotData
(f func(VolumeSnapshotData) error)
probe/kubernetes/client.go:55
↓ 2 callers
Method
WalkVolumeSnapshots
(f func(VolumeSnapshot) error)
probe/kubernetes/client.go:54
↓ 2 callers
Method
WatchContainerUpdates
(ContainerUpdateWatcher)
probe/docker/registry.go:41
↓ 2 callers
Method
WithID
WithID returns a fresh copy of n, with ID changed.
report/node.go:43
↓ 2 callers
Function
WithoutPrefix
WithoutPrefix returns the string with trimmed prefix and a boolean information of whether that prefix was really there. NOTE: Consider moving this fun
report/table.go:49
↓ 2 callers
Function
_matches_any_regex
(name, regexes)
tools/scheduler/main.py:119
↓ 2 callers
Function
_versions
(dependency, config)
tools/dependencies/cross_versions.py:66
↓ 2 callers
Method
add
(dns report.DNSRecords, outgoing bool, localNode, remoteNode, localEndpoint, remoteEndpoint report.Node)
render/detailed/connections.go:76
↓ 2 callers
Method
addDNS
Add DNS record for address to report, if not already there
probe/endpoint/connection_tracker.go:350
↓ 2 callers
Function
addScopeToIPs
(hostID string, ips []net.IP)
probe/docker/container.go:229
↓ 2 callers
Method
annotateLine
(idx int, line []byte)
probe/kubernetes/logreadcloser.go:145
↓ 2 callers
Function
applyPinnedSearches
(state)
client/app/scripts/utils/search-utils.js:300
↓ 2 callers
Function
basicTopologyInfo
(topology, searchMatchCount)
client/app/scripts/components/topologies.js:11
↓ 2 callers
Function
benchmarkRender
(b *testing.B, f func(report.Report))
app/benchmark_internal_test.go:88
↓ 2 callers
Function
brightenColor
(c)
client/app/scripts/utils/color-utils.js:77
↓ 2 callers
Method
cachableState
(state = this.state)
client/app/scripts/components/zoomable-canvas.js:134
↓ 2 callers
Function
calculateDynamoKeys
calculateDynamoKeys generates the row & column keys for Dynamo.
app/multitenant/aws_collector.go:587
↓ 2 callers
Method
canChangeZoom
()
client/app/scripts/components/zoomable-canvas.js:161
↓ 2 callers
Method
cancelShow
()
client/app/scripts/utils/delayed-show.js:39
↓ 2 callers
Function
canonicalEndpointID
canonicalEndpointID returns the original endpoint ID of which id is a "copy_of" (due to NATing), or, if the id is not a copy, the id itself. This is
render/detailed/connections.go:264
← previous
next →
501–600 of 3,787, ranked by callers