paths

package
v0.75.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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 CopyFile added in v0.65.0

func CopyFile(src, dst string) error

CopyFile copies a file from src to dst

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

func SetRepositoryPermissions(path string) error

SetRepositoryPermissions sets the permissions on the repository directory

func SetupInstallerDataDir added in v0.75.0

func SetupInstallerDataDir() error

SetupInstallerDataDir ensures that permissions are set correctly on the installer data directory. This is a no-op on non-Windows platforms.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL