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