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