Documentation ¶
Index ¶
- type SCloudpodsProvider
- func (self *SCloudpodsProvider) GetAccountId() string
- func (self *SCloudpodsProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
- func (self *SCloudpodsProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SCloudpodsProvider) GetCapabilities() []string
- func (self *SCloudpodsProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SCloudpodsProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SCloudpodsProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SCloudpodsProvider) GetIRegions() ([]cloudprovider.ICloudRegion, error)
- func (provider *SCloudpodsProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SCloudpodsProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SCloudpodsProvider) GetStorageClasses(regionId string) []string
- func (self *SCloudpodsProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SCloudpodsProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SCloudpodsProvider) GetVersion() string
- type SCloudpodsProviderFactory
- func (self *SCloudpodsProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SCloudpodsProviderFactory) GetId() string
- func (self *SCloudpodsProviderFactory) GetName() string
- func (self *SCloudpodsProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SCloudpodsProviderFactory) IsNeedForceAutoCreateProject() bool
- func (self *SCloudpodsProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
- func (self *SCloudpodsProviderFactory) 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 SCloudpodsProvider ¶
type SCloudpodsProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SCloudpodsProvider) GetAccountId ¶
func (self *SCloudpodsProvider) GetAccountId() string
func (*SCloudpodsProvider) GetBalance ¶
func (self *SCloudpodsProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
func (*SCloudpodsProvider) GetBucketCannedAcls ¶
func (self *SCloudpodsProvider) GetBucketCannedAcls(regionId string) []string
func (*SCloudpodsProvider) GetCapabilities ¶
func (self *SCloudpodsProvider) GetCapabilities() []string
func (*SCloudpodsProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SCloudpodsProvider) GetCloudRegionExternalIdPrefix() string
func (*SCloudpodsProvider) GetIProjects ¶
func (self *SCloudpodsProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SCloudpodsProvider) GetIRegionById ¶
func (self *SCloudpodsProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SCloudpodsProvider) GetIRegions ¶
func (self *SCloudpodsProvider) GetIRegions() ([]cloudprovider.ICloudRegion, error)
func (*SCloudpodsProvider) GetMetrics ¶
func (provider *SCloudpodsProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SCloudpodsProvider) GetObjectCannedAcls ¶
func (self *SCloudpodsProvider) GetObjectCannedAcls(regionId string) []string
func (*SCloudpodsProvider) GetStorageClasses ¶
func (self *SCloudpodsProvider) GetStorageClasses(regionId string) []string
func (*SCloudpodsProvider) GetSubAccounts ¶
func (self *SCloudpodsProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SCloudpodsProvider) GetSysInfo ¶
func (self *SCloudpodsProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SCloudpodsProvider) GetVersion ¶
func (self *SCloudpodsProvider) GetVersion() string
type SCloudpodsProviderFactory ¶
type SCloudpodsProviderFactory struct {
cloudprovider.SPrivateCloudBaseProviderFactory
}
func (*SCloudpodsProviderFactory) GetClientRC ¶
func (self *SCloudpodsProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SCloudpodsProviderFactory) GetId ¶
func (self *SCloudpodsProviderFactory) GetId() string
func (*SCloudpodsProviderFactory) GetName ¶
func (self *SCloudpodsProviderFactory) GetName() string
func (*SCloudpodsProviderFactory) GetProvider ¶
func (self *SCloudpodsProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SCloudpodsProviderFactory) IsNeedForceAutoCreateProject ¶
func (self *SCloudpodsProviderFactory) IsNeedForceAutoCreateProject() bool
func (*SCloudpodsProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SCloudpodsProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SCloudpodsProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SCloudpodsProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.