Documentation ¶
Index ¶
- type SAliyunProvider
- func (self *SAliyunProvider) GetBalance() (float64, error)
- func (self *SAliyunProvider) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SAliyunProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SAliyunProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAliyunProvider) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SAliyunProvider) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (self *SAliyunProvider) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SAliyunProvider) GetId() string
- func (self *SAliyunProvider) GetName() string
- func (self *SAliyunProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SAliyunProvider) IsPublicCloud() bool
- type SAliyunProviderFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SAliyunProvider ¶
type SAliyunProvider struct {
// contains filtered or unexported fields
}
func (*SAliyunProvider) GetBalance ¶
func (self *SAliyunProvider) GetBalance() (float64, error)
func (*SAliyunProvider) GetIHostById ¶
func (self *SAliyunProvider) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SAliyunProvider) GetIRegionById ¶
func (self *SAliyunProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SAliyunProvider) GetIRegions ¶
func (self *SAliyunProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SAliyunProvider) GetIStorageById ¶
func (self *SAliyunProvider) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SAliyunProvider) GetIStoragecacheById ¶
func (self *SAliyunProvider) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SAliyunProvider) GetIVpcById ¶
func (self *SAliyunProvider) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SAliyunProvider) GetId ¶
func (self *SAliyunProvider) GetId() string
func (*SAliyunProvider) GetName ¶
func (self *SAliyunProvider) GetName() string
func (*SAliyunProvider) GetSysInfo ¶
func (self *SAliyunProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SAliyunProvider) IsPublicCloud ¶
func (self *SAliyunProvider) IsPublicCloud() bool
type SAliyunProviderFactory ¶
type SAliyunProviderFactory struct { }
func (*SAliyunProviderFactory) GetId ¶
func (self *SAliyunProviderFactory) GetId() string
func (*SAliyunProviderFactory) GetProvider ¶
func (self *SAliyunProviderFactory) GetProvider(providerId, providerName, url, account, secret string) (cloudprovider.ICloudProvider, error)
Click to show internal directories.
Click to hide internal directories.