Documentation ¶
Index ¶
- func WithAgentFullImagePath(fullImagePath string) func(*Params) error
- func WithClusterAgentFullImagePath(fullImagePath string) func(*Params) error
- func WithDeployWindows() func(*Params) error
- func WithFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
- func WithHelmValues(values string) func(*Params) error
- func WithNamespace(namespace string) func(*Params) error
- func WithPulumiResourceOptions(resources ...pulumi.ResourceOption) 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 WithDeployWindows ¶
WithDeployWindows sets the flag to deploy the agent on Windows.
func WithFakeintake ¶
func WithFakeintake(fakeintake *fakeintake.Fakeintake) func(*Params) error
WithFakeintake configures the Agent to use the given fake intake.
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. TODO: If https://github.com/pulumi/pulumi-kubernetes/pull/2963 is merged we can revert https://github.com/DataDog/test-infra-definitions/pull/779
func WithNamespace ¶
WithNamespace sets the namespace to deploy the agent to.
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 string // 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 }