Documentation ¶
Index ¶
- type SEcloudProvider
- func (p *SEcloudProvider) GetAccountId() string
- func (p *SEcloudProvider) GetBalance() (float64, string, error)
- func (p *SEcloudProvider) GetBucketCannedAcls(regionId string) []string
- func (p *SEcloudProvider) GetCapabilities() []string
- func (p *SEcloudProvider) GetCloudRegionExternalIdPrefix() string
- func (p *SEcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (p *SEcloudProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (p *SEcloudProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SEcloudProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (p *SEcloudProvider) GetObjectCannedAcls(regionId string) []string
- func (p *SEcloudProvider) GetStorageClasses(regionId string) []string
- func (p *SEcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (p *SEcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (p *SEcloudProvider) GetVersion() string
- type SEcloudProviderFactory
- func (f *SEcloudProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (f *SEcloudProviderFactory) GetId() string
- func (f *SEcloudProviderFactory) GetName() string
- func (f *SEcloudProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (f *SEcloudProviderFactory) IsSupportPrepaidResources() bool
- func (f *SEcloudProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (f *SEcloudProviderFactory) 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 SEcloudProvider ¶
type SEcloudProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SEcloudProvider) GetAccountId ¶
func (p *SEcloudProvider) GetAccountId() string
func (*SEcloudProvider) GetBalance ¶
func (p *SEcloudProvider) GetBalance() (float64, string, error)
func (*SEcloudProvider) GetBucketCannedAcls ¶
func (p *SEcloudProvider) GetBucketCannedAcls(regionId string) []string
func (*SEcloudProvider) GetCapabilities ¶
func (p *SEcloudProvider) GetCapabilities() []string
func (*SEcloudProvider) GetCloudRegionExternalIdPrefix ¶
func (p *SEcloudProvider) GetCloudRegionExternalIdPrefix() string
func (*SEcloudProvider) GetIProjects ¶
func (p *SEcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SEcloudProvider) GetIRegionById ¶
func (p *SEcloudProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SEcloudProvider) GetIRegions ¶
func (p *SEcloudProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SEcloudProvider) GetMetrics ¶
func (self *SEcloudProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SEcloudProvider) GetObjectCannedAcls ¶
func (p *SEcloudProvider) GetObjectCannedAcls(regionId string) []string
func (*SEcloudProvider) GetStorageClasses ¶
func (p *SEcloudProvider) GetStorageClasses(regionId string) []string
func (*SEcloudProvider) GetSubAccounts ¶
func (p *SEcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SEcloudProvider) GetSysInfo ¶
func (p *SEcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SEcloudProvider) GetVersion ¶
func (p *SEcloudProvider) GetVersion() string
type SEcloudProviderFactory ¶
type SEcloudProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SEcloudProviderFactory) GetClientRC ¶
func (f *SEcloudProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SEcloudProviderFactory) GetId ¶
func (f *SEcloudProviderFactory) GetId() string
func (*SEcloudProviderFactory) GetName ¶
func (f *SEcloudProviderFactory) GetName() string
func (*SEcloudProviderFactory) GetProvider ¶
func (f *SEcloudProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SEcloudProviderFactory) IsSupportPrepaidResources ¶
func (f *SEcloudProviderFactory) IsSupportPrepaidResources() bool
func (*SEcloudProviderFactory) ValidateCreateCloudaccountData ¶
func (f *SEcloudProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SEcloudProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (f *SEcloudProviderFactory) 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.