utils

package
v0.0.0-...-fa60ae2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(agentContainer *testcontainers.DockerContainer, cmd []string) (string, error)

func SetupTestContainerWithAgent

func SetupTestContainerWithAgent(t *testing.T, testName string, agentConf string, waitForLog string) *testcontainers.DockerContainer

SetupTestContainerWithAgent sets up a container with nginx and nginx-agent installed

func SetupTestContainerWithoutAgent

func SetupTestContainerWithoutAgent(t *testing.T) *testcontainers.DockerContainer

SetupTestContainerWithoutAgent sets up a container with nginx installed

func TestAgentHasNoErrorLogs

func TestAgentHasNoErrorLogs(t *testing.T, agentContainer *testcontainers.DockerContainer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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