Marek Siarkowicz
bf3eea8831
tests: Allow creating client for EtcdProcess
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-11-17 10:48:14 +01:00
Clark
7180267d56
tests: refactor EtcdProcessClusterConfig
with Functional Options Pattern
...
remove `cfg *EtcdProcessClusterConfig` param from `NewEtcdProcessCluster` function
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-11-16 15:05:29 +08:00
Clark
3510680c32
tests: refactor EtcdProcessClusterConfig
using Functional Options Pattern
...
replace some initialisations with `DefaultConfig`, `NewConfig` and `EPClusterOption`
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-11-14 03:07:51 +08:00
Marek Siarkowicz
d3b9951126
tests: Refactor BinPath into struct
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-10-17 14:09:49 +02:00
Marek Siarkowicz
70de5c8937
tests: Add context to e2e cluster start
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 08:08:17 +02:00
ahrtr
2f36e0c62b
Change discovery url to endpoints
...
Currently the discovery url is just one endpoint. But actually it
should be the same as the etcdctl, which means that it should be
a list of endpoints. When one endpoint is down, the clientv3 can
fail over to the next endpoint automatically.
2022-02-24 09:11:41 +08:00
ahrtr
ebc86d12c0
support v3 discovery to bootstrap a new etcd cluster
2022-02-21 23:22:49 +08:00