Documentation ¶
Index ¶
- type SHuaweiProvider
- func (self *SHuaweiProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
- func (self *SHuaweiProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SHuaweiProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SHuaweiProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SHuaweiProvider) GetAccountId() string
- func (self *SHuaweiProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
- func (self *SHuaweiProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SHuaweiProvider) GetCapabilities() []string
- func (self *SHuaweiProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SHuaweiProvider) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
- func (self *SHuaweiProvider) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
- func (self *SHuaweiProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SHuaweiProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SHuaweiProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SHuaweiProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SHuaweiProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SHuaweiProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SHuaweiProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SHuaweiProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SHuaweiProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SHuaweiProvider) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error)
- func (self *SHuaweiProvider) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
- func (self *SHuaweiProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SHuaweiProvider) GetIamLoginUrl() string
- func (self *SHuaweiProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SHuaweiProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SHuaweiProvider) GetSamlEntityId() string
- func (self *SHuaweiProvider) GetStorageClasses(regionId string) []string
- func (self *SHuaweiProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SHuaweiProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SHuaweiProvider) GetVersion() string
- type SHuaweiProviderFactory
- func (self *SHuaweiProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SHuaweiProviderFactory) GetId() string
- func (self *SHuaweiProviderFactory) GetMaxCloudEventKeepDays() int
- func (self *SHuaweiProviderFactory) GetMaxCloudEventSyncDays() int
- func (self *SHuaweiProviderFactory) GetName() string
- func (self *SHuaweiProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SHuaweiProviderFactory) IsCloudeventRegional() bool
- func (self *SHuaweiProviderFactory) IsSupportCloudIdService() bool
- func (self *SHuaweiProviderFactory) IsSupportClouduserPolicy() bool
- func (self *SHuaweiProviderFactory) IsSupportCreateCloudgroup() bool
- func (factory *SHuaweiProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
- func (factory *SHuaweiProviderFactory) IsSupportCrossRegionVpcPeering() bool
- func (factory *SHuaweiProviderFactory) IsSupportModifyRouteTable() bool
- func (factory *SHuaweiProviderFactory) IsSupportSAMLAuth() bool
- func (factory *SHuaweiProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
- func (self *SHuaweiProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
- func (self *SHuaweiProviderFactory) 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 SHuaweiProvider ¶
type SHuaweiProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SHuaweiProvider) CreateICloudSAMLProvider ¶
func (self *SHuaweiProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
func (*SHuaweiProvider) CreateICloudgroup ¶
func (self *SHuaweiProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SHuaweiProvider) CreateIClouduser ¶
func (self *SHuaweiProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SHuaweiProvider) CreateIProject ¶
func (self *SHuaweiProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SHuaweiProvider) GetAccountId ¶
func (self *SHuaweiProvider) GetAccountId() string
func (*SHuaweiProvider) GetBalance ¶
func (self *SHuaweiProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
func (*SHuaweiProvider) GetBucketCannedAcls ¶
func (self *SHuaweiProvider) GetBucketCannedAcls(regionId string) []string
func (*SHuaweiProvider) GetCapabilities ¶
func (self *SHuaweiProvider) GetCapabilities() []string
func (*SHuaweiProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SHuaweiProvider) GetCloudRegionExternalIdPrefix() string
func (*SHuaweiProvider) GetICloudCDNDomainByName ¶
func (self *SHuaweiProvider) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
func (*SHuaweiProvider) GetICloudCDNDomains ¶
func (self *SHuaweiProvider) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
func (*SHuaweiProvider) GetICloudSAMLProviders ¶
func (self *SHuaweiProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SHuaweiProvider) GetICloudgroupByName ¶
func (self *SHuaweiProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SHuaweiProvider) GetICloudgroups ¶
func (self *SHuaweiProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SHuaweiProvider) GetIClouduserByName ¶
func (self *SHuaweiProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SHuaweiProvider) GetICloudusers ¶
func (self *SHuaweiProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SHuaweiProvider) GetICustomCloudpolicies ¶
func (self *SHuaweiProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SHuaweiProvider) GetIProjects ¶
func (self *SHuaweiProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SHuaweiProvider) GetIRegionById ¶
func (self *SHuaweiProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SHuaweiProvider) GetIRegions ¶
func (self *SHuaweiProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SHuaweiProvider) GetISSLCertificate ¶
func (self *SHuaweiProvider) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error)
func (*SHuaweiProvider) GetISSLCertificates ¶
func (self *SHuaweiProvider) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
func (*SHuaweiProvider) GetISystemCloudpolicies ¶
func (self *SHuaweiProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SHuaweiProvider) GetIamLoginUrl ¶
func (self *SHuaweiProvider) GetIamLoginUrl() string
func (*SHuaweiProvider) GetMetrics ¶
func (self *SHuaweiProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SHuaweiProvider) GetObjectCannedAcls ¶
func (self *SHuaweiProvider) GetObjectCannedAcls(regionId string) []string
func (*SHuaweiProvider) GetSamlEntityId ¶
func (self *SHuaweiProvider) GetSamlEntityId() string
func (*SHuaweiProvider) GetStorageClasses ¶
func (self *SHuaweiProvider) GetStorageClasses(regionId string) []string
func (*SHuaweiProvider) GetSubAccounts ¶
func (self *SHuaweiProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SHuaweiProvider) GetSysInfo ¶
func (self *SHuaweiProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SHuaweiProvider) GetVersion ¶
func (self *SHuaweiProvider) GetVersion() string
type SHuaweiProviderFactory ¶
type SHuaweiProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SHuaweiProviderFactory) GetClientRC ¶
func (self *SHuaweiProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SHuaweiProviderFactory) GetId ¶
func (self *SHuaweiProviderFactory) GetId() string
func (*SHuaweiProviderFactory) GetMaxCloudEventKeepDays ¶
func (self *SHuaweiProviderFactory) GetMaxCloudEventKeepDays() int
func (*SHuaweiProviderFactory) GetMaxCloudEventSyncDays ¶
func (self *SHuaweiProviderFactory) GetMaxCloudEventSyncDays() int
func (*SHuaweiProviderFactory) GetName ¶
func (self *SHuaweiProviderFactory) GetName() string
func (*SHuaweiProviderFactory) GetProvider ¶
func (self *SHuaweiProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SHuaweiProviderFactory) IsCloudeventRegional ¶
func (self *SHuaweiProviderFactory) IsCloudeventRegional() bool
func (*SHuaweiProviderFactory) IsSupportCloudIdService ¶
func (self *SHuaweiProviderFactory) IsSupportCloudIdService() bool
func (*SHuaweiProviderFactory) IsSupportClouduserPolicy ¶
func (self *SHuaweiProviderFactory) IsSupportClouduserPolicy() bool
func (*SHuaweiProviderFactory) IsSupportCreateCloudgroup ¶
func (self *SHuaweiProviderFactory) IsSupportCreateCloudgroup() bool
func (*SHuaweiProviderFactory) IsSupportCrossCloudEnvVpcPeering ¶
func (factory *SHuaweiProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
func (*SHuaweiProviderFactory) IsSupportCrossRegionVpcPeering ¶
func (factory *SHuaweiProviderFactory) IsSupportCrossRegionVpcPeering() bool
func (*SHuaweiProviderFactory) IsSupportModifyRouteTable ¶
func (factory *SHuaweiProviderFactory) IsSupportModifyRouteTable() bool
func (*SHuaweiProviderFactory) IsSupportSAMLAuth ¶
func (factory *SHuaweiProviderFactory) IsSupportSAMLAuth() bool
func (*SHuaweiProviderFactory) IsSupportVpcPeeringVpcCidrOverlap ¶
func (factory *SHuaweiProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
func (*SHuaweiProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SHuaweiProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SHuaweiProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SHuaweiProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.