docker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package docker provides functions for integration tests that rely on Docker. Configuring tests via flags doesn't scale well (because passing that flag to ./... will fail for all of the other tests), and so we use OS environment variables as a way to allow for environment configuration in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureHost

func ConfigureHost(config *dck.HostConfig)

ConfigureHost configures the host for a standard docker environment.

func GetAddress

func GetAddress(r *dockertest.Resource) string

GetAddress returns the server address for the resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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