packages

package
v0.0.0-...-067141b Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package packages contains the install/upgrades/uninstall logic for packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentAPMInjector

func InstrumentAPMInjector(ctx context.Context, method string) (err error)

InstrumentAPMInjector instruments the APM injector

func PromoteAgentExperiment

func PromoteAgentExperiment(ctx context.Context) error

PromoteAgentExperiment promotes the agent experiment

func PromoteInstallerExperiment

func PromoteInstallerExperiment(ctx context.Context) error

PromoteInstallerExperiment promotes the installer experiment

func RemoveAPMInjector

func RemoveAPMInjector(ctx context.Context) (err error)

RemoveAPMInjector removes the APM injector

func RemoveAgent

func RemoveAgent(ctx context.Context) error

RemoveAgent stops and removes the agent

func RemoveInstaller

func RemoveInstaller(ctx context.Context) error

RemoveInstaller removes the installer systemd units

func SetupAPMInjector

func SetupAPMInjector(ctx context.Context) (err error)

SetupAPMInjector sets up the injector at bootstrap

func SetupAgent

func SetupAgent(ctx context.Context, _ []string) (err error)

SetupAgent installs and starts the agent

func SetupInstaller

func SetupInstaller(ctx context.Context) (err error)

SetupInstaller installs and starts the installer systemd units

func StartAgentExperiment

func StartAgentExperiment(ctx context.Context) error

StartAgentExperiment starts the agent experiment

func StartInstallerExperiment

func StartInstallerExperiment(ctx context.Context) error

StartInstallerExperiment installs the experimental systemd units for the installer

func StopAgentExperiment

func StopAgentExperiment(ctx context.Context) error

StopAgentExperiment stops the agent experiment

func StopInstallerExperiment

func StopInstallerExperiment(ctx context.Context) error

StopInstallerExperiment starts the stable systemd units for the installer

func UninstrumentAPMInjector

func UninstrumentAPMInjector(ctx context.Context, method string) (err error)

UninstrumentAPMInjector uninstruments the APM injector

Types

type ApmSocketConfig

type ApmSocketConfig struct {
	ReceiverSocket string `yaml:"receiver_socket"`
}

ApmSocketConfig is a subset of the agent configuration

Directories

Path Synopsis
Package embedded provides embedded files for the installer.
Package embedded provides embedded files for the installer.

Jump to

Keyboard shortcuts

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