kubernetes/vendor/go.etcd.io/etcd/server/v3/etcdserver/quota.go

const DefaultQuotaBytes

const MaxQuotaBytes

type Quota

type passthroughQuota

func (*passthroughQuota) Available(interface{}

func (*passthroughQuota) Cost(interface{}

func (*passthroughQuota) Remaining() int64           {}

type backendQuota

const leaseOverhead

const kvOverhead

var quotaLogOnce

var DefaultQuotaSize

var maxQuotaSize

// NewBackendQuota creates a quota layer with the given storage limit.
func NewBackendQuota(s *EtcdServer, name string) Quota {}

func (b *backendQuota) Available(v interface{}

func (b *backendQuota) Cost(v interface{}

func costPut(r *pb.PutRequest) int {}

func costTxnReq(u *pb.RequestOp) int {}

func costTxn(r *pb.TxnRequest) int {}

func (b *backendQuota) Remaining() int64 {}