installscript

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: 12 Imported by: 0 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 installscript installs the Agent on a host with the official install script.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(_ context.Context, env *environments.Host, p Params) error

Install runs the official install script on env.RemoteHost and updates env.Agent. It only relies on env's initialized components and is independent of the provisioner that created the environment.

Types

type Params

type Params struct {
	AgentVersion string
	// AgentConfig is merged over the installer's generated datadog.yaml.
	AgentConfig string
	// Integrations maps conf.d folder names (for example, "custom_logs.d")
	// to their conf.yaml contents.
	Integrations map[string]string
}

Params configures an install-script Agent installation.

Jump to

Keyboard shortcuts

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