Documentation ¶
Index ¶
- type SQcloudProvider
- func (self *SQcloudProvider) CreateICloudCDNDomain(opts *cloudprovider.CdnCreateOptions) (cloudprovider.ICloudCDNDomain, error)
- func (self *SQcloudProvider) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (self *SQcloudProvider) CreateICloudInterVpcNetwork(opts *cloudprovider.SInterVpcNetworkCreateOptions) (cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SQcloudProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
- func (self *SQcloudProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SQcloudProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SQcloudProvider) CreateICloudrole(opts *cloudprovider.SRoleCreateOptions) (cloudprovider.ICloudrole, error)
- func (self *SQcloudProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SQcloudProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SQcloudProvider) GetAccountId() string
- func (self *SQcloudProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
- func (self *SQcloudProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SQcloudProvider) GetCapabilities() []string
- func (self *SQcloudProvider) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
- func (self *SQcloudProvider) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
- func (self *SQcloudProvider) GetICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
- func (self *SQcloudProvider) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (self *SQcloudProvider) GetICloudInterVpcNetworkById(id string) (cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SQcloudProvider) GetICloudInterVpcNetworks() ([]cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SQcloudProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SQcloudProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SQcloudProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SQcloudProvider) GetICloudroleById(id string) (cloudprovider.ICloudrole, error)
- func (self *SQcloudProvider) GetICloudroleByName(name string) (cloudprovider.ICloudrole, error)
- func (self *SQcloudProvider) GetICloudroles() ([]cloudprovider.ICloudrole, error)
- func (self *SQcloudProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SQcloudProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SQcloudProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SQcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SQcloudProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SQcloudProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SQcloudProvider) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
- func (self *SQcloudProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SQcloudProvider) GetIamLoginUrl() string
- func (self *SQcloudProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SQcloudProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SQcloudProvider) GetSamlEntityId() string
- func (self *SQcloudProvider) GetStorageClasses(regionId string) []string
- func (self *SQcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SQcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SQcloudProvider) GetVersion() string
- type SQcloudProviderFactory
- func (self *SQcloudProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SQcloudProviderFactory) GetId() string
- func (self *SQcloudProviderFactory) GetMaxCloudEventKeepDays() int
- func (self *SQcloudProviderFactory) GetMaxCloudEventSyncDays() int
- func (self *SQcloudProviderFactory) GetName() string
- func (self *SQcloudProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SQcloudProviderFactory) GetSupportedDnsPolicyTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsPolicyType
- func (self *SQcloudProviderFactory) GetSupportedDnsPolicyValues() map[cloudprovider.TDnsPolicyType][]cloudprovider.TDnsPolicyValue
- func (self *SQcloudProviderFactory) GetSupportedDnsTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsType
- func (self *SQcloudProviderFactory) GetSupportedDnsZoneTypes() []cloudprovider.TDnsZoneType
- func (self *SQcloudProviderFactory) GetTTLRange(zoneType cloudprovider.TDnsZoneType, productType cloudprovider.TDnsProductType) cloudprovider.TTlRange
- func (self *SQcloudProviderFactory) IsCloudeventRegional() bool
- func (self *SQcloudProviderFactory) IsSupportCloudIdService() bool
- func (self *SQcloudProviderFactory) IsSupportCreateCloudgroup() bool
- func (self *SQcloudProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
- func (self *SQcloudProviderFactory) IsSupportCrossRegionVpcPeering() bool
- func (self *SQcloudProviderFactory) IsSupportSAMLAuth() bool
- func (self *SQcloudProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
- func (self *SQcloudProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
- func (self *SQcloudProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
- func (self *SQcloudProviderFactory) ValidateCrossRegionVpcPeeringBandWidth(bandwidth int) error
- func (self *SQcloudProviderFactory) 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 SQcloudProvider ¶
type SQcloudProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SQcloudProvider) CreateICloudCDNDomain ¶
func (self *SQcloudProvider) CreateICloudCDNDomain(opts *cloudprovider.CdnCreateOptions) (cloudprovider.ICloudCDNDomain, error)
func (*SQcloudProvider) CreateICloudDnsZone ¶
func (self *SQcloudProvider) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
func (*SQcloudProvider) CreateICloudInterVpcNetwork ¶
func (self *SQcloudProvider) CreateICloudInterVpcNetwork(opts *cloudprovider.SInterVpcNetworkCreateOptions) (cloudprovider.ICloudInterVpcNetwork, error)
func (*SQcloudProvider) CreateICloudSAMLProvider ¶
func (self *SQcloudProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
func (*SQcloudProvider) CreateICloudgroup ¶
func (self *SQcloudProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SQcloudProvider) CreateICloudpolicy ¶
func (self *SQcloudProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SQcloudProvider) CreateICloudrole ¶
func (self *SQcloudProvider) CreateICloudrole(opts *cloudprovider.SRoleCreateOptions) (cloudprovider.ICloudrole, error)
func (*SQcloudProvider) CreateIClouduser ¶
func (self *SQcloudProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SQcloudProvider) CreateIProject ¶
func (self *SQcloudProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SQcloudProvider) GetAccountId ¶
func (self *SQcloudProvider) GetAccountId() string
func (*SQcloudProvider) GetBalance ¶
func (self *SQcloudProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
func (*SQcloudProvider) GetBucketCannedAcls ¶
func (self *SQcloudProvider) GetBucketCannedAcls(regionId string) []string
func (*SQcloudProvider) GetCapabilities ¶
func (self *SQcloudProvider) GetCapabilities() []string
func (*SQcloudProvider) GetICloudCDNDomainByName ¶
func (self *SQcloudProvider) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
func (*SQcloudProvider) GetICloudCDNDomains ¶
func (self *SQcloudProvider) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
func (*SQcloudProvider) GetICloudDnsZoneById ¶
func (self *SQcloudProvider) GetICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
func (*SQcloudProvider) GetICloudDnsZones ¶
func (self *SQcloudProvider) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
func (*SQcloudProvider) GetICloudInterVpcNetworkById ¶
func (self *SQcloudProvider) GetICloudInterVpcNetworkById(id string) (cloudprovider.ICloudInterVpcNetwork, error)
func (*SQcloudProvider) GetICloudInterVpcNetworks ¶
func (self *SQcloudProvider) GetICloudInterVpcNetworks() ([]cloudprovider.ICloudInterVpcNetwork, error)
func (*SQcloudProvider) GetICloudSAMLProviders ¶
func (self *SQcloudProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SQcloudProvider) GetICloudgroupByName ¶
func (self *SQcloudProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SQcloudProvider) GetICloudgroups ¶
func (self *SQcloudProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SQcloudProvider) GetICloudroleById ¶
func (self *SQcloudProvider) GetICloudroleById(id string) (cloudprovider.ICloudrole, error)
func (*SQcloudProvider) GetICloudroleByName ¶
func (self *SQcloudProvider) GetICloudroleByName(name string) (cloudprovider.ICloudrole, error)
func (*SQcloudProvider) GetICloudroles ¶
func (self *SQcloudProvider) GetICloudroles() ([]cloudprovider.ICloudrole, error)
func (*SQcloudProvider) GetIClouduserByName ¶
func (self *SQcloudProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SQcloudProvider) GetICloudusers ¶
func (self *SQcloudProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SQcloudProvider) GetICustomCloudpolicies ¶
func (self *SQcloudProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SQcloudProvider) GetIProjects ¶
func (self *SQcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SQcloudProvider) GetIRegionById ¶
func (self *SQcloudProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SQcloudProvider) GetIRegions ¶
func (self *SQcloudProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SQcloudProvider) GetISSLCertificates ¶
func (self *SQcloudProvider) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
func (*SQcloudProvider) GetISystemCloudpolicies ¶
func (self *SQcloudProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SQcloudProvider) GetIamLoginUrl ¶
func (self *SQcloudProvider) GetIamLoginUrl() string
func (*SQcloudProvider) GetMetrics ¶
func (self *SQcloudProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SQcloudProvider) GetObjectCannedAcls ¶
func (self *SQcloudProvider) GetObjectCannedAcls(regionId string) []string
func (*SQcloudProvider) GetSamlEntityId ¶
func (self *SQcloudProvider) GetSamlEntityId() string
func (*SQcloudProvider) GetStorageClasses ¶
func (self *SQcloudProvider) GetStorageClasses(regionId string) []string
func (*SQcloudProvider) GetSubAccounts ¶
func (self *SQcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SQcloudProvider) GetSysInfo ¶
func (self *SQcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SQcloudProvider) GetVersion ¶
func (self *SQcloudProvider) GetVersion() string
type SQcloudProviderFactory ¶
type SQcloudProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SQcloudProviderFactory) GetClientRC ¶
func (self *SQcloudProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SQcloudProviderFactory) GetId ¶
func (self *SQcloudProviderFactory) GetId() string
func (*SQcloudProviderFactory) GetMaxCloudEventKeepDays ¶
func (self *SQcloudProviderFactory) GetMaxCloudEventKeepDays() int
func (*SQcloudProviderFactory) GetMaxCloudEventSyncDays ¶
func (self *SQcloudProviderFactory) GetMaxCloudEventSyncDays() int
func (*SQcloudProviderFactory) GetName ¶
func (self *SQcloudProviderFactory) GetName() string
func (*SQcloudProviderFactory) GetProvider ¶
func (self *SQcloudProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SQcloudProviderFactory) GetSupportedDnsPolicyTypes ¶
func (self *SQcloudProviderFactory) GetSupportedDnsPolicyTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsPolicyType
func (*SQcloudProviderFactory) GetSupportedDnsPolicyValues ¶
func (self *SQcloudProviderFactory) GetSupportedDnsPolicyValues() map[cloudprovider.TDnsPolicyType][]cloudprovider.TDnsPolicyValue
func (*SQcloudProviderFactory) GetSupportedDnsTypes ¶
func (self *SQcloudProviderFactory) GetSupportedDnsTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsType
func (*SQcloudProviderFactory) GetSupportedDnsZoneTypes ¶
func (self *SQcloudProviderFactory) GetSupportedDnsZoneTypes() []cloudprovider.TDnsZoneType
func (*SQcloudProviderFactory) GetTTLRange ¶
func (self *SQcloudProviderFactory) GetTTLRange(zoneType cloudprovider.TDnsZoneType, productType cloudprovider.TDnsProductType) cloudprovider.TTlRange
https://buy.cloud.tencent.com/cns?from=gobuy&domain=example4.com
func (*SQcloudProviderFactory) IsCloudeventRegional ¶
func (self *SQcloudProviderFactory) IsCloudeventRegional() bool
func (*SQcloudProviderFactory) IsSupportCloudIdService ¶
func (self *SQcloudProviderFactory) IsSupportCloudIdService() bool
func (*SQcloudProviderFactory) IsSupportCreateCloudgroup ¶
func (self *SQcloudProviderFactory) IsSupportCreateCloudgroup() bool
func (*SQcloudProviderFactory) IsSupportCrossCloudEnvVpcPeering ¶
func (self *SQcloudProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
func (*SQcloudProviderFactory) IsSupportCrossRegionVpcPeering ¶
func (self *SQcloudProviderFactory) IsSupportCrossRegionVpcPeering() bool
func (*SQcloudProviderFactory) IsSupportSAMLAuth ¶
func (self *SQcloudProviderFactory) IsSupportSAMLAuth() bool
func (*SQcloudProviderFactory) IsSupportVpcPeeringVpcCidrOverlap ¶
func (self *SQcloudProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
func (*SQcloudProviderFactory) ValidateChangeBandwidth ¶
func (self *SQcloudProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
func (*SQcloudProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SQcloudProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SQcloudProviderFactory) ValidateCrossRegionVpcPeeringBandWidth ¶
func (self *SQcloudProviderFactory) ValidateCrossRegionVpcPeeringBandWidth(bandwidth int) error
func (*SQcloudProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SQcloudProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.