MCPcopy Create free account

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

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

MethodClose
()
cmd/system-probe/modules/crashdetect_windows.go:63
MethodClose
Close is a noop (implements module.Module)
cmd/system-probe/modules/compliance.go:47
MethodCloseConn
(c *dbus.Conn)
pkg/collector/corechecks/systemd/systemd_test.go:60
MethodCloseConn
(c *dbus.Conn)
pkg/collector/corechecks/systemd/systemd.go:185
MethodCloseSend
CloseSend indicates an expected call of CloseSend.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:294
MethodCloseSend
CloseSend mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:409
MethodCloseSend
CloseSend indicates an expected call of CloseSend.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:417
MethodClusterAgentAPIEndpoint
()
pkg/workloadmeta/collectors/internal/kubemetadata/kubemetadata_test.go:71
MethodClusterAgentAPIEndpoint
()
pkg/workloadmeta/collectors/internal/cloudfoundry/cf_vm/cloudfoundry_vm_test.go:159
MethodClusterAgentAPIEndpoint
ClusterAgentAPIEndpoint returns the Agent API Endpoint URL as a string
pkg/util/clusteragent/clusteragent.go:283
FunctionClusterAgentCommands
ClusterAgentCommands returns the cluster agent commands
cmd/security-agent/subcommands/check/command.go:69
MethodCollect
(ctx context.Context)
pkg/autodiscovery/autoconfig_test.go:33
MethodCollect
Collect retrieves integrations from the remote-config, builds Config objects and returns them
pkg/autodiscovery/providers/remote_config.go:49
MethodCollect
Collect returns the check configurations defined in Yaml files. Only configs with advanced AD identifiers targeting kubernetes endpoints are handled b
pkg/autodiscovery/providers/kube_endpoints_file.go:100
MethodCollect
Collect retrieves templates from etcd, builds Config objects and returns them TODO: cache templates and last-modified index to avoid future full crawl
pkg/autodiscovery/providers/etcd.go:66
MethodCollect
Collect retrieves services from the apiserver, builds Config objects and returns them
pkg/autodiscovery/providers/prometheus_services.go:138
MethodCollect
Collect retrieves endpoints checks configurations the cluster-agent dispatched to this agent
pkg/autodiscovery/providers/endpointschecks.go:74
MethodCollect
Collect returns the check configurations defined in Yaml files. Only configs with advanced AD identifiers targeting kubernetes services are handled by
pkg/autodiscovery/providers/kube_services_file.go:30
MethodCollect
Collect retrieves templates from the kubelet's podlist, builds config objects and returns them
pkg/autodiscovery/providers/prometheus_pods.go:48
MethodCollect
Collect retrieves configurations the cluster-agent dispatched to this agent
pkg/autodiscovery/providers/clusterchecks.go:139
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/telemetry/ebpf_telemetry.go:87
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/tracer/ebpf_conntracker.go:401
MethodCollect
Collect returns the current state of all metrics of the collector.
pkg/network/tracer/process_cache.go:257
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/tracer/connection/tracer.go:511
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/netlink/conntracker.go:45
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/netlink/conntracker.go:191
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/netlink/noop.go:47
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/ebpf/debugfs_stat_collector_linux.go:89
MethodCollect
Collect returns the current state of all metrics of the collector
pkg/ebpf/debugfs_stat_collector_noop.go:22
MethodCollectEvent
(rs *RuleSet, event eval.Event, result bool)
pkg/security/secl/rules/collected_events_functests.go:23
FunctionCollectSystemInfo
CollectSystemInfo collects a set of system-level information that will not change until a restart. This bit of information should be passed along with
pkg/process/checks/system_info_darwin.go:60
FunctionCollectSystemInfo
CollectSystemInfo collects a set of system-level information that will not change until a restart. This bit of information should be passed along with
pkg/process/checks/system_info_windows.go:22
MethodCollector
Collector returns the collector name
pkg/sbom/collectors/containerd/containerd.go:45
MethodCollector
Collector returns the collector name
pkg/sbom/collectors/host/host.go:32
MethodCollector
Collector returns the collector name
pkg/sbom/collectors/docker/docker.go:41
MethodCollectorForVersion
CollectorForVersion gets a collector given its name and version. It returns an error if the collector name or version is not known.
pkg/collector/corechecks/cluster/orchestrator/collectors/inventory/inventory.go:68
MethodCombineWith
CombineWith merges the data in 2 RequestStats objects newStats is kept as it is, while the method receiver gets mutated
pkg/network/protocols/kafka/stats.go:43
MethodCombineWithSlice
CombineWithSlice adds tags to the composite tags. Consumes the slice. Returned value may reference the argument tags slice directly (or not). Callers
pkg/tagset/composite_tags.go:60
FunctionCommand
Command returns the commands for the setup subcommand
cmd/cws-instrumentation/subcommands/setupcmd/setup.go:27
FunctionCommand
Command returns the commands for the setup subcommand
cmd/cws-instrumentation/subcommands/injectcmd/inject.go:40
MethodCommand
(bin string, args []string, envs []string)
pkg/security/tests/cmdwrapper.go:85
FunctionCommands
Commands returns a slice of subcommands for the `version` command in the Process Agent
cmd/process-agent/subcommands/version/version.go:16
FunctionCommands
(globalParams *command.GlobalParams)
cmd/security-agent/subcommands/runtime/command_unsupported.go:24
FunctionCommands
Commands exports commands
cmd/security-agent/subcommands/runtime/command_windows.go:17
FunctionCommands
(*command.GlobalParams)
cmd/security-agent/subcommands/config/config_unsupported.go:15
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/configcheck/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/telemetry/command.go:20
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/flare/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/workloadlist/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/taggerlist/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/version/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/health/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/secrethelper/command.go:18
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/clusterchecks/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/config/command.go:25
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/compliance/command.go:22
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent/subcommands/check/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'cluster-agent' command.
cmd/cluster-agent-cloudfoundry/subcommands/version/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/system-probe/subcommands/version/command.go:17
FunctionCommands
Commands returns nil when compiling without the jmx build flag
cmd/agent/subcommands/jmx/command_nojmx.go:17
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/workloadlist/command.go:17
FunctionCommands
Commands returns nil on Unix.
cmd/agent/subcommands/controlsvc/command_nix.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/taggerlist/command.go:17
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/version/command.go:17
FunctionCommands
Commands returns nils on windows where the agent is run as a Windows service.
cmd/agent/subcommands/stop/command_windows.go:18
FunctionCommands
Commands returns nil when compiling without the python build flag.
cmd/agent/subcommands/integrations/command_nopython.go:18
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/health/command.go:17
FunctionCommands
Commands returns nil when compiling without the secrets build flag
cmd/agent/subcommands/secrethelper/command_nosecrets.go:18
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/secrethelper/command.go:19
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/config/command.go:18
FunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/check/command.go:17
MethodCommit
Commit commits the metric samples & histogram buckets that were added during a check run Should be called at the end of every check run
pkg/aggregator/sender.go:151
MethodCommit
Commit enables the commit mock call.
pkg/aggregator/mocksender/mocked_methods.go:93
MethodCompile
Compile a regular expression based pattern
pkg/security/secl/compiler/eval/strings.go:136
MethodCompile
Compile a simple pattern
pkg/security/secl/compiler/eval/strings.go:161
MethodCompile
Compile a simple pattern
pkg/security/secl/compiler/eval/strings.go:192
MethodCompile
Compile compiles the asset to an object file, writes it to the configured output directory, and then opens and returns the compiled output
pkg/ebpf/bytecode/runtime/asset.go:42
MethodCompile
Compile compiles the provided c code to an object file, writes it to the configured output directory, and then opens and returns the compiled output
pkg/ebpf/bytecode/runtime/generated_asset.go:40
FunctionCompleteFlare
CompleteFlare packages up the files with an already created builder. This is aimed to be used by the flare component while we migrate to a component a
pkg/flare/archive.go:52
FunctionCompress
Compress will compress the data with zlib
pkg/util/compression/zlib.go:21
FunctionCompress
Compress will not compress anything
pkg/util/compression/no_compression.go:16
FunctionCompressBound
CompressBound returns the worst case size needed for a destination buffer This is allowed to return a value _larger_ than 'sourceLen'. Ref: https://re
pkg/util/compression/zlib.go:54
FunctionCompressBound
CompressBound returns the worst case size needed for a destination buffer
pkg/util/compression/no_compression.go:26
MethodComputeHashes
ComputeHashes computes the hashes of the provided file event. Disclaimer: This resolver considers that the FileEvent has already been resolved
pkg/security/resolvers/hash/resolver_windows.go:34
MethodComputeHashesFromEvent
ComputeHashesFromEvent calls ComputeHashes using the provided event
pkg/security/resolvers/hash/resolver_windows.go:28
FunctionConfFileDirectory
ConfFileDirectory returns the absolute path to the folder containing the config file used to populate the registry
pkg/config/utils/miscellaneous.go:17
MethodConfig
Config gets the underlying config
pkg/logs/sources/replaceable_source.go:45
MethodConfig
(ctx context.Context)
pkg/workloadmeta/collectors/internal/containerd/container_builder_test.go:48
MethodConfig
Config runs config command and returns the runtime agent config
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:71
MethodConfig
Config creates the configuration containing the required parameters to communicate with the APIServer as an APIService
cmd/cluster-agent/custommetrics/server.go:123
MethodConfigCheck
ConfigCheck runs configcheck command and returns the runtime agent configcheck
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:94
MethodConfigFileUsed
ConfigFileUsed wraps Viper for concurrent access
pkg/config/model/viper.go:606
MethodConfigName
()
pkg/util/trivy/image.go:95
MethodConfigSource
ConfigSource returns the source of the configuration for this check
pkg/collector/python/check.go:169
MethodConfigSource
ConfigSource implements Check#ConfigSource
pkg/collector/internal/middleware/check_wrapper.go:109
MethodConfigSource
ConfigSource returns an empty string as Go check can't be updated independently from the agent
pkg/collector/corechecks/checkbase.go:211
MethodConfigSource
ConfigSource displays the command's source
pkg/collector/corechecks/embed/process_agent.go:62
MethodConfigSource
ConfigSource displays the command's source
pkg/collector/corechecks/embed/apm.go:62
MethodConfigSource
ConfigSource returns the source of the configuration of the JMXCheck
pkg/collector/corechecks/embed/jmx/check.go:88
MethodConfigSource
ConfigSource returns the source of the check
pkg/collector/check/check_mock.go:36
← previousnext →17,001–17,100 of 32,574, ranked by callers