package
3.1.2
Repository: https://github.com/pingcap/pd.git
Documentation: pkg.go.dev

# Functions

InitRegion init a new api RegionInfo from the core.RegionInfo.
NewHandler creates a HTTP handler for API.
NewRegionInfo create a new api RegionInfo.
TopNRegions returns top n regions according to the given rule.

# Structs

Health reflects the cluster's health.
HotStoreStats is used to record the status of hot stores.
MetaStore contains meta information about a store.
PeerStats is the etcd peers' stats.
Recommendation contains a potential problem and possible way to deal with it.
RegionHeap implements heap.Interface, used for selecting top n regions.
RegionInfo records detail region info for api usage.
RegionsInfo contains some regions with the detailed region info.
StoreInfo contains information about a store.
StoresInfo records stores' info.
StoreStatus contains status about a store.
Trend describes the cluster's schedule trend.