Documentation
¶
Overview ¶
Package consts list the common packages paths used in the Datadog Installer tests.
Index ¶
Constants ¶
View Source
const ( // AgentPackage is the name of the Datadog Agent package // We use a constant to make it easier for calling code, because depending on the context // the Agent package can be referred to as "agent-package" (like in the OCI registry) or "datadog-agent" (in the // local database once the Agent is installed). AgentPackage string = "datadog-agent" // InstallerPackage is the name of the Datadog Installer package InstallerPackage string = "datadog-installer" // Path is the path where the Datadog Installer is installed on disk Path string = "C:\\Program Files\\Datadog\\Datadog Installer" // BinaryName is the name of the Datadog Installer binary on disk BinaryName string = "datadog-installer.exe" // ServiceName the installer service name ServiceName string = "Datadog Installer" // ConfigPath is the location of the Datadog Installer's configuration on disk ConfigPath string = "C:\\ProgramData\\Datadog\\datadog.yaml" // RegistryKeyPath is the root registry key that the Datadog Installer uses to store some state RegistryKeyPath string = `HKLM:\SOFTWARE\Datadog\Datadog Installer` // NamedPipe is the name of the named pipe used by the Datadog Installer NamedPipe string = `\\.\pipe\dd_installer` )
Variables ¶
View Source
var ( // BinaryPath is the path of the Datadog Installer binary on disk BinaryPath = path.Join(Path, BinaryName) // InstallerConfigPaths are the paths that the Datadog Installer uses to store its working files. // They are normally created by the install script / bootstrap. InstallerConfigPaths = []string{ path.Join(baseConfigPath, "packages"), path.Join(baseConfigPath, "configs"), path.Join(baseConfigPath, "locks"), path.Join(baseConfigPath, "tmp"), } )
Functions ¶
func GetExperimentDirFor ¶
GetExperimentDirFor is the path to the experiment symbolic link on disk
func GetStableDirFor ¶
GetStableDirFor is the path to the stable symbolic link on disk
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.