environments

package
v0.55.0-devel Latest Latest
Warning

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

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

Documentation

Overview

Package environments contains the definitions of the different environments that can be used in a test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerHost

type DockerHost struct {
	AwsEnvironment *aws.Environment
	// Components
	RemoteHost *components.RemoteHost
	FakeIntake *components.FakeIntake
	Agent      *components.DockerAgent

	// Other clients
	Docker *client.Docker
}

DockerHost is an environment that contains a Docker VM, FakeIntake and Agent configured to talk to each other.

func (*DockerHost) Init

func (e *DockerHost) Init(ctx e2e.Context) error

Init initializes the environment

type ECS added in v0.53.0

type ECS struct {
	AwsEnvironment *aws.Environment
	ClusterName    pulumi.StringInput
	ClusterArn     pulumi.StringInput

	// Components
	FakeIntake    *components.FakeIntake
	DatadogClient *datadog.Client
}

ECS is an environment that contains a ECS deployed in a cluster, FakeIntake and Agent configured to talk to each other.

func (*ECS) Init added in v0.53.0

func (e *ECS) Init(_ e2e.Context) error

Init initializes the environment

type Host

type Host struct {
	AwsEnvironment *aws.Environment
	// Components
	RemoteHost *components.RemoteHost
	FakeIntake *components.FakeIntake
	Agent      *components.RemoteHostAgent
	Updater    *components.RemoteHostUpdater

	// WARN: do not use outside of the Init method
	// Agent Client options are stored here as a workaround to make it easier to customize the agent client,
	// but they should not be used for anything else as it should eventually be refactored differently
	AgentClientOptions []agentclientparams.Option
}

Host is an environment that contains a Host, FakeIntake and Agent configured to talk to each other.

func (*Host) Init

func (e *Host) Init(ctx e2e.Context) error

Init initializes the environment

type Kubernetes added in v0.53.0

type Kubernetes struct {
	// Components
	KubernetesCluster *components.KubernetesCluster
	FakeIntake        *components.FakeIntake
	Agent             *components.KubernetesAgent
}

Kubernetes is an environment that contains a Kubernetes cluster, the Agent and a FakeIntake.

type WindowsHost added in v0.53.0

type WindowsHost struct {
	AwsEnvironment *aws.Environment
	// Components
	RemoteHost      *components.RemoteHost
	FakeIntake      *components.FakeIntake
	Agent           *components.RemoteHostAgent
	ActiveDirectory *components.RemoteActiveDirectory

	// WARN: do not use outside of the Init method
	// Agent Client options are stored here as a workaround to make it easier to customize the agent client,
	// but they should not be used for anything else as it should eventually be refactored differently
	AgentClientOptions []agentclientparams.Option
}

WindowsHost is an environment based on environments.Host but that is specific to Windows.

func (*WindowsHost) Init added in v0.53.0

func (e *WindowsHost) Init(ctx e2e.Context) error

Init initializes the environment

Directories

Path Synopsis
aws
docker
Package awsdocker contains the definition of the AWS Docker environment.
Package awsdocker contains the definition of the AWS Docker environment.
ecs
Package ecs contains the definition of the AWS ECS environment.
Package ecs contains the definition of the AWS ECS environment.
host
Package awshost contains the definition of the AWS Host environment.
Package awshost contains the definition of the AWS Host environment.
host/windows
Package winawshost contains the definition of the AWS Windows Host environment.
Package winawshost contains the definition of the AWS Windows Host environment.
kubernetes
Package awskubernetes contains the provisioner for the Kubernetes based environments
Package awskubernetes contains the provisioner for the Kubernetes based environments

Jump to

Keyboard shortcuts

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