installer

package
v0.64.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package installer defines a Pulumi component for installing the Datadog Installer on a remote host in the provisioning step.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstallerPaths

func CreateInstallerPaths() func(*Configuration) error

CreateInstallerPaths creates some directories that are normally created when using the PowerShell install script but are not when using the installer directly.

func WithAgentUser added in v0.59.0

func WithAgentUser(user string) func(*Configuration) error

WithAgentUser specifies the ddagentuser for the installation

func WithInstallURL

func WithInstallURL(url string) func(*Configuration) error

WithInstallURL specifies the URL to use to retrieve the Datadog Installer

Types

type Component

type Component struct {
	pulumi.ResourceState
	components.Component

	Host *remoteComp.Host `pulumi:"host"`
	// contains filtered or unexported fields
}

Component is a Datadog Installer component. See https://www.pulumi.com/docs/concepts/resources/components/

func NewInstaller

func NewInstaller(e config.Env, host *remoteComp.Host, options ...Option) (*Component, error)

NewInstaller creates a new instance of an on-host Agent Installer

func (*Component) Export

func (h *Component) Export(ctx *pulumi.Context, out *Output) error

Export exports the output of this component

type Configuration

type Configuration struct {
	URL                  string
	AgentUser            string
	CreateInstallerPaths bool
}

Configuration represents the Windows NewDefender configuration

func NewConfig

func NewConfig(env config.Env, options ...Option) (*Configuration, error)

NewConfig creates a default config

type Option

type Option = func(*Configuration) error

Option is an optional function parameter type for Configuration options

type Output

type Output struct {
	components.JSONImporter
}

Output is an object that models the output of the resource creation from the Component. See https://www.pulumi.com/docs/concepts/resources/components/#registering-component-outputs

Jump to

Keyboard shortcuts

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