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