agentwithoperatorparams

package
v0.0.0-...-c8d08d2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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