tidb: github.com/pingcap/tidb/util/pdapi Index | Files

package pdapi

import "github.com/pingcap/tidb/util/pdapi"

Index

Package Files

const.go

Constants

const (
    HotRead        = "/pd/api/v1/hotspot/regions/read"
    HotWrite       = "/pd/api/v1/hotspot/regions/write"
    Regions        = "/pd/api/v1/regions"
    RegionByID     = "/pd/api/v1/region/id/"
    Stores         = "/pd/api/v1/stores"
    ClusterVersion = "/pd/api/v1/config/cluster-version"
    Status         = "/pd/api/v1/status"
    Config         = "/pd/api/v1/config"
)

The following constants are the APIs of PD server.

Package pdapi is imported by 22 packages. Updated 2020-02-17. Refresh now. Tools for package owners.