Versions in this module Expand all Collapse all v1 v1.3.0-alpha.1 Oct 23, 2021 v1.2.0 Oct 23, 2021 Changes in this version + const BillingPreemptible + const FamilyC2 + const FamilyE2 + const FamilyF1 + const FamilyG1 + const FamilyM1 + const FamilyM2 + const FamilyN1 + const FamilyN2 + const FamilyN2D + func Handler(w http.ResponseWriter, r *http.Request) + func InitSKUPriceList(svc *cloudbilling.APIService) error + type Price struct + ComputePrice float64 + Currency string + EffectiveTime string + OsPrice float64 + type Request struct + Billing string + CPU float64 + Family string + Hours float64 + Instances int + Os string + RAM float64 + Region string + type SUD struct + Hours [4]float64 + Percentage [4]float64 + type SkuOS = map[string]string + var SkuOSList SkuOS + type SkuPrice = map[string]*cloudbilling.PricingInfo + var SkuPriceList SkuPrice + type SkuVM = map[string]map[string]map[string]string + var SkuVMList SkuVM + func InitData() SkuVM