Documentation
¶
Index ¶
- func WithAdditionalFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
- func WithAgentServiceEnvVariable(key string, value pulumi.Input) func(*Params) error
- func WithEnvironmentVariables(environmentVariables pulumi.StringMap) func(*Params) error
- func WithExtraComposeInlineManifest(cpms ...docker.ComposeInlineManifest) func(*Params) error
- func WithExtraComposeManifest(name string, content pulumi.StringInput) func(*Params) error
- func WithFIPS() func(*Params) error
- func WithFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
- func WithFullImagePath(fullImagePath string) func(*Params) error
- func WithImageTag(agentImageTag string) func(*Params) error
- func WithIntake(url string) func(*Params) error
- func WithJMX() func(*Params) error
- func WithLogs() func(*Params) error
- func WithPulumiDependsOn(resources ...pulumi.ResourceOption) func(*Params) error
- func WithRepository(repository string) func(*Params) error
- func WithTags(tags []string) func(*Params) error
- type Option
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAdditionalFakeintake ¶
func WithAdditionalFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
func WithAgentServiceEnvVariable ¶
WithAgentServiceEnvVariable set an environment variable in the docker compose agent service's environment.
func WithExtraComposeInlineManifest ¶
func WithExtraComposeInlineManifest(cpms ...docker.ComposeInlineManifest) func(*Params) error
WithExtraComposeInlineManifest adds extra docker.ComposeInlineManifest
func WithExtraComposeManifest ¶
func WithExtraComposeManifest(name string, content pulumi.StringInput) func(*Params) error
WithExtraComposeManifest adds a docker.ComposeInlineManifest
func WithFakeintake ¶
func WithFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
WithFakeintake installs the fake intake and configures the Agent to use it.
This option is overwritten by `WithIntakeHostname`.
func WithFullImagePath ¶
func WithImageTag ¶
func WithIntake ¶
WithIntake configures the agent to use the given url as intake. The url must be a valid Datadog intake, with a SSL valid certificate
To use a fakeintake, see WithFakeintake.
This option is overwritten by `WithFakeintake`.
func WithPulumiDependsOn ¶
func WithPulumiDependsOn(resources ...pulumi.ResourceOption) func(*Params) error
func WithRepository ¶
Types ¶
type Params ¶
type Params struct {
// FullImagePath is the full path of the docker agent image to use.
// It has priority over ImageTag and Repository.
FullImagePath string
// ImageTag is the docker agent image tag to use.
ImageTag string
// Repository is the docker repository to use.
Repository string
// JMX is true if the JMX image is needed
JMX bool
// AgentServiceEnvironment is a map of environment variables to set in the docker compose agent service's environment.
AgentServiceEnvironment pulumi.Map
// ExtraComposeManifests is a list of extra docker compose manifests to add beside the agent service.
ExtraComposeManifests []docker.ComposeInlineManifest
// EnvironmentVariables is a map of environment variables to set with the docker-compose context
EnvironmentVariables pulumi.StringMap
// PulumiDependsOn is a list of resources to depend on.
PulumiDependsOn []pulumi.ResourceOption
// FIPS is true if FIPS image is needed.
FIPS bool
}
Click to show internal directories.
Click to hide internal directories.