installscript

package
v0.84.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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