Imports github.com/pingcap/pd/pd-client github.com/Sirupsen/logrus github.com/juju/errors github.com/pingcap/kvproto/pkg/metapb github.com/spf13/cobra Standard library imports bytes encoding/json fmt io io/ioutil net/http net/url os path strconv time