Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestEtcdClient ¶
TestEtcdClient connects to the shared etcd instance at etcd:2379 and returns a client along with a random prefix for test isolation. It verifies etcd is reachable with a short timeout so tests fail fast with a clear message when run outside the dev environment.
Cleanup is registered automatically: all keys under the prefix are deleted and the client is closed when the test finishes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.