Back to godoc.org

Package pd

v1.0.1
Latest Go to latest

The highest tagged major version is .

Published: Mar 15, 2020 | License: Apache-2.0 | Module: github.com/LinuxGit/tidb-dashboard

Index

Constants

const (
	TiDBServerInformationPath = "/tidb/server/info"
)

type EtcdProvider

type EtcdProvider interface {
	GetEtcdClient() *clientv3.Client
}

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier