Documentation ¶ Index ¶ type Config func PrepareTestContainer(t *testing.T, version string) (func(), *Config) 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. Source Files ¶ View all Source files etcdhelper.go Click to show internal directories. Click to hide internal directories.