const peerMembersPath …
const peerMemberPromotePrefix …
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) { … }