package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
GetEtcdAddrs gets the etcd addrs from store if the store support it.
IsKeyspaceNotExistError returns true the error is caused by keyspace not exists.
IsNotBootstrappedError returns true if the error is pd not bootstrapped error.
New creates a kv Storage with path.
NewEtcdCli creates a new clientv3.Client from store if the store support it.
NewEtcdCliWithAddrs creates a new clientv3.Client with specified addrs and etcd backend.
Register registers a kv storage with unique name and its associated Driver.