bootstrap

package
v0.85.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 2 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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