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