etcd

package
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	docker.ServiceURL
}

func PrepareTestContainer

func PrepareTestContainer(t *testing.T, version string) (func(), *Config)

PrepareTestContainer creates etcd docker container. If environment variabe ETCD_ADDR is set, the tests are executed against specified address and etcd container is not launched.

Jump to

Keyboard shortcuts

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