Documentation ¶
Index ¶
- func WithDDAConfig(config DDAConfig) func(*Params) error
- func WithFakeIntake(fakeintake *fakeintake.Fakeintake) func(*Params) error
- func WithNamespace(namespace string) func(*Params) error
- func WithPulumiResourceOptions(resources ...pulumi.ResourceOption) func(*Params) error
- type DDAConfig
- type Option
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDDAConfig ¶
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 ¶
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 Params ¶
type Params struct { PulumiResourceOptions []pulumi.ResourceOption Namespace string FakeIntake *fakeintake.Fakeintake DDAConfig DDAConfig }
Click to show internal directories.
Click to hide internal directories.