Documentation ¶
Index ¶
- Constants
- func GetZoneIdBySuffix(zoneMaps map[string]string, suffix string) string
- type SSkuResourcesMeta
- func (self *SSkuResourcesMeta) Get(url string, retVal interface{}) error
- func (self *SSkuResourcesMeta) GetCurrencyRate(src, dest string) (float64, error)
- func (self *SSkuResourcesMeta) Index(resType string) (map[string]string, error)
- func (self *SSkuResourcesMeta) List(resType string, regionId string, retVal interface{}) error
Constants ¶
View Source
const (
EMPTY_MD5 = "d751713988987e9331980363e24189ce"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SSkuResourcesMeta ¶
type SSkuResourcesMeta struct { // RDS套餐 DBInstanceBase string `json:"dbinstance_base"` // 虚拟机套餐 ServerBase string `json:"server_base"` // Redis套餐 ElasticCacheBase string `json:"elastic_cache_base"` // 公有云镜像 ImageBase string `json:"image_base"` NatBase string `json:"nat_base"` NasBase string `json:"nas_base"` WafBase string `json:"waf_base"` CloudpolicyBase string `json:"cloudpolicy_base"` RateBase string `json:"rate_base"` // 汇率转换 CurrencyExchangeBase string `json:"currency_exchange_base"` // contains filtered or unexported fields }
func FetchYunionmeta ¶
func FetchYunionmeta(ctx context.Context) (*SSkuResourcesMeta, error)
func (*SSkuResourcesMeta) Get ¶
func (self *SSkuResourcesMeta) Get(url string, retVal interface{}) error
func (*SSkuResourcesMeta) GetCurrencyRate ¶
func (self *SSkuResourcesMeta) GetCurrencyRate(src, dest string) (float64, error)
Click to show internal directories.
Click to hide internal directories.