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