Documentation
¶
Overview ¶
Package packages contains the install/upgrades/uninstall logic for packages
Index ¶
- Variables
- func InstrumentAPMInjector(ctx context.Context, method string) (err error)
- func PostInstallAgent(ctx context.Context, installPath string, caller string) (err error)
- func PreRemoveHookDotnet(_ context.Context, _ string) (bool, error)
- func PrepareAgent(ctx context.Context) (err error)
- func PrepareInstaller(ctx context.Context) error
- func PromoteAPMLibraryDotnetExperiment(_ context.Context) error
- func PromoteAgentExperiment(ctx context.Context) error
- func PromoteInstallerExperiment(ctx context.Context) error
- func RemoveAPMInjector(ctx context.Context) (err error)
- func RemoveAPMLibraryDotnet(_ context.Context) error
- func RemoveAgent(ctx context.Context) error
- func RemoveInstaller(ctx context.Context) error
- func SetupAPMInjector(ctx context.Context) (err error)
- func SetupAPMLibraryDotnet(_ context.Context, _ string) error
- func SetupAgent(ctx context.Context, _ []string) (err error)
- func SetupInstaller(ctx context.Context) (err error)
- func StartAPMLibraryDotnetExperiment(_ context.Context) error
- func StartAgentExperiment(ctx context.Context) error
- func StartInstallerExperiment(ctx context.Context) error
- func StopAPMLibraryDotnetExperiment(_ context.Context) error
- func StopAgentExperiment(ctx context.Context) error
- func StopInstallerExperiment(ctx context.Context) error
- func UninstrumentAPMInjector(ctx context.Context, method string) (err error)
Constants ¶
This section is empty.
Variables ¶
var PreRemoveHooks = map[string]repository.PreRemoveHook{ // contains filtered or unexported fields }
PreRemoveHooks contains the mapping between packages and their pre-remove hooks
Functions ¶
func InstrumentAPMInjector ¶
InstrumentAPMInjector instruments the APM injector
func PostInstallAgent ¶ added in v0.65.0
PostInstallAgent performs post-installation steps for the agent
func PreRemoveHookDotnet ¶ added in v0.65.0
PreRemoveHookDotnet runs before the garbage collector deletes the package files for a version.
func PrepareAgent ¶
PrepareAgent prepares the machine to install the agent
func PrepareInstaller ¶
PrepareInstaller prepares the installer
func PromoteAPMLibraryDotnetExperiment ¶ added in v0.65.0
PromoteAPMLibraryDotnetExperiment promotes a .NET APM library experiment.
func PromoteAgentExperiment ¶
PromoteAgentExperiment promotes the agent experiment
func PromoteInstallerExperiment ¶
PromoteInstallerExperiment promotes the installer experiment
func RemoveAPMInjector ¶
RemoveAPMInjector removes the APM injector
func RemoveAPMLibraryDotnet ¶ added in v0.65.0
RemoveAPMLibraryDotnet removes the .NET APM library.
func RemoveAgent ¶
RemoveAgent stops and removes the agent
func RemoveInstaller ¶
RemoveInstaller removes the installer systemd units
func SetupAPMInjector ¶
SetupAPMInjector sets up the injector at bootstrap
func SetupAPMLibraryDotnet ¶ added in v0.65.0
SetupAPMLibraryDotnet runs on the first install of the .NET APM library after the files are laid out on disk.
func SetupAgent ¶
SetupAgent installs and starts the agent
func SetupInstaller ¶
SetupInstaller installs and starts the installer systemd units
func StartAPMLibraryDotnetExperiment ¶ added in v0.65.0
StartAPMLibraryDotnetExperiment starts a .NET APM library experiment.
func StartAgentExperiment ¶
StartAgentExperiment starts the agent experiment
func StartInstallerExperiment ¶
StartInstallerExperiment installs the experimental systemd units for the installer
func StopAPMLibraryDotnetExperiment ¶ added in v0.65.0
StopAPMLibraryDotnetExperiment stops a .NET APM library experiment.
func StopAgentExperiment ¶
StopAgentExperiment stops the agent experiment
func StopInstallerExperiment ¶
StopInstallerExperiment starts the stable systemd units for the installer
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package apminject implements the apm injector installer
|
Package apminject implements the apm injector installer |
|
Package embedded provides embedded files for the installer.
|
Package embedded provides embedded files for the installer. |
|
Package exec provides wrappers to external executables
|
Package exec provides wrappers to external executables |
|
Package file offers filesystem utils geared towards idempotent operations.
|
Package file offers filesystem utils geared towards idempotent operations. |
|
Package packagemanager provides an interface over the OS package manager
|
Package packagemanager provides an interface over the OS package manager |
|
Package selinux offers an interface to set agent's SELinux permissions.
|
Package selinux offers an interface to set agent's SELinux permissions. |
|
Package systemd offers an interface over systemd
|
Package systemd offers an interface over systemd |
|
Package user offers an interface over user and group management
|
Package user offers an interface over user and group management |