windows

package
v0.54.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package windows contains the code to run the e2e tests on Windows

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseAgentInstallerSuite added in v0.53.0

type BaseAgentInstallerSuite[Env any] struct {
	e2e.BaseSuite[Env]

	AgentPackage *windowsAgent.Package
	OutputDir    string
}

BaseAgentInstallerSuite is a base class for the Windows Agent installer suites

func (*BaseAgentInstallerSuite[Env]) BeforeTest added in v0.53.0

func (b *BaseAgentInstallerSuite[Env]) BeforeTest(suiteName, testName string)

BeforeTest overrides the base BeforeTest to perform some additional per-test setup like configuring the output directory.

func (*BaseAgentInstallerSuite[Env]) InstallAgent added in v0.53.0

func (b *BaseAgentInstallerSuite[Env]) InstallAgent(host *components.RemoteHost, options ...windowsAgent.InstallAgentOption) (string, error)

InstallAgent installs the Agent on a given Windows host. It will pass all the parameters to the MSI installer.

func (*BaseAgentInstallerSuite[Env]) NewTestClientForHost added in v0.53.0

func (b *BaseAgentInstallerSuite[Env]) NewTestClientForHost(host *components.RemoteHost) *platformCommon.TestClient

NewTestClientForHost creates a new TestClient for a given host.

func (*BaseAgentInstallerSuite[Env]) SetupSuite added in v0.53.0

func (b *BaseAgentInstallerSuite[Env]) SetupSuite()

SetupSuite overrides the base SetupSuite to perform some additional setups like setting the package to install.

Directories

Path Synopsis
Package common contains helpers for Windows E2E tests
Package common contains helpers for Windows E2E tests
agent
Package agent includes helpers related to the Datadog Agent on Windows
Package agent includes helpers related to the Datadog Agent on Windows
agent/installers/v2
Package installers processes the installers_v2.json file
Package installers processes the installers_v2.json file
powershell
Package powershell provides
Package powershell provides
components
defender
Package defender contains code to control the behavior of Windows defender in the E2E tests
Package defender contains code to control the behavior of Windows defender in the E2E tests
Package installtest contains e2e tests for the Windows agent installer
Package installtest contains e2e tests for the Windows agent installer
service-test
Package servicetest provides tests for the services installed by the Windows Agent
Package servicetest provides tests for the services installed by the Windows Agent

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL