Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultQuota = 10000 QuotaConfigKey = "QUOTA_CONFIG" )
const
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInManager ¶
type BuildInManager struct {
}
BuildInManager read env config to max config item number, and db total usage it is not a centralized QMS.
func (*BuildInManager) DecreaseUsed ¶
func (m *BuildInManager) DecreaseUsed(service, domain, resource string, used int64) error
DecreaseUsed no use
func (*BuildInManager) GetQuotas ¶
func (m *BuildInManager) GetQuotas(serviceName, domain string) ([]*quota.Quota, error)
GetQuotas get usage and quota
func (*BuildInManager) IncreaseUsed ¶
func (m *BuildInManager) IncreaseUsed(service, domain, resource string, used int64) error
IncreaseUsed no use
Click to show internal directories.
Click to hide internal directories.