Documentation
¶
Index ¶
- func ExecuteCommand(agentContainer *testcontainers.DockerContainer, cmd []string) (string, error)
- func SetupTestContainerWithAgent(t *testing.T, testName string, agentConf string, waitForLog string) *testcontainers.DockerContainer
- func SetupTestContainerWithoutAgent(t *testing.T) *testcontainers.DockerContainer
- func TestAgentHasNoErrorLogs(t *testing.T, agentContainer *testcontainers.DockerContainer)
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.
Click to show internal directories.
Click to hide internal directories.