kubernetes/vendor/go.etcd.io/etcd/server/v3/etcdserver/api/etcdhttp/peer.go

const peerMembersPath

const peerMemberPromotePrefix

// NewPeerHandler generates an http.Handler to handle etcd peer requests.
func NewPeerHandler(lg *zap.Logger, s etcdserver.ServerPeerV2) http.Handler {}

func newPeerHandler(
	lg *zap.Logger,
	s etcdserver.Server,
	raftHandler http.Handler,
	leaseHandler http.Handler,
	hashKVHandler http.Handler,
	downgradeEnabledHandler http.Handler,
) http.Handler {}

func newPeerMembersHandler(lg *zap.Logger, cluster api.Cluster) http.Handler {}

type peerMembersHandler

func newPeerMemberPromoteHandler(lg *zap.Logger, s etcdserver.Server) http.Handler {}

type peerMemberPromoteHandler

func (h *peerMembersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {}

func (h *peerMemberPromoteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {}