Documentation ¶
Index ¶
- func ConfigForEtcdTest(endpoint string) *config.Config
- func CreateEtcdServer(addr, dir string, lg *zap.Logger) (*embed.Etcd, error)
- func GetKVs(ctx context.Context, etcdCli *clientv3.Client, key string, ...) ([]*mvccpb.KeyValue, error)
- func InitEtcdClient(logger *zap.Logger, cfg *config.Config, certMgr *cert.CertManager) (*clientv3.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigForEtcdTest ¶
func CreateEtcdServer ¶
CreateEtcdServer creates an etcd server and is only used for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.