processmanager

package
v0.82.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package processmanager implements fleet installer helpers for DDOT and dd-procmgr on Windows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReloadOrRestartProcmgr

func ReloadOrRestartProcmgr()

ReloadOrRestartProcmgr tells dd-procmgrd to re-read processes.d from disk (e.g. after DDOT processes.d removal). Prefer `dd-procmgr reload` over an SCM service restart; fall back to restarting dd-procmgr-service when the CLI is absent or reload fails. No-op when the service is already stopped (e.g. MSI prerm runs after StopDDServices).

func RemoveADPProcmgrConfig

func RemoveADPProcmgrConfig(installRootResolved string) error

RemoveADPProcmgrConfig removes the ADP processes.d YAML from installRootResolved\processes.d.

func RemoveDDOTProcmgrConfig

func RemoveDDOTProcmgrConfig(packageRootResolved string) error

RemoveDDOTProcmgrConfig removes the DDOT processes.d YAML from the install layout and from legacy package-relative processes.d.

func RemovePARProcmgrConfig

func RemovePARProcmgrConfig(installRootResolved string) error

RemovePARProcmgrConfig removes the PAR processes.d YAML from installRootResolved\processes.d.

func WriteADPProcmgrConfig

func WriteADPProcmgrConfig(installRootResolved string) error

WriteADPProcmgrConfig writes datadog-agent-data-plane.yaml under installRootResolved\processes.d so dd-procmgrd picks it up. installRootResolved is the resolved MSI Program Files install root.

func WriteDDOTProcmgrConfig

func WriteDDOTProcmgrConfig(installRootResolved string) error

WriteDDOTProcmgrConfig writes datadog-agent-ddot.yaml next to the MSI install layout so dd-procmgrd picks it up (default_config_dir is InstallPath\processes.d on Windows).

func WritePARProcmgrConfig

func WritePARProcmgrConfig(installRootResolved string) error

WritePARProcmgrConfig writes datadog-agent-action.yaml under installRootResolved\processes.d so dd-procmgrd picks it up. installRootResolved is the resolved MSI Program Files install root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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