Documentation ¶
Index ¶
- type SUcloudProvider
- func (self *SUcloudProvider) GetAccountId() string
- func (self *SUcloudProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
- func (self *SUcloudProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SUcloudProvider) GetCapabilities() []string
- func (self *SUcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SUcloudProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SUcloudProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SUcloudProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SUcloudProvider) GetOnPremiseIRegion() (cloudprovider.ICloudRegion, error)
- func (self *SUcloudProvider) GetStorageClasses(regionId string) []string
- func (self *SUcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SUcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SUcloudProvider) GetVersion() string
- type SUcloudProviderFactory
- func (self *SUcloudProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SUcloudProviderFactory) GetId() string
- func (self *SUcloudProviderFactory) GetName() string
- func (self *SUcloudProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SUcloudProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
- func (self *SUcloudProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, ...) (cloudprovider.SCloudaccount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SUcloudProvider ¶
type SUcloudProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SUcloudProvider) GetAccountId ¶
func (self *SUcloudProvider) GetAccountId() string
func (*SUcloudProvider) GetBalance ¶
func (self *SUcloudProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
func (*SUcloudProvider) GetBucketCannedAcls ¶
func (self *SUcloudProvider) GetBucketCannedAcls(regionId string) []string
func (*SUcloudProvider) GetCapabilities ¶
func (self *SUcloudProvider) GetCapabilities() []string
func (*SUcloudProvider) GetIProjects ¶
func (self *SUcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SUcloudProvider) GetIRegionById ¶
func (self *SUcloudProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SUcloudProvider) GetIRegions ¶
func (self *SUcloudProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SUcloudProvider) GetObjectCannedAcls ¶
func (self *SUcloudProvider) GetObjectCannedAcls(regionId string) []string
func (*SUcloudProvider) GetOnPremiseIRegion ¶
func (self *SUcloudProvider) GetOnPremiseIRegion() (cloudprovider.ICloudRegion, error)
func (*SUcloudProvider) GetStorageClasses ¶
func (self *SUcloudProvider) GetStorageClasses(regionId string) []string
func (*SUcloudProvider) GetSubAccounts ¶
func (self *SUcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SUcloudProvider) GetSysInfo ¶
func (self *SUcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SUcloudProvider) GetVersion ¶
func (self *SUcloudProvider) GetVersion() string
type SUcloudProviderFactory ¶
type SUcloudProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
tag:finished
func (*SUcloudProviderFactory) GetClientRC ¶
func (self *SUcloudProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SUcloudProviderFactory) GetId ¶
func (self *SUcloudProviderFactory) GetId() string
func (*SUcloudProviderFactory) GetName ¶
func (self *SUcloudProviderFactory) GetName() string
func (*SUcloudProviderFactory) GetProvider ¶
func (self *SUcloudProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SUcloudProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SUcloudProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SUcloudProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SUcloudProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.