Documentation ¶
Index ¶
- Variables
- func ClearTaskPendingRegionUsage(ctx context.Context, task taskman.ITask) error
- func ClearTaskPendingUsage(ctx context.Context, task taskman.ITask) error
- func InitCloudproviderSyncWorkers(count int)
- func StartScheduleObjects(ctx context.Context, task IScheduleTask, objs []db.IStandaloneModel)
- type AccessGroupCacheDeleteTask
- type AccessGroupDeleteTask
- type AccessGroupSyncRulesTask
- type AccessGroupSyncstatusTask
- type AppRemoteUpdateTask
- func (self *AppRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *AppRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, app *models.SApp, data jsonutils.JSONObject)
- func (self *AppRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, app *models.SApp, data jsonutils.JSONObject)
- func (self *AppRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, app *models.SApp, data jsonutils.JSONObject)
- type AppSyncstatusTask
- type AwsLoadbalancerLoadbalancerBackendGroupCreateTask
- type BackupStorageSyncstatusTask
- func (self *BackupStorageSyncstatusTask) OnBackupStorageSyncStatus(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *BackupStorageSyncstatusTask) OnBackupStorageSyncStatusFailed(ctx context.Context, backup *models.SBackupStorage, data jsonutils.JSONObject)
- func (self *BackupStorageSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type BaremetalCdromTask
- func (self *BaremetalCdromTask) OnFailure(ctx context.Context, baremetal *models.SHost, reason jsonutils.JSONObject)
- func (self *BaremetalCdromTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalCdromTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalCdromTask) OnSyncConfigCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- type BaremetalConvertHypervisorTask
- func (self *BaremetalConvertHypervisorTask) OnFailedSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalConvertHypervisorTask) OnGuestDeleteComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalConvertHypervisorTask) OnGuestDeployComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalConvertHypervisorTask) OnGuestDeployCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalConvertHypervisorTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type BaremetalCreateTask
- func (self *BaremetalCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalCreateTask) OnIpmiProbeComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalCreateTask) OnIpmiProbeCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalCreateTask) OnPrepareComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalCreateTask) OnPrepareCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type BaremetalDeleteTask
- func (self *BaremetalDeleteTask) OnDeleteBaremetalComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalDeleteTask) OnDeleteBaremetalCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalDeleteTask) OnFailure(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type BaremetalIpmiProbeTask
- func (self *BaremetalIpmiProbeTask) OnFailure(ctx context.Context, baremetal *models.SHost, reason jsonutils.JSONObject)
- func (self *BaremetalIpmiProbeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalIpmiProbeTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalIpmiProbeTask) OnSyncConfigCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- type BaremetalMaintenanceTask
- func (self *BaremetalMaintenanceTask) OnEnterMaintenantModeSucc(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalMaintenanceTask) OnEnterMaintenantModeSuccFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalMaintenanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type BaremetalPrepareTask
- func (self *BaremetalPrepareTask) OnFailure(ctx context.Context, baremetal *models.SHost, reason jsonutils.JSONObject)
- func (self *BaremetalPrepareTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalPrepareTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalPrepareTask) OnSyncConfigCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- type BaremetalServerResetTask
- type BaremetalServerStartTask
- func (self *BaremetalServerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalServerStartTask) OnStartComplete(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- func (self *BaremetalServerStartTask) OnStartCompleteFailed(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- type BaremetalServerStopTask
- func (self *BaremetalServerStopTask) OnGuestStopTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *BaremetalServerStopTask) OnGuestStopTaskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *BaremetalServerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalServerStopTask) OnStopGuestFail(ctx context.Context, guest *models.SGuest, reason string)
- type BaremetalServerSyncStatusTask
- func (self *BaremetalServerSyncStatusTask) OnGetStatusFail(ctx context.Context, guest *models.SGuest)
- func (self *BaremetalServerSyncStatusTask) OnGuestStatusTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *BaremetalServerSyncStatusTask) OnGuestStatusTaskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *BaremetalServerSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type BaremetalSyncAllGuestsStatusTask
- func (self *BaremetalSyncAllGuestsStatusTask) OnGuestSyncStatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalSyncAllGuestsStatusTask) OnGuestSyncStatusCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalSyncAllGuestsStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type BaremetalSyncConfigTask
- func (self *BaremetalSyncConfigTask) DoSyncConfig(ctx context.Context, baremetal *models.SHost)
- func (self *BaremetalSyncConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalSyncConfigTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalSyncConfigTask) OnSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- type BaremetalSyncStatusTask
- func (self *BaremetalSyncStatusTask) DoSyncStatus(ctx context.Context, baremetal *models.SHost)
- func (self *BaremetalSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalSyncStatusTask) OnSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalSyncStatusTask) OnSyncstatusCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- type BaremetalUnconvertHypervisorTask
- func (self *BaremetalUnconvertHypervisorTask) OnFailSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalUnconvertHypervisorTask) OnGuestDeleteComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalUnconvertHypervisorTask) OnGuestDeleteCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- func (self *BaremetalUnconvertHypervisorTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *BaremetalUnconvertHypervisorTask) OnPrepareComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
- type BaremetalUnmaintenanceTask
- type BatchSnapshotsDeleteTask
- func (self *BatchSnapshotsDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *BatchSnapshotsDeleteTask) OnStorageDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *BatchSnapshotsDeleteTask) StartStorageDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot)
- type BucketCreateTask
- type BucketDeleteTask
- type BucketSyncstatusTask
- func (self *BucketSyncstatusTask) OnBucketSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *BucketSyncstatusTask) OnBucketSyncStatusCompleteFailed(ctx context.Context, bucket *models.SBucket, data jsonutils.JSONObject)
- func (self *BucketSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type CANetConf
- type CAPWire
- type CASimpleNetConf
- type CDNDomainCreateTask
- func (self *CDNDomainCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CDNDomainCreateTask) OnSyncstatusComplete(ctx context.Context, domain *models.SCDNDomain, data jsonutils.JSONObject)
- func (self *CDNDomainCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, domain *models.SCDNDomain, data jsonutils.JSONObject)
- type CDNDomainDeleteTask
- type CDNDomainRemoteUpdateTask
- func (self *CDNDomainRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *CDNDomainRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, cdn *models.SCDNDomain, data jsonutils.JSONObject)
- func (self *CDNDomainRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, cdn *models.SCDNDomain, data jsonutils.JSONObject)
- func (self *CDNDomainRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, cdn *models.SCDNDomain, data jsonutils.JSONObject)
- type CDNDomainSyncstatusTask
- type CloudAccountDeleteTask
- func (self *CloudAccountDeleteTask) OnAllCloudProviderDeleteComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudAccountDeleteTask) OnAllCloudProviderDeleteCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudAccountDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type CloudAccountSyncInfoTask
- func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncReady(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncReadyFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *CloudAccountSyncInfoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type CloudAccountSyncSkusTask
- type CloudAccountSyncVMwareNetworkTask
- func (self *CloudAccountSyncVMwareNetworkTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudAccountSyncVMwareNetworkTask) OnSyncCloudProviderInfoComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *CloudAccountSyncVMwareNetworkTask) OnSyncCloudProviderInfoCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- type CloudProviderDeleteTask
- type CloudProviderSyncInfoTask
- func (self *CloudProviderSyncInfoTask) GetSyncRange() models.SSyncRange
- func (self *CloudProviderSyncInfoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderInfoComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderInfoCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderPreInfoComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderPreInfoCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type CloudRegionSyncSkusTask
- type CloudregionSyncImagesTask
- type CreateImportedLibvirtGuestTask
- func (self *CreateImportedLibvirtGuestTask) OnGuestSync(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- func (self *CreateImportedLibvirtGuestTask) OnGuestSyncFailed(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- func (self *CreateImportedLibvirtGuestTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *CreateImportedLibvirtGuestTask) OnInitFailed(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- func (self *CreateImportedLibvirtGuestTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type DBInstanceAccountCreateTask
- type DBInstanceAccountDeleteTask
- type DBInstanceAccountGrantPrivilegeTask
- type DBInstanceAccountResetPasswordTask
- type DBInstanceAccountRevokePrivilegeTask
- type DBInstanceAccountSetPrivilegesTask
- type DBInstanceBackupCreateTask
- func (self *DBInstanceBackupCreateTask) CreateDBInstanceBackup(ctx context.Context, backup *models.SDBInstanceBackup)
- func (self *DBInstanceBackupCreateTask) OnCreateDBInstanceBackupComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceBackupCreateTask) OnCreateDBInstanceBackupCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstanceBackupDeleteTask
- type DBInstanceBackupSyncstatusTask
- func (self *DBInstanceBackupSyncstatusTask) OnDBInstanceBackupSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceBackupSyncstatusTask) OnDBInstanceBackupSyncStatusCompleteFailed(ctx context.Context, backup *models.SDBInstanceBackup, ...)
- func (self *DBInstanceBackupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstanceChangeConfigTask
- func (self *DBInstanceChangeConfigTask) OnDBInstanceChangeConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceChangeConfigTask) OnDBInstanceChangeConfigCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceChangeConfigTask) OnSyncDBInstanceStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceChangeConfigTask) OnSyncDBInstanceStatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstanceCreateTask
- func (self *DBInstanceCreateTask) CreateDBInstance(ctx context.Context, rds *models.SDBInstance)
- func (self *DBInstanceCreateTask) OnCreateDBInstanceComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceCreateTask) OnCreateDBInstanceCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceCreateTask) OnSyncDBInstanceStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceCreateTask) OnSyncDBInstanceStatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstanceDatabaseCreateTask
- type DBInstanceDatabaseDeleteTask
- type DBInstanceDeleteTask
- func (self *DBInstanceDeleteTask) DeleteBackups(ctx context.Context, instance *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceDeleteTask) DeleteDBInstance(ctx context.Context, rds *models.SDBInstance)
- func (self *DBInstanceDeleteTask) DeleteDBInstanceComplete(ctx context.Context, rds *models.SDBInstance)
- func (self *DBInstanceDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstancePublicConnectionTask
- type DBInstanceRebootTask
- type DBInstanceRecoveryTask
- type DBInstanceRemoteUpdateTask
- func (self *DBInstanceRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- type DBInstanceRenewTask
- func (self *DBInstanceRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceRenewTask) OnSyncstatusComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceRenewTask) OnSyncstatusCompleteFailed(ctx context.Context, rds *models.SDBInstance, reason jsonutils.JSONObject)
- type DBInstanceSetAutoRenewTask
- func (self *DBInstanceSetAutoRenewTask) OnDBInstanceSyncComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceSetAutoRenewTask) OnDBInstanceSyncCompleteFailed(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceSetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstanceSyncSecgroupsTask
- func (self *DBInstanceSyncSecgroupsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceSyncSecgroupsTask) OnSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceSyncSecgroupsTask) OnSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DBInstanceSyncSecgroupsTask) OnSyncSecurityGroupsComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
- func (self *DBInstanceSyncSecgroupsTask) OnSyncSecurityGroupsCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DBInstanceSyncTask
- type DiskBackupCreateTask
- func (self *DiskBackupCreateTask) CreateSnapshot(ctx context.Context, diskBackup *models.SDiskBackup) (*models.SSnapshot, error)
- func (self *DiskBackupCreateTask) OnCleanupSnapshot(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupCreateTask) OnCleanupSnapshotFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskBackupCreateTask) OnSave(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupCreateTask) OnSaveFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupCreateTask) OnSnapshot(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupCreateTask) OnSnapshotFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- type DiskBackupDeleteTask
- func (self *DiskBackupDeleteTask) OnDelete(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupDeleteTask) OnDeleteFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DiskBackupRecoveryTask
- func (self *DiskBackupRecoveryTask) OnCreateDisk(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupRecoveryTask) OnCreateDiskFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupRecoveryTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DiskBackupSyncstatusTask
- func (self *DiskBackupSyncstatusTask) OnDiskBackupSyncStatus(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskBackupSyncstatusTask) OnDiskBackupSyncStatusFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
- func (self *DiskBackupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DiskBatchCreateTask
- func (self *DiskBatchCreateTask) GetCreateInput() (*api.DiskCreateInput, error)
- func (self *DiskBatchCreateTask) GetDisks() ([]*api.DiskConfig, error)
- func (self *DiskBatchCreateTask) GetFirstDisk() (*api.DiskConfig, error)
- func (self *DiskBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (self *DiskBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *DiskBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
- func (self *DiskBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
- func (self *DiskBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
- type DiskCleanOverduedSnapshots
- type DiskCleanUpSnapshotsTask
- func (self *DiskCleanUpSnapshotsTask) OnCleanUpSnapshots(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskCleanUpSnapshotsTask) OnCleanUpSnapshotsFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskCleanUpSnapshotsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskCleanUpSnapshotsTask) StartCleanUpSnapshots(ctx context.Context, disk *models.SDisk)
- type DiskCreateBackupTask
- func (self *DiskCreateBackupTask) OnBackupStorageCacheImageComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskCreateBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskCreateBackupTask) OnSlaveDiskReady(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- type DiskCreateTask
- func (self *DiskCreateTask) OnDiskReady(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskCreateTask) OnDiskReadyFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskCreateTask) OnStartAllocateFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskCreateTask) OnStorageCacheImageComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- type DiskDeleteSnapshotsTask
- func (self *DiskDeleteSnapshotsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskDeleteSnapshotsTask) OnSnapshotDelete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskDeleteSnapshotsTask) OnSnapshotDeleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskDeleteSnapshotsTask) StartDeleteDiskSnapshots(ctx context.Context, disk *models.SDisk, snapshots []models.SSnapshot)
- type DiskDeleteTask
- func (self *DiskDeleteTask) OnDeleteSnapshots(ctx context.Context, disk *models.SDisk)
- func (self *DiskDeleteTask) OnDiskSnapshotDelete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskDeleteTask) OnDiskSnapshotDeleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskDeleteTask) OnGuestDiskDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskDeleteTask) OnGuestDiskDeleteCompleteFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
- func (self *DiskDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskDeleteTask) OnMasterStorageDeleteDiskComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskDeleteTask) OnMasterStorageDeleteDiskCompleteFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
- func (self *DiskDeleteTask) StartDeleteDiskSnapshots(ctx context.Context, disk *models.SDisk)
- type DiskResetTask
- func (self *DiskResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskResetTask) OnRequestResetDisk(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskResetTask) OnRequestResetDiskFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskResetTask) OnStartGuest(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskResetTask) RequestResetDisk(ctx context.Context, disk *models.SDisk, host *models.SHost)
- func (self *DiskResetTask) TaskCompleted(ctx context.Context, disk *models.SDisk, data *jsonutils.JSONDict)
- func (self *DiskResetTask) TaskFailed(ctx context.Context, disk *models.SDisk, reason error)
- type DiskResizeTask
- func (self *DiskResizeTask) OnDiskResizeComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskResizeTask) OnDiskResizeCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskResizeTask) OnDiskResized(ctx context.Context, disk *models.SDisk)
- func (self *DiskResizeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskResizeTask) OnStartResizeDiskFailed(ctx context.Context, disk *models.SDisk, reason error)
- func (self *DiskResizeTask) OnStartResizeDiskSucc(ctx context.Context, disk *models.SDisk)
- func (self *DiskResizeTask) SetDiskReady(ctx context.Context, disk *models.SDisk, userCred mcclient.TokenCredential, ...)
- func (self *DiskResizeTask) StartResizeDisk(ctx context.Context, host *models.SHost, storage *models.SStorage, ...)
- type DiskSaveTask
- func (self *DiskSaveTask) GetMasterHost(disk *models.SDisk) *models.SHost
- func (self *DiskSaveTask) OnDiskBackupComplete(ctx context.Context, disk *models.SDisk, data *jsonutils.JSONDict)
- func (self *DiskSaveTask) OnDiskBackupCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskSaveTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskSaveTask) OnUploadDiskComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskSaveTask) OnUploadDiskCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskSaveTask) RefreshImageCache(ctx context.Context, imageId string)
- func (self *DiskSaveTask) StartBackupDisk(ctx context.Context, disk *models.SDisk, host *models.SHost)
- func (self *DiskSaveTask) UploadDisk(ctx context.Context, host *models.SHost, disk *models.SDisk, imageId string, ...) error
- type DiskSyncstatusTask
- func (self *DiskSyncstatusTask) OnDiskSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DiskSyncstatusTask) OnDiskSyncStatusCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *DiskSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type DnsZoneCacheCreateTask
- func (self *DnsZoneCacheCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DnsZoneCacheCreateTask) OnSyncRecordSetComplete(ctx context.Context, cache *models.SDnsZoneCache, data jsonutils.JSONObject)
- func (self *DnsZoneCacheCreateTask) OnSyncRecordSetCompleteFailed(ctx context.Context, cache *models.SDnsZoneCache, data jsonutils.JSONObject)
- type DnsZoneCacheDeleteTask
- type DnsZoneCreateTask
- func (self *DnsZoneCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DnsZoneCreateTask) OnSyncRecordSetComplete(ctx context.Context, dnsZone *models.SDnsZone, data jsonutils.JSONObject)
- func (self *DnsZoneCreateTask) OnSyncRecordSetCompleteFailed(ctx context.Context, dnsZone *models.SDnsZone, data jsonutils.JSONObject)
- type DnsZoneDeleteTask
- type DnsZoneSyncRecordSetsTask
- type DnsZoneSyncVpcsTask
- func (self *DnsZoneSyncVpcsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *DnsZoneSyncVpcsTask) OnSyncRecordSetComplete(ctx context.Context, dnsZone *models.SDnsZone, data jsonutils.JSONObject)
- func (self *DnsZoneSyncVpcsTask) OnSyncRecordSetCompleteFailed(ctx context.Context, cache *models.SDnsZoneCache, data jsonutils.JSONObject)
- type DnsZoneSyncstatusTask
- type ESXiGuestCreateDiskTask
- type EipAllocateTask
- func (self *EipAllocateTask) OnEipAssociateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *EipAllocateTask) OnEipAssociateCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *EipAllocateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type EipAssociateTask
- func (self *EipAssociateTask) GetAssociateInput() (api.ElasticipAssociateInput, error)
- func (self *EipAssociateTask) GetAssociateObj() (db.IStatusStandaloneModel, api.ElasticipAssociateInput, error)
- func (self *EipAssociateTask) OnAssociateEipComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *EipAssociateTask) OnAssociateEipCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *EipAssociateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type EipChangeBandwidthTask
- type EipDeallocateTask
- type EipDissociateTask
- type EipSyncstatusTask
- type ElasticSearchDeleteTask
- type ElasticSearchSyncstatusTask
- type ElasticcacheAccountCreateTask
- func (self *ElasticcacheAccountCreateTask) OnElasticcacheAccountCreateComplete(ctx context.Context, ea *models.SElasticcacheAccount, ...)
- func (self *ElasticcacheAccountCreateTask) OnElasticcacheAccountCreateCompleteFailed(ctx context.Context, ea *models.SElasticcacheAccount, ...)
- func (self *ElasticcacheAccountCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheAccountDeleteTask
- type ElasticcacheAccountResetPasswordTask
- type ElasticcacheAclCreateTask
- func (self *ElasticcacheAclCreateTask) OnElasticcacheAclCreateComplete(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
- func (self *ElasticcacheAclCreateTask) OnElasticcacheAclCreateCompleteFailed(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
- func (self *ElasticcacheAclCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheAclDeleteTask
- type ElasticcacheAclUpdateTask
- func (self *ElasticcacheAclUpdateTask) OnElasticcacheAclUpdateComplete(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
- func (self *ElasticcacheAclUpdateTask) OnElasticcacheAclUpdateCompleteFailed(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
- func (self *ElasticcacheAclUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheAllocatePublicConnectionTask
- func (self *ElasticcacheAllocatePublicConnectionTask) OnElasticcacheAllocatePublicConnectionComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheAllocatePublicConnectionTask) OnElasticcacheAllocatePublicConnectionCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheAllocatePublicConnectionTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheBackupCreateTask
- func (self *ElasticcacheBackupCreateTask) OnElasticcacheBackupCreateComplete(ctx context.Context, eb *models.SElasticcacheBackup, data jsonutils.JSONObject)
- func (self *ElasticcacheBackupCreateTask) OnElasticcacheBackupCreateCompleteFailed(ctx context.Context, eb *models.SElasticcacheBackup, data jsonutils.JSONObject)
- func (self *ElasticcacheBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheBackupRestoreInstanceTask
- func (self *ElasticcacheBackupRestoreInstanceTask) OnElasticcacheBackupRestoreInstanceComplete(ctx context.Context, eb *models.SElasticcacheBackup, data jsonutils.JSONObject)
- func (self *ElasticcacheBackupRestoreInstanceTask) OnElasticcacheBackupRestoreInstanceCompleteFailed(ctx context.Context, eb *models.SElasticcacheBackup, ...)
- func (self *ElasticcacheBackupRestoreInstanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheChangeSpecTask
- func (self *ElasticcacheChangeSpecTask) OnElasticcacheChangeSpecComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheChangeSpecTask) OnElasticcacheChangeSpecCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheChangeSpecTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheCreateTask
- func (self *ElasticcacheCreateTask) OnElasticcacheCreateComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheCreateTask) OnElasticcacheCreateCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ElasticcacheCreateTask) OnSyncSecurityGroupComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheCreateTask) OnSyncSecurityGroupCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- type ElasticcacheDeleteTask
- type ElasticcacheFlushInstanceTask
- func (self *ElasticcacheFlushInstanceTask) OnElasticcacheFlushInstanceComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheFlushInstanceTask) OnElasticcacheFlushInstanceCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheFlushInstanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheParameterUpdateTask
- func (self *ElasticcacheParameterUpdateTask) OnElasticcacheParameterUpdateComplete(ctx context.Context, ep *models.SElasticcacheParameter, ...)
- func (self *ElasticcacheParameterUpdateTask) OnElasticcacheParameterUpdateCompleteFailed(ctx context.Context, ep *models.SElasticcacheParameter, ...)
- func (self *ElasticcacheParameterUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheReleasePublicConnectionTask
- func (self *ElasticcacheReleasePublicConnectionTask) OnElasticcacheReleasePublicConnectionComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheReleasePublicConnectionTask) OnElasticcacheReleasePublicConnectionCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheReleasePublicConnectionTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheRemoteUpdateTask
- func (self *ElasticcacheRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ElasticcacheRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- type ElasticcacheRenewTask
- func (self *ElasticcacheRenewTask) OnElasticcacheSyncstatusComplete(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
- func (self *ElasticcacheRenewTask) OnElasticcacheSyncstatusCompleteFailed(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
- func (self *ElasticcacheRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheRestartTask
- type ElasticcacheSetAutoRenewTask
- func (self *ElasticcacheSetAutoRenewTask) OnElasticcacheSyncstatusComplete(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
- func (self *ElasticcacheSetAutoRenewTask) OnElasticcacheSyncstatusCompleteFailed(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
- func (self *ElasticcacheSetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheSetMaintainTimeTask
- func (self *ElasticcacheSetMaintainTimeTask) OnElasticcacheSetMaintainTimeComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheSetMaintainTimeTask) OnElasticcacheSetMaintainTimeCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheSetMaintainTimeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheSyncTask
- type ElasticcacheSyncsecgroupsTask
- func (self *ElasticcacheSyncsecgroupsTask) OnElasticcacheSyncSecgroupsComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ElasticcacheSyncsecgroupsTask) OnElasticcacheSyncSecgroupsCompleteFailed(ctx context.Context, cache *models.SElasticcache, data jsonutils.JSONObject)
- func (self *ElasticcacheSyncsecgroupsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheSyncstatusTask
- func (self *ElasticcacheSyncstatusTask) OnElasticcacheSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ElasticcacheSyncstatusTask) OnElasticcacheSyncStatusCompleteFailed(ctx context.Context, cache *models.SElasticcache, data jsonutils.JSONObject)
- func (self *ElasticcacheSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheUpdateAuthModeTask
- func (self *ElasticcacheUpdateAuthModeTask) OnElasticcacheUpdateAuthModeComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheUpdateAuthModeTask) OnElasticcacheUpdateAuthModeCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheUpdateAuthModeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ElasticcacheUpdateBackupPolicyTask
- func (self *ElasticcacheUpdateBackupPolicyTask) OnElasticcacheUpdateBackupPolicyComplete(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheUpdateBackupPolicyTask) OnElasticcacheUpdateBackupPolicyCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, ...)
- func (self *ElasticcacheUpdateBackupPolicyTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type FileSystemCreateTask
- func (self *FileSystemCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *FileSystemCreateTask) OnSyncstatusComplete(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
- func (self *FileSystemCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
- type FileSystemDeleteTask
- type FileSystemRemoteUpdateTask
- func (self *FileSystemRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *FileSystemRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
- func (self *FileSystemRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
- func (self *FileSystemRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
- func (self *FileSystemRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
- type FileSystemSyncstatusTask
- type GlobalVpcCreateTask
- func (self *GlobalVpcCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GlobalVpcCreateTask) OnSyncstatusComplete(ctx context.Context, gvpc *models.SGlobalVpc, data jsonutils.JSONObject)
- func (self *GlobalVpcCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, gvpc *models.SGlobalVpc, data jsonutils.JSONObject)
- type GlobalVpcDeleteTask
- type GlobalVpcSyncstatusTask
- type GuestAttachDiskTask
- func (self *GuestAttachDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestAttachDiskTask) OnSyncConfigComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestAttachDiskTask) OnSyncConfigCompleteFailed(ctx context.Context, obj db.IStandaloneModel, reason jsonutils.JSONObject)
- func (self *GuestAttachDiskTask) OnTaskFail(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...)
- type GuestBatchCreateTask
- func (self *GuestBatchCreateTask) GetCreateInput() (*api.ServerCreateInput, error)
- func (self *GuestBatchCreateTask) GetDisks() ([]*api.DiskConfig, error)
- func (self *GuestBatchCreateTask) GetFirstDisk() (*api.DiskConfig, error)
- func (self *GuestBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (self *GuestBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GuestBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
- func (self *GuestBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
- func (self *GuestBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
- func (self *GuestBatchCreateTask) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, ...)
- type GuestBlockIoThrottleTask
- func (self *GuestBlockIoThrottleTask) OnGuestSync(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestBlockIoThrottleTask) OnGuestSyncFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestBlockIoThrottleTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestBlockIoThrottleTask) OnIoThrottle(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestBlockIoThrottleTask) OnIoThrottleFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestCPUSetTask
- func (self *GuestCPUSetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCPUSetTask) OnSyncComplete(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCPUSetTask) OnSyncCompleteFailed(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
- type GuestChangeConfigTask
- func (self *GuestChangeConfigTask) DoCreateDisksTask(ctx context.Context, guest *models.SGuest)
- func (self *GuestChangeConfigTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (self *GuestChangeConfigTask) OnCreateDisksComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnCreateDisksCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnDisksResizeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnGuestChangeCpuMemSpecComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnGuestChangeCpuMemSpecCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnGuestChangeCpuMemSpecFinish(ctx context.Context, guest *models.SGuest)
- func (self *GuestChangeConfigTask) OnGuestStartComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnGuestStartCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnStartSchedule(obj IScheduleModel)
- func (self *GuestChangeConfigTask) OnSyncConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) OnSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource)
- func (self *GuestChangeConfigTask) SetStageComplete(ctx context.Context, data *jsonutils.JSONDict)
- func (self *GuestChangeConfigTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (self *GuestChangeConfigTask) StartResizeDisks(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestChangeDiskStorageTask
- func (t *GuestChangeDiskStorageTask) ChangeDiskStorage(ctx context.Context, guest *models.SGuest)
- func (t *GuestChangeDiskStorageTask) GetInputParams() (*api.ServerChangeDiskStorageInternalInput, error)
- func (t *GuestChangeDiskStorageTask) GetSourceDisk() (*models.SDisk, error)
- func (t *GuestChangeDiskStorageTask) GetTargetDisk() (*models.SDisk, error)
- func (t *GuestChangeDiskStorageTask) OnDiskChangeStorageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnDiskChangeStorageCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnDiskLiveChangeStorageReady(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnDiskLiveChangeStorageReadyFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnSourceDiskDetachComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnSourceDiskDetachCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnTargetDiskAttachComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) OnTargetDiskAttachCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDiskStorageTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestChangeDisksStorageTask
- func (t *GuestChangeDisksStorageTask) ChangeDiskStorage(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) ChangeDiskStorageFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) CreateTargetDisk(ctx context.Context, guest *models.SGuest, ...)
- func (t *GuestChangeDisksStorageTask) GetInputParams() (*api.ServerChangeStorageInternalInput, error)
- func (t *GuestChangeDisksStorageTask) OnDiskChangeStorageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *GuestChangeDisksStorageTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestCloneTask
- type GuestConvertEsxiToKvmTask
- func (self *GuestConvertEsxiToKvmTask) GenerateEsxiAcceessInfo(guest *models.SGuest) (*jsonutils.JSONDict, error)
- func (self *GuestConvertEsxiToKvmTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (self *GuestConvertEsxiToKvmTask) OnHostCreateGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestConvertEsxiToKvmTask) OnHostCreateGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestConvertEsxiToKvmTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestConvertEsxiToKvmTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (self *GuestConvertEsxiToKvmTask) OnStartSchedule(obj IScheduleModel)
- func (self *GuestConvertEsxiToKvmTask) RequestHostCreateGuestFromEsxi(ctx context.Context, guest *models.SGuest, esxiAccessInfo *jsonutils.JSONDict) error
- func (self *GuestConvertEsxiToKvmTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource)
- func (self *GuestConvertEsxiToKvmTask) TaskComplete(ctx context.Context, guest, targetGuest *models.SGuest)
- type GuestCreateBackupDisksTask
- type GuestCreateBackupTask
- func (self *GuestCreateBackupTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (self *GuestCreateBackupTask) OnCreateBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnCreateBackupDisks(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnCreateBackupDisksFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnCreateBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnGuestStart(ctx context.Context, guest *models.SGuest, guestStatus string)
- func (self *GuestCreateBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnInsertIso(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnInsertIsoFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnStartSchedule(obj IScheduleModel)
- func (self *GuestCreateBackupTask) OnSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) OnSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateBackupTask) RequestStartGuest(ctx context.Context, guest *models.SGuest)
- func (self *GuestCreateBackupTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
- func (self *GuestCreateBackupTask) StartCreateBackupDisks(ctx context.Context, guest *models.SGuest, host *models.SHost, ...)
- func (self *GuestCreateBackupTask) StartInsertIso(ctx context.Context, guest *models.SGuest, imageId string)
- func (self *GuestCreateBackupTask) TaskCompleted(ctx context.Context, guest *models.SGuest, reason string)
- func (self *GuestCreateBackupTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestCreateDiskTask
- func (self *GuestCreateDiskTask) OnDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateDiskTask) OnDiskPreparedFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestCreateTask
- func (self *GuestCreateTask) OnAutoStartGuest(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnCdromPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnCdromPreparedFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDeployEipComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDeployEipCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDeployGuestDescComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDeployGuestDescCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDiskPreparedFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnGuestNetworkReady(ctx context.Context, guest *models.SGuest)
- func (self *GuestCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GuestCreateTask) OnSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnWaitGuestNetworksReady(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestCreateTask) StartDeployGuest(ctx context.Context, guest *models.SGuest)
- func (self *GuestCreateTask) TaskComplete(ctx context.Context, guest *models.SGuest)
- type GuestDeleteBackupTask
- func (self *GuestDeleteBackupTask) OnCancelBlockReplication(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnCancelBlockReplicationFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnCreateNewBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnCreateNewBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnDeleteBackupComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnDeleteOnHost(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnDeleteOnHostFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteBackupTask) StartDeleteBackupOnHost(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeleteBackupTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestDeleteOnHostTask
- func (self *GuestDeleteOnHostTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (self *GuestDeleteOnHostTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteOnHostTask) OnStopGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteOnHostTask) OnSync(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteOnHostTask) OnUnDeployGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteOnHostTask) OnUnDeployGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestDeleteSnapshotsTask
- func (self *GuestDeleteSnapshotsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteSnapshotsTask) OnInstanceSnapshotDelete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteSnapshotsTask) OnInstanceSnapshotDeleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteSnapshotsTask) OnSnapshotDelete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteSnapshotsTask) OnSnapshotDeleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteSnapshotsTask) StartDeleteDiskSnapshots(ctx context.Context, guest *models.SGuest, snapshots []models.SSnapshot)
- func (self *GuestDeleteSnapshotsTask) StartDeleteInstanceSnapshots(ctx context.Context, guest *models.SGuest, ...)
- type GuestDeleteTask
- func (self *GuestDeleteTask) DeleteGuest(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeleteTask) DoDeleteGuest(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeleteTask) NotifyServerDeleted(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeleteTask) OnDiskDetachComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnDiskDetachCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnEipDissociateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnEipDissociateCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestDeleteCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestDeleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestDetachDisksComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestDetachDisksCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnGuestStopCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnMasterHostStopGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnMasterHostStopGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnPendingDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnPendingDeleteCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnStartEipDissociate(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnStartEipDissociateFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnSyncConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeleteTask) OnSyncConfigCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestDeleteTask) StartDeleteGuest(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeleteTask) StartDeleteGuestSnapshots(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeleteTask) StartPendingDeleteGuest(ctx context.Context, guest *models.SGuest)
- type GuestDeployBackupTask
- func (self *GuestDeployBackupTask) OnDeployGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeployBackupTask) OnDeployGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeployBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestDeployTask
- func (self *GuestDeployTask) DeployOnHost(ctx context.Context, guest *models.SGuest, host *models.SHost)
- func (self *GuestDeployTask) OnDeployGuestComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnDeployGuestCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnDeployGuestFail(ctx context.Context, guest *models.SGuest, err error)
- func (self *GuestDeployTask) OnDeployGuestSyncstatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnDeployGuestSyncstatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnDeployStartGuestComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnDeployStartGuestCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnDeployWaitServerStop(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDeployTask) OnGuestNetworkReady(ctx context.Context, guest *models.SGuest)
- func (self *GuestDeployTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestDetachAllDisksTask
- type GuestDetachDiskTask
- func (self *GuestDetachDiskTask) OnDetachDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnDetachDiskCompleteFailed(ctx context.Context, obj db.IStandaloneModel, reason jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnDiskDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnSyncstatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnSyncstatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnTaskFail(ctx context.Context, guest *models.SGuest, disk *models.SDisk, ...)
- type GuestDetachScalingGroupTask
- func (self *GuestDetachScalingGroupTask) OnDeleteGuestComplete(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
- func (self *GuestDetachScalingGroupTask) OnDeleteGuestCompleteFailed(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
- func (self *GuestDetachScalingGroupTask) OnDetachLoadbalancerComplete(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
- func (self *GuestDetachScalingGroupTask) OnDetachLoadbalancerCompleteFailed(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
- func (self *GuestDetachScalingGroupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type GuestDiskSnapshotTask
- func (self *GuestDiskSnapshotTask) DoDiskSnapshot(ctx context.Context, guest *models.SGuest)
- func (self *GuestDiskSnapshotTask) OnDiskSnapshotComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDiskSnapshotTask) OnDiskSnapshotCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *GuestDiskSnapshotTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestDiskSnapshotTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDiskSnapshotTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestEjectISOTask
- type GuestHardResetTask
- func (self *GuestHardResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestHardResetTask) OnServerStartComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestHardResetTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestHardResetTask) StartServer(ctx context.Context, guest *models.SGuest)
- func (self *GuestHardResetTask) StopServer(ctx context.Context, guest *models.SGuest)
- type GuestInsertIsoTask
- func (self *GuestInsertIsoTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestInsertIsoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestInsertIsoTask) OnIsoPrepareComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestInsertIsoTask) OnIsoPrepareCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestIsolatedDeviceSyncTask
- func (self *GuestIsolatedDeviceSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestIsolatedDeviceSyncTask) OnStartComplete(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestIsolatedDeviceSyncTask) OnStartCompleteFailed(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestIsolatedDeviceSyncTask) OnSyncConfigComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestIsolatedDeviceSyncTask) OnSyncConfigCompleteFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestLiveMigrateTask
- func (self *GuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnLiveMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnLiveMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnResumeDestGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnResumeDestGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnResumeSourceGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnResumeSourceGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnStartDestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnStartDestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestLiveMigrateTask) OnUndeploySrcGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestMigrateTask
- func (self *GuestMigrateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (self *GuestMigrateTask) OnCachedCdromComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnCachedCdromCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnCachedImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnCachedImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnMigrateConfAndDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnMigrateConfAndDiskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnNormalMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnSrcPrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnSrcPrepareCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnStartSchedule(obj IScheduleModel)
- func (self *GuestMigrateTask) OnUndeployOldHostSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnUndeployOldHostSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnUndeployTargetGuestSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) OnUndeployTargetGuestSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestMigrateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource)
- func (self *GuestMigrateTask) TaskComplete(ctx context.Context, guest *models.SGuest)
- func (self *GuestMigrateTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestPublicipToEipTask
- func (self *GuestPublicipToEipTask) OnEipConvertComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestPublicipToEipTask) OnEipConvertCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestPublicipToEipTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestPublicipToEipTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestPublicipToEipTask) OnGuestSyncstatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestPublicipToEipTask) OnGuestSyncstatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestPublicipToEipTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestQgaSetPasswordTask
- func (self *GuestQgaSetPasswordTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GuestQgaSetPasswordTask) OnQgaGuestPing(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestQgaSetPasswordTask) OnQgaGuestPingFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestQgaSetPasswordTask) OnQgaSetUserPassword(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestQgaSetPasswordTask) OnQgaSetUserPasswordFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestReSyncToBackup
- type GuestRebuildRootTask
- func (self *GuestRebuildRootTask) OnGuestStartComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnRebuildAllDisksComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnRebuildRootDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnRebuildRootDiskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnRebuildingDataDisksComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnRebuildingDataDisksCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnStopServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) OnSyncStatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRebuildRootTask) StartRebuildRootDisk(ctx context.Context, guest *models.SGuest)
- type GuestRemoteUpdateTask
- func (self *GuestRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestRenewTask
- type GuestResizeDiskTask
- func (task *GuestResizeDiskTask) OnDiskResizeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestResizeDiskTask) OnDiskResizeCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestResizeDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestResizeDiskTask) OnTaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (task *GuestResizeDiskTask) TaskComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestResizeDiskTask) TaskCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestRestartNetworkTask
- func (self *GuestRestartNetworkTask) OnCloseIpMacSrcCheckComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestRestartNetworkTask) OnCloseIpMacSrcCheckCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestRestartNetworkTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestRestartNetworkTask) OnResumeIpMacSrcCheckComplete(ctx context.Context, obj db.IScopedResourceManager, data jsonutils.JSONObject)
- func (self *GuestRestartNetworkTask) OnResumeIpMacSrcCheckCompleteFailed(ctx context.Context, obj db.IScopedResourceManager, data jsonutils.JSONObject)
- type GuestRestartTask
- type GuestResumeTask
- func (self *GuestResumeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestResumeTask) OnResumeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestResumeTask) OnResumeCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestResumeTask) OnResumeGuestFail(guest *models.SGuest, reason string)
- type GuestSaveGuestImageTask
- func (self *GuestSaveGuestImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GuestSaveGuestImageTask) OnSaveRootImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveGuestImageTask) OnSaveRootImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveGuestImageTask) OnStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveGuestImageTask) OnStartServerCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestSaveImageTask
- func (self *GuestSaveImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnSaveRootImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnSaveRootImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnStartServerCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnStopServerComplete(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnStopServerCompleteFailed(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnSyncstatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSaveImageTask) OnSyncstatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestSaveTemplateTask
- type GuestSchedStartTask
- func (self *GuestSchedStartTask) OnGuestMigrate(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSchedStartTask) OnGuestMigrateFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSchedStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSchedStartTask) ScheduleFailed(ctx context.Context, guest *models.SGuest)
- func (self *GuestSchedStartTask) ScheduleSucc(ctx context.Context, guest *models.SGuest)
- func (self *GuestSchedStartTask) StartScheduler(ctx context.Context, guest *models.SGuest)
- func (self *GuestSchedStartTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestSetAutoRenewTask
- func (self *GuestSetAutoRenewTask) OnGuestSyncstatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSetAutoRenewTask) OnGuestSyncstatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSetAutoRenewTask) OnSetAutoRenewComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSetAutoRenewTask) OnSetAutoRenewCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestSoftResetTask
- type GuestStartAndSyncToBackupTask
- func (self *GuestStartAndSyncToBackupTask) OnCheckTemplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStartAndSyncToBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestStartAndSyncToBackupTask) OnRequestSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStartAndSyncToBackupTask) OnRequestSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStartAndSyncToBackupTask) OnStartBackupGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStartAndSyncToBackupTask) OnStartBackupGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestStartTask
- func (self *GuestStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestStartTask) OnStartComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestStartTask) OnStartCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestStartTask) RequestStart(ctx context.Context, guest *models.SGuest)
- type GuestStopAndFreezeTask
- func (self *GuestStopAndFreezeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestStopAndFreezeTask) OnStopGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStopAndFreezeTask) OnStopGuestFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (self *GuestStopAndFreezeTask) OnSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStopAndFreezeTask) OnSyncStatusFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestStopTask
- func (self *GuestStopTask) OnGuestStopTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStopTask) OnGuestStopTaskCompleteFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (self *GuestStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestSuspendTask
- func (self *GuestSuspendTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSuspendTask) OnSuspendComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSuspendTask) OnSuspendCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestSuspendTask) OnSuspendGuestFail(guest *models.SGuest, reason string)
- type GuestSwitchToBackupTask
- func (self *GuestSwitchToBackupTask) OnBackupGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSwitchToBackupTask) OnComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSwitchToBackupTask) OnEnsureMasterGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSwitchToBackupTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (self *GuestSwitchToBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSwitchToBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSwitchToBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestSyncConfTask
- func (self *GuestSyncConfTask) OnDiskSyncComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSyncConfTask) OnDiskSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSyncConfTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSyncConfTask) OnSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSyncConfTask) OnSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestSyncConfTask) OnSyncStatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSyncConfTask) OnSyncStatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestSyncstatusTask
- func (self *GuestSyncstatusTask) OnGetStatusComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *GuestSyncstatusTask) OnGetStatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *GuestSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type GuestUndeployTask
- func (self *GuestUndeployTask) OnGuestUndeployComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestUndeployTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestUndeployTask) OnMasterHostUndeployGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestUndeployTask) OnStartDeleteGuestFail(ctx context.Context, err error)
- type HADiskCreateTask
- func (self *HADiskCreateTask) OnBackupAllocateFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *HADiskCreateTask) OnBackupStorageCacheImageComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *HADiskCreateTask) OnDiskReady(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *HADiskCreateTask) OnSlaveDiskReady(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *HADiskCreateTask) OnStorageCacheImageComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- type HAGuestDeployTask
- func (self *HAGuestDeployTask) DeployBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestDeployTask) OnDeploySlaveGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestDeployTask) OnDeploySlaveGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestDeployTask) OnDeployWaitServerStop(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type HAGuestStartTask
- func (self *HAGuestStartTask) OnBackupGuestStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStartTask) OnBackupGuestStopCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *HAGuestStartTask) OnStartBackupGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStartTask) OnStartBackupGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStartTask) OnStartComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStartTask) RequestStartBacking(ctx context.Context, guest *models.SGuest)
- func (self *HAGuestStartTask) RequestStopBackupGuest(ctx context.Context, guest *models.SGuest)
- type HAGuestStopTask
- func (self *HAGuestStopTask) OnGuestStopTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStopTask) OnSlaveGuestStopTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HAGuestStopTask) OnSlaveGuestStopTaskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type HaGuestInsertIsoTask
- func (self *HaGuestInsertIsoTask) OnBackupIsoPrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HaGuestInsertIsoTask) OnBackupIsoPrepareCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HaGuestInsertIsoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type HostGuestsMigrateTask
- func (self *HostGuestsMigrateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *HostGuestsMigrateTask) OnMigrateComplete(ctx context.Context, objs []db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *HostGuestsMigrateTask) OnMigrateCompleteFailed(ctx context.Context, objs []db.IStandaloneModel, data jsonutils.JSONObject)
- type HostImportLibvirtServersTask
- func (self *HostImportLibvirtServersTask) CreateImportedLibvirtGuestOnHost(ctx context.Context, host *models.SHost, guest *models.SGuest, ...) error
- func (self *HostImportLibvirtServersTask) FillLibvirtGuestDesc(ctx context.Context, host *models.SHost, guestDesc *compute.SImportGuestDesc) error
- func (self *HostImportLibvirtServersTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *HostImportLibvirtServersTask) OnRequestHostPrepareImport(ctx context.Context, host *models.SHost, body jsonutils.JSONObject)
- func (self *HostImportLibvirtServersTask) RequestHostPrepareImport(ctx context.Context, host *models.SHost)
- func (self *HostImportLibvirtServersTask) StartImportServers(ctx context.Context, host *models.SHost, guestsDesc []compute.SImportGuestDesc)
- func (self *HostImportLibvirtServersTask) TaskFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
- type HostMaintainTask
- func (self *HostMaintainTask) OnGuestsMigrate(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
- func (self *HostMaintainTask) OnGuestsMigrateFailed(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
- func (self *HostMaintainTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *HostMaintainTask) TaskFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
- type HostStorageAttachTask
- func (self *HostStorageAttachTask) OnAttachStorageComplete(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
- func (self *HostStorageAttachTask) OnAttachStorageCompleteFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
- func (self *HostStorageAttachTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type HostStorageDetachTask
- func (self *HostStorageDetachTask) OnDetachStorageComplete(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
- func (self *HostStorageDetachTask) OnDetachStorageCompleteFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
- func (self *HostStorageDetachTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type HostSyncTask
- type HuaweiLoadbalancerLoadbalancerBackendGroupCreateTask
- type IScheduleModel
- type IScheduleTask
- type InstanceBackupCreateTask
- func (self *InstanceBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceBackupCreateTask) OnInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupCreateTask) OnInstanceBackupFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupCreateTask) OnKvmDisksSnapshot(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupCreateTask) OnKvmDisksSnapshotFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- type InstanceBackupDeleteTask
- func (self *InstanceBackupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceBackupDeleteTask) OnInstanceBackupDelete(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupDeleteTask) OnInstanceBackupDeleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupDeleteTask) OnKvmDiskBackupDelete(ctx context.Context, isp *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupDeleteTask) OnKvmDiskBackupDeleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- type InstanceBackupPackTask
- func (self *InstanceBackupPackTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceBackupPackTask) OnPackComplete(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupPackTask) OnPackCompleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- type InstanceBackupRecoveryTask
- func (self *InstanceBackupRecoveryTask) OnCreateGuest(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupRecoveryTask) OnCreateGuestFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupRecoveryTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type InstanceBackupSyncstatusTask
- func (self *InstanceBackupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceBackupSyncstatusTask) OnInstnaceBackupSyncstatus(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupSyncstatusTask) OnInstnaceBackupSyncstatusFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupSyncstatusTask) OnKvmBackupSyncstatus(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupSyncstatusTask) OnKvmBackupSyncstatusFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- type InstanceBackupUnpackTask
- func (self *InstanceBackupUnpackTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceBackupUnpackTask) OnUnpackComplete(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupUnpackTask) OnUnpackCompleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupUnpackTask) OnUnpackMetadata(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- func (self *InstanceBackupUnpackTask) OnUnpackMetadataFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
- type InstanceSnapshotAndCloneTask
- func (self *InstanceSnapshotAndCloneTask) OnCreateInstanceSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotAndCloneTask) OnCreateInstanceSnapshotFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotAndCloneTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceSnapshotAndCloneTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
- type InstanceSnapshotCreateTask
- func (self *InstanceSnapshotCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceSnapshotCreateTask) OnInstanceSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotCreateTask) OnInstanceSnapshotFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotCreateTask) OnKvmDiskSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotCreateTask) OnKvmDiskSnapshotFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotCreateTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
- type InstanceSnapshotDeleteTask
- func (self *InstanceSnapshotDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceSnapshotDeleteTask) OnInstanceSnapshotDelete(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotDeleteTask) OnInstanceSnapshotDeleteFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotDeleteTask) OnKvmSnapshotDelete(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotDeleteTask) OnKvmSnapshotDeleteFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- type InstanceSnapshotResetTask
- func (self *InstanceSnapshotResetTask) OnGuestStartComplete(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InstanceSnapshotResetTask) OnInstanceSnapshotReset(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotResetTask) OnInstanceSnapshotResetFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotResetTask) OnKvmDiskReset(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- func (self *InstanceSnapshotResetTask) OnKvmDiskResetFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
- type InterVpcNetworkAddVpcTask
- func (self *InterVpcNetworkAddVpcTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *InterVpcNetworkAddVpcTask) OnSyncInterVpcNetworkComplete(ctx context.Context, network *models.SInterVpcNetwork, ...)
- func (self *InterVpcNetworkAddVpcTask) OnSyncInterVpcNetworkCompleteFailed(ctx context.Context, network *models.SInterVpcNetwork, ...)
- type InterVpcNetworkCreateTask
- type InterVpcNetworkDeleteTask
- type InterVpcNetworkRemoveVpcTask
- func (self *InterVpcNetworkRemoveVpcTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InterVpcNetworkRemoveVpcTask) OnSyncInterVpcNetworkComplete(ctx context.Context, network *models.SInterVpcNetwork, ...)
- func (self *InterVpcNetworkRemoveVpcTask) OnSyncInterVpcNetworkCompleteFailed(ctx context.Context, network *models.SInterVpcNetwork, ...)
- type InterVpcNetworkSyncstatusTask
- type InterVpcNetworkUpdateRoutesetTask
- func (self *InterVpcNetworkUpdateRoutesetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *InterVpcNetworkUpdateRoutesetTask) OnSyncInterVpcNetworkComplete(ctx context.Context, network *models.SInterVpcNetwork, ...)
- func (self *InterVpcNetworkUpdateRoutesetTask) OnSyncInterVpcNetworkCompleteFailed(ctx context.Context, network *models.SInterVpcNetwork, ...)
- type KVMGuestCreateDiskTask
- func (self *KVMGuestCreateDiskTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KVMGuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KVMGuestCreateDiskTask) OnKvmDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type KVMGuestRebuildRootTask
- func (self *KVMGuestRebuildRootTask) OnGuestDeployComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KVMGuestRebuildRootTask) OnGuestDeployCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KVMGuestRebuildRootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KVMGuestRebuildRootTask) OnRebuildRootDiskComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KVMGuestRebuildRootTask) OnRebuildRootDiskCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type KafkaDeleteTask
- type KafkaSyncstatusTask
- type KubeClusterDeleteTask
- type KubeClusterSyncstatusTask
- type LoadbalancerAclCreateTask
- func (self *LoadbalancerAclCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateComplete(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, ...)
- func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateCompleteFailed(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, ...)
- type LoadbalancerAclDeleteTask
- func (self *LoadbalancerAclDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteComplete(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, ...)
- func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteCompleteFailed(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, ...)
- type LoadbalancerAclSyncTask
- func (self *LoadbalancerAclSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclSyncTask) OnLoadbalancerAclSyncComplete(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, ...)
- func (self *LoadbalancerAclSyncTask) OnLoadbalancerAclSyncCompleteFailed(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, ...)
- type LoadbalancerBackendCreateTask
- func (self *LoadbalancerBackendCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerBackendCreateTask) OnLoadbalancerBackendCreateComplete(ctx context.Context, lbb *models.SLoadbalancerBackend, ...)
- func (self *LoadbalancerBackendCreateTask) OnLoadbalancerBackendCreateCompleteFailed(ctx context.Context, lbb *models.SLoadbalancerBackend, ...)
- type LoadbalancerBackendDeleteTask
- func (self *LoadbalancerBackendDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerBackendDeleteTask) OnLoadbalancerBackendDeleteComplete(ctx context.Context, lbb *models.SLoadbalancerBackend, ...)
- func (self *LoadbalancerBackendDeleteTask) OnLoadbalancerBackendDeleteCompleteFailed(ctx context.Context, lbb *models.SLoadbalancerBackend, ...)
- type LoadbalancerBackendGroupDeleteTask
- func (self *LoadbalancerBackendGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerBackendGroupDeleteTask) OnLoadbalancerBackendGroupDeleteComplete(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, ...)
- func (self *LoadbalancerBackendGroupDeleteTask) OnLoadbalancerBackendGroupDeleteCompleteFailed(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, ...)
- type LoadbalancerBackendSyncTask
- func (self *LoadbalancerBackendSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerBackendSyncTask) OnLoadbalancerBackendCreateComplete(ctx context.Context, lbb *models.SLoadbalancerBackend, ...)
- func (self *LoadbalancerBackendSyncTask) OnLoadbalancerBackendCreateCompleteFailed(ctx context.Context, lbb *models.SLoadbalancerBackend, ...)
- type LoadbalancerCertificateCreateTask
- func (self *LoadbalancerCertificateCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateComplete(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, ...)
- func (self *LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateCompleteFailed(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, ...)
- type LoadbalancerCertificateDeleteTask
- func (self *LoadbalancerCertificateDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteComplete(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, ...)
- func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteCompleteFailed(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, ...)
- type LoadbalancerCreateTask
- func (self *LoadbalancerCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerCreateTask) OnLoadbalancerCreateComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerCreateTask) OnLoadbalancerCreateCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
- func (self *LoadbalancerCreateTask) OnLoadbalancerStartComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerCreateTask) OnLoadbalancerStartCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
- type LoadbalancerDeleteTask
- func (self *LoadbalancerDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerDeleteTask) OnLoadbalancerDeleteComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerDeleteTask) OnLoadbalancerDeleteCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
- type LoadbalancerListenerCreateTask
- func (self *LoadbalancerListenerCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerCreateComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerCreateCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerStartComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerStartCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerCreateTask) OnPrepareLoadbalancerBackendgroup(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerCreateTask) OnPrepareLoadbalancerBackendgroupFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- type LoadbalancerListenerDeleteTask
- func (self *LoadbalancerListenerDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerDeleteTask) OnLoadbalancerListenerDeleteComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerDeleteTask) OnLoadbalancerListenerDeleteCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- type LoadbalancerListenerRuleCreateTask
- func (self *LoadbalancerListenerRuleCreateTask) OnCreateLoadbalancerListenerRule(ctx context.Context, lbr *models.SLoadbalancerListenerRule, ...)
- func (self *LoadbalancerListenerRuleCreateTask) OnCreateLoadbalancerListenerRuleFailed(ctx context.Context, lbr *models.SLoadbalancerListenerRule, ...)
- func (self *LoadbalancerListenerRuleCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerRuleCreateTask) OnLoadbalancerListenerRuleCreateComplete(ctx context.Context, lbr *models.SLoadbalancerListenerRule, ...)
- func (self *LoadbalancerListenerRuleCreateTask) OnLoadbalancerListenerRuleCreateCompleteFailed(ctx context.Context, lbr *models.SLoadbalancerListenerRule, ...)
- func (self *LoadbalancerListenerRuleCreateTask) OnPrepareLoadbalancerBackendgroup(ctx context.Context, region *models.SCloudregion, ...)
- type LoadbalancerListenerRuleDeleteTask
- func (self *LoadbalancerListenerRuleDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerRuleDeleteTask) OnLoadbalancerListenerRuleDeleteComplete(ctx context.Context, lbr *models.SLoadbalancerListenerRule, ...)
- func (self *LoadbalancerListenerRuleDeleteTask) OnLoadbalancerListenerRuleDeleteCompleteFailed(ctx context.Context, lbr *models.SLoadbalancerListenerRule, ...)
- type LoadbalancerListenerStartTask
- func (self *LoadbalancerListenerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerStartTask) OnLoadbalancerListenerStartComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerStartTask) OnLoadbalancerListenerStartCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- type LoadbalancerListenerStopTask
- func (self *LoadbalancerListenerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerStopTask) OnLoadbalancerListenerStopComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerStopTask) OnLoadbalancerListenerStopCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- type LoadbalancerListenerSyncTask
- func (self *LoadbalancerListenerSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerSyncTask) OnLoadbalancerBackendgroupSyncComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerSyncTask) OnLoadbalancerBackendgroupSyncCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncStatusComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncStatusCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- type LoadbalancerListenerSyncstatusTask
- func (self *LoadbalancerListenerSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerListenerSyncstatusTask) OnLoadbalancerListenerSyncstatusComplete(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- func (self *LoadbalancerListenerSyncstatusTask) OnLoadbalancerListenerSyncstatusCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, ...)
- type LoadbalancerLoadbalancerBackendGroupCreateTask
- func (self *LoadbalancerLoadbalancerBackendGroupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerLoadbalancerBackendGroupCreateTask) OnLoadbalancerBackendGroupCreateComplete(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, ...)
- func (self *LoadbalancerLoadbalancerBackendGroupCreateTask) OnLoadbalancerBackendGroupCreateCompleteFailed(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, ...)
- type LoadbalancerRemoteUpdateTask
- func (self *LoadbalancerRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- type LoadbalancerStartTask
- func (self *LoadbalancerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerStartTask) OnLoadbalancerStartComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerStartTask) OnLoadbalancerStartCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
- type LoadbalancerStopTask
- func (self *LoadbalancerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerStopTask) OnLoadbalancerStopComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerStopTask) OnLoadbalancerStopCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
- type LoadbalancerSyncstatusTask
- func (self *LoadbalancerSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerSyncstatusTask) OnLoadbalancerSyncstatusComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
- func (self *LoadbalancerSyncstatusTask) OnLoadbalancerSyncstatusCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
- type ManagedGuestCreateDiskTask
- type ManagedGuestLiveMigrateTask
- func (self *ManagedGuestLiveMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestLiveMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestLiveMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestLiveMigrateTask) OnMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestLiveMigrateTask) OnMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type ManagedGuestMigrateTask
- func (self *ManagedGuestMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnMigrateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestMigrateTask) OnMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type ManagedGuestRebuildRootTask
- func (self *ManagedGuestRebuildRootTask) OnGuestDeployComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestRebuildRootTask) OnGuestDeployCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestRebuildRootTask) OnHostCacheImageComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestRebuildRootTask) OnHostCacheImageCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ManagedGuestRebuildRootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type ModelartsPoolChangeConfigTask
- type ModelartsPoolCreateTask
- func (modelartsCreateTask *ModelartsPoolCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (modelartsCreateTask *ModelartsPoolCreateTask) OnModelartsPoolCreateComplete(ctx context.Context, modelarts *models.SModelartsPool, ...)
- func (modelartsCreateTask *ModelartsPoolCreateTask) OnModelartsPoolCreateCompleteFailed(ctx context.Context, modelarts *models.SModelartsPool, ...)
- func (modelartsCreateTask *ModelartsPoolCreateTask) WaitStatus(ctx context.Context, ipool cloudprovider.ICloudModelartsPool, ...) error
- type ModelartsPoolDeleteTask
- type ModelartsPoolSyncstatusTask
- type MongoDBDeleteTask
- type MongoDBRemoteUpdateTask
- func (self *MongoDBRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *MongoDBRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, mongodb *models.SMongoDB, data jsonutils.JSONObject)
- func (self *MongoDBRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, mongodb *models.SMongoDB, data jsonutils.JSONObject)
- func (self *MongoDBRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, mongodb *models.SMongoDB, data jsonutils.JSONObject)
- type MongoDBSyncstatusTask
- type MountTargetCreateTask
- func (self *MountTargetCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *MountTargetCreateTask) OnSyncAccessGroupComplete(ctx context.Context, mt *models.SMountTarget, data jsonutils.JSONObject)
- func (self *MountTargetCreateTask) OnSyncAccessGroupCompleteFailed(ctx context.Context, mt *models.SMountTarget, data jsonutils.JSONObject)
- type MountTargetDeleteTask
- type MountTargetSyncstatusTask
- type NatGatewayCreateTask
- func (self *NatGatewayCreateTask) OnCreateNatGatewayCreateComplete(ctx context.Context, nat *models.SNatGateway, body jsonutils.JSONObject)
- func (self *NatGatewayCreateTask) OnCreateNatGatewayCreateCompleteFailed(ctx context.Context, nat *models.SNatGateway, body jsonutils.JSONObject)
- func (self *NatGatewayCreateTask) OnDeployEipComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayCreateTask) OnDeployEipCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *NatGatewayCreateTask) OnSyncstatusComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- type NatGatewayDeleteTask
- func (self *NatGatewayDeleteTask) OnEipDissociateComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayDeleteTask) OnEipDissociateCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type NatGatewayRemoteUpdateTask
- func (self *NatGatewayRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *NatGatewayRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- type NatGatewayRenewTask
- func (self *NatGatewayRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *NatGatewayRenewTask) OnSyncstatusComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewayRenewTask) OnSyncstatusCompleteFailed(ctx context.Context, nat *models.SNatGateway, reason jsonutils.JSONObject)
- type NatGatewaySetAutoRenewTask
- func (self *NatGatewaySetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *NatGatewaySetAutoRenewTask) OnNatGatewaySyncComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- func (self *NatGatewaySetAutoRenewTask) OnNatGatewaySyncCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
- type NatGatewaySyncstatusTask
- func (self *NatGatewaySyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *NatGatewaySyncstatusTask) OnNatGatewaySyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *NatGatewaySyncstatusTask) OnNatGatewaySyncStatusCompleteFailed(ctx context.Context, natgateway *models.SNatGateway, data jsonutils.JSONObject)
- type Net
- type NetworkCreateTask
- type NetworkDeleteTask
- type NetworkSyncstatusTask
- type NetworksUnderWireMergeTask
- type NutanixGuestCreateDiskTask
- type OpenstackLoadbalancerLoadbalancerBackendGroupCreateTask
- type PrepaidRecycleHostRenewTask
- type RbdStorageUpdateTask
- type RouteTableSyncStatusTask
- type RouteTableUpdateTask
- func (self *RouteTableUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *RouteTableUpdateTask) OnSyncRouteTableComplete(ctx context.Context, routeTable *models.SRouteTable, data jsonutils.JSONObject)
- func (self *RouteTableUpdateTask) OnSyncRouteTableCompleteFailed(ctx context.Context, routeTable *models.SRouteTable, data jsonutils.JSONObject)
- type SBaremetalBaseTask
- type SDiskBaseTask
- type SGuestBaseTask
- type SGuestCreateDiskBaseTask
- type SGuestQgaBaseTask
- type SNatDEntryCreateTask
- func (self *SNatDEntryCreateTask) OnAssociateEipComplete(ctx context.Context, dnat *models.SNatDEntry, body jsonutils.JSONObject)
- func (self *SNatDEntryCreateTask) OnAssociateEipCompleteFailed(ctx context.Context, dnat *models.SNatDEntry, reason jsonutils.JSONObject)
- func (self *SNatDEntryCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type SNatDEntryDeleteTask
- type SNatSEntryCreateTask
- func (self *SNatSEntryCreateTask) OnAssociateEipComplete(ctx context.Context, snat *models.SNatSEntry, body jsonutils.JSONObject)
- func (self *SNatSEntryCreateTask) OnAssociateEipCompleteFailed(ctx context.Context, snatEntry *models.SNatSEntry, reason jsonutils.JSONObject)
- func (self *SNatSEntryCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type SNatSEntryDeleteTask
- type SSHable
- type SScalingActionDesc
- type SScalingTriggerDesc
- type SSchedTask
- func (self *SSchedTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
- func (self *SSchedTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
- func (self *SSchedTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (self *SSchedTask) OnStartSchedule(obj IScheduleModel)
- func (self *SSchedTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
- func (self *SSchedTask) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, ...)
- type ScalingGroupDeleteTask
- type SecurityGroupCacheDeleteTask
- type SecurityGroupCacheSyncstatusTask
- type SecurityGroupCacheTask
- func (self *SecurityGroupCacheTask) OnCacheSecurityGroupComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SecurityGroupCacheTask) OnCacheSecurityGroupCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *SecurityGroupCacheTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type SecurityGroupDeleteTask
- type SecurityGroupSyncRulesTask
- type ServerSkuCreateTask
- type ServerSkuDeleteTask
- type SnapshotCleanupTask
- func (self *SnapshotCleanupTask) OnDeleteSnapshot(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotCleanupTask) OnDeleteSnapshotFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotCleanupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotCleanupTask) OnInitFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotCleanupTask) StartSnapshotsDelete(ctx context.Context, snapshots []models.SSnapshot)
- type SnapshotCreateTask
- func (self *SnapshotCreateTask) DoDiskSnapshot(ctx context.Context, snapshot *models.SSnapshot)
- func (self *SnapshotCreateTask) OnCreateSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotCreateTask) OnCreateSnapshotFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotCreateTask) TaskComplete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotCreateTask) TaskFailed(ctx context.Context, snapshot *models.SSnapshot, reason jsonutils.JSONObject)
- type SnapshotDeleteTask
- func (self *SnapshotDeleteTask) OnDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnDeleteSnapshotFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnKvmSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnManagedSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnReloadDiskSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnRequestSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) OnRequestSnapshotFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) TaskComplete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- func (self *SnapshotDeleteTask) TaskFailed(ctx context.Context, snapshot *models.SSnapshot, reason jsonutils.JSONObject)
- type SnapshotPolicyApplyTask
- func (self *SnapshotPolicyApplyTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotPolicyApplyTask) OnPreSnapshotPolicyApplyComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *SnapshotPolicyApplyTask) OnPreSnapshotPolicyApplyCompleteFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
- func (self *SnapshotPolicyApplyTask) OnSnapshotPolicyApply(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *SnapshotPolicyApplyTask) OnSnapshotPolicyApplyFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
- type SnapshotPolicyCacheDeleteTask
- type SnapshotPolicyCancelTask
- func (self *SnapshotPolicyCancelTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotPolicyCancelTask) OnSnapshotPolicyCancel(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (self *SnapshotPolicyCancelTask) OnSnapshotPolicyCancelFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
- type SnapshotPolicyDeleteTask
- func (self *SnapshotPolicyDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotPolicyDeleteTask) OnSnapshotPolicyDeleteComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- func (self *SnapshotPolicyDeleteTask) OnSnapshotPolicyDeleteCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- type SnapshotSyncstatusTask
- func (self *SnapshotSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotSyncstatusTask) OnSnapshotSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SnapshotSyncstatusTask) OnSnapshotSyncStatusCompleteFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
- type StorageCacheImageTask
- func (self *StorageCacheImageTask) OnCacheFailed(ctx context.Context, cache *models.SStoragecache, imageId string, ...)
- func (self *StorageCacheImageTask) OnCacheSucc(ctx context.Context, cache *models.SStoragecache, data *jsonutils.JSONDict)
- func (self *StorageCacheImageTask) OnImageCacheComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageCacheImageTask) OnImageCacheCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageCacheImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageCacheImageTask) OnRelinquishLeastUsedCachedImageComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type StorageDeleteRbdDiskTask
- func (self *StorageDeleteRbdDiskTask) DeleteDisk(ctx context.Context, storage *models.SStorage, data jsonutils.JSONObject)
- func (self *StorageDeleteRbdDiskTask) OnDeleteDisk(ctx context.Context, storage *models.SStorage, data jsonutils.JSONObject)
- func (self *StorageDeleteRbdDiskTask) OnDeleteDiskFailed(ctx context.Context, storage *models.SStorage, data jsonutils.JSONObject)
- func (self *StorageDeleteRbdDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type StorageUncacheImageTask
- func (self *StorageUncacheImageTask) OnImageUncacheComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageUncacheImageTask) OnImageUncacheCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageUncacheImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageUncacheImageTask) OnTaskFailed(ctx context.Context, storageCache *models.SStoragecache, ...)
- type StorageUpdateTask
- func (self *StorageUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageUpdateTask) OnStorageUpdate(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StorageUpdateTask) OnStorageUpdateFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type VpcCreateTask
- func (self *VpcCreateTask) OnCreateVpcComplete(ctx context.Context, vpc *models.SVpc, data jsonutils.JSONObject)
- func (self *VpcCreateTask) OnCreateVpcCompleteFailed(ctx context.Context, vpc *models.SVpc, data jsonutils.JSONObject)
- func (self *VpcCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type VpcDeleteTask
- func (self *VpcDeleteTask) OnDeleteVpcComplete(ctx context.Context, vpc *models.SVpc, body jsonutils.JSONObject)
- func (self *VpcDeleteTask) OnDeleteVpcCompleteFailed(ctx context.Context, vpc *models.SVpc, reason jsonutils.JSONObject)
- func (self *VpcDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type VpcPeeringConnectionCreateTask
- type VpcPeeringConnectionDeleteTask
- type VpcPeeringConnectionSyncstatusTask
- type VpcSyncstatusTask
- type WafCreateTask
- type WafDeleteTask
- type WafIPSetCacheDeleteTask
- type WafIPSetDeleteTask
- type WafInstanceRemoteUpdateTask
- func (self *WafInstanceRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *WafInstanceRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, waf *models.SWafInstance, data jsonutils.JSONObject)
- func (self *WafInstanceRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, waf *models.SWafInstance, data jsonutils.JSONObject)
- func (self *WafInstanceRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, waf *models.SWafInstance, data jsonutils.JSONObject)
- type WafRegexSetCacheDeleteTask
- type WafRegexSetDeleteTask
- type WafRuleCreateTask
- type WafRuleDeleteTask
- type WafRuleSyncstatusTask
- type WafRuleUpdateTask
- type WafSyncstatusTask
Constants ¶
This section is empty.
Variables ¶
View Source
var (
STORAGEIDS = "storage_ids"
)
Functions ¶
func ClearTaskPendingUsage ¶
func InitCloudproviderSyncWorkers ¶
func InitCloudproviderSyncWorkers(count int)
func StartScheduleObjects ¶
func StartScheduleObjects( ctx context.Context, task IScheduleTask, objs []db.IStandaloneModel, )
Types ¶
type AccessGroupCacheDeleteTask ¶
func (*AccessGroupCacheDeleteTask) OnInit ¶
func (self *AccessGroupCacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type AccessGroupDeleteTask ¶
func (*AccessGroupDeleteTask) OnInit ¶
func (self *AccessGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type AccessGroupSyncRulesTask ¶
func (*AccessGroupSyncRulesTask) OnInit ¶
func (self *AccessGroupSyncRulesTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type AccessGroupSyncstatusTask ¶
func (*AccessGroupSyncstatusTask) OnInit ¶
func (self *AccessGroupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type AppRemoteUpdateTask ¶
func (*AppRemoteUpdateTask) OnInit ¶
func (self *AppRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*AppRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *AppRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, app *models.SApp, data jsonutils.JSONObject)
func (*AppRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *AppRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, app *models.SApp, data jsonutils.JSONObject)
func (*AppRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *AppRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, app *models.SApp, data jsonutils.JSONObject)
type AppSyncstatusTask ¶
func (*AppSyncstatusTask) OnInit ¶
func (at *AppSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type AwsLoadbalancerLoadbalancerBackendGroupCreateTask ¶
type AwsLoadbalancerLoadbalancerBackendGroupCreateTask struct {
LoadbalancerLoadbalancerBackendGroupCreateTask
}
func (*AwsLoadbalancerLoadbalancerBackendGroupCreateTask) OnInit ¶
func (self *AwsLoadbalancerLoadbalancerBackendGroupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type BackupStorageSyncstatusTask ¶
func (*BackupStorageSyncstatusTask) OnBackupStorageSyncStatus ¶
func (self *BackupStorageSyncstatusTask) OnBackupStorageSyncStatus(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*BackupStorageSyncstatusTask) OnBackupStorageSyncStatusFailed ¶
func (self *BackupStorageSyncstatusTask) OnBackupStorageSyncStatusFailed(ctx context.Context, backup *models.SBackupStorage, data jsonutils.JSONObject)
func (*BackupStorageSyncstatusTask) OnInit ¶
func (self *BackupStorageSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type BaremetalCdromTask ¶
type BaremetalCdromTask struct {
SBaremetalBaseTask
}
func (*BaremetalCdromTask) OnFailure ¶
func (self *BaremetalCdromTask) OnFailure(ctx context.Context, baremetal *models.SHost, reason jsonutils.JSONObject)
func (*BaremetalCdromTask) OnInit ¶
func (self *BaremetalCdromTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalCdromTask) OnSyncConfigComplete ¶
func (self *BaremetalCdromTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalCdromTask) OnSyncConfigCompleteFailed ¶
func (self *BaremetalCdromTask) OnSyncConfigCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BaremetalConvertHypervisorTask ¶
func (*BaremetalConvertHypervisorTask) OnFailedSyncstatusComplete ¶
func (self *BaremetalConvertHypervisorTask) OnFailedSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalConvertHypervisorTask) OnGuestDeleteComplete ¶
func (self *BaremetalConvertHypervisorTask) OnGuestDeleteComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalConvertHypervisorTask) OnGuestDeployComplete ¶
func (self *BaremetalConvertHypervisorTask) OnGuestDeployComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalConvertHypervisorTask) OnGuestDeployCompleteFailed ¶
func (self *BaremetalConvertHypervisorTask) OnGuestDeployCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalConvertHypervisorTask) OnInit ¶
func (self *BaremetalConvertHypervisorTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BaremetalCreateTask ¶
type BaremetalCreateTask struct {
SBaremetalBaseTask
}
func (*BaremetalCreateTask) OnInit ¶
func (self *BaremetalCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalCreateTask) OnIpmiProbeComplete ¶
func (self *BaremetalCreateTask) OnIpmiProbeComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalCreateTask) OnIpmiProbeCompleteFailed ¶
func (self *BaremetalCreateTask) OnIpmiProbeCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalCreateTask) OnPrepareComplete ¶
func (self *BaremetalCreateTask) OnPrepareComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalCreateTask) OnPrepareCompleteFailed ¶
func (self *BaremetalCreateTask) OnPrepareCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BaremetalDeleteTask ¶
type BaremetalDeleteTask struct {
SBaremetalBaseTask
}
func (*BaremetalDeleteTask) OnDeleteBaremetalComplete ¶
func (self *BaremetalDeleteTask) OnDeleteBaremetalComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalDeleteTask) OnDeleteBaremetalCompleteFailed ¶
func (self *BaremetalDeleteTask) OnDeleteBaremetalCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalDeleteTask) OnFailure ¶
func (self *BaremetalDeleteTask) OnFailure(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalDeleteTask) OnInit ¶
func (self *BaremetalDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BaremetalIpmiProbeTask ¶
type BaremetalIpmiProbeTask struct {
SBaremetalBaseTask
}
func (*BaremetalIpmiProbeTask) OnFailure ¶
func (self *BaremetalIpmiProbeTask) OnFailure(ctx context.Context, baremetal *models.SHost, reason jsonutils.JSONObject)
func (*BaremetalIpmiProbeTask) OnInit ¶
func (self *BaremetalIpmiProbeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalIpmiProbeTask) OnSyncConfigComplete ¶
func (self *BaremetalIpmiProbeTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalIpmiProbeTask) OnSyncConfigCompleteFailed ¶
func (self *BaremetalIpmiProbeTask) OnSyncConfigCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BaremetalMaintenanceTask ¶
type BaremetalMaintenanceTask struct {
SBaremetalBaseTask
}
func (*BaremetalMaintenanceTask) OnEnterMaintenantModeSucc ¶
func (self *BaremetalMaintenanceTask) OnEnterMaintenantModeSucc(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalMaintenanceTask) OnEnterMaintenantModeSuccFailed ¶
func (self *BaremetalMaintenanceTask) OnEnterMaintenantModeSuccFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalMaintenanceTask) OnInit ¶
func (self *BaremetalMaintenanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BaremetalPrepareTask ¶
type BaremetalPrepareTask struct {
SBaremetalBaseTask
}
func (*BaremetalPrepareTask) OnFailure ¶
func (self *BaremetalPrepareTask) OnFailure(ctx context.Context, baremetal *models.SHost, reason jsonutils.JSONObject)
func (*BaremetalPrepareTask) OnInit ¶
func (self *BaremetalPrepareTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalPrepareTask) OnSyncConfigComplete ¶
func (self *BaremetalPrepareTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalPrepareTask) OnSyncConfigCompleteFailed ¶
func (self *BaremetalPrepareTask) OnSyncConfigCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BaremetalServerResetTask ¶
type BaremetalServerResetTask struct {
SGuestBaseTask
}
func (*BaremetalServerResetTask) OnInit ¶
func (self *BaremetalServerResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BaremetalServerStartTask ¶
type BaremetalServerStartTask struct {
SGuestBaseTask
}
func (*BaremetalServerStartTask) OnInit ¶
func (self *BaremetalServerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalServerStartTask) OnStartComplete ¶
func (self *BaremetalServerStartTask) OnStartComplete(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
func (*BaremetalServerStartTask) OnStartCompleteFailed ¶
func (self *BaremetalServerStartTask) OnStartCompleteFailed(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
type BaremetalServerStopTask ¶
type BaremetalServerStopTask struct {
SGuestBaseTask
}
func (*BaremetalServerStopTask) OnGuestStopTaskComplete ¶
func (self *BaremetalServerStopTask) OnGuestStopTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*BaremetalServerStopTask) OnGuestStopTaskCompleteFailed ¶
func (self *BaremetalServerStopTask) OnGuestStopTaskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*BaremetalServerStopTask) OnInit ¶
func (self *BaremetalServerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalServerStopTask) OnStopGuestFail ¶
type BaremetalServerSyncStatusTask ¶
type BaremetalServerSyncStatusTask struct {
SGuestBaseTask
}
func (*BaremetalServerSyncStatusTask) OnGetStatusFail ¶
func (self *BaremetalServerSyncStatusTask) OnGetStatusFail(ctx context.Context, guest *models.SGuest)
func (*BaremetalServerSyncStatusTask) OnGuestStatusTaskComplete ¶
func (self *BaremetalServerSyncStatusTask) OnGuestStatusTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*BaremetalServerSyncStatusTask) OnGuestStatusTaskCompleteFailed ¶
func (self *BaremetalServerSyncStatusTask) OnGuestStatusTaskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*BaremetalServerSyncStatusTask) OnInit ¶
func (self *BaremetalServerSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type BaremetalSyncAllGuestsStatusTask ¶
type BaremetalSyncAllGuestsStatusTask struct {
SBaremetalBaseTask
}
func (*BaremetalSyncAllGuestsStatusTask) OnGuestSyncStatusComplete ¶
func (self *BaremetalSyncAllGuestsStatusTask) OnGuestSyncStatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalSyncAllGuestsStatusTask) OnGuestSyncStatusCompleteFailed ¶
func (self *BaremetalSyncAllGuestsStatusTask) OnGuestSyncStatusCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalSyncAllGuestsStatusTask) OnInit ¶
func (self *BaremetalSyncAllGuestsStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BaremetalSyncConfigTask ¶
type BaremetalSyncConfigTask struct {
SBaremetalBaseTask
}
func (*BaremetalSyncConfigTask) DoSyncConfig ¶
func (self *BaremetalSyncConfigTask) DoSyncConfig(ctx context.Context, baremetal *models.SHost)
func (*BaremetalSyncConfigTask) OnInit ¶
func (self *BaremetalSyncConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalSyncConfigTask) OnSyncConfigComplete ¶
func (self *BaremetalSyncConfigTask) OnSyncConfigComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalSyncConfigTask) OnSyncstatusComplete ¶
func (self *BaremetalSyncConfigTask) OnSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BaremetalSyncStatusTask ¶
type BaremetalSyncStatusTask struct {
SBaremetalBaseTask
}
func (*BaremetalSyncStatusTask) DoSyncStatus ¶
func (self *BaremetalSyncStatusTask) DoSyncStatus(ctx context.Context, baremetal *models.SHost)
func (*BaremetalSyncStatusTask) OnInit ¶
func (self *BaremetalSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalSyncStatusTask) OnSyncstatusComplete ¶
func (self *BaremetalSyncStatusTask) OnSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalSyncStatusTask) OnSyncstatusCompleteFailed ¶
func (self *BaremetalSyncStatusTask) OnSyncstatusCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BaremetalUnconvertHypervisorTask ¶
type BaremetalUnconvertHypervisorTask struct {
SBaremetalBaseTask
}
func (*BaremetalUnconvertHypervisorTask) OnFailSyncstatusComplete ¶
func (self *BaremetalUnconvertHypervisorTask) OnFailSyncstatusComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalUnconvertHypervisorTask) OnGuestDeleteComplete ¶
func (self *BaremetalUnconvertHypervisorTask) OnGuestDeleteComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalUnconvertHypervisorTask) OnGuestDeleteCompleteFailed ¶
func (self *BaremetalUnconvertHypervisorTask) OnGuestDeleteCompleteFailed(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
func (*BaremetalUnconvertHypervisorTask) OnInit ¶
func (self *BaremetalUnconvertHypervisorTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalUnconvertHypervisorTask) OnPrepareComplete ¶
func (self *BaremetalUnconvertHypervisorTask) OnPrepareComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BaremetalUnmaintenanceTask ¶
type BaremetalUnmaintenanceTask struct {
SBaremetalBaseTask
}
func (*BaremetalUnmaintenanceTask) OnInit ¶
func (self *BaremetalUnmaintenanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*BaremetalUnmaintenanceTask) OnUnmaintenantComplete ¶
func (self *BaremetalUnmaintenanceTask) OnUnmaintenantComplete(ctx context.Context, baremetal *models.SHost, body jsonutils.JSONObject)
type BatchSnapshotsDeleteTask ¶
func (*BatchSnapshotsDeleteTask) OnInit ¶
func (self *BatchSnapshotsDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*BatchSnapshotsDeleteTask) OnStorageDeleteSnapshot ¶
func (self *BatchSnapshotsDeleteTask) OnStorageDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*BatchSnapshotsDeleteTask) StartStorageDeleteSnapshot ¶
func (self *BatchSnapshotsDeleteTask) StartStorageDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot)
type BucketCreateTask ¶
func (*BucketCreateTask) OnInit ¶
func (task *BucketCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BucketDeleteTask ¶
func (*BucketDeleteTask) OnInit ¶
func (task *BucketDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type BucketSyncstatusTask ¶
func (*BucketSyncstatusTask) OnBucketSyncStatusComplete ¶
func (self *BucketSyncstatusTask) OnBucketSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*BucketSyncstatusTask) OnBucketSyncStatusCompleteFailed ¶
func (self *BucketSyncstatusTask) OnBucketSyncStatusCompleteFailed(ctx context.Context, bucket *models.SBucket, data jsonutils.JSONObject)
func (*BucketSyncstatusTask) OnInit ¶
func (self *BucketSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type CANetConf ¶
type CANetConf struct { CASimpleNetConf Name string `json:"name"` Description string `json:"description"` }
type CASimpleNetConf ¶
type CDNDomainCreateTask ¶
func (*CDNDomainCreateTask) OnInit ¶
func (self *CDNDomainCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CDNDomainCreateTask) OnSyncstatusComplete ¶
func (self *CDNDomainCreateTask) OnSyncstatusComplete(ctx context.Context, domain *models.SCDNDomain, data jsonutils.JSONObject)
func (*CDNDomainCreateTask) OnSyncstatusCompleteFailed ¶
func (self *CDNDomainCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, domain *models.SCDNDomain, data jsonutils.JSONObject)
type CDNDomainDeleteTask ¶
func (*CDNDomainDeleteTask) OnInit ¶
func (self *CDNDomainDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CDNDomainRemoteUpdateTask ¶
func (*CDNDomainRemoteUpdateTask) OnInit ¶
func (self *CDNDomainRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*CDNDomainRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *CDNDomainRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, cdn *models.SCDNDomain, data jsonutils.JSONObject)
func (*CDNDomainRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *CDNDomainRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, cdn *models.SCDNDomain, data jsonutils.JSONObject)
func (*CDNDomainRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *CDNDomainRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, cdn *models.SCDNDomain, data jsonutils.JSONObject)
type CDNDomainSyncstatusTask ¶
func (*CDNDomainSyncstatusTask) OnInit ¶
func (self *CDNDomainSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type CloudAccountDeleteTask ¶
func (*CloudAccountDeleteTask) OnAllCloudProviderDeleteComplete ¶
func (self *CloudAccountDeleteTask) OnAllCloudProviderDeleteComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudAccountDeleteTask) OnAllCloudProviderDeleteCompleteFailed ¶
func (self *CloudAccountDeleteTask) OnAllCloudProviderDeleteCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudAccountDeleteTask) OnInit ¶
func (self *CloudAccountDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CloudAccountSyncInfoTask ¶
func (*CloudAccountSyncInfoTask) OnCloudaccountSyncComplete ¶
func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*CloudAccountSyncInfoTask) OnCloudaccountSyncCompleteFailed ¶
func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*CloudAccountSyncInfoTask) OnCloudaccountSyncReady ¶
func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncReady(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudAccountSyncInfoTask) OnCloudaccountSyncReadyFailed ¶
func (self *CloudAccountSyncInfoTask) OnCloudaccountSyncReadyFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*CloudAccountSyncInfoTask) OnInit ¶
func (self *CloudAccountSyncInfoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CloudAccountSyncSkusTask ¶
func (*CloudAccountSyncSkusTask) OnInit ¶
func (self *CloudAccountSyncSkusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CloudAccountSyncVMwareNetworkTask ¶
func (*CloudAccountSyncVMwareNetworkTask) OnInit ¶
func (self *CloudAccountSyncVMwareNetworkTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudAccountSyncVMwareNetworkTask) OnSyncCloudProviderInfoComplete ¶
func (self *CloudAccountSyncVMwareNetworkTask) OnSyncCloudProviderInfoComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*CloudAccountSyncVMwareNetworkTask) OnSyncCloudProviderInfoCompleteFailed ¶
func (self *CloudAccountSyncVMwareNetworkTask) OnSyncCloudProviderInfoCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
type CloudProviderDeleteTask ¶
func (*CloudProviderDeleteTask) OnInit ¶
func (self *CloudProviderDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CloudProviderSyncInfoTask ¶
func (*CloudProviderSyncInfoTask) GetSyncRange ¶
func (self *CloudProviderSyncInfoTask) GetSyncRange() models.SSyncRange
func (*CloudProviderSyncInfoTask) OnInit ¶
func (self *CloudProviderSyncInfoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudProviderSyncInfoTask) OnSyncCloudProviderInfoComplete ¶
func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderInfoComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudProviderSyncInfoTask) OnSyncCloudProviderInfoCompleteFailed ¶
func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderInfoCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudProviderSyncInfoTask) OnSyncCloudProviderPreInfoComplete ¶
func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderPreInfoComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*CloudProviderSyncInfoTask) OnSyncCloudProviderPreInfoCompleteFailed ¶
func (self *CloudProviderSyncInfoTask) OnSyncCloudProviderPreInfoCompleteFailed(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CloudRegionSyncSkusTask ¶
func (*CloudRegionSyncSkusTask) OnInit ¶
func (self *CloudRegionSyncSkusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CloudregionSyncImagesTask ¶
func (*CloudregionSyncImagesTask) OnInit ¶
func (self *CloudregionSyncImagesTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type CreateImportedLibvirtGuestTask ¶
func (*CreateImportedLibvirtGuestTask) OnGuestSync ¶
func (self *CreateImportedLibvirtGuestTask) OnGuestSync( ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject, )
func (*CreateImportedLibvirtGuestTask) OnGuestSyncFailed ¶
func (self *CreateImportedLibvirtGuestTask) OnGuestSyncFailed( ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject, )
func (*CreateImportedLibvirtGuestTask) OnInit ¶
func (self *CreateImportedLibvirtGuestTask) OnInit( ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject, )
func (*CreateImportedLibvirtGuestTask) OnInitFailed ¶
func (self *CreateImportedLibvirtGuestTask) OnInitFailed( ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject, )
func (*CreateImportedLibvirtGuestTask) TaskFailed ¶
func (self *CreateImportedLibvirtGuestTask) TaskFailed( ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject, )
type DBInstanceAccountCreateTask ¶
func (*DBInstanceAccountCreateTask) CreateDBInstanceAccount ¶
func (self *DBInstanceAccountCreateTask) CreateDBInstanceAccount(ctx context.Context, account *models.SDBInstanceAccount)
func (*DBInstanceAccountCreateTask) OnInit ¶
func (self *DBInstanceAccountCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceAccountDeleteTask ¶
func (*DBInstanceAccountDeleteTask) DeleteDBInstanceAccount ¶
func (self *DBInstanceAccountDeleteTask) DeleteDBInstanceAccount(ctx context.Context, account *models.SDBInstanceAccount)
func (*DBInstanceAccountDeleteTask) OnInit ¶
func (self *DBInstanceAccountDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceAccountGrantPrivilegeTask ¶
func (*DBInstanceAccountGrantPrivilegeTask) OnInit ¶
func (self *DBInstanceAccountGrantPrivilegeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceAccountResetPasswordTask ¶
func (*DBInstanceAccountResetPasswordTask) OnInit ¶
func (self *DBInstanceAccountResetPasswordTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceAccountRevokePrivilegeTask ¶
func (*DBInstanceAccountRevokePrivilegeTask) OnInit ¶
func (self *DBInstanceAccountRevokePrivilegeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceAccountSetPrivilegesTask ¶
func (*DBInstanceAccountSetPrivilegesTask) OnInit ¶
func (self *DBInstanceAccountSetPrivilegesTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceBackupCreateTask ¶
func (*DBInstanceBackupCreateTask) CreateDBInstanceBackup ¶
func (self *DBInstanceBackupCreateTask) CreateDBInstanceBackup(ctx context.Context, backup *models.SDBInstanceBackup)
func (*DBInstanceBackupCreateTask) OnCreateDBInstanceBackupComplete ¶
func (self *DBInstanceBackupCreateTask) OnCreateDBInstanceBackupComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceBackupCreateTask) OnCreateDBInstanceBackupCompleteFailed ¶
func (self *DBInstanceBackupCreateTask) OnCreateDBInstanceBackupCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceBackupCreateTask) OnInit ¶
func (self *DBInstanceBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceBackupDeleteTask ¶
func (*DBInstanceBackupDeleteTask) DeleteDBInstanceBackup ¶
func (self *DBInstanceBackupDeleteTask) DeleteDBInstanceBackup(ctx context.Context, backup *models.SDBInstanceBackup)
func (*DBInstanceBackupDeleteTask) OnInit ¶
func (self *DBInstanceBackupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceBackupSyncstatusTask ¶
func (*DBInstanceBackupSyncstatusTask) OnDBInstanceBackupSyncStatusComplete ¶
func (self *DBInstanceBackupSyncstatusTask) OnDBInstanceBackupSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceBackupSyncstatusTask) OnDBInstanceBackupSyncStatusCompleteFailed ¶
func (self *DBInstanceBackupSyncstatusTask) OnDBInstanceBackupSyncStatusCompleteFailed(ctx context.Context, backup *models.SDBInstanceBackup, data jsonutils.JSONObject)
func (*DBInstanceBackupSyncstatusTask) OnInit ¶
func (self *DBInstanceBackupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceChangeConfigTask ¶
func (*DBInstanceChangeConfigTask) OnDBInstanceChangeConfigComplete ¶
func (self *DBInstanceChangeConfigTask) OnDBInstanceChangeConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceChangeConfigTask) OnDBInstanceChangeConfigCompleteFailed ¶
func (self *DBInstanceChangeConfigTask) OnDBInstanceChangeConfigCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceChangeConfigTask) OnInit ¶
func (self *DBInstanceChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceChangeConfigTask) OnSyncDBInstanceStatusComplete ¶
func (self *DBInstanceChangeConfigTask) OnSyncDBInstanceStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceChangeConfigTask) OnSyncDBInstanceStatusCompleteFailed ¶
func (self *DBInstanceChangeConfigTask) OnSyncDBInstanceStatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceCreateTask ¶
func (*DBInstanceCreateTask) CreateDBInstance ¶
func (self *DBInstanceCreateTask) CreateDBInstance(ctx context.Context, rds *models.SDBInstance)
func (*DBInstanceCreateTask) OnCreateDBInstanceComplete ¶
func (self *DBInstanceCreateTask) OnCreateDBInstanceComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceCreateTask) OnCreateDBInstanceCompleteFailed ¶
func (self *DBInstanceCreateTask) OnCreateDBInstanceCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceCreateTask) OnInit ¶
func (self *DBInstanceCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceCreateTask) OnSyncDBInstanceStatusComplete ¶
func (self *DBInstanceCreateTask) OnSyncDBInstanceStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceCreateTask) OnSyncDBInstanceStatusCompleteFailed ¶
func (self *DBInstanceCreateTask) OnSyncDBInstanceStatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceDatabaseCreateTask ¶
func (*DBInstanceDatabaseCreateTask) CreateDBInstanceDatabase ¶
func (self *DBInstanceDatabaseCreateTask) CreateDBInstanceDatabase(ctx context.Context, database *models.SDBInstanceDatabase)
func (*DBInstanceDatabaseCreateTask) OnInit ¶
func (self *DBInstanceDatabaseCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceDatabaseDeleteTask ¶
func (*DBInstanceDatabaseDeleteTask) DeleteDBInstanceDatabase ¶
func (self *DBInstanceDatabaseDeleteTask) DeleteDBInstanceDatabase(ctx context.Context, database *models.SDBInstanceDatabase)
func (*DBInstanceDatabaseDeleteTask) OnInit ¶
func (self *DBInstanceDatabaseDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceDeleteTask ¶
func (*DBInstanceDeleteTask) DeleteBackups ¶
func (self *DBInstanceDeleteTask) DeleteBackups(ctx context.Context, instance *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceDeleteTask) DeleteDBInstance ¶
func (self *DBInstanceDeleteTask) DeleteDBInstance(ctx context.Context, rds *models.SDBInstance)
func (*DBInstanceDeleteTask) DeleteDBInstanceComplete ¶
func (self *DBInstanceDeleteTask) DeleteDBInstanceComplete(ctx context.Context, rds *models.SDBInstance)
func (*DBInstanceDeleteTask) OnInit ¶
func (self *DBInstanceDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstancePublicConnectionTask ¶
func (*DBInstancePublicConnectionTask) DBInstancePublicConnectionOperation ¶
func (self *DBInstancePublicConnectionTask) DBInstancePublicConnectionOperation(ctx context.Context, instance *models.SDBInstance)
func (*DBInstancePublicConnectionTask) OnInit ¶
func (self *DBInstancePublicConnectionTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceRebootTask ¶
func (*DBInstanceRebootTask) OnInit ¶
func (self *DBInstanceRebootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceRebootTask) RebootDBInstance ¶
func (self *DBInstanceRebootTask) RebootDBInstance(ctx context.Context, dbinstance *models.SDBInstance)
type DBInstanceRecoveryTask ¶
func (*DBInstanceRecoveryTask) OnInit ¶
func (self *DBInstanceRecoveryTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceRemoteUpdateTask ¶
func (*DBInstanceRemoteUpdateTask) OnInit ¶
func (self *DBInstanceRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *DBInstanceRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *DBInstanceRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *DBInstanceRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *DBInstanceRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
type DBInstanceRenewTask ¶
func (*DBInstanceRenewTask) OnInit ¶
func (self *DBInstanceRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceRenewTask) OnSyncstatusComplete ¶
func (self *DBInstanceRenewTask) OnSyncstatusComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceRenewTask) OnSyncstatusCompleteFailed ¶
func (self *DBInstanceRenewTask) OnSyncstatusCompleteFailed(ctx context.Context, rds *models.SDBInstance, reason jsonutils.JSONObject)
type DBInstanceSetAutoRenewTask ¶
func (*DBInstanceSetAutoRenewTask) OnDBInstanceSyncComplete ¶
func (self *DBInstanceSetAutoRenewTask) OnDBInstanceSyncComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceSetAutoRenewTask) OnDBInstanceSyncCompleteFailed ¶
func (self *DBInstanceSetAutoRenewTask) OnDBInstanceSyncCompleteFailed(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceSetAutoRenewTask) OnInit ¶
func (self *DBInstanceSetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceSyncSecgroupsTask ¶
func (*DBInstanceSyncSecgroupsTask) OnInit ¶
func (self *DBInstanceSyncSecgroupsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceSyncSecgroupsTask) OnSyncComplete ¶
func (self *DBInstanceSyncSecgroupsTask) OnSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceSyncSecgroupsTask) OnSyncCompleteFailed ¶
func (self *DBInstanceSyncSecgroupsTask) OnSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceSyncSecgroupsTask) OnSyncSecurityGroupsComplete ¶
func (self *DBInstanceSyncSecgroupsTask) OnSyncSecurityGroupsComplete(ctx context.Context, rds *models.SDBInstance, data jsonutils.JSONObject)
func (*DBInstanceSyncSecgroupsTask) OnSyncSecurityGroupsCompleteFailed ¶
func (self *DBInstanceSyncSecgroupsTask) OnSyncSecurityGroupsCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DBInstanceSyncTask ¶
func (*DBInstanceSyncTask) OnInit ¶
func (self *DBInstanceSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DBInstanceSyncTask) SyncDBInstance ¶
func (self *DBInstanceSyncTask) SyncDBInstance(ctx context.Context, rds *models.SDBInstance)
type DiskBackupCreateTask ¶
func (*DiskBackupCreateTask) CreateSnapshot ¶
func (self *DiskBackupCreateTask) CreateSnapshot(ctx context.Context, diskBackup *models.SDiskBackup) (*models.SSnapshot, error)
func (*DiskBackupCreateTask) OnCleanupSnapshot ¶
func (self *DiskBackupCreateTask) OnCleanupSnapshot(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupCreateTask) OnCleanupSnapshotFailed ¶
func (self *DiskBackupCreateTask) OnCleanupSnapshotFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupCreateTask) OnInit ¶
func (self *DiskBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskBackupCreateTask) OnSave ¶
func (self *DiskBackupCreateTask) OnSave(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupCreateTask) OnSaveFailed ¶
func (self *DiskBackupCreateTask) OnSaveFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupCreateTask) OnSnapshot ¶
func (self *DiskBackupCreateTask) OnSnapshot(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupCreateTask) OnSnapshotFailed ¶
func (self *DiskBackupCreateTask) OnSnapshotFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
type DiskBackupDeleteTask ¶
func (*DiskBackupDeleteTask) OnDelete ¶
func (self *DiskBackupDeleteTask) OnDelete(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupDeleteTask) OnDeleteFailed ¶
func (self *DiskBackupDeleteTask) OnDeleteFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupDeleteTask) OnInit ¶
func (self *DiskBackupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DiskBackupRecoveryTask ¶
func (*DiskBackupRecoveryTask) OnCreateDisk ¶
func (self *DiskBackupRecoveryTask) OnCreateDisk(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupRecoveryTask) OnCreateDiskFailed ¶
func (self *DiskBackupRecoveryTask) OnCreateDiskFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupRecoveryTask) OnInit ¶
func (self *DiskBackupRecoveryTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DiskBackupSyncstatusTask ¶
func (*DiskBackupSyncstatusTask) OnDiskBackupSyncStatus ¶
func (self *DiskBackupSyncstatusTask) OnDiskBackupSyncStatus(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskBackupSyncstatusTask) OnDiskBackupSyncStatusFailed ¶
func (self *DiskBackupSyncstatusTask) OnDiskBackupSyncStatusFailed(ctx context.Context, backup *models.SDiskBackup, data jsonutils.JSONObject)
func (*DiskBackupSyncstatusTask) OnInit ¶
func (self *DiskBackupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DiskBatchCreateTask ¶
type DiskBatchCreateTask struct {
SSchedTask
}
func (*DiskBatchCreateTask) GetCreateInput ¶
func (self *DiskBatchCreateTask) GetCreateInput() (*api.DiskCreateInput, error)
func (*DiskBatchCreateTask) GetDisks ¶
func (self *DiskBatchCreateTask) GetDisks() ([]*api.DiskConfig, error)
func (*DiskBatchCreateTask) GetFirstDisk ¶
func (self *DiskBatchCreateTask) GetFirstDisk() (*api.DiskConfig, error)
func (*DiskBatchCreateTask) GetSchedParams ¶
func (self *DiskBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*DiskBatchCreateTask) OnInit ¶
func (self *DiskBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
func (*DiskBatchCreateTask) OnScheduleComplete ¶
func (self *DiskBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
func (*DiskBatchCreateTask) OnScheduleFailCallback ¶
func (self *DiskBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
func (*DiskBatchCreateTask) SaveScheduleResult ¶
func (self *DiskBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
type DiskCleanOverduedSnapshots ¶
type DiskCleanOverduedSnapshots struct {
SDiskBaseTask
}
func (*DiskCleanOverduedSnapshots) OnInit ¶
func (self *DiskCleanOverduedSnapshots) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DiskCleanUpSnapshotsTask ¶
type DiskCleanUpSnapshotsTask struct {
SDiskBaseTask
}
func (*DiskCleanUpSnapshotsTask) OnCleanUpSnapshots ¶
func (self *DiskCleanUpSnapshotsTask) OnCleanUpSnapshots(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskCleanUpSnapshotsTask) OnCleanUpSnapshotsFailed ¶
func (self *DiskCleanUpSnapshotsTask) OnCleanUpSnapshotsFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskCleanUpSnapshotsTask) OnInit ¶
func (self *DiskCleanUpSnapshotsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskCleanUpSnapshotsTask) StartCleanUpSnapshots ¶
func (self *DiskCleanUpSnapshotsTask) StartCleanUpSnapshots(ctx context.Context, disk *models.SDisk)
type DiskCreateBackupTask ¶
type DiskCreateBackupTask struct {
HADiskCreateTask
}
func (*DiskCreateBackupTask) OnBackupStorageCacheImageComplete ¶
func (self *DiskCreateBackupTask) OnBackupStorageCacheImageComplete( ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject, )
func (*DiskCreateBackupTask) OnInit ¶
func (self *DiskCreateBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskCreateBackupTask) OnSlaveDiskReady ¶
func (self *DiskCreateBackupTask) OnSlaveDiskReady(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
type DiskCreateTask ¶
type DiskCreateTask struct {
SDiskBaseTask
}
func (*DiskCreateTask) OnDiskReady ¶
func (self *DiskCreateTask) OnDiskReady(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskCreateTask) OnDiskReadyFailed ¶
func (self *DiskCreateTask) OnDiskReadyFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskCreateTask) OnInit ¶
func (self *DiskCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskCreateTask) OnStartAllocateFailed ¶
func (self *DiskCreateTask) OnStartAllocateFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskCreateTask) OnStorageCacheImageComplete ¶
func (self *DiskCreateTask) OnStorageCacheImageComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
type DiskDeleteSnapshotsTask ¶
func (*DiskDeleteSnapshotsTask) OnInit ¶
func (self *DiskDeleteSnapshotsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskDeleteSnapshotsTask) OnSnapshotDelete ¶
func (self *DiskDeleteSnapshotsTask) OnSnapshotDelete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskDeleteSnapshotsTask) OnSnapshotDeleteFailed ¶
func (self *DiskDeleteSnapshotsTask) OnSnapshotDeleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskDeleteSnapshotsTask) StartDeleteDiskSnapshots ¶
type DiskDeleteTask ¶
type DiskDeleteTask struct {
SDiskBaseTask
}
func (*DiskDeleteTask) OnDeleteSnapshots ¶
func (self *DiskDeleteTask) OnDeleteSnapshots(ctx context.Context, disk *models.SDisk)
func (*DiskDeleteTask) OnDiskSnapshotDelete ¶
func (self *DiskDeleteTask) OnDiskSnapshotDelete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskDeleteTask) OnDiskSnapshotDeleteFailed ¶
func (self *DiskDeleteTask) OnDiskSnapshotDeleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskDeleteTask) OnGuestDiskDeleteComplete ¶
func (self *DiskDeleteTask) OnGuestDiskDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskDeleteTask) OnGuestDiskDeleteCompleteFailed ¶
func (self *DiskDeleteTask) OnGuestDiskDeleteCompleteFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
func (*DiskDeleteTask) OnInit ¶
func (self *DiskDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskDeleteTask) OnMasterStorageDeleteDiskComplete ¶
func (self *DiskDeleteTask) OnMasterStorageDeleteDiskComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskDeleteTask) OnMasterStorageDeleteDiskCompleteFailed ¶
func (self *DiskDeleteTask) OnMasterStorageDeleteDiskCompleteFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
func (*DiskDeleteTask) StartDeleteDiskSnapshots ¶
func (self *DiskDeleteTask) StartDeleteDiskSnapshots(ctx context.Context, disk *models.SDisk)
type DiskResetTask ¶
type DiskResetTask struct {
SDiskBaseTask
}
func (*DiskResetTask) OnInit ¶
func (self *DiskResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskResetTask) OnRequestResetDisk ¶
func (self *DiskResetTask) OnRequestResetDisk(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskResetTask) OnRequestResetDiskFailed ¶
func (self *DiskResetTask) OnRequestResetDiskFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskResetTask) OnStartGuest ¶
func (self *DiskResetTask) OnStartGuest(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskResetTask) RequestResetDisk ¶
func (*DiskResetTask) TaskCompleted ¶
func (*DiskResetTask) TaskFailed ¶
type DiskResizeTask ¶
type DiskResizeTask struct {
SDiskBaseTask
}
func (*DiskResizeTask) OnDiskResizeComplete ¶
func (self *DiskResizeTask) OnDiskResizeComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskResizeTask) OnDiskResizeCompleteFailed ¶
func (self *DiskResizeTask) OnDiskResizeCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskResizeTask) OnDiskResized ¶
func (self *DiskResizeTask) OnDiskResized(ctx context.Context, disk *models.SDisk)
func (*DiskResizeTask) OnInit ¶
func (self *DiskResizeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskResizeTask) OnStartResizeDiskFailed ¶
func (*DiskResizeTask) OnStartResizeDiskSucc ¶
func (self *DiskResizeTask) OnStartResizeDiskSucc(ctx context.Context, disk *models.SDisk)
func (*DiskResizeTask) SetDiskReady ¶
func (self *DiskResizeTask) SetDiskReady(ctx context.Context, disk *models.SDisk, userCred mcclient.TokenCredential, reason string)
type DiskSaveTask ¶
type DiskSaveTask struct {
SDiskBaseTask
}
func (*DiskSaveTask) GetMasterHost ¶
func (self *DiskSaveTask) GetMasterHost(disk *models.SDisk) *models.SHost
func (*DiskSaveTask) OnDiskBackupComplete ¶
func (*DiskSaveTask) OnDiskBackupCompleteFailed ¶
func (self *DiskSaveTask) OnDiskBackupCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskSaveTask) OnInit ¶
func (self *DiskSaveTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskSaveTask) OnUploadDiskComplete ¶
func (self *DiskSaveTask) OnUploadDiskComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskSaveTask) OnUploadDiskCompleteFailed ¶
func (self *DiskSaveTask) OnUploadDiskCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskSaveTask) RefreshImageCache ¶
func (self *DiskSaveTask) RefreshImageCache(ctx context.Context, imageId string)
func (*DiskSaveTask) StartBackupDisk ¶
type DiskSyncstatusTask ¶
func (*DiskSyncstatusTask) OnDiskSyncStatusComplete ¶
func (self *DiskSyncstatusTask) OnDiskSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskSyncstatusTask) OnDiskSyncStatusCompleteFailed ¶
func (self *DiskSyncstatusTask) OnDiskSyncStatusCompleteFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskSyncstatusTask) OnInit ¶
func (self *DiskSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsZoneCacheCreateTask ¶
func (*DnsZoneCacheCreateTask) OnInit ¶
func (self *DnsZoneCacheCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DnsZoneCacheCreateTask) OnSyncRecordSetComplete ¶
func (self *DnsZoneCacheCreateTask) OnSyncRecordSetComplete(ctx context.Context, cache *models.SDnsZoneCache, data jsonutils.JSONObject)
func (*DnsZoneCacheCreateTask) OnSyncRecordSetCompleteFailed ¶
func (self *DnsZoneCacheCreateTask) OnSyncRecordSetCompleteFailed(ctx context.Context, cache *models.SDnsZoneCache, data jsonutils.JSONObject)
type DnsZoneCacheDeleteTask ¶
func (*DnsZoneCacheDeleteTask) OnInit ¶
func (self *DnsZoneCacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsZoneCreateTask ¶
func (*DnsZoneCreateTask) OnInit ¶
func (self *DnsZoneCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DnsZoneCreateTask) OnSyncRecordSetComplete ¶
func (self *DnsZoneCreateTask) OnSyncRecordSetComplete(ctx context.Context, dnsZone *models.SDnsZone, data jsonutils.JSONObject)
func (*DnsZoneCreateTask) OnSyncRecordSetCompleteFailed ¶
func (self *DnsZoneCreateTask) OnSyncRecordSetCompleteFailed(ctx context.Context, dnsZone *models.SDnsZone, data jsonutils.JSONObject)
type DnsZoneDeleteTask ¶
func (*DnsZoneDeleteTask) OnInit ¶
func (self *DnsZoneDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsZoneSyncRecordSetsTask ¶
func (*DnsZoneSyncRecordSetsTask) OnInit ¶
func (self *DnsZoneSyncRecordSetsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsZoneSyncVpcsTask ¶
func (*DnsZoneSyncVpcsTask) OnInit ¶
func (self *DnsZoneSyncVpcsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DnsZoneSyncVpcsTask) OnSyncRecordSetComplete ¶
func (self *DnsZoneSyncVpcsTask) OnSyncRecordSetComplete(ctx context.Context, dnsZone *models.SDnsZone, data jsonutils.JSONObject)
func (*DnsZoneSyncVpcsTask) OnSyncRecordSetCompleteFailed ¶
func (self *DnsZoneSyncVpcsTask) OnSyncRecordSetCompleteFailed(ctx context.Context, cache *models.SDnsZoneCache, data jsonutils.JSONObject)
type DnsZoneSyncstatusTask ¶
func (*DnsZoneSyncstatusTask) OnInit ¶
func (self *DnsZoneSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ESXiGuestCreateDiskTask ¶
type ESXiGuestCreateDiskTask struct {
SGuestCreateDiskBaseTask
}
func (*ESXiGuestCreateDiskTask) OnInit ¶
func (self *ESXiGuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type EipAllocateTask ¶
func (*EipAllocateTask) OnEipAssociateComplete ¶
func (self *EipAllocateTask) OnEipAssociateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipAllocateTask) OnEipAssociateCompleteFailed ¶
func (self *EipAllocateTask) OnEipAssociateCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipAllocateTask) OnInit ¶
func (self *EipAllocateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type EipAssociateTask ¶
func (*EipAssociateTask) GetAssociateInput ¶
func (self *EipAssociateTask) GetAssociateInput() (api.ElasticipAssociateInput, error)
func (*EipAssociateTask) GetAssociateObj ¶
func (self *EipAssociateTask) GetAssociateObj() (db.IStatusStandaloneModel, api.ElasticipAssociateInput, error)
func (*EipAssociateTask) OnAssociateEipComplete ¶
func (self *EipAssociateTask) OnAssociateEipComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipAssociateTask) OnAssociateEipCompleteFailed ¶
func (self *EipAssociateTask) OnAssociateEipCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipAssociateTask) OnInit ¶
func (self *EipAssociateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type EipChangeBandwidthTask ¶
func (*EipChangeBandwidthTask) OnInit ¶
func (self *EipChangeBandwidthTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipChangeBandwidthTask) TaskFail ¶
func (self *EipChangeBandwidthTask) TaskFail(ctx context.Context, eip *models.SElasticip, msg jsonutils.JSONObject)
type EipDeallocateTask ¶
func (*EipDeallocateTask) OnInit ¶
func (self *EipDeallocateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type EipDissociateTask ¶
func (*EipDissociateTask) OnInit ¶
func (self *EipDissociateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipDissociateTask) TaskFail ¶
func (self *EipDissociateTask) TaskFail(ctx context.Context, eip *models.SElasticip, msg jsonutils.JSONObject, model db.IModel)
type EipSyncstatusTask ¶
func (*EipSyncstatusTask) OnInit ¶
func (self *EipSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticSearchDeleteTask ¶
func (*ElasticSearchDeleteTask) OnInit ¶
func (self *ElasticSearchDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticSearchSyncstatusTask ¶
func (*ElasticSearchSyncstatusTask) OnInit ¶
func (self *ElasticSearchSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAccountCreateTask ¶
func (*ElasticcacheAccountCreateTask) OnElasticcacheAccountCreateComplete ¶
func (self *ElasticcacheAccountCreateTask) OnElasticcacheAccountCreateComplete(ctx context.Context, ea *models.SElasticcacheAccount, data jsonutils.JSONObject)
func (*ElasticcacheAccountCreateTask) OnElasticcacheAccountCreateCompleteFailed ¶
func (self *ElasticcacheAccountCreateTask) OnElasticcacheAccountCreateCompleteFailed(ctx context.Context, ea *models.SElasticcacheAccount, data jsonutils.JSONObject)
func (*ElasticcacheAccountCreateTask) OnInit ¶
func (self *ElasticcacheAccountCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAccountDeleteTask ¶
func (*ElasticcacheAccountDeleteTask) OnInit ¶
func (self *ElasticcacheAccountDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAccountResetPasswordTask ¶
func (*ElasticcacheAccountResetPasswordTask) OnInit ¶
func (self *ElasticcacheAccountResetPasswordTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAclCreateTask ¶
func (*ElasticcacheAclCreateTask) OnElasticcacheAclCreateComplete ¶
func (self *ElasticcacheAclCreateTask) OnElasticcacheAclCreateComplete(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
func (*ElasticcacheAclCreateTask) OnElasticcacheAclCreateCompleteFailed ¶
func (self *ElasticcacheAclCreateTask) OnElasticcacheAclCreateCompleteFailed(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
func (*ElasticcacheAclCreateTask) OnInit ¶
func (self *ElasticcacheAclCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAclDeleteTask ¶
func (*ElasticcacheAclDeleteTask) OnInit ¶
func (self *ElasticcacheAclDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAclUpdateTask ¶
func (*ElasticcacheAclUpdateTask) OnElasticcacheAclUpdateComplete ¶
func (self *ElasticcacheAclUpdateTask) OnElasticcacheAclUpdateComplete(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
func (*ElasticcacheAclUpdateTask) OnElasticcacheAclUpdateCompleteFailed ¶
func (self *ElasticcacheAclUpdateTask) OnElasticcacheAclUpdateCompleteFailed(ctx context.Context, ea *models.SElasticcacheAcl, data jsonutils.JSONObject)
func (*ElasticcacheAclUpdateTask) OnInit ¶
func (self *ElasticcacheAclUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheAllocatePublicConnectionTask ¶
func (*ElasticcacheAllocatePublicConnectionTask) OnElasticcacheAllocatePublicConnectionComplete ¶
func (self *ElasticcacheAllocatePublicConnectionTask) OnElasticcacheAllocatePublicConnectionComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheAllocatePublicConnectionTask) OnElasticcacheAllocatePublicConnectionCompleteFailed ¶
func (self *ElasticcacheAllocatePublicConnectionTask) OnElasticcacheAllocatePublicConnectionCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheAllocatePublicConnectionTask) OnInit ¶
func (self *ElasticcacheAllocatePublicConnectionTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheBackupCreateTask ¶
func (*ElasticcacheBackupCreateTask) OnElasticcacheBackupCreateComplete ¶
func (self *ElasticcacheBackupCreateTask) OnElasticcacheBackupCreateComplete(ctx context.Context, eb *models.SElasticcacheBackup, data jsonutils.JSONObject)
func (*ElasticcacheBackupCreateTask) OnElasticcacheBackupCreateCompleteFailed ¶
func (self *ElasticcacheBackupCreateTask) OnElasticcacheBackupCreateCompleteFailed(ctx context.Context, eb *models.SElasticcacheBackup, data jsonutils.JSONObject)
func (*ElasticcacheBackupCreateTask) OnInit ¶
func (self *ElasticcacheBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheBackupRestoreInstanceTask ¶
func (*ElasticcacheBackupRestoreInstanceTask) OnElasticcacheBackupRestoreInstanceComplete ¶
func (self *ElasticcacheBackupRestoreInstanceTask) OnElasticcacheBackupRestoreInstanceComplete(ctx context.Context, eb *models.SElasticcacheBackup, data jsonutils.JSONObject)
func (*ElasticcacheBackupRestoreInstanceTask) OnElasticcacheBackupRestoreInstanceCompleteFailed ¶
func (self *ElasticcacheBackupRestoreInstanceTask) OnElasticcacheBackupRestoreInstanceCompleteFailed(ctx context.Context, eb *models.SElasticcacheBackup, reason jsonutils.JSONObject)
func (*ElasticcacheBackupRestoreInstanceTask) OnInit ¶
func (self *ElasticcacheBackupRestoreInstanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheChangeSpecTask ¶
func (*ElasticcacheChangeSpecTask) OnElasticcacheChangeSpecComplete ¶
func (self *ElasticcacheChangeSpecTask) OnElasticcacheChangeSpecComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheChangeSpecTask) OnElasticcacheChangeSpecCompleteFailed ¶
func (self *ElasticcacheChangeSpecTask) OnElasticcacheChangeSpecCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheChangeSpecTask) OnInit ¶
func (self *ElasticcacheChangeSpecTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheCreateTask ¶
func (*ElasticcacheCreateTask) OnElasticcacheCreateComplete ¶
func (self *ElasticcacheCreateTask) OnElasticcacheCreateComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheCreateTask) OnElasticcacheCreateCompleteFailed ¶
func (self *ElasticcacheCreateTask) OnElasticcacheCreateCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheCreateTask) OnInit ¶
func (self *ElasticcacheCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ElasticcacheCreateTask) OnSyncSecurityGroupComplete ¶
func (self *ElasticcacheCreateTask) OnSyncSecurityGroupComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheCreateTask) OnSyncSecurityGroupCompleteFailed ¶
func (self *ElasticcacheCreateTask) OnSyncSecurityGroupCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
type ElasticcacheDeleteTask ¶
func (*ElasticcacheDeleteTask) OnInit ¶
func (self *ElasticcacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheFlushInstanceTask ¶
func (*ElasticcacheFlushInstanceTask) OnElasticcacheFlushInstanceComplete ¶
func (self *ElasticcacheFlushInstanceTask) OnElasticcacheFlushInstanceComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheFlushInstanceTask) OnElasticcacheFlushInstanceCompleteFailed ¶
func (self *ElasticcacheFlushInstanceTask) OnElasticcacheFlushInstanceCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheFlushInstanceTask) OnInit ¶
func (self *ElasticcacheFlushInstanceTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheParameterUpdateTask ¶
func (*ElasticcacheParameterUpdateTask) OnElasticcacheParameterUpdateComplete ¶
func (self *ElasticcacheParameterUpdateTask) OnElasticcacheParameterUpdateComplete(ctx context.Context, ep *models.SElasticcacheParameter, data jsonutils.JSONObject)
func (*ElasticcacheParameterUpdateTask) OnElasticcacheParameterUpdateCompleteFailed ¶
func (self *ElasticcacheParameterUpdateTask) OnElasticcacheParameterUpdateCompleteFailed(ctx context.Context, ep *models.SElasticcacheParameter, reason jsonutils.JSONObject)
func (*ElasticcacheParameterUpdateTask) OnInit ¶
func (self *ElasticcacheParameterUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheReleasePublicConnectionTask ¶
func (*ElasticcacheReleasePublicConnectionTask) OnElasticcacheReleasePublicConnectionComplete ¶
func (self *ElasticcacheReleasePublicConnectionTask) OnElasticcacheReleasePublicConnectionComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheReleasePublicConnectionTask) OnElasticcacheReleasePublicConnectionCompleteFailed ¶
func (self *ElasticcacheReleasePublicConnectionTask) OnElasticcacheReleasePublicConnectionCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheReleasePublicConnectionTask) OnInit ¶
func (self *ElasticcacheReleasePublicConnectionTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheRemoteUpdateTask ¶
func (*ElasticcacheRemoteUpdateTask) OnInit ¶
func (self *ElasticcacheRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ElasticcacheRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *ElasticcacheRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *ElasticcacheRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *ElasticcacheRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *ElasticcacheRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
type ElasticcacheRenewTask ¶
func (*ElasticcacheRenewTask) OnElasticcacheSyncstatusComplete ¶
func (self *ElasticcacheRenewTask) OnElasticcacheSyncstatusComplete(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheRenewTask) OnElasticcacheSyncstatusCompleteFailed ¶
func (self *ElasticcacheRenewTask) OnElasticcacheSyncstatusCompleteFailed(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheRenewTask) OnInit ¶
func (self *ElasticcacheRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheRestartTask ¶
func (*ElasticcacheRestartTask) OnInit ¶
func (self *ElasticcacheRestartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheSetAutoRenewTask ¶
func (*ElasticcacheSetAutoRenewTask) OnElasticcacheSyncstatusComplete ¶
func (self *ElasticcacheSetAutoRenewTask) OnElasticcacheSyncstatusComplete(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheSetAutoRenewTask) OnElasticcacheSyncstatusCompleteFailed ¶
func (self *ElasticcacheSetAutoRenewTask) OnElasticcacheSyncstatusCompleteFailed(ctx context.Context, ec *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheSetAutoRenewTask) OnInit ¶
func (self *ElasticcacheSetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheSetMaintainTimeTask ¶
func (*ElasticcacheSetMaintainTimeTask) OnElasticcacheSetMaintainTimeComplete ¶
func (self *ElasticcacheSetMaintainTimeTask) OnElasticcacheSetMaintainTimeComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheSetMaintainTimeTask) OnElasticcacheSetMaintainTimeCompleteFailed ¶
func (self *ElasticcacheSetMaintainTimeTask) OnElasticcacheSetMaintainTimeCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheSetMaintainTimeTask) OnInit ¶
func (self *ElasticcacheSetMaintainTimeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheSyncTask ¶
func (*ElasticcacheSyncTask) OnInit ¶
func (self *ElasticcacheSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheSyncsecgroupsTask ¶
func (*ElasticcacheSyncsecgroupsTask) OnElasticcacheSyncSecgroupsComplete ¶
func (self *ElasticcacheSyncsecgroupsTask) OnElasticcacheSyncSecgroupsComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ElasticcacheSyncsecgroupsTask) OnElasticcacheSyncSecgroupsCompleteFailed ¶
func (self *ElasticcacheSyncsecgroupsTask) OnElasticcacheSyncSecgroupsCompleteFailed(ctx context.Context, cache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheSyncsecgroupsTask) OnInit ¶
func (self *ElasticcacheSyncsecgroupsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheSyncstatusTask ¶
func (*ElasticcacheSyncstatusTask) OnElasticcacheSyncStatusComplete ¶
func (self *ElasticcacheSyncstatusTask) OnElasticcacheSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ElasticcacheSyncstatusTask) OnElasticcacheSyncStatusCompleteFailed ¶
func (self *ElasticcacheSyncstatusTask) OnElasticcacheSyncStatusCompleteFailed(ctx context.Context, cache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheSyncstatusTask) OnInit ¶
func (self *ElasticcacheSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheUpdateAuthModeTask ¶
func (*ElasticcacheUpdateAuthModeTask) OnElasticcacheUpdateAuthModeComplete ¶
func (self *ElasticcacheUpdateAuthModeTask) OnElasticcacheUpdateAuthModeComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheUpdateAuthModeTask) OnElasticcacheUpdateAuthModeCompleteFailed ¶
func (self *ElasticcacheUpdateAuthModeTask) OnElasticcacheUpdateAuthModeCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheUpdateAuthModeTask) OnInit ¶
func (self *ElasticcacheUpdateAuthModeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ElasticcacheUpdateBackupPolicyTask ¶
func (*ElasticcacheUpdateBackupPolicyTask) OnElasticcacheUpdateBackupPolicyComplete ¶
func (self *ElasticcacheUpdateBackupPolicyTask) OnElasticcacheUpdateBackupPolicyComplete(ctx context.Context, elasticcache *models.SElasticcache, data jsonutils.JSONObject)
func (*ElasticcacheUpdateBackupPolicyTask) OnElasticcacheUpdateBackupPolicyCompleteFailed ¶
func (self *ElasticcacheUpdateBackupPolicyTask) OnElasticcacheUpdateBackupPolicyCompleteFailed(ctx context.Context, elasticcache *models.SElasticcache, reason jsonutils.JSONObject)
func (*ElasticcacheUpdateBackupPolicyTask) OnInit ¶
func (self *ElasticcacheUpdateBackupPolicyTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type FileSystemCreateTask ¶
func (*FileSystemCreateTask) OnInit ¶
func (self *FileSystemCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*FileSystemCreateTask) OnSyncstatusComplete ¶
func (self *FileSystemCreateTask) OnSyncstatusComplete(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
func (*FileSystemCreateTask) OnSyncstatusCompleteFailed ¶
func (self *FileSystemCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
type FileSystemDeleteTask ¶
func (*FileSystemDeleteTask) OnInit ¶
func (self *FileSystemDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type FileSystemRemoteUpdateTask ¶
func (*FileSystemRemoteUpdateTask) OnInit ¶
func (self *FileSystemRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*FileSystemRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *FileSystemRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
func (*FileSystemRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *FileSystemRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
func (*FileSystemRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *FileSystemRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
func (*FileSystemRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *FileSystemRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, fs *models.SFileSystem, data jsonutils.JSONObject)
type FileSystemSyncstatusTask ¶
func (*FileSystemSyncstatusTask) OnInit ¶
func (self *FileSystemSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GlobalVpcCreateTask ¶
func (*GlobalVpcCreateTask) OnInit ¶
func (self *GlobalVpcCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*GlobalVpcCreateTask) OnSyncstatusComplete ¶
func (self *GlobalVpcCreateTask) OnSyncstatusComplete(ctx context.Context, gvpc *models.SGlobalVpc, data jsonutils.JSONObject)
func (*GlobalVpcCreateTask) OnSyncstatusCompleteFailed ¶
func (self *GlobalVpcCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, gvpc *models.SGlobalVpc, data jsonutils.JSONObject)
type GlobalVpcDeleteTask ¶
func (*GlobalVpcDeleteTask) OnInit ¶
func (self *GlobalVpcDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type GlobalVpcSyncstatusTask ¶
func (*GlobalVpcSyncstatusTask) OnInit ¶
func (self *GlobalVpcSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestAttachDiskTask ¶
type GuestAttachDiskTask struct {
SGuestBaseTask
}
func (*GuestAttachDiskTask) OnInit ¶
func (self *GuestAttachDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestAttachDiskTask) OnSyncConfigComplete ¶
func (self *GuestAttachDiskTask) OnSyncConfigComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestAttachDiskTask) OnSyncConfigCompleteFailed ¶
func (self *GuestAttachDiskTask) OnSyncConfigCompleteFailed(ctx context.Context, obj db.IStandaloneModel, reason jsonutils.JSONObject)
func (*GuestAttachDiskTask) OnTaskFail ¶
func (self *GuestAttachDiskTask) OnTaskFail(ctx context.Context, guest *models.SGuest, disk *models.SDisk, err jsonutils.JSONObject)
type GuestBatchCreateTask ¶
type GuestBatchCreateTask struct {
SSchedTask
}
func (*GuestBatchCreateTask) GetCreateInput ¶
func (self *GuestBatchCreateTask) GetCreateInput() (*api.ServerCreateInput, error)
func (*GuestBatchCreateTask) GetDisks ¶
func (self *GuestBatchCreateTask) GetDisks() ([]*api.DiskConfig, error)
func (*GuestBatchCreateTask) GetFirstDisk ¶
func (self *GuestBatchCreateTask) GetFirstDisk() (*api.DiskConfig, error)
func (*GuestBatchCreateTask) GetSchedParams ¶
func (self *GuestBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestBatchCreateTask) OnInit ¶
func (self *GuestBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestBatchCreateTask) OnScheduleComplete ¶
func (self *GuestBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
func (*GuestBatchCreateTask) OnScheduleFailCallback ¶
func (self *GuestBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
func (*GuestBatchCreateTask) SaveScheduleResult ¶
func (self *GuestBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
func (*GuestBatchCreateTask) SaveScheduleResultWithBackup ¶
func (self *GuestBatchCreateTask) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, master, slave *schedapi.CandidateResource)
type GuestBlockIoThrottleTask ¶
type GuestBlockIoThrottleTask struct {
SGuestBaseTask
}
func (*GuestBlockIoThrottleTask) OnGuestSync ¶
func (self *GuestBlockIoThrottleTask) OnGuestSync(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestBlockIoThrottleTask) OnGuestSyncFailed ¶
func (self *GuestBlockIoThrottleTask) OnGuestSyncFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestBlockIoThrottleTask) OnInit ¶
func (self *GuestBlockIoThrottleTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestBlockIoThrottleTask) OnIoThrottle ¶
func (self *GuestBlockIoThrottleTask) OnIoThrottle(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestBlockIoThrottleTask) OnIoThrottleFailed ¶
func (self *GuestBlockIoThrottleTask) OnIoThrottleFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestCPUSetTask ¶
type GuestCPUSetTask struct {
SGuestBaseTask
}
func (*GuestCPUSetTask) OnInit ¶
func (self *GuestCPUSetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCPUSetTask) OnSyncComplete ¶
func (self *GuestCPUSetTask) OnSyncComplete(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
func (*GuestCPUSetTask) OnSyncCompleteFailed ¶
func (self *GuestCPUSetTask) OnSyncCompleteFailed(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
type GuestChangeConfigTask ¶
type GuestChangeConfigTask struct {
SSchedTask
}
func (*GuestChangeConfigTask) DoCreateDisksTask ¶
func (self *GuestChangeConfigTask) DoCreateDisksTask(ctx context.Context, guest *models.SGuest)
func (*GuestChangeConfigTask) GetSchedParams ¶
func (self *GuestChangeConfigTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestChangeConfigTask) OnCreateDisksComplete ¶
func (self *GuestChangeConfigTask) OnCreateDisksComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnCreateDisksCompleteFailed ¶
func (self *GuestChangeConfigTask) OnCreateDisksCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnDisksResizeComplete ¶
func (self *GuestChangeConfigTask) OnDisksResizeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestChangeCpuMemSpecComplete ¶
func (self *GuestChangeConfigTask) OnGuestChangeCpuMemSpecComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestChangeCpuMemSpecCompleteFailed ¶
func (self *GuestChangeConfigTask) OnGuestChangeCpuMemSpecCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestChangeCpuMemSpecFinish ¶
func (self *GuestChangeConfigTask) OnGuestChangeCpuMemSpecFinish(ctx context.Context, guest *models.SGuest)
func (*GuestChangeConfigTask) OnGuestStartComplete ¶
func (self *GuestChangeConfigTask) OnGuestStartComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestStartCompleteFailed ¶
func (self *GuestChangeConfigTask) OnGuestStartCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnInit ¶
func (self *GuestChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnScheduleFailCallback ¶
func (self *GuestChangeConfigTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnScheduleFailed ¶
func (self *GuestChangeConfigTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnStartSchedule ¶
func (self *GuestChangeConfigTask) OnStartSchedule(obj IScheduleModel)
func (*GuestChangeConfigTask) OnSyncConfigComplete ¶
func (self *GuestChangeConfigTask) OnSyncConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnSyncStatusComplete ¶
func (self *GuestChangeConfigTask) OnSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) SaveScheduleResult ¶
func (self *GuestChangeConfigTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource)
func (*GuestChangeConfigTask) SetStageComplete ¶
func (self *GuestChangeConfigTask) SetStageComplete(ctx context.Context, data *jsonutils.JSONDict)
func (*GuestChangeConfigTask) SetStageFailed ¶
func (self *GuestChangeConfigTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestChangeConfigTask) StartResizeDisks ¶
func (self *GuestChangeConfigTask) StartResizeDisks(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestChangeDiskStorageTask ¶
type GuestChangeDiskStorageTask struct {
SGuestBaseTask
}
func (*GuestChangeDiskStorageTask) ChangeDiskStorage ¶
func (t *GuestChangeDiskStorageTask) ChangeDiskStorage(ctx context.Context, guest *models.SGuest)
func (*GuestChangeDiskStorageTask) GetInputParams ¶
func (t *GuestChangeDiskStorageTask) GetInputParams() (*api.ServerChangeDiskStorageInternalInput, error)
func (*GuestChangeDiskStorageTask) GetSourceDisk ¶
func (t *GuestChangeDiskStorageTask) GetSourceDisk() (*models.SDisk, error)
func (*GuestChangeDiskStorageTask) GetTargetDisk ¶
func (t *GuestChangeDiskStorageTask) GetTargetDisk() (*models.SDisk, error)
func (*GuestChangeDiskStorageTask) OnDiskChangeStorageComplete ¶
func (t *GuestChangeDiskStorageTask) OnDiskChangeStorageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnDiskChangeStorageCompleteFailed ¶
func (t *GuestChangeDiskStorageTask) OnDiskChangeStorageCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnDiskLiveChangeStorageReady ¶
func (t *GuestChangeDiskStorageTask) OnDiskLiveChangeStorageReady( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestChangeDiskStorageTask) OnDiskLiveChangeStorageReadyFailed ¶
func (t *GuestChangeDiskStorageTask) OnDiskLiveChangeStorageReadyFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestChangeDiskStorageTask) OnGuestSyncStatus ¶
func (t *GuestChangeDiskStorageTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnGuestSyncStatusFailed ¶
func (t *GuestChangeDiskStorageTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnInit ¶
func (t *GuestChangeDiskStorageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnSourceDiskDetachComplete ¶
func (t *GuestChangeDiskStorageTask) OnSourceDiskDetachComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnSourceDiskDetachCompleteFailed ¶
func (t *GuestChangeDiskStorageTask) OnSourceDiskDetachCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnTargetDiskAttachComplete ¶
func (t *GuestChangeDiskStorageTask) OnTargetDiskAttachComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) OnTargetDiskAttachCompleteFailed ¶
func (t *GuestChangeDiskStorageTask) OnTargetDiskAttachCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) TaskComplete ¶
func (t *GuestChangeDiskStorageTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDiskStorageTask) TaskFailed ¶
func (t *GuestChangeDiskStorageTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestChangeDisksStorageTask ¶
type GuestChangeDisksStorageTask struct {
SGuestBaseTask
}
func (*GuestChangeDisksStorageTask) ChangeDiskStorage ¶
func (t *GuestChangeDisksStorageTask) ChangeDiskStorage(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) ChangeDiskStorageFailed ¶
func (t *GuestChangeDisksStorageTask) ChangeDiskStorageFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) CreateTargetDisk ¶
func (t *GuestChangeDisksStorageTask) CreateTargetDisk(ctx context.Context, guest *models.SGuest, input *api.ServerChangeStorageInternalInput)
func (*GuestChangeDisksStorageTask) GetInputParams ¶
func (t *GuestChangeDisksStorageTask) GetInputParams() (*api.ServerChangeStorageInternalInput, error)
func (*GuestChangeDisksStorageTask) OnDiskChangeStorageComplete ¶
func (t *GuestChangeDisksStorageTask) OnDiskChangeStorageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) OnGuestSyncStatus ¶
func (t *GuestChangeDisksStorageTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) OnGuestSyncStatusFailed ¶
func (t *GuestChangeDisksStorageTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) OnInit ¶
func (t *GuestChangeDisksStorageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) TaskComplete ¶
func (t *GuestChangeDisksStorageTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeDisksStorageTask) TaskFailed ¶
func (t *GuestChangeDisksStorageTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestCloneTask ¶
type GuestCloneTask struct {
GuestBatchCreateTask
}
func (*GuestCloneTask) OnInit ¶
func (self *GuestCloneTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCloneTask) OnScheduleComplete ¶
type GuestConvertEsxiToKvmTask ¶
type GuestConvertEsxiToKvmTask struct {
SSchedTask
}
func (*GuestConvertEsxiToKvmTask) GenerateEsxiAcceessInfo ¶
func (*GuestConvertEsxiToKvmTask) GetSchedParams ¶
func (self *GuestConvertEsxiToKvmTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestConvertEsxiToKvmTask) OnHostCreateGuest ¶
func (self *GuestConvertEsxiToKvmTask) OnHostCreateGuest( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestConvertEsxiToKvmTask) OnHostCreateGuestFailed ¶
func (self *GuestConvertEsxiToKvmTask) OnHostCreateGuestFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestConvertEsxiToKvmTask) OnInit ¶
func (self *GuestConvertEsxiToKvmTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestConvertEsxiToKvmTask) OnScheduleFailed ¶
func (self *GuestConvertEsxiToKvmTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestConvertEsxiToKvmTask) OnStartSchedule ¶
func (self *GuestConvertEsxiToKvmTask) OnStartSchedule(obj IScheduleModel)
func (*GuestConvertEsxiToKvmTask) RequestHostCreateGuestFromEsxi ¶
func (*GuestConvertEsxiToKvmTask) SaveScheduleResult ¶
func (self *GuestConvertEsxiToKvmTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource)
update database for convert esxi to kvm in the part of guest, guestdisks, guestnetworks
func (*GuestConvertEsxiToKvmTask) TaskComplete ¶
func (self *GuestConvertEsxiToKvmTask) TaskComplete(ctx context.Context, guest, targetGuest *models.SGuest)
type GuestCreateBackupDisksTask ¶
type GuestCreateBackupDisksTask struct {
SGuestBaseTask
}
func (*GuestCreateBackupDisksTask) CreateBackups ¶
func (self *GuestCreateBackupDisksTask) CreateBackups(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupDisksTask) OnInit ¶
func (self *GuestCreateBackupDisksTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestCreateBackupTask ¶
type GuestCreateBackupTask struct {
SSchedTask
}
func (*GuestCreateBackupTask) GetSchedParams ¶
func (self *GuestCreateBackupTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestCreateBackupTask) OnCreateBackup ¶
func (self *GuestCreateBackupTask) OnCreateBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnCreateBackupDisks ¶
func (self *GuestCreateBackupTask) OnCreateBackupDisks(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnCreateBackupDisksFailed ¶
func (self *GuestCreateBackupTask) OnCreateBackupDisksFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnCreateBackupFailed ¶
func (self *GuestCreateBackupTask) OnCreateBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnGuestStart ¶
func (*GuestCreateBackupTask) OnGuestStartCompleted ¶
func (self *GuestCreateBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnGuestStartCompletedFailed ¶
func (self *GuestCreateBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnInit ¶
func (self *GuestCreateBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnInsertIso ¶
func (self *GuestCreateBackupTask) OnInsertIso(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnInsertIsoFailed ¶
func (self *GuestCreateBackupTask) OnInsertIsoFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnScheduleFailCallback ¶
func (self *GuestCreateBackupTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnScheduleFailed ¶
func (self *GuestCreateBackupTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnStartSchedule ¶
func (self *GuestCreateBackupTask) OnStartSchedule(obj IScheduleModel)
func (*GuestCreateBackupTask) OnSyncToBackup ¶
func (self *GuestCreateBackupTask) OnSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnSyncToBackupFailed ¶
func (self *GuestCreateBackupTask) OnSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) RequestStartGuest ¶
func (self *GuestCreateBackupTask) RequestStartGuest(ctx context.Context, guest *models.SGuest)
func (*GuestCreateBackupTask) SaveScheduleResult ¶
func (self *GuestCreateBackupTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
func (*GuestCreateBackupTask) StartCreateBackupDisks ¶
func (self *GuestCreateBackupTask) StartCreateBackupDisks(ctx context.Context, guest *models.SGuest, host *models.SHost, candidateDisks []*schedapi.CandidateDisk)
func (*GuestCreateBackupTask) StartInsertIso ¶
func (*GuestCreateBackupTask) TaskCompleted ¶
func (*GuestCreateBackupTask) TaskFailed ¶
func (self *GuestCreateBackupTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestCreateDiskTask ¶
type GuestCreateDiskTask struct {
SGuestBaseTask
}
func (*GuestCreateDiskTask) OnDiskPrepared ¶
func (self *GuestCreateDiskTask) OnDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateDiskTask) OnDiskPreparedFailed ¶
func (self *GuestCreateDiskTask) OnDiskPreparedFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateDiskTask) OnInit ¶
func (self *GuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestCreateTask ¶
type GuestCreateTask struct {
SGuestBaseTask
}
func (*GuestCreateTask) OnAutoStartGuest ¶
func (self *GuestCreateTask) OnAutoStartGuest(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnCdromPrepared ¶
func (self *GuestCreateTask) OnCdromPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnCdromPreparedFailed ¶
func (self *GuestCreateTask) OnCdromPreparedFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDeployEipComplete ¶
func (self *GuestCreateTask) OnDeployEipComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDeployEipCompleteFailed ¶
func (self *GuestCreateTask) OnDeployEipCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDeployGuestDescComplete ¶
func (self *GuestCreateTask) OnDeployGuestDescComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDeployGuestDescCompleteFailed ¶
func (self *GuestCreateTask) OnDeployGuestDescCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDiskPrepared ¶
func (self *GuestCreateTask) OnDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDiskPreparedFailed ¶
func (self *GuestCreateTask) OnDiskPreparedFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnGuestNetworkReady ¶
func (self *GuestCreateTask) OnGuestNetworkReady(ctx context.Context, guest *models.SGuest)
func (*GuestCreateTask) OnInit ¶
func (self *GuestCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestCreateTask) OnSyncStatusComplete ¶
func (self *GuestCreateTask) OnSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) OnWaitGuestNetworksReady ¶
func (self *GuestCreateTask) OnWaitGuestNetworksReady(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateTask) StartDeployGuest ¶
func (self *GuestCreateTask) StartDeployGuest(ctx context.Context, guest *models.SGuest)
func (*GuestCreateTask) TaskComplete ¶
func (self *GuestCreateTask) TaskComplete(ctx context.Context, guest *models.SGuest)
type GuestDeleteBackupTask ¶
type GuestDeleteBackupTask struct {
SGuestBaseTask
}
func (*GuestDeleteBackupTask) OnCancelBlockReplication ¶
func (self *GuestDeleteBackupTask) OnCancelBlockReplication(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnCancelBlockReplicationFailed ¶
func (self *GuestDeleteBackupTask) OnCancelBlockReplicationFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnCreateNewBackup ¶
func (self *GuestDeleteBackupTask) OnCreateNewBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnCreateNewBackupFailed ¶
func (self *GuestDeleteBackupTask) OnCreateNewBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnDeleteBackupComplete ¶
func (self *GuestDeleteBackupTask) OnDeleteBackupComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnDeleteOnHost ¶
func (self *GuestDeleteBackupTask) OnDeleteOnHost(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnDeleteOnHostFailed ¶
func (self *GuestDeleteBackupTask) OnDeleteOnHostFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnFail ¶
func (self *GuestDeleteBackupTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestDeleteBackupTask) OnInit ¶
func (self *GuestDeleteBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteBackupTask) StartDeleteBackupOnHost ¶
func (self *GuestDeleteBackupTask) StartDeleteBackupOnHost(ctx context.Context, guest *models.SGuest)
func (*GuestDeleteBackupTask) TaskComplete ¶
func (self *GuestDeleteBackupTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestDeleteOnHostTask ¶
type GuestDeleteOnHostTask struct {
SGuestBaseTask
}
func (*GuestDeleteOnHostTask) OnFail ¶
func (self *GuestDeleteOnHostTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestDeleteOnHostTask) OnInit ¶
func (self *GuestDeleteOnHostTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteOnHostTask) OnStopGuest ¶
func (self *GuestDeleteOnHostTask) OnStopGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteOnHostTask) OnSync ¶
func (self *GuestDeleteOnHostTask) OnSync(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteOnHostTask) OnUnDeployGuest ¶
func (self *GuestDeleteOnHostTask) OnUnDeployGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteOnHostTask) OnUnDeployGuestFailed ¶
func (self *GuestDeleteOnHostTask) OnUnDeployGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestDeleteSnapshotsTask ¶
func (*GuestDeleteSnapshotsTask) OnInit ¶
func (self *GuestDeleteSnapshotsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteSnapshotsTask) OnInstanceSnapshotDelete ¶
func (self *GuestDeleteSnapshotsTask) OnInstanceSnapshotDelete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteSnapshotsTask) OnInstanceSnapshotDeleteFailed ¶
func (self *GuestDeleteSnapshotsTask) OnInstanceSnapshotDeleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteSnapshotsTask) OnSnapshotDelete ¶
func (self *GuestDeleteSnapshotsTask) OnSnapshotDelete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteSnapshotsTask) OnSnapshotDeleteFailed ¶
func (self *GuestDeleteSnapshotsTask) OnSnapshotDeleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteSnapshotsTask) StartDeleteDiskSnapshots ¶
func (*GuestDeleteSnapshotsTask) StartDeleteInstanceSnapshots ¶
func (self *GuestDeleteSnapshotsTask) StartDeleteInstanceSnapshots( ctx context.Context, guest *models.SGuest, instanceSnapshots []models.SInstanceSnapshot)
type GuestDeleteTask ¶
type GuestDeleteTask struct {
SGuestBaseTask
}
func (*GuestDeleteTask) DeleteGuest ¶
func (self *GuestDeleteTask) DeleteGuest(ctx context.Context, guest *models.SGuest)
func (*GuestDeleteTask) DoDeleteGuest ¶
func (self *GuestDeleteTask) DoDeleteGuest(ctx context.Context, guest *models.SGuest)
func (*GuestDeleteTask) NotifyServerDeleted ¶
func (self *GuestDeleteTask) NotifyServerDeleted(ctx context.Context, guest *models.SGuest)
func (*GuestDeleteTask) OnDiskDetachComplete ¶
func (self *GuestDeleteTask) OnDiskDetachComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
remove detachable disks
func (*GuestDeleteTask) OnDiskDetachCompleteFailed ¶
func (self *GuestDeleteTask) OnDiskDetachCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestDeleteTask) OnEipDissociateComplete ¶
func (self *GuestDeleteTask) OnEipDissociateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnEipDissociateCompleteFailed ¶
func (self *GuestDeleteTask) OnEipDissociateCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestDeleteTask) OnFailed ¶
func (self *GuestDeleteTask) OnFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestDeleteComplete ¶
func (self *GuestDeleteTask) OnGuestDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestDeleteCompleteFailed ¶
func (self *GuestDeleteTask) OnGuestDeleteCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestDeleteFailed ¶
func (self *GuestDeleteTask) OnGuestDeleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestDetachDisksComplete ¶
func (self *GuestDeleteTask) OnGuestDetachDisksComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestDetachDisksCompleteFailed ¶
func (self *GuestDeleteTask) OnGuestDetachDisksCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestStopComplete ¶
func (self *GuestDeleteTask) OnGuestStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnGuestStopCompleteFailed ¶
func (self *GuestDeleteTask) OnGuestStopCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*GuestDeleteTask) OnInit ¶
func (self *GuestDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnMasterHostStopGuestComplete ¶
func (self *GuestDeleteTask) OnMasterHostStopGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnMasterHostStopGuestCompleteFailed ¶
func (self *GuestDeleteTask) OnMasterHostStopGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnPendingDeleteComplete ¶
func (self *GuestDeleteTask) OnPendingDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnPendingDeleteCompleteFailed ¶
func (self *GuestDeleteTask) OnPendingDeleteCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnStartEipDissociate ¶
func (self *GuestDeleteTask) OnStartEipDissociate(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnStartEipDissociateFailed ¶
func (self *GuestDeleteTask) OnStartEipDissociateFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnSyncConfigComplete ¶
func (self *GuestDeleteTask) OnSyncConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeleteTask) OnSyncConfigCompleteFailed ¶
func (self *GuestDeleteTask) OnSyncConfigCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestDeleteTask) StartDeleteGuest ¶
func (self *GuestDeleteTask) StartDeleteGuest(ctx context.Context, guest *models.SGuest)
func (*GuestDeleteTask) StartDeleteGuestSnapshots ¶
func (self *GuestDeleteTask) StartDeleteGuestSnapshots(ctx context.Context, guest *models.SGuest)
func (*GuestDeleteTask) StartPendingDeleteGuest ¶
func (self *GuestDeleteTask) StartPendingDeleteGuest(ctx context.Context, guest *models.SGuest)
type GuestDeployBackupTask ¶
type GuestDeployBackupTask struct {
HAGuestDeployTask
}
func (*GuestDeployBackupTask) OnDeployGuestComplete ¶
func (self *GuestDeployBackupTask) OnDeployGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeployBackupTask) OnDeployGuestCompleteFailed ¶
func (self *GuestDeployBackupTask) OnDeployGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeployBackupTask) OnInit ¶
func (self *GuestDeployBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestDeployTask ¶
type GuestDeployTask struct {
SGuestBaseTask
}
func (*GuestDeployTask) DeployOnHost ¶
func (*GuestDeployTask) OnDeployGuestComplete ¶
func (self *GuestDeployTask) OnDeployGuestComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeployTask) OnDeployGuestCompleteFailed ¶
func (self *GuestDeployTask) OnDeployGuestCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeployTask) OnDeployGuestFail ¶
func (*GuestDeployTask) OnDeployGuestSyncstatusComplete ¶
func (self *GuestDeployTask) OnDeployGuestSyncstatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeployTask) OnDeployGuestSyncstatusCompleteFailed ¶
func (self *GuestDeployTask) OnDeployGuestSyncstatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeployTask) OnDeployStartGuestComplete ¶
func (self *GuestDeployTask) OnDeployStartGuestComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeployTask) OnDeployStartGuestCompleteFailed ¶
func (self *GuestDeployTask) OnDeployStartGuestCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDeployTask) OnDeployWaitServerStop ¶
func (self *GuestDeployTask) OnDeployWaitServerStop(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDeployTask) OnGuestNetworkReady ¶
func (self *GuestDeployTask) OnGuestNetworkReady(ctx context.Context, guest *models.SGuest)
func (*GuestDeployTask) OnInit ¶
func (self *GuestDeployTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestDetachAllDisksTask ¶
type GuestDetachAllDisksTask struct {
SGuestBaseTask
}
func (*GuestDetachAllDisksTask) OnDiskDeleteComplete ¶
func (self *GuestDetachAllDisksTask) OnDiskDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDetachAllDisksTask) OnInit ¶
func (self *GuestDetachAllDisksTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestDetachDiskTask ¶
type GuestDetachDiskTask struct {
SGuestBaseTask
}
func (*GuestDetachDiskTask) OnDetachDiskComplete ¶
func (self *GuestDetachDiskTask) OnDetachDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnDetachDiskCompleteFailed ¶
func (self *GuestDetachDiskTask) OnDetachDiskCompleteFailed(ctx context.Context, obj db.IStandaloneModel, reason jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnDiskDeleteComplete ¶
func (self *GuestDetachDiskTask) OnDiskDeleteComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnInit ¶
func (self *GuestDetachDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnSyncstatusComplete ¶
func (self *GuestDetachDiskTask) OnSyncstatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnSyncstatusCompleteFailed ¶
func (self *GuestDetachDiskTask) OnSyncstatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnTaskFail ¶
func (self *GuestDetachDiskTask) OnTaskFail(ctx context.Context, guest *models.SGuest, disk *models.SDisk, err jsonutils.JSONObject)
type GuestDetachScalingGroupTask ¶
func (*GuestDetachScalingGroupTask) OnDeleteGuestComplete ¶
func (self *GuestDetachScalingGroupTask) OnDeleteGuestComplete(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
func (*GuestDetachScalingGroupTask) OnDeleteGuestCompleteFailed ¶
func (self *GuestDetachScalingGroupTask) OnDeleteGuestCompleteFailed(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
func (*GuestDetachScalingGroupTask) OnDetachLoadbalancerComplete ¶
func (self *GuestDetachScalingGroupTask) OnDetachLoadbalancerComplete(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
func (*GuestDetachScalingGroupTask) OnDetachLoadbalancerCompleteFailed ¶
func (self *GuestDetachScalingGroupTask) OnDetachLoadbalancerCompleteFailed(ctx context.Context, sg *models.SScalingGroup, data jsonutils.JSONObject)
func (*GuestDetachScalingGroupTask) OnInit ¶
func (self *GuestDetachScalingGroupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type GuestDiskSnapshotTask ¶
type GuestDiskSnapshotTask struct {
SGuestBaseTask
}
func (*GuestDiskSnapshotTask) DoDiskSnapshot ¶
func (self *GuestDiskSnapshotTask) DoDiskSnapshot(ctx context.Context, guest *models.SGuest)
func (*GuestDiskSnapshotTask) OnDiskSnapshotComplete ¶
func (self *GuestDiskSnapshotTask) OnDiskSnapshotComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDiskSnapshotTask) OnDiskSnapshotCompleteFailed ¶
func (self *GuestDiskSnapshotTask) OnDiskSnapshotCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*GuestDiskSnapshotTask) OnInit ¶
func (self *GuestDiskSnapshotTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestDiskSnapshotTask) TaskComplete ¶
func (self *GuestDiskSnapshotTask) TaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDiskSnapshotTask) TaskFailed ¶
func (self *GuestDiskSnapshotTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestEjectISOTask ¶
type GuestEjectISOTask struct {
SGuestBaseTask
}
func (*GuestEjectISOTask) OnConfigSyncComplete ¶
func (self *GuestEjectISOTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestEjectISOTask) OnInit ¶
func (self *GuestEjectISOTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestHardResetTask ¶
type GuestHardResetTask struct {
SGuestBaseTask
}
func (*GuestHardResetTask) OnInit ¶
func (self *GuestHardResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestHardResetTask) OnServerStartComplete ¶
func (self *GuestHardResetTask) OnServerStartComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestHardResetTask) OnServerStopComplete ¶
func (self *GuestHardResetTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestHardResetTask) StartServer ¶
func (self *GuestHardResetTask) StartServer(ctx context.Context, guest *models.SGuest)
func (*GuestHardResetTask) StopServer ¶
func (self *GuestHardResetTask) StopServer(ctx context.Context, guest *models.SGuest)
type GuestInsertIsoTask ¶
type GuestInsertIsoTask struct {
SGuestBaseTask
}
func (*GuestInsertIsoTask) OnConfigSyncComplete ¶
func (self *GuestInsertIsoTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestInsertIsoTask) OnInit ¶
func (self *GuestInsertIsoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestInsertIsoTask) OnIsoPrepareComplete ¶
func (self *GuestInsertIsoTask) OnIsoPrepareComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestInsertIsoTask) OnIsoPrepareCompleteFailed ¶
func (self *GuestInsertIsoTask) OnIsoPrepareCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestIsolatedDeviceSyncTask ¶
type GuestIsolatedDeviceSyncTask struct {
SGuestBaseTask
}
func (*GuestIsolatedDeviceSyncTask) OnInit ¶
func (self *GuestIsolatedDeviceSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestIsolatedDeviceSyncTask) OnStartComplete ¶
func (self *GuestIsolatedDeviceSyncTask) OnStartComplete(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
func (*GuestIsolatedDeviceSyncTask) OnStartCompleteFailed ¶
func (self *GuestIsolatedDeviceSyncTask) OnStartCompleteFailed(ctx context.Context, obj *models.SGuest, data jsonutils.JSONObject)
func (*GuestIsolatedDeviceSyncTask) OnSyncConfigComplete ¶
func (self *GuestIsolatedDeviceSyncTask) OnSyncConfigComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestIsolatedDeviceSyncTask) OnSyncConfigCompleteFailed ¶
func (self *GuestIsolatedDeviceSyncTask) OnSyncConfigCompleteFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestLiveMigrateTask ¶
type GuestLiveMigrateTask struct {
GuestMigrateTask
}
func (*GuestLiveMigrateTask) OnGuestSyncStatus ¶
func (self *GuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
Server live migrate complete
func (*GuestLiveMigrateTask) OnLiveMigrateComplete ¶
func (self *GuestLiveMigrateTask) OnLiveMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnLiveMigrateCompleteFailed ¶
func (self *GuestLiveMigrateTask) OnLiveMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeDestGuestComplete ¶
func (self *GuestLiveMigrateTask) OnResumeDestGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeDestGuestCompleteFailed ¶
func (self *GuestLiveMigrateTask) OnResumeDestGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeSourceGuestComplete ¶
func (self *GuestLiveMigrateTask) OnResumeSourceGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeSourceGuestCompleteFailed ¶
func (self *GuestLiveMigrateTask) OnResumeSourceGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnStartDestComplete ¶
func (self *GuestLiveMigrateTask) OnStartDestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnStartDestCompleteFailed ¶
func (self *GuestLiveMigrateTask) OnStartDestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnUndeploySrcGuestComplete ¶
func (self *GuestLiveMigrateTask) OnUndeploySrcGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestMigrateTask ¶
type GuestMigrateTask struct {
SSchedTask
}
func (*GuestMigrateTask) GetSchedParams ¶
func (self *GuestMigrateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestMigrateTask) OnCachedCdromComplete ¶
func (self *GuestMigrateTask) OnCachedCdromComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnCachedCdromCompleteFailed ¶
func (self *GuestMigrateTask) OnCachedCdromCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnCachedImageComplete ¶
func (self *GuestMigrateTask) OnCachedImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
For local storage get disk info
func (*GuestMigrateTask) OnCachedImageCompleteFailed ¶
func (self *GuestMigrateTask) OnCachedImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnGuestStartSucc ¶
func (self *GuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnGuestStartSuccFailed ¶
func (self *GuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnInit ¶
func (self *GuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnMigrateConfAndDiskComplete ¶
func (self *GuestMigrateTask) OnMigrateConfAndDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnMigrateConfAndDiskCompleteFailed ¶
func (self *GuestMigrateTask) OnMigrateConfAndDiskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnNormalMigrateComplete ¶
func (self *GuestMigrateTask) OnNormalMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnScheduleFailCallback ¶
func (self *GuestMigrateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
func (*GuestMigrateTask) OnScheduleFailed ¶
func (self *GuestMigrateTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestMigrateTask) OnSrcPrepareComplete ¶
func (self *GuestMigrateTask) OnSrcPrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnSrcPrepareCompleteFailed ¶
func (self *GuestMigrateTask) OnSrcPrepareCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnStartSchedule ¶
func (self *GuestMigrateTask) OnStartSchedule(obj IScheduleModel)
func (*GuestMigrateTask) OnUndeployOldHostSucc ¶
func (self *GuestMigrateTask) OnUndeployOldHostSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
Server migrate complete
func (*GuestMigrateTask) OnUndeployOldHostSuccFailed ¶
func (self *GuestMigrateTask) OnUndeployOldHostSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnUndeployTargetGuestSucc ¶
func (self *GuestMigrateTask) OnUndeployTargetGuestSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnUndeployTargetGuestSuccFailed ¶
func (self *GuestMigrateTask) OnUndeployTargetGuestSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) SaveScheduleResult ¶
func (self *GuestMigrateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource)
func (*GuestMigrateTask) TaskComplete ¶
func (self *GuestMigrateTask) TaskComplete(ctx context.Context, guest *models.SGuest)
func (*GuestMigrateTask) TaskFailed ¶
func (self *GuestMigrateTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestPublicipToEipTask ¶
func (*GuestPublicipToEipTask) OnEipConvertComplete ¶
func (self *GuestPublicipToEipTask) OnEipConvertComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestPublicipToEipTask) OnEipConvertCompleteFailed ¶
func (self *GuestPublicipToEipTask) OnEipConvertCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestPublicipToEipTask) OnGuestStartSucc ¶
func (self *GuestPublicipToEipTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestPublicipToEipTask) OnGuestStartSuccFailed ¶
func (self *GuestPublicipToEipTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestPublicipToEipTask) OnGuestSyncstatusComplete ¶
func (self *GuestPublicipToEipTask) OnGuestSyncstatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestPublicipToEipTask) OnGuestSyncstatusCompleteFailed ¶
func (self *GuestPublicipToEipTask) OnGuestSyncstatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestPublicipToEipTask) OnInit ¶
func (self *GuestPublicipToEipTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestQgaSetPasswordTask ¶
type GuestQgaSetPasswordTask struct {
SGuestQgaBaseTask
}
func (*GuestQgaSetPasswordTask) OnInit ¶
func (self *GuestQgaSetPasswordTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestQgaSetPasswordTask) OnQgaGuestPing ¶
func (self *GuestQgaSetPasswordTask) OnQgaGuestPing(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestQgaSetPasswordTask) OnQgaGuestPingFailed ¶
func (self *GuestQgaSetPasswordTask) OnQgaGuestPingFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestQgaSetPasswordTask) OnQgaSetUserPassword ¶
func (self *GuestQgaSetPasswordTask) OnQgaSetUserPassword(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestQgaSetPasswordTask) OnQgaSetUserPasswordFailed ¶
func (self *GuestQgaSetPasswordTask) OnQgaSetUserPasswordFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestReSyncToBackup ¶
type GuestReSyncToBackup struct {
GuestStartAndSyncToBackupTask
}
func (*GuestReSyncToBackup) OnInit ¶
func (self *GuestReSyncToBackup) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestReSyncToBackup) StartSyncToBackup ¶
func (self *GuestReSyncToBackup) StartSyncToBackup(ctx context.Context, guest *models.SGuest)
type GuestRebuildRootTask ¶
type GuestRebuildRootTask struct {
SGuestBaseTask
}
func (*GuestRebuildRootTask) OnGuestStartComplete ¶
func (self *GuestRebuildRootTask) OnGuestStartComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnInit ¶
func (self *GuestRebuildRootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnRebuildAllDisksComplete ¶
func (self *GuestRebuildRootTask) OnRebuildAllDisksComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnRebuildRootDiskComplete ¶
func (self *GuestRebuildRootTask) OnRebuildRootDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnRebuildRootDiskCompleteFailed ¶
func (self *GuestRebuildRootTask) OnRebuildRootDiskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnRebuildingDataDisksComplete ¶
func (self *GuestRebuildRootTask) OnRebuildingDataDisksComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnRebuildingDataDisksCompleteFailed ¶
func (self *GuestRebuildRootTask) OnRebuildingDataDisksCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnStopServerComplete ¶
func (self *GuestRebuildRootTask) OnStopServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) OnSyncStatusComplete ¶
func (self *GuestRebuildRootTask) OnSyncStatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRebuildRootTask) StartRebuildRootDisk ¶
func (self *GuestRebuildRootTask) StartRebuildRootDisk(ctx context.Context, guest *models.SGuest)
type GuestRemoteUpdateTask ¶
type GuestRemoteUpdateTask struct {
SGuestBaseTask
}
func (*GuestRemoteUpdateTask) OnInit ¶
func (self *GuestRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *GuestRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *GuestRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *GuestRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *GuestRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestRenewTask ¶
type GuestRenewTask struct {
SGuestBaseTask
}
func (*GuestRenewTask) OnInit ¶
func (self *GuestRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestResizeDiskTask ¶
type GuestResizeDiskTask struct {
SGuestBaseTask
}
func (*GuestResizeDiskTask) OnDiskResizeComplete ¶
func (task *GuestResizeDiskTask) OnDiskResizeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResizeDiskTask) OnDiskResizeCompleteFailed ¶
func (task *GuestResizeDiskTask) OnDiskResizeCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResizeDiskTask) OnInit ¶
func (task *GuestResizeDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResizeDiskTask) OnTaskFailed ¶
func (task *GuestResizeDiskTask) OnTaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestResizeDiskTask) TaskComplete ¶
func (task *GuestResizeDiskTask) TaskComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResizeDiskTask) TaskCompleteFailed ¶
func (task *GuestResizeDiskTask) TaskCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestRestartNetworkTask ¶
type GuestRestartNetworkTask struct {
SGuestBaseTask
}
func (*GuestRestartNetworkTask) OnCloseIpMacSrcCheckComplete ¶
func (self *GuestRestartNetworkTask) OnCloseIpMacSrcCheckComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestRestartNetworkTask) OnCloseIpMacSrcCheckCompleteFailed ¶
func (self *GuestRestartNetworkTask) OnCloseIpMacSrcCheckCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestRestartNetworkTask) OnInit ¶
func (self *GuestRestartNetworkTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestRestartNetworkTask) OnResumeIpMacSrcCheckComplete ¶
func (self *GuestRestartNetworkTask) OnResumeIpMacSrcCheckComplete(ctx context.Context, obj db.IScopedResourceManager, data jsonutils.JSONObject)
func (*GuestRestartNetworkTask) OnResumeIpMacSrcCheckCompleteFailed ¶
func (self *GuestRestartNetworkTask) OnResumeIpMacSrcCheckCompleteFailed(ctx context.Context, obj db.IScopedResourceManager, data jsonutils.JSONObject)
type GuestRestartTask ¶
type GuestRestartTask struct {
GuestHardResetTask
}
func (*GuestRestartTask) StopServer ¶
func (self *GuestRestartTask) StopServer(ctx context.Context, guest *models.SGuest)
type GuestResumeTask ¶
type GuestResumeTask struct {
SGuestBaseTask
}
func (*GuestResumeTask) OnInit ¶
func (self *GuestResumeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResumeTask) OnResumeComplete ¶
func (self *GuestResumeTask) OnResumeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResumeTask) OnResumeCompleteFailed ¶
func (self *GuestResumeTask) OnResumeCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestResumeTask) OnResumeGuestFail ¶
func (self *GuestResumeTask) OnResumeGuestFail(guest *models.SGuest, reason string)
type GuestSaveGuestImageTask ¶
type GuestSaveGuestImageTask struct {
SGuestBaseTask
}
func (*GuestSaveGuestImageTask) OnInit ¶
func (self *GuestSaveGuestImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestSaveGuestImageTask) OnSaveRootImageComplete ¶
func (self *GuestSaveGuestImageTask) OnSaveRootImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveGuestImageTask) OnSaveRootImageCompleteFailed ¶
func (self *GuestSaveGuestImageTask) OnSaveRootImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveGuestImageTask) OnStartServerComplete ¶
func (self *GuestSaveGuestImageTask) OnStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveGuestImageTask) OnStartServerCompleteFailed ¶
func (self *GuestSaveGuestImageTask) OnStartServerCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestSaveImageTask ¶
type GuestSaveImageTask struct {
SGuestBaseTask
}
func (*GuestSaveImageTask) OnInit ¶
func (self *GuestSaveImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestSaveImageTask) OnSaveRootImageComplete ¶
func (self *GuestSaveImageTask) OnSaveRootImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveImageTask) OnSaveRootImageCompleteFailed ¶
func (self *GuestSaveImageTask) OnSaveRootImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveImageTask) OnStartServerComplete ¶
func (self *GuestSaveImageTask) OnStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveImageTask) OnStartServerCompleteFailed ¶
func (self *GuestSaveImageTask) OnStartServerCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveImageTask) OnStopServerComplete ¶
func (self *GuestSaveImageTask) OnStopServerComplete(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
func (*GuestSaveImageTask) OnStopServerCompleteFailed ¶
func (self *GuestSaveImageTask) OnStopServerCompleteFailed(ctx context.Context, guest *models.SGuest, body jsonutils.JSONObject)
func (*GuestSaveImageTask) OnSyncstatusComplete ¶
func (self *GuestSaveImageTask) OnSyncstatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSaveImageTask) OnSyncstatusCompleteFailed ¶
func (self *GuestSaveImageTask) OnSyncstatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestSaveTemplateTask ¶
func (*GuestSaveTemplateTask) OnInit ¶
func (self *GuestSaveTemplateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type GuestSchedStartTask ¶
type GuestSchedStartTask struct {
SGuestBaseTask
}
func (*GuestSchedStartTask) OnGuestMigrate ¶
func (self *GuestSchedStartTask) OnGuestMigrate(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSchedStartTask) OnGuestMigrateFailed ¶
func (self *GuestSchedStartTask) OnGuestMigrateFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSchedStartTask) OnInit ¶
func (self *GuestSchedStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSchedStartTask) ScheduleFailed ¶
func (self *GuestSchedStartTask) ScheduleFailed(ctx context.Context, guest *models.SGuest)
func (*GuestSchedStartTask) ScheduleSucc ¶
func (self *GuestSchedStartTask) ScheduleSucc(ctx context.Context, guest *models.SGuest)
func (*GuestSchedStartTask) StartScheduler ¶
func (self *GuestSchedStartTask) StartScheduler(ctx context.Context, guest *models.SGuest)
func (*GuestSchedStartTask) TaskFailed ¶
func (self *GuestSchedStartTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestSetAutoRenewTask ¶
type GuestSetAutoRenewTask struct {
SGuestBaseTask
}
func (*GuestSetAutoRenewTask) OnGuestSyncstatusComplete ¶
func (self *GuestSetAutoRenewTask) OnGuestSyncstatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSetAutoRenewTask) OnGuestSyncstatusCompleteFailed ¶
func (self *GuestSetAutoRenewTask) OnGuestSyncstatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSetAutoRenewTask) OnInit ¶
func (self *GuestSetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSetAutoRenewTask) OnSetAutoRenewComplete ¶
func (self *GuestSetAutoRenewTask) OnSetAutoRenewComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSetAutoRenewTask) OnSetAutoRenewCompleteFailed ¶
func (self *GuestSetAutoRenewTask) OnSetAutoRenewCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestSoftResetTask ¶
type GuestSoftResetTask struct {
SGuestBaseTask
}
func (*GuestSoftResetTask) OnInit ¶
func (self *GuestSoftResetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestStartAndSyncToBackupTask ¶
type GuestStartAndSyncToBackupTask struct {
SGuestBaseTask
}
func (*GuestStartAndSyncToBackupTask) OnCheckTemplete ¶
func (self *GuestStartAndSyncToBackupTask) OnCheckTemplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnInit ¶
func (self *GuestStartAndSyncToBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnRequestSyncToBackup ¶
func (self *GuestStartAndSyncToBackupTask) OnRequestSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnRequestSyncToBackupFailed ¶
func (self *GuestStartAndSyncToBackupTask) OnRequestSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnStartBackupGuest ¶
func (self *GuestStartAndSyncToBackupTask) OnStartBackupGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnStartBackupGuestFailed ¶
func (self *GuestStartAndSyncToBackupTask) OnStartBackupGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestStartTask ¶
type GuestStartTask struct {
SGuestBaseTask
}
func (*GuestStartTask) OnInit ¶
func (self *GuestStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestStartTask) OnStartComplete ¶
func (self *GuestStartTask) OnStartComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestStartTask) OnStartCompleteFailed ¶
func (self *GuestStartTask) OnStartCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestStartTask) RequestStart ¶
func (self *GuestStartTask) RequestStart(ctx context.Context, guest *models.SGuest)
type GuestStopAndFreezeTask ¶
type GuestStopAndFreezeTask struct {
SGuestBaseTask
}
func (*GuestStopAndFreezeTask) OnInit ¶
func (self *GuestStopAndFreezeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestStopAndFreezeTask) OnStopGuest ¶
func (self *GuestStopAndFreezeTask) OnStopGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStopAndFreezeTask) OnStopGuestFailed ¶
func (self *GuestStopAndFreezeTask) OnStopGuestFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestStopAndFreezeTask) OnSyncStatus ¶
func (self *GuestStopAndFreezeTask) OnSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStopAndFreezeTask) OnSyncStatusFailed ¶
func (self *GuestStopAndFreezeTask) OnSyncStatusFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestStopTask ¶
type GuestStopTask struct {
SGuestBaseTask
}
func (*GuestStopTask) OnGuestStopTaskComplete ¶
func (self *GuestStopTask) OnGuestStopTaskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStopTask) OnGuestStopTaskCompleteFailed ¶
func (self *GuestStopTask) OnGuestStopTaskCompleteFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestStopTask) OnInit ¶
func (self *GuestStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestSuspendTask ¶
type GuestSuspendTask struct {
SGuestBaseTask
}
func (*GuestSuspendTask) OnInit ¶
func (self *GuestSuspendTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSuspendTask) OnSuspendComplete ¶
func (self *GuestSuspendTask) OnSuspendComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSuspendTask) OnSuspendCompleteFailed ¶
func (self *GuestSuspendTask) OnSuspendCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestSuspendTask) OnSuspendGuestFail ¶
func (self *GuestSuspendTask) OnSuspendGuestFail(guest *models.SGuest, reason string)
type GuestSwitchToBackupTask ¶
type GuestSwitchToBackupTask struct {
SGuestBaseTask
}
func (*GuestSwitchToBackupTask) OnBackupGuestStoped ¶
func (self *GuestSwitchToBackupTask) OnBackupGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnComplete ¶
func (self *GuestSwitchToBackupTask) OnComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnEnsureMasterGuestStoped ¶
func (self *GuestSwitchToBackupTask) OnEnsureMasterGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnFail ¶
func (self *GuestSwitchToBackupTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnGuestStartCompleted ¶
func (self *GuestSwitchToBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnGuestStartCompletedFailed ¶
func (self *GuestSwitchToBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnInit ¶
func (self *GuestSwitchToBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
0. ensure master guest stopped 1. stop backup guest 2. switch guest master host to backup host 3. start guest with new master
type GuestSyncConfTask ¶
type GuestSyncConfTask struct {
SGuestBaseTask
}
func (*GuestSyncConfTask) OnDiskSyncComplete ¶
func (self *GuestSyncConfTask) OnDiskSyncComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSyncConfTask) OnDiskSyncCompleteFailed ¶
func (self *GuestSyncConfTask) OnDiskSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSyncConfTask) OnInit ¶
func (self *GuestSyncConfTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSyncConfTask) OnSyncComplete ¶
func (self *GuestSyncConfTask) OnSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSyncConfTask) OnSyncCompleteFailed ¶
func (self *GuestSyncConfTask) OnSyncCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSyncConfTask) OnSyncStatusComplete ¶
func (self *GuestSyncConfTask) OnSyncStatusComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSyncConfTask) OnSyncStatusCompleteFailed ¶
func (self *GuestSyncConfTask) OnSyncStatusCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestSyncstatusTask ¶
type GuestSyncstatusTask struct {
SGuestBaseTask
}
func (*GuestSyncstatusTask) OnGetStatusComplete ¶
func (self *GuestSyncstatusTask) OnGetStatusComplete(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestSyncstatusTask) OnGetStatusCompleteFailed ¶
func (self *GuestSyncstatusTask) OnGetStatusCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestSyncstatusTask) OnInit ¶
func (self *GuestSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type GuestUndeployTask ¶
type GuestUndeployTask struct {
SGuestBaseTask
}
func (*GuestUndeployTask) OnGuestUndeployComplete ¶
func (self *GuestUndeployTask) OnGuestUndeployComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestUndeployTask) OnInit ¶
func (self *GuestUndeployTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestUndeployTask) OnMasterHostUndeployGuestComplete ¶
func (self *GuestUndeployTask) OnMasterHostUndeployGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestUndeployTask) OnStartDeleteGuestFail ¶
func (self *GuestUndeployTask) OnStartDeleteGuestFail(ctx context.Context, err error)
type HADiskCreateTask ¶
type HADiskCreateTask struct {
DiskCreateTask
}
func (*HADiskCreateTask) OnBackupAllocateFailed ¶
func (self *HADiskCreateTask) OnBackupAllocateFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*HADiskCreateTask) OnBackupStorageCacheImageComplete ¶
func (self *HADiskCreateTask) OnBackupStorageCacheImageComplete( ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject, )
func (*HADiskCreateTask) OnDiskReady ¶
func (self *HADiskCreateTask) OnDiskReady( ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject, )
func (*HADiskCreateTask) OnSlaveDiskReady ¶
func (self *HADiskCreateTask) OnSlaveDiskReady( ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject, )
func (*HADiskCreateTask) OnStorageCacheImageComplete ¶
func (self *HADiskCreateTask) OnStorageCacheImageComplete( ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject, )
type HAGuestDeployTask ¶
type HAGuestDeployTask struct {
GuestDeployTask
}
func (*HAGuestDeployTask) DeployBackup ¶
func (self *HAGuestDeployTask) DeployBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*HAGuestDeployTask) OnDeploySlaveGuestComplete ¶
func (self *HAGuestDeployTask) OnDeploySlaveGuestComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestDeployTask) OnDeploySlaveGuestCompleteFailed ¶
func (self *HAGuestDeployTask) OnDeploySlaveGuestCompleteFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestDeployTask) OnDeployWaitServerStop ¶
func (self *HAGuestDeployTask) OnDeployWaitServerStop( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
type HAGuestStartTask ¶
type HAGuestStartTask struct {
GuestStartTask
}
func (*HAGuestStartTask) OnBackupGuestStopComplete ¶
func (self *HAGuestStartTask) OnBackupGuestStopComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestStartTask) OnBackupGuestStopCompleteFailed ¶
func (self *HAGuestStartTask) OnBackupGuestStopCompleteFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestStartTask) OnInit ¶
func (self *HAGuestStartTask) OnInit( ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject, )
func (*HAGuestStartTask) OnStartBackupGuestComplete ¶
func (self *HAGuestStartTask) OnStartBackupGuestComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestStartTask) OnStartBackupGuestCompleteFailed ¶
func (self *HAGuestStartTask) OnStartBackupGuestCompleteFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestStartTask) OnStartComplete ¶
func (self *HAGuestStartTask) OnStartComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*HAGuestStartTask) RequestStartBacking ¶
func (self *HAGuestStartTask) RequestStartBacking(ctx context.Context, guest *models.SGuest)
func (*HAGuestStartTask) RequestStopBackupGuest ¶
func (self *HAGuestStartTask) RequestStopBackupGuest(ctx context.Context, guest *models.SGuest)
type HAGuestStopTask ¶
type HAGuestStopTask struct {
GuestStopTask
}
func (*HAGuestStopTask) OnGuestStopTaskComplete ¶
func (self *HAGuestStopTask) OnGuestStopTaskComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestStopTask) OnSlaveGuestStopTaskComplete ¶
func (self *HAGuestStopTask) OnSlaveGuestStopTaskComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HAGuestStopTask) OnSlaveGuestStopTaskCompleteFailed ¶
func (self *HAGuestStopTask) OnSlaveGuestStopTaskCompleteFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
type HaGuestInsertIsoTask ¶
type HaGuestInsertIsoTask struct {
GuestInsertIsoTask
}
func (*HaGuestInsertIsoTask) OnBackupIsoPrepareComplete ¶
func (self *HaGuestInsertIsoTask) OnBackupIsoPrepareComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HaGuestInsertIsoTask) OnBackupIsoPrepareCompleteFailed ¶
func (self *HaGuestInsertIsoTask) OnBackupIsoPrepareCompleteFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HaGuestInsertIsoTask) OnInit ¶
func (self *HaGuestInsertIsoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type HostGuestsMigrateTask ¶
func (*HostGuestsMigrateTask) OnInit ¶
func (self *HostGuestsMigrateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, data jsonutils.JSONObject)
func (*HostGuestsMigrateTask) OnMigrateComplete ¶
func (self *HostGuestsMigrateTask) OnMigrateComplete(ctx context.Context, objs []db.IStandaloneModel, data jsonutils.JSONObject)
func (*HostGuestsMigrateTask) OnMigrateCompleteFailed ¶
func (self *HostGuestsMigrateTask) OnMigrateCompleteFailed(ctx context.Context, objs []db.IStandaloneModel, data jsonutils.JSONObject)
type HostImportLibvirtServersTask ¶
func (*HostImportLibvirtServersTask) CreateImportedLibvirtGuestOnHost ¶
func (self *HostImportLibvirtServersTask) CreateImportedLibvirtGuestOnHost( ctx context.Context, host *models.SHost, guest *models.SGuest, guestDesc *compute.SImportGuestDesc, ) error
Create sub task to create guest on host, and feedback disk real access path
func (*HostImportLibvirtServersTask) FillLibvirtGuestDesc ¶
func (self *HostImportLibvirtServersTask) FillLibvirtGuestDesc( ctx context.Context, host *models.SHost, guestDesc *compute.SImportGuestDesc, ) error
func (*HostImportLibvirtServersTask) OnInit ¶
func (self *HostImportLibvirtServersTask) OnInit( ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject, )
func (*HostImportLibvirtServersTask) OnRequestHostPrepareImport ¶
func (self *HostImportLibvirtServersTask) OnRequestHostPrepareImport( ctx context.Context, host *models.SHost, body jsonutils.JSONObject, )
func (*HostImportLibvirtServersTask) RequestHostPrepareImport ¶
func (self *HostImportLibvirtServersTask) RequestHostPrepareImport( ctx context.Context, host *models.SHost, )
func (*HostImportLibvirtServersTask) StartImportServers ¶
func (self *HostImportLibvirtServersTask) StartImportServers( ctx context.Context, host *models.SHost, guestsDesc []compute.SImportGuestDesc, )
func (*HostImportLibvirtServersTask) TaskFailed ¶
func (self *HostImportLibvirtServersTask) TaskFailed( ctx context.Context, host *models.SHost, reason jsonutils.JSONObject, )
type HostMaintainTask ¶
func (*HostMaintainTask) OnGuestsMigrate ¶
func (self *HostMaintainTask) OnGuestsMigrate(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
func (*HostMaintainTask) OnGuestsMigrateFailed ¶
func (self *HostMaintainTask) OnGuestsMigrateFailed(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
func (*HostMaintainTask) OnInit ¶
func (self *HostMaintainTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*HostMaintainTask) TaskFailed ¶
func (self *HostMaintainTask) TaskFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
type HostStorageAttachTask ¶
func (*HostStorageAttachTask) OnAttachStorageComplete ¶
func (self *HostStorageAttachTask) OnAttachStorageComplete(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
func (*HostStorageAttachTask) OnAttachStorageCompleteFailed ¶
func (self *HostStorageAttachTask) OnAttachStorageCompleteFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
func (*HostStorageAttachTask) OnInit ¶
func (self *HostStorageAttachTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type HostStorageDetachTask ¶
func (*HostStorageDetachTask) OnDetachStorageComplete ¶
func (self *HostStorageDetachTask) OnDetachStorageComplete(ctx context.Context, host *models.SHost, data jsonutils.JSONObject)
func (*HostStorageDetachTask) OnDetachStorageCompleteFailed ¶
func (self *HostStorageDetachTask) OnDetachStorageCompleteFailed(ctx context.Context, host *models.SHost, reason jsonutils.JSONObject)
func (*HostStorageDetachTask) OnInit ¶
func (self *HostStorageDetachTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type HostSyncTask ¶
func (*HostSyncTask) OnInit ¶
func (self *HostSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type HuaweiLoadbalancerLoadbalancerBackendGroupCreateTask ¶
type HuaweiLoadbalancerLoadbalancerBackendGroupCreateTask struct {
LoadbalancerLoadbalancerBackendGroupCreateTask
}
func (*HuaweiLoadbalancerLoadbalancerBackendGroupCreateTask) OnInit ¶
func (self *HuaweiLoadbalancerLoadbalancerBackendGroupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type IScheduleModel ¶
type IScheduleModel interface { db.IStandaloneModel SetStatus(userCred mcclient.TokenCredential, status string, reason string) error }
type IScheduleTask ¶
type IScheduleTask interface { GetUserCred() mcclient.TokenCredential GetSchedParams() (*schedapi.ScheduleInput, error) GetPendingUsage(quota quotas.IQuota, index int) error SetStage(stageName string, data *jsonutils.JSONDict) error SetStageFailed(ctx context.Context, reason jsonutils.JSONObject) OnStartSchedule(obj IScheduleModel) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject) // OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, master, slave *schedapi.CandidateResource) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject) }
type InstanceBackupCreateTask ¶
func (*InstanceBackupCreateTask) OnInit ¶
func (self *InstanceBackupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceBackupCreateTask) OnInstanceBackup ¶
func (self *InstanceBackupCreateTask) OnInstanceBackup(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupCreateTask) OnInstanceBackupFailed ¶
func (self *InstanceBackupCreateTask) OnInstanceBackupFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupCreateTask) OnKvmDisksSnapshot ¶
func (self *InstanceBackupCreateTask) OnKvmDisksSnapshot(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupCreateTask) OnKvmDisksSnapshotFailed ¶
func (self *InstanceBackupCreateTask) OnKvmDisksSnapshotFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
type InstanceBackupDeleteTask ¶
func (*InstanceBackupDeleteTask) OnInit ¶
func (self *InstanceBackupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceBackupDeleteTask) OnInstanceBackupDelete ¶
func (self *InstanceBackupDeleteTask) OnInstanceBackupDelete(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupDeleteTask) OnInstanceBackupDeleteFailed ¶
func (self *InstanceBackupDeleteTask) OnInstanceBackupDeleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupDeleteTask) OnKvmDiskBackupDelete ¶
func (self *InstanceBackupDeleteTask) OnKvmDiskBackupDelete( ctx context.Context, isp *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupDeleteTask) OnKvmDiskBackupDeleteFailed ¶
func (self *InstanceBackupDeleteTask) OnKvmDiskBackupDeleteFailed( ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
type InstanceBackupPackTask ¶
func (*InstanceBackupPackTask) OnInit ¶
func (self *InstanceBackupPackTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceBackupPackTask) OnPackComplete ¶
func (self *InstanceBackupPackTask) OnPackComplete(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupPackTask) OnPackCompleteFailed ¶
func (self *InstanceBackupPackTask) OnPackCompleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
type InstanceBackupRecoveryTask ¶
func (*InstanceBackupRecoveryTask) OnCreateGuest ¶
func (self *InstanceBackupRecoveryTask) OnCreateGuest(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupRecoveryTask) OnCreateGuestFailed ¶
func (self *InstanceBackupRecoveryTask) OnCreateGuestFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupRecoveryTask) OnInit ¶
func (self *InstanceBackupRecoveryTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type InstanceBackupSyncstatusTask ¶
func (*InstanceBackupSyncstatusTask) OnInit ¶
func (self *InstanceBackupSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceBackupSyncstatusTask) OnInstnaceBackupSyncstatus ¶
func (self *InstanceBackupSyncstatusTask) OnInstnaceBackupSyncstatus(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupSyncstatusTask) OnInstnaceBackupSyncstatusFailed ¶
func (self *InstanceBackupSyncstatusTask) OnInstnaceBackupSyncstatusFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupSyncstatusTask) OnKvmBackupSyncstatus ¶
func (self *InstanceBackupSyncstatusTask) OnKvmBackupSyncstatus(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupSyncstatusTask) OnKvmBackupSyncstatusFailed ¶
func (self *InstanceBackupSyncstatusTask) OnKvmBackupSyncstatusFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
type InstanceBackupUnpackTask ¶
func (*InstanceBackupUnpackTask) OnInit ¶
func (self *InstanceBackupUnpackTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceBackupUnpackTask) OnUnpackComplete ¶
func (self *InstanceBackupUnpackTask) OnUnpackComplete(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupUnpackTask) OnUnpackCompleteFailed ¶
func (self *InstanceBackupUnpackTask) OnUnpackCompleteFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupUnpackTask) OnUnpackMetadata ¶
func (self *InstanceBackupUnpackTask) OnUnpackMetadata(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
func (*InstanceBackupUnpackTask) OnUnpackMetadataFailed ¶
func (self *InstanceBackupUnpackTask) OnUnpackMetadataFailed(ctx context.Context, ib *models.SInstanceBackup, data jsonutils.JSONObject)
type InstanceSnapshotAndCloneTask ¶
func (*InstanceSnapshotAndCloneTask) OnCreateInstanceSnapshot ¶
func (self *InstanceSnapshotAndCloneTask) OnCreateInstanceSnapshot( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotAndCloneTask) OnCreateInstanceSnapshotFailed ¶
func (self *InstanceSnapshotAndCloneTask) OnCreateInstanceSnapshotFailed( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotAndCloneTask) OnInit ¶
func (self *InstanceSnapshotAndCloneTask) OnInit( ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceSnapshotAndCloneTask) SetStageFailed ¶
func (self *InstanceSnapshotAndCloneTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
type InstanceSnapshotCreateTask ¶
func (*InstanceSnapshotCreateTask) OnInit ¶
func (self *InstanceSnapshotCreateTask) OnInit( ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceSnapshotCreateTask) OnInstanceSnapshot ¶
func (self *InstanceSnapshotCreateTask) OnInstanceSnapshot(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotCreateTask) OnInstanceSnapshotFailed ¶
func (self *InstanceSnapshotCreateTask) OnInstanceSnapshotFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotCreateTask) OnKvmDiskSnapshot ¶
func (self *InstanceSnapshotCreateTask) OnKvmDiskSnapshot( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotCreateTask) OnKvmDiskSnapshotFailed ¶
func (self *InstanceSnapshotCreateTask) OnKvmDiskSnapshotFailed( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotCreateTask) SetStageFailed ¶
func (self *InstanceSnapshotCreateTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
type InstanceSnapshotDeleteTask ¶
func (*InstanceSnapshotDeleteTask) OnInit ¶
func (self *InstanceSnapshotDeleteTask) OnInit( ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceSnapshotDeleteTask) OnInstanceSnapshotDelete ¶
func (self *InstanceSnapshotDeleteTask) OnInstanceSnapshotDelete(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotDeleteTask) OnInstanceSnapshotDeleteFailed ¶
func (self *InstanceSnapshotDeleteTask) OnInstanceSnapshotDeleteFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotDeleteTask) OnKvmSnapshotDelete ¶
func (self *InstanceSnapshotDeleteTask) OnKvmSnapshotDelete( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotDeleteTask) OnKvmSnapshotDeleteFailed ¶
func (self *InstanceSnapshotDeleteTask) OnKvmSnapshotDeleteFailed( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
type InstanceSnapshotResetTask ¶
func (*InstanceSnapshotResetTask) OnGuestStartComplete ¶
func (self *InstanceSnapshotResetTask) OnGuestStartComplete(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotResetTask) OnInit ¶
func (self *InstanceSnapshotResetTask) OnInit( ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InstanceSnapshotResetTask) OnInstanceSnapshotReset ¶
func (self *InstanceSnapshotResetTask) OnInstanceSnapshotReset(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotResetTask) OnInstanceSnapshotResetFailed ¶
func (self *InstanceSnapshotResetTask) OnInstanceSnapshotResetFailed(ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotResetTask) OnKvmDiskReset ¶
func (self *InstanceSnapshotResetTask) OnKvmDiskReset( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
func (*InstanceSnapshotResetTask) OnKvmDiskResetFailed ¶
func (self *InstanceSnapshotResetTask) OnKvmDiskResetFailed( ctx context.Context, isp *models.SInstanceSnapshot, data jsonutils.JSONObject)
type InterVpcNetworkAddVpcTask ¶
func (*InterVpcNetworkAddVpcTask) OnInit ¶
func (self *InterVpcNetworkAddVpcTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*InterVpcNetworkAddVpcTask) OnSyncInterVpcNetworkComplete ¶
func (self *InterVpcNetworkAddVpcTask) OnSyncInterVpcNetworkComplete(ctx context.Context, network *models.SInterVpcNetwork, data jsonutils.JSONObject)
func (*InterVpcNetworkAddVpcTask) OnSyncInterVpcNetworkCompleteFailed ¶
func (self *InterVpcNetworkAddVpcTask) OnSyncInterVpcNetworkCompleteFailed(ctx context.Context, network *models.SInterVpcNetwork, data jsonutils.JSONObject)
type InterVpcNetworkCreateTask ¶
func (*InterVpcNetworkCreateTask) OnInit ¶
func (self *InterVpcNetworkCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type InterVpcNetworkDeleteTask ¶
func (*InterVpcNetworkDeleteTask) OnInit ¶
func (self *InterVpcNetworkDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type InterVpcNetworkRemoveVpcTask ¶
func (*InterVpcNetworkRemoveVpcTask) OnInit ¶
func (self *InterVpcNetworkRemoveVpcTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InterVpcNetworkRemoveVpcTask) OnSyncInterVpcNetworkComplete ¶
func (self *InterVpcNetworkRemoveVpcTask) OnSyncInterVpcNetworkComplete(ctx context.Context, network *models.SInterVpcNetwork, data jsonutils.JSONObject)
func (*InterVpcNetworkRemoveVpcTask) OnSyncInterVpcNetworkCompleteFailed ¶
func (self *InterVpcNetworkRemoveVpcTask) OnSyncInterVpcNetworkCompleteFailed(ctx context.Context, network *models.SInterVpcNetwork, data jsonutils.JSONObject)
type InterVpcNetworkSyncstatusTask ¶
func (*InterVpcNetworkSyncstatusTask) OnInit ¶
func (self *InterVpcNetworkSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type InterVpcNetworkUpdateRoutesetTask ¶
func (*InterVpcNetworkUpdateRoutesetTask) OnInit ¶
func (self *InterVpcNetworkUpdateRoutesetTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*InterVpcNetworkUpdateRoutesetTask) OnSyncInterVpcNetworkComplete ¶
func (self *InterVpcNetworkUpdateRoutesetTask) OnSyncInterVpcNetworkComplete(ctx context.Context, network *models.SInterVpcNetwork, data jsonutils.JSONObject)
func (*InterVpcNetworkUpdateRoutesetTask) OnSyncInterVpcNetworkCompleteFailed ¶
func (self *InterVpcNetworkUpdateRoutesetTask) OnSyncInterVpcNetworkCompleteFailed(ctx context.Context, network *models.SInterVpcNetwork, data jsonutils.JSONObject)
type KVMGuestCreateDiskTask ¶
type KVMGuestCreateDiskTask struct {
SGuestCreateDiskBaseTask
}
func (*KVMGuestCreateDiskTask) OnConfigSyncComplete ¶
func (self *KVMGuestCreateDiskTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KVMGuestCreateDiskTask) OnInit ¶
func (self *KVMGuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KVMGuestCreateDiskTask) OnKvmDiskPrepared ¶
func (self *KVMGuestCreateDiskTask) OnKvmDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type KVMGuestRebuildRootTask ¶
type KVMGuestRebuildRootTask struct {
SGuestBaseTask
}
func (*KVMGuestRebuildRootTask) OnGuestDeployComplete ¶
func (self *KVMGuestRebuildRootTask) OnGuestDeployComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KVMGuestRebuildRootTask) OnGuestDeployCompleteFailed ¶
func (self *KVMGuestRebuildRootTask) OnGuestDeployCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KVMGuestRebuildRootTask) OnInit ¶
func (self *KVMGuestRebuildRootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KVMGuestRebuildRootTask) OnRebuildRootDiskComplete ¶
func (self *KVMGuestRebuildRootTask) OnRebuildRootDiskComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KVMGuestRebuildRootTask) OnRebuildRootDiskCompleteFailed ¶
func (self *KVMGuestRebuildRootTask) OnRebuildRootDiskCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type KafkaDeleteTask ¶
func (*KafkaDeleteTask) OnInit ¶
func (self *KafkaDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type KafkaSyncstatusTask ¶
func (*KafkaSyncstatusTask) OnInit ¶
func (self *KafkaSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type KubeClusterDeleteTask ¶
func (*KubeClusterDeleteTask) OnInit ¶
func (self *KubeClusterDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type KubeClusterSyncstatusTask ¶
func (*KubeClusterSyncstatusTask) OnInit ¶
func (self *KubeClusterSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type LoadbalancerAclCreateTask ¶
func (*LoadbalancerAclCreateTask) OnInit ¶
func (self *LoadbalancerAclCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerAclCreateTask) OnLoadbalancerAclCreateComplete ¶
func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateComplete(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclCreateTask) OnLoadbalancerAclCreateCompleteFailed ¶
func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateCompleteFailed(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, reason jsonutils.JSONObject)
type LoadbalancerAclDeleteTask ¶
func (*LoadbalancerAclDeleteTask) OnInit ¶
func (self *LoadbalancerAclDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteComplete ¶
func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteComplete(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteCompleteFailed ¶
func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteCompleteFailed(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, reason jsonutils.JSONObject)
type LoadbalancerAclSyncTask ¶
func (*LoadbalancerAclSyncTask) OnInit ¶
func (self *LoadbalancerAclSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerAclSyncTask) OnLoadbalancerAclSyncComplete ¶
func (self *LoadbalancerAclSyncTask) OnLoadbalancerAclSyncComplete(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclSyncTask) OnLoadbalancerAclSyncCompleteFailed ¶
func (self *LoadbalancerAclSyncTask) OnLoadbalancerAclSyncCompleteFailed(ctx context.Context, lbacl *models.SCachedLoadbalancerAcl, reason jsonutils.JSONObject)
type LoadbalancerBackendCreateTask ¶
func (*LoadbalancerBackendCreateTask) OnInit ¶
func (self *LoadbalancerBackendCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerBackendCreateTask) OnLoadbalancerBackendCreateComplete ¶
func (self *LoadbalancerBackendCreateTask) OnLoadbalancerBackendCreateComplete(ctx context.Context, lbb *models.SLoadbalancerBackend, data jsonutils.JSONObject)
func (*LoadbalancerBackendCreateTask) OnLoadbalancerBackendCreateCompleteFailed ¶
func (self *LoadbalancerBackendCreateTask) OnLoadbalancerBackendCreateCompleteFailed(ctx context.Context, lbb *models.SLoadbalancerBackend, reason jsonutils.JSONObject)
type LoadbalancerBackendDeleteTask ¶
func (*LoadbalancerBackendDeleteTask) OnInit ¶
func (self *LoadbalancerBackendDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerBackendDeleteTask) OnLoadbalancerBackendDeleteComplete ¶
func (self *LoadbalancerBackendDeleteTask) OnLoadbalancerBackendDeleteComplete(ctx context.Context, lbb *models.SLoadbalancerBackend, data jsonutils.JSONObject)
func (*LoadbalancerBackendDeleteTask) OnLoadbalancerBackendDeleteCompleteFailed ¶
func (self *LoadbalancerBackendDeleteTask) OnLoadbalancerBackendDeleteCompleteFailed(ctx context.Context, lbb *models.SLoadbalancerBackend, reason jsonutils.JSONObject)
type LoadbalancerBackendGroupDeleteTask ¶
func (*LoadbalancerBackendGroupDeleteTask) OnInit ¶
func (self *LoadbalancerBackendGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerBackendGroupDeleteTask) OnLoadbalancerBackendGroupDeleteComplete ¶
func (self *LoadbalancerBackendGroupDeleteTask) OnLoadbalancerBackendGroupDeleteComplete(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, data jsonutils.JSONObject)
func (*LoadbalancerBackendGroupDeleteTask) OnLoadbalancerBackendGroupDeleteCompleteFailed ¶
func (self *LoadbalancerBackendGroupDeleteTask) OnLoadbalancerBackendGroupDeleteCompleteFailed(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, reason jsonutils.JSONObject)
type LoadbalancerBackendSyncTask ¶
func (*LoadbalancerBackendSyncTask) OnInit ¶
func (self *LoadbalancerBackendSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerBackendSyncTask) OnLoadbalancerBackendCreateComplete ¶
func (self *LoadbalancerBackendSyncTask) OnLoadbalancerBackendCreateComplete(ctx context.Context, lbb *models.SLoadbalancerBackend, data jsonutils.JSONObject)
func (*LoadbalancerBackendSyncTask) OnLoadbalancerBackendCreateCompleteFailed ¶
func (self *LoadbalancerBackendSyncTask) OnLoadbalancerBackendCreateCompleteFailed(ctx context.Context, lbb *models.SLoadbalancerBackend, reason jsonutils.JSONObject)
type LoadbalancerCertificateCreateTask ¶
func (*LoadbalancerCertificateCreateTask) OnInit ¶
func (self *LoadbalancerCertificateCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateComplete ¶
func (self *LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateComplete(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, data jsonutils.JSONObject)
func (*LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateCompleteFailed ¶
func (self *LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateCompleteFailed(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, reason jsonutils.JSONObject)
type LoadbalancerCertificateDeleteTask ¶
func (*LoadbalancerCertificateDeleteTask) OnInit ¶
func (self *LoadbalancerCertificateDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteComplete ¶
func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteComplete(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, data jsonutils.JSONObject)
func (*LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteCompleteFailed ¶
func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteCompleteFailed(ctx context.Context, lbcert *models.SCachedLoadbalancerCertificate, reason jsonutils.JSONObject)
type LoadbalancerCreateTask ¶
func (*LoadbalancerCreateTask) OnInit ¶
func (self *LoadbalancerCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerCreateTask) OnLoadbalancerCreateComplete ¶
func (self *LoadbalancerCreateTask) OnLoadbalancerCreateComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerCreateTask) OnLoadbalancerCreateCompleteFailed ¶
func (self *LoadbalancerCreateTask) OnLoadbalancerCreateCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
func (*LoadbalancerCreateTask) OnLoadbalancerStartComplete ¶
func (self *LoadbalancerCreateTask) OnLoadbalancerStartComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerCreateTask) OnLoadbalancerStartCompleteFailed ¶
func (self *LoadbalancerCreateTask) OnLoadbalancerStartCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
type LoadbalancerDeleteTask ¶
func (*LoadbalancerDeleteTask) OnInit ¶
func (self *LoadbalancerDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerDeleteTask) OnLoadbalancerDeleteComplete ¶
func (self *LoadbalancerDeleteTask) OnLoadbalancerDeleteComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerDeleteTask) OnLoadbalancerDeleteCompleteFailed ¶
func (self *LoadbalancerDeleteTask) OnLoadbalancerDeleteCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
type LoadbalancerListenerCreateTask ¶
func (*LoadbalancerListenerCreateTask) OnInit ¶
func (self *LoadbalancerListenerCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerCreateTask) OnLoadbalancerListenerCreateComplete ¶
func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerCreateComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerCreateTask) OnLoadbalancerListenerCreateCompleteFailed ¶
func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerCreateCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
func (*LoadbalancerListenerCreateTask) OnLoadbalancerListenerStartComplete ¶
func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerStartComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerCreateTask) OnLoadbalancerListenerStartCompleteFailed ¶
func (self *LoadbalancerListenerCreateTask) OnLoadbalancerListenerStartCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
func (*LoadbalancerListenerCreateTask) OnPrepareLoadbalancerBackendgroup ¶
func (self *LoadbalancerListenerCreateTask) OnPrepareLoadbalancerBackendgroup(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerCreateTask) OnPrepareLoadbalancerBackendgroupFailed ¶
func (self *LoadbalancerListenerCreateTask) OnPrepareLoadbalancerBackendgroupFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
type LoadbalancerListenerDeleteTask ¶
func (*LoadbalancerListenerDeleteTask) OnInit ¶
func (self *LoadbalancerListenerDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerDeleteTask) OnLoadbalancerListenerDeleteComplete ¶
func (self *LoadbalancerListenerDeleteTask) OnLoadbalancerListenerDeleteComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerDeleteTask) OnLoadbalancerListenerDeleteCompleteFailed ¶
func (self *LoadbalancerListenerDeleteTask) OnLoadbalancerListenerDeleteCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
type LoadbalancerListenerRuleCreateTask ¶
func (*LoadbalancerListenerRuleCreateTask) OnCreateLoadbalancerListenerRule ¶
func (self *LoadbalancerListenerRuleCreateTask) OnCreateLoadbalancerListenerRule(ctx context.Context, lbr *models.SLoadbalancerListenerRule, data jsonutils.JSONObject)
func (*LoadbalancerListenerRuleCreateTask) OnCreateLoadbalancerListenerRuleFailed ¶
func (self *LoadbalancerListenerRuleCreateTask) OnCreateLoadbalancerListenerRuleFailed(ctx context.Context, lbr *models.SLoadbalancerListenerRule, reason jsonutils.JSONObject)
func (*LoadbalancerListenerRuleCreateTask) OnInit ¶
func (self *LoadbalancerListenerRuleCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerRuleCreateTask) OnLoadbalancerListenerRuleCreateComplete ¶
func (self *LoadbalancerListenerRuleCreateTask) OnLoadbalancerListenerRuleCreateComplete(ctx context.Context, lbr *models.SLoadbalancerListenerRule, data jsonutils.JSONObject)
func (*LoadbalancerListenerRuleCreateTask) OnLoadbalancerListenerRuleCreateCompleteFailed ¶
func (self *LoadbalancerListenerRuleCreateTask) OnLoadbalancerListenerRuleCreateCompleteFailed(ctx context.Context, lbr *models.SLoadbalancerListenerRule, reason jsonutils.JSONObject)
func (*LoadbalancerListenerRuleCreateTask) OnPrepareLoadbalancerBackendgroup ¶
func (self *LoadbalancerListenerRuleCreateTask) OnPrepareLoadbalancerBackendgroup(ctx context.Context, region *models.SCloudregion, lbr *models.SLoadbalancerListenerRule, data jsonutils.JSONObject)
type LoadbalancerListenerRuleDeleteTask ¶
func (*LoadbalancerListenerRuleDeleteTask) OnInit ¶
func (self *LoadbalancerListenerRuleDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerRuleDeleteTask) OnLoadbalancerListenerRuleDeleteComplete ¶
func (self *LoadbalancerListenerRuleDeleteTask) OnLoadbalancerListenerRuleDeleteComplete(ctx context.Context, lbr *models.SLoadbalancerListenerRule, data jsonutils.JSONObject)
func (*LoadbalancerListenerRuleDeleteTask) OnLoadbalancerListenerRuleDeleteCompleteFailed ¶
func (self *LoadbalancerListenerRuleDeleteTask) OnLoadbalancerListenerRuleDeleteCompleteFailed(ctx context.Context, lbr *models.SLoadbalancerListenerRule, reason jsonutils.JSONObject)
type LoadbalancerListenerStartTask ¶
func (*LoadbalancerListenerStartTask) OnInit ¶
func (self *LoadbalancerListenerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerStartTask) OnLoadbalancerListenerStartComplete ¶
func (self *LoadbalancerListenerStartTask) OnLoadbalancerListenerStartComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerStartTask) OnLoadbalancerListenerStartCompleteFailed ¶
func (self *LoadbalancerListenerStartTask) OnLoadbalancerListenerStartCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
type LoadbalancerListenerStopTask ¶
func (*LoadbalancerListenerStopTask) OnInit ¶
func (self *LoadbalancerListenerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerStopTask) OnLoadbalancerListenerStopComplete ¶
func (self *LoadbalancerListenerStopTask) OnLoadbalancerListenerStopComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerStopTask) OnLoadbalancerListenerStopCompleteFailed ¶
func (self *LoadbalancerListenerStopTask) OnLoadbalancerListenerStopCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
type LoadbalancerListenerSyncTask ¶
func (*LoadbalancerListenerSyncTask) OnInit ¶
func (self *LoadbalancerListenerSyncTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerSyncTask) OnLoadbalancerBackendgroupSyncComplete ¶
func (self *LoadbalancerListenerSyncTask) OnLoadbalancerBackendgroupSyncComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerSyncTask) OnLoadbalancerBackendgroupSyncCompleteFailed ¶
func (self *LoadbalancerListenerSyncTask) OnLoadbalancerBackendgroupSyncCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
func (*LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncComplete ¶
func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncCompleteFailed ¶
func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
func (*LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncStatusComplete ¶
func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncStatusComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncStatusCompleteFailed ¶
func (self *LoadbalancerListenerSyncTask) OnLoadbalancerListenerSyncStatusCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
type LoadbalancerListenerSyncstatusTask ¶
func (*LoadbalancerListenerSyncstatusTask) OnInit ¶
func (self *LoadbalancerListenerSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerListenerSyncstatusTask) OnLoadbalancerListenerSyncstatusComplete ¶
func (self *LoadbalancerListenerSyncstatusTask) OnLoadbalancerListenerSyncstatusComplete(ctx context.Context, lblis *models.SLoadbalancerListener, data jsonutils.JSONObject)
func (*LoadbalancerListenerSyncstatusTask) OnLoadbalancerListenerSyncstatusCompleteFailed ¶
func (self *LoadbalancerListenerSyncstatusTask) OnLoadbalancerListenerSyncstatusCompleteFailed(ctx context.Context, lblis *models.SLoadbalancerListener, reason jsonutils.JSONObject)
type LoadbalancerLoadbalancerBackendGroupCreateTask ¶
func (*LoadbalancerLoadbalancerBackendGroupCreateTask) OnInit ¶
func (self *LoadbalancerLoadbalancerBackendGroupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerLoadbalancerBackendGroupCreateTask) OnLoadbalancerBackendGroupCreateComplete ¶
func (self *LoadbalancerLoadbalancerBackendGroupCreateTask) OnLoadbalancerBackendGroupCreateComplete(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, data jsonutils.JSONObject)
func (*LoadbalancerLoadbalancerBackendGroupCreateTask) OnLoadbalancerBackendGroupCreateCompleteFailed ¶
func (self *LoadbalancerLoadbalancerBackendGroupCreateTask) OnLoadbalancerBackendGroupCreateCompleteFailed(ctx context.Context, lbbg *models.SLoadbalancerBackendGroup, reason jsonutils.JSONObject)
type LoadbalancerRemoteUpdateTask ¶
func (*LoadbalancerRemoteUpdateTask) OnInit ¶
func (self *LoadbalancerRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *LoadbalancerRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *LoadbalancerRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *LoadbalancerRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *LoadbalancerRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
type LoadbalancerStartTask ¶
func (*LoadbalancerStartTask) OnInit ¶
func (self *LoadbalancerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerStartTask) OnLoadbalancerStartComplete ¶
func (self *LoadbalancerStartTask) OnLoadbalancerStartComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerStartTask) OnLoadbalancerStartCompleteFailed ¶
func (self *LoadbalancerStartTask) OnLoadbalancerStartCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
type LoadbalancerStopTask ¶
func (*LoadbalancerStopTask) OnInit ¶
func (self *LoadbalancerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerStopTask) OnLoadbalancerStopComplete ¶
func (self *LoadbalancerStopTask) OnLoadbalancerStopComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerStopTask) OnLoadbalancerStopCompleteFailed ¶
func (self *LoadbalancerStopTask) OnLoadbalancerStopCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
type LoadbalancerSyncstatusTask ¶
func (*LoadbalancerSyncstatusTask) OnInit ¶
func (self *LoadbalancerSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerSyncstatusTask) OnLoadbalancerSyncstatusComplete ¶
func (self *LoadbalancerSyncstatusTask) OnLoadbalancerSyncstatusComplete(ctx context.Context, lb *models.SLoadbalancer, data jsonutils.JSONObject)
func (*LoadbalancerSyncstatusTask) OnLoadbalancerSyncstatusCompleteFailed ¶
func (self *LoadbalancerSyncstatusTask) OnLoadbalancerSyncstatusCompleteFailed(ctx context.Context, lb *models.SLoadbalancer, reason jsonutils.JSONObject)
type ManagedGuestCreateDiskTask ¶
type ManagedGuestCreateDiskTask struct {
SGuestCreateDiskBaseTask
}
func (*ManagedGuestCreateDiskTask) OnInit ¶
func (self *ManagedGuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestCreateDiskTask) OnManagedDiskPrepared ¶
func (self *ManagedGuestCreateDiskTask) OnManagedDiskPrepared(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ManagedGuestLiveMigrateTask ¶
type ManagedGuestLiveMigrateTask struct {
SGuestBaseTask
}
func (*ManagedGuestLiveMigrateTask) MigrateStart ¶
func (self *ManagedGuestLiveMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnGuestSyncStatus ¶
func (self *ManagedGuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnGuestSyncStatusFailed ¶
func (self *ManagedGuestLiveMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnInit ¶
func (self *ManagedGuestLiveMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
ManagedGuestLiveMigrateTask
func (*ManagedGuestLiveMigrateTask) OnMigrateComplete ¶
func (self *ManagedGuestLiveMigrateTask) OnMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnMigrateCompleteFailed ¶
func (self *ManagedGuestLiveMigrateTask) OnMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type ManagedGuestMigrateTask ¶
type ManagedGuestMigrateTask struct {
SGuestBaseTask
}
func (*ManagedGuestMigrateTask) MigrateStart ¶
func (self *ManagedGuestMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestStartSucc ¶
func (self *ManagedGuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestStartSuccFailed ¶
func (self *ManagedGuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestSyncStatus ¶
func (self *ManagedGuestMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestSyncStatusFailed ¶
func (self *ManagedGuestMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnInit ¶
func (self *ManagedGuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
ManagedGuestMigrateTask
func (*ManagedGuestMigrateTask) OnMigrateComplete ¶
func (self *ManagedGuestMigrateTask) OnMigrateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnMigrateCompleteFailed ¶
func (self *ManagedGuestMigrateTask) OnMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type ManagedGuestRebuildRootTask ¶
type ManagedGuestRebuildRootTask struct {
SGuestBaseTask
}
func (*ManagedGuestRebuildRootTask) OnGuestDeployComplete ¶
func (self *ManagedGuestRebuildRootTask) OnGuestDeployComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestRebuildRootTask) OnGuestDeployCompleteFailed ¶
func (self *ManagedGuestRebuildRootTask) OnGuestDeployCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestRebuildRootTask) OnHostCacheImageComplete ¶
func (self *ManagedGuestRebuildRootTask) OnHostCacheImageComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestRebuildRootTask) OnHostCacheImageCompleteFailed ¶
func (self *ManagedGuestRebuildRootTask) OnHostCacheImageCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestRebuildRootTask) OnInit ¶
func (self *ManagedGuestRebuildRootTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ModelartsPoolChangeConfigTask ¶
func (*ModelartsPoolChangeConfigTask) OnInit ¶
func (self *ModelartsPoolChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type ModelartsPoolCreateTask ¶
func (*ModelartsPoolCreateTask) OnInit ¶
func (modelartsCreateTask *ModelartsPoolCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ModelartsPoolCreateTask) OnModelartsPoolCreateComplete ¶
func (modelartsCreateTask *ModelartsPoolCreateTask) OnModelartsPoolCreateComplete(ctx context.Context, modelarts *models.SModelartsPool, body jsonutils.JSONObject)
func (*ModelartsPoolCreateTask) OnModelartsPoolCreateCompleteFailed ¶
func (modelartsCreateTask *ModelartsPoolCreateTask) OnModelartsPoolCreateCompleteFailed(ctx context.Context, modelarts *models.SModelartsPool, err jsonutils.JSONObject)
func (*ModelartsPoolCreateTask) WaitStatus ¶
func (modelartsCreateTask *ModelartsPoolCreateTask) WaitStatus(ctx context.Context, ipool cloudprovider.ICloudModelartsPool, pool *models.SModelartsPool) error
type ModelartsPoolDeleteTask ¶
func (*ModelartsPoolDeleteTask) OnInit ¶
func (modelartsDeleteTask *ModelartsPoolDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type ModelartsPoolSyncstatusTask ¶
func (*ModelartsPoolSyncstatusTask) OnInit ¶
func (self *ModelartsPoolSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type MongoDBDeleteTask ¶
func (*MongoDBDeleteTask) OnInit ¶
func (self *MongoDBDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type MongoDBRemoteUpdateTask ¶
func (*MongoDBRemoteUpdateTask) OnInit ¶
func (self *MongoDBRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*MongoDBRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *MongoDBRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, mongodb *models.SMongoDB, data jsonutils.JSONObject)
func (*MongoDBRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *MongoDBRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, mongodb *models.SMongoDB, data jsonutils.JSONObject)
func (*MongoDBRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *MongoDBRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, mongodb *models.SMongoDB, data jsonutils.JSONObject)
type MongoDBSyncstatusTask ¶
func (*MongoDBSyncstatusTask) OnInit ¶
func (self *MongoDBSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type MountTargetCreateTask ¶
func (*MountTargetCreateTask) OnInit ¶
func (self *MountTargetCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*MountTargetCreateTask) OnSyncAccessGroupComplete ¶
func (self *MountTargetCreateTask) OnSyncAccessGroupComplete(ctx context.Context, mt *models.SMountTarget, data jsonutils.JSONObject)
func (*MountTargetCreateTask) OnSyncAccessGroupCompleteFailed ¶
func (self *MountTargetCreateTask) OnSyncAccessGroupCompleteFailed(ctx context.Context, mt *models.SMountTarget, data jsonutils.JSONObject)
type MountTargetDeleteTask ¶
func (*MountTargetDeleteTask) OnInit ¶
func (self *MountTargetDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type MountTargetSyncstatusTask ¶
func (*MountTargetSyncstatusTask) OnInit ¶
func (self *MountTargetSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type NatGatewayCreateTask ¶
func (*NatGatewayCreateTask) OnCreateNatGatewayCreateComplete ¶
func (self *NatGatewayCreateTask) OnCreateNatGatewayCreateComplete(ctx context.Context, nat *models.SNatGateway, body jsonutils.JSONObject)
func (*NatGatewayCreateTask) OnCreateNatGatewayCreateCompleteFailed ¶
func (self *NatGatewayCreateTask) OnCreateNatGatewayCreateCompleteFailed(ctx context.Context, nat *models.SNatGateway, body jsonutils.JSONObject)
func (*NatGatewayCreateTask) OnDeployEipComplete ¶
func (self *NatGatewayCreateTask) OnDeployEipComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayCreateTask) OnDeployEipCompleteFailed ¶
func (self *NatGatewayCreateTask) OnDeployEipCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayCreateTask) OnInit ¶
func (self *NatGatewayCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*NatGatewayCreateTask) OnSyncstatusComplete ¶
func (self *NatGatewayCreateTask) OnSyncstatusComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayCreateTask) OnSyncstatusCompleteFailed ¶
func (self *NatGatewayCreateTask) OnSyncstatusCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
type NatGatewayDeleteTask ¶
func (*NatGatewayDeleteTask) OnEipDissociateComplete ¶
func (self *NatGatewayDeleteTask) OnEipDissociateComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayDeleteTask) OnEipDissociateCompleteFailed ¶
func (self *NatGatewayDeleteTask) OnEipDissociateCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayDeleteTask) OnInit ¶
func (self *NatGatewayDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type NatGatewayRemoteUpdateTask ¶
func (*NatGatewayRemoteUpdateTask) OnInit ¶
func (self *NatGatewayRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*NatGatewayRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *NatGatewayRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *NatGatewayRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *NatGatewayRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
type NatGatewayRenewTask ¶
func (*NatGatewayRenewTask) OnInit ¶
func (self *NatGatewayRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*NatGatewayRenewTask) OnSyncstatusComplete ¶
func (self *NatGatewayRenewTask) OnSyncstatusComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewayRenewTask) OnSyncstatusCompleteFailed ¶
func (self *NatGatewayRenewTask) OnSyncstatusCompleteFailed(ctx context.Context, nat *models.SNatGateway, reason jsonutils.JSONObject)
type NatGatewaySetAutoRenewTask ¶
func (*NatGatewaySetAutoRenewTask) OnInit ¶
func (self *NatGatewaySetAutoRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*NatGatewaySetAutoRenewTask) OnNatGatewaySyncComplete ¶
func (self *NatGatewaySetAutoRenewTask) OnNatGatewaySyncComplete(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
func (*NatGatewaySetAutoRenewTask) OnNatGatewaySyncCompleteFailed ¶
func (self *NatGatewaySetAutoRenewTask) OnNatGatewaySyncCompleteFailed(ctx context.Context, nat *models.SNatGateway, data jsonutils.JSONObject)
type NatGatewaySyncstatusTask ¶
func (*NatGatewaySyncstatusTask) OnInit ¶
func (self *NatGatewaySyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*NatGatewaySyncstatusTask) OnNatGatewaySyncStatusComplete ¶
func (self *NatGatewaySyncstatusTask) OnNatGatewaySyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*NatGatewaySyncstatusTask) OnNatGatewaySyncStatusCompleteFailed ¶
func (self *NatGatewaySyncstatusTask) OnNatGatewaySyncStatusCompleteFailed(ctx context.Context, natgateway *models.SNatGateway, data jsonutils.JSONObject)
type NetworkCreateTask ¶
func (*NetworkCreateTask) OnInit ¶
func (self *NetworkCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type NetworkDeleteTask ¶
func (*NetworkDeleteTask) OnInit ¶
func (self *NetworkDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type NetworkSyncstatusTask ¶
func (*NetworkSyncstatusTask) OnInit ¶
func (self *NetworkSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type NetworksUnderWireMergeTask ¶
func (*NetworksUnderWireMergeTask) OnInit ¶
func (self *NetworksUnderWireMergeTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type NutanixGuestCreateDiskTask ¶
type NutanixGuestCreateDiskTask struct {
SGuestCreateDiskBaseTask
}
func (*NutanixGuestCreateDiskTask) OnInit ¶
func (self *NutanixGuestCreateDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type OpenstackLoadbalancerLoadbalancerBackendGroupCreateTask ¶
type OpenstackLoadbalancerLoadbalancerBackendGroupCreateTask struct {
LoadbalancerLoadbalancerBackendGroupCreateTask
}
func (*OpenstackLoadbalancerLoadbalancerBackendGroupCreateTask) OnInit ¶
func (self *OpenstackLoadbalancerLoadbalancerBackendGroupCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type PrepaidRecycleHostRenewTask ¶
func (*PrepaidRecycleHostRenewTask) OnInit ¶
func (self *PrepaidRecycleHostRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type RbdStorageUpdateTask ¶
func (*RbdStorageUpdateTask) OnInit ¶
func (self *RbdStorageUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type RouteTableSyncStatusTask ¶
func (*RouteTableSyncStatusTask) OnInit ¶
func (self *RouteTableSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type RouteTableUpdateTask ¶
func (*RouteTableUpdateTask) OnInit ¶
func (self *RouteTableUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*RouteTableUpdateTask) OnSyncRouteTableComplete ¶
func (self *RouteTableUpdateTask) OnSyncRouteTableComplete(ctx context.Context, routeTable *models.SRouteTable, data jsonutils.JSONObject)
func (*RouteTableUpdateTask) OnSyncRouteTableCompleteFailed ¶
func (self *RouteTableUpdateTask) OnSyncRouteTableCompleteFailed(ctx context.Context, routeTable *models.SRouteTable, data jsonutils.JSONObject)
type SBaremetalBaseTask ¶
func (*SBaremetalBaseTask) Action ¶
func (self *SBaremetalBaseTask) Action() string
func (*SBaremetalBaseTask) GetBaremetal ¶
func (self *SBaremetalBaseTask) GetBaremetal() *models.SHost
type SDiskBaseTask ¶
func (*SDiskBaseTask) CleanHostSchedCache ¶
func (self *SDiskBaseTask) CleanHostSchedCache(disk *models.SDisk)
func (*SDiskBaseTask) SetStageFailed ¶
func (self *SDiskBaseTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
type SGuestBaseTask ¶
func (*SGuestBaseTask) SetStageFailed ¶
func (self *SGuestBaseTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
type SGuestCreateDiskBaseTask ¶
type SGuestCreateDiskBaseTask struct {
SGuestBaseTask
}
func (*SGuestCreateDiskBaseTask) GetInputDisks ¶
func (self *SGuestCreateDiskBaseTask) GetInputDisks() ([]api.DiskConfig, error)
type SGuestQgaBaseTask ¶
type SGuestQgaBaseTask struct {
SGuestBaseTask
}
type SNatDEntryCreateTask ¶
func (*SNatDEntryCreateTask) OnAssociateEipComplete ¶
func (self *SNatDEntryCreateTask) OnAssociateEipComplete(ctx context.Context, dnat *models.SNatDEntry, body jsonutils.JSONObject)
func (*SNatDEntryCreateTask) OnAssociateEipCompleteFailed ¶
func (self *SNatDEntryCreateTask) OnAssociateEipCompleteFailed(ctx context.Context, dnat *models.SNatDEntry, reason jsonutils.JSONObject)
func (*SNatDEntryCreateTask) OnInit ¶
func (self *SNatDEntryCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SNatDEntryDeleteTask ¶
func (*SNatDEntryDeleteTask) OnInit ¶
func (self *SNatDEntryDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SNatSEntryCreateTask ¶
func (*SNatSEntryCreateTask) OnAssociateEipComplete ¶
func (self *SNatSEntryCreateTask) OnAssociateEipComplete(ctx context.Context, snat *models.SNatSEntry, body jsonutils.JSONObject)
func (*SNatSEntryCreateTask) OnAssociateEipCompleteFailed ¶
func (self *SNatSEntryCreateTask) OnAssociateEipCompleteFailed(ctx context.Context, snatEntry *models.SNatSEntry, reason jsonutils.JSONObject)
func (*SNatSEntryCreateTask) OnInit ¶
func (self *SNatSEntryCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SNatSEntryDeleteTask ¶
func (*SNatSEntryDeleteTask) OnInit ¶
func (self *SNatSEntryDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SScalingActionDesc ¶
type SScalingActionDesc struct { }
func (SScalingActionDesc) CheckCoolTime ¶
func (s SScalingActionDesc) CheckCoolTime() bool
func (SScalingActionDesc) Exec ¶
func (s SScalingActionDesc) Exec(desire int) int
type SScalingTriggerDesc ¶
type SScalingTriggerDesc struct {
Guest string
}
func (SScalingTriggerDesc) TriggerDescription ¶
func (s SScalingTriggerDesc) TriggerDescription() string
type SSchedTask ¶
func (*SSchedTask) OnScheduleComplete ¶
func (self *SSchedTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
func (*SSchedTask) OnScheduleFailCallback ¶
func (self *SSchedTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject)
func (*SSchedTask) OnScheduleFailed ¶
func (self *SSchedTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*SSchedTask) OnStartSchedule ¶
func (self *SSchedTask) OnStartSchedule(obj IScheduleModel)
func (*SSchedTask) SaveScheduleResult ¶
func (self *SSchedTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource)
func (*SSchedTask) SaveScheduleResultWithBackup ¶
func (self *SSchedTask) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, master, slave *schedapi.CandidateResource)
type ScalingGroupDeleteTask ¶
func (*ScalingGroupDeleteTask) OnInit ¶
func (self *ScalingGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SecurityGroupCacheDeleteTask ¶
func (*SecurityGroupCacheDeleteTask) OnInit ¶
func (self *SecurityGroupCacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupCacheSyncstatusTask ¶
func (*SecurityGroupCacheSyncstatusTask) OnInit ¶
func (self *SecurityGroupCacheSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupCacheTask ¶
func (*SecurityGroupCacheTask) OnCacheSecurityGroupComplete ¶
func (self *SecurityGroupCacheTask) OnCacheSecurityGroupComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SecurityGroupCacheTask) OnCacheSecurityGroupCompleteFailed ¶
func (self *SecurityGroupCacheTask) OnCacheSecurityGroupCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*SecurityGroupCacheTask) OnInit ¶
func (self *SecurityGroupCacheTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupDeleteTask ¶
func (*SecurityGroupDeleteTask) OnInit ¶
func (self *SecurityGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupSyncRulesTask ¶
func (*SecurityGroupSyncRulesTask) OnInit ¶
func (self *SecurityGroupSyncRulesTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ServerSkuCreateTask ¶
func (*ServerSkuCreateTask) OnInit ¶
func (self *ServerSkuCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ServerSkuDeleteTask ¶
func (*ServerSkuDeleteTask) OnInit ¶
func (self *ServerSkuDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SnapshotCleanupTask ¶
func (*SnapshotCleanupTask) OnDeleteSnapshot ¶
func (self *SnapshotCleanupTask) OnDeleteSnapshot(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotCleanupTask) OnDeleteSnapshotFailed ¶
func (self *SnapshotCleanupTask) OnDeleteSnapshotFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotCleanupTask) OnInit ¶
func (self *SnapshotCleanupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotCleanupTask) OnInitFailed ¶
func (self *SnapshotCleanupTask) OnInitFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotCleanupTask) StartSnapshotsDelete ¶
func (self *SnapshotCleanupTask) StartSnapshotsDelete(ctx context.Context, snapshots []models.SSnapshot)
type SnapshotCreateTask ¶
func (*SnapshotCreateTask) DoDiskSnapshot ¶
func (self *SnapshotCreateTask) DoDiskSnapshot(ctx context.Context, snapshot *models.SSnapshot)
func (*SnapshotCreateTask) OnCreateSnapshot ¶
func (self *SnapshotCreateTask) OnCreateSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotCreateTask) OnCreateSnapshotFailed ¶
func (self *SnapshotCreateTask) OnCreateSnapshotFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotCreateTask) OnInit ¶
func (self *SnapshotCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotCreateTask) TaskComplete ¶
func (self *SnapshotCreateTask) TaskComplete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotCreateTask) TaskFailed ¶
func (self *SnapshotCreateTask) TaskFailed(ctx context.Context, snapshot *models.SSnapshot, reason jsonutils.JSONObject)
type SnapshotDeleteTask ¶
func (*SnapshotDeleteTask) OnDeleteSnapshot ¶
func (self *SnapshotDeleteTask) OnDeleteSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnDeleteSnapshotFailed ¶
func (self *SnapshotDeleteTask) OnDeleteSnapshotFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnInit ¶
func (self *SnapshotDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnKvmSnapshotDelete ¶
func (self *SnapshotDeleteTask) OnKvmSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnManagedSnapshotDelete ¶
func (self *SnapshotDeleteTask) OnManagedSnapshotDelete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnReloadDiskSnapshot ¶
func (self *SnapshotDeleteTask) OnReloadDiskSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnRequestSnapshot ¶
func (self *SnapshotDeleteTask) OnRequestSnapshot(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) OnRequestSnapshotFailed ¶
func (self *SnapshotDeleteTask) OnRequestSnapshotFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) TaskComplete ¶
func (self *SnapshotDeleteTask) TaskComplete(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
func (*SnapshotDeleteTask) TaskFailed ¶
func (self *SnapshotDeleteTask) TaskFailed(ctx context.Context, snapshot *models.SSnapshot, reason jsonutils.JSONObject)
type SnapshotPolicyApplyTask ¶
func (*SnapshotPolicyApplyTask) OnInit ¶
func (self *SnapshotPolicyApplyTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotPolicyApplyTask) OnPreSnapshotPolicyApplyComplete ¶
func (self *SnapshotPolicyApplyTask) OnPreSnapshotPolicyApplyComplete(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*SnapshotPolicyApplyTask) OnPreSnapshotPolicyApplyCompleteFailed ¶
func (self *SnapshotPolicyApplyTask) OnPreSnapshotPolicyApplyCompleteFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
func (*SnapshotPolicyApplyTask) OnSnapshotPolicyApply ¶
func (self *SnapshotPolicyApplyTask) OnSnapshotPolicyApply(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*SnapshotPolicyApplyTask) OnSnapshotPolicyApplyFailed ¶
func (self *SnapshotPolicyApplyTask) OnSnapshotPolicyApplyFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
type SnapshotPolicyCacheDeleteTask ¶
func (*SnapshotPolicyCacheDeleteTask) OnInit ¶
func (self *SnapshotPolicyCacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SnapshotPolicyCancelTask ¶
func (*SnapshotPolicyCancelTask) OnInit ¶
func (self *SnapshotPolicyCancelTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotPolicyCancelTask) OnSnapshotPolicyCancel ¶
func (self *SnapshotPolicyCancelTask) OnSnapshotPolicyCancel(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*SnapshotPolicyCancelTask) OnSnapshotPolicyCancelFailed ¶
func (self *SnapshotPolicyCancelTask) OnSnapshotPolicyCancelFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
type SnapshotPolicyDeleteTask ¶
func (*SnapshotPolicyDeleteTask) OnInit ¶
func (self *SnapshotPolicyDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotPolicyDeleteTask) OnSnapshotPolicyDeleteComplete ¶
func (self *SnapshotPolicyDeleteTask) OnSnapshotPolicyDeleteComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
func (*SnapshotPolicyDeleteTask) OnSnapshotPolicyDeleteCompleteFailed ¶
func (self *SnapshotPolicyDeleteTask) OnSnapshotPolicyDeleteCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
type SnapshotSyncstatusTask ¶
func (*SnapshotSyncstatusTask) OnInit ¶
func (self *SnapshotSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotSyncstatusTask) OnSnapshotSyncStatusComplete ¶
func (self *SnapshotSyncstatusTask) OnSnapshotSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*SnapshotSyncstatusTask) OnSnapshotSyncStatusCompleteFailed ¶
func (self *SnapshotSyncstatusTask) OnSnapshotSyncStatusCompleteFailed(ctx context.Context, snapshot *models.SSnapshot, data jsonutils.JSONObject)
type StorageCacheImageTask ¶
func (*StorageCacheImageTask) OnCacheFailed ¶
func (self *StorageCacheImageTask) OnCacheFailed(ctx context.Context, cache *models.SStoragecache, imageId string, scimg *models.SStoragecachedimage, reason jsonutils.JSONObject, extImgId string)
func (*StorageCacheImageTask) OnCacheSucc ¶
func (self *StorageCacheImageTask) OnCacheSucc(ctx context.Context, cache *models.SStoragecache, data *jsonutils.JSONDict)
func (*StorageCacheImageTask) OnImageCacheComplete ¶
func (self *StorageCacheImageTask) OnImageCacheComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageCacheImageTask) OnImageCacheCompleteFailed ¶
func (self *StorageCacheImageTask) OnImageCacheCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageCacheImageTask) OnInit ¶
func (self *StorageCacheImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageCacheImageTask) OnRelinquishLeastUsedCachedImageComplete ¶
func (self *StorageCacheImageTask) OnRelinquishLeastUsedCachedImageComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type StorageDeleteRbdDiskTask ¶
func (*StorageDeleteRbdDiskTask) DeleteDisk ¶
func (self *StorageDeleteRbdDiskTask) DeleteDisk(ctx context.Context, storage *models.SStorage, data jsonutils.JSONObject)
func (*StorageDeleteRbdDiskTask) OnDeleteDisk ¶
func (self *StorageDeleteRbdDiskTask) OnDeleteDisk(ctx context.Context, storage *models.SStorage, data jsonutils.JSONObject)
func (*StorageDeleteRbdDiskTask) OnDeleteDiskFailed ¶
func (self *StorageDeleteRbdDiskTask) OnDeleteDiskFailed(ctx context.Context, storage *models.SStorage, data jsonutils.JSONObject)
func (*StorageDeleteRbdDiskTask) OnInit ¶
func (self *StorageDeleteRbdDiskTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type StorageUncacheImageTask ¶
func (*StorageUncacheImageTask) OnImageUncacheComplete ¶
func (self *StorageUncacheImageTask) OnImageUncacheComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageUncacheImageTask) OnImageUncacheCompleteFailed ¶
func (self *StorageUncacheImageTask) OnImageUncacheCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageUncacheImageTask) OnInit ¶
func (self *StorageUncacheImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageUncacheImageTask) OnTaskFailed ¶
func (self *StorageUncacheImageTask) OnTaskFailed(ctx context.Context, storageCache *models.SStoragecache, reason jsonutils.JSONObject)
type StorageUpdateTask ¶
func (*StorageUpdateTask) OnInit ¶
func (self *StorageUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageUpdateTask) OnStorageUpdate ¶
func (self *StorageUpdateTask) OnStorageUpdate(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StorageUpdateTask) OnStorageUpdateFailed ¶
func (self *StorageUpdateTask) OnStorageUpdateFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type VpcCreateTask ¶
func (*VpcCreateTask) OnCreateVpcComplete ¶
func (self *VpcCreateTask) OnCreateVpcComplete(ctx context.Context, vpc *models.SVpc, data jsonutils.JSONObject)
func (*VpcCreateTask) OnCreateVpcCompleteFailed ¶
func (self *VpcCreateTask) OnCreateVpcCompleteFailed(ctx context.Context, vpc *models.SVpc, data jsonutils.JSONObject)
func (*VpcCreateTask) OnInit ¶
func (self *VpcCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type VpcDeleteTask ¶
func (*VpcDeleteTask) OnDeleteVpcComplete ¶
func (self *VpcDeleteTask) OnDeleteVpcComplete(ctx context.Context, vpc *models.SVpc, body jsonutils.JSONObject)
func (*VpcDeleteTask) OnDeleteVpcCompleteFailed ¶
func (self *VpcDeleteTask) OnDeleteVpcCompleteFailed(ctx context.Context, vpc *models.SVpc, reason jsonutils.JSONObject)
func (*VpcDeleteTask) OnInit ¶
func (self *VpcDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type VpcPeeringConnectionCreateTask ¶
func (*VpcPeeringConnectionCreateTask) OnInit ¶
func (self *VpcPeeringConnectionCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type VpcPeeringConnectionDeleteTask ¶
func (*VpcPeeringConnectionDeleteTask) OnInit ¶
func (self *VpcPeeringConnectionDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type VpcPeeringConnectionSyncstatusTask ¶
func (*VpcPeeringConnectionSyncstatusTask) OnInit ¶
func (self *VpcPeeringConnectionSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type VpcSyncstatusTask ¶
func (*VpcSyncstatusTask) OnInit ¶
func (self *VpcSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type WafCreateTask ¶
func (*WafCreateTask) OnInit ¶
func (self *WafCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafDeleteTask ¶
func (*WafDeleteTask) OnInit ¶
func (self *WafDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafIPSetCacheDeleteTask ¶
func (*WafIPSetCacheDeleteTask) OnInit ¶
func (self *WafIPSetCacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafIPSetDeleteTask ¶
func (*WafIPSetDeleteTask) OnInit ¶
func (self *WafIPSetDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafInstanceRemoteUpdateTask ¶
func (*WafInstanceRemoteUpdateTask) OnInit ¶
func (self *WafInstanceRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*WafInstanceRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *WafInstanceRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, waf *models.SWafInstance, data jsonutils.JSONObject)
func (*WafInstanceRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *WafInstanceRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, waf *models.SWafInstance, data jsonutils.JSONObject)
func (*WafInstanceRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *WafInstanceRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, waf *models.SWafInstance, data jsonutils.JSONObject)
type WafRegexSetCacheDeleteTask ¶
func (*WafRegexSetCacheDeleteTask) OnInit ¶
func (self *WafRegexSetCacheDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafRegexSetDeleteTask ¶
func (*WafRegexSetDeleteTask) OnInit ¶
func (self *WafRegexSetDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafRuleCreateTask ¶
func (*WafRuleCreateTask) OnInit ¶
func (self *WafRuleCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafRuleDeleteTask ¶
func (*WafRuleDeleteTask) OnInit ¶
func (self *WafRuleDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafRuleSyncstatusTask ¶
func (*WafRuleSyncstatusTask) OnInit ¶
func (self *WafRuleSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafRuleUpdateTask ¶
func (*WafRuleUpdateTask) OnInit ¶
func (self *WafRuleUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type WafSyncstatusTask ¶
func (*WafSyncstatusTask) OnInit ¶
func (self *WafSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
Source Files ¶
- access_group_cache_delete_task.go
- access_group_delete_task.go
- access_group_sync_rules_task.go
- access_group_syncstatus_task.go
- app_remote_update_task.go
- app_syncstatus_task.go
- backup_storage_syncstatus_task.go
- baremetal_base_task.go
- baremetal_cdrom_task.go
- baremetal_convert_hypervisor_task.go
- baremetal_create_task.go
- baremetal_delete_task.go
- baremetal_ipmi_probe_task.go
- baremetal_maintenance_task.go
- baremetal_prepare_task.go
- baremetal_server_reset_task.go
- baremetal_server_start_task.go
- baremetal_server_stop_task.go
- baremetal_server_sync_status_task.go
- baremetal_sync_config_task.go
- baremetal_sync_status_task.go
- baremetal_unconvert_hypervisor_task.go
- baremetal_unmaintenance_task.go
- bucket_create_task.go
- bucket_delete_task.go
- bucket_syncstatus_task.go
- cdn_domain_create_task.go
- cdn_domain_delete_task.go
- cdn_domain_remote_update_task.go
- cdn_domain_syncstatus_task.go
- cloud_account_delete_task.go
- cloud_account_sync_skus_task.go
- cloud_account_sync_task.go
- cloud_account_sync_vmware_net.go
- cloud_provider_delete_task.go
- cloud_provider_sync_info_task.go
- cloud_region_sync_skus_task.go
- cloudregion_sync_images_task.go
- dbinstance_account_create_task.go
- dbinstance_account_delete_task.go
- dbinstance_account_grant_privilege_task.go
- dbinstance_account_reset_password_task.go
- dbinstance_account_revoke_privilege_task.go
- dbinstance_account_set_privileges_task.go
- dbinstance_backup_create_task.go
- dbinstance_backup_delete.go
- dbinstance_backup_syncstatus_task.go
- dbinstance_change_config.go
- dbinstance_create_task.go
- dbinstance_database_create_task.go
- dbinstance_database_delete_task.go
- dbinstance_delete_task.go
- dbinstance_public_connection_task.go
- dbinstance_reboot_task.go
- dbinstance_recovery_task.go
- dbinstance_remote_update_task.go
- dbinstance_renew_task.go
- dbinstance_set_auto_renew_task.go
- dbinstance_sync_secgroups_task.go
- dbinstance_sync_task.go
- disk_backup_create_task.go
- disk_backup_delete_task.go
- disk_backup_recovery_task.go
- disk_backup_syncstatus_task.go
- disk_base_task.go
- disk_batch_create_task.go
- disk_clean_overdued_snapshots.go
- disk_create_task.go
- disk_delete_task.go
- disk_reset_task.go
- disk_resize_task.go
- disk_save_task.go
- disk_syncstatus_task.go
- dnszone_create_task.go
- dnszone_delete_task.go
- dnszone_sync_record_sets_task.go
- dnszone_sync_vpcs_task.go
- dnszone_syncstatus_task.go
- dnszonecache_create_task.go
- dnszonecache_delete_task.go
- doc.go
- eip_allocate_task.go
- eip_associate_task.go
- eip_change_bandwidth_task.go
- eip_deallocate_task.go
- eip_dissociate_task.go
- eip_syncstatus_task.go
- elastic_search_delete_task.go
- elastic_search_syncstatus_task.go
- elasticcache_account_create_task.go
- elasticcache_account_delete_task.go
- elasticcache_account_reset_password_task.go
- elasticcache_acl_create_task.go
- elasticcache_acl_delete_task.go
- elasticcache_acl_update_task.go
- elasticcache_allocate_public_connection_task.go
- elasticcache_backup_create_task.go
- elasticcache_backup_delete_task.go
- elasticcache_backup_restore_instance_task.go
- elasticcache_change_spec_task.go
- elasticcache_create_task.go
- elasticcache_delete_task.go
- elasticcache_flush_instance.go
- elasticcache_parameter_update_task.go
- elasticcache_release_public_connection_task.go
- elasticcache_remote_update_task.go
- elasticcache_renew_task.go
- elasticcache_restart_task.go
- elasticcache_set_auto_renew_task.go
- elasticcache_set_maintain_time_task.go
- elasticcache_sync_task.go
- elasticcache_syncsecgroups_task.go
- elasticcache_syncstatus_task.go
- elasticcache_update_auth_mode_task.go
- elasticcache_update_backup_policy_task.go
- file_system_remote_update_task.go
- filesystem_create_task.go
- filesystem_delete_task.go
- filesystem_syncstatus_task.go
- global_vpc_create_task.go
- global_vpc_delete_task.go
- global_vpc_syncstatus_task.go
- guest_attach_disk_task.go
- guest_backup_tasks.go
- guest_base_task.go
- guest_batch_create_task.go
- guest_block_io_throttle_task.go
- guest_change_config_task.go
- guest_change_disk_storage_task.go
- guest_clone_task.go
- guest_convert_esxi_to_kvm_task.go
- guest_cpuset_task.go
- guest_create_disk_task.go
- guest_create_task.go
- guest_delete_backup_task.go
- guest_delete_on_host_task.go
- guest_delete_task.go
- guest_deploy_task.go
- guest_detach_all_disks_task.go
- guest_detach_disk_task.go
- guest_detach_scalinggroup.go
- guest_disk_snapshot_task.go
- guest_eject_iso_task.go
- guest_insert_iso_task.go
- guest_live_migrate_task.go
- guest_publicip_to_eip_task.go
- guest_qga_reset_password_task.go
- guest_rebuild_root_task.go
- guest_remote_update_task.go
- guest_renew_task.go
- guest_reset_task.go
- guest_resize_disk_task.go
- guest_restart_network_task.go
- guest_resume_task.go
- guest_save_image_task.go
- guest_save_instance_image_task.go
- guest_save_template_task.go
- guest_set_auto_renew_task.go
- guest_start_task.go
- guest_stop_task.go
- guest_suspend_task.go
- guest_sync_isolated_device_task.go
- guest_sync_task.go
- guest_syncstatus_task.go
- guest_undeploy_task.go
- ha_disk_create_task.go
- ha_guest_deploy_task.go
- ha_guest_start_task.go
- ha_guest_stop_task.go
- helper.go
- host_guests_migrate_task.go
- host_import_libvirt_servers_task.go
- host_maintenance_task.go
- host_storage_attach_task.go
- host_storage_detach_task.go
- host_sync_task.go
- instance_backup_create_task.go
- instance_backup_delete_task.go
- instance_backup_pack_task.go
- instance_backup_recovery_task.go
- instance_backup_syncstatus.go
- instance_backup_unpack_task.go
- instance_snapshot_and_clone_task.go
- instance_snapshot_create_task.go
- instance_snapshot_delete_task.go
- instance_snapshot_reset_task.go
- inter_vpc_network_add_vpc_task.go
- inter_vpc_network_create_task.go
- inter_vpc_network_delete_task.go
- inter_vpc_network_remove_vpc_task.go
- inter_vpc_network_routeset_updatestatus_task.go
- inter_vpc_network_syncstatus_task.go
- kafka_delete_task.go
- kafka_syncstatus_task.go
- kube_cluster_delete_task.go
- kube_cluster_syncstatus_task.go
- loadbalancer_acl_create_task.go
- loadbalancer_acl_delete_task.go
- loadbalancer_acl_sync_task.go
- loadbalancer_backend_create_task.go
- loadbalancer_backend_delete_task.go
- loadbalancer_backend_sync_task.go
- loadbalancer_backendgroup_create_task.go
- loadbalancer_backendgroup_delete_task.go
- loadbalancer_certificate_create_task.go
- loadbalancer_certificate_delete_task.go
- loadbalancer_create_task.go
- loadbalancer_delete_task.go
- loadbalancer_listener_create_task.go
- loadbalancer_listener_delete_task.go
- loadbalancer_listener_rule_create_task.go
- loadbalancer_listener_rule_delete_task.go
- loadbalancer_listener_start_task.go
- loadbalancer_listener_stop_task.go
- loadbalancer_listener_sync_task.go
- loadbalancer_listener_syncstatus_task.go
- loadbalancer_remote_update_task.go
- loadbalancer_start_task.go
- loadbalancer_stop_task.go
- loadbalancer_syncstatus_task.go
- modelarts_pool_change_config_task.go
- modelarts_pool_create_task.go
- modelarts_pool_delete_task.go
- modelarts_syncstatus_task.go
- mongodb_delete_task.go
- mongodb_remote_update_task.go
- mongodb_syncstatus_task.go
- mount_target_create_task.go
- mount_target_delete_task.go
- mount_target_syncstatus_task.go
- nat_create_task.go
- nat_delete_task.go
- nat_renew_task.go
- nat_set_auto_renew_task.go
- natdentry_create_task.go
- natdentry_delete_task.go
- natgateway_remote_update_task.go
- natgateway_syncstatus_task.go
- natsentry_create_task.go
- natsentry_delete_task.go
- network_create_task.go
- network_delete_task.go
- network_syncstatus_task.go
- networks_under_wire_merge_task.go
- pending_usage.go
- route_table_syncstatus_task.go
- route_table_update_task.go
- scaling_group_delete_task.go
- schedule.go
- secgroup_group_cache_task.go
- security_group_cache_delete_task.go
- security_group_cache_syncstatus_task.go
- security_group_delete_task.go
- security_group_sync_rules_task.go
- server_sku_create_task.go
- server_sku_delete_task.go
- snapshot_create_task.go
- snapshot_delete_task.go
- snapshot_policy_cache_delete_task.go
- snapshot_policy_delete_task.go
- snapshot_syncstatus_task.go
- snapshotpolicy_disk_task.go
- storage_cache_image_task.go
- storage_uncache_image_task.go
- storage_update_task.go
- vpc_create_task.go
- vpc_delete_task.go
- vpc_peering_connection_create_task.go
- vpc_peering_connection_delete_task.go
- vpc_peering_connection_syncstatus_task.go
- vpc_syncstatus_task.go
- waf_create_task.go
- waf_delete_task.go
- waf_instance_remote_update_task.go
- waf_ipset_cache_delete_task.go
- waf_ipset_delete_task.go
- waf_regexset_cache_delete_task.go
- waf_regexset_delete_task.go
- waf_rule_create_task.go
- waf_rule_delete_task.go
- waf_rule_syncstatus_task.go
- waf_rule_update_task.go
- waf_syncstatus_task.go
Click to show internal directories.
Click to hide internal directories.