Documentation
¶
Overview ¶
Package processmanager implements fleet installer helpers for DDOT and dd-procmgr on Windows.
Index ¶
- func ReloadOrRestartProcmgr()
- func RemoveADPProcmgrConfig(installRootResolved string) error
- func RemoveDDOTProcmgrConfig(packageRootResolved string) error
- func RemovePARProcmgrConfig(installRootResolved string) error
- func WriteADPProcmgrConfig(installRootResolved string) error
- func WriteDDOTProcmgrConfig(installRootResolved string) error
- func WritePARProcmgrConfig(installRootResolved string) error
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 ¶
RemoveADPProcmgrConfig removes the ADP processes.d YAML from installRootResolved\processes.d.
func RemoveDDOTProcmgrConfig ¶
RemoveDDOTProcmgrConfig removes the DDOT processes.d YAML from the install layout and from legacy package-relative processes.d.
func RemovePARProcmgrConfig ¶
RemovePARProcmgrConfig removes the PAR processes.d YAML from installRootResolved\processes.d.
func WriteADPProcmgrConfig ¶
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 ¶
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 ¶
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.