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 AccessGroupCreateTask
- type AccessGroupDeleteTask
- type AccessGroupRuleCreateTask
- type AccessGroupRuleDeleteTask
- 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 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 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
- 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 CloudProviderDeleteTask
- type CloudProviderSyncInfoTask
- func (self *CloudProviderSyncInfoTask) GetSyncRange(ctx context.Context) 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 CloudpodsGuestCreateDiskTask
- type CloudregionSyncImagesTask
- type ContainerBaseTask
- type ContainerCreateTask
- func (t *ContainerCreateTask) OnCreated(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerCreateTask) OnCreatedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- func (t *ContainerCreateTask) OnImagePulled(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerCreateTask) OnImagePulledFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- func (t *ContainerCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *ContainerCreateTask) OnStarted(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerCreateTask) OnStartedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- type ContainerDeleteTask
- func (t *ContainerDeleteTask) OnDeleteFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- func (t *ContainerDeleteTask) OnDeleted(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- type ContainerPullImageTask
- func (t *ContainerPullImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *ContainerPullImageTask) OnPulled(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerPullImageTask) OnPulledFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- type ContainerSaveVolumeMountImageTask
- func (t *ContainerSaveVolumeMountImageTask) OnImageSaved(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerSaveVolumeMountImageTask) OnImageSavedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- func (t *ContainerSaveVolumeMountImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *ContainerSaveVolumeMountImageTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerSaveVolumeMountImageTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- type ContainerStartTask
- func (t *ContainerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *ContainerStartTask) OnStarted(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerStartTask) OnStartedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- func (t *ContainerStartTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerStartTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- type ContainerStopTask
- func (t *ContainerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *ContainerStopTask) OnStopped(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerStopTask) OnStoppedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- func (t *ContainerStopTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerStopTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- type ContainerSyncStatusTask
- func (t *ContainerSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *ContainerSyncStatusTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
- func (t *ContainerSyncStatusTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
- 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 (task *DiskBatchCreateTask) GetCreateInput(data jsonutils.JSONObject) (*api.DiskCreateInput, error)
- func (task *DiskBatchCreateTask) GetDisks(data jsonutils.JSONObject) ([]*api.DiskConfig, error)
- func (task *DiskBatchCreateTask) GetFirstDisk(data jsonutils.JSONObject) (*api.DiskConfig, error)
- func (task *DiskBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *DiskBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
- func (task *DiskBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
- func (task *DiskBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, ...)
- func (task *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 DiskMigrateTask
- func (task *DiskMigrateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *DiskMigrateTask) OnDeallocateSourceDisk(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (task *DiskMigrateTask) OnDeallocateSourceDiskFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (task *DiskMigrateTask) OnDiskMigrate(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (task *DiskMigrateTask) OnDiskMigrateFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (task *DiskMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *DiskMigrateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, ...)
- func (task *DiskMigrateTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *DiskMigrateTask) OnStorageCacheImage(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
- func (task *DiskMigrateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, ...)
- func (task *DiskMigrateTask) TaskComplete(ctx context.Context, disk *models.SDisk)
- func (task *DiskMigrateTask) TaskFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
- 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 DnsRecordCreateTask
- type DnsRecordDeleteTask
- type DnsRecordSetEnabledTask
- type DnsRecordUpdateTask
- type DnsZoneAddVpcsTask
- type DnsZoneCreateTask
- type DnsZoneDeleteTask
- type DnsZoneRemoveVpcsTask
- 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(ctx context.Context) (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 EipRemoteUpdateTask
- func (self *EipRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *EipRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, eip *models.SElasticip, data jsonutils.JSONObject)
- func (self *EipRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, eip *models.SElasticip, data jsonutils.JSONObject)
- func (self *EipRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, eip *models.SElasticip, data jsonutils.JSONObject)
- type EipSyncstatusTask
- type ElasticSearchDeleteTask
- type ElasticSearchRemoteUpdateTask
- func (self *ElasticSearchRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *ElasticSearchRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, elasticcache *models.SElasticSearch, ...)
- func (self *ElasticSearchRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, elasticcache *models.SElasticSearch, ...)
- func (self *ElasticSearchRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, elasticcache *models.SElasticSearch, ...)
- func (self *ElasticSearchRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, elasticcache *models.SElasticSearch, ...)
- 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 ExternalProjectCreateTask
- 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 (task *GuestBatchCreateTask) GetCreateInput(data jsonutils.JSONObject) (*api.ServerCreateInput, error)
- func (task *GuestBatchCreateTask) GetDisks() ([]*api.DiskConfig, error)
- func (task *GuestBatchCreateTask) GetFirstDisk() (*api.DiskConfig, error)
- func (task *GuestBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *GuestBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
- func (task *GuestBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
- func (task *GuestBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, ...)
- func (task *GuestBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, ...)
- func (task *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 (task *GuestChangeConfigTask) DoCreateDisksTask(ctx context.Context, guest *models.SGuest)
- func (task *GuestChangeConfigTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *GuestChangeConfigTask) OnCreateDisksComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnCreateDisksCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnDisksResizeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestChangeCpuMemSpecComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestChangeCpuMemSpecCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestChangeCpuMemSpecFinish(ctx context.Context, guest *models.SGuest)
- func (task *GuestChangeConfigTask) OnGuestResetNicTraffics(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestResetNicTrafficsFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestSetNicTraffics(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestSetNicTrafficsFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestStartComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnGuestStartCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, ...)
- func (task *GuestChangeConfigTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnStartSchedule(obj IScheduleModel)
- func (task *GuestChangeConfigTask) OnSyncConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) OnSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestChangeConfigTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, ...)
- func (task *GuestChangeConfigTask) SetStageComplete(ctx context.Context, data *jsonutils.JSONDict)
- func (task *GuestChangeConfigTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *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 GuestConvertCloudpodsToKvmTask
- func (task *GuestConvertCloudpodsToKvmTask) GetAccessInfo(guest *models.SGuest) (*jsonutils.JSONDict, error)
- func (task *GuestConvertCloudpodsToKvmTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *GuestConvertCloudpodsToKvmTask) OnHostCreateGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestConvertCloudpodsToKvmTask) OnHostCreateGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestConvertCloudpodsToKvmTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestConvertCloudpodsToKvmTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *GuestConvertCloudpodsToKvmTask) RequestHostCreateGuestFromCloudpods(ctx context.Context, guest *models.SGuest, accessInfo *jsonutils.JSONDict) error
- func (task *GuestConvertCloudpodsToKvmTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, ...)
- func (task *GuestConvertCloudpodsToKvmTask) TaskComplete(ctx context.Context, guest, targetGuest *models.SGuest)
- type GuestConvertEsxiToKvmTask
- func (task *GuestConvertEsxiToKvmTask) GenerateEsxiAcceessInfo(guest *models.SGuest) (*jsonutils.JSONDict, error)
- func (task *GuestConvertEsxiToKvmTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *GuestConvertEsxiToKvmTask) OnGuestConvertDoDeployGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestConvertEsxiToKvmTask) OnGuestConvertDoDeployGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestConvertEsxiToKvmTask) OnHostCreateGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestConvertEsxiToKvmTask) OnHostCreateGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestConvertEsxiToKvmTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestConvertEsxiToKvmTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *GuestConvertEsxiToKvmTask) OnStartSchedule(obj IScheduleModel)
- func (task *GuestConvertEsxiToKvmTask) RequestHostCreateGuestFromEsxi(ctx context.Context, guest *models.SGuest, esxiAccessInfo *jsonutils.JSONDict) error
- func (task *GuestConvertEsxiToKvmTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, ...)
- func (task *GuestConvertEsxiToKvmTask) TaskComplete(ctx context.Context, guest, targetGuest *models.SGuest)
- type GuestCreateBackupDisksTask
- type GuestCreateBackupTask
- func (task *GuestCreateBackupTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *GuestCreateBackupTask) OnCreateBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnCreateBackupDisks(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnCreateBackupDisksFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnCreateBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnGuestStart(ctx context.Context, guest *models.SGuest, guestStatus string)
- func (task *GuestCreateBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnInsertIso(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnInsertIsoFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, ...)
- func (task *GuestCreateBackupTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnStartSchedule(obj IScheduleModel)
- func (task *GuestCreateBackupTask) OnSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) OnSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestCreateBackupTask) RequestStartGuest(ctx context.Context, guest *models.SGuest)
- func (task *GuestCreateBackupTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, ...)
- func (task *GuestCreateBackupTask) StartCreateBackupDisks(ctx context.Context, guest *models.SGuest, host *models.SHost, ...)
- func (task *GuestCreateBackupTask) StartInsertIso(ctx context.Context, guest *models.SGuest, imageId string)
- func (task *GuestCreateBackupTask) TaskCompleted(ctx context.Context, guest *models.SGuest, reason string)
- func (task *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, guest *models.SGuest, 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, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnDiskPreparedFailed(ctx context.Context, guest *models.SGuest, 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) OnSecurityGroupPrepared(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestCreateTask) OnSecurityGroupPreparedFailed(ctx context.Context, guest *models.SGuest, data 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) OnGetGuestStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestDetachDiskTask) OnGetGuestStatusFailed(ctx context.Context, guest *models.SGuest, 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 GuestEjectVFDTask
- 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 GuestInsertVfdTask
- func (self *GuestInsertVfdTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestInsertVfdTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestInsertVfdTask) OnVfdPrepareComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestInsertVfdTask) OnVfdPrepareCompleteFailed(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 (task *GuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnGuestUndeployed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnGuestUndeployedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnLiveMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnLiveMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnResumeDestGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnResumeDestGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnResumeSourceGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnResumeSourceGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnStartDestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnStartDestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestLiveMigrateTask) OnUndeploySrcGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestMigrateTask
- func (task *GuestMigrateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
- func (task *GuestMigrateTask) OnCachedCdromComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnCachedCdromCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnCachedImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnCachedImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnMigrateConfAndDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnMigrateConfAndDiskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnNormalMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, ...)
- func (task *GuestMigrateTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnSrcPrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnSrcPrepareCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnStartCacheImages(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnStartCacheImagesFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnStartSchedule(obj IScheduleModel)
- func (task *GuestMigrateTask) OnUndeployOldHostSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnUndeployOldHostSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnUndeployTargetGuestSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) OnUndeployTargetGuestSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestMigrateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, ...)
- func (task *GuestMigrateTask) TaskComplete(ctx context.Context, guest *models.SGuest)
- func (task *GuestMigrateTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- type GuestOsInfo
- 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 GuestQgaRestartNetworkTask
- func (self *GuestQgaRestartNetworkTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestQgaRestartNetworkTask) OnRestartNetwork(ctx context.Context, guest *models.SGuest)
- func (self *GuestQgaRestartNetworkTask) OnSetNetwork(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestQgaRestartNetworkTask) OnSetNetworkFailed(ctx context.Context, guest *models.SGuest, 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 GuestQgaSyncOsInfoTask
- 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 GuestResetNicTrafficsTask
- 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.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestRestartNetworkTask) OnResumeIpMacSrcCheckCompleteFailed(ctx context.Context, obj db.IStandaloneModel, 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) OnGuestStarted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestSchedStartTask) OnGuestStartedFailed(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, resetCpuNumaPin bool)
- 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 GuestSetNicTrafficsTask
- type GuestSoftResetTask
- type GuestStartAndSyncToBackupTask
- func (task *GuestStartAndSyncToBackupTask) OnCheckTemplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestStartAndSyncToBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *GuestStartAndSyncToBackupTask) OnRequestSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestStartAndSyncToBackupTask) OnRequestSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestStartAndSyncToBackupTask) OnStartBackupGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestStartAndSyncToBackupTask) OnStartBackupGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type GuestStartTask
- func (self *GuestStartTask) AttachReleasedDevices(ctx context.Context, guest *models.SGuest)
- func (self *GuestStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *GuestStartTask) OnReleasedDevicesAttached(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *GuestStartTask) OnReleasedDevicesFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *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) OnDevicesReleaseFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (self *GuestStopTask) OnDevicesReleased(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- 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 (task *GuestSwitchToBackupTask) OnBackupGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestSwitchToBackupTask) OnComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestSwitchToBackupTask) OnEnsureMasterGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestSwitchToBackupTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
- func (task *GuestSwitchToBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *GuestSwitchToBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *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)
- func (self *GuestSyncConfTask) StartRestartNetworkTask(ctx context.Context, guest *models.SGuest)
- 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 HaGuestInsertVfdTask
- func (self *HaGuestInsertVfdTask) OnBackupVfdPrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HaGuestInsertVfdTask) OnBackupVfdPrepareCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *HaGuestInsertVfdTask) 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 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 KafkaRemoteUpdateTask
- func (self *KafkaRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KafkaRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
- func (self *KafkaRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
- func (self *KafkaRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
- func (self *KafkaRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
- type KafkaSyncstatusTask
- type KubeClusterCreateTask
- func (self *KubeClusterCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KubeClusterCreateTask) OnKubeClusterCreateComplate(ctx context.Context, cluster *models.SKubeCluster, data jsonutils.JSONObject)
- func (self *KubeClusterCreateTask) OnKubeClusterCreateComplateFailed(ctx context.Context, cluster *models.SKubeCluster, reason jsonutils.JSONObject)
- type KubeClusterDeleteTask
- type KubeClusterSyncstatusTask
- type KubeNodePoolCreateTask
- func (self *KubeNodePoolCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *KubeNodePoolCreateTask) OnKubeNodePoolCreateComplate(ctx context.Context, pool *models.SKubeNodePool, data jsonutils.JSONObject)
- func (self *KubeNodePoolCreateTask) OnKubeNodePoolCreateComplateFailed(ctx context.Context, pool *models.SKubeNodePool, reason jsonutils.JSONObject)
- type KubeNodePoolDeleteTask
- type KubeNodePoolSyncstatusTask
- type LoadbalancerAclCreateTask
- func (self *LoadbalancerAclCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateComplete(ctx context.Context, lbacl *models.SLoadbalancerAcl, data jsonutils.JSONObject)
- func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, ...)
- type LoadbalancerAclDeleteTask
- func (self *LoadbalancerAclDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteComplete(ctx context.Context, lbacl *models.SLoadbalancerAcl, data jsonutils.JSONObject)
- func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, ...)
- type LoadbalancerAclSyncstatusTask
- func (self *LoadbalancerAclSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclSyncstatusTask) OnLoadbalancerAclSyncstatusComplete(ctx context.Context, lbacl *models.SLoadbalancerAcl, data jsonutils.JSONObject)
- func (self *LoadbalancerAclSyncstatusTask) OnLoadbalancerAclSyncstatusCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, ...)
- type LoadbalancerAclUpdateTask
- func (self *LoadbalancerAclUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerAclUpdateTask) OnLoadbalancerAclUpdateComplete(ctx context.Context, lbacl *models.SLoadbalancerAcl, data jsonutils.JSONObject)
- func (self *LoadbalancerAclUpdateTask) OnLoadbalancerAclUpdateCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, ...)
- 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.SLoadbalancerCertificate, ...)
- func (self *LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateCompleteFailed(ctx context.Context, lbcert *models.SLoadbalancerCertificate, ...)
- type LoadbalancerCertificateDeleteTask
- func (self *LoadbalancerCertificateDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteComplete(ctx context.Context, lbcert *models.SLoadbalancerCertificate, ...)
- func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteCompleteFailed(ctx context.Context, lbcert *models.SLoadbalancerCertificate, ...)
- type LoadbalancerCertificateSyncstatusTask
- func (self *LoadbalancerCertificateSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *LoadbalancerCertificateSyncstatusTask) OnLoadbalancerCertificateSyncstatusComplete(ctx context.Context, lbcert *models.SLoadbalancerCertificate, ...)
- func (self *LoadbalancerCertificateSyncstatusTask) OnLoadbalancerCertificateSyncstatusCompleteFailed(ctx context.Context, lbcert *models.SLoadbalancerCertificate, ...)
- 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, ...)
- 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) 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, ...)
- 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) 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 (task *ManagedGuestLiveMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestLiveMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestLiveMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *ManagedGuestLiveMigrateTask) OnMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestLiveMigrateTask) OnMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- type ManagedGuestMigrateTask
- func (task *ManagedGuestMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (task *ManagedGuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *ManagedGuestMigrateTask) OnMigrateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (task *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, opts *cloudprovider.ModelartsPoolCreateOption, ...) 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
- 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 NetworkRemoteUpdateTask
- func (self *NetworkRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *NetworkRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
- func (self *NetworkRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
- func (self *NetworkRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
- func (self *NetworkRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
- type NetworkSyncstatusTask
- type NetworksUnderWireMergeTask
- type NutanixGuestCreateDiskTask
- type PodCreateTask
- func (t *PodCreateTask) OnContainerCreated(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodCreateTask) OnContainerCreatedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *PodCreateTask) OnPodCreated(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodCreateTask) OnPodCreatedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodCreateTask) OnStatusSynced(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodCreateTask) OnStatusSyncedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodCreateTask) OnWaitPodCreated(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- type PodDeleteTask
- func (t *PodDeleteTask) OnContainerDeleted(ctx context.Context, pod *models.SGuest)
- func (t *PodDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *PodDeleteTask) OnPodDeleted(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodDeleteTask) OnPodDeletedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
- func (t *PodDeleteTask) OnPodStopped(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodDeleteTask) OnPodStoppedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
- func (t *PodDeleteTask) OnWaitContainerDeleted(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
- func (t *PodDeleteTask) OnWaitContainerDeletedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- type PodRestartTask
- func (t *PodRestartTask) OnServerStartCompleteFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodRestartTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (t *PodRestartTask) StartServer(ctx context.Context, guest *models.SGuest)
- type PodStartTask
- func (t *PodStartTask) OnContainerStarted(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodStartTask) OnContainerStartedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *PodStartTask) OnPodStarted(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
- func (t *PodStartTask) OnPodStartedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
- type PodStopTask
- func (t *PodStopTask) OnContainerStopped(ctx context.Context, pod *models.SGuest)
- func (t *PodStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *PodStopTask) OnPodStopped(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodStopTask) OnPodStoppedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
- func (t *PodStopTask) OnWaitContainerStopped(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
- func (t *PodStopTask) OnWaitContainerStoppedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- type PodSyncstatusTask
- func (t *PodSyncstatusTask) OnContainerSynced(ctx context.Context, pod *models.SGuest)
- func (t *PodSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (t *PodSyncstatusTask) OnPodSynced(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- func (t *PodSyncstatusTask) OnPodSyncedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
- func (t *PodSyncstatusTask) OnWaitContainerSynced(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
- func (t *PodSyncstatusTask) OnWaitContainerSyncedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
- type PrepaidRecycleHostRenewTask
- type ProxmoxGuestCreateDiskTask
- 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 SangForGuestCreateDiskTask
- type ScalingGroupDeleteTask
- type SecurityGroupCreateTask
- type SecurityGroupDeleteTask
- func (self *SecurityGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *SecurityGroupDeleteTask) OnSecurityGroupDeleteComplete(ctx context.Context, secgroup *models.SSecurityGroup, ...)
- func (self *SecurityGroupDeleteTask) OnSecurityGroupDeleteCompleteFailed(ctx context.Context, secgroup *models.SSecurityGroup, ...)
- type SecurityGroupRemoteUpdateTask
- type SecurityGroupRuleCreateTask
- type SecurityGroupRuleDeleteTask
- type SecurityGroupRuleUpdateTask
- type SecurityGroupSyncTask
- 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 SnapshotPolicyCreateTask
- func (self *SnapshotPolicyCreateTask) OnCreateSnapshotPolicyComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- func (self *SnapshotPolicyCreateTask) OnCreateSnapshotPolicyCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- func (self *SnapshotPolicyCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body 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 SnapshotpolicyBindDisksTask
- func (self *SnapshotpolicyBindDisksTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *SnapshotpolicyBindDisksTask) OnSnapshotPolicyBindDisksComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- func (self *SnapshotpolicyBindDisksTask) OnSnapshotPolicyBindDisksCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- type SnapshotpolicySyncstatusTask
- type SnapshotpolicyUnbindDisksTask
- func (self *SnapshotpolicyUnbindDisksTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
- func (self *SnapshotpolicyUnbindDisksTask) OnSnapshotPolicyUnbindDisksComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- func (self *SnapshotpolicyUnbindDisksTask) OnSnapshotPolicyUnbindDisksCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
- type StartRescueTask
- func (self *StartRescueTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StartRescueTask) OnRescuePrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *StartRescueTask) OnRescuePrepareCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *StartRescueTask) OnRescueStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *StartRescueTask) OnRescueStartServerCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *StartRescueTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *StartRescueTask) OnServerStopCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *StartRescueTask) PrepareRescue(ctx context.Context, guest *models.SGuest)
- func (self *StartRescueTask) RescueStartServer(ctx context.Context, guest *models.SGuest)
- func (self *StartRescueTask) StopServer(ctx context.Context, guest *models.SGuest)
- type StopRescueTask
- func (self *StopRescueTask) ClearRescue(ctx context.Context, guest *models.SGuest)
- func (self *StopRescueTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
- func (self *StopRescueTask) OnRescueClearComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *StopRescueTask) OnRescueClearCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *StopRescueTask) OnRescueStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *StopRescueTask) OnRescueStartServerCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
- func (self *StopRescueTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
- func (self *StopRescueTask) OnServerStopCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
- func (self *StopRescueTask) RescueStartServer(ctx context.Context, guest *models.SGuest)
- func (self *StopRescueTask) StopServer(ctx context.Context, guest *models.SGuest)
- 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, reason error)
- func (self *StorageUncacheImageTask) RequestUncacheDeactivateImage(ctx context.Context, storageCache *models.SStoragecache)
- func (self *StorageUncacheImageTask) RequestUncacheRemoveImage(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 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 WafRegexSetDeleteTask
- type WafRuleCreateTask
- type WafRuleDeleteTask
- type WafRuleSyncstatusTask
- type WafRuleUpdateTask
- type WafSyncstatusTask
Constants ¶
This section is empty.
Variables ¶
View Source
var (
STORAGEIDS = "storage_ids"
)
View Source
var (
SkuSyncWorkerManager *appsrv.SWorkerManager
)
Functions ¶
func ClearTaskPendingUsage ¶
func InitCloudproviderSyncWorkers ¶
func InitCloudproviderSyncWorkers(count int)
func StartScheduleObjects ¶
func StartScheduleObjects( ctx context.Context, task IScheduleTask, objs []db.IStandaloneModel, )
Types ¶
type AccessGroupCreateTask ¶
func (*AccessGroupCreateTask) OnInit ¶
func (self *AccessGroupCreateTask) 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 AccessGroupRuleCreateTask ¶
func (*AccessGroupRuleCreateTask) OnInit ¶
func (self *AccessGroupRuleCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type AccessGroupRuleDeleteTask ¶
func (*AccessGroupRuleDeleteTask) OnInit ¶
func (self *AccessGroupRuleDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body 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 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 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) 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 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(ctx context.Context) 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 CloudpodsGuestCreateDiskTask ¶
type CloudpodsGuestCreateDiskTask struct {
NutanixGuestCreateDiskTask
}
type CloudregionSyncImagesTask ¶
func (*CloudregionSyncImagesTask) OnInit ¶
func (self *CloudregionSyncImagesTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type ContainerBaseTask ¶
func (*ContainerBaseTask) GetContainer ¶
func (t *ContainerBaseTask) GetContainer() *models.SContainer
func (*ContainerBaseTask) GetPod ¶
func (t *ContainerBaseTask) GetPod() *models.SGuest
func (*ContainerBaseTask) GetPodDriver ¶
func (t *ContainerBaseTask) GetPodDriver() models.IPodDriver
type ContainerCreateTask ¶
type ContainerCreateTask struct {
ContainerBaseTask
}
func (*ContainerCreateTask) OnCreated ¶
func (t *ContainerCreateTask) OnCreated(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerCreateTask) OnCreatedFailed ¶
func (t *ContainerCreateTask) OnCreatedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
func (*ContainerCreateTask) OnImagePulled ¶
func (t *ContainerCreateTask) OnImagePulled(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerCreateTask) OnImagePulledFailed ¶
func (t *ContainerCreateTask) OnImagePulledFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
func (*ContainerCreateTask) OnInit ¶
func (t *ContainerCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ContainerCreateTask) OnStarted ¶
func (t *ContainerCreateTask) OnStarted(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerCreateTask) OnStartedFailed ¶
func (t *ContainerCreateTask) OnStartedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
type ContainerDeleteTask ¶
type ContainerDeleteTask struct {
ContainerBaseTask
}
func (*ContainerDeleteTask) OnDeleteFailed ¶
func (t *ContainerDeleteTask) OnDeleteFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
func (*ContainerDeleteTask) OnDeleted ¶
func (t *ContainerDeleteTask) OnDeleted(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerDeleteTask) OnInit ¶
func (t *ContainerDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type ContainerPullImageTask ¶
type ContainerPullImageTask struct {
ContainerBaseTask
}
func (*ContainerPullImageTask) OnInit ¶
func (t *ContainerPullImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ContainerPullImageTask) OnPulled ¶
func (t *ContainerPullImageTask) OnPulled(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerPullImageTask) OnPulledFailed ¶
func (t *ContainerPullImageTask) OnPulledFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
type ContainerSaveVolumeMountImageTask ¶
type ContainerSaveVolumeMountImageTask struct {
ContainerBaseTask
}
func (*ContainerSaveVolumeMountImageTask) OnImageSaved ¶
func (t *ContainerSaveVolumeMountImageTask) OnImageSaved(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerSaveVolumeMountImageTask) OnImageSavedFailed ¶
func (t *ContainerSaveVolumeMountImageTask) OnImageSavedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
func (*ContainerSaveVolumeMountImageTask) OnInit ¶
func (t *ContainerSaveVolumeMountImageTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ContainerSaveVolumeMountImageTask) OnSyncStatus ¶
func (t *ContainerSaveVolumeMountImageTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerSaveVolumeMountImageTask) OnSyncStatusFailed ¶
func (t *ContainerSaveVolumeMountImageTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
type ContainerStartTask ¶
type ContainerStartTask struct {
ContainerBaseTask
}
func (*ContainerStartTask) OnInit ¶
func (t *ContainerStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ContainerStartTask) OnStarted ¶
func (t *ContainerStartTask) OnStarted(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerStartTask) OnStartedFailed ¶
func (t *ContainerStartTask) OnStartedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
func (*ContainerStartTask) OnSyncStatus ¶
func (t *ContainerStartTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerStartTask) OnSyncStatusFailed ¶
func (t *ContainerStartTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
type ContainerStopTask ¶
type ContainerStopTask struct {
ContainerBaseTask
}
func (*ContainerStopTask) OnInit ¶
func (t *ContainerStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ContainerStopTask) OnStopped ¶
func (t *ContainerStopTask) OnStopped(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerStopTask) OnStoppedFailed ¶
func (t *ContainerStopTask) OnStoppedFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
func (*ContainerStopTask) OnSyncStatus ¶
func (t *ContainerStopTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerStopTask) OnSyncStatusFailed ¶
func (t *ContainerStopTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason jsonutils.JSONObject)
type ContainerSyncStatusTask ¶
type ContainerSyncStatusTask struct {
ContainerBaseTask
}
func (*ContainerSyncStatusTask) OnInit ¶
func (t *ContainerSyncStatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*ContainerSyncStatusTask) OnSyncStatus ¶
func (t *ContainerSyncStatusTask) OnSyncStatus(ctx context.Context, container *models.SContainer, data jsonutils.JSONObject)
func (*ContainerSyncStatusTask) OnSyncStatusFailed ¶
func (t *ContainerSyncStatusTask) OnSyncStatusFailed(ctx context.Context, container *models.SContainer, reason 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 (task *DiskBatchCreateTask) GetCreateInput(data jsonutils.JSONObject) (*api.DiskCreateInput, error)
func (*DiskBatchCreateTask) GetDisks ¶
func (task *DiskBatchCreateTask) GetDisks(data jsonutils.JSONObject) ([]*api.DiskConfig, error)
func (*DiskBatchCreateTask) GetFirstDisk ¶
func (task *DiskBatchCreateTask) GetFirstDisk(data jsonutils.JSONObject) (*api.DiskConfig, error)
func (*DiskBatchCreateTask) GetSchedParams ¶
func (task *DiskBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*DiskBatchCreateTask) OnInit ¶
func (task *DiskBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
func (*DiskBatchCreateTask) OnScheduleComplete ¶
func (task *DiskBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
func (*DiskBatchCreateTask) OnScheduleFailCallback ¶
func (task *DiskBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, index int)
func (*DiskBatchCreateTask) SaveScheduleResult ¶
func (task *DiskBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, index int)
type DiskCleanOverduedSnapshots ¶
type DiskCleanOverduedSnapshots struct {
SDiskBaseTask
}
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 DiskMigrateTask ¶
type DiskMigrateTask struct {
SSchedTask
}
func (*DiskMigrateTask) GetSchedParams ¶
func (task *DiskMigrateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*DiskMigrateTask) OnDeallocateSourceDisk ¶
func (task *DiskMigrateTask) OnDeallocateSourceDisk(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskMigrateTask) OnDeallocateSourceDiskFailed ¶
func (task *DiskMigrateTask) OnDeallocateSourceDiskFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskMigrateTask) OnDiskMigrate ¶
func (task *DiskMigrateTask) OnDiskMigrate(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskMigrateTask) OnDiskMigrateFailed ¶
func (task *DiskMigrateTask) OnDiskMigrateFailed(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskMigrateTask) OnInit ¶
func (task *DiskMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*DiskMigrateTask) OnScheduleFailCallback ¶
func (task *DiskMigrateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, index int)
func (*DiskMigrateTask) OnScheduleFailed ¶
func (task *DiskMigrateTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*DiskMigrateTask) OnStorageCacheImage ¶
func (task *DiskMigrateTask) OnStorageCacheImage(ctx context.Context, disk *models.SDisk, data jsonutils.JSONObject)
func (*DiskMigrateTask) SaveScheduleResult ¶
func (task *DiskMigrateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, index int)
func (*DiskMigrateTask) TaskComplete ¶
func (task *DiskMigrateTask) TaskComplete(ctx context.Context, disk *models.SDisk)
func (*DiskMigrateTask) TaskFailed ¶
func (task *DiskMigrateTask) TaskFailed(ctx context.Context, disk *models.SDisk, reason jsonutils.JSONObject)
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 DnsRecordCreateTask ¶
func (*DnsRecordCreateTask) OnInit ¶
func (self *DnsRecordCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsRecordDeleteTask ¶
func (*DnsRecordDeleteTask) OnInit ¶
func (self *DnsRecordDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsRecordSetEnabledTask ¶
func (*DnsRecordSetEnabledTask) OnInit ¶
func (self *DnsRecordSetEnabledTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsRecordUpdateTask ¶
func (*DnsRecordUpdateTask) OnInit ¶
func (self *DnsRecordUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsZoneAddVpcsTask ¶
func (*DnsZoneAddVpcsTask) OnInit ¶
func (self *DnsZoneAddVpcsTask) 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)
type DnsZoneDeleteTask ¶
func (*DnsZoneDeleteTask) OnInit ¶
func (self *DnsZoneDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type DnsZoneRemoveVpcsTask ¶
func (*DnsZoneRemoveVpcsTask) OnInit ¶
func (self *DnsZoneRemoveVpcsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, 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(ctx context.Context) (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 EipRemoteUpdateTask ¶
func (*EipRemoteUpdateTask) OnInit ¶
func (self *EipRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*EipRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *EipRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, eip *models.SElasticip, data jsonutils.JSONObject)
func (*EipRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *EipRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, eip *models.SElasticip, data jsonutils.JSONObject)
func (*EipRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *EipRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, eip *models.SElasticip, data jsonutils.JSONObject)
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 ElasticSearchRemoteUpdateTask ¶
func (*ElasticSearchRemoteUpdateTask) OnInit ¶
func (self *ElasticSearchRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ElasticSearchRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *ElasticSearchRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, elasticcache *models.SElasticSearch, data jsonutils.JSONObject)
func (*ElasticSearchRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *ElasticSearchRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, elasticcache *models.SElasticSearch, data jsonutils.JSONObject)
func (*ElasticSearchRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *ElasticSearchRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, elasticcache *models.SElasticSearch, data jsonutils.JSONObject)
func (*ElasticSearchRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *ElasticSearchRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, elasticcache *models.SElasticSearch, 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 ExternalProjectCreateTask ¶
func (*ExternalProjectCreateTask) OnInit ¶
func (task *ExternalProjectCreateTask) 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 (task *GuestBatchCreateTask) GetCreateInput(data jsonutils.JSONObject) (*api.ServerCreateInput, error)
func (*GuestBatchCreateTask) GetDisks ¶
func (task *GuestBatchCreateTask) GetDisks() ([]*api.DiskConfig, error)
func (*GuestBatchCreateTask) GetFirstDisk ¶
func (task *GuestBatchCreateTask) GetFirstDisk() (*api.DiskConfig, error)
func (*GuestBatchCreateTask) GetSchedParams ¶
func (task *GuestBatchCreateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestBatchCreateTask) OnInit ¶
func (task *GuestBatchCreateTask) OnInit(ctx context.Context, objs []db.IStandaloneModel, body jsonutils.JSONObject)
func (*GuestBatchCreateTask) OnScheduleComplete ¶
func (task *GuestBatchCreateTask) OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict)
func (*GuestBatchCreateTask) OnScheduleFailCallback ¶
func (task *GuestBatchCreateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, index int)
func (*GuestBatchCreateTask) SaveScheduleResult ¶
func (task *GuestBatchCreateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, index int)
func (*GuestBatchCreateTask) SaveScheduleResultWithBackup ¶
func (task *GuestBatchCreateTask) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, master, slave *schedapi.CandidateResource, index int)
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 (task *GuestChangeConfigTask) DoCreateDisksTask(ctx context.Context, guest *models.SGuest)
func (*GuestChangeConfigTask) GetSchedParams ¶
func (task *GuestChangeConfigTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestChangeConfigTask) OnCreateDisksComplete ¶
func (task *GuestChangeConfigTask) OnCreateDisksComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnCreateDisksCompleteFailed ¶
func (task *GuestChangeConfigTask) OnCreateDisksCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnDisksResizeComplete ¶
func (task *GuestChangeConfigTask) OnDisksResizeComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestChangeCpuMemSpecComplete ¶
func (task *GuestChangeConfigTask) OnGuestChangeCpuMemSpecComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestChangeCpuMemSpecCompleteFailed ¶
func (task *GuestChangeConfigTask) OnGuestChangeCpuMemSpecCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestChangeCpuMemSpecFinish ¶
func (task *GuestChangeConfigTask) OnGuestChangeCpuMemSpecFinish(ctx context.Context, guest *models.SGuest)
func (*GuestChangeConfigTask) OnGuestResetNicTraffics ¶
func (task *GuestChangeConfigTask) OnGuestResetNicTraffics(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestResetNicTrafficsFailed ¶
func (task *GuestChangeConfigTask) OnGuestResetNicTrafficsFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestSetNicTraffics ¶
func (task *GuestChangeConfigTask) OnGuestSetNicTraffics(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestSetNicTrafficsFailed ¶
func (task *GuestChangeConfigTask) OnGuestSetNicTrafficsFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestStartComplete ¶
func (task *GuestChangeConfigTask) OnGuestStartComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnGuestStartCompleteFailed ¶
func (task *GuestChangeConfigTask) OnGuestStartCompleteFailed(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnInit ¶
func (task *GuestChangeConfigTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnScheduleFailCallback ¶
func (task *GuestChangeConfigTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, index int)
func (*GuestChangeConfigTask) OnScheduleFailed ¶
func (task *GuestChangeConfigTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnStartSchedule ¶
func (task *GuestChangeConfigTask) OnStartSchedule(obj IScheduleModel)
func (*GuestChangeConfigTask) OnSyncConfigComplete ¶
func (task *GuestChangeConfigTask) OnSyncConfigComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) OnSyncStatusComplete ¶
func (task *GuestChangeConfigTask) OnSyncStatusComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestChangeConfigTask) SaveScheduleResult ¶
func (task *GuestChangeConfigTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, index int)
func (*GuestChangeConfigTask) SetStageComplete ¶
func (task *GuestChangeConfigTask) SetStageComplete(ctx context.Context, data *jsonutils.JSONDict)
func (*GuestChangeConfigTask) SetStageFailed ¶
func (task *GuestChangeConfigTask) SetStageFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestChangeConfigTask) StartResizeDisks ¶
func (task *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 GuestConvertCloudpodsToKvmTask ¶
type GuestConvertCloudpodsToKvmTask struct {
SSchedTask
}
func (*GuestConvertCloudpodsToKvmTask) GetAccessInfo ¶
func (*GuestConvertCloudpodsToKvmTask) GetSchedParams ¶
func (task *GuestConvertCloudpodsToKvmTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestConvertCloudpodsToKvmTask) OnHostCreateGuest ¶
func (task *GuestConvertCloudpodsToKvmTask) OnHostCreateGuest( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestConvertCloudpodsToKvmTask) OnHostCreateGuestFailed ¶
func (task *GuestConvertCloudpodsToKvmTask) OnHostCreateGuestFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestConvertCloudpodsToKvmTask) OnInit ¶
func (task *GuestConvertCloudpodsToKvmTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestConvertCloudpodsToKvmTask) OnScheduleFailed ¶
func (task *GuestConvertCloudpodsToKvmTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestConvertCloudpodsToKvmTask) RequestHostCreateGuestFromCloudpods ¶
func (*GuestConvertCloudpodsToKvmTask) SaveScheduleResult ¶
func (task *GuestConvertCloudpodsToKvmTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, index int)
func (*GuestConvertCloudpodsToKvmTask) TaskComplete ¶
func (task *GuestConvertCloudpodsToKvmTask) TaskComplete(ctx context.Context, guest, targetGuest *models.SGuest)
type GuestConvertEsxiToKvmTask ¶
type GuestConvertEsxiToKvmTask struct {
SSchedTask
}
func (*GuestConvertEsxiToKvmTask) GenerateEsxiAcceessInfo ¶
func (*GuestConvertEsxiToKvmTask) GetSchedParams ¶
func (task *GuestConvertEsxiToKvmTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestConvertEsxiToKvmTask) OnGuestConvertDoDeployGuest ¶
func (task *GuestConvertEsxiToKvmTask) OnGuestConvertDoDeployGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestConvertEsxiToKvmTask) OnGuestConvertDoDeployGuestFailed ¶
func (task *GuestConvertEsxiToKvmTask) OnGuestConvertDoDeployGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestConvertEsxiToKvmTask) OnHostCreateGuest ¶
func (task *GuestConvertEsxiToKvmTask) OnHostCreateGuest( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestConvertEsxiToKvmTask) OnHostCreateGuestFailed ¶
func (task *GuestConvertEsxiToKvmTask) OnHostCreateGuestFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*GuestConvertEsxiToKvmTask) OnInit ¶
func (task *GuestConvertEsxiToKvmTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestConvertEsxiToKvmTask) OnScheduleFailed ¶
func (task *GuestConvertEsxiToKvmTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestConvertEsxiToKvmTask) OnStartSchedule ¶
func (task *GuestConvertEsxiToKvmTask) OnStartSchedule(obj IScheduleModel)
func (*GuestConvertEsxiToKvmTask) RequestHostCreateGuestFromEsxi ¶
func (*GuestConvertEsxiToKvmTask) SaveScheduleResult ¶
func (task *GuestConvertEsxiToKvmTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, index int)
update database for convert esxi to kvm in the part of guest, guestdisks, guestnetworks
func (*GuestConvertEsxiToKvmTask) TaskComplete ¶
func (task *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 (task *GuestCreateBackupTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestCreateBackupTask) OnCreateBackup ¶
func (task *GuestCreateBackupTask) OnCreateBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnCreateBackupDisks ¶
func (task *GuestCreateBackupTask) OnCreateBackupDisks(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnCreateBackupDisksFailed ¶
func (task *GuestCreateBackupTask) OnCreateBackupDisksFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnCreateBackupFailed ¶
func (task *GuestCreateBackupTask) OnCreateBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnGuestStart ¶
func (*GuestCreateBackupTask) OnGuestStartCompleted ¶
func (task *GuestCreateBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnGuestStartCompletedFailed ¶
func (task *GuestCreateBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnInit ¶
func (task *GuestCreateBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnInsertIso ¶
func (task *GuestCreateBackupTask) OnInsertIso(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnInsertIsoFailed ¶
func (task *GuestCreateBackupTask) OnInsertIsoFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnScheduleFailCallback ¶
func (task *GuestCreateBackupTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, index int)
func (*GuestCreateBackupTask) OnScheduleFailed ¶
func (task *GuestCreateBackupTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnStartSchedule ¶
func (task *GuestCreateBackupTask) OnStartSchedule(obj IScheduleModel)
func (*GuestCreateBackupTask) OnSyncToBackup ¶
func (task *GuestCreateBackupTask) OnSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) OnSyncToBackupFailed ¶
func (task *GuestCreateBackupTask) OnSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateBackupTask) RequestStartGuest ¶
func (task *GuestCreateBackupTask) RequestStartGuest(ctx context.Context, guest *models.SGuest)
func (*GuestCreateBackupTask) SaveScheduleResult ¶
func (task *GuestCreateBackupTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, index int)
func (*GuestCreateBackupTask) StartCreateBackupDisks ¶
func (task *GuestCreateBackupTask) StartCreateBackupDisks(ctx context.Context, guest *models.SGuest, host *models.SHost, candidateDisks []*schedapi.CandidateDisk)
func (*GuestCreateBackupTask) StartInsertIso ¶
func (*GuestCreateBackupTask) TaskCompleted ¶
func (*GuestCreateBackupTask) TaskFailed ¶
func (task *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, guest *models.SGuest, 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, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateTask) OnDiskPreparedFailed ¶
func (self *GuestCreateTask) OnDiskPreparedFailed(ctx context.Context, guest *models.SGuest, 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) OnSecurityGroupPrepared ¶
func (self *GuestCreateTask) OnSecurityGroupPrepared(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestCreateTask) OnSecurityGroupPreparedFailed ¶
func (self *GuestCreateTask) OnSecurityGroupPreparedFailed(ctx context.Context, guest *models.SGuest, data 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) OnGetGuestStatus ¶
func (self *GuestDetachDiskTask) OnGetGuestStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestDetachDiskTask) OnGetGuestStatusFailed ¶
func (self *GuestDetachDiskTask) OnGetGuestStatusFailed(ctx context.Context, guest *models.SGuest, 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 GuestEjectVFDTask ¶
type GuestEjectVFDTask struct {
SGuestBaseTask
}
func (*GuestEjectVFDTask) OnConfigSyncComplete ¶
func (self *GuestEjectVFDTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestEjectVFDTask) OnInit ¶
func (self *GuestEjectVFDTask) 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 GuestInsertVfdTask ¶
type GuestInsertVfdTask struct {
SGuestBaseTask
}
func (*GuestInsertVfdTask) OnConfigSyncComplete ¶
func (self *GuestInsertVfdTask) OnConfigSyncComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestInsertVfdTask) OnInit ¶
func (self *GuestInsertVfdTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestInsertVfdTask) OnVfdPrepareComplete ¶
func (self *GuestInsertVfdTask) OnVfdPrepareComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestInsertVfdTask) OnVfdPrepareCompleteFailed ¶
func (self *GuestInsertVfdTask) OnVfdPrepareCompleteFailed(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 (task *GuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
Server live migrate complete
func (*GuestLiveMigrateTask) OnGuestUndeployed ¶
func (task *GuestLiveMigrateTask) OnGuestUndeployed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnGuestUndeployedFailed ¶
func (task *GuestLiveMigrateTask) OnGuestUndeployedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnLiveMigrateComplete ¶
func (task *GuestLiveMigrateTask) OnLiveMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnLiveMigrateCompleteFailed ¶
func (task *GuestLiveMigrateTask) OnLiveMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeDestGuestComplete ¶
func (task *GuestLiveMigrateTask) OnResumeDestGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeDestGuestCompleteFailed ¶
func (task *GuestLiveMigrateTask) OnResumeDestGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeSourceGuestComplete ¶
func (task *GuestLiveMigrateTask) OnResumeSourceGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnResumeSourceGuestCompleteFailed ¶
func (task *GuestLiveMigrateTask) OnResumeSourceGuestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnStartDestComplete ¶
func (task *GuestLiveMigrateTask) OnStartDestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnStartDestCompleteFailed ¶
func (task *GuestLiveMigrateTask) OnStartDestCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestLiveMigrateTask) OnUndeploySrcGuestComplete ¶
func (task *GuestLiveMigrateTask) OnUndeploySrcGuestComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestMigrateTask ¶
type GuestMigrateTask struct {
SSchedTask
}
func (*GuestMigrateTask) GetSchedParams ¶
func (task *GuestMigrateTask) GetSchedParams() (*schedapi.ScheduleInput, error)
func (*GuestMigrateTask) OnCachedCdromComplete ¶
func (task *GuestMigrateTask) OnCachedCdromComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnCachedCdromCompleteFailed ¶
func (task *GuestMigrateTask) OnCachedCdromCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnCachedImageComplete ¶
func (task *GuestMigrateTask) OnCachedImageComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
For local storage get disk info
func (*GuestMigrateTask) OnCachedImageCompleteFailed ¶
func (task *GuestMigrateTask) OnCachedImageCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnGuestStartSucc ¶
func (task *GuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnGuestStartSuccFailed ¶
func (task *GuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnInit ¶
func (task *GuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnMigrateConfAndDiskComplete ¶
func (task *GuestMigrateTask) OnMigrateConfAndDiskComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnMigrateConfAndDiskCompleteFailed ¶
func (task *GuestMigrateTask) OnMigrateConfAndDiskCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnNormalMigrateComplete ¶
func (task *GuestMigrateTask) OnNormalMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnScheduleFailCallback ¶
func (task *GuestMigrateTask) OnScheduleFailCallback(ctx context.Context, obj IScheduleModel, reason jsonutils.JSONObject, index int)
func (*GuestMigrateTask) OnScheduleFailed ¶
func (task *GuestMigrateTask) OnScheduleFailed(ctx context.Context, reason jsonutils.JSONObject)
func (*GuestMigrateTask) OnSrcPrepareComplete ¶
func (task *GuestMigrateTask) OnSrcPrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnSrcPrepareCompleteFailed ¶
func (task *GuestMigrateTask) OnSrcPrepareCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnStartCacheImages ¶
func (task *GuestMigrateTask) OnStartCacheImages(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnStartCacheImagesFailed ¶
func (task *GuestMigrateTask) OnStartCacheImagesFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnStartSchedule ¶
func (task *GuestMigrateTask) OnStartSchedule(obj IScheduleModel)
func (*GuestMigrateTask) OnUndeployOldHostSucc ¶
func (task *GuestMigrateTask) OnUndeployOldHostSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
Server migrate complete
func (*GuestMigrateTask) OnUndeployOldHostSuccFailed ¶
func (task *GuestMigrateTask) OnUndeployOldHostSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnUndeployTargetGuestSucc ¶
func (task *GuestMigrateTask) OnUndeployTargetGuestSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) OnUndeployTargetGuestSuccFailed ¶
func (task *GuestMigrateTask) OnUndeployTargetGuestSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestMigrateTask) SaveScheduleResult ¶
func (task *GuestMigrateTask) SaveScheduleResult(ctx context.Context, obj IScheduleModel, target *schedapi.CandidateResource, index int)
func (*GuestMigrateTask) TaskComplete ¶
func (task *GuestMigrateTask) TaskComplete(ctx context.Context, guest *models.SGuest)
func (*GuestMigrateTask) TaskFailed ¶
func (task *GuestMigrateTask) TaskFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
type GuestOsInfo ¶
type GuestOsInfo struct { Id string `json:"id"` KernelRelease string `json:"kernel-release"` KernelVersion string `json:"kernel-version"` Machine string `json:"machine"` Name string `json:"name"` PrettyName string `json:"pretty-name"` Version string `json:"version"` VersionId string `json:"version-id"` }
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 GuestQgaRestartNetworkTask ¶
type GuestQgaRestartNetworkTask struct {
SGuestBaseTask
}
func (*GuestQgaRestartNetworkTask) OnInit ¶
func (self *GuestQgaRestartNetworkTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestQgaRestartNetworkTask) OnRestartNetwork ¶
func (self *GuestQgaRestartNetworkTask) OnRestartNetwork(ctx context.Context, guest *models.SGuest)
func (*GuestQgaRestartNetworkTask) OnSetNetwork ¶
func (self *GuestQgaRestartNetworkTask) OnSetNetwork(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestQgaRestartNetworkTask) OnSetNetworkFailed ¶
func (self *GuestQgaRestartNetworkTask) OnSetNetworkFailed(ctx context.Context, guest *models.SGuest, 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 GuestQgaSyncOsInfoTask ¶
type GuestQgaSyncOsInfoTask struct {
SGuestBaseTask
}
func (*GuestQgaSyncOsInfoTask) OnInit ¶
func (self *GuestQgaSyncOsInfoTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestQgaSyncOsInfoTask) OnUpdateOsInfoComplete ¶
func (self *GuestQgaSyncOsInfoTask) OnUpdateOsInfoComplete(ctx context.Context, guest *models.SGuest, osInput api.ServerSetOSInfoInput)
type GuestReSyncToBackup ¶
type GuestReSyncToBackup struct {
GuestStartAndSyncToBackupTask
}
func (*GuestReSyncToBackup) OnInit ¶
func (task *GuestReSyncToBackup) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestReSyncToBackup) StartSyncToBackup ¶
func (task *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 GuestResetNicTrafficsTask ¶
type GuestResetNicTrafficsTask struct {
SGuestBaseTask
}
func (*GuestResetNicTrafficsTask) OnInit ¶
func (self *GuestResetNicTrafficsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestResetNicTrafficsTask) OnResetNicTrafficLimit ¶
func (self *GuestResetNicTrafficsTask) OnResetNicTrafficLimit(ctx context.Context, guest *models.SGuest, 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.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestRestartNetworkTask) OnResumeIpMacSrcCheckCompleteFailed ¶
func (self *GuestRestartNetworkTask) OnResumeIpMacSrcCheckCompleteFailed(ctx context.Context, obj db.IStandaloneModel, 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) OnGuestStarted ¶
func (self *GuestSchedStartTask) OnGuestStarted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSchedStartTask) OnGuestStartedFailed ¶
func (self *GuestSchedStartTask) OnGuestStartedFailed(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 (*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 GuestSetNicTrafficsTask ¶
type GuestSetNicTrafficsTask struct {
SGuestBaseTask
}
func (*GuestSetNicTrafficsTask) OnInit ¶
func (self *GuestSetNicTrafficsTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestSetNicTrafficsTask) OnSetNicTrafficLimit ¶
func (self *GuestSetNicTrafficsTask) OnSetNicTrafficLimit(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 (task *GuestStartAndSyncToBackupTask) OnCheckTemplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnInit ¶
func (task *GuestStartAndSyncToBackupTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnRequestSyncToBackup ¶
func (task *GuestStartAndSyncToBackupTask) OnRequestSyncToBackup(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnRequestSyncToBackupFailed ¶
func (task *GuestStartAndSyncToBackupTask) OnRequestSyncToBackupFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnStartBackupGuest ¶
func (task *GuestStartAndSyncToBackupTask) OnStartBackupGuest(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartAndSyncToBackupTask) OnStartBackupGuestFailed ¶
func (task *GuestStartAndSyncToBackupTask) OnStartBackupGuestFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type GuestStartTask ¶
type GuestStartTask struct {
SGuestBaseTask
}
func (*GuestStartTask) AttachReleasedDevices ¶
func (self *GuestStartTask) AttachReleasedDevices(ctx context.Context, guest *models.SGuest)
func (*GuestStartTask) OnInit ¶
func (self *GuestStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*GuestStartTask) OnReleasedDevicesAttached ¶
func (self *GuestStartTask) OnReleasedDevicesAttached(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartTask) OnReleasedDevicesFailed ¶
func (self *GuestStartTask) OnReleasedDevicesFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestStartTask) OnStartComplete ¶
func (task *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) OnDevicesReleaseFailed ¶
func (self *GuestStopTask) OnDevicesReleaseFailed(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestStopTask) OnDevicesReleased ¶
func (self *GuestStopTask) OnDevicesReleased(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
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 (task *GuestSwitchToBackupTask) OnBackupGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnComplete ¶
func (task *GuestSwitchToBackupTask) OnComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnEnsureMasterGuestStoped ¶
func (task *GuestSwitchToBackupTask) OnEnsureMasterGuestStoped(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnFail ¶
func (task *GuestSwitchToBackupTask) OnFail(ctx context.Context, guest *models.SGuest, reason jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnGuestStartCompleted ¶
func (task *GuestSwitchToBackupTask) OnGuestStartCompleted(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnGuestStartCompletedFailed ¶
func (task *GuestSwitchToBackupTask) OnGuestStartCompletedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*GuestSwitchToBackupTask) OnInit ¶
func (task *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)
func (*GuestSyncConfTask) StartRestartNetworkTask ¶
func (self *GuestSyncConfTask) StartRestartNetworkTask(ctx context.Context, guest *models.SGuest)
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 HaGuestInsertVfdTask ¶
type HaGuestInsertVfdTask struct {
GuestInsertVfdTask
}
func (*HaGuestInsertVfdTask) OnBackupVfdPrepareComplete ¶
func (self *HaGuestInsertVfdTask) OnBackupVfdPrepareComplete( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HaGuestInsertVfdTask) OnBackupVfdPrepareCompleteFailed ¶
func (self *HaGuestInsertVfdTask) OnBackupVfdPrepareCompleteFailed( ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject, )
func (*HaGuestInsertVfdTask) OnInit ¶
func (self *HaGuestInsertVfdTask) 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 IScheduleModel ¶
type IScheduleModel interface { db.IStandaloneModel SetStatus(ctx context.Context, 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, index int) // OnScheduleComplete(ctx context.Context, items []db.IStandaloneModel, data *jsonutils.JSONDict) SaveScheduleResult(ctx context.Context, obj IScheduleModel, candidate *schedapi.CandidateResource, index int) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, master, slave *schedapi.CandidateResource, index int) 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 KafkaRemoteUpdateTask ¶
func (*KafkaRemoteUpdateTask) OnInit ¶
func (self *KafkaRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KafkaRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *KafkaRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
func (*KafkaRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *KafkaRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
func (*KafkaRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *KafkaRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
func (*KafkaRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *KafkaRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, kafka *models.SKafka, data jsonutils.JSONObject)
type KafkaSyncstatusTask ¶
func (*KafkaSyncstatusTask) OnInit ¶
func (self *KafkaSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type KubeClusterCreateTask ¶
func (*KubeClusterCreateTask) OnInit ¶
func (self *KubeClusterCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KubeClusterCreateTask) OnKubeClusterCreateComplate ¶
func (self *KubeClusterCreateTask) OnKubeClusterCreateComplate(ctx context.Context, cluster *models.SKubeCluster, data jsonutils.JSONObject)
func (*KubeClusterCreateTask) OnKubeClusterCreateComplateFailed ¶
func (self *KubeClusterCreateTask) OnKubeClusterCreateComplateFailed(ctx context.Context, cluster *models.SKubeCluster, reason 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 KubeNodePoolCreateTask ¶
func (*KubeNodePoolCreateTask) OnInit ¶
func (self *KubeNodePoolCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*KubeNodePoolCreateTask) OnKubeNodePoolCreateComplate ¶
func (self *KubeNodePoolCreateTask) OnKubeNodePoolCreateComplate(ctx context.Context, pool *models.SKubeNodePool, data jsonutils.JSONObject)
func (*KubeNodePoolCreateTask) OnKubeNodePoolCreateComplateFailed ¶
func (self *KubeNodePoolCreateTask) OnKubeNodePoolCreateComplateFailed(ctx context.Context, pool *models.SKubeNodePool, reason jsonutils.JSONObject)
type KubeNodePoolDeleteTask ¶
func (*KubeNodePoolDeleteTask) OnInit ¶
func (self *KubeNodePoolDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type KubeNodePoolSyncstatusTask ¶
func (*KubeNodePoolSyncstatusTask) OnInit ¶
func (self *KubeNodePoolSyncstatusTask) 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.SLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclCreateTask) OnLoadbalancerAclCreateCompleteFailed ¶
func (self *LoadbalancerAclCreateTask) OnLoadbalancerAclCreateCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, 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.SLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteCompleteFailed ¶
func (self *LoadbalancerAclDeleteTask) OnLoadbalancerAclDeleteCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, reason jsonutils.JSONObject)
type LoadbalancerAclSyncstatusTask ¶
func (*LoadbalancerAclSyncstatusTask) OnInit ¶
func (self *LoadbalancerAclSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerAclSyncstatusTask) OnLoadbalancerAclSyncstatusComplete ¶
func (self *LoadbalancerAclSyncstatusTask) OnLoadbalancerAclSyncstatusComplete(ctx context.Context, lbacl *models.SLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclSyncstatusTask) OnLoadbalancerAclSyncstatusCompleteFailed ¶
func (self *LoadbalancerAclSyncstatusTask) OnLoadbalancerAclSyncstatusCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, reason jsonutils.JSONObject)
type LoadbalancerAclUpdateTask ¶
func (*LoadbalancerAclUpdateTask) OnInit ¶
func (self *LoadbalancerAclUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerAclUpdateTask) OnLoadbalancerAclUpdateComplete ¶
func (self *LoadbalancerAclUpdateTask) OnLoadbalancerAclUpdateComplete(ctx context.Context, lbacl *models.SLoadbalancerAcl, data jsonutils.JSONObject)
func (*LoadbalancerAclUpdateTask) OnLoadbalancerAclUpdateCompleteFailed ¶
func (self *LoadbalancerAclUpdateTask) OnLoadbalancerAclUpdateCompleteFailed(ctx context.Context, lbacl *models.SLoadbalancerAcl, 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.SLoadbalancerCertificate, data jsonutils.JSONObject)
func (*LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateCompleteFailed ¶
func (self *LoadbalancerCertificateCreateTask) OnLoadbalancerCertificateCreateCompleteFailed(ctx context.Context, lbcert *models.SLoadbalancerCertificate, 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.SLoadbalancerCertificate, data jsonutils.JSONObject)
func (*LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteCompleteFailed ¶
func (self *LoadbalancerCertificateDeleteTask) OnLoadbalancerCertificateDeleteCompleteFailed(ctx context.Context, lbcert *models.SLoadbalancerCertificate, reason jsonutils.JSONObject)
type LoadbalancerCertificateSyncstatusTask ¶
func (*LoadbalancerCertificateSyncstatusTask) OnInit ¶
func (self *LoadbalancerCertificateSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*LoadbalancerCertificateSyncstatusTask) OnLoadbalancerCertificateSyncstatusComplete ¶
func (self *LoadbalancerCertificateSyncstatusTask) OnLoadbalancerCertificateSyncstatusComplete(ctx context.Context, lbcert *models.SLoadbalancerCertificate, data jsonutils.JSONObject)
func (*LoadbalancerCertificateSyncstatusTask) OnLoadbalancerCertificateSyncstatusCompleteFailed ¶
func (self *LoadbalancerCertificateSyncstatusTask) OnLoadbalancerCertificateSyncstatusCompleteFailed(ctx context.Context, lbcert *models.SLoadbalancerCertificate, 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)
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) 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)
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) 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 (task *ManagedGuestLiveMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnGuestSyncStatus ¶
func (task *ManagedGuestLiveMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnGuestSyncStatusFailed ¶
func (task *ManagedGuestLiveMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnInit ¶
func (task *ManagedGuestLiveMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
ManagedGuestLiveMigrateTask
func (*ManagedGuestLiveMigrateTask) OnMigrateComplete ¶
func (task *ManagedGuestLiveMigrateTask) OnMigrateComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestLiveMigrateTask) OnMigrateCompleteFailed ¶
func (task *ManagedGuestLiveMigrateTask) OnMigrateCompleteFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
type ManagedGuestMigrateTask ¶
type ManagedGuestMigrateTask struct {
SGuestBaseTask
}
func (*ManagedGuestMigrateTask) MigrateStart ¶
func (task *ManagedGuestMigrateTask) MigrateStart(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestStartSucc ¶
func (task *ManagedGuestMigrateTask) OnGuestStartSucc(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestStartSuccFailed ¶
func (task *ManagedGuestMigrateTask) OnGuestStartSuccFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestSyncStatus ¶
func (task *ManagedGuestMigrateTask) OnGuestSyncStatus(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnGuestSyncStatusFailed ¶
func (task *ManagedGuestMigrateTask) OnGuestSyncStatusFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnInit ¶
func (task *ManagedGuestMigrateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
ManagedGuestMigrateTask
func (*ManagedGuestMigrateTask) OnMigrateComplete ¶
func (task *ManagedGuestMigrateTask) OnMigrateComplete(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*ManagedGuestMigrateTask) OnMigrateCompleteFailed ¶
func (task *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, opts *cloudprovider.ModelartsPoolCreateOption, 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)
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 NetworkRemoteUpdateTask ¶
func (*NetworkRemoteUpdateTask) OnInit ¶
func (self *NetworkRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*NetworkRemoteUpdateTask) OnRemoteUpdateComplete ¶
func (self *NetworkRemoteUpdateTask) OnRemoteUpdateComplete(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
func (*NetworkRemoteUpdateTask) OnRemoteUpdateCompleteFailed ¶
func (self *NetworkRemoteUpdateTask) OnRemoteUpdateCompleteFailed(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
func (*NetworkRemoteUpdateTask) OnSyncStatusComplete ¶
func (self *NetworkRemoteUpdateTask) OnSyncStatusComplete(ctx context.Context, net *models.SNetwork, data jsonutils.JSONObject)
func (*NetworkRemoteUpdateTask) OnSyncStatusCompleteFailed ¶
func (self *NetworkRemoteUpdateTask) OnSyncStatusCompleteFailed(ctx context.Context, net *models.SNetwork, data 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 PodCreateTask ¶
type PodCreateTask struct {
SGuestBaseTask
}
func (*PodCreateTask) OnContainerCreated ¶
func (t *PodCreateTask) OnContainerCreated(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodCreateTask) OnContainerCreatedFailed ¶
func (t *PodCreateTask) OnContainerCreatedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodCreateTask) OnInit ¶
func (t *PodCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*PodCreateTask) OnPodCreated ¶
func (t *PodCreateTask) OnPodCreated(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodCreateTask) OnPodCreatedFailed ¶
func (t *PodCreateTask) OnPodCreatedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodCreateTask) OnStatusSynced ¶
func (t *PodCreateTask) OnStatusSynced(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodCreateTask) OnStatusSyncedFailed ¶
func (t *PodCreateTask) OnStatusSyncedFailed(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodCreateTask) OnWaitPodCreated ¶
func (t *PodCreateTask) OnWaitPodCreated(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type PodDeleteTask ¶
type PodDeleteTask struct {
SGuestBaseTask
}
func (*PodDeleteTask) OnContainerDeleted ¶
func (t *PodDeleteTask) OnContainerDeleted(ctx context.Context, pod *models.SGuest)
func (*PodDeleteTask) OnInit ¶
func (t *PodDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*PodDeleteTask) OnPodDeleted ¶
func (t *PodDeleteTask) OnPodDeleted(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodDeleteTask) OnPodDeletedFailed ¶
func (t *PodDeleteTask) OnPodDeletedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
func (*PodDeleteTask) OnPodStopped ¶
func (t *PodDeleteTask) OnPodStopped(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodDeleteTask) OnPodStoppedFailed ¶
func (t *PodDeleteTask) OnPodStoppedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
func (*PodDeleteTask) OnWaitContainerDeleted ¶
func (t *PodDeleteTask) OnWaitContainerDeleted(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
func (*PodDeleteTask) OnWaitContainerDeletedFailed ¶
func (t *PodDeleteTask) OnWaitContainerDeletedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
type PodRestartTask ¶
type PodRestartTask struct {
GuestRestartTask
}
func (*PodRestartTask) OnServerStartCompleteFailed ¶
func (t *PodRestartTask) OnServerStartCompleteFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodRestartTask) OnServerStopComplete ¶
func (t *PodRestartTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*PodRestartTask) StartServer ¶
func (t *PodRestartTask) StartServer(ctx context.Context, guest *models.SGuest)
type PodStartTask ¶
type PodStartTask struct {
SGuestBaseTask
}
func (*PodStartTask) OnContainerStarted ¶
func (t *PodStartTask) OnContainerStarted(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodStartTask) OnContainerStartedFailed ¶
func (t *PodStartTask) OnContainerStartedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodStartTask) OnInit ¶
func (t *PodStartTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*PodStartTask) OnPodStarted ¶
func (t *PodStartTask) OnPodStarted(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
func (*PodStartTask) OnPodStartedFailed ¶
func (t *PodStartTask) OnPodStartedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
type PodStopTask ¶
type PodStopTask struct {
SGuestBaseTask
}
func (*PodStopTask) OnContainerStopped ¶
func (t *PodStopTask) OnContainerStopped(ctx context.Context, pod *models.SGuest)
func (*PodStopTask) OnInit ¶
func (t *PodStopTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*PodStopTask) OnPodStopped ¶
func (t *PodStopTask) OnPodStopped(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodStopTask) OnPodStoppedFailed ¶
func (t *PodStopTask) OnPodStoppedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
func (*PodStopTask) OnWaitContainerStopped ¶
func (t *PodStopTask) OnWaitContainerStopped(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
func (*PodStopTask) OnWaitContainerStoppedFailed ¶
func (t *PodStopTask) OnWaitContainerStoppedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
type PodSyncstatusTask ¶
type PodSyncstatusTask struct {
SGuestBaseTask
}
func (*PodSyncstatusTask) OnContainerSynced ¶
func (t *PodSyncstatusTask) OnContainerSynced(ctx context.Context, pod *models.SGuest)
func (*PodSyncstatusTask) OnInit ¶
func (t *PodSyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*PodSyncstatusTask) OnPodSynced ¶
func (t *PodSyncstatusTask) OnPodSynced(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
func (*PodSyncstatusTask) OnPodSyncedFailed ¶
func (t *PodSyncstatusTask) OnPodSyncedFailed(ctx context.Context, pod *models.SGuest, reason jsonutils.JSONObject)
func (*PodSyncstatusTask) OnWaitContainerSynced ¶
func (t *PodSyncstatusTask) OnWaitContainerSynced(ctx context.Context, pod *models.SGuest, _ jsonutils.JSONObject)
func (*PodSyncstatusTask) OnWaitContainerSyncedFailed ¶
func (t *PodSyncstatusTask) OnWaitContainerSyncedFailed(ctx context.Context, pod *models.SGuest, data jsonutils.JSONObject)
type PrepaidRecycleHostRenewTask ¶
func (*PrepaidRecycleHostRenewTask) OnInit ¶
func (self *PrepaidRecycleHostRenewTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type ProxmoxGuestCreateDiskTask ¶
type ProxmoxGuestCreateDiskTask struct {
ESXiGuestCreateDiskTask
}
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, index int)
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, index int)
func (*SSchedTask) SaveScheduleResultWithBackup ¶
func (self *SSchedTask) SaveScheduleResultWithBackup(ctx context.Context, obj IScheduleModel, master, slave *schedapi.CandidateResource, index int)
type SangForGuestCreateDiskTask ¶
type SangForGuestCreateDiskTask struct {
NutanixGuestCreateDiskTask
}
type ScalingGroupDeleteTask ¶
func (*ScalingGroupDeleteTask) OnInit ¶
func (self *ScalingGroupDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SecurityGroupCreateTask ¶
func (*SecurityGroupCreateTask) OnInit ¶
func (self *SecurityGroupCreateTask) 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)
func (*SecurityGroupDeleteTask) OnSecurityGroupDeleteComplete ¶
func (self *SecurityGroupDeleteTask) OnSecurityGroupDeleteComplete(ctx context.Context, secgroup *models.SSecurityGroup, data jsonutils.JSONObject)
func (*SecurityGroupDeleteTask) OnSecurityGroupDeleteCompleteFailed ¶
func (self *SecurityGroupDeleteTask) OnSecurityGroupDeleteCompleteFailed(ctx context.Context, secgroup *models.SSecurityGroup, data jsonutils.JSONObject)
type SecurityGroupRemoteUpdateTask ¶
func (*SecurityGroupRemoteUpdateTask) OnInit ¶
func (self *SecurityGroupRemoteUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupRuleCreateTask ¶
func (*SecurityGroupRuleCreateTask) OnInit ¶
func (self *SecurityGroupRuleCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupRuleDeleteTask ¶
func (*SecurityGroupRuleDeleteTask) OnInit ¶
func (self *SecurityGroupRuleDeleteTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupRuleUpdateTask ¶
func (*SecurityGroupRuleUpdateTask) OnInit ¶
func (self *SecurityGroupRuleUpdateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
type SecurityGroupSyncTask ¶
func (*SecurityGroupSyncTask) OnInit ¶
func (self *SecurityGroupSyncTask) 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 SnapshotPolicyCreateTask ¶
func (*SnapshotPolicyCreateTask) OnCreateSnapshotPolicyComplete ¶
func (self *SnapshotPolicyCreateTask) OnCreateSnapshotPolicyComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
func (*SnapshotPolicyCreateTask) OnCreateSnapshotPolicyCompleteFailed ¶
func (self *SnapshotPolicyCreateTask) OnCreateSnapshotPolicyCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
func (*SnapshotPolicyCreateTask) OnInit ¶
func (self *SnapshotPolicyCreateTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body 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 SnapshotpolicyBindDisksTask ¶
func (*SnapshotpolicyBindDisksTask) OnInit ¶
func (self *SnapshotpolicyBindDisksTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*SnapshotpolicyBindDisksTask) OnSnapshotPolicyBindDisksComplete ¶
func (self *SnapshotpolicyBindDisksTask) OnSnapshotPolicyBindDisksComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
func (*SnapshotpolicyBindDisksTask) OnSnapshotPolicyBindDisksCompleteFailed ¶
func (self *SnapshotpolicyBindDisksTask) OnSnapshotPolicyBindDisksCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
type SnapshotpolicySyncstatusTask ¶
func (*SnapshotpolicySyncstatusTask) OnInit ¶
func (self *SnapshotpolicySyncstatusTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
type SnapshotpolicyUnbindDisksTask ¶
func (*SnapshotpolicyUnbindDisksTask) OnInit ¶
func (self *SnapshotpolicyUnbindDisksTask) OnInit(ctx context.Context, obj db.IStandaloneModel, body jsonutils.JSONObject)
func (*SnapshotpolicyUnbindDisksTask) OnSnapshotPolicyUnbindDisksComplete ¶
func (self *SnapshotpolicyUnbindDisksTask) OnSnapshotPolicyUnbindDisksComplete(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
func (*SnapshotpolicyUnbindDisksTask) OnSnapshotPolicyUnbindDisksCompleteFailed ¶
func (self *SnapshotpolicyUnbindDisksTask) OnSnapshotPolicyUnbindDisksCompleteFailed(ctx context.Context, sp *models.SSnapshotPolicy, data jsonutils.JSONObject)
type StartRescueTask ¶
type StartRescueTask struct {
SGuestBaseTask
}
func (*StartRescueTask) OnInit ¶
func (self *StartRescueTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StartRescueTask) OnRescuePrepareComplete ¶
func (self *StartRescueTask) OnRescuePrepareComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*StartRescueTask) OnRescuePrepareCompleteFailed ¶
func (self *StartRescueTask) OnRescuePrepareCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*StartRescueTask) OnRescueStartServerComplete ¶
func (self *StartRescueTask) OnRescueStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*StartRescueTask) OnRescueStartServerCompleteFailed ¶
func (self *StartRescueTask) OnRescueStartServerCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*StartRescueTask) OnServerStopComplete ¶
func (self *StartRescueTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*StartRescueTask) OnServerStopCompleteFailed ¶
func (self *StartRescueTask) OnServerStopCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*StartRescueTask) PrepareRescue ¶
func (self *StartRescueTask) PrepareRescue(ctx context.Context, guest *models.SGuest)
func (*StartRescueTask) RescueStartServer ¶
func (self *StartRescueTask) RescueStartServer(ctx context.Context, guest *models.SGuest)
func (*StartRescueTask) StopServer ¶
func (self *StartRescueTask) StopServer(ctx context.Context, guest *models.SGuest)
type StopRescueTask ¶
type StopRescueTask struct {
SGuestBaseTask
}
func (*StopRescueTask) ClearRescue ¶
func (self *StopRescueTask) ClearRescue(ctx context.Context, guest *models.SGuest)
func (*StopRescueTask) OnInit ¶
func (self *StopRescueTask) OnInit(ctx context.Context, obj db.IStandaloneModel, data jsonutils.JSONObject)
func (*StopRescueTask) OnRescueClearComplete ¶
func (self *StopRescueTask) OnRescueClearComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*StopRescueTask) OnRescueClearCompleteFailed ¶
func (self *StopRescueTask) OnRescueClearCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*StopRescueTask) OnRescueStartServerComplete ¶
func (self *StopRescueTask) OnRescueStartServerComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*StopRescueTask) OnRescueStartServerCompleteFailed ¶
func (self *StopRescueTask) OnRescueStartServerCompleteFailed(ctx context.Context, obj db.IStandaloneModel, err jsonutils.JSONObject)
func (*StopRescueTask) OnServerStopComplete ¶
func (self *StopRescueTask) OnServerStopComplete(ctx context.Context, guest *models.SGuest, data jsonutils.JSONObject)
func (*StopRescueTask) OnServerStopCompleteFailed ¶
func (self *StopRescueTask) OnServerStopCompleteFailed(ctx context.Context, guest *models.SGuest, err jsonutils.JSONObject)
func (*StopRescueTask) RescueStartServer ¶
func (self *StopRescueTask) RescueStartServer(ctx context.Context, guest *models.SGuest)
func (*StopRescueTask) StopServer ¶
func (self *StopRescueTask) StopServer(ctx context.Context, guest *models.SGuest)
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 error)
func (*StorageUncacheImageTask) RequestUncacheDeactivateImage ¶
func (self *StorageUncacheImageTask) RequestUncacheDeactivateImage(ctx context.Context, storageCache *models.SStoragecache)
func (*StorageUncacheImageTask) RequestUncacheRemoveImage ¶
func (self *StorageUncacheImageTask) RequestUncacheRemoveImage(ctx context.Context, storageCache *models.SStoragecache)
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 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 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_create_task.go
- access_group_delete_task.go
- access_group_rule_create_task.go
- access_group_rule_delete_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_provider_delete_task.go
- cloud_provider_sync_info_task.go
- cloud_region_sync_skus_task.go
- cloudregion_sync_images_task.go
- container_create_task.go
- container_delete_task.go
- container_pull_image_task.go
- container_save_volume_mount_image_task.go
- container_start_task.go
- container_stop_task.go
- container_sync_status_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_migrate_task.go
- disk_reset_task.go
- disk_resize_task.go
- disk_save_task.go
- disk_syncstatus_task.go
- dns_record_create_task.go
- dns_record_delete_task.go
- dns_record_set_enabled_task.go
- dns_record_update_task.go
- dnszone_add_vpcs_task.go
- dnszone_create_task.go
- dnszone_delete_task.go
- dnszone_remove_vpcs_task.go
- dnszone_syncstatus_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_remote_update_task.go
- eip_syncstatus_task.go
- elastic_search_delete_task.go
- elastic_search_remote_update_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_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
- external_project_create_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_cloudpods_to_kvm_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_eject_vfd_task.go
- guest_insert_iso_task.go
- guest_insert_vfd_task.go
- guest_live_migrate_task.go
- guest_publicip_to_eip_task.go
- guest_qga_reset_password_task.go
- guest_qga_restart_network_task.go
- guest_qga_sync_os_info_task.go
- guest_rebuild_root_task.go
- guest_remote_update_task.go
- guest_renew_task.go
- guest_rescue_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_nic_traffics_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_remote_update_task.go
- kafka_syncstatus_task.go
- kube_cluster_create_task.go
- kube_cluster_delete_task.go
- kube_cluster_syncstatus_task.go
- kube_node_pool_create_task.go
- kube_node_pool_delete_task.go
- kube_node_pool_syncstatus_task.go
- loadbalancer_acl_create_task.go
- loadbalancer_acl_delete_task.go
- loadbalancer_acl_syncstatus_task.go
- loadbalancer_acl_update_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_certificate_syncstatus_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_remote_update_tags_task.go
- network_syncstatus_task.go
- networks_under_wire_merge_task.go
- pending_usage.go
- pod_create_task.go
- pod_delete_task.go
- pod_restart_task.go
- pod_start_task.go
- pod_stop_task.go
- pod_syncstatus_task.go
- route_table_syncstatus_task.go
- route_table_update_task.go
- scaling_group_delete_task.go
- schedule.go
- security_group_create_task.go
- security_group_delete_task.go
- security_group_remote_update_task.go
- security_group_rule_create_task.go
- security_group_rule_delete_task.go
- security_group_rule_update_task.go
- security_group_sync_task.go
- server_sku_create_task.go
- server_sku_delete_task.go
- snapshot_create_task.go
- snapshot_delete_task.go
- snapshot_syncstatus_task.go
- snapshotpolicy_bind_disks_task.go
- snapshotpolicy_create_task.go
- snapshotpolicy_delete_task.go
- snapshotpolicy_syncstatus_task.go
- snapshotpolicy_unbind_disks_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_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.