# Functions
AgentActionStoreFile is the file that contains the action that can be replayed after restart.
AgentCapabilitiesPath is a name of file used to store agent capabilities.
AgentConfigFile is a name of file used to store agent information.
AgentConfigFileLock is a locker for agent config file updates.
AgentEnrollFile is a name of file used to enroll agent on first-start.
AgentStateStoreFile is the file that contains the persisted state of the agent including the action that can be replayed after restart.
ArePathsEqual determines whether paths are equal taking case sensitivity of os into account.
Config returns a directory where configuration file lives.
ConfigFile returns the path to the configuration file.
Data returns the data directory for Agent.
Downloads returns the downloads directory for Agent.
Home returns a directory where binary lives.
Install returns the install directory for Agent.
IsVersionHome returns true if the Home path is versioned based on build.
Logs returns a the log directory for Agent.
SetConfig overrides the Config path.
SetDownloads updates the path for the downloads.
SetInstall updates the path for the install.
SetLogs updates the path for the logs.
SetTop overrides the Top path.
SetVersionHome sets if the Home path is versioned based on build.
TempDir returns agent temp dir located within data dir.
Top returns the top directory for Elastic Agent, all the versioned home directories live under this top-level/data/elastic-agent-${hash}.
TopBinaryPath returns the path to the Elastic Agent binary that is inside the Top directory.
VersionedHome returns a versioned path based on a TopPath and used commit.
# Constants
AgentLockFileName is the name of the overall Elastic Agent file lock.
BinaryName is the name of the installed binary.
DefaultConfigName is the default name of the configuration file.
InstallPath is the installation path using for install command.
ServiceName is the service name when installed.
ShellWrapper is the wrapper that is installed.
ShellWrapperPath is the path to the installed shell wrapper.
SocketPath is the socket path used when installed.