Documentation ¶
Index ¶
Constants ¶
View Source
const (
TiDBServerInformationPath = "/tidb/server/info"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdProvider ¶
type LocalEtcdProvider ¶
type LocalEtcdProvider struct {
// contains filtered or unexported fields
}
FIXME: We should be able to provide etcd directly. However currently there are problems in PD.
func NewLocalEtcdClientProvider ¶
func NewLocalEtcdClientProvider(config *config.Config) (*LocalEtcdProvider, error)
func (*LocalEtcdProvider) GetEtcdClient ¶
func (p *LocalEtcdProvider) GetEtcdClient() *clientv3.Client
Click to show internal directories.
Click to hide internal directories.