Skip to content

Commit

Permalink
[e2e-lb3-adxt-769] fakeintake: Export everything
Browse files Browse the repository at this point in the history
  • Loading branch information
CelianR committed Jan 8, 2025
1 parent a508d11 commit 056b654
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/datadog/fakeintake/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import (
type FakeintakeOutput struct { // nolint:revive, We want to keep the name as <Component>Output
components.JSONImporter

Host string `json:"host"`
Scheme string `json:"scheme"`
Port uint32 `json:"port"`
URL string `json:"url"`
}

Expand All @@ -19,9 +21,9 @@ type Fakeintake struct {

// It's cleaner to export the full URL, but the Agent requires only host in some cases.
// Keeping those internal to Pulumi program.
Host pulumi.StringOutput
Scheme string `pulumi:"scheme"` // Scheme is a string as it's known in code and is useful to check HTTP/HTTPS
Port uint32 // Same for Port
Host pulumi.StringOutput `pulumi:"host"`
Scheme string `pulumi:"scheme"` // Scheme is a string as it's known in code and is useful to check HTTP/HTTPS
Port uint32 `pulumi:"port"` // Same for Port

URL pulumi.StringOutput `pulumi:"url"`
}
Expand Down

0 comments on commit 056b654

Please sign in to comment.