Documentation ¶
Index ¶
- type SInCloudSphereProvider
- func (self *SInCloudSphereProvider) GetAccountId() string
- func (self *SInCloudSphereProvider) GetBalance() (float64, string, error)
- func (self *SInCloudSphereProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SInCloudSphereProvider) GetCapabilities() []string
- func (self *SInCloudSphereProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SInCloudSphereProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SInCloudSphereProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SInCloudSphereProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SInCloudSphereProvider) GetStorageClasses(regionId string) []string
- func (self *SInCloudSphereProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SInCloudSphereProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SInCloudSphereProvider) GetVersion() string
- type SInCloudSphereProviderFactory
- func (self *SInCloudSphereProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SInCloudSphereProviderFactory) GetId() string
- func (self *SInCloudSphereProviderFactory) GetName() string
- func (self *SInCloudSphereProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SInCloudSphereProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
- func (self *SInCloudSphereProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SInCloudSphereProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SInCloudSphereProvider ¶
type SInCloudSphereProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SInCloudSphereProvider) GetAccountId ¶
func (self *SInCloudSphereProvider) GetAccountId() string
func (*SInCloudSphereProvider) GetBalance ¶
func (self *SInCloudSphereProvider) GetBalance() (float64, string, error)
func (*SInCloudSphereProvider) GetBucketCannedAcls ¶
func (self *SInCloudSphereProvider) GetBucketCannedAcls(regionId string) []string
func (*SInCloudSphereProvider) GetCapabilities ¶
func (self *SInCloudSphereProvider) GetCapabilities() []string
func (*SInCloudSphereProvider) GetIProjects ¶
func (self *SInCloudSphereProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SInCloudSphereProvider) GetIRegionById ¶
func (self *SInCloudSphereProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SInCloudSphereProvider) GetIRegions ¶
func (self *SInCloudSphereProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SInCloudSphereProvider) GetObjectCannedAcls ¶
func (self *SInCloudSphereProvider) GetObjectCannedAcls(regionId string) []string
func (*SInCloudSphereProvider) GetStorageClasses ¶
func (self *SInCloudSphereProvider) GetStorageClasses(regionId string) []string
func (*SInCloudSphereProvider) GetSubAccounts ¶
func (self *SInCloudSphereProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SInCloudSphereProvider) GetSysInfo ¶
func (self *SInCloudSphereProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SInCloudSphereProvider) GetVersion ¶
func (self *SInCloudSphereProvider) GetVersion() string
type SInCloudSphereProviderFactory ¶
type SInCloudSphereProviderFactory struct {
cloudprovider.SPrivateCloudBaseProviderFactory
}
func (*SInCloudSphereProviderFactory) GetClientRC ¶
func (self *SInCloudSphereProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SInCloudSphereProviderFactory) GetId ¶
func (self *SInCloudSphereProviderFactory) GetId() string
func (*SInCloudSphereProviderFactory) GetName ¶
func (self *SInCloudSphereProviderFactory) GetName() string
func (*SInCloudSphereProviderFactory) GetProvider ¶
func (self *SInCloudSphereProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SInCloudSphereProviderFactory) ValidateChangeBandwidth ¶
func (self *SInCloudSphereProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
func (*SInCloudSphereProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SInCloudSphereProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SInCloudSphereProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SInCloudSphereProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.