Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { RetentionDay string `json:"retentionDay" yaml:"retentionDay"` Billing Billing `json:"billing" yaml:"billing"` }
func NewMeteringOptions ¶
func NewMeteringOptions() *Options
type PriceInfo ¶
type PriceInfo struct { // currency unit, currently support CNY and USD CpuPerCorePerHour float64 `json:"cpuPerCorePerHour" yaml:"cpuPerCorePerHour"` // cpu cost with above currency unit for per core per hour MemPerGigabytesPerHour float64 `json:"memPerGigabytesPerHour" yaml:"memPerGigabytesPerHour"` // mem cost with above currency unit for per GB per hour IngressNetworkTrafficPerMegabytesPerHour float64 `json:"ingressNetworkTrafficPerMegabytesPerHour" yaml:"ingressNetworkTrafficPerGiagabytesPerHour"` // ingress network traffic cost with above currency unit for per MB per hour EgressNetworkTrafficPerMegabytesPerHour float64 `json:"egressNetworkTrafficPerMegabytesPerHour" yaml:"egressNetworkTrafficPerGigabytesPerHour"` // egress network traffice cost with above currency unit for per MB per hour PvcPerGigabytesPerHour float64 `json:"pvcPerGigabytesPerHour" yaml:"pvcPerGigabytesPerHour"` // pvc cost with above currency unit for per GB per hour CurrencyUnit string `json:"currencyUnit" yaml:"currencyUnit"` }
Click to show internal directories.
Click to hide internal directories.