service

package
v0.0.0-...-cba18c7 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package service provides a way to interact with os services

Package service provides a way to interact with os services

Package service provides a way to interact with os services

Package service provides a way to interact with os services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreSetupInstaller

func PreSetupInstaller() error

PreSetupInstaller creates the necessary directories for the installer to be installed. FIXME: This is a preinst and I feel bad about it

func RemoveAPMInjector

func RemoveAPMInjector(ctx context.Context)

RemoveAPMInjector removes the APM injector

func RemoveAgent

func RemoveAgent(ctx context.Context)

RemoveAgent stops and removes the agent

func RemoveInstaller

func RemoveInstaller(ctx context.Context)

RemoveInstaller removes the installer systemd units

func SetupAPMInjector

func SetupAPMInjector(ctx context.Context) error

SetupAPMInjector sets up the injector at bootstrap

func SetupAgent

func SetupAgent(ctx context.Context) (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

Types

This section is empty.

Jump to

Keyboard shortcuts

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