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
- type VariableType
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 VariableType DefaultValue interface{} }
type VariableType ¶ added in v0.8.3
type VariableType int
const ( Int64 VariableType = iota String )
Click to show internal directories.
Click to hide internal directories.