Documentation ¶
Index ¶
- func NewProgress(totalSize int64, maxPercent int, reader io.Reader, ...) io.Reader
- type SBaseBucket
- func (b *SBaseBucket) DeleteCORS() error
- func (b *SBaseBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBaseBucket) DeleteWebSiteConf() error
- func (b *SBaseBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
- func (b *SBaseBucket) GetCdnDomains() ([]cloudprovider.SCdnDomain, error)
- func (b *SBaseBucket) GetGlobalId() string
- func (b *SBaseBucket) GetId() string
- func (b *SBaseBucket) GetLimit() cloudprovider.SBucketStats
- func (b *SBaseBucket) GetName() string
- func (b *SBaseBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
- func (b *SBaseBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)
- func (b *SBaseBucket) GetStatus() string
- func (b *SBaseBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)
- func (b *SBaseBucket) IsEmulated() bool
- func (b *SBaseBucket) LimitSupport() cloudprovider.SBucketStats
- func (b *SBaseBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error)
- func (b *SBaseBucket) MaxPartCount() int
- func (b *SBaseBucket) MaxPartSizeBytes() int64
- func (b *SBaseBucket) Refresh() error
- func (b *SBaseBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error
- func (b *SBaseBucket) SetLimit(limit cloudprovider.SBucketStats) error
- func (b *SBaseBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
- func (b *SBaseBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error
- func (b *SBaseBucket) SetWebsite(conf cloudprovider.SBucketWebsiteConf) error
- type SBaseClouduser
- type SBillingBase
- type SCDNDomainBase
- func (self *SCDNDomainBase) GetCache() (*cloudprovider.SCDNCache, error)
- func (self *SCDNDomainBase) GetCacheKeys() (*cloudprovider.SCDNCacheKeys, error)
- func (self *SCDNDomainBase) GetForceRedirect() (*cloudprovider.SCDNForceRedirect, error)
- func (self *SCDNDomainBase) GetHTTPS() (*cloudprovider.SCDNHttps, error)
- func (self *SCDNDomainBase) GetMaxAge() (*cloudprovider.SCDNMaxAge, error)
- func (self *SCDNDomainBase) GetRangeOriginPull() (*cloudprovider.SCDNRangeOriginPull, error)
- func (self *SCDNDomainBase) GetReferer() (*cloudprovider.SCDNReferer, error)
- type SDBInstanceAccountBase
- func (account *SDBInstanceAccountBase) Delete() error
- func (account *SDBInstanceAccountBase) GetHost() string
- func (account *SDBInstanceAccountBase) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
- func (account *SDBInstanceAccountBase) GetStatus() string
- func (backup *SDBInstanceAccountBase) GrantPrivilege(database, privilege string) error
- func (account *SDBInstanceAccountBase) ResetPassword(password string) error
- func (backup *SDBInstanceAccountBase) RevokePrivilege(database string) error
- type SDBInstanceBackupBase
- func (backup *SDBInstanceBackupBase) CreateICloudDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (backup *SDBInstanceBackupBase) Delete() error
- func (backup *SDBInstanceBackupBase) GetBackMode() string
- func (backup *SDBInstanceBackupBase) GetBackupMethod() cloudprovider.TBackupMethod
- func (backup *SDBInstanceBackupBase) GetProjectId() string
- type SDBInstanceBase
- func (instance *SDBInstanceBase) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedDBInstanceChangeConfig) error
- func (instance *SDBInstanceBase) ClosePublicConnection() error
- func (instance *SDBInstanceBase) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error
- func (instance *SDBInstanceBase) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCreateConfig) error
- func (instance *SDBInstanceBase) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
- func (instance *SDBInstanceBase) Delete() error
- func (instance *SDBInstanceBase) GetCategory() string
- func (instance *SDBInstanceBase) GetConnectionStr() string
- func (instance *SDBInstanceBase) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
- func (instance *SDBInstanceBase) GetDiskSizeUsedMB() int
- func (instance *SDBInstanceBase) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
- func (instance *SDBInstanceBase) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (instance *SDBInstanceBase) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
- func (instance *SDBInstanceBase) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
- func (instance *SDBInstanceBase) GetInternalConnectionStr() string
- func (instance *SDBInstanceBase) GetIops() int
- func (instance *SDBInstanceBase) GetMasterInstanceId() string
- func (instance *SDBInstanceBase) GetSecurityGroupIds() ([]string, error)
- func (instance *SDBInstanceBase) OpenPublicConnection() error
- func (instance *SDBInstanceBase) Reboot() error
- func (instance *SDBInstanceBase) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error
- func (instance *SDBInstanceBase) Renew(bc billing.SBillingCycle) error
- func (self *SDBInstanceBase) SetSecurityGroups(ids []string) error
- func (instance *SDBInstanceBase) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) error
- type SDBInstanceDatabaseBase
- type SDisk
- type SEipBase
- type SElasticcacheAccountBase
- type SElasticcacheAclBase
- type SElasticcacheBackupBase
- type SElasticcacheBase
- type SElasticcacheParameterBase
- type SHostBase
- type SImageBase
- type SInstanceBase
- func (self *SInstanceBase) AllocatePublicIpAddress() (string, error)
- func (instance *SInstanceBase) ConvertPublicIpToEip() error
- func (self *SInstanceBase) CreateDisk(ctx context.Context, opts *cloudprovider.GuestDiskCreateOptions) (string, error)
- func (instance *SInstanceBase) CreateInstanceSnapshot(ctx context.Context, name string, desc string) (cloudprovider.ICloudInstanceSnapshot, error)
- func (instance *SInstanceBase) GetCpuSockets() int
- func (instance *SInstanceBase) GetError() error
- func (instance *SInstanceBase) GetIHostId() string
- func (instance *SInstanceBase) GetInstanceSnapshot(idStr string) (cloudprovider.ICloudInstanceSnapshot, error)
- func (instance *SInstanceBase) GetInstanceSnapshots() ([]cloudprovider.ICloudInstanceSnapshot, error)
- func (self *SInstanceBase) GetInternetMaxBandwidthOut() int
- func (ins *SInstanceBase) GetPowerStates() string
- func (instance *SInstanceBase) GetSerialOutput(port int) (string, error)
- func (self *SInstanceBase) GetThroughput() int
- func (instance *SInstanceBase) LiveMigrateVM(hostId string) error
- func (instance *SInstanceBase) MigrateVM(hostId string) error
- func (instance *SInstanceBase) ResetToInstanceSnapshot(ctx context.Context, idStr string) error
- func (self *SInstanceBase) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
- type SLoadbalancerBase
- type SLoadbalancerRedirectBase
- func (self *SLoadbalancerRedirectBase) GetRedirect() string
- func (self *SLoadbalancerRedirectBase) GetRedirectCode() int64
- func (self *SLoadbalancerRedirectBase) GetRedirectHost() string
- func (self *SLoadbalancerRedirectBase) GetRedirectPath() string
- func (self *SLoadbalancerRedirectBase) GetRedirectScheme() string
- type SMongodbBase
- type SNasBase
- type SNatGatewayBase
- func (nat *SNatGatewayBase) Delete() error
- func (nat *SNatGatewayBase) GetBandwidthMb() int
- func (nat *SNatGatewayBase) GetIDNatEntries() ([]cloudprovider.ICloudNatDEntry, error)
- func (nat *SNatGatewayBase) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (nat *SNatGatewayBase) GetISNatEntries() ([]cloudprovider.ICloudNatSEntry, error)
- func (nat *SNatGatewayBase) GetIpAddr() string
- type SNetworkInterfaceBase
- type SNoLbRegion
- func (self *SNoLbRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SNoLbRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SNoLbRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SNoLbRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SNoLbRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SNoLbRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SNoLbRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SNoLbRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SNoLbRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- type SNoObjectStorageRegion
- func (cli *SNoObjectStorageRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error
- func (cli *SNoObjectStorageRegion) DeleteIBucket(name string) error
- func (cli *SNoObjectStorageRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
- func (cli *SNoObjectStorageRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
- func (cli *SNoObjectStorageRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
- func (cli *SNoObjectStorageRegion) IBucketExist(name string) (bool, error)
- type SProjectBase
- type SRegion
- func (self *SRegion) CreateICloudAccessGroup(opts *cloudprovider.SAccessGroup) (cloudprovider.ICloudAccessGroup, error)
- func (self *SRegion) CreateICloudFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (cloudprovider.ICloudFileSystem, error)
- func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) CreateIKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) CreateIModelartsPool(pool *cloudprovider.ModelartsPoolCreateOption, callback func(id string)) (cloudprovider.ICloudModelartsPool, error)
- func (self *SRegion) CreateISku(opts *cloudprovider.SServerSkuCreateOption) (cloudprovider.ICloudSku, error)
- func (self *SRegion) CreateInternetGateway() (cloudprovider.ICloudInternetGateway, error)
- func (r *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
- func (self *SRegion) GetICloudAccessGroupById(id string) (cloudprovider.ICloudAccessGroup, error)
- func (self *SRegion) GetICloudAccessGroups() ([]cloudprovider.ICloudAccessGroup, error)
- func (self *SRegion) GetICloudAppById(id string) (cloudprovider.ICloudApp, error)
- func (self *SRegion) GetICloudApps() ([]cloudprovider.ICloudApp, error)
- func (self *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
- func (self *SRegion) GetICloudFileSystemById(id string) (cloudprovider.ICloudFileSystem, error)
- func (self *SRegion) GetICloudFileSystems() ([]cloudprovider.ICloudFileSystem, error)
- func (self *SRegion) GetICloudKafkaById(id string) (cloudprovider.ICloudKafka, error)
- func (self *SRegion) GetICloudKafkas() ([]cloudprovider.ICloudKafka, error)
- func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, error)
- func (self *SRegion) GetICloudMongoDBById(id string) (cloudprovider.ICloudMongoDB, error)
- func (self *SRegion) GetICloudMongoDBs() ([]cloudprovider.ICloudMongoDB, error)
- func (self *SRegion) GetICloudNatSkus() ([]cloudprovider.ICloudNatSku, error)
- func (self *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
- func (self *SRegion) GetICloudTablestores() ([]cloudprovider.ICloudTablestore, error)
- func (self *SRegion) GetICloudWafIPSets() ([]cloudprovider.ICloudWafIPSet, error)
- func (self *SRegion) GetICloudWafInstanceById(id string) (cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetICloudWafInstances() ([]cloudprovider.ICloudWafInstance, error)
- func (self *SRegion) GetICloudWafRegexSets() ([]cloudprovider.ICloudWafRegexSet, error)
- func (self *SRegion) GetICloudWafRuleGroups() ([]cloudprovider.ICloudWafRuleGroup, error)
- func (self *SRegion) GetIDBInstanceBackupById(backupId string) (cloudprovider.ICloudDBInstanceBackup, error)
- func (self *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
- func (self *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error)
- func (self *SRegion) GetIDBInstanceSkus() ([]cloudprovider.ICloudDBInstanceSku, error)
- func (self *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
- func (r *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (self *SRegion) GetIElasticSearchById(id string) (cloudprovider.ICloudElasticSearch, error)
- func (self *SRegion) GetIElasticSearchs() ([]cloudprovider.ICloudElasticSearch, error)
- func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
- func (self *SRegion) GetIElasticcacheSkus() ([]cloudprovider.ICloudElasticcacheSku, error)
- func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
- func (r *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (r *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIMiscResources() ([]cloudprovider.ICloudMiscResource, error)
- func (self *SRegion) GetIModelartsPoolById(id string) (cloudprovider.ICloudModelartsPool, error)
- func (self *SRegion) GetIModelartsPoolSku() ([]cloudprovider.ICloudModelartsPoolSku, error)
- func (self *SRegion) GetIModelartsPools() ([]cloudprovider.ICloudModelartsPool, error)
- func (self *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
- func (self *SRegion) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
- func (r *SRegion) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISkus() ([]cloudprovider.ICloudSku, error)
- func (r *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
- func (r *SRegion) GetISnapshotPolicyById(snapshotPolicyId string) (cloudprovider.ICloudSnapshotPolicy, error)
- func (r *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (r *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (r *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (r *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (r *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (r *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (r *SRegion) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SRegion) GetStatusMessage() string
- type SRegionEipBase
- type SRegionLbBase
- func (self *SRegionLbBase) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegionLbBase) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegionLbBase) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegionLbBase) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegionLbBase) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
- func (self *SRegionLbBase) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
- func (self *SRegionLbBase) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegionLbBase) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
- func (self *SRegionLbBase) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
- type SRegionOssBase
- func (self *SRegionOssBase) CreateIBucket(name string, storageClassStr string, acl string) error
- func (self *SRegionOssBase) DeleteIBucket(name string) error
- func (self *SRegionOssBase) GetIBucketById(id string) (cloudprovider.ICloudBucket, error)
- func (self *SRegionOssBase) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
- func (self *SRegionOssBase) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
- func (self *SRegionOssBase) IBucketExist(name string) (bool, error)
- type SRegionSecurityGroupBase
- type SRegionVpcBase
- type SRegionZoneBase
- type SResourceBase
- type SSecurityGroup
- type SServerSku
- type SStorageBase
- type STag
- type STagBase
- type SVirtualResourceBase
- type SVpc
- func (self *SVpc) AcceptICloudVpcPeeringConnection(id string) error
- func (self *SVpc) AttachInternetGateway(igwId string) error
- func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) CreateINatGateway(opts *cloudprovider.NatGatewayCreateOptions) (cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) CreateIWire(opts *cloudprovider.SWireCreateOptions) (cloudprovider.ICloudWire, error)
- func (self *SVpc) CreateRouteToVpcPeeringConnection(cidrBlock, peerId string) error
- func (self *SVpc) DeleteVpcPeeringConnectionRoute(vpcPeeringConnectionId string) error
- func (self *SVpc) GetAuthorityOwnerId() string
- func (self *SVpc) GetExternalAccessMode() string
- func (self *SVpc) GetGlobalVpcId() string
- func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetICloudIPv6Gateways() ([]cloudprovider.ICloudIPv6Gateway, error)
- func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
- func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) IsSupportSetExternalAccess() bool
- func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SBaseBucket ¶
type SBaseBucket struct {
SResourceBase
}
func (*SBaseBucket) DeleteCORS ¶
func (b *SBaseBucket) DeleteCORS() error
func (*SBaseBucket) DeletePolicy ¶
func (b *SBaseBucket) DeletePolicy(id []string) ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBaseBucket) DeleteWebSiteConf ¶
func (b *SBaseBucket) DeleteWebSiteConf() error
func (*SBaseBucket) GetCORSRules ¶
func (b *SBaseBucket) GetCORSRules() ([]cloudprovider.SBucketCORSRule, error)
func (*SBaseBucket) GetCdnDomains ¶
func (b *SBaseBucket) GetCdnDomains() ([]cloudprovider.SCdnDomain, error)
func (*SBaseBucket) GetGlobalId ¶
func (b *SBaseBucket) GetGlobalId() string
func (*SBaseBucket) GetId ¶
func (b *SBaseBucket) GetId() string
func (*SBaseBucket) GetLimit ¶
func (b *SBaseBucket) GetLimit() cloudprovider.SBucketStats
func (*SBaseBucket) GetName ¶
func (b *SBaseBucket) GetName() string
func (*SBaseBucket) GetPolicy ¶
func (b *SBaseBucket) GetPolicy() ([]cloudprovider.SBucketPolicyStatement, error)
func (*SBaseBucket) GetReferer ¶
func (b *SBaseBucket) GetReferer() (cloudprovider.SBucketRefererConf, error)
func (*SBaseBucket) GetStatus ¶
func (b *SBaseBucket) GetStatus() string
func (*SBaseBucket) GetWebsiteConf ¶
func (b *SBaseBucket) GetWebsiteConf() (cloudprovider.SBucketWebsiteConf, error)
func (*SBaseBucket) IsEmulated ¶
func (b *SBaseBucket) IsEmulated() bool
func (*SBaseBucket) LimitSupport ¶
func (b *SBaseBucket) LimitSupport() cloudprovider.SBucketStats
func (*SBaseBucket) ListMultipartUploads ¶
func (b *SBaseBucket) ListMultipartUploads() ([]cloudprovider.SBucketMultipartUploads, error)
func (*SBaseBucket) MaxPartCount ¶
func (b *SBaseBucket) MaxPartCount() int
func (*SBaseBucket) MaxPartSizeBytes ¶
func (b *SBaseBucket) MaxPartSizeBytes() int64
func (*SBaseBucket) Refresh ¶
func (b *SBaseBucket) Refresh() error
func (*SBaseBucket) SetCORS ¶
func (b *SBaseBucket) SetCORS(rules []cloudprovider.SBucketCORSRule) error
func (*SBaseBucket) SetLimit ¶
func (b *SBaseBucket) SetLimit(limit cloudprovider.SBucketStats) error
func (*SBaseBucket) SetPolicy ¶
func (b *SBaseBucket) SetPolicy(policy cloudprovider.SBucketPolicyStatementInput) error
func (*SBaseBucket) SetReferer ¶
func (b *SBaseBucket) SetReferer(conf cloudprovider.SBucketRefererConf) error
func (*SBaseBucket) SetWebsite ¶
func (b *SBaseBucket) SetWebsite(conf cloudprovider.SBucketWebsiteConf) error
type SBaseClouduser ¶
type SBaseClouduser struct { }
func (*SBaseClouduser) CreateAccessKey ¶
func (self *SBaseClouduser) CreateAccessKey(name string) (*cloudprovider.SAccessKey, error)
func (*SBaseClouduser) DeleteAccessKey ¶
func (self *SBaseClouduser) DeleteAccessKey(accesskey string) error
func (*SBaseClouduser) GetAccessKeys ¶
func (self *SBaseClouduser) GetAccessKeys() ([]cloudprovider.SAccessKey, error)
type SBillingBase ¶
type SBillingBase struct{}
func (*SBillingBase) GetBillingType ¶
func (self *SBillingBase) GetBillingType() string
func (*SBillingBase) GetExpiredAt ¶
func (self *SBillingBase) GetExpiredAt() time.Time
func (*SBillingBase) IsAutoRenew ¶
func (self *SBillingBase) IsAutoRenew() bool
func (*SBillingBase) Renew ¶
func (self *SBillingBase) Renew(bc billing.SBillingCycle) error
func (*SBillingBase) SetAutoRenew ¶
func (self *SBillingBase) SetAutoRenew(bc billing.SBillingCycle) error
type SCDNDomainBase ¶
type SCDNDomainBase struct {
SResourceBase
}
func (*SCDNDomainBase) GetCache ¶
func (self *SCDNDomainBase) GetCache() (*cloudprovider.SCDNCache, error)
func (*SCDNDomainBase) GetCacheKeys ¶
func (self *SCDNDomainBase) GetCacheKeys() (*cloudprovider.SCDNCacheKeys, error)
func (*SCDNDomainBase) GetForceRedirect ¶
func (self *SCDNDomainBase) GetForceRedirect() (*cloudprovider.SCDNForceRedirect, error)
func (*SCDNDomainBase) GetHTTPS ¶
func (self *SCDNDomainBase) GetHTTPS() (*cloudprovider.SCDNHttps, error)
func (*SCDNDomainBase) GetMaxAge ¶
func (self *SCDNDomainBase) GetMaxAge() (*cloudprovider.SCDNMaxAge, error)
func (*SCDNDomainBase) GetRangeOriginPull ¶
func (self *SCDNDomainBase) GetRangeOriginPull() (*cloudprovider.SCDNRangeOriginPull, error)
func (*SCDNDomainBase) GetReferer ¶
func (self *SCDNDomainBase) GetReferer() (*cloudprovider.SCDNReferer, error)
type SDBInstanceAccountBase ¶
type SDBInstanceAccountBase struct { }
func (*SDBInstanceAccountBase) Delete ¶
func (account *SDBInstanceAccountBase) Delete() error
func (*SDBInstanceAccountBase) GetHost ¶
func (account *SDBInstanceAccountBase) GetHost() string
func (*SDBInstanceAccountBase) GetIDBInstanceAccountPrivileges ¶
func (account *SDBInstanceAccountBase) GetIDBInstanceAccountPrivileges() ([]cloudprovider.ICloudDBInstanceAccountPrivilege, error)
func (*SDBInstanceAccountBase) GetStatus ¶
func (account *SDBInstanceAccountBase) GetStatus() string
func (*SDBInstanceAccountBase) GrantPrivilege ¶
func (backup *SDBInstanceAccountBase) GrantPrivilege(database, privilege string) error
func (*SDBInstanceAccountBase) ResetPassword ¶
func (account *SDBInstanceAccountBase) ResetPassword(password string) error
func (*SDBInstanceAccountBase) RevokePrivilege ¶
func (backup *SDBInstanceAccountBase) RevokePrivilege(database string) error
type SDBInstanceBackupBase ¶
type SDBInstanceBackupBase struct {
SResourceBase
}
func (*SDBInstanceBackupBase) CreateICloudDBInstance ¶
func (backup *SDBInstanceBackupBase) CreateICloudDBInstance(opts *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
func (*SDBInstanceBackupBase) Delete ¶
func (backup *SDBInstanceBackupBase) Delete() error
func (*SDBInstanceBackupBase) GetBackMode ¶
func (backup *SDBInstanceBackupBase) GetBackMode() string
func (*SDBInstanceBackupBase) GetBackupMethod ¶
func (backup *SDBInstanceBackupBase) GetBackupMethod() cloudprovider.TBackupMethod
func (*SDBInstanceBackupBase) GetProjectId ¶
func (backup *SDBInstanceBackupBase) GetProjectId() string
type SDBInstanceBase ¶
type SDBInstanceBase struct { SVirtualResourceBase SBillingBase }
func (*SDBInstanceBase) ChangeConfig ¶
func (instance *SDBInstanceBase) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedDBInstanceChangeConfig) error
func (*SDBInstanceBase) ClosePublicConnection ¶
func (instance *SDBInstanceBase) ClosePublicConnection() error
func (*SDBInstanceBase) CreateAccount ¶
func (instance *SDBInstanceBase) CreateAccount(conf *cloudprovider.SDBInstanceAccountCreateConfig) error
func (*SDBInstanceBase) CreateDatabase ¶
func (instance *SDBInstanceBase) CreateDatabase(conf *cloudprovider.SDBInstanceDatabaseCreateConfig) error
func (*SDBInstanceBase) CreateIBackup ¶
func (instance *SDBInstanceBase) CreateIBackup(conf *cloudprovider.SDBInstanceBackupCreateConfig) (string, error)
func (*SDBInstanceBase) Delete ¶
func (instance *SDBInstanceBase) Delete() error
func (*SDBInstanceBase) GetCategory ¶
func (instance *SDBInstanceBase) GetCategory() string
func (*SDBInstanceBase) GetConnectionStr ¶
func (instance *SDBInstanceBase) GetConnectionStr() string
func (*SDBInstanceBase) GetDBNetworks ¶
func (instance *SDBInstanceBase) GetDBNetworks() ([]cloudprovider.SDBInstanceNetwork, error)
func (*SDBInstanceBase) GetDiskSizeUsedMB ¶
func (instance *SDBInstanceBase) GetDiskSizeUsedMB() int
func (*SDBInstanceBase) GetIDBInstanceAccounts ¶
func (instance *SDBInstanceBase) GetIDBInstanceAccounts() ([]cloudprovider.ICloudDBInstanceAccount, error)
func (*SDBInstanceBase) GetIDBInstanceBackups ¶
func (instance *SDBInstanceBase) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SDBInstanceBase) GetIDBInstanceDatabases ¶
func (instance *SDBInstanceBase) GetIDBInstanceDatabases() ([]cloudprovider.ICloudDBInstanceDatabase, error)
func (*SDBInstanceBase) GetIDBInstanceParameters ¶
func (instance *SDBInstanceBase) GetIDBInstanceParameters() ([]cloudprovider.ICloudDBInstanceParameter, error)
func (*SDBInstanceBase) GetInternalConnectionStr ¶
func (instance *SDBInstanceBase) GetInternalConnectionStr() string
func (*SDBInstanceBase) GetIops ¶
func (instance *SDBInstanceBase) GetIops() int
func (*SDBInstanceBase) GetMasterInstanceId ¶
func (instance *SDBInstanceBase) GetMasterInstanceId() string
func (*SDBInstanceBase) GetSecurityGroupIds ¶
func (instance *SDBInstanceBase) GetSecurityGroupIds() ([]string, error)
func (*SDBInstanceBase) OpenPublicConnection ¶
func (instance *SDBInstanceBase) OpenPublicConnection() error
func (*SDBInstanceBase) Reboot ¶
func (instance *SDBInstanceBase) Reboot() error
func (*SDBInstanceBase) RecoveryFromBackup ¶
func (instance *SDBInstanceBase) RecoveryFromBackup(conf *cloudprovider.SDBInstanceRecoveryConfig) error
func (*SDBInstanceBase) Renew ¶
func (instance *SDBInstanceBase) Renew(bc billing.SBillingCycle) error
func (*SDBInstanceBase) SetSecurityGroups ¶
func (self *SDBInstanceBase) SetSecurityGroups(ids []string) error
func (*SDBInstanceBase) Update ¶
func (instance *SDBInstanceBase) Update(ctx context.Context, input cloudprovider.SDBInstanceUpdateOptions) error
type SDBInstanceDatabaseBase ¶
type SDBInstanceDatabaseBase struct {
SResourceBase
}
func (*SDBInstanceDatabaseBase) Delete ¶
func (db *SDBInstanceDatabaseBase) Delete() error
type SDisk ¶
type SDisk struct { SVirtualResourceBase SBillingBase }
func (*SDisk) GetIStorageId ¶
func (*SDisk) GetPreallocation ¶
type SEipBase ¶
type SEipBase struct { SResourceBase SBillingBase }
func (*SEipBase) GetINetworkId ¶
type SElasticcacheAccountBase ¶
type SElasticcacheAccountBase struct {
SResourceBase
}
type SElasticcacheAclBase ¶
type SElasticcacheAclBase struct {
SResourceBase
}
type SElasticcacheBackupBase ¶
type SElasticcacheBackupBase struct {
SResourceBase
}
type SElasticcacheBase ¶
type SElasticcacheBase struct { SVirtualResourceBase SBillingBase }
func (*SElasticcacheBase) GetBandwidth ¶
func (self *SElasticcacheBase) GetBandwidth() int
func (*SElasticcacheBase) GetConnections ¶
func (self *SElasticcacheBase) GetConnections() int
type SElasticcacheParameterBase ¶
type SElasticcacheParameterBase struct {
SResourceBase
}
type SHostBase ¶
type SHostBase struct { SResourceBase STagBase }
func (*SHostBase) GetCpuArchitecture ¶
func (*SHostBase) GetCpuCmtbound ¶
func (*SHostBase) GetMemCmtbound ¶
func (*SHostBase) GetOvnVersion ¶
func (*SHostBase) GetReservedMemoryMb ¶
func (*SHostBase) GetSchedtags ¶
type SImageBase ¶
type SImageBase struct {
SVirtualResourceBase
}
func (*SImageBase) Export ¶
func (self *SImageBase) Export(opts *cloudprovider.SImageExportOptions) ([]cloudprovider.SImageExportInfo, error)
func (*SImageBase) GetPublicScope ¶
func (self *SImageBase) GetPublicScope() rbacscope.TRbacScope
func (*SImageBase) GetSubImages ¶
func (self *SImageBase) GetSubImages() []cloudprovider.SSubImage
type SInstanceBase ¶
type SInstanceBase struct { SResourceBase SBillingBase }
func (*SInstanceBase) AllocatePublicIpAddress ¶
func (self *SInstanceBase) AllocatePublicIpAddress() (string, error)
func (*SInstanceBase) ConvertPublicIpToEip ¶
func (instance *SInstanceBase) ConvertPublicIpToEip() error
func (*SInstanceBase) CreateDisk ¶
func (self *SInstanceBase) CreateDisk(ctx context.Context, opts *cloudprovider.GuestDiskCreateOptions) (string, error)
func (*SInstanceBase) CreateInstanceSnapshot ¶
func (instance *SInstanceBase) CreateInstanceSnapshot(ctx context.Context, name string, desc string) (cloudprovider.ICloudInstanceSnapshot, error)
func (*SInstanceBase) GetCpuSockets ¶
func (instance *SInstanceBase) GetCpuSockets() int
func (*SInstanceBase) GetError ¶
func (instance *SInstanceBase) GetError() error
func (*SInstanceBase) GetIHostId ¶
func (instance *SInstanceBase) GetIHostId() string
func (*SInstanceBase) GetInstanceSnapshot ¶
func (instance *SInstanceBase) GetInstanceSnapshot(idStr string) (cloudprovider.ICloudInstanceSnapshot, error)
func (*SInstanceBase) GetInstanceSnapshots ¶
func (instance *SInstanceBase) GetInstanceSnapshots() ([]cloudprovider.ICloudInstanceSnapshot, error)
func (*SInstanceBase) GetInternetMaxBandwidthOut ¶
func (self *SInstanceBase) GetInternetMaxBandwidthOut() int
func (*SInstanceBase) GetPowerStates ¶
func (ins *SInstanceBase) GetPowerStates() string
func (*SInstanceBase) GetSerialOutput ¶
func (instance *SInstanceBase) GetSerialOutput(port int) (string, error)
func (*SInstanceBase) GetThroughput ¶
func (self *SInstanceBase) GetThroughput() int
func (*SInstanceBase) LiveMigrateVM ¶
func (instance *SInstanceBase) LiveMigrateVM(hostId string) error
func (*SInstanceBase) MigrateVM ¶
func (instance *SInstanceBase) MigrateVM(hostId string) error
func (*SInstanceBase) ResetToInstanceSnapshot ¶
func (instance *SInstanceBase) ResetToInstanceSnapshot(ctx context.Context, idStr string) error
func (*SInstanceBase) SaveImage ¶
func (self *SInstanceBase) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
type SLoadbalancerBase ¶
type SLoadbalancerBase struct {
SResourceBase
}
func (*SLoadbalancerBase) GetIEIP ¶
func (lb *SLoadbalancerBase) GetIEIP() (cloudprovider.ICloudEIP, error)
type SLoadbalancerRedirectBase ¶
type SLoadbalancerRedirectBase struct { }
func (*SLoadbalancerRedirectBase) GetRedirect ¶
func (self *SLoadbalancerRedirectBase) GetRedirect() string
func (*SLoadbalancerRedirectBase) GetRedirectCode ¶
func (self *SLoadbalancerRedirectBase) GetRedirectCode() int64
func (*SLoadbalancerRedirectBase) GetRedirectHost ¶
func (self *SLoadbalancerRedirectBase) GetRedirectHost() string
func (*SLoadbalancerRedirectBase) GetRedirectPath ¶
func (self *SLoadbalancerRedirectBase) GetRedirectPath() string
func (*SLoadbalancerRedirectBase) GetRedirectScheme ¶
func (self *SLoadbalancerRedirectBase) GetRedirectScheme() string
type SMongodbBase ¶
type SMongodbBase struct { SVirtualResourceBase SBillingBase }
func (*SMongodbBase) GetMaxConnections ¶
func (instance *SMongodbBase) GetMaxConnections() int
type SNasBase ¶
type SNasBase struct { SResourceBase SBillingBase }
type SNatGatewayBase ¶
type SNatGatewayBase struct { SResourceBase SBillingBase }
func (*SNatGatewayBase) Delete ¶
func (nat *SNatGatewayBase) Delete() error
func (*SNatGatewayBase) GetBandwidthMb ¶
func (nat *SNatGatewayBase) GetBandwidthMb() int
func (*SNatGatewayBase) GetIDNatEntries ¶
func (nat *SNatGatewayBase) GetIDNatEntries() ([]cloudprovider.ICloudNatDEntry, error)
func (*SNatGatewayBase) GetIEips ¶
func (nat *SNatGatewayBase) GetIEips() ([]cloudprovider.ICloudEIP, error)
func (*SNatGatewayBase) GetISNatEntries ¶
func (nat *SNatGatewayBase) GetISNatEntries() ([]cloudprovider.ICloudNatSEntry, error)
func (*SNatGatewayBase) GetIpAddr ¶
func (nat *SNatGatewayBase) GetIpAddr() string
type SNetworkInterfaceBase ¶
type SNetworkInterfaceBase struct {
SResourceBase
}
type SNoLbRegion ¶
type SNoLbRegion struct{}
func (*SNoLbRegion) CreateILoadBalancer ¶
func (self *SNoLbRegion) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
func (*SNoLbRegion) CreateILoadBalancerAcl ¶
func (self *SNoLbRegion) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SNoLbRegion) CreateILoadBalancerCertificate ¶
func (self *SNoLbRegion) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SNoLbRegion) GetILoadBalancerAclById ¶
func (self *SNoLbRegion) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SNoLbRegion) GetILoadBalancerAcls ¶
func (self *SNoLbRegion) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
func (*SNoLbRegion) GetILoadBalancerById ¶
func (self *SNoLbRegion) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
func (*SNoLbRegion) GetILoadBalancerCertificateById ¶
func (self *SNoLbRegion) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SNoLbRegion) GetILoadBalancerCertificates ¶
func (self *SNoLbRegion) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SNoLbRegion) GetILoadBalancers ¶
func (self *SNoLbRegion) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
type SNoObjectStorageRegion ¶
type SNoObjectStorageRegion struct{}
func (*SNoObjectStorageRegion) CreateIBucket ¶
func (cli *SNoObjectStorageRegion) CreateIBucket(name string, storageClassStr string, aclStr string) error
func (*SNoObjectStorageRegion) DeleteIBucket ¶
func (cli *SNoObjectStorageRegion) DeleteIBucket(name string) error
func (*SNoObjectStorageRegion) GetIBucketById ¶
func (cli *SNoObjectStorageRegion) GetIBucketById(name string) (cloudprovider.ICloudBucket, error)
func (*SNoObjectStorageRegion) GetIBucketByName ¶
func (cli *SNoObjectStorageRegion) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
func (*SNoObjectStorageRegion) GetIBuckets ¶
func (cli *SNoObjectStorageRegion) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
func (*SNoObjectStorageRegion) IBucketExist ¶
func (cli *SNoObjectStorageRegion) IBucketExist(name string) (bool, error)
type SProjectBase ¶
type SProjectBase struct { SResourceBase STagBase }
func (*SProjectBase) GetAccountId ¶
func (self *SProjectBase) GetAccountId() string
func (*SProjectBase) GetDomainId ¶
func (self *SProjectBase) GetDomainId() string
func (*SProjectBase) GetDomainName ¶
func (self *SProjectBase) GetDomainName() string
type SRegion ¶
type SRegion struct { SResourceBase STagBase }
func (*SRegion) CreateICloudAccessGroup ¶
func (self *SRegion) CreateICloudAccessGroup(opts *cloudprovider.SAccessGroup) (cloudprovider.ICloudAccessGroup, error)
func (*SRegion) CreateICloudFileSystem ¶
func (self *SRegion) CreateICloudFileSystem(opts *cloudprovider.FileSystemCraeteOptions) (cloudprovider.ICloudFileSystem, error)
func (*SRegion) CreateICloudWafInstance ¶
func (self *SRegion) CreateICloudWafInstance(opts *cloudprovider.WafCreateOptions) (cloudprovider.ICloudWafInstance, error)
func (*SRegion) CreateIDBInstance ¶
func (self *SRegion) CreateIDBInstance(desc *cloudprovider.SManagedDBInstanceCreateConfig) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) CreateIElasticcaches ¶
func (self *SRegion) CreateIElasticcaches(ec *cloudprovider.SCloudElasticCacheInput) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) CreateIKubeCluster ¶
func (self *SRegion) CreateIKubeCluster(opts *cloudprovider.KubeClusterCreateOptions) (cloudprovider.ICloudKubeCluster, error)
func (*SRegion) CreateIModelartsPool ¶
func (self *SRegion) CreateIModelartsPool(pool *cloudprovider.ModelartsPoolCreateOption, callback func(id string)) (cloudprovider.ICloudModelartsPool, error)
func (*SRegion) CreateISku ¶
func (self *SRegion) CreateISku(opts *cloudprovider.SServerSkuCreateOption) (cloudprovider.ICloudSku, error)
func (*SRegion) CreateInternetGateway ¶
func (self *SRegion) CreateInternetGateway() (cloudprovider.ICloudInternetGateway, error)
func (*SRegion) CreateSnapshotPolicy ¶
func (r *SRegion) CreateSnapshotPolicy(input *cloudprovider.SnapshotPolicyInput) (string, error)
func (*SRegion) GetICloudAccessGroupById ¶
func (self *SRegion) GetICloudAccessGroupById(id string) (cloudprovider.ICloudAccessGroup, error)
func (*SRegion) GetICloudAccessGroups ¶
func (self *SRegion) GetICloudAccessGroups() ([]cloudprovider.ICloudAccessGroup, error)
func (*SRegion) GetICloudAppById ¶
func (self *SRegion) GetICloudAppById(id string) (cloudprovider.ICloudApp, error)
func (*SRegion) GetICloudApps ¶
func (self *SRegion) GetICloudApps() ([]cloudprovider.ICloudApp, error)
func (*SRegion) GetICloudEvents ¶
func (self *SRegion) GetICloudEvents(start time.Time, end time.Time, withReadEvent bool) ([]cloudprovider.ICloudEvent, error)
func (*SRegion) GetICloudFileSystemById ¶
func (self *SRegion) GetICloudFileSystemById(id string) (cloudprovider.ICloudFileSystem, error)
func (*SRegion) GetICloudFileSystems ¶
func (self *SRegion) GetICloudFileSystems() ([]cloudprovider.ICloudFileSystem, error)
func (*SRegion) GetICloudKafkaById ¶
func (self *SRegion) GetICloudKafkaById(id string) (cloudprovider.ICloudKafka, error)
func (*SRegion) GetICloudKafkas ¶
func (self *SRegion) GetICloudKafkas() ([]cloudprovider.ICloudKafka, error)
func (*SRegion) GetICloudKubeClusterById ¶
func (self *SRegion) GetICloudKubeClusterById(id string) (cloudprovider.ICloudKubeCluster, error)
func (*SRegion) GetICloudKubeClusters ¶
func (self *SRegion) GetICloudKubeClusters() ([]cloudprovider.ICloudKubeCluster, error)
func (*SRegion) GetICloudMongoDBById ¶
func (self *SRegion) GetICloudMongoDBById(id string) (cloudprovider.ICloudMongoDB, error)
func (*SRegion) GetICloudMongoDBs ¶
func (self *SRegion) GetICloudMongoDBs() ([]cloudprovider.ICloudMongoDB, error)
func (*SRegion) GetICloudNatSkus ¶
func (self *SRegion) GetICloudNatSkus() ([]cloudprovider.ICloudNatSku, error)
func (*SRegion) GetICloudQuotas ¶
func (self *SRegion) GetICloudQuotas() ([]cloudprovider.ICloudQuota, error)
func (*SRegion) GetICloudTablestores ¶
func (self *SRegion) GetICloudTablestores() ([]cloudprovider.ICloudTablestore, error)
func (*SRegion) GetICloudWafIPSets ¶
func (self *SRegion) GetICloudWafIPSets() ([]cloudprovider.ICloudWafIPSet, error)
func (*SRegion) GetICloudWafInstanceById ¶
func (self *SRegion) GetICloudWafInstanceById(id string) (cloudprovider.ICloudWafInstance, error)
func (*SRegion) GetICloudWafInstances ¶
func (self *SRegion) GetICloudWafInstances() ([]cloudprovider.ICloudWafInstance, error)
func (*SRegion) GetICloudWafRegexSets ¶
func (self *SRegion) GetICloudWafRegexSets() ([]cloudprovider.ICloudWafRegexSet, error)
func (*SRegion) GetICloudWafRuleGroups ¶
func (self *SRegion) GetICloudWafRuleGroups() ([]cloudprovider.ICloudWafRuleGroup, error)
func (*SRegion) GetIDBInstanceBackupById ¶
func (self *SRegion) GetIDBInstanceBackupById(backupId string) (cloudprovider.ICloudDBInstanceBackup, error)
func (*SRegion) GetIDBInstanceBackups ¶
func (self *SRegion) GetIDBInstanceBackups() ([]cloudprovider.ICloudDBInstanceBackup, error)
func (*SRegion) GetIDBInstanceById ¶
func (self *SRegion) GetIDBInstanceById(instanceId string) (cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDBInstanceSkus ¶
func (self *SRegion) GetIDBInstanceSkus() ([]cloudprovider.ICloudDBInstanceSku, error)
func (*SRegion) GetIDBInstances ¶
func (self *SRegion) GetIDBInstances() ([]cloudprovider.ICloudDBInstance, error)
func (*SRegion) GetIDiskById ¶
func (r *SRegion) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
func (*SRegion) GetIElasticSearchById ¶
func (self *SRegion) GetIElasticSearchById(id string) (cloudprovider.ICloudElasticSearch, error)
func (*SRegion) GetIElasticSearchs ¶
func (self *SRegion) GetIElasticSearchs() ([]cloudprovider.ICloudElasticSearch, error)
func (*SRegion) GetIElasticcacheById ¶
func (self *SRegion) GetIElasticcacheById(id string) (cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIElasticcacheSkus ¶
func (self *SRegion) GetIElasticcacheSkus() ([]cloudprovider.ICloudElasticcacheSku, error)
func (*SRegion) GetIElasticcaches ¶
func (self *SRegion) GetIElasticcaches() ([]cloudprovider.ICloudElasticcache, error)
func (*SRegion) GetIHostById ¶
func (r *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SRegion) GetIHosts ¶
func (r *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SRegion) GetIMiscResources ¶
func (self *SRegion) GetIMiscResources() ([]cloudprovider.ICloudMiscResource, error)
func (*SRegion) GetIModelartsPoolById ¶
func (self *SRegion) GetIModelartsPoolById(id string) (cloudprovider.ICloudModelartsPool, error)
func (*SRegion) GetIModelartsPoolSku ¶
func (self *SRegion) GetIModelartsPoolSku() ([]cloudprovider.ICloudModelartsPoolSku, error)
func (*SRegion) GetIModelartsPools ¶
func (self *SRegion) GetIModelartsPools() ([]cloudprovider.ICloudModelartsPool, error)
func (*SRegion) GetINetworkInterfaces ¶
func (self *SRegion) GetINetworkInterfaces() ([]cloudprovider.ICloudNetworkInterface, error)
func (*SRegion) GetISSLCertificates ¶
func (self *SRegion) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
func (*SRegion) GetISecurityGroups ¶
func (r *SRegion) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISnapshotById ¶
func (r *SRegion) GetISnapshotById(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetISnapshotPolicies ¶
func (self *SRegion) GetISnapshotPolicies() ([]cloudprovider.ICloudSnapshotPolicy, error)
func (*SRegion) GetISnapshotPolicyById ¶
func (r *SRegion) GetISnapshotPolicyById(snapshotPolicyId string) (cloudprovider.ICloudSnapshotPolicy, error)
func (*SRegion) GetISnapshots ¶
func (r *SRegion) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SRegion) GetIStorageById ¶
func (r *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SRegion) GetIStoragecacheById ¶
func (r *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStoragecaches ¶
func (r *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStorages ¶
func (r *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SRegion) GetIVMById ¶
func (r *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SRegion) GetStatusMessage ¶
type SRegionEipBase ¶
type SRegionEipBase struct { }
func (*SRegionEipBase) CreateEIP ¶
func (self *SRegionEipBase) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegionEipBase) GetIEipById ¶
func (self *SRegionEipBase) GetIEipById(id string) (cloudprovider.ICloudEIP, error)
func (*SRegionEipBase) GetIEips ¶
func (self *SRegionEipBase) GetIEips() ([]cloudprovider.ICloudEIP, error)
type SRegionLbBase ¶
type SRegionLbBase struct { }
func (*SRegionLbBase) CreateILoadBalancer ¶
func (self *SRegionLbBase) CreateILoadBalancer(loadbalancer *cloudprovider.SLoadbalancerCreateOptions) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegionLbBase) CreateILoadBalancerAcl ¶
func (self *SRegionLbBase) CreateILoadBalancerAcl(acl *cloudprovider.SLoadbalancerAccessControlList) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegionLbBase) CreateILoadBalancerCertificate ¶
func (self *SRegionLbBase) CreateILoadBalancerCertificate(cert *cloudprovider.SLoadbalancerCertificate) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegionLbBase) GetILoadBalancerAclById ¶
func (self *SRegionLbBase) GetILoadBalancerAclById(aclId string) (cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegionLbBase) GetILoadBalancerAcls ¶
func (self *SRegionLbBase) GetILoadBalancerAcls() ([]cloudprovider.ICloudLoadbalancerAcl, error)
func (*SRegionLbBase) GetILoadBalancerById ¶
func (self *SRegionLbBase) GetILoadBalancerById(loadbalancerId string) (cloudprovider.ICloudLoadbalancer, error)
func (*SRegionLbBase) GetILoadBalancerCertificateById ¶
func (self *SRegionLbBase) GetILoadBalancerCertificateById(certId string) (cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegionLbBase) GetILoadBalancerCertificates ¶
func (self *SRegionLbBase) GetILoadBalancerCertificates() ([]cloudprovider.ICloudLoadbalancerCertificate, error)
func (*SRegionLbBase) GetILoadBalancers ¶
func (self *SRegionLbBase) GetILoadBalancers() ([]cloudprovider.ICloudLoadbalancer, error)
type SRegionOssBase ¶
type SRegionOssBase struct { }
func (*SRegionOssBase) CreateIBucket ¶
func (self *SRegionOssBase) CreateIBucket(name string, storageClassStr string, acl string) error
func (*SRegionOssBase) DeleteIBucket ¶
func (self *SRegionOssBase) DeleteIBucket(name string) error
func (*SRegionOssBase) GetIBucketById ¶
func (self *SRegionOssBase) GetIBucketById(id string) (cloudprovider.ICloudBucket, error)
func (*SRegionOssBase) GetIBucketByName ¶
func (self *SRegionOssBase) GetIBucketByName(name string) (cloudprovider.ICloudBucket, error)
func (*SRegionOssBase) GetIBuckets ¶
func (self *SRegionOssBase) GetIBuckets() ([]cloudprovider.ICloudBucket, error)
func (*SRegionOssBase) IBucketExist ¶
func (self *SRegionOssBase) IBucketExist(name string) (bool, error)
type SRegionSecurityGroupBase ¶
type SRegionSecurityGroupBase struct { }
func (*SRegionSecurityGroupBase) CreateISecurityGroup ¶
func (self *SRegionSecurityGroupBase) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegionSecurityGroupBase) GetISecurityGroupById ¶
func (self *SRegionSecurityGroupBase) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
type SRegionVpcBase ¶
type SRegionVpcBase struct { }
func (*SRegionVpcBase) CreateIVpc ¶
func (self *SRegionVpcBase) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegionVpcBase) GetIVpcById ¶
func (self *SRegionVpcBase) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegionVpcBase) GetIVpcs ¶
func (self *SRegionVpcBase) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
type SRegionZoneBase ¶
type SRegionZoneBase struct { }
func (*SRegionZoneBase) GetIZoneById ¶
func (self *SRegionZoneBase) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegionZoneBase) GetIZones ¶
func (self *SRegionZoneBase) GetIZones() ([]cloudprovider.ICloudZone, error)
type SResourceBase ¶
type SResourceBase struct { }
func (*SResourceBase) GetCreatedAt ¶
func (resource *SResourceBase) GetCreatedAt() time.Time
func (*SResourceBase) GetDescription ¶
func (resource *SResourceBase) GetDescription() string
func (*SResourceBase) IsEmulated ¶
func (resource *SResourceBase) IsEmulated() bool
func (*SResourceBase) Refresh ¶
func (resource *SResourceBase) Refresh() error
type SSecurityGroup ¶
type SSecurityGroup struct {
SVirtualResourceBase
}
func (*SSecurityGroup) CreateRule ¶
func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
func (*SSecurityGroup) GetReferences ¶
func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)
type SServerSku ¶
type SServerSku struct {
SResourceBase
}
func (*SServerSku) GetStatus ¶
func (self *SServerSku) GetStatus() string
type SStorageBase ¶
type SStorageBase struct { SResourceBase STagBase }
func (*SStorageBase) DisableSync ¶
func (s *SStorageBase) DisableSync() bool
type STag ¶
func (STag) IsSysTagPrefix ¶
type SVirtualResourceBase ¶
type SVirtualResourceBase struct {
SResourceBase
}
func (*SVirtualResourceBase) GetProjectId ¶
func (self *SVirtualResourceBase) GetProjectId() string
type SVpc ¶
type SVpc struct {
SResourceBase
}
func (*SVpc) AcceptICloudVpcPeeringConnection ¶
func (*SVpc) AttachInternetGateway ¶
func (*SVpc) CreateICloudVpcPeeringConnection ¶
func (self *SVpc) CreateICloudVpcPeeringConnection(opts *cloudprovider.VpcPeeringConnectionCreateOptions) (cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) CreateINatGateway ¶
func (self *SVpc) CreateINatGateway(opts *cloudprovider.NatGatewayCreateOptions) (cloudprovider.ICloudNatGateway, error)
func (*SVpc) CreateIWire ¶
func (self *SVpc) CreateIWire(opts *cloudprovider.SWireCreateOptions) (cloudprovider.ICloudWire, error)
func (*SVpc) CreateRouteToVpcPeeringConnection ¶
func (*SVpc) DeleteVpcPeeringConnectionRoute ¶
func (*SVpc) GetAuthorityOwnerId ¶
func (*SVpc) GetExternalAccessMode ¶
func (*SVpc) GetGlobalVpcId ¶
func (*SVpc) GetICloudAccepterVpcPeeringConnections ¶
func (self *SVpc) GetICloudAccepterVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetICloudIPv6Gateways ¶
func (self *SVpc) GetICloudIPv6Gateways() ([]cloudprovider.ICloudIPv6Gateway, error)
func (*SVpc) GetICloudVpcPeeringConnectionById ¶
func (self *SVpc) GetICloudVpcPeeringConnectionById(id string) (cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetICloudVpcPeeringConnections ¶
func (self *SVpc) GetICloudVpcPeeringConnections() ([]cloudprovider.ICloudVpcPeeringConnection, error)
func (*SVpc) GetINatGateways ¶
func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
func (*SVpc) IsSupportSetExternalAccess ¶
func (*SVpc) ProposeJoinICloudInterVpcNetwork ¶
func (self *SVpc) ProposeJoinICloudInterVpcNetwork(opts *cloudprovider.SVpcJointInterVpcNetworkOption) error
Source Files ¶
- billing_base.go
- bucket_base.go
- cdn_domain_base.go
- clouduser.go
- dbinstance_account_base.go
- dbinstance_backup_base.go
- dbinstance_base.go
- dbinstance_database_base.go
- disk_base.go
- doc.go
- eip_base.go
- elasticcache_base.go
- host_base.go
- image_base.go
- instance_base.go
- lbredirect_base.go
- loadbalancer_base.go
- mongodb_base.go
- nas_base.go
- natgateway_base.go
- networkinterface_base.go
- no_lb_region.go
- no_storage_region.go
- progress.go
- project_base.go
- region_base.go
- resource_base.go
- secgroup_base.go
- serversku_base.go
- storage_base.go
- tag_base.go
- virtualresource_base.go
- vpc_base.go
Click to show internal directories.
Click to hide internal directories.