consul

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MPL-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareTestContainer

func PrepareTestContainer(t *testing.T, version string) (cleanup func(), retAddress string, consulToken string)

PrepareTestContainer creates a Consul docker container. If version is empty, the Consul version used will be given by the environment variable CONSUL_DOCKER_VERSION, or if that's empty, whatever we've hardcoded as the the latest Consul version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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