Documentation
¶
Overview ¶
Package environments contains the definitions of the different environments that can be used in a test.
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 ¶
Types ¶
type CoverageTargetSpec ¶
CoverageTargetSpec defines the name of the agent, the command to run to generate the coverage and if the coverage is required
type DockerHost ¶
type DockerHost struct {
// Components
RemoteHost *components.RemoteHost
FakeIntake *components.FakeIntake
Agent *components.DockerAgent
Docker *components.RemoteHostDocker
}
DockerHost is an environment that contains a Docker VM, FakeIntake and Agent configured to talk to each other.
func (*DockerHost) Coverage ¶
func (e *DockerHost) Coverage(outputDir string) (string, error)
Coverage generates a coverage report for the Docker agent
type ECS ¶
type ECS struct {
// Components
ECSCluster *components.ECSCluster
FakeIntake *components.FakeIntake
}
ECS is an environment that contains a ECS deployed in a cluster, FakeIntake and Agent configured to talk to each other.
type Host ¶
type Host struct {
RemoteHost *components.RemoteHost
FakeIntake *components.FakeIntake
Agent *components.RemoteHostAgent
Updater *components.RemoteHostUpdater
}
Host is an environment that contains a Host, FakeIntake and Agent configured to talk to each other.
func (*Host) Coverage ¶
Coverage runs the coverage command for each agent and downloads the coverage folders to the output directory
type Kubernetes ¶
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 ¶
type WindowsHost struct {
Environment config.Env
// Components
RemoteHost *components.RemoteHost
FakeIntake *components.FakeIntake
Agent *components.RemoteHostAgent
ActiveDirectory *components.RemoteActiveDirectory
}
WindowsHost is an environment based on environments.Host but that is specific to Windows.