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