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