docker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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