agentwithoperatorparams

package
v0.85.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 4 Imported by: 2 modules, 1 package

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDDAConfig

func WithDDAConfig(config DDAConfig) func(*Params) error

WithDDAConfig configures the DatadogAgent custom resource.

func WithFakeIntake

func WithFakeIntake(fakeintake *fakeintake.Fakeintake) func(*Params) error

WithFakeIntake configures the Agent to use the given fake intake.

func WithNamespace

func WithNamespace(namespace string) func(*Params) error

WithNamespace sets the namespace to deploy the agent to.

func WithPulumiResourceOptions

func WithPulumiResourceOptions(resources ...pulumi.ResourceOption) func(*Params) error

WithPulumiResourceOptions sets the resources to depend on.

Types

type DDAConfig

type DDAConfig struct {
	// Name of the DatadogAgent custom resource
	Name string `json:"name"`
	// YamlFilePath file path to the DatadogAgent custom resource YAML
	YamlFilePath string `json:"yamlFilePath,omitempty"`
	// YamlConfig is the YAML string of the DatadogAgent custom resource
	YamlConfig string `json:"YamlConfig,omitempty"`
	// MapConfig is the map representation of the DatadogAgent custom resource
	MapConfig map[string]interface{} `json:"MapConfig,omitempty"`
}

DDAConfig is the DatadogAgent custom resource configuration.

type Option

type Option = func(*Params) error

type Params

type Params struct {
	PulumiResourceOptions []pulumi.ResourceOption

	Namespace  string
	FakeIntake *fakeintake.Fakeintake
	DDAConfig  DDAConfig
}

func NewParams

func NewParams(options ...Option) (*Params, error)

Jump to

Keyboard shortcuts

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