Documentation ¶
Index ¶
- func WithAgentFullImagePath(fullImagePath string) func(*Params) error
- func WithClusterAgentFullImagePath(fullImagePath string) func(*Params) error
- func WithClusterName(clusterName pulumi.StringOutput) func(*Params) error
- func WithDeployWindows() func(*Params) error
- func WithDualShipping() func(*Params) error
- func WithFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
- func WithGKEAutopilot() func(*Params) error
- func WithHelmValues(values string) func(*Params) error
- func WithNamespace(namespace string) func(*Params) error
- func WithOTelAgent() func(*Params) error
- func WithOTelConfig(config string) func(*Params) error
- func WithPulumiResourceOptions(resources ...pulumi.ResourceOption) func(*Params) error
- func WithTags(tags []string) func(*Params) error
- func WithoutLogsContainerCollectAll() func(*Params) error
- type Option
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAgentFullImagePath ¶
WithAgentFullImagePath sets the full path of the agent image to use.
func WithClusterAgentFullImagePath ¶
WithClusterAgentFullImagePath sets the full path of the agent image to use.
func WithClusterName ¶
func WithClusterName(clusterName pulumi.StringOutput) func(*Params) error
WithClusterName sets the name of the cluster. Should only be used if you know what you are doing. Must no be necessary in most cases. Mainly used to set the clusterName when the agent is installed on Kind clusters. Because the agent is not able to detect the cluster name. It takes a pulumi.StringOutput as input to be able to use the pulumi output of the cluster name.
func WithDeployWindows ¶
WithDeployWindows sets the flag to deploy the agent on Windows.
func WithDualShipping ¶
DualShipping enables dual shipping. By default the agent is configured to send data only to the fakeintake and not dddev (the fakeintake will forward payloads to dddev). With that flag data will be sent to the fakeintake and also to dddev.
func WithFakeintake ¶
func WithFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
WithFakeintake configures the Agent to use the given fake intake.
func WithGKEAutopilot ¶
func WithHelmValues ¶
WithHelmValues adds helm values to the agent installation. If used several times, the helm values are merged together If the same values is defined several times the latter call will override the previous one.
func WithNamespace ¶
WithNamespace sets the namespace to deploy the agent to.
func WithOTelAgent ¶
func WithOTelConfig ¶
func WithPulumiResourceOptions ¶
func WithPulumiResourceOptions(resources ...pulumi.ResourceOption) func(*Params) error
WithPulumiDependsOn sets the resources to depend on.
func WithoutLogsContainerCollectAll ¶
WithoutLogsContainerCollectAll disables collection of logs from all containers by default.
Types ¶
type Params ¶
type Params struct { // AgentFullImagePath is the full path of the docker agent image to use. AgentFullImagePath string // ClusterAgentFullImagePath is the full path of the docker cluster agent image to use. ClusterAgentFullImagePath string // Namespace is the namespace to deploy the agent to. Namespace string // HelmValues is the Helm values to use for the agent installation. HelmValues pulumi.AssetOrArchiveArray // PulumiDependsOn is a list of resources to depend on. PulumiResourceOptions []pulumi.ResourceOption // FakeIntake is the fake intake to use for the agent installation. FakeIntake *fakeintake.Fakeintake // DeployWindows is a flag to deploy the agent on Windows. DeployWindows bool // DisableLogsContainerCollectAll is a flag to disable collection of logs from all containers by default. DisableLogsContainerCollectAll bool // DualShipping is a flag to enable dual shipping. DualShipping bool // OTelAgent is a flag to deploy the OTel agent. OTelAgent bool // OTelConfig is the OTel configuration to use for the agent installation. OTelConfig string // GKEAutopilot is a flag to deploy the agent with only GKE Autopilot compatible values. GKEAutopilot bool }