kubernetes/vendor/go.etcd.io/etcd/server/v3/etcdserver/api/v2stats/server.go

type ServerStats

func NewServerStats(name, id string) *ServerStats {}

type serverStats

func (ss *ServerStats) JSON() []byte {}

// RecvAppendReq updates the ServerStats in response to an AppendRequest
// from the given leader being received
func (ss *ServerStats) RecvAppendReq(leader string, reqSize int) {}

// SendAppendReq updates the ServerStats in response to an AppendRequest
// being sent by this server
func (ss *ServerStats) SendAppendReq(reqSize int) {}

func (ss *ServerStats) BecomeLeader() {}

func (ss *ServerStats) becomeLeader() {}