Documentation
¶
Overview ¶
Package paths defines commonly used paths throughout the installer
Package paths defines commonly used paths throughout the installer
Index ¶
Constants ¶
View Source
const ( // PackagesPath is the path to the packages directory. PackagesPath = "/opt/datadog-packages" // ConfigsPath is the path to the Fleet-managed configuration directory. ConfigsPath = "/etc/datadog-agent/managed" // RootTmpDir is the temporary path where the bootstrapper will be extracted to. RootTmpDir = "/opt/datadog-packages/tmp" // DefaultUserConfigsDir is the default Agent configuration directory. DefaultUserConfigsDir = "/etc" // AgentConfigDir is the path to the agent configuration directory. AgentConfigDir = "/etc/datadog-agent" // AgentConfigDirExp is the path to the agent configuration directory for experiments. AgentConfigDirExp = "/etc/datadog-agent-exp" // StableInstallerPath is the path to the stable installer binary. StableInstallerPath = "/opt/datadog-packages/datadog-installer/stable/bin/installer/installer" // ExperimentInstallerPath is the path to the experiment installer binary. ExperimentInstallerPath = "/opt/datadog-packages/datadog-installer/experiment/bin/installer/installer" // RunPath is the default run path RunPath = "/opt/datadog-packages/run" // DatadogDataDir is the path to the Datadog data directory. DatadogDataDir = "/etc/datadog-agent" )
Variables ¶
This section is empty.
Functions ¶
func EnsureInstallerDataDir ¶ added in v0.65.0
func EnsureInstallerDataDir() error
EnsureInstallerDataDir ensures that permissions are set correctly on the installer data directory. This is a no-op on non-Windows platforms.
func SetRepositoryPermissions ¶ added in v0.65.0
SetRepositoryPermissions sets the permissions on the repository directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.