Documentation
¶
Index ¶
- Constants
- func GetBillingExpr(model string) (string, bool)
- func GetBillingExprCopy() map[string]string
- func GetBillingMode(model string) string
- func GetBillingModeCopy() map[string]string
- func GetPricingSyncData(base map[string]any) map[string]any
- func SmokeTestExpr(exprStr string) error
- func SmokeTestTaskExpr(exprStr string, schema map[string]jsplugin.UsageFieldSchema) error
- type BillingSetting
Constants ¶
View Source
const ( BillingModeRatio = "ratio" BillingModeTieredExpr = "tiered_expr" BillingModeField = "billing_mode" BillingExprField = "billing_expr" )
Variables ¶
This section is empty.
Functions ¶
func GetBillingExpr ¶
func GetBillingExprCopy ¶ added in v0.13.2
func GetBillingMode ¶
func GetBillingModeCopy ¶ added in v0.13.2
func GetPricingSyncData ¶ added in v0.13.2
func SmokeTestExpr ¶
func SmokeTestTaskExpr ¶
func SmokeTestTaskExpr(exprStr string, schema map[string]jsplugin.UsageFieldSchema) error
SmokeTestTaskExpr validates a task usage expression against the usage facts declared by its plugin. Literal u() keys must be declared; dynamic calls are still exercised by the generated runtime vectors when possible.
Types ¶
Click to show internal directories.
Click to hide internal directories.