Merge pull request #170 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-aliyun-account-balance to release/2.1.0

* commit '0c79c6e4e6a907073e25dcde0645b457a151e0a8':
  增加阿里云账户余额接口支持
This commit is contained in:
邱剑
2018-09-10 23:53:17 +08:00
7 changed files with 179 additions and 2 deletions
+2
View File
@@ -25,6 +25,8 @@ type ICloudProvider interface {
GetIVpcById(id string) (ICloudVpc, error)
GetIStorageById(id string) (ICloudStorage, error)
GetIStoragecacheById(id string) (ICloudStoragecache, error)
GetBalance() (float64, error)
}
var providerTable map[string]ICloudProviderFactory