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