bootstrap

package
v0.73.2 Latest Latest
Warning

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

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

Documentation

Overview

Package bootstrap provides logic to self-bootstrap the installer.

Package bootstrap provides logic to self-bootstrap the installer.

Index

Constants

View Source
const (
	// InstallerPackage is the name of the Datadog Installer OCI package
	InstallerPackage = "datadog-installer"
	// AgentPackage is the name of the Datadog Agent OCI package
	AgentPackage = "datadog-agent"
)

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, env *env.Env) error

Bootstrap bootstraps the installer and uses it to install the default packages.

func Install

func Install(ctx context.Context, env *env.Env, url string) error

Install self-installs the installer package from the given URL.

func InstallExperiment

func InstallExperiment(ctx context.Context, env *env.Env, url string) error

InstallExperiment installs a package from the given URL as an experiment. It first tries to grab the installer from a specific layer to start the experiment with, and falls back to the current installer if it doesn't exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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