Versions in this module Expand all Collapse all v1 v1.0.0 Dec 17, 2020 Changes in this version + type Client struct + func NewPDClient(c *http.Client, pdAddr string) *Client + func (p *Client) AddScheduler(schedulerName string) error + func (p *Client) GetRegionByKey(key string) (*RegionInfo, error) + func (p *Client) GetSiblingRegions(id uint64) ([]*RegionInfo, error) + func (p *Client) GetStores() (*Stores, error) + func (p *Client) ListRegions() ([]*RegionInfo, error) + func (p *Client) Operators(input map[string]interface{}) error + func (p *Client) RemoveScheduler(schedulerName string) error + type RegionInfo struct + EndKey string + ID uint64 + Leader *metapb.Peer + Peers []*metapb.Peer + StartKey string + type StoreInfo struct + type Stores struct + Count uint64 + Stores []*StoreInfo