MCPcopy Create free account

hub / github.com/DataDog/datadog-agent / functions

Functions32,574 in github.com/DataDog/datadog-agent

FunctionCPUInfo
()
pkg/collector/corechecks/system/cpu/cpu_test.go:60
FunctionCPUTimes
(bool)
pkg/collector/corechecks/system/cpu/cpu_test.go:56
FunctionCRIFactory
CRIFactory is exported for integration testing
pkg/collector/corechecks/containers/cri/check.go:51
FunctionCache
Cache the result of a function call, with the ability to flush the cache.
pkg/util/funcs/cache.go:59
MethodCallWithClientContext
CallWithClientContext allows passing an additional context when calling the containerd api
pkg/util/containerd/containerd_util.go:133
MethodCallWithClientContext
CallWithClientContext is a mock method
pkg/util/containerd/fake/containerd_util.go:152
MethodCancel
()
pkg/collector/collector_test.go:35
MethodCancel
Cancel signals to a python check that he can free all internal resources and deregisters the sender
pkg/collector/python/check.go:139
MethodCancel
Cancel implements Check#Cancel
pkg/collector/internal/middleware/check_wrapper.go:52
MethodCancel
Cancel does nothing by default. Override it if your check has background resources that need to be cleaned up when the check is unscheduled.
pkg/collector/corechecks/checkbase.go:189
MethodCancel
Cancel does nothing
pkg/collector/corechecks/embed/process_agent.go:223
MethodCancel
Cancel does nothing
pkg/collector/corechecks/embed/apm.go:216
MethodCancel
Cancel is a noop
pkg/collector/corechecks/embed/jmx/check.go:74
MethodCancel
Cancel stops the check and releases resources
pkg/collector/corechecks/windows_event_log/check.go:272
MethodCancel
Cancel is called when the check is unscheduled, it stops the informers used by the metrics store
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:525
MethodCancel
Cancel cancels the check
pkg/collector/corechecks/cluster/helm/helm.go:173
MethodCancel
Cancel cancels the orchestrator check
pkg/collector/corechecks/cluster/orchestrator/orchestrator.go:200
MethodCancel
Cancel is a noop
pkg/collector/check/stub/stub.go:34
MethodCancelIoEx
(ol *windows.Overlapped)
pkg/network/driver_interface_test.go:51
MethodCancelIoEx
(ol *windows.Overlapped)
pkg/network/driver_interface_fail_test.go:54
MethodCancelIoEx
(ol *windows.Overlapped)
pkg/network/driver/handle.go:183
MethodCancelTask
(logger lager.Logger, taskGUID string)
pkg/util/cloudproviders/cloudfoundry/bbscache_test.go:129
MethodCapture
(p string, d time.Duration, compressed bool)
comp/dogstatsd/server/server_mock.go:35
MethodCells
(logger lager.Logger)
pkg/util/cloudproviders/cloudfoundry/bbscache_test.go:209
MethodChan
Chan returns the chan of reload events
pkg/security/module/reloader_linux.go:59
MethodChan
Chan returns the chan of reload events
pkg/security/module/reloader_other.go:28
FunctionChangeLogLevel
ChangeLogLevel immediately changes the log level to the given one.
pkg/config/logs/log.go:532
MethodChannel
Channel returns the channel to use to communicate with the auditor or nil if the auditor is currently stopped.
pkg/logs/auditor/auditor.go:127
MethodChannel
Channel returns a channel of events and an other for errors
pkg/security/tests/trace_pipe.go:105
MethodCheck
(entry zapcore.Entry, ce *zapcore.CheckedEntry)
pkg/util/log/zap/zapcore.go:50
MethodCheckConnectivity
CheckConnectivity is a mock method
pkg/util/containerd/fake/containerd_util.go:62
FunctionCheckConnectivityDiagnose
(endpoint config.Endpoint)
pkg/logs/client/http/destination.go:408
FunctionCheckEnvStructValid
CheckEnvStructValid validates an environment struct
test/new-e2e/pkg/utils/e2e/client/pulumi_stack_initializer.go:25
FunctionCheckFactory
CheckFactory registers the container_lifecycle check
pkg/collector/corechecks/containerlifecycle/check.go:143
FunctionCheckFactory
CheckFactory registers the sbom check
pkg/collector/corechecks/sbom/check.go:117
FunctionCheckFactory
CheckFactory registers the container_image check
pkg/collector/corechecks/containerimage/check.go:98
FunctionCheckPath
CheckPath is used to make sure the globalSocketPath has been set before attempting to connect
pkg/process/net/common_windows.go:28
FunctionCheckPath
CheckPath is not supported
pkg/process/net/common_unsupported.go:22
MethodCheckpointContainer
CheckpointContainer checkpoints the given container.
internal/third_party/kubernetes/pkg/kubelet/cri/remote/fake/fake_runtime.go:327
MethodChildren
(key string)
pkg/autodiscovery/providers/zookeeper_test.go:42
MethodChooseSyscallProbeExit
ChooseSyscallProbeExit chooses between a tracepoint or kretprobe based on configuration and host-supported features.
pkg/ebpf/probes.go:27
MethodClean
Clean does nothing
pkg/util/trivy/cache.go:78
MethodClean
Clean implements CacheCleaner#Clean. It removes unused cached entries from the cache.
pkg/util/trivy/cache.go:127
MethodCleanCache
CleanCache cleans the cache
pkg/sbom/collectors/containerd/containerd.go:68
MethodCleanCache
CleanCache cleans the cache
pkg/sbom/collectors/host/host.go:52
MethodCleanCache
CleanCache cleans the cache
pkg/sbom/collectors/docker/docker.go:61
MethodCleanCache
CleanCache cleans the cache
pkg/util/trivy/trivy.go:205
MethodCleanCaches
()
pkg/security/probe/stateful_probe_excluder.go:78
MethodCleanup
()
pkg/process/runner/collector_api_test.go:628
MethodCleanup
Cleanup frees any resource held by the ProcessDiscoveryCheck before the agent exits
pkg/process/checks/process_discovery_check.go:117
MethodCleanup
Cleanup frees any resource held by the PodCheck before the agent exits
pkg/process/checks/pod_null.go:53
MethodCleanup
Cleanup frees any resource held by the PodCheck before the agent exits
pkg/process/checks/pod.go:128
MethodCleanup
Cleanup frees any resource held by the ProcessEventsCheck before the agent exits
pkg/process/checks/process_events_fallback.go:58
MethodCleanup
Cleanup frees any resource held by the ProcessCheck before the agent exits
pkg/process/checks/process.go:200
MethodCleanup
Cleanup frees any resource held by the ConnectionsCheck before the agent exits
pkg/process/checks/net.go:166
MethodCleanup
Cleanup frees any resource held by the RTContainerCheck before the agent exits
pkg/process/checks/container_rt.go:107
MethodCleanup
Cleanup frees any resource held by the ContainerCheck before the agent exits
pkg/process/checks/container.go:138
MethodCleanup
Cleanup provides a mock function with given fields:
pkg/process/checks/mocks/check.go:16
MethodCleanup
Cleanup delete any existing stack
test/new-e2e/pkg/utils/infra/stack_manager.go:162
MethodClear
Clear removes all registrations calling their deactivation callbacks This function should be called once during in termination.
pkg/network/usm/utils/file_registry.go:236
MethodClear
Clear removes all collectors
pkg/util/containers/metrics/mock/mock.go:61
MethodClear
Clear removes all entries
pkg/util/containers/metrics/mock/mock.go:106
MethodClear
Clear implements cache.Cache#Clear
pkg/util/trivy/cache.go:228
MethodClear
Clear implements Cache#Clear.
pkg/util/trivy/cache.go:334
MethodClear
()
pkg/util/trivy/cache.go:588
MethodClear
Clear closes the database and removes all stored data.
pkg/util/trivy/db.go:31
MethodClear
()
pkg/compliance/metrics/rego.go:191
MethodClear
()
cmd/agentless-scanner/trivy_in_memory_cache.go:82
FunctionClearConstantsCache
ClearConstantsCache clears the constants cache
pkg/security/probe/constantfetch/fetcher.go:194
FunctionClearFeatures
ClearFeatures remove all set features
pkg/config/env/environment_testing.go:36
MethodClientGetConfigs
ClientGetConfigs mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:123
MethodClientGetConfigs
ClientGetConfigs indicates an expected call of ClientGetConfigs.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:136
MethodClientGetConfigs
ClientGetConfigs mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:532
MethodClientGetConfigs
ClientGetConfigs indicates an expected call of ClientGetConfigs.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:541
MethodClientGetConfigs
(ctx context.Context, in *ClientGetConfigsRequest, opts ...grpc.CallOption)
pkg/proto/pbgo/core/api.pb.go:422
MethodClientGetConfigs
(context.Context, *ClientGetConfigsRequest)
pkg/proto/pbgo/core/api.pb.go:526
MethodClientGetConfigs
(context.Context, *ClientGetConfigsRequest)
pkg/proto/pbgo/core/api.pb.go:568
MethodClientGetConfigs
(context.Context, *pbgo.ClientGetConfigsRequest)
pkg/workloadmeta/collectors/internal/remote/workloadmeta/workloadmeta_test.go:48
MethodClientGetConfigs
ClientGetConfigs implements the ConfigUpdater interface for agentGRPCConfigFetcher
pkg/config/remote/client.go:101
MethodClientGetConfigs
ClientGetConfigs is the polling API called by tracers and agents to get the latest configurations
pkg/config/remote/service/service.go:510
MethodClientGetConfigs
(ctx context.Context, in *pbgo.ClientGetConfigsRequest)
cmd/trace-agent/config/remote/config_test.go:184
MethodClientGetConfigs
(ctx context.Context, in *pb.ClientGetConfigsRequest)
cmd/agent/api/grpc.go:121
MethodClone
Clone returns a copy of the registers
pkg/security/secl/compiler/eval/registers.go:15
MethodClone
Clone returns a copy of the current CustomEvent
pkg/security/events/custom.go:122
MethodClose
Close closes the packet assembler
comp/dogstatsd/packets/assembler.go:88
MethodClose
Close closes the PacketManager.
comp/dogstatsd/packets/packet_manager_windows.go:54
MethodClose
()
pkg/logs/launchers/journald/launcher_test.go:36
MethodClose
()
pkg/logs/tailers/docker/reader_test.go:27
MethodClose
()
pkg/logs/tailers/docker/reader.go:42
MethodClose
()
pkg/logs/tailers/docker/tailer_test.go:39
MethodClose
()
pkg/logs/tailers/docker/tailer_test.go:72
MethodClose
()
pkg/logs/tailers/docker/tailer_test.go:286
MethodClose
()
pkg/logs/tailers/journald/tailer_test.go:60
MethodClose
()
pkg/security/secl/rules/policy_loader_test.go:478
MethodClose
()
pkg/security/secl/rules/policy_loader_test.go:498
MethodClose
Close stops policy provider interface
pkg/security/secl/rules/policy_dir.go:129
MethodClose
Close stops the loader
pkg/security/secl/rules/policy_loader.go:112
MethodClose
Close cleans up any underlying resolver that requires a cleanup
pkg/security/resolvers/resolvers_linux.go:291
MethodClose
Close cleans up the eRPC segment
pkg/security/resolvers/dentry/resolver.go:753
MethodClose
Close the probe
pkg/security/probe/probe_windows.go:160
← previousnext →16,801–16,900 of 32,574, ranked by callers