Discover Packages
github.com/DataDog/datadog-agent
pkg
security
utils
hostnameutils
package
Version:
v0.0.0-...-6793921
Opens a new window with list of versions in this module.
Published: Jan 10, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package hostnameutils holds utils/hostname related files
GetHostname attempts to acquire a hostname by connecting to the core
agent's gRPC endpoints.
GetHostnameWithContextAndFallback attempts to acquire a hostname by connecting to the
core agent's gRPC endpoints extending the given context, or falls back to local resolution
Source Files
¶
Click to show internal directories.
Click to hide internal directories.