regiondrivers

package
v0.3.9-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 38 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckQcloudBackendPortUnique

func CheckQcloudBackendPortUnique(backendGroupId string, backendServerId string, port int) error

validate backend port unique

func IsInPrivateIpRange

func IsInPrivateIpRange(ar netutils.IPV4AddrRange) error

func RunValidators

func RunValidators(validators map[string]validators.IValidator, data *jsonutils.JSONDict, optional bool) error

func ValidateElasticcacheSku

func ValidateElasticcacheSku(zoneId string, chargeType string, sku *models.SElasticcacheSku, network *models.SNetwork) error

Types

type SAliyunRegionDriver

type SAliyunRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SAliyunRegionDriver) GenerateSecurityGroupName

func (self *SAliyunRegionDriver) GenerateSecurityGroupName(name string) string

func (*SAliyunRegionDriver) GetBackendStatusForAdd

func (self *SAliyunRegionDriver) GetBackendStatusForAdd() []string

func (*SAliyunRegionDriver) GetDefaultSecurityGroupInRule

func (self *SAliyunRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SAliyunRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SAliyunRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SAliyunRegionDriver) GetMaxElasticcacheSecurityGroupCount

func (self *SAliyunRegionDriver) GetMaxElasticcacheSecurityGroupCount() int

func (*SAliyunRegionDriver) GetProvider

func (self *SAliyunRegionDriver) GetProvider() string

func (*SAliyunRegionDriver) GetRdsSupportSecgroupCount

func (self *SAliyunRegionDriver) GetRdsSupportSecgroupCount() int

func (*SAliyunRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SAliyunRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SAliyunRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SAliyunRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SAliyunRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SAliyunRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SAliyunRegionDriver) IsSecurityGroupBelongVpc

func (self *SAliyunRegionDriver) IsSecurityGroupBelongVpc() bool

func (*SAliyunRegionDriver) IsSupportPeerSecgroup

func (self *SAliyunRegionDriver) IsSupportPeerSecgroup() bool

func (*SAliyunRegionDriver) IsSupportedBillingCycle

func (self *SAliyunRegionDriver) IsSupportedBillingCycle(bc billing.SBillingCycle, resource string) bool

func (*SAliyunRegionDriver) IsSupportedDBInstance

func (self *SAliyunRegionDriver) IsSupportedDBInstance() bool

func (*SAliyunRegionDriver) IsSupportedDBInstanceAutoRenew

func (self *SAliyunRegionDriver) IsSupportedDBInstanceAutoRenew() bool

func (*SAliyunRegionDriver) IsSupportedElasticcache

func (self *SAliyunRegionDriver) IsSupportedElasticcache() bool

func (*SAliyunRegionDriver) IsSupportedElasticcacheSecgroup

func (self *SAliyunRegionDriver) IsSupportedElasticcacheSecgroup() bool

func (*SAliyunRegionDriver) IsSupportedNas

func (self *SAliyunRegionDriver) IsSupportedNas() bool

func (*SAliyunRegionDriver) IsSupportedNatGateway

func (self *SAliyunRegionDriver) IsSupportedNatGateway() bool

func (*SAliyunRegionDriver) RequestCreateElasticcache

func (self *SAliyunRegionDriver) RequestCreateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask, data *jsonutils.JSONDict) error

func (*SAliyunRegionDriver) RequestCreateElasticcacheAccount

func (self *SAliyunRegionDriver) RequestCreateElasticcacheAccount(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SAliyunRegionDriver) RequestCreateElasticcacheBackup

func (self *SAliyunRegionDriver) RequestCreateElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, eb *models.SElasticcacheBackup, task taskman.ITask) error

func (*SAliyunRegionDriver) RequestElasticcacheAccountResetPassword

func (self *SAliyunRegionDriver) RequestElasticcacheAccountResetPassword(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SAliyunRegionDriver) RequestSyncAccessGroup

func (self *SAliyunRegionDriver) RequestSyncAccessGroup(ctx context.Context, userCred mcclient.TokenCredential, fs *models.SFileSystem, mt *models.SMountTarget, ag *models.SAccessGroup, task taskman.ITask) error

func (*SAliyunRegionDriver) ValidateCreateDBInstanceAccountData

func (*SAliyunRegionDriver) ValidateCreateDBInstanceBackupData

func (*SAliyunRegionDriver) ValidateCreateDBInstanceData

func (*SAliyunRegionDriver) ValidateCreateDBInstanceDatabaseData

func (*SAliyunRegionDriver) ValidateCreateElasticcacheAccountData

func (self *SAliyunRegionDriver) ValidateCreateElasticcacheAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateElasticcacheData

func (self *SAliyunRegionDriver) ValidateCreateElasticcacheData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, input api.ElasticcacheCreateInput) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SAliyunRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateLoadbalancerBackendGroupData

func (self *SAliyunRegionDriver) ValidateCreateLoadbalancerBackendGroupData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backends []cloudprovider.SLoadbalancerBackend) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateLoadbalancerData

func (self *SAliyunRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SAliyunRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SAliyunRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateCreateNatGateway

func (self *SAliyunRegionDriver) ValidateCreateNatGateway(ctx context.Context, userCred mcclient.TokenCredential, input api.NatgatewayCreateInput) (api.NatgatewayCreateInput, error)

func (*SAliyunRegionDriver) ValidateCreateSnapshopolicyDiskData

func (self *SAliyunRegionDriver) ValidateCreateSnapshopolicyDiskData(ctx context.Context,
	userCred mcclient.TokenCredential, disk *models.SDisk, snapshotPolicy *models.SSnapshotPolicy) error

func (*SAliyunRegionDriver) ValidateCreateSnapshotData

func (self *SAliyunRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

func (*SAliyunRegionDriver) ValidateCreateVpcData

func (self *SAliyunRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SAliyunRegionDriver) ValidateCreateWafInstanceData

func (self *SAliyunRegionDriver) ValidateCreateWafInstanceData(ctx context.Context, userCred mcclient.TokenCredential, input api.WafInstanceCreateInput) (api.WafInstanceCreateInput, error)

func (*SAliyunRegionDriver) ValidateCreateWafRuleData

func (self *SAliyunRegionDriver) ValidateCreateWafRuleData(ctx context.Context, userCred mcclient.TokenCredential, waf *models.SWafInstance, input api.WafRuleCreateInput) (api.WafRuleCreateInput, error)

func (*SAliyunRegionDriver) ValidateDBInstanceAccountPrivilege

func (self *SAliyunRegionDriver) ValidateDBInstanceAccountPrivilege(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string, privilege string) error

func (*SAliyunRegionDriver) ValidateDBInstanceRecovery

func (self *SAliyunRegionDriver) ValidateDBInstanceRecovery(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, backup *models.SDBInstanceBackup, input api.SDBInstanceRecoveryConfigInput) error

func (*SAliyunRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SAliyunRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateUpdateLoadbalancerCertificateData

func (self *SAliyunRegionDriver) ValidateUpdateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SAliyunRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SAliyunRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SAliyunRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SApsaraRegionDriver

type SApsaraRegionDriver struct {
	SAliyunRegionDriver
}

func (*SApsaraRegionDriver) GetProvider

func (self *SApsaraRegionDriver) GetProvider() string

type SAwsRegionDriver

type SAwsRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SAwsRegionDriver) GenerateSecurityGroupName

func (self *SAwsRegionDriver) GenerateSecurityGroupName(name string) string

func (*SAwsRegionDriver) GetDefaultSecurityGroupInRule

func (self *SAwsRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SAwsRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SAwsRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SAwsRegionDriver) GetProvider

func (self *SAwsRegionDriver) GetProvider() string

func (*SAwsRegionDriver) GetRdsSupportSecgroupCount

func (self *SAwsRegionDriver) GetRdsSupportSecgroupCount() int

func (*SAwsRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SAwsRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SAwsRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SAwsRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SAwsRegionDriver) InitDBInstanceUser

func (self *SAwsRegionDriver) InitDBInstanceUser(ctx context.Context, instance *models.SDBInstance, task taskman.ITask, desc *cloudprovider.SManagedDBInstanceCreateConfig) error

func (*SAwsRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SAwsRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SAwsRegionDriver) IsCertificateBelongToRegion

func (self *SAwsRegionDriver) IsCertificateBelongToRegion() bool

func (*SAwsRegionDriver) IsOnlySupportAllowRules

func (self *SAwsRegionDriver) IsOnlySupportAllowRules() bool

func (*SAwsRegionDriver) IsSecurityGroupBelongVpc

func (self *SAwsRegionDriver) IsSecurityGroupBelongVpc() bool

func (*SAwsRegionDriver) IsSupportedDBInstance

func (self *SAwsRegionDriver) IsSupportedDBInstance() bool

func (*SAwsRegionDriver) RequestAssociateEip

func (*SAwsRegionDriver) RequestCreateLoadbalancerBackend

func (self *SAwsRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SAwsRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SAwsRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SAwsRegionDriver) RequestCreateLoadbalancerListener

func (self *SAwsRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SAwsRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SAwsRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SAwsRegionDriver) RequestDeleteLoadbalancer

func (self *SAwsRegionDriver) RequestDeleteLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SAwsRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SAwsRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SAwsRegionDriver) RequestDeleteLoadbalancerBackendGroup

func (self *SAwsRegionDriver) RequestDeleteLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SAwsRegionDriver) RequestDeleteVpc

func (self *SAwsRegionDriver) RequestDeleteVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SAwsRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SAwsRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SAwsRegionDriver) RequestPullRegionLoadbalancerBackendGroup

func (self *SAwsRegionDriver) RequestPullRegionLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localRegion *models.SCloudregion, remoteRegion cloudprovider.ICloudRegion, syncRange *models.SSyncRange) error

func (*SAwsRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SAwsRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SAwsRegionDriver) RequestSyncLoadbalancerListener

func (self *SAwsRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SAwsRegionDriver) ValidateCreateDBInstanceAccountData

func (self *SAwsRegionDriver) ValidateCreateDBInstanceAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, instance *models.SDBInstance, input api.DBInstanceAccountCreateInput) (api.DBInstanceAccountCreateInput, error)

func (*SAwsRegionDriver) ValidateCreateDBInstanceBackupData

func (self *SAwsRegionDriver) ValidateCreateDBInstanceBackupData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, instance *models.SDBInstance, input api.DBInstanceBackupCreateInput) (api.DBInstanceBackupCreateInput, error)

func (*SAwsRegionDriver) ValidateCreateDBInstanceData

func (self *SAwsRegionDriver) ValidateCreateDBInstanceData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, input api.DBInstanceCreateInput, skus []models.SDBInstanceSku, network *models.SNetwork) (api.DBInstanceCreateInput, error)

func (*SAwsRegionDriver) ValidateCreateDBInstanceDatabaseData

func (self *SAwsRegionDriver) ValidateCreateDBInstanceDatabaseData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, instance *models.SDBInstance, input api.DBInstanceDatabaseCreateInput) (api.DBInstanceDatabaseCreateInput, error)

func (*SAwsRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SAwsRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SAwsRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SAwsRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateCreateLoadbalancerData

func (self *SAwsRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SAwsRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SAwsRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateCreateVpcData

func (self *SAwsRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SAwsRegionDriver) ValidateCreateWafInstanceData

func (self *SAwsRegionDriver) ValidateCreateWafInstanceData(ctx context.Context, userCred mcclient.TokenCredential, input api.WafInstanceCreateInput) (api.WafInstanceCreateInput, error)

func (*SAwsRegionDriver) ValidateCreateWafRuleData

func (self *SAwsRegionDriver) ValidateCreateWafRuleData(ctx context.Context, userCred mcclient.TokenCredential, waf *models.SWafInstance, input api.WafRuleCreateInput) (api.WafRuleCreateInput, error)

func (*SAwsRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SAwsRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SAwsRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SAwsRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SAwsRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SAzureRegionDriver

type SAzureRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SAzureRegionDriver) GenerateSecurityGroupName

func (self *SAzureRegionDriver) GenerateSecurityGroupName(name string) string

func (*SAzureRegionDriver) GetDefaultSecurityGroupInRule

func (self *SAzureRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SAzureRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SAzureRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SAzureRegionDriver) GetProvider

func (self *SAzureRegionDriver) GetProvider() string

func (*SAzureRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SAzureRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SAzureRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SAzureRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SAzureRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SAzureRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SAzureRegionDriver) IsSupportClassicSecurityGroup

func (self *SAzureRegionDriver) IsSupportClassicSecurityGroup() bool

func (*SAzureRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SAzureRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAzureRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SAzureRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAzureRegionDriver) ValidateCreateLoadbalancerData

func (self *SAzureRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, owerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SAzureRegionDriver) ValidateCreateVpcData

func (self *SAzureRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SAzureRegionDriver) ValidateCreateWafInstanceData

func (self *SAzureRegionDriver) ValidateCreateWafInstanceData(ctx context.Context, userCred mcclient.TokenCredential, input api.WafInstanceCreateInput) (api.WafInstanceCreateInput, error)

func (*SAzureRegionDriver) ValidateCreateWafRuleData

func (self *SAzureRegionDriver) ValidateCreateWafRuleData(ctx context.Context, userCred mcclient.TokenCredential, waf *models.SWafInstance, input api.WafRuleCreateInput) (api.WafRuleCreateInput, error)

type SBaseRegionDriver

type SBaseRegionDriver struct {
}

func (*SBaseRegionDriver) GenerateSecurityGroupName

func (self *SBaseRegionDriver) GenerateSecurityGroupName(name string) string

func (*SBaseRegionDriver) GetDefaultSecurityGroupInRule

func (self *SBaseRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SBaseRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SBaseRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SBaseRegionDriver) GetDefaultSecurityGroupVpcId

func (self *SBaseRegionDriver) GetDefaultSecurityGroupVpcId() string

func (*SBaseRegionDriver) GetDiskResetParams

func (self *SBaseRegionDriver) GetDiskResetParams(snapshot *models.SSnapshot) *jsonutils.JSONDict

func (*SBaseRegionDriver) GetRdsSupportSecgroupCount

func (self *SBaseRegionDriver) GetRdsSupportSecgroupCount() int

func (*SBaseRegionDriver) GetSecgroupVpcid

func (self *SBaseRegionDriver) GetSecgroupVpcid(vpcId string) string

func (*SBaseRegionDriver) GetSecurityGroupPublicScope

func (self *SBaseRegionDriver) GetSecurityGroupPublicScope(service string) rbacutils.TRbacScope

func (*SBaseRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SBaseRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SBaseRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SBaseRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SBaseRegionDriver) GetSecurityGroupVpcId

func (self *SBaseRegionDriver) GetSecurityGroupVpcId(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, host *models.SHost, vpc *models.SVpc, classic bool) (string, error)

func (*SBaseRegionDriver) InitDBInstanceUser

func (self *SBaseRegionDriver) InitDBInstanceUser(ctx context.Context, dbinstance *models.SDBInstance, task taskman.ITask, desc *cloudprovider.SManagedDBInstanceCreateConfig) error

func (*SBaseRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SBaseRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SBaseRegionDriver) IsCertificateBelongToRegion

func (self *SBaseRegionDriver) IsCertificateBelongToRegion() bool

func (*SBaseRegionDriver) IsDBInstanceNeedSecgroup

func (self *SBaseRegionDriver) IsDBInstanceNeedSecgroup() bool

func (*SBaseRegionDriver) IsOnlySupportAllowRules

func (self *SBaseRegionDriver) IsOnlySupportAllowRules() bool

func (*SBaseRegionDriver) IsPeerSecgroupWithSameProject

func (self *SBaseRegionDriver) IsPeerSecgroupWithSameProject() bool

func (*SBaseRegionDriver) IsSecurityGroupBelongGlobalVpc

func (self *SBaseRegionDriver) IsSecurityGroupBelongGlobalVpc() bool

func (*SBaseRegionDriver) IsSecurityGroupBelongVpc

func (self *SBaseRegionDriver) IsSecurityGroupBelongVpc() bool

func (*SBaseRegionDriver) IsSupportClassicSecurityGroup

func (self *SBaseRegionDriver) IsSupportClassicSecurityGroup() bool

func (*SBaseRegionDriver) IsSupportDBInstancePublicConnection

func (self *SBaseRegionDriver) IsSupportDBInstancePublicConnection() bool

func (*SBaseRegionDriver) IsSupportKeepDBInstanceManualBackup

func (self *SBaseRegionDriver) IsSupportKeepDBInstanceManualBackup() bool

func (*SBaseRegionDriver) IsSupportPeerSecgroup

func (self *SBaseRegionDriver) IsSupportPeerSecgroup() bool

func (*SBaseRegionDriver) IsSupportedBillingCycle

func (self *SBaseRegionDriver) IsSupportedBillingCycle(bc billing.SBillingCycle, resource string) bool

func (*SBaseRegionDriver) IsSupportedDBInstance

func (self *SBaseRegionDriver) IsSupportedDBInstance() bool

func (*SBaseRegionDriver) IsSupportedDBInstanceAutoRenew

func (self *SBaseRegionDriver) IsSupportedDBInstanceAutoRenew() bool

func (*SBaseRegionDriver) IsSupportedElasticcache

func (self *SBaseRegionDriver) IsSupportedElasticcache() bool

func (*SBaseRegionDriver) IsSupportedElasticcacheAutoRenew

func (self *SBaseRegionDriver) IsSupportedElasticcacheAutoRenew() bool

func (*SBaseRegionDriver) IsSupportedNas

func (self *SBaseRegionDriver) IsSupportedNas() bool

func (*SBaseRegionDriver) IsSupportedNatAutoRenew

func (self *SBaseRegionDriver) IsSupportedNatAutoRenew() bool

func (*SBaseRegionDriver) IsSupportedNatGateway

func (self *SBaseRegionDriver) IsSupportedNatGateway() bool

func (*SBaseRegionDriver) IsVpcBelongGlobalVpc

func (self *SBaseRegionDriver) IsVpcBelongGlobalVpc() bool

func (*SBaseRegionDriver) IsVpcCreateNeedInputCidr

func (self *SBaseRegionDriver) IsVpcCreateNeedInputCidr() bool

func (*SBaseRegionDriver) OnDiskReset

func (self *SBaseRegionDriver) OnDiskReset(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, snapshot *models.SSnapshot, data *jsonutils.JSONObject) error

func (*SBaseRegionDriver) OnNatEntryDeleteComplete

func (self *SBaseRegionDriver) OnNatEntryDeleteComplete(ctx context.Context, userCred mcclient.TokenCredential, eip *models.SElasticip) error

func (*SBaseRegionDriver) OnSnapshotDelete

func (self *SBaseRegionDriver) OnSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask, data jsonutils.JSONObject) error

func (*SBaseRegionDriver) RequestApplySnapshotPolicy

func (self *SBaseRegionDriver) RequestApplySnapshotPolicy(ctx context.Context, userCred mcclient.TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SBaseRegionDriver) RequestAssociatEip

func (*SBaseRegionDriver) RequestAssociateEipForNAT

func (self *SBaseRegionDriver) RequestAssociateEipForNAT(ctx context.Context, userCred mcclient.TokenCredential, nat *models.SNatGateway, eip *models.SElasticip, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCacheSecurityGroup

func (self *SBaseRegionDriver) RequestCacheSecurityGroup(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, secgroup *models.SSecurityGroup, classic bool, remoteProjectId string, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCancelSnapshotPolicy

func (self *SBaseRegionDriver) RequestCancelSnapshotPolicy(ctx context.Context, userCred mcclient.TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SBaseRegionDriver) RequestChangeDBInstanceConfig

func (self *SBaseRegionDriver) RequestChangeDBInstanceConfig(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, input *api.SDBInstanceChangeConfigInput, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateBackup

func (self *SBaseRegionDriver) RequestCreateBackup(ctx context.Context, backup *models.SDiskBackup, snapshotId string, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateDBInstance

func (self *SBaseRegionDriver) RequestCreateDBInstance(ctx context.Context, userCred mcclient.TokenCredential, dbinstance *models.SDBInstance, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateDBInstanceBackup

func (self *SBaseRegionDriver) RequestCreateDBInstanceBackup(ctx context.Context, userCred mcclient.TokenCredential, dbinstance *models.SDBInstance, backup *models.SDBInstanceBackup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateDBInstanceFromBackup

func (self *SBaseRegionDriver) RequestCreateDBInstanceFromBackup(ctx context.Context, userCred mcclient.TokenCredential, dbinstance *models.SDBInstance, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateInstanceBackup

func (self *SBaseRegionDriver) RequestCreateInstanceBackup(ctx context.Context, guest *models.SGuest, ib *models.SInstanceBackup, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SBaseRegionDriver) RequestCreateLoadbalancer

func (self *SBaseRegionDriver) RequestCreateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateLoadbalancerAcl

func (self *SBaseRegionDriver) RequestCreateLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateLoadbalancerBackend

func (self *SBaseRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SBaseRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateLoadbalancerCertificate

func (self *SBaseRegionDriver) RequestCreateLoadbalancerCertificate(ctx context.Context, userCred mcclient.TokenCredential, lbcert *models.SCachedLoadbalancerCertificate, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateLoadbalancerListener

func (self *SBaseRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SBaseRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateNetwork

func (self *SBaseRegionDriver) RequestCreateNetwork(ctx context.Context, userCred mcclient.TokenCredential, net *models.SNetwork) error

func (*SBaseRegionDriver) RequestCreateSnapshot

func (self *SBaseRegionDriver) RequestCreateSnapshot(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SBaseRegionDriver) RequestCreateVpc

func (self *SBaseRegionDriver) RequestCreateVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteBackup

func (self *SBaseRegionDriver) RequestDeleteBackup(ctx context.Context, backup *models.SDiskBackup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteInstanceBackup

func (self *SBaseRegionDriver) RequestDeleteInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancer

func (self *SBaseRegionDriver) RequestDeleteLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancerAcl

func (self *SBaseRegionDriver) RequestDeleteLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SBaseRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancerBackendGroup

func (self *SBaseRegionDriver) RequestDeleteLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancerCertificate

func (self *SBaseRegionDriver) RequestDeleteLoadbalancerCertificate(ctx context.Context, userCred mcclient.TokenCredential, lbcert *models.SCachedLoadbalancerCertificate, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancerListener

func (self *SBaseRegionDriver) RequestDeleteLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteLoadbalancerListenerRule

func (self *SBaseRegionDriver) RequestDeleteLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteSnapshot

func (self *SBaseRegionDriver) RequestDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SBaseRegionDriver) RequestDeleteVpc

func (self *SBaseRegionDriver) RequestDeleteVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SBaseRegionDriver) RequestElasticcacheSetAutoRenew

func (self *SBaseRegionDriver) RequestElasticcacheSetAutoRenew(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, autoRenew bool, task taskman.ITask) error

func (*SBaseRegionDriver) RequestPackInstanceBackup

func (self *SBaseRegionDriver) RequestPackInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, task taskman.ITask, packageName string) error

func (*SBaseRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SBaseRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SBaseRegionDriver) RequestPullRegionLoadbalancerBackendGroup

func (self *SBaseRegionDriver) RequestPullRegionLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localRegion *models.SCloudregion, remoteRegion cloudprovider.ICloudRegion, syncRange *models.SSyncRange) error

func (*SBaseRegionDriver) RequestRemoteUpdateDBInstance

func (self *SBaseRegionDriver) RequestRemoteUpdateDBInstance(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, replaceTags bool, task taskman.ITask) error

func (*SBaseRegionDriver) RequestRemoteUpdateElasticcache

func (self *SBaseRegionDriver) RequestRemoteUpdateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, replaceTags bool, task taskman.ITask) error

func (*SBaseRegionDriver) RequestRemoteUpdateLoadbalancer

func (self *SBaseRegionDriver) RequestRemoteUpdateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, replaceTags bool, task taskman.ITask) error

func (*SBaseRegionDriver) RequestRenewElasticcache

func (self *SBaseRegionDriver) RequestRenewElasticcache(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SElasticcache, bc billing.SBillingCycle) (time.Time, error)

func (*SBaseRegionDriver) RequestStartLoadbalancer

func (self *SBaseRegionDriver) RequestStartLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SBaseRegionDriver) RequestStartLoadbalancerListener

func (self *SBaseRegionDriver) RequestStartLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SBaseRegionDriver) RequestStopLoadbalancer

func (self *SBaseRegionDriver) RequestStopLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SBaseRegionDriver) RequestStopLoadbalancerListener

func (self *SBaseRegionDriver) RequestStopLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncAccessGroup

func (self *SBaseRegionDriver) RequestSyncAccessGroup(ctx context.Context, userCred mcclient.TokenCredential, fs *models.SFileSystem, mt *models.SMountTarget, ag *models.SAccessGroup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncBackupStorageStatus

func (self *SBaseRegionDriver) RequestSyncBackupStorageStatus(ctx context.Context, userCred mcclient.TokenCredential, bs *models.SBackupStorage, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncBucketStatus

func (self *SBaseRegionDriver) RequestSyncBucketStatus(ctx context.Context, userCred mcclient.TokenCredential, bucket *models.SBucket, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncDBInstanceBackupStatus

func (self *SBaseRegionDriver) RequestSyncDBInstanceBackupStatus(ctx context.Context, userCred mcclient.TokenCredential, backup *models.SDBInstanceBackup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncDiskStatus

func (self *SBaseRegionDriver) RequestSyncDiskStatus(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncElasticcacheStatus

func (self *SBaseRegionDriver) RequestSyncElasticcacheStatus(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncInstanceBackupStatus

func (self *SBaseRegionDriver) RequestSyncInstanceBackupStatus(ctx context.Context, userCred mcclient.TokenCredential, ib *models.SInstanceBackup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncLoadbalancerAcl

func (self *SBaseRegionDriver) RequestSyncLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncLoadbalancerBackend

func (self *SBaseRegionDriver) RequestSyncLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SBaseRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncLoadbalancerListener

func (self *SBaseRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncNatGatewayStatus

func (self *SBaseRegionDriver) RequestSyncNatGatewayStatus(ctx context.Context, userCred mcclient.TokenCredential, natgateway *models.SNatGateway, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncRdsSecurityGroups

func (self *SBaseRegionDriver) RequestSyncRdsSecurityGroups(ctx context.Context, userCred mcclient.TokenCredential, rds *models.SDBInstance, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncSecgroupsForElasticcache

func (self *SBaseRegionDriver) RequestSyncSecgroupsForElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncSecurityGroup

func (self *SBaseRegionDriver) RequestSyncSecurityGroup(ctx context.Context, userCred mcclient.TokenCredential, vpcId string, vpc *models.SVpc, secgroup *models.SSecurityGroup, removeProjectId, service string, skipSyncRule bool) (string, error)

func (*SBaseRegionDriver) RequestSyncSnapshotStatus

func (self *SBaseRegionDriver) RequestSyncSnapshotStatus(ctx context.Context, userCred mcclient.TokenCredential, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncstatusLoadbalancer

func (self *SBaseRegionDriver) RequestSyncstatusLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SBaseRegionDriver) RequestSyncstatusLoadbalancerListener

func (self *SBaseRegionDriver) RequestSyncstatusLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SBaseRegionDriver) RequestUnpackInstanceBackup

func (self *SBaseRegionDriver) RequestUnpackInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, task taskman.ITask, packageName string, metadataOnly bool) error

func (*SBaseRegionDriver) RequestUpdateSnapshotPolicy

func (self *SBaseRegionDriver) RequestUpdateSnapshotPolicy(ctx context.Context, userCred mcclient.TokenCredential, sp *models.SSnapshotPolicy, input cloudprovider.SnapshotPolicyInput, task taskman.ITask) error

func (*SBaseRegionDriver) SnapshotIsOutOfChain

func (self *SBaseRegionDriver) SnapshotIsOutOfChain(disk *models.SDisk) bool

func (*SBaseRegionDriver) ValidateCreateCdnData

func (self *SBaseRegionDriver) ValidateCreateCdnData(ctx context.Context, userCred mcclient.TokenCredential, input api.CDNDomainCreateInput) (api.CDNDomainCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateDBInstanceAccountData

func (self *SBaseRegionDriver) ValidateCreateDBInstanceAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, instance *models.SDBInstance, input api.DBInstanceAccountCreateInput) (api.DBInstanceAccountCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateDBInstanceBackupData

func (self *SBaseRegionDriver) ValidateCreateDBInstanceBackupData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, instance *models.SDBInstance, input api.DBInstanceBackupCreateInput) (api.DBInstanceBackupCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateDBInstanceData

func (self *SBaseRegionDriver) ValidateCreateDBInstanceData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, input api.DBInstanceCreateInput, skus []models.SDBInstanceSku, network *models.SNetwork) (api.DBInstanceCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateDBInstanceDatabaseData

func (self *SBaseRegionDriver) ValidateCreateDBInstanceDatabaseData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, instance *models.SDBInstance, input api.DBInstanceDatabaseCreateInput) (api.DBInstanceDatabaseCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateNatGateway

func (self *SBaseRegionDriver) ValidateCreateNatGateway(ctx context.Context, userCred mcclient.TokenCredential, input api.NatgatewayCreateInput) (api.NatgatewayCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateSnapshopolicyDiskData

func (self *SBaseRegionDriver) ValidateCreateSnapshopolicyDiskData(ctx context.Context,
	userCred mcclient.TokenCredential, disk *models.SDisk, snapshotPolicy *models.SSnapshotPolicy) error

func (*SBaseRegionDriver) ValidateCreateSnapshotData

func (self *SBaseRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

func (*SBaseRegionDriver) ValidateCreateWafInstanceData

func (self *SBaseRegionDriver) ValidateCreateWafInstanceData(ctx context.Context, userCred mcclient.TokenCredential, input api.WafInstanceCreateInput) (api.WafInstanceCreateInput, error)

func (*SBaseRegionDriver) ValidateCreateWafRuleData

func (self *SBaseRegionDriver) ValidateCreateWafRuleData(ctx context.Context, userCred mcclient.TokenCredential, waf *models.SWafInstance, input api.WafRuleCreateInput) (api.WafRuleCreateInput, error)

func (*SBaseRegionDriver) ValidateDBInstanceAccountPrivilege

func (self *SBaseRegionDriver) ValidateDBInstanceAccountPrivilege(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string, privilege string) error

func (*SBaseRegionDriver) ValidateDBInstanceRecovery

func (self *SBaseRegionDriver) ValidateDBInstanceRecovery(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, backup *models.SDBInstanceBackup, input api.SDBInstanceRecoveryConfigInput) error

func (*SBaseRegionDriver) ValidateResetDBInstancePassword

func (self *SBaseRegionDriver) ValidateResetDBInstancePassword(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string) error

func (*SBaseRegionDriver) ValidateSnapshotDelete

func (self *SBaseRegionDriver) ValidateSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot) error

type SBingoCloudRegionDriver

type SBingoCloudRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SBingoCloudRegionDriver) GenerateSecurityGroupName

func (self *SBingoCloudRegionDriver) GenerateSecurityGroupName(name string) string

func (*SBingoCloudRegionDriver) GetDefaultSecurityGroupInRule

func (self *SBingoCloudRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SBingoCloudRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SBingoCloudRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SBingoCloudRegionDriver) GetProvider

func (self *SBingoCloudRegionDriver) GetProvider() string

func (*SBingoCloudRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SBingoCloudRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SBingoCloudRegionDriver) IsSecurityGroupBelongVpc

func (self *SBingoCloudRegionDriver) IsSecurityGroupBelongVpc() bool

func (*SBingoCloudRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SBingoCloudRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SBingoCloudRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SBingoCloudRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SBingoCloudRegionDriver) ValidateCreateLoadbalancerData

func (self *SBingoCloudRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SBingoCloudRegionDriver) ValidateCreateSnapshotData

func (self *SBingoCloudRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

type SCloudpodsRegionDriver

type SCloudpodsRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SCloudpodsRegionDriver) GenerateSecurityGroupName

func (self *SCloudpodsRegionDriver) GenerateSecurityGroupName(name string) string

func (*SCloudpodsRegionDriver) GetProvider

func (self *SCloudpodsRegionDriver) GetProvider() string

func (*SCloudpodsRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SCloudpodsRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SCloudpodsRegionDriver) IsSupportPeerSecgroup

func (self *SCloudpodsRegionDriver) IsSupportPeerSecgroup() bool

func (*SCloudpodsRegionDriver) ValidateCreateVpcData

func (self *SCloudpodsRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

type SCtyunRegionDriver

type SCtyunRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SCtyunRegionDriver) GenerateSecurityGroupName

func (self *SCtyunRegionDriver) GenerateSecurityGroupName(name string) string

func (*SCtyunRegionDriver) GetDefaultSecurityGroupInRule

func (self *SCtyunRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SCtyunRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SCtyunRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SCtyunRegionDriver) GetProvider

func (self *SCtyunRegionDriver) GetProvider() string

func (*SCtyunRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SCtyunRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SCtyunRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SCtyunRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SCtyunRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SCtyunRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SCtyunRegionDriver) IsOnlySupportAllowRules

func (self *SCtyunRegionDriver) IsOnlySupportAllowRules() bool

func (*SCtyunRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SCtyunRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SCtyunRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SCtyunRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SCtyunRegionDriver) ValidateCreateLoadbalancerData

func (self *SCtyunRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SCtyunRegionDriver) ValidateCreateVpcData

func (self *SCtyunRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

type SEcloudRegionDriver

type SEcloudRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SEcloudRegionDriver) GenerateSecurityGroupName

func (self *SEcloudRegionDriver) GenerateSecurityGroupName(name string) string

func (*SEcloudRegionDriver) GetProvider

func (self *SEcloudRegionDriver) GetProvider() string

func (*SEcloudRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SEcloudRegionDriver) IsAllowSecurityGroupNameRepeat() bool

type SEsxiRegionDriver

type SEsxiRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SEsxiRegionDriver) GetProvider

func (self *SEsxiRegionDriver) GetProvider() string

func (*SEsxiRegionDriver) RequestCreateInstanceSnapshot

func (self *SEsxiRegionDriver) RequestCreateInstanceSnapshot(ctx context.Context, guest *models.SGuest, isp *models.SInstanceSnapshot, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SEsxiRegionDriver) RequestDeleteInstanceSnapshot

func (self *SEsxiRegionDriver) RequestDeleteInstanceSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, task taskman.ITask) error

func (*SEsxiRegionDriver) RequestResetToInstanceSnapshot

func (self *SEsxiRegionDriver) RequestResetToInstanceSnapshot(ctx context.Context, guest *models.SGuest, isp *models.SInstanceSnapshot, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SEsxiRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SEsxiRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SEsxiRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SEsxiRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SEsxiRegionDriver) ValidateCreateLoadbalancerData

func (self *SEsxiRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SEsxiRegionDriver) ValidateCreateSnapshotData

func (self *SEsxiRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

type SGoogleRegionDriver

type SGoogleRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SGoogleRegionDriver) GenerateSecurityGroupName

func (self *SGoogleRegionDriver) GenerateSecurityGroupName(name string) string

名称必须以小写字母开头,后面最多可跟 62 个小写字母、数字或连字符,但不能以连字符结尾

func (*SGoogleRegionDriver) GetDefaultSecurityGroupInRule

func (self *SGoogleRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SGoogleRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SGoogleRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SGoogleRegionDriver) GetProvider

func (self *SGoogleRegionDriver) GetProvider() string

func (*SGoogleRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SGoogleRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SGoogleRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SGoogleRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SGoogleRegionDriver) InitDBInstanceUser

func (*SGoogleRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SGoogleRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SGoogleRegionDriver) IsSecurityGroupBelongGlobalVpc

func (self *SGoogleRegionDriver) IsSecurityGroupBelongGlobalVpc() bool

func (*SGoogleRegionDriver) IsSupportedDBInstance

func (self *SGoogleRegionDriver) IsSupportedDBInstance() bool

func (*SGoogleRegionDriver) IsVpcBelongGlobalVpc

func (self *SGoogleRegionDriver) IsVpcBelongGlobalVpc() bool

func (*SGoogleRegionDriver) RequestCreateDBInstanceBackup

func (self *SGoogleRegionDriver) RequestCreateDBInstanceBackup(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, backup *models.SDBInstanceBackup, task taskman.ITask) error

func (*SGoogleRegionDriver) RequestCreateVpc

func (self *SGoogleRegionDriver) RequestCreateVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SGoogleRegionDriver) ValidateCreateDBInstanceAccountData

func (*SGoogleRegionDriver) ValidateCreateDBInstanceBackupData

func (*SGoogleRegionDriver) ValidateCreateDBInstanceData

func (*SGoogleRegionDriver) ValidateCreateDBInstanceDatabaseData

func (*SGoogleRegionDriver) ValidateCreateVpcData

func (self *SGoogleRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SGoogleRegionDriver) ValidateDBInstanceRecovery

func (self *SGoogleRegionDriver) ValidateDBInstanceRecovery(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, backup *models.SDBInstanceBackup, input api.SDBInstanceRecoveryConfigInput) error

type SHCSORegionDriver

type SHCSORegionDriver struct {
	SHuaWeiRegionDriver
}

func (*SHCSORegionDriver) GetProvider

func (self *SHCSORegionDriver) GetProvider() string

func (*SHCSORegionDriver) IsSupportedElasticcache

func (self *SHCSORegionDriver) IsSupportedElasticcache() bool

type SHuaWeiRegionDriver

type SHuaWeiRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SHuaWeiRegionDriver) AllowCreateElasticcacheBackup

func (self *SHuaWeiRegionDriver) AllowCreateElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, elasticcache *models.SElasticcache) error

func (*SHuaWeiRegionDriver) AllowUpdateElasticcacheAuthMode

func (self *SHuaWeiRegionDriver) AllowUpdateElasticcacheAuthMode(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, elasticcache *models.SElasticcache) error

func (*SHuaWeiRegionDriver) GenerateSecurityGroupName

func (self *SHuaWeiRegionDriver) GenerateSecurityGroupName(name string) string

func (*SHuaWeiRegionDriver) GetBackendStatusForAdd

func (self *SHuaWeiRegionDriver) GetBackendStatusForAdd() []string

func (*SHuaWeiRegionDriver) GetDefaultSecurityGroupInRule

func (self *SHuaWeiRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SHuaWeiRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SHuaWeiRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SHuaWeiRegionDriver) GetMaxElasticcacheSecurityGroupCount

func (self *SHuaWeiRegionDriver) GetMaxElasticcacheSecurityGroupCount() int

func (*SHuaWeiRegionDriver) GetProvider

func (self *SHuaWeiRegionDriver) GetProvider() string

func (*SHuaWeiRegionDriver) GetRdsSupportSecgroupCount

func (self *SHuaWeiRegionDriver) GetRdsSupportSecgroupCount() int

func (*SHuaWeiRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SHuaWeiRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SHuaWeiRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SHuaWeiRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SHuaWeiRegionDriver) InitDBInstanceUser

func (*SHuaWeiRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SHuaWeiRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SHuaWeiRegionDriver) IsOnlySupportAllowRules

func (self *SHuaWeiRegionDriver) IsOnlySupportAllowRules() bool

func (*SHuaWeiRegionDriver) IsSupportDBInstancePublicConnection

func (self *SHuaWeiRegionDriver) IsSupportDBInstancePublicConnection() bool

func (*SHuaWeiRegionDriver) IsSupportKeepDBInstanceManualBackup

func (self *SHuaWeiRegionDriver) IsSupportKeepDBInstanceManualBackup() bool

func (*SHuaWeiRegionDriver) IsSupportedBillingCycle

func (self *SHuaWeiRegionDriver) IsSupportedBillingCycle(bc billing.SBillingCycle, resource string) bool

func (*SHuaWeiRegionDriver) IsSupportedDBInstance

func (self *SHuaWeiRegionDriver) IsSupportedDBInstance() bool

func (*SHuaWeiRegionDriver) IsSupportedElasticcache

func (self *SHuaWeiRegionDriver) IsSupportedElasticcache() bool

func (*SHuaWeiRegionDriver) IsSupportedElasticcacheAutoRenew

func (self *SHuaWeiRegionDriver) IsSupportedElasticcacheAutoRenew() bool

func (*SHuaWeiRegionDriver) IsSupportedElasticcacheSecgroup

func (self *SHuaWeiRegionDriver) IsSupportedElasticcacheSecgroup() bool

func (*SHuaWeiRegionDriver) IsSupportedNas

func (self *SHuaWeiRegionDriver) IsSupportedNas() bool

func (*SHuaWeiRegionDriver) IsSupportedNatGateway

func (self *SHuaWeiRegionDriver) IsSupportedNatGateway() bool

func (*SHuaWeiRegionDriver) OnNatEntryDeleteComplete

func (self *SHuaWeiRegionDriver) OnNatEntryDeleteComplete(ctx context.Context, userCred mcclient.TokenCredential, eip *models.SElasticip) error

func (*SHuaWeiRegionDriver) RequestAssociateEipForNAT

func (self *SHuaWeiRegionDriver) RequestAssociateEipForNAT(ctx context.Context, userCred mcclient.TokenCredential, nat *models.SNatGateway, eip *models.SElasticip, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestCreateElasticcache

func (self *SHuaWeiRegionDriver) RequestCreateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask, data *jsonutils.JSONDict) error

func (*SHuaWeiRegionDriver) RequestCreateLoadbalancer

func (self *SHuaWeiRegionDriver) RequestCreateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestCreateLoadbalancerAcl

func (self *SHuaWeiRegionDriver) RequestCreateLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestCreateLoadbalancerBackend

func (self *SHuaWeiRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SHuaWeiRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestCreateLoadbalancerListener

func (self *SHuaWeiRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SHuaWeiRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SHuaWeiRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestDeleteLoadbalancerBackendGroup

func (self *SHuaWeiRegionDriver) RequestDeleteLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestDeleteLoadbalancerListener

func (self *SHuaWeiRegionDriver) RequestDeleteLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestElasticcacheAccountResetPassword

func (self *SHuaWeiRegionDriver) RequestElasticcacheAccountResetPassword(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SHuaWeiRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SHuaWeiRegionDriver) RequestPullRegionLoadbalancerBackendGroup

func (self *SHuaWeiRegionDriver) RequestPullRegionLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localRegion *models.SCloudregion, remoteRegion cloudprovider.ICloudRegion, syncRange *models.SSyncRange) error

func (*SHuaWeiRegionDriver) RequestSyncLoadbalancerBackend

func (self *SHuaWeiRegionDriver) RequestSyncLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SHuaWeiRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestSyncLoadbalancerListener

func (self *SHuaWeiRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SHuaWeiRegionDriver) RequestUpdateElasticcacheAuthMode

func (self *SHuaWeiRegionDriver) RequestUpdateElasticcacheAuthMode(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SHuaWeiRegionDriver) ValidateChangeDBInstanceConfigData

func (self *SHuaWeiRegionDriver) ValidateChangeDBInstanceConfigData(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, input *api.SDBInstanceChangeConfigInput) error

func (*SHuaWeiRegionDriver) ValidateCreateDBInstanceAccountData

func (*SHuaWeiRegionDriver) ValidateCreateDBInstanceBackupData

func (*SHuaWeiRegionDriver) ValidateCreateDBInstanceData

func (*SHuaWeiRegionDriver) ValidateCreateDBInstanceDatabaseData

func (*SHuaWeiRegionDriver) ValidateCreateElasticcacheAccountData

func (self *SHuaWeiRegionDriver) ValidateCreateElasticcacheAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateCreateElasticcacheData

func (self *SHuaWeiRegionDriver) ValidateCreateElasticcacheData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, input api.ElasticcacheCreateInput) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SHuaWeiRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateCreateLoadbalancerData

func (self *SHuaWeiRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SHuaWeiRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SHuaWeiRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateCreateNatGateway

func (self *SHuaWeiRegionDriver) ValidateCreateNatGateway(ctx context.Context, userCred mcclient.TokenCredential, input api.NatgatewayCreateInput) (api.NatgatewayCreateInput, error)

func (*SHuaWeiRegionDriver) ValidateCreateVpcData

func (self *SHuaWeiRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SHuaWeiRegionDriver) ValidateDBInstanceAccountPrivilege

func (self *SHuaWeiRegionDriver) ValidateDBInstanceAccountPrivilege(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string, privilege string) error

func (*SHuaWeiRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition

func (self *SHuaWeiRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup) error

func (*SHuaWeiRegionDriver) ValidateDeleteLoadbalancerCondition

func (self *SHuaWeiRegionDriver) ValidateDeleteLoadbalancerCondition(ctx context.Context, lb *models.SLoadbalancer) error

func (*SHuaWeiRegionDriver) ValidateResetDBInstancePassword

func (self *SHuaWeiRegionDriver) ValidateResetDBInstancePassword(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string) error

func (*SHuaWeiRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SHuaWeiRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SHuaWeiRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SHuaWeiRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SHuaWeiRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SJDcloudRegionDriver

type SJDcloudRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SJDcloudRegionDriver) GetDefaultSecurityGroupInRule

func (self *SJDcloudRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SJDcloudRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SJDcloudRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SJDcloudRegionDriver) GetProvider

func (self *SJDcloudRegionDriver) GetProvider() string

func (*SJDcloudRegionDriver) IsCertificateBelongToRegion

func (self *SJDcloudRegionDriver) IsCertificateBelongToRegion() bool

https://docs.jdcloud.com/cn/ssl-certificate/api/overview

func (*SJDcloudRegionDriver) IsSecurityGroupBelongVpc

func (self *SJDcloudRegionDriver) IsSecurityGroupBelongVpc() bool

type SKVMRegionDriver

type SKVMRegionDriver struct {
	SBaseRegionDriver
}

func (*SKVMRegionDriver) AllowCreateElasticcacheBackup

func (self *SKVMRegionDriver) AllowCreateElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, elasticcache *models.SElasticcache) error

func (*SKVMRegionDriver) AllowUpdateElasticcacheAuthMode

func (self *SKVMRegionDriver) AllowUpdateElasticcacheAuthMode(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, elasticcache *models.SElasticcache) error

func (*SKVMRegionDriver) GenerateSecurityGroupName

func (self *SKVMRegionDriver) GenerateSecurityGroupName(name string) string

func (*SKVMRegionDriver) GetBackendStatusForAdd

func (self *SKVMRegionDriver) GetBackendStatusForAdd() []string

func (*SKVMRegionDriver) GetDiskResetParams

func (self *SKVMRegionDriver) GetDiskResetParams(snapshot *models.SSnapshot) *jsonutils.JSONDict

func (*SKVMRegionDriver) GetEipDefaultChargeType

func (self *SKVMRegionDriver) GetEipDefaultChargeType() string

func (*SKVMRegionDriver) GetMaxElasticcacheSecurityGroupCount

func (self *SKVMRegionDriver) GetMaxElasticcacheSecurityGroupCount() int

func (*SKVMRegionDriver) GetProvider

func (self *SKVMRegionDriver) GetProvider() string

func (*SKVMRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SKVMRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SKVMRegionDriver) IsSupportLoadbalancerListenerRuleRedirect

func (self *SKVMRegionDriver) IsSupportLoadbalancerListenerRuleRedirect() bool

func (*SKVMRegionDriver) IsSupportPeerSecgroup

func (self *SKVMRegionDriver) IsSupportPeerSecgroup() bool

func (*SKVMRegionDriver) IsSupportedElasticcacheSecgroup

func (self *SKVMRegionDriver) IsSupportedElasticcacheSecgroup() bool

func (*SKVMRegionDriver) OnDiskReset

func (self *SKVMRegionDriver) OnDiskReset(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, snapshot *models.SSnapshot, data jsonutils.JSONObject) error

func (*SKVMRegionDriver) OnSnapshotDelete

func (self *SKVMRegionDriver) OnSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask, data jsonutils.JSONObject) error

func (*SKVMRegionDriver) RequestApplySnapshotPolicy

func (self *SKVMRegionDriver) RequestApplySnapshotPolicy(ctx context.Context, userCred mcclient.TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SKVMRegionDriver) RequestAssociatEip

func (*SKVMRegionDriver) RequestAssociateEipForNAT

func (self *SKVMRegionDriver) RequestAssociateEipForNAT(ctx context.Context, userCred mcclient.TokenCredential, nat *models.SNatGateway, eip *models.SElasticip, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCancelSnapshotPolicy

func (self *SKVMRegionDriver) RequestCancelSnapshotPolicy(ctx context.Context, userCred mcclient.TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SKVMRegionDriver) RequestChangeElasticcacheSpec

func (self *SKVMRegionDriver) RequestChangeElasticcacheSpec(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateBackup

func (self *SKVMRegionDriver) RequestCreateBackup(ctx context.Context, backup *models.SDiskBackup, snapshotId string, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateElasticcache

func (self *SKVMRegionDriver) RequestCreateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask, data *jsonutils.JSONDict) error

func (*SKVMRegionDriver) RequestCreateElasticcacheAccount

func (self *SKVMRegionDriver) RequestCreateElasticcacheAccount(ctx context.Context, userCred mcclient.TokenCredential, elasticcacheAccount *models.SElasticcacheAccount, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateElasticcacheAcl

func (self *SKVMRegionDriver) RequestCreateElasticcacheAcl(ctx context.Context, userCred mcclient.TokenCredential, elasticcacheAcl *models.SElasticcacheAcl, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateElasticcacheBackup

func (self *SKVMRegionDriver) RequestCreateElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, elasticcacheBackup *models.SElasticcacheBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateInstanceBackup

func (self *SKVMRegionDriver) RequestCreateInstanceBackup(ctx context.Context, guest *models.SGuest, ib *models.SInstanceBackup, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SKVMRegionDriver) RequestCreateInstanceSnapshot

func (self *SKVMRegionDriver) RequestCreateInstanceSnapshot(ctx context.Context, guest *models.SGuest, isp *models.SInstanceSnapshot, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SKVMRegionDriver) RequestCreateLoadbalancer

func (self *SKVMRegionDriver) RequestCreateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateLoadbalancerAcl

func (self *SKVMRegionDriver) RequestCreateLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateLoadbalancerBackend

func (self *SKVMRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SKVMRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateLoadbalancerCertificate

func (self *SKVMRegionDriver) RequestCreateLoadbalancerCertificate(ctx context.Context, userCred mcclient.TokenCredential, lbcert *models.SCachedLoadbalancerCertificate, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateLoadbalancerListener

func (self *SKVMRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SKVMRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SKVMRegionDriver) RequestCreateSnapshot

func (self *SKVMRegionDriver) RequestCreateSnapshot(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteBackup

func (self *SKVMRegionDriver) RequestDeleteBackup(ctx context.Context, backup *models.SDiskBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteElasticcache

func (self *SKVMRegionDriver) RequestDeleteElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteElasticcacheAccount

func (self *SKVMRegionDriver) RequestDeleteElasticcacheAccount(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteElasticcacheAcl

func (self *SKVMRegionDriver) RequestDeleteElasticcacheAcl(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAcl, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteElasticcacheBackup

func (self *SKVMRegionDriver) RequestDeleteElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, eb *models.SElasticcacheBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteInstanceBackup

func (self *SKVMRegionDriver) RequestDeleteInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteInstanceSnapshot

func (self *SKVMRegionDriver) RequestDeleteInstanceSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancer

func (self *SKVMRegionDriver) RequestDeleteLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancerAcl

func (self *SKVMRegionDriver) RequestDeleteLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SKVMRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancerBackendGroup

func (self *SKVMRegionDriver) RequestDeleteLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancerCertificate

func (self *SKVMRegionDriver) RequestDeleteLoadbalancerCertificate(ctx context.Context, userCred mcclient.TokenCredential, lbcert *models.SCachedLoadbalancerCertificate, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancerListener

func (self *SKVMRegionDriver) RequestDeleteLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteLoadbalancerListenerRule

func (self *SKVMRegionDriver) RequestDeleteLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteSnapshot

func (self *SKVMRegionDriver) RequestDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SKVMRegionDriver) RequestDeleteVpc

func (self *SKVMRegionDriver) RequestDeleteVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheAccountResetPassword

func (self *SKVMRegionDriver) RequestElasticcacheAccountResetPassword(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheAclUpdate

func (self *SKVMRegionDriver) RequestElasticcacheAclUpdate(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAcl, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheAllocatePublicConnection

func (self *SKVMRegionDriver) RequestElasticcacheAllocatePublicConnection(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheBackupRestoreInstance

func (self *SKVMRegionDriver) RequestElasticcacheBackupRestoreInstance(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheChangeSpec

func (self *SKVMRegionDriver) RequestElasticcacheChangeSpec(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheFlushInstance

func (self *SKVMRegionDriver) RequestElasticcacheFlushInstance(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheReleasePublicConnection

func (self *SKVMRegionDriver) RequestElasticcacheReleasePublicConnection(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheSetMaintainTime

func (self *SKVMRegionDriver) RequestElasticcacheSetMaintainTime(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheUpdateBackupPolicy

func (self *SKVMRegionDriver) RequestElasticcacheUpdateBackupPolicy(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestElasticcacheUpdateInstanceParameters

func (self *SKVMRegionDriver) RequestElasticcacheUpdateInstanceParameters(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestPackInstanceBackup

func (self *SKVMRegionDriver) RequestPackInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, task taskman.ITask, packageName string) error

func (*SKVMRegionDriver) RequestPreSnapshotPolicyApply

func (self *SKVMRegionDriver) RequestPreSnapshotPolicyApply(ctx context.Context, userCred mcclient.
	TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SKVMRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SKVMRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SKVMRegionDriver) RequestPullRegionLoadbalancerBackendGroup

func (self *SKVMRegionDriver) RequestPullRegionLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localRegion *models.SCloudregion, remoteRegion cloudprovider.ICloudRegion, syncRange *models.SSyncRange) error

func (*SKVMRegionDriver) RequestResetToInstanceSnapshot

func (self *SKVMRegionDriver) RequestResetToInstanceSnapshot(ctx context.Context, guest *models.SGuest, isp *models.SInstanceSnapshot, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SKVMRegionDriver) RequestRestartElasticcache

func (self *SKVMRegionDriver) RequestRestartElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSetElasticcacheMaintainTime

func (self *SKVMRegionDriver) RequestSetElasticcacheMaintainTime(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestStartLoadbalancer

func (self *SKVMRegionDriver) RequestStartLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SKVMRegionDriver) RequestStartLoadbalancerListener

func (self *SKVMRegionDriver) RequestStartLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestStopLoadbalancer

func (self *SKVMRegionDriver) RequestStopLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SKVMRegionDriver) RequestStopLoadbalancerListener

func (self *SKVMRegionDriver) RequestStopLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncBackupStorageStatus

func (self *SKVMRegionDriver) RequestSyncBackupStorageStatus(ctx context.Context, userCred mcclient.TokenCredential, bs *models.SBackupStorage, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncBucketStatus

func (self *SKVMRegionDriver) RequestSyncBucketStatus(ctx context.Context, userCred mcclient.TokenCredential, bucket *models.SBucket, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncDiskBackupStatus

func (self *SKVMRegionDriver) RequestSyncDiskBackupStatus(ctx context.Context, userCred mcclient.TokenCredential, backup *models.SDiskBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncDiskStatus

func (self *SKVMRegionDriver) RequestSyncDiskStatus(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncElasticcache

func (self *SKVMRegionDriver) RequestSyncElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncInstanceBackupStatus

func (self *SKVMRegionDriver) RequestSyncInstanceBackupStatus(ctx context.Context, userCred mcclient.TokenCredential, ib *models.SInstanceBackup, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncLoadbalancerAcl

func (self *SKVMRegionDriver) RequestSyncLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncLoadbalancerBackend

func (self *SKVMRegionDriver) RequestSyncLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SKVMRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncLoadbalancerListener

func (self *SKVMRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncSnapshotStatus

func (self *SKVMRegionDriver) RequestSyncSnapshotStatus(ctx context.Context, userCred mcclient.TokenCredential, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncstatusLoadbalancer

func (self *SKVMRegionDriver) RequestSyncstatusLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SKVMRegionDriver) RequestSyncstatusLoadbalancerListener

func (self *SKVMRegionDriver) RequestSyncstatusLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SKVMRegionDriver) RequestUnpackInstanceBackup

func (self *SKVMRegionDriver) RequestUnpackInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, task taskman.ITask, packageName string, metadataOnly bool) error

func (*SKVMRegionDriver) RequestUpdateElasticcacheAuthMode

func (self *SKVMRegionDriver) RequestUpdateElasticcacheAuthMode(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestUpdateElasticcacheSecgroups

func (self *SKVMRegionDriver) RequestUpdateElasticcacheSecgroups(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SKVMRegionDriver) RequestUpdateSnapshotPolicy

func (self *SKVMRegionDriver) RequestUpdateSnapshotPolicy(ctx context.Context,
	userCred mcclient.TokenCredential, sp *models.SSnapshotPolicy, input cloudprovider.SnapshotPolicyInput,
	task taskman.ITask) error

func (*SKVMRegionDriver) SnapshotIsOutOfChain

func (self *SKVMRegionDriver) SnapshotIsOutOfChain(disk *models.SDisk) bool

func (*SKVMRegionDriver) ValidateCacheSecgroup

func (self *SKVMRegionDriver) ValidateCacheSecgroup(ctx context.Context, userCred mcclient.TokenCredential, secgroup *models.SSecurityGroup, vpc *models.SVpc, classic bool) error

func (*SKVMRegionDriver) ValidateCreateEipData

func (self *SKVMRegionDriver) ValidateCreateEipData(ctx context.Context, userCred mcclient.TokenCredential, input *api.SElasticipCreateInput) error

func (*SKVMRegionDriver) ValidateCreateElasticcacheAccountData

func (self *SKVMRegionDriver) ValidateCreateElasticcacheAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateElasticcacheAclData

func (self *SKVMRegionDriver) ValidateCreateElasticcacheAclData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateElasticcacheBackupData

func (self *SKVMRegionDriver) ValidateCreateElasticcacheBackupData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateElasticcacheData

func (self *SKVMRegionDriver) ValidateCreateElasticcacheData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, input api.ElasticcacheCreateInput) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerBackendGroupData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerBackendGroupData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backends []cloudprovider.SLoadbalancerBackend) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SKVMRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateCreateSnapshopolicyDiskData

func (self *SKVMRegionDriver) ValidateCreateSnapshopolicyDiskData(ctx context.Context,
	userCred mcclient.TokenCredential, disk *models.SDisk, snapshotPolicy *models.SSnapshotPolicy) error

func (*SKVMRegionDriver) ValidateCreateSnapshotData

func (self *SKVMRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

func (*SKVMRegionDriver) ValidateCreateVpcData

func (self *SKVMRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SKVMRegionDriver) ValidateDeleteLoadbalancerBackendCondition

func (self *SKVMRegionDriver) ValidateDeleteLoadbalancerBackendCondition(ctx context.Context, lbb *models.SLoadbalancerBackend) error

func (*SKVMRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition

func (self *SKVMRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup) error

func (*SKVMRegionDriver) ValidateDeleteLoadbalancerCondition

func (self *SKVMRegionDriver) ValidateDeleteLoadbalancerCondition(ctx context.Context, lb *models.SLoadbalancer) error

func (*SKVMRegionDriver) ValidateEipChargeType

func (self *SKVMRegionDriver) ValidateEipChargeType(chargeType string) error

func (*SKVMRegionDriver) ValidateSnapshotDelete

func (self *SKVMRegionDriver) ValidateSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot) error

func (*SKVMRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SKVMRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateUpdateLoadbalancerCertificateData

func (self *SKVMRegionDriver) ValidateUpdateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SKVMRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SKVMRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SKVMRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SManagedVirtualizationRegionDriver

type SManagedVirtualizationRegionDriver struct {
	SVirtualizationRegionDriver
}

func (*SManagedVirtualizationRegionDriver) AllowCreateElasticcacheBackup

func (self *SManagedVirtualizationRegionDriver) AllowCreateElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, elasticcache *models.SElasticcache) error

func (*SManagedVirtualizationRegionDriver) AllowUpdateElasticcacheAuthMode

func (self *SManagedVirtualizationRegionDriver) AllowUpdateElasticcacheAuthMode(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, elasticcache *models.SElasticcache) error

func (*SManagedVirtualizationRegionDriver) GenerateSecurityGroupName

func (self *SManagedVirtualizationRegionDriver) GenerateSecurityGroupName(name string) string

func (*SManagedVirtualizationRegionDriver) GetBackendStatusForAdd

func (self *SManagedVirtualizationRegionDriver) GetBackendStatusForAdd() []string

func (*SManagedVirtualizationRegionDriver) GetDiskResetParams

func (self *SManagedVirtualizationRegionDriver) GetDiskResetParams(snapshot *models.SSnapshot) *jsonutils.JSONDict

func (*SManagedVirtualizationRegionDriver) GetEipDefaultChargeType

func (self *SManagedVirtualizationRegionDriver) GetEipDefaultChargeType() string

func (*SManagedVirtualizationRegionDriver) GetMaxElasticcacheSecurityGroupCount

func (self *SManagedVirtualizationRegionDriver) GetMaxElasticcacheSecurityGroupCount() int

func (*SManagedVirtualizationRegionDriver) GetSecurityGroupVpcId

func (self *SManagedVirtualizationRegionDriver) GetSecurityGroupVpcId(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, host *models.SHost, vpc *models.SVpc, classic bool) (string, error)

func (*SManagedVirtualizationRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SManagedVirtualizationRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SManagedVirtualizationRegionDriver) IsSupportLoadbalancerListenerRuleRedirect

func (self *SManagedVirtualizationRegionDriver) IsSupportLoadbalancerListenerRuleRedirect() bool

func (*SManagedVirtualizationRegionDriver) IsSupportedElasticcacheAutoRenew

func (self *SManagedVirtualizationRegionDriver) IsSupportedElasticcacheAutoRenew() bool

func (*SManagedVirtualizationRegionDriver) IsSupportedElasticcacheSecgroup

func (self *SManagedVirtualizationRegionDriver) IsSupportedElasticcacheSecgroup() bool

func (*SManagedVirtualizationRegionDriver) OnDiskReset

func (*SManagedVirtualizationRegionDriver) OnSnapshotDelete

func (self *SManagedVirtualizationRegionDriver) OnSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask, data jsonutils.JSONObject) error

func (*SManagedVirtualizationRegionDriver) RequestApplySnapshotPolicy

func (self *SManagedVirtualizationRegionDriver) RequestApplySnapshotPolicy(ctx context.Context,
	userCred mcclient.TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy,
	data jsonutils.JSONObject) error

RequestApplySnapshotPolicy apply snapshotpolicy for public cloud. In our system, one disk only can hava one snapshot policy attached. Default, some public cloud such as Aliyun is same with us and this function shoule be used for these public cloud. But in Some public cloud such as Qcloud different with us, we should wirte a new function in corressponding regiondriver which detach all snapshotpolicy of disk after attache new one. You can refer to the implementations of function SQcloudRegionDriver.RequestApplySnapshotPolicy().

func (*SManagedVirtualizationRegionDriver) RequestAssociatEip

func (*SManagedVirtualizationRegionDriver) RequestAssociateEipForNAT

func (self *SManagedVirtualizationRegionDriver) RequestAssociateEipForNAT(ctx context.Context, userCred mcclient.TokenCredential, nat *models.SNatGateway, eip *models.SElasticip, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCacheSecurityGroup

func (self *SManagedVirtualizationRegionDriver) RequestCacheSecurityGroup(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, secgroup *models.SSecurityGroup, classic bool, removeProjectId string, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCancelSnapshotPolicy

func (self *SManagedVirtualizationRegionDriver) RequestCancelSnapshotPolicy(ctx context.Context, userCred mcclient.
	TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SManagedVirtualizationRegionDriver) RequestChangeDBInstanceConfig

func (self *SManagedVirtualizationRegionDriver) RequestChangeDBInstanceConfig(ctx context.Context, userCred mcclient.TokenCredential, rds *models.SDBInstance, input *api.SDBInstanceChangeConfigInput, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateDBInstance

func (self *SManagedVirtualizationRegionDriver) RequestCreateDBInstance(ctx context.Context, userCred mcclient.TokenCredential, dbinstance *models.SDBInstance, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateDBInstanceBackup

func (self *SManagedVirtualizationRegionDriver) RequestCreateDBInstanceBackup(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, backup *models.SDBInstanceBackup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateDBInstanceFromBackup

func (self *SManagedVirtualizationRegionDriver) RequestCreateDBInstanceFromBackup(ctx context.Context, userCred mcclient.TokenCredential, rds *models.SDBInstance, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateElasticcache

func (self *SManagedVirtualizationRegionDriver) RequestCreateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask, data *jsonutils.JSONDict) error

func (*SManagedVirtualizationRegionDriver) RequestCreateElasticcacheAccount

func (self *SManagedVirtualizationRegionDriver) RequestCreateElasticcacheAccount(ctx context.Context, userCred mcclient.TokenCredential, elasticcacheAccount *models.SElasticcacheAccount, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateElasticcacheAcl

func (self *SManagedVirtualizationRegionDriver) RequestCreateElasticcacheAcl(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAcl, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateElasticcacheBackup

func (self *SManagedVirtualizationRegionDriver) RequestCreateElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, eb *models.SElasticcacheBackup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateInstanceSnapshot

func (self *SManagedVirtualizationRegionDriver) RequestCreateInstanceSnapshot(ctx context.Context, guest *models.SGuest, isp *models.SInstanceSnapshot, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancer

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerAcl

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerBackend

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerCertificate

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerCertificate(ctx context.Context, userCred mcclient.TokenCredential, lbcert *models.SCachedLoadbalancerCertificate, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerListener

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SManagedVirtualizationRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateNetwork

func (self *SManagedVirtualizationRegionDriver) RequestCreateNetwork(ctx context.Context, userCred mcclient.TokenCredential, net *models.SNetwork) error

func (*SManagedVirtualizationRegionDriver) RequestCreateSnapshot

func (self *SManagedVirtualizationRegionDriver) RequestCreateSnapshot(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestCreateVpc

func (self *SManagedVirtualizationRegionDriver) RequestCreateVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteElasticcache

func (self *SManagedVirtualizationRegionDriver) RequestDeleteElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteElasticcacheAccount

func (self *SManagedVirtualizationRegionDriver) RequestDeleteElasticcacheAccount(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteElasticcacheAcl

func (self *SManagedVirtualizationRegionDriver) RequestDeleteElasticcacheAcl(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAcl, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteElasticcacheBackup

func (self *SManagedVirtualizationRegionDriver) RequestDeleteElasticcacheBackup(ctx context.Context, userCred mcclient.TokenCredential, eb *models.SElasticcacheBackup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteInstanceSnapshot

func (self *SManagedVirtualizationRegionDriver) RequestDeleteInstanceSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancer

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerAcl

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerBackendGroup

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerCertificate

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerCertificate(ctx context.Context, userCred mcclient.TokenCredential, lbcert *models.SCachedLoadbalancerCertificate, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerListener

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerListenerRule

func (self *SManagedVirtualizationRegionDriver) RequestDeleteLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteSnapshot

func (self *SManagedVirtualizationRegionDriver) RequestDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestDeleteVpc

func (self *SManagedVirtualizationRegionDriver) RequestDeleteVpc(ctx context.Context, userCred mcclient.TokenCredential, region *models.SCloudregion, vpc *models.SVpc, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheAccountResetPassword

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheAccountResetPassword(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheAclUpdate

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheAclUpdate(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAcl, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheAllocatePublicConnection

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheAllocatePublicConnection(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheBackupRestoreInstance

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheBackupRestoreInstance(ctx context.Context, userCred mcclient.TokenCredential, eb *models.SElasticcacheBackup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheChangeSpec

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheChangeSpec(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheFlushInstance

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheFlushInstance(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheReleasePublicConnection

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheReleasePublicConnection(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheSetAutoRenew

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheSetAutoRenew(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, autoRenew bool, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheSetMaintainTime

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheSetMaintainTime(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheUpdateBackupPolicy

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheUpdateBackupPolicy(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestElasticcacheUpdateInstanceParameters

func (self *SManagedVirtualizationRegionDriver) RequestElasticcacheUpdateInstanceParameters(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestPreSnapshotPolicyApply

func (self *SManagedVirtualizationRegionDriver) RequestPreSnapshotPolicyApply(ctx context.Context, userCred mcclient.
	TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SManagedVirtualizationRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SManagedVirtualizationRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SManagedVirtualizationRegionDriver) RequestPullRegionLoadbalancerBackendGroup

func (self *SManagedVirtualizationRegionDriver) RequestPullRegionLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localRegion *models.SCloudregion, remoteRegion cloudprovider.ICloudRegion, syncRange *models.SSyncRange) error

func (*SManagedVirtualizationRegionDriver) RequestRemoteUpdateDBInstance

func (self *SManagedVirtualizationRegionDriver) RequestRemoteUpdateDBInstance(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, replaceTags bool, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestRemoteUpdateElasticcache

func (self *SManagedVirtualizationRegionDriver) RequestRemoteUpdateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, replaceTags bool, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestRemoteUpdateLoadbalancer

func (self *SManagedVirtualizationRegionDriver) RequestRemoteUpdateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, replaceTags bool, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestRenewElasticcache

func (*SManagedVirtualizationRegionDriver) RequestResetToInstanceSnapshot

func (self *SManagedVirtualizationRegionDriver) RequestResetToInstanceSnapshot(ctx context.Context, guest *models.SGuest, isp *models.SInstanceSnapshot, task taskman.ITask, params *jsonutils.JSONDict) error

func (*SManagedVirtualizationRegionDriver) RequestRestartElasticcache

func (self *SManagedVirtualizationRegionDriver) RequestRestartElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSetElasticcacheMaintainTime

func (self *SManagedVirtualizationRegionDriver) RequestSetElasticcacheMaintainTime(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestStartLoadbalancer

func (self *SManagedVirtualizationRegionDriver) RequestStartLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestStartLoadbalancerListener

func (self *SManagedVirtualizationRegionDriver) RequestStartLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestStopLoadbalancer

func (self *SManagedVirtualizationRegionDriver) RequestStopLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestStopLoadbalancerListener

func (self *SManagedVirtualizationRegionDriver) RequestStopLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncBucketStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncBucketStatus(ctx context.Context, userCred mcclient.TokenCredential, bucket *models.SBucket, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncDBInstanceBackupStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncDBInstanceBackupStatus(ctx context.Context, userCred mcclient.TokenCredential, backup *models.SDBInstanceBackup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncDiskBackupStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncDiskBackupStatus(ctx context.Context, userCred mcclient.TokenCredential, backup *models.SDiskBackup, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncDiskStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncDiskStatus(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncElasticcache

func (self *SManagedVirtualizationRegionDriver) RequestSyncElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncElasticcacheStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncElasticcacheStatus(ctx context.Context, userCred mcclient.TokenCredential, elasticcache *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerAcl

func (self *SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerBackend

func (self *SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerListener

func (self *SManagedVirtualizationRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncNatGatewayStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncNatGatewayStatus(ctx context.Context, userCred mcclient.TokenCredential, nat *models.SNatGateway, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncRdsSecurityGroups

func (self *SManagedVirtualizationRegionDriver) RequestSyncRdsSecurityGroups(ctx context.Context, userCred mcclient.TokenCredential, rds *models.SDBInstance, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncSecgroupsForElasticcache

func (self *SManagedVirtualizationRegionDriver) RequestSyncSecgroupsForElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncSecurityGroup

func (self *SManagedVirtualizationRegionDriver) RequestSyncSecurityGroup(ctx context.Context, userCred mcclient.TokenCredential, vpcId string, vpc *models.SVpc, secgroup *models.SSecurityGroup, remoteProjectId, service string, skipSyncRule bool) (string, error)

func (*SManagedVirtualizationRegionDriver) RequestSyncSnapshotStatus

func (self *SManagedVirtualizationRegionDriver) RequestSyncSnapshotStatus(ctx context.Context, userCred mcclient.TokenCredential, snapshot *models.SSnapshot, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncstatusLoadbalancer

func (self *SManagedVirtualizationRegionDriver) RequestSyncstatusLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestSyncstatusLoadbalancerListener

func (self *SManagedVirtualizationRegionDriver) RequestSyncstatusLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestUpdateElasticcacheAuthMode

func (self *SManagedVirtualizationRegionDriver) RequestUpdateElasticcacheAuthMode(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestUpdateElasticcacheSecgroups

func (self *SManagedVirtualizationRegionDriver) RequestUpdateElasticcacheSecgroups(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SManagedVirtualizationRegionDriver) RequestUpdateSnapshotPolicy

func (*SManagedVirtualizationRegionDriver) ValidateCreateEipData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateEipData(ctx context.Context, userCred mcclient.TokenCredential, input *api.SElasticipCreateInput) error

func (*SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheAccountData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheAclData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheAclData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheBackupData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheBackupData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateElasticcacheData

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerBackendGroupData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerBackendGroupData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backends []cloudprovider.SLoadbalancerBackend) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, owerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateCreateSnapshopolicyDiskData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateSnapshopolicyDiskData(ctx context.Context,
	userCred mcclient.TokenCredential, disk *models.SDisk, snapshotPolicy *models.SSnapshotPolicy) error

func (*SManagedVirtualizationRegionDriver) ValidateCreateSnapshotData

func (self *SManagedVirtualizationRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

func (*SManagedVirtualizationRegionDriver) ValidateCreateVpcData

func (*SManagedVirtualizationRegionDriver) ValidateDeleteLoadbalancerBackendCondition

func (self *SManagedVirtualizationRegionDriver) ValidateDeleteLoadbalancerBackendCondition(ctx context.Context, lbb *models.SLoadbalancerBackend) error

func (*SManagedVirtualizationRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition

func (self *SManagedVirtualizationRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup) error

func (*SManagedVirtualizationRegionDriver) ValidateDeleteLoadbalancerCondition

func (self *SManagedVirtualizationRegionDriver) ValidateDeleteLoadbalancerCondition(ctx context.Context, lb *models.SLoadbalancer) error

func (*SManagedVirtualizationRegionDriver) ValidateEipChargeType

func (self *SManagedVirtualizationRegionDriver) ValidateEipChargeType(chargeType string) error

func (*SManagedVirtualizationRegionDriver) ValidateManagerId

func (*SManagedVirtualizationRegionDriver) ValidateResetDBInstancePassword

func (self *SManagedVirtualizationRegionDriver) ValidateResetDBInstancePassword(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string) error

func (*SManagedVirtualizationRegionDriver) ValidateSnapshotDelete

func (self *SManagedVirtualizationRegionDriver) ValidateSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot) error

func (*SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerCertificateData

func (self *SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SManagedVirtualizationRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SNutanixRegionDriver

type SNutanixRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SNutanixRegionDriver) GetProvider

func (self *SNutanixRegionDriver) GetProvider() string

func (*SNutanixRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SNutanixRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SNutanixRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SNutanixRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SNutanixRegionDriver) ValidateCreateLoadbalancerData

func (self *SNutanixRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SNutanixRegionDriver) ValidateCreateSnapshotData

func (self *SNutanixRegionDriver) ValidateCreateSnapshotData(ctx context.Context, userCred mcclient.TokenCredential, disk *models.SDisk, storage *models.SStorage, input *api.SnapshotCreateInput) error

type SOpenStackRegionDriver

type SOpenStackRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SOpenStackRegionDriver) GenerateSecurityGroupName

func (self *SOpenStackRegionDriver) GenerateSecurityGroupName(name string) string

func (*SOpenStackRegionDriver) GetDefaultSecurityGroupInRule

func (self *SOpenStackRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SOpenStackRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SOpenStackRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SOpenStackRegionDriver) GetProvider

func (self *SOpenStackRegionDriver) GetProvider() string

func (*SOpenStackRegionDriver) GetSecurityGroupPublicScope

func (self *SOpenStackRegionDriver) GetSecurityGroupPublicScope(service string) rbacutils.TRbacScope

func (*SOpenStackRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SOpenStackRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SOpenStackRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SOpenStackRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SOpenStackRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SOpenStackRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SOpenStackRegionDriver) IsOnlySupportAllowRules

func (self *SOpenStackRegionDriver) IsOnlySupportAllowRules() bool

func (*SOpenStackRegionDriver) IsSupportLoadbalancerListenerRuleRedirect

func (self *SOpenStackRegionDriver) IsSupportLoadbalancerListenerRuleRedirect() bool

func (*SOpenStackRegionDriver) IsVpcCreateNeedInputCidr

func (self *SOpenStackRegionDriver) IsVpcCreateNeedInputCidr() bool

func (*SOpenStackRegionDriver) RequestCreateLoadbalancer

func (self *SOpenStackRegionDriver) RequestCreateLoadbalancer(ctx context.Context, userCred mcclient.TokenCredential, lb *models.SLoadbalancer, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestCreateLoadbalancerAcl

func (self *SOpenStackRegionDriver) RequestCreateLoadbalancerAcl(ctx context.Context, userCred mcclient.TokenCredential, lbacl *models.SCachedLoadbalancerAcl, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestCreateLoadbalancerBackend

func (self *SOpenStackRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SOpenStackRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestCreateLoadbalancerListener

func (self *SOpenStackRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SOpenStackRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SOpenStackRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestDeleteLoadbalancerBackendGroup

func (self *SOpenStackRegionDriver) RequestDeleteLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestDeleteLoadbalancerListener

func (self *SOpenStackRegionDriver) RequestDeleteLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestDeleteLoadbalancerListenerRule

func (self *SOpenStackRegionDriver) RequestDeleteLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SOpenStackRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SOpenStackRegionDriver) RequestSyncLoadbalancerBackend

func (self *SOpenStackRegionDriver) RequestSyncLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SOpenStackRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SOpenStackRegionDriver) RequestSyncLoadbalancerListener

func (self *SOpenStackRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SOpenStackRegionDriver) ValidateCreateEipData

func (self *SOpenStackRegionDriver) ValidateCreateEipData(ctx context.Context, userCred mcclient.TokenCredential, input *api.SElasticipCreateInput) error

func (*SOpenStackRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SOpenStackRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SOpenStackRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SOpenStackRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateCreateLoadbalancerData

func (self *SOpenStackRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SOpenStackRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SOpenStackRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition

func (self *SOpenStackRegionDriver) ValidateDeleteLoadbalancerBackendGroupCondition(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup) error

func (*SOpenStackRegionDriver) ValidateDeleteLoadbalancerCondition

func (self *SOpenStackRegionDriver) ValidateDeleteLoadbalancerCondition(ctx context.Context, lb *models.SLoadbalancer) error

func (*SOpenStackRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SOpenStackRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SOpenStackRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SOpenStackRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SOpenStackRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SQcloudRegionDriver

type SQcloudRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SQcloudRegionDriver) GenerateSecurityGroupName

func (self *SQcloudRegionDriver) GenerateSecurityGroupName(name string) string

func (*SQcloudRegionDriver) GetDefaultSecurityGroupInRule

func (self *SQcloudRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SQcloudRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SQcloudRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SQcloudRegionDriver) GetLoadbalancerListenerRuleInputParams

func (*SQcloudRegionDriver) GetMaxElasticcacheSecurityGroupCount

func (self *SQcloudRegionDriver) GetMaxElasticcacheSecurityGroupCount() int

func (*SQcloudRegionDriver) GetProvider

func (self *SQcloudRegionDriver) GetProvider() string

func (*SQcloudRegionDriver) GetRdsSupportSecgroupCount

func (self *SQcloudRegionDriver) GetRdsSupportSecgroupCount() int

func (*SQcloudRegionDriver) GetSecurityGroupPublicScope

func (self *SQcloudRegionDriver) GetSecurityGroupPublicScope(service string) rbacutils.TRbacScope

func (*SQcloudRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SQcloudRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SQcloudRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SQcloudRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SQcloudRegionDriver) InitDBInstanceUser

func (*SQcloudRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SQcloudRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SQcloudRegionDriver) IsCertificateBelongToRegion

func (self *SQcloudRegionDriver) IsCertificateBelongToRegion() bool

func (*SQcloudRegionDriver) IsPeerSecgroupWithSameProject

func (self *SQcloudRegionDriver) IsPeerSecgroupWithSameProject() bool

func (*SQcloudRegionDriver) IsSupportPeerSecgroup

func (self *SQcloudRegionDriver) IsSupportPeerSecgroup() bool

func (*SQcloudRegionDriver) IsSupportedBillingCycle

func (self *SQcloudRegionDriver) IsSupportedBillingCycle(bc billing.SBillingCycle, resource string) bool

func (*SQcloudRegionDriver) IsSupportedDBInstance

func (self *SQcloudRegionDriver) IsSupportedDBInstance() bool

func (*SQcloudRegionDriver) IsSupportedDBInstanceAutoRenew

func (self *SQcloudRegionDriver) IsSupportedDBInstanceAutoRenew() bool

func (*SQcloudRegionDriver) IsSupportedElasticcache

func (self *SQcloudRegionDriver) IsSupportedElasticcache() bool

func (*SQcloudRegionDriver) IsSupportedElasticcacheSecgroup

func (self *SQcloudRegionDriver) IsSupportedElasticcacheSecgroup() bool

func (*SQcloudRegionDriver) RequestCreateElasticcache

func (self *SQcloudRegionDriver) RequestCreateElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask, data *jsonutils.JSONDict) error

func (*SQcloudRegionDriver) RequestCreateElasticcacheAccount

func (self *SQcloudRegionDriver) RequestCreateElasticcacheAccount(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestCreateLoadbalancerBackend

func (self *SQcloudRegionDriver) RequestCreateLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestCreateLoadbalancerBackendGroup

func (self *SQcloudRegionDriver) RequestCreateLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lbbg *models.SLoadbalancerBackendGroup, backends []cloudprovider.SLoadbalancerBackend, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestCreateLoadbalancerListener

func (self *SQcloudRegionDriver) RequestCreateLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestCreateLoadbalancerListenerRule

func (self *SQcloudRegionDriver) RequestCreateLoadbalancerListenerRule(ctx context.Context, userCred mcclient.TokenCredential, lbr *models.SLoadbalancerListenerRule, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestDeleteLoadbalancerBackend

func (self *SQcloudRegionDriver) RequestDeleteLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestElasticcacheAccountResetPassword

func (self *SQcloudRegionDriver) RequestElasticcacheAccountResetPassword(ctx context.Context, userCred mcclient.TokenCredential, ea *models.SElasticcacheAccount, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestPreSnapshotPolicyApply

func (self *SQcloudRegionDriver) RequestPreSnapshotPolicyApply(ctx context.Context, userCred mcclient.
	TokenCredential, task taskman.ITask, disk *models.SDisk, sp *models.SSnapshotPolicy, data jsonutils.JSONObject) error

func (*SQcloudRegionDriver) RequestPullLoadbalancerBackendGroup

func (self *SQcloudRegionDriver) RequestPullLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localLoadbalancer *models.SLoadbalancer, remoteLoadbalancer cloudprovider.ICloudLoadbalancer, syncRange *models.SSyncRange) error

func (*SQcloudRegionDriver) RequestPullRegionLoadbalancerBackendGroup

func (self *SQcloudRegionDriver) RequestPullRegionLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, syncResults models.SSyncResultSet, provider *models.SCloudprovider, localRegion *models.SCloudregion, remoteRegion cloudprovider.ICloudRegion, syncRange *models.SSyncRange) error

func (*SQcloudRegionDriver) RequestSyncLoadbalancerBackend

func (self *SQcloudRegionDriver) RequestSyncLoadbalancerBackend(ctx context.Context, userCred mcclient.TokenCredential, lbb *models.SLoadbalancerBackend, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestSyncLoadbalancerBackendGroup

func (self *SQcloudRegionDriver) RequestSyncLoadbalancerBackendGroup(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestSyncLoadbalancerListener

func (self *SQcloudRegionDriver) RequestSyncLoadbalancerListener(ctx context.Context, userCred mcclient.TokenCredential, lblis *models.SLoadbalancerListener, task taskman.ITask) error

func (*SQcloudRegionDriver) RequestSyncSecgroupsForElasticcache

func (self *SQcloudRegionDriver) RequestSyncSecgroupsForElasticcache(ctx context.Context, userCred mcclient.TokenCredential, ec *models.SElasticcache, task taskman.ITask) error

func (*SQcloudRegionDriver) ValidateCreateCdnData

func (*SQcloudRegionDriver) ValidateCreateDBInstanceAccountData

func (*SQcloudRegionDriver) ValidateCreateDBInstanceBackupData

func (*SQcloudRegionDriver) ValidateCreateDBInstanceData

func (*SQcloudRegionDriver) ValidateCreateDBInstanceDatabaseData

func (*SQcloudRegionDriver) ValidateCreateElasticcacheAccountData

func (self *SQcloudRegionDriver) ValidateCreateElasticcacheAccountData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateCreateElasticcacheData

func (self *SQcloudRegionDriver) ValidateCreateElasticcacheData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, input api.ElasticcacheCreateInput) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateCreateLoadbalancerBackendData

func (self *SQcloudRegionDriver) ValidateCreateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendType string, lb *models.SLoadbalancer, backendGroup *models.SLoadbalancerBackendGroup, backend db.IModel) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateCreateLoadbalancerData

func (self *SQcloudRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateCreateLoadbalancerListenerData

func (self *SQcloudRegionDriver) ValidateCreateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, lb *models.SLoadbalancer, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateCreateLoadbalancerListenerRuleData

func (self *SQcloudRegionDriver) ValidateCreateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateCreateVpcData

func (self *SQcloudRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

func (*SQcloudRegionDriver) ValidateDBInstanceAccountPrivilege

func (self *SQcloudRegionDriver) ValidateDBInstanceAccountPrivilege(ctx context.Context, userCred mcclient.TokenCredential, instance *models.SDBInstance, account string, privilege string) error

func (*SQcloudRegionDriver) ValidateUpdateLoadbalancerBackendData

func (self *SQcloudRegionDriver) ValidateUpdateLoadbalancerBackendData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lbbg *models.SLoadbalancerBackendGroup) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateUpdateLoadbalancerListenerData

func (self *SQcloudRegionDriver) ValidateUpdateLoadbalancerListenerData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, lblis *models.SLoadbalancerListener, backendGroup db.IModel) (*jsonutils.JSONDict, error)

func (*SQcloudRegionDriver) ValidateUpdateLoadbalancerListenerRuleData

func (self *SQcloudRegionDriver) ValidateUpdateLoadbalancerListenerRuleData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict, backendGroup db.IModel) (*jsonutils.JSONDict, error)

type SUcloudRegionDriver

type SUcloudRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SUcloudRegionDriver) GenerateSecurityGroupName

func (self *SUcloudRegionDriver) GenerateSecurityGroupName(name string) string

func (*SUcloudRegionDriver) GetDefaultSecurityGroupInRule

func (self *SUcloudRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SUcloudRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SUcloudRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SUcloudRegionDriver) GetProvider

func (self *SUcloudRegionDriver) GetProvider() string

func (*SUcloudRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SUcloudRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SUcloudRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SUcloudRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SUcloudRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SUcloudRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SUcloudRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SUcloudRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SUcloudRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SUcloudRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SUcloudRegionDriver) ValidateCreateLoadbalancerData

func (self *SUcloudRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SUcloudRegionDriver) ValidateCreateVpcData

func (self *SUcloudRegionDriver) ValidateCreateVpcData(ctx context.Context, userCred mcclient.TokenCredential, input api.VpcCreateInput) (api.VpcCreateInput, error)

type SVirtualizationRegionDriver

type SVirtualizationRegionDriver struct {
	SBaseRegionDriver
}

type SZStackRegionDriver

type SZStackRegionDriver struct {
	SManagedVirtualizationRegionDriver
}

func (*SZStackRegionDriver) GenerateSecurityGroupName

func (self *SZStackRegionDriver) GenerateSecurityGroupName(name string) string

func (*SZStackRegionDriver) GetDefaultSecurityGroupInRule

func (self *SZStackRegionDriver) GetDefaultSecurityGroupInRule() cloudprovider.SecurityRule

func (*SZStackRegionDriver) GetDefaultSecurityGroupOutRule

func (self *SZStackRegionDriver) GetDefaultSecurityGroupOutRule() cloudprovider.SecurityRule

func (*SZStackRegionDriver) GetProvider

func (self *SZStackRegionDriver) GetProvider() string

func (*SZStackRegionDriver) GetSecurityGroupRuleMaxPriority

func (self *SZStackRegionDriver) GetSecurityGroupRuleMaxPriority() int

func (*SZStackRegionDriver) GetSecurityGroupRuleMinPriority

func (self *SZStackRegionDriver) GetSecurityGroupRuleMinPriority() int

func (*SZStackRegionDriver) IsAllowSecurityGroupNameRepeat

func (self *SZStackRegionDriver) IsAllowSecurityGroupNameRepeat() bool

func (*SZStackRegionDriver) IsOnlySupportAllowRules

func (self *SZStackRegionDriver) IsOnlySupportAllowRules() bool

func (*SZStackRegionDriver) ValidateCreateEipData

func (self *SZStackRegionDriver) ValidateCreateEipData(ctx context.Context, userCred mcclient.TokenCredential, input *api.SElasticipCreateInput) error

func (*SZStackRegionDriver) ValidateCreateLoadbalancerAclData

func (self *SZStackRegionDriver) ValidateCreateLoadbalancerAclData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SZStackRegionDriver) ValidateCreateLoadbalancerCertificateData

func (self *SZStackRegionDriver) ValidateCreateLoadbalancerCertificateData(ctx context.Context, userCred mcclient.TokenCredential, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

func (*SZStackRegionDriver) ValidateCreateLoadbalancerData

func (self *SZStackRegionDriver) ValidateCreateLoadbalancerData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, data *jsonutils.JSONDict) (*jsonutils.JSONDict, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL