components

package
v0.58.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package components contains the definitions of the different components 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 DockerAgent

type DockerAgent struct {
	agent.DockerAgentOutput

	// Client cannot be initialized inline as it requires other information to create client
	Client        agentclient.Agent
	ClientOptions []agentclientparams.Option
}

DockerAgent represents an Agent running in a Docker container

func (*DockerAgent) Init added in v0.55.0

func (a *DockerAgent) Init(ctx e2e.Context) (err error)

Init is called by e2e test Suite after the component is provisioned.

type EnvVar

type EnvVar map[string]string

EnvVar alias to map representing env variables

type ExecuteOption

type ExecuteOption func(*ExecuteParams) error

ExecuteOption alias to a functional option changing a given Params instance

func WithEnvVariables

func WithEnvVariables(env EnvVar) ExecuteOption

WithEnvVariables allows to set env variable for the command that will be executed

type ExecuteParams

type ExecuteParams struct {
	EnvVariables EnvVar
}

ExecuteParams contains parameters for VM.Execute commands

type FakeIntake

type FakeIntake struct {
	fakeintake.FakeintakeOutput
	// contains filtered or unexported fields
}

FakeIntake represents a FakeIntake instance

func (*FakeIntake) Client

func (fi *FakeIntake) Client() *client.Client

Client returns the FakeIntake client

func (*FakeIntake) Init

func (fi *FakeIntake) Init(e2e.Context) error

Init is called by e2e test Suite after the component is provisioned.

type KubernetesAgent added in v0.53.0

type KubernetesAgent struct {
	agent.KubernetesAgentOutput
}

KubernetesAgent is an agent running in a Kubernetes cluster

type KubernetesCluster

type KubernetesCluster struct {
	kubernetes.ClusterOutput

	KubernetesClient *client.KubernetesClient
}

KubernetesCluster represents a Kubernetes cluster

func (*KubernetesCluster) Client

func (kc *KubernetesCluster) Client() kubeClient.Interface

Client returns the Kubernetes client

func (*KubernetesCluster) Init

func (kc *KubernetesCluster) Init(e2e.Context) error

Init is called by e2e test Suite after the component is provisioned.

type RemoteActiveDirectory added in v0.53.0

type RemoteActiveDirectory struct {
	activedirectory.Output
}

RemoteActiveDirectory represents an Active Directory domain on a remote machine

type RemoteDatadogInstaller added in v0.57.0

type RemoteDatadogInstaller struct {
	installer.Output
}

RemoteDatadogInstaller represents a Datadog Installer on a remote machine

type RemoteHost

type RemoteHost struct {
	remote.HostOutput

	*client.Host
	// contains filtered or unexported fields
}

RemoteHost represents a remote host

func (*RemoteHost) DownloadAgentLogs added in v0.54.0

func (h *RemoteHost) DownloadAgentLogs(localPath string) error

DownloadAgentLogs downloads the agent logs from the remote host

func (*RemoteHost) Init

func (h *RemoteHost) Init(ctx e2e.Context) (err error)

Init is called by e2e test Suite after the component is provisioned.

type RemoteHostAgent

type RemoteHostAgent struct {
	agent.HostAgentOutput

	Client        agentclient.Agent
	ClientOptions []agentclientparams.Option
}

RemoteHostAgent represents an Agent running directly on a Host

func (*RemoteHostAgent) Init added in v0.55.0

func (a *RemoteHostAgent) Init(ctx e2e.Context) (err error)

Init is called by e2e test Suite after the component is provisioned.

type RemoteHostDocker added in v0.55.0

type RemoteHostDocker struct {
	docker.ManagerOutput

	Client *client.Docker
}

RemoteHostDocker represents an Agent running directly on a Host

func (*RemoteHostDocker) Init added in v0.55.0

func (d *RemoteHostDocker) Init(ctx e2e.Context) (err error)

Init is called by e2e test Suite after the component is provisioned.

type RemoteHostUpdater added in v0.53.0

type RemoteHostUpdater struct {
	updater.HostUpdaterOutput
}

RemoteHostUpdater represents an Updater running directly on a Host

Directories

Path Synopsis
Package installer defines a Pulumi component for installing the Datadog Installer on a remote host in the provisioning step.
Package installer defines a Pulumi component for installing the Datadog Installer on a remote host in the provisioning step.

Jump to

Keyboard shortcuts

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