Documentation ¶
Index ¶
- func CalculateTierBuckets(requestCount decimal.Decimal, tierLimits []int) []decimal.Decimal
- func LoadFromFile(usageFilePath string, createIfNotExisting bool) (map[string]*schema.UsageData, error)
- func SyncUsageData(project *schema.Project, existingUsageData map[string]*schema.UsageData, ...) error
- type SchemaItem
- type UsageFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateTierBuckets ¶ added in v0.7.19
func LoadFromFile ¶
Types ¶
type SchemaItem ¶ added in v0.8.3
type SchemaItem struct { Key string ValueType schema.UsageVariableType DefaultValue interface{} }
Click to show internal directories.
Click to hide internal directories.